/* Task03 only. Shared task01 resources and accepted home grid remain unchanged. */
body{overflow-x:visible}main,footer{overflow-x:visible}
.cp-crumbs{padding-top:20px;padding-bottom:20px;font-size:13px}
.cp-crumbs ul{gap:10px;list-style:none}.cp-crumbs li+li:before{content:'›';margin-right:10px;color:#6e7680}.cp-crumbs a{color:#6e7680;text-decoration:none}
.page-catalog{padding-bottom:80px}.catalog-layout{display:grid;grid-template-columns:280px minmax(0,1fr);column-gap:40px}
.catalog-sidebar{min-width:0}.catalog-menu{margin-bottom:20px;background:#f1f5f9;border-radius:10px;padding:20px}
.catalog-menu summary{font-size:20px;font-weight:700;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}.catalog-menu summary:after{content:'';width:7px;height:7px;border-top:1.5px solid currentColor;border-left:1.5px solid currentColor;transform:rotate(45deg);transition:transform .24s ease-in-out;flex-shrink:0}.catalog-menu summary::-webkit-details-marker{display:none}.catalog-menu[open] summary:not([aria-expanded]):after,.catalog-menu summary[aria-expanded="true"]:after{transform:rotate(225deg)}.catalog-menu nav{box-sizing:border-box}.catalog-menu[open] summary{margin-bottom:20px}
.catalog-menu nav ul{list-style:none}.catalog-menu nav li{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px}.catalog-menu nav li:last-child{margin-bottom:0}.catalog-menu a{color:#1a1a1a;text-decoration:none;font-size:16px;font-weight:400}.catalog-menu li span{font-size:13px;color:#6e7680}.catalog-menu a:hover{color:#e6143c}.series-overview{color:#e6143c;font-size:16px}
.catalog-content{min-width:0;padding-top:20px}.catalog-content h1,.series-index h1{font-size:32px;line-height:normal;font-weight:700;margin-bottom:30px}
.series-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.series-chips a{font-size:13px;font-weight:400;text-decoration:none;border:1px solid #e2e5e9;padding:7px 12px;border-radius:20px;color:#1a1a1a}.series-chips a:hover{background:#e6143c;border-color:#e6143c;color:white}.catalog-count{color:#6e7680;font-size:13px;margin-bottom:20px}
.door-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-bottom:40px}
.door-tile{min-width:0;display:flex;flex-direction:column}.door-main{text-decoration:none;color:#1a1a1a;display:block}.door-images{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:20px;margin-bottom:20px}
.door-images img{width:calc((100% - 20px)/2);height:auto;object-fit:contain;display:block}.door-images.single{justify-content:center}.door-images.single img{width:auto;height:265px;max-width:100%;object-fit:contain}
.door-tile h2{font-weight:700;font-size:20px;line-height:normal;padding:0;margin:0 0 10px;border:0;overflow-wrap:anywhere}.door-purpose{font-weight:400;color:#6e7680;font-size:13px}.door-bottom{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.door-price{font-size:20px;font-weight:700;white-space:nowrap}.door-bottom s{display:block;font-size:13px;color:#6e7680}.door-bottom .cp-btn-2{font-size:13px;padding:10px 20px;border:1px solid #e6143c;border-radius:50px;color:#e6143c;background:white;font-weight:400}.door-bottom .cp-btn-2:hover{background:#e6143c;color:white}.door-main:hover h2{color:#e6143c}
.catalog-note{margin-top:40px;font-weight:400;line-height:1.55;color:#6e7680;font-size:14px}.catalog-note a{color:#e6143c}
.series-index{padding-top:20px;padding-bottom:80px}.series-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}.series-card{min-width:0;text-decoration:none;color:#1a1a1a}.series-preview{background:#f1f5f9;border-radius:15px;padding:25px;display:flex;justify-content:center}.series-preview img{height:270px;object-fit:contain;width:auto;max-width:100%}.series-card h2{font-size:22px;font-weight:700;margin:20px 0 10px}.series-card span{font-size:14px;color:#6e7680}.series-card:hover h2{color:#e6143c}
.series-page{padding-bottom:80px}.series-hero{position:relative;min-height:600px;display:flex;align-items:center;background:#363636;color:white}.series-hero>picture{position:absolute;inset:0}.series-hero>picture img{width:100%;height:100%;object-fit:cover}.series-hero-content{position:relative;width:100%;max-width:1280px;padding:80px 60px;margin:auto;z-index:1}.series-hero h1{font-size:28px;font-weight:400;line-height:1.3;width:480px;max-width:100%;margin-bottom:25px}.series-hero h1 strong{display:block;font-size:52px;font-weight:700}.series-hero-content>p{max-width:480px;line-height:1.5;font-size:20px;font-weight:400;margin-bottom:25px}.series-hero .series-price{font-size:32px;font-weight:700}
.series-hero.legacy{background:#f1f5f9;color:#1a1a1a}.legacy-hero-image{position:absolute;top:40px;bottom:40px;right:max(60px,calc((100% - 1160px)/2));width:40%;display:flex;align-items:center;justify-content:center}.legacy-hero-image img{height:100%;max-width:100%;object-fit:contain}.series-hero.legacy h1{width:50%}
.series-anchor{position:relative;z-index:2;margin-top:-28px;display:flex;justify-content:space-around;gap:15px;padding:20px;background:white;border-radius:8px;box-shadow:0 5px 25px #0001}.series-anchor a{font-size:16px;font-weight:700;text-decoration:none;color:#1a1a1a}.series-anchor a:hover{color:#e6143c}.series-body{padding-top:60px}.series-description{font-size:18px;line-height:1.6;font-weight:400}.series-description p{margin-bottom:30px}.series-body section{margin-bottom:60px;scroll-margin-top:90px}.series-body h2{font-size:28px;font-weight:700;line-height:1.3;margin-bottom:30px}.series-body .door-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.series-body .door-tile h2{font-size:20px;margin-bottom:10px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.feature-grid img{width:100%;height:230px;object-fit:cover;border-radius:10px}.feature-grid h3{font-size:22px;margin:20px 0;font-weight:700}.feature-grid p{font-weight:400;line-height:1.6}.legacy-description{margin-bottom:40px}.legacy-description a{color:#1a1a1a}.legacy-description>a{color:#e6143c;font-size:16px}.legacy-description h2{font-size:22px;margin-bottom:15px}
@media(max-width:1151px){.cp-crumbs{padding-top:90px}.catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:30px}.door-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.series-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.series-body .door-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.series-hero-content{padding:60px 40px}.series-hero h1 strong{font-size:44px}}
@media(max-width:991px){.catalog-layout{display:block}.catalog-sidebar{display:flex;gap:15px;flex-wrap:wrap;align-items:flex-start;margin-bottom:20px}.catalog-menu{flex:1 1 40%;margin-bottom:0;padding:15px}.catalog-menu summary{font-size:18px}.catalog-menu nav li{margin-bottom:10px}.series-overview{flex-basis:100%}.catalog-content{padding-top:0}.series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.series-body .door-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.series-hero{min-height:600px;align-items:flex-start}.series-hero-content{padding:40px}.series-hero h1{width:100%;font-size:24px}.series-hero h1 strong{font-size:38px}.series-hero-content>p{max-width:60%;font-size:18px}.legacy-hero-image{top:210px;bottom:30px;right:20px;width:45%}.series-hero.legacy h1{width:100%}.feature-grid{grid-template-columns:1fr}.feature-grid img{height:auto;max-height:350px;object-fit:contain}.series-anchor{margin-top:-20px;max-width:calc(100% - 40px);flex-wrap:wrap}.series-body{padding-top:40px}.series-body h2{font-size:24px}}
@media(max-width:575px){.catalog-content h1,.series-index h1{font-size:28px}.catalog-sidebar{display:block}.catalog-menu{margin-bottom:15px}.catalog-menu:not([open]) nav{display:none}.door-grid,.series-body .door-grid{grid-template-columns:1fr;gap:40px}.door-images{justify-content:center}.door-images img{width:calc((100% - 20px)/2);max-width:150px}.door-images.single img{height:300px}.door-tile h2{font-size:22px}.door-bottom{padding-top:15px}.series-grid{grid-template-columns:1fr 1fr;gap:25px 15px}.series-preview{padding:15px}.series-preview img{height:190px}.series-card h2{font-size:18px;overflow-wrap:anywhere}.series-hero-content{padding:40px 20px}.series-hero h1 strong{font-size:34px;overflow-wrap:anywhere}.series-hero h1{font-size:24px}.series-hero-content>p{max-width:80%}.series-hero{min-height:650px}.series-hero>picture img{object-position:center}.legacy-hero-image{top:240px;bottom:35px;width:65%;right:17.5%}.series-hero.legacy h1{width:100%}.series-anchor{gap:15px}.series-anchor a{font-size:14px}.series-body{padding-top:40px}.catalog-note{font-size:14px}.feature-grid{gap:30px}}

/* Measured official catalogue typography and menu geometry. */
.cp-crumbs{margin:0;padding-top:20px;padding-bottom:20px;font-size:11pt;line-height:18px}.cp-crumbs ul{width:auto;padding:0;margin:0;gap:0}.cp-crumbs li+li:before{display:none}.cp-crumbs a{color:#e6143c}.cp-crumbs li:last-child{color:#bbb}
.catalog-menu{background:#fafafa;padding:0;border-radius:5px;margin-bottom:40px}.catalog-menu summary{padding:15px 30px;font-size:20px;font-weight:700}.catalog-menu[open] summary{margin:0}.catalog-menu nav{border-top:1px solid #ddd;padding:15px 30px 30px}.catalog-menu nav li{margin:10px 0;align-items:flex-end}.catalog-menu nav li:first-child{margin-top:0}.catalog-menu nav li:last-child{margin-bottom:0}.catalog-menu a{font-size:16px}.catalog-menu li span{font-size:16px;color:#e6143c}
.door-tile h2{font-size:24px;line-height:24px;color:#e6143c;margin-bottom:5px}.door-purpose{font-size:17.333px;color:#777;font-weight:300}.door-bottom{padding-top:10px}.door-price{font-size:24px;line-height:24px;font-weight:700}.door-bottom .cp-btn-2{font-size:17.333px;padding:9px 25px;min-height:45px;border:0}
.series-body .door-tile h2{font-size:24px;line-height:24px;margin-bottom:5px}
@media(max-width:1151px){.cp-crumbs{padding-top:100px;padding-bottom:30px}.catalog-content h1{padding-top:0}}
@media(max-width:991px){.catalog-sidebar{display:block}.catalog-menu{margin-bottom:40px}.catalog-content{padding-top:40px}}
@media(max-width:575px){.catalog-content h1{font-size:32px}.door-images img{max-width:none}.door-tile h2{font-size:24px}.door-images.single img{height:300px}}
.cp-crumbs{margin-left:auto;margin-right:auto}
.page-header .navigation nav a[aria-current=page]{color:#e6143c}
@media(min-width:1152px){.catalog-sidebar{padding-top:20px}.navigation li:has(a[aria-current=page]){position:relative}.navigation a[aria-current=page]:before{content:'';position:absolute;top:0;left:0;width:74px;height:3px;background:#e6143c}}
.series-hero-content>p{overflow-wrap:anywhere}
.series-hero h1{overflow-wrap:anywhere}
.feature-grid h3{overflow-wrap:anywhere}
footer>nav:nth-child(1){width:100%;max-width:1280px}footer>nav:nth-child(1)>ul>li>ul{width:auto;max-width:100%;margin-left:0;margin-right:0}footer>nav:nth-child(1)>ul>li>ul>li{margin-left:0;margin-right:0}
.series-hero>picture:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0002,transparent 70%)}
.series-hero h1{font-size:29.333px;font-weight:300;line-height:1.1}.series-hero h1 strong{font-size:56px;line-height:1.05}
.series-hero-content>p{font-size:20px;font-weight:300}.series-hero .series-price{font-size:32px;font-weight:700}
.series-hero-foreground{position:absolute;right:10%;height:85%;max-width:45%;bottom:0;object-fit:contain}
.series-hero-detail{position:absolute;right:18%;height:42%;max-width:45%;bottom:14%;object-fit:contain}
.series-wordmark span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.series-wordmark img{width:400px;max-width:100%;height:auto}
.series-cyber .series-hero-content{padding-left:20px;padding-right:20px}.series-cyber .series-hero-content>p{font-size:32px;max-width:450px}
@media(min-width:992px){.series-cyber{min-height:1108px}.series-snegir-pro,.series-snegir-arctic{min-height:790px}.series-ultimatum-next{min-height:700px}.series-delta-fdl{min-height:1000px}}
@media(max-width:1151px){.series-cyber .series-hero-detail{display:none}}
@media(max-width:991px){.series-hero-content{margin:0 auto}.series-hero.legacy .series-hero-content{padding-top:40px}.legacy-hero-image{top:230px}}
@media(max-width:575px){.series-hero{min-height:540px}.series-hero-content{padding:80px 36px}.series-hero h1 strong{font-size:56px}.series-hero-content>p{max-width:100%}.series-hero.legacy{min-height:650px}.series-hero.legacy .series-hero-content{padding:40px 20px}.series-hero.legacy h1 strong{font-size:34px}.series-hero.legacy .legacy-hero-image{top:220px}.series-snegir-pro{color:#1a1a1a}.series-snegir-pro>picture:after{background:#fffc}.series-cyber .series-hero-content{padding-top:40px;padding-bottom:270px}.series-hero-foreground{height:260px;max-width:90%;right:10%}}
@media(max-width:991px){.series-cyber{min-height:540px}.series-cyber .series-hero-foreground,.series-cyber .series-hero-detail{display:none}.series-cyber .series-hero-content{padding:80px 20px}.series-cyber .series-hero-content>p{max-width:100%}}

/* Preserved series: one visual preview per model, with source facts shown once. */
.legacy-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:35px 0 45px}
.legacy-feature{min-width:0;background:#f3f6f9;border-radius:10px;padding:28px;display:flex;flex-direction:column;align-items:flex-start}
.legacy-feature-image{width:100%;height:290px;display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.legacy-feature-image img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.legacy-feature h3{font-size:22px;line-height:1.25;margin:0 0 16px;overflow-wrap:anywhere}
.legacy-feature-caption{font-size:14px;line-height:1.45;color:#50545a;margin:0 0 18px}
.legacy-feature>a:last-child{font-size:16px;color:#e6143c;text-decoration:none;margin-top:auto}
.legacy-feature>a:last-child:hover{text-decoration:underline}
.legacy-source-facts{border-top:1px solid #e2e5e9;padding:24px 0}
.legacy-source-facts h3{font-size:18px;line-height:1.35;margin:0 0 12px}
.legacy-source-facts p{margin:0;color:#50545a;font-size:16px;line-height:1.55}
@media(max-width:991px){.legacy-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.legacy-feature-image{height:230px}}
@media(max-width:575px){.legacy-feature-grid{grid-template-columns:1fr;gap:20px}.legacy-feature{padding:22px}.legacy-feature-image{height:250px}}

/* Unified series and product presentation. Scene images are illustrative; the
   overlaid door photos on legacy series are the preserved product originals. */
.series-hero.legacy{background:#273039;color:#fff;isolation:isolate}
.series-hero.legacy>picture img{object-fit:cover}
.series-hero.legacy>picture:after{background:linear-gradient(90deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.29) 45%,transparent 75%)}
.series-hero.legacy h1{width:50%}
.series-hero.legacy .legacy-hero-image{top:8%;bottom:8%;right:11%;width:30%;filter:drop-shadow(14px 16px 14px #0006)}
.series-hero.legacy .legacy-hero-image img{height:100%;max-height:670px;width:auto}
.series-overview{display:block;margin:0 30px 20px;font-weight:700;text-decoration:none}
.door-purpose{display:block;min-height:1.4em}
.detail-page{padding-bottom:80px}
.detail-title{font-size:36px;line-height:1.17;margin:25px 0 12px;max-width:1100px}
.detail-purpose{font-size:18px;color:#777;margin-bottom:34px}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:56px;align-items:start}
.detail-gallery{background:#f6f8fa;padding:35px;border-radius:12px;display:flex;gap:22px;justify-content:center;align-items:center;min-height:540px}
.detail-gallery figure{min-width:0;flex:1;text-align:center;margin:0}
.detail-gallery img{display:block;max-width:100%;max-height:470px;width:auto;height:auto;object-fit:contain;margin:auto}
.detail-gallery figcaption{font-size:14px;color:#666;margin-top:15px}
.detail-summary{padding:20px 0}.detail-summary .price{font-size:32px;font-weight:700;margin:0 0 24px}
.detail-summary>p{line-height:1.6}.detail-summary dl{margin:28px 0}.detail-summary dl div{padding:13px 0;border-bottom:1px solid #ddd;display:grid;grid-template-columns:45% 55%;gap:12px}.detail-summary dt{color:#777}.detail-summary dd{margin:0}
.detail-summary .button,.detail-source-link{display:inline-block;border:1px solid #e6143c;border-radius:40px;padding:13px 26px;color:#e6143c;text-decoration:none;margin-top:15px}.detail-summary .button:hover,.detail-source-link:hover{background:#e6143c;color:white}
.detail-specs{margin-top:55px}.detail-specs h2,.detail-source h2{font-size:28px;margin-bottom:25px}.detail-specs table{border-collapse:collapse;width:100%}.detail-specs th,.detail-specs td{border-bottom:1px solid #e5e5e5;padding:12px;text-align:left;vertical-align:top}.detail-specs th{color:#666;font-weight:400;width:40%}.detail-source{margin-top:60px;line-height:1.6}.detail-source-copy{max-width:900px}.detail-source-copy p{margin:0 0 16px}.detail-source-frame{width:100%;height:700px;border:1px solid #ddd;margin-top:25px}
@media(max-width:991px){.series-hero.legacy .legacy-hero-image{top:35%;bottom:6%;right:5%;width:42%}.series-hero.legacy h1{width:100%}.detail-layout{grid-template-columns:1fr;gap:20px}.detail-gallery{min-height:420px}.detail-title{font-size:31px}}
@media(max-width:575px){.series-hero.legacy{min-height:590px}.series-hero.legacy>picture img{object-position:59% center}.series-hero.legacy>picture:after{background:linear-gradient(180deg,#000b 0%,#0005 49%,transparent 80%)}.series-hero.legacy .series-hero-content{padding:45px 24px}.series-hero.legacy .legacy-hero-image{top:45%;bottom:7%;right:22%;width:56%}.series-hero.legacy .legacy-hero-image img{max-height:300px}.detail-title{font-size:27px}.detail-purpose{font-size:16px}.detail-gallery{min-height:340px;padding:20px;gap:10px}.detail-gallery img{max-height:310px}.detail-summary .price{font-size:26px}.detail-summary dl div{display:block}.detail-summary dt{margin-bottom:3px}.detail-specs th{width:45%}}
.detail-page .product{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:56px;align-items:start}.detail-page .photos{background:#f6f8fa;padding:35px;border-radius:12px;display:flex;gap:22px;justify-content:center;align-items:center;min-height:540px}.detail-page .photos figure{min-width:0;flex:1;text-align:center;margin:0}.detail-page .photos img{display:block;max-width:100%;max-height:470px;width:auto;height:auto;object-fit:contain;margin:auto}.detail-page .photos figcaption{font-size:14px;color:#666;margin-top:15px}.detail-page .summary{padding:20px 0}.detail-page .summary .price{font-size:32px;font-weight:700;margin:0 0 24px}.detail-page .summary>p{line-height:1.6}.detail-page .summary dl{margin:28px 0}.detail-page .summary dl div{padding:13px 0;border-bottom:1px solid #ddd;display:grid;grid-template-columns:45% 55%;gap:12px}.detail-page .summary dt{color:#777}.detail-page .summary dd{margin:0}.detail-page .summary .button{display:inline-block;border:1px solid #e6143c;border-radius:40px;padding:13px 26px;color:#e6143c;text-decoration:none;margin-top:15px}.detail-page>section{margin-top:55px}.detail-page>section h2{font-size:28px;margin-bottom:25px}.detail-page .table-wrap{overflow:auto}.detail-page table{border-collapse:collapse;width:100%}.detail-page th,.detail-page td{border-bottom:1px solid #e5e5e5;padding:12px;text-align:left;vertical-align:top}.detail-page th{color:#666;font-weight:400;width:40%}
@media(max-width:991px){.detail-page .product{grid-template-columns:1fr;gap:20px}.detail-page .photos{min-height:420px}}
@media(max-width:575px){.detail-page .photos{min-height:340px;padding:20px;gap:10px}.detail-page .photos img{max-height:310px}.detail-page .summary dl div{display:block}}
@media(max-width:575px){.series-anchor{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch;gap:12px;padding:18px 15px;margin-bottom:20px}.series-anchor a{text-align:center;font-size:13px;line-height:1.25}.series-anchor a:last-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.catalog-menu summary:after{transition:none}}
