@import url("./brand-fonts.css");
/* Restore the user's pre-migration card hierarchy and brand assets in both themes. */
:root[data-theme="dark"] { --bg:#101112; --bg-soft:#1c1e20; --panel:#181a1c; --line-soft:#3b3e42; --text:#f5f5f5; --muted:#b9bec4; }
:root[data-theme] { scrollbar-color:#868d96 var(--bg); }
:root[data-theme] h1,:root[data-theme] h2,:root[data-theme] h3 { font-family:"Barlow Condensed","PingFang SC","Microsoft YaHei",sans-serif; }
:root[data-theme] .section-heading { text-align:center; }
:root[data-theme] .section-heading h2 { font-size:clamp(2rem,3.6vw,3.4rem); letter-spacing:0; }
html[lang="en"] .section-heading h2 { font-style:italic; font-weight:800; }
:root[data-theme] .align-left { text-align:left; }
.video-status {position:absolute;left:24px;bottom:24px;color:#fff;font-size:14px;}
:root[data-theme] .category-showcase {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;}
:root[data-theme] .category-showcase .category-card {position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 20px;min-height:300px;border:1px solid var(--line-soft);border-radius:16px;background:var(--panel);box-shadow:none;overflow:hidden;}
:root[data-theme] .category-showcase .category-card::before {display:block;content:"";position:absolute;inset:0 0 auto;height:3px;background:#ffcc00;}
:root[data-theme] .category-card .category-icon {width:110px;height:100px;flex:none;margin:0 0 22px;border:0;background:#1c1e20;border-radius:12px;}
:root[data-theme] .category-card .category-icon img {width:100%;height:100%;object-fit:contain;padding:12px;}
:root[data-theme] .category-showcase .category-card h3 {font-size:24px;line-height:1.2;margin:0 0 12px;color:var(--text);}
:root[data-theme] .category-card p {font-size:15px;line-height:1.7;color:var(--muted);margin:0;}
:root[data-theme] .category-card:hover {border-color:#a7860c;transform:translateY(-3px);}
.category-accessories {display:block;width:fit-content;margin:28px auto 0;padding:10px 0;color:var(--link);text-decoration:underline;text-underline-offset:5px;text-align:center;}
.catalog-category-section {margin-bottom:44px;}
:root[data-theme] .catalog-category-section .category-card {min-height:0;padding:24px 12px;}
.catalog-category-section .category-card p {display:none;}
:root[data-theme] .catalog-category-section .category-icon {width:84px;height:76px;margin-bottom:12px;}
:root[data-theme] .catalog-category-section .category-card h3 {font-size:20px;margin:0;}
:root[data-theme] .product-grid.storefront-products {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
:root[data-theme] .storefront-product {border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;background:var(--panel);display:flex;flex-direction:column;}
:root[data-theme="dark"] .storefront-product {background:linear-gradient(180deg,#222426,#111213);}
:root[data-theme] .storefront-product:hover {border-color:#9b811e;}
:root[data-theme] .storefront-product .product-thumb {aspect-ratio:16/9;border-radius:0;border:0;margin:0;background:#fff;}
:root[data-theme] .storefront-product .product-thumb-media {object-fit:var(--media-fit,contain)!important;object-position:var(--media-position,center);padding:0;}
:root[data-theme] .storefront-product .product-body {padding:24px;gap:0;}
:root[data-theme] .storefront-product .product-tag {align-self:flex-start;display:inline-flex;padding:5px 12px;border-radius:24px;color:var(--link);background:var(--bg-soft);font-size:13px;font-weight:700;letter-spacing:.05em;}
:root[data-theme="dark"] .storefront-product .product-tag {background:#362e0b;color:#ffdf49;}
:root[data-theme] .storefront-product .product-body h3 {font-size:clamp(1.4rem,2vw,1.85rem);line-height:1.25;font-weight:700;margin:16px 0;min-height:0;}
:root[data-theme] .storefront-product .product-body p {font-size:16px;line-height:1.65;min-height:0;display:block;overflow:visible;margin:0 0 24px;color:var(--muted);}
:root[data-theme] .storefront-product .product-meta {display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:auto;}
:root[data-theme] .storefront-product .product-meta strong {font-family:"Barlow Condensed",sans-serif;font-size:30px;font-weight:800;color:var(--link);}
:root[data-theme="dark"] .storefront-product .product-meta strong {color:#ffcc00;}
:root[data-theme] .storefront-product .product-meta a {width:100%;min-height:46px;border-radius:8px;background:#ffcc00;color:#141414;padding:12px 16px;text-align:center;font-size:14px;font-weight:800;text-transform:uppercase;text-decoration:none;}
:root[data-theme] .storefront-product .product-meta a:hover {background:#ffe05b;}
:root[data-theme] .sale-badge {position:absolute;top:0;left:16px;transform:translateY(-140%);color:#171717;background:#ffcc00;font-size:12px;line-height:1.4;padding:5px 10px;}
.all-products-action {display:flex;justify-content:center;margin-top:32px;}
:root[data-theme] .hero-carousel-stage {border-radius:18px;border:1px solid var(--line-soft);overflow:hidden;background:var(--panel);}
:root[data-theme] .hero-slide {padding:0;min-height:0;background:var(--panel);border:0;border-radius:0;}
:root[data-theme] .hero-slide.is-active {display:flex;flex-direction:column;min-height:0;}
:root[data-theme] .hero-image {position:static;order:0;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;margin:0;padding:0;border:0;max-width:100%;background:#14191c;}
:root[data-theme] .hero-slide-content,html[lang="zh-CN"] .hero-slide-content {width:100%;max-width:none;padding:32px 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px 48px;align-items:center;}
:root[data-theme] .hero-slide-content h2 {font-size:clamp(2rem,3.3vw,3.2rem);line-height:1.18;margin:0;max-width:22ch;text-transform:none;}
:root[data-theme] .hero-slide-content .hero-text {margin:0;color:var(--muted);font-size:17px;max-width:60ch;}
.hero-slide-content .hero-actions {grid-column:2;gap:12px;}
:root[data-theme] .hero-carousel-nav {position:static;padding:0 32px 24px;display:flex;align-items:center;justify-content:space-between;gap:8px;transform:none;}
:root[data-theme] .hero-dot {width:30px;min-width:30px;height:44px;background:transparent;border:0;border-radius:0;position:relative;}
.hero-dot::after {content:"";position:absolute;left:6px;right:6px;top:20px;height:4px;border-radius:2px;background:var(--muted);}
.hero-dot.is-active::after {background:var(--link);}
.carousel-actions {display:flex;align-items:center;gap:8px;margin-left:auto;}
.carousel-actions button {min-width:44px;min-height:44px;background:var(--bg);border:1px solid var(--line-soft);color:var(--text);border-radius:6px;padding:8px;cursor:pointer;}
.carousel-actions svg {width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;}
.carousel-actions [data-slide-pause] {font-size:14px;padding-inline:14px;}
.carousel-actions span {font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;padding:0 4px;}
.detail-section-nav {display:flex;flex-wrap:wrap;gap:12px 28px;border-bottom:1px solid var(--line-soft);margin-bottom:48px;}
.detail-section-nav a {padding:16px 0;min-height:48px;color:var(--text);}
.specifications h2,.product-story>h2,.packing-list h2 {font-size:clamp(1.8rem,3vw,2.8rem);margin:0 0 28px;}
.spec-groups {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px;}
.spec-group {min-width:0;}
.spec-group h3 {font-size:20px;margin:0 0 16px;padding-bottom:12px;border-bottom:2px solid var(--line-soft);}
:root[data-theme] .spec-table {width:100%;border-collapse:collapse;font-size:15px;margin:0;table-layout:fixed;background:transparent;}
:root[data-theme] .spec-table th,:root[data-theme] .spec-table td {padding:13px 0;border:0;border-bottom:1px solid var(--line-soft);vertical-align:top;background:transparent;overflow-wrap:anywhere;line-height:1.7;}
:root[data-theme] .spec-table th {width:34%;padding-right:18px;color:var(--muted);font-weight:500;}
:root[data-theme] .spec-table td {color:var(--text);}
.product-story {padding-top:48px;border-top:1px solid var(--line-soft);margin-top:64px;}
.product-story h3 {margin-top:36px;font-size:22px;}
.product-story p {line-height:1.85;max-width:75ch;}
.packing-list {padding:32px;background:var(--bg-soft);border-radius:12px;}
.packing-list ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px;margin:0;padding-left:20px;}
.source-note {padding:16px 20px;margin:0 0 28px;background:var(--bg-soft);color:var(--muted);border:1px solid var(--line-soft);border-radius:8px;}
.source-details {border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);padding:8px 0;}
.source-details summary {cursor:pointer;padding:16px 0;font-size:15px;color:var(--muted);}
.source-details .legacy-content {font-size:15px;margin:20px 0;}
:root[data-theme] section[id] {scroll-margin-top:110px;}
@media(max-width:1100px) {
 :root[data-theme] .category-showcase {grid-template-columns:repeat(3,minmax(0,1fr));}
 :root[data-theme] .product-grid.storefront-products {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:860px) {
 :root[data-theme] .category-showcase {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
 :root[data-theme] .category-showcase .category-card {min-height:0;padding:28px 16px;}
 :root[data-theme] .category-showcase .category-card h3 {font-size:22px;}
 :root[data-theme] .category-showcase .category-card:last-child:nth-child(odd) {grid-column:1/-1;}
 :root[data-theme] .category-card p {font-size:14px;}
 :root[data-theme] .hero-slide-content,html[lang="zh-CN"] .hero-slide-content {display:flex;flex-direction:column;align-items:flex-start;padding:28px;gap:18px;}
 :root[data-theme] .hero-image {aspect-ratio:16/9;min-height:0;}
 :root[data-theme] .hero-slide .hero-actions {width:100%;flex-wrap:wrap;}
 :root[data-theme] .hero-carousel-nav {padding:0 20px 20px;flex-wrap:wrap;justify-content:center;}
 .carousel-actions {margin-left:12px;}
 .spec-groups {grid-template-columns:1fr;gap:32px;}
 .packing-list {padding:24px;}
 .packing-list ul {grid-template-columns:1fr;}
}
@media(max-width:600px) {
 :root[data-theme] .product-grid.storefront-products,:root[data-theme] .catalog-grid {grid-template-columns:minmax(0,1fr);gap:24px;}
 :root[data-theme] .storefront-product .product-body {padding:22px;}
 :root[data-theme] .storefront-product .product-body h3 {font-size:25px;}
 :root[data-theme] .storefront-product .product-body p {font-size:16px;}
 .carousel-actions {width:100%;justify-content:center;margin-left:0;}
 .detail-section-nav {gap:20px;margin-bottom:32px;}
 .detail-section-nav a {font-size:14px;}
 :root[data-theme] .hero-slide-content .hero-actions .button {width:100%;}
 .catalog-category-section {margin-bottom:32px;}
}
@media(prefers-reduced-motion:reduce) { :root[data-theme] .category-card:hover {transform:none;} }
:root[data-theme] .spec-table {box-shadow:none;border-radius:0;overflow:visible;}
:root[data-theme] .hero-image[src*="controller-box"] {aspect-ratio:2/1;object-fit:contain;background:#12171d;}
:root[data-theme] .storefront-product .product-thumb-media {transition:opacity .2s;}
/* Original composition: full-stage scene, product on the right, copy and controls in front. */
:root[data-theme] .home-launch {padding:clamp(12px,1.5vw,24px) clamp(8px,1vw,18px) 32px;}
:root[data-theme] .home-launch .hero-carousel-stage {position:relative;height:clamp(580px,calc(100svh - 210px),760px);min-height:0;border:1px solid rgba(170,184,198,.18);border-radius:24px;background:#070b10;overflow:hidden;color:#fff;}
:root[data-theme] .home-launch .hero-slide {position:absolute;inset:0;display:block;min-height:0;background:#070b10;visibility:hidden;opacity:0;transform:translateX(7%);transition:transform .65s cubic-bezier(.16,1,.3,1),opacity .5s,visibility .65s;}
:root[data-theme] .home-launch .hero-slide.is-active {visibility:visible;opacity:1;transform:translateX(0);}
.home-launch video,:root[data-theme] .home-launch .hero-image {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:var(--slide-position,right center);padding:0;margin:0;border:0;background:transparent;}
:root[data-theme] .home-launch [data-hero-variant="controller-box"] .hero-image {object-fit:contain;object-position:right center;}
:root[data-theme] .home-launch .hero-slide::after {content:"";display:block;position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(3,6,10,.94) 0%,rgba(3,6,10,.72) 30%,rgba(3,6,10,.15) 63%,transparent 90%),linear-gradient(0deg,rgba(3,6,10,.68),transparent 32%);}
:root[data-theme] .home-launch .hero-slide-content,.home-launch .video-slide-copy {position:relative;z-index:2;width:52%;max-width:760px;height:100%;margin:0;padding:clamp(32px,3.2vw,58px);padding-bottom:88px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;}
:root[data-theme] .home-launch .eyebrow {display:block;color:#ffcc00;font-size:13px;letter-spacing:.1em;font-weight:700;margin:0;line-height:1.4;}
:root[data-theme] .home-launch .eyebrow::before {display:block;content:"";width:54px;height:3px;background:#ffcc00;margin-bottom:16px;}
:root[data-theme] .home-launch h1,:root[data-theme] .home-launch .hero-slide-content h2 {color:#fff;font-size:clamp(3.6rem,5.4vw,5.4rem);font-weight:800;line-height:.98;margin:0;max-width:none;letter-spacing:0;text-wrap:initial;}
:root[data-theme] .home-launch .hero-model {display:block;font-style:italic;}
:root[data-theme] .home-launch .hero-product-line {display:block;font-size:clamp(1.9rem,2.9vw,3.1rem);line-height:1.25;margin-top:10px;font-style:normal;}
html[lang="en"] .home-launch .hero-product-line {font-size:clamp(2.7rem,3.5vw,4rem);font-style:italic;line-height:1;}
:root[data-theme] .home-launch .hero-text,.home-launch .video-slide-copy p {font-size:17px;line-height:1.8;max-width:37em;color:#e2e5e9;margin:0;white-space:pre-line;}
:root[data-theme] .home-launch .hero-actions {display:flex;flex-direction:row;width:auto;gap:16px;flex-wrap:wrap;margin:4px 0 0;}
:root[data-theme] .home-launch .hero-actions .button {width:auto!important;min-width:132px;min-height:50px;padding:13px 22px;border-radius:10px;}
:root[data-theme] .home-launch .button-secondary {background:rgba(7,10,14,.5);color:#fff;border-color:#626970;}
:root[data-theme] .home-launch .hero-slide-metrics {display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 0;padding:0;list-style:none;}
:root[data-theme] .home-launch .hero-slide-metrics li {display:flex;align-items:center;gap:7px;padding:9px 12px;min-height:42px;border-radius:30px;border:1px solid rgba(255,255,255,.22);background:rgba(5,8,12,.32);color:#fff;font-size:13px;line-height:1.3;letter-spacing:0;text-transform:none;}
.home-launch .hero-slide-metrics svg {width:19px;height:19px;flex:none;fill:none;stroke:#ffcc00;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
:root[data-theme] .home-launch .hero-carousel-nav {position:absolute;z-index:4;left:50%;bottom:18px;transform:translateX(-50%);width:calc(100% - 64px);padding:0;display:flex;justify-content:space-between;gap:20px;}
.carousel-dots {display:flex;align-items:center;gap:6px;}
:root[data-theme] .home-launch .hero-dot {width:48px;min-width:48px;}
:root[data-theme] .home-launch .hero-dot::after {background:#6f747b;}
:root[data-theme] .home-launch .hero-dot.is-active::after {background:#ffcc00;}
.home-launch .carousel-actions button {background:rgba(5,8,12,.45);color:#fff;border-color:#5d6570;}
.home-launch .carousel-actions span {color:#fff;}
.home-launch .video-status {z-index:3;bottom:80px;}
@media(max-width:1100px) and (min-width:861px) {
 :root[data-theme] .home-launch .hero-slide-content {width:60%;}
 :root[data-theme] .home-launch .hero-slide-metrics {gap:6px;}
 :root[data-theme] .home-launch .hero-slide-metrics li {font-size:12px;padding:8px;}
}
@media(max-width:860px) {
 :root[data-theme] .home-launch {padding:12px 8px 22px;}
 :root[data-theme] .home-launch .hero-carousel-stage {height:clamp(580px,calc(100svh - 115px),740px);min-height:0;border-radius:20px;}
 :root[data-theme] .home-launch .hero-slide::before {display:block;content:"";position:absolute;inset:0;background:var(--slide-image) var(--slide-position,right center)/cover no-repeat;opacity:.24;pointer-events:none;}
 :root[data-theme] .home-launch .hero-image,:root[data-theme] .home-launch [data-hero-variant="controller-box"] .hero-image {inset:auto;left:auto;right:-5%;top:50%;max-width:none;width:145%;height:auto;aspect-ratio:auto;object-fit:contain;transform:translateY(-50%);mask-image:linear-gradient(180deg,transparent,#000 18%,#000 78%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 18%,#000 78%,transparent);}
 :root[data-theme] .home-launch .hero-slide::after {background:linear-gradient(180deg,rgba(3,6,10,.84),rgba(3,6,10,.4) 24%,rgba(3,6,10,.02) 48%,rgba(3,6,10,.2) 63%,rgba(3,6,10,.8) 83%,rgba(3,6,10,.95)),linear-gradient(90deg,rgba(3,6,10,.3),transparent 70%);}
 :root[data-theme] .home-launch .hero-slide-content {position:relative;inset:auto;width:100%;height:100%;max-width:none;padding:28px 20px 80px;margin:0;justify-content:flex-start;gap:12px;}
 :root[data-theme] .home-launch .eyebrow {font-size:11px;letter-spacing:.05em;}
 :root[data-theme] .home-launch .eyebrow::before {margin-bottom:10px;width:42px;}
 :root[data-theme] .home-launch .hero-slide-content h2 {font-size:clamp(2.7rem,11vw,4.5rem);line-height:.95;}
 :root[data-theme] .home-launch .hero-product-line {font-size:clamp(1.5rem,6vw,2.4rem);line-height:1.2;margin-top:8px;}
 html[lang="en"] .home-launch .hero-product-line {font-size:clamp(1.8rem,7vw,2.6rem);}
 :root[data-theme] .home-launch .hero-text {font-size:14px;line-height:1.7;max-width:27em;}
 :root[data-theme] .home-launch .hero-actions {gap:10px;width:auto;margin-top:auto;flex-wrap:nowrap;}
 :root[data-theme] .home-launch .hero-actions .button {width:auto!important;min-width:0;min-height:46px;font-size:13px;padding:11px 16px;}
 :root[data-theme] .home-launch .hero-slide-metrics {gap:7px;margin:8px 0 0;}
 :root[data-theme] .home-launch .hero-slide-metrics li {font-size:11px;min-height:32px;padding:7px 9px;gap:5px;}
 .home-launch .hero-slide-metrics svg {width:15px;height:15px;}
 .home-launch .video-slide-copy {width:100%;max-width:none;padding:32px 20px 90px;justify-content:center;gap:24px;}
 :root[data-theme] .home-launch h1 {font-size:clamp(2.6rem,9vw,4rem);}
 .home-launch .video-slide-copy p {font-size:16px;max-width:20em;}
 :root[data-theme] .home-launch .hero-carousel-nav {width:calc(100% - 32px);bottom:14px;gap:12px;flex-wrap:nowrap;}
 .home-launch .carousel-actions {width:auto;gap:4px;margin:0;}
 .home-launch .carousel-actions button {min-width:38px;padding:7px;}
 .home-launch .carousel-actions [data-slide-pause] {padding:7px;font-size:12px;}
 .home-launch .carousel-dots {gap:0;}
 :root[data-theme] .home-launch .hero-dot {width:24px;min-width:24px;}
 .home-launch .carousel-actions span {display:none;}
}
@media(max-width:600px) {
 :root[data-theme] .home-launch .hero-image,:root[data-theme] .home-launch [data-hero-variant="controller-box"] .hero-image {width:210%;}
}
@media(max-width:359px) {
 :root[data-theme] .home-launch .hero-slide-content {padding-inline:16px;}
 :root[data-theme] .home-launch .hero-actions {width:100%;}
 :root[data-theme] .home-launch .hero-actions .button {flex:1;min-width:0;font-size:12px;padding-inline:8px;white-space:normal;}
 :root[data-theme] .home-launch .hero-slide-metrics {gap:5px;}
 :root[data-theme] .home-launch .hero-slide-metrics li {font-size:10px;padding:6px;gap:3px;}
 .home-launch .hero-slide-metrics svg {width:13px;height:13px;}
}
@media(prefers-reduced-motion:reduce) {:root[data-theme] .home-launch .hero-slide {transition:none;transform:none;}}

/* Scene photographs retain their full native frame; original kit views keep their existing layout. */
:root[data-theme] .detail-main-visual.scene-media {aspect-ratio:2/1;background:#111820!important;}
:root[data-theme] .detail-main-visual.scene-media .product-thumb-media {padding:0;object-fit:contain!important;}
.detail-media-caption {margin:10px 0 4px;color:var(--muted);font-size:12px;line-height:1.5;}
@media(max-width:860px) {
 :root[data-theme] .home-launch .hero-slide:has(.hero-image[src*="/assets/uploads/"])::before {filter:blur(24px);opacity:.2;transform:scale(1.06);}
}
