/* The reference AI Mattress page's page styles, scoped to this template. */
.drp-ai-mattress { --gold:#C9A96E;--gold-dim:rgba(201,169,110,.6);--gold-faint:rgba(201,169,110,.12);--black:#07132A;--blue:#2F70C8;--blue-dark:#1A4E9A;--blue-mid:#0D2B5C;--blue-light:#D0E4F8;--ink:#1C1C1C;--cream:#F7F4EF;--warm:#F2EEE7;--muted:#1C1C1C;--border:rgba(201,169,110,.2);background:var(--cream);color:var(--ink);font-family:'Jost',sans-serif;font-weight:300;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
@scope (.drp-ai-mattress) {
/* BREADCRUMB */
    .breadcrumb { max-width: 1440px; margin: 0 auto; padding: 20px 40px; display: flex; gap: 8px; align-items: center; }
    .breadcrumb a, .breadcrumb span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--gold); }
    .breadcrumb .sep { color: var(--gold); font-size: 9px; }
    .breadcrumb .current { color: var(--ink); }

    /* SECTION NAV TABS */
    .section-nav { position: sticky; top: 82px; z-index: 150; background: var(--black); border-bottom: .5px solid var(--border); overflow-x: auto; scrollbar-width: none; }
    .section-nav::-webkit-scrollbar { display: none; }
    .section-nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; display: flex; gap: 0; }
    .section-nav-link { display: inline-flex; align-items: center; padding: 16px 24px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; font-family: 'Jost', sans-serif; font-weight: 400; flex-shrink: 0; }
    .section-nav-link:hover { color: rgba(255,255,255,0.75); }
    .section-nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }

    /* HERO */
    .hero { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--black); }
    .hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #07132A 0%, #0D1F3C 40%, #07132A 100%); }
    .hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(201,169,110,0.08) 0%, transparent 70%); }
    .hero-content { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 60px 40px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .hero-text .tag { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: block; }
    .hero-text h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 6vw, 88px); font-weight: 400; color: #fff; line-height: 1.05; margin-bottom: 24px; }
    .hero-text h1 em { color: var(--gold); font-style: italic; }
    .hero-text p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.65); max-width: 480px; margin-bottom: 40px; }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
    .btn-primary { display: inline-block; padding: 16px 36px; background: var(--gold); color: var(--black); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: opacity .2s; font-weight: 400; }
    .btn-primary:hover { opacity: .85; }
    .btn-outline-light { display: inline-block; padding: 15px 36px; border: .5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s; font-weight: 400; }
    .btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
    .hero-visual { display: flex; flex-direction: column; gap: 20px; }
    .hero-product-card { background: rgba(255,255,255,0.04); border: .5px solid rgba(201,169,110,0.2); padding: 32px; }
    .hero-product-card .prod-sku { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
    .hero-product-card .prod-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #fff; margin-bottom: 12px; }
    .hero-product-card .prod-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }
    .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: .5px solid rgba(201,169,110,0.2); margin-top: 20px; }
    .stat-item { padding: 24px 16px; border-right: .5px solid rgba(201,169,110,0.2); text-align: center; }
    .stat-item:last-child { border-right: none; }
    .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--gold); display: block; line-height: 1; }
    .stat-label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 6px; display: block; }

    /* AWARDS STRIP */
    .awards-strip { background: var(--black); border-top: .5px solid var(--border); border-bottom: .5px solid var(--border); }
    .awards-inner { max-width: 1440px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: nowrap; }
    .award-item { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 8px; }
    .award-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }

    /* SEO DEFINITION SECTION */
    .seo-block { background: var(--cream); padding: 100px 40px; }
    .seo-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
    .section-tag { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block; }
    .seo-left h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4vw, 52px); font-weight: 400; line-height: 1.15; margin-bottom: 24px; }
    .seo-left .lead { font-size: 15px; line-height: 1.85; color: var(--muted); }
    .seo-right { padding-top: 8px; }
    .seo-right p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; }
    .seo-stat-row { display: flex; gap: 40px; margin-top: 32px; padding-top: 32px; border-top: .5px solid var(--border); }
    .seo-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--ink); line-height: 1; }
    .seo-stat .lbl { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

    /* PRODUCT HERO SECTION */
    .product-hero { background: var(--warm); padding: 100px 40px; }
    .product-hero-inner { max-width: 1440px; margin: 0 auto; }
    .product-hero-grid { display: grid; grid-template-columns: 55% 1fr; gap: 60px; align-items: stretch; }
    .product-hero-grid > div:first-child { display: flex; flex-direction: column; }
    .gallery-main { flex: 1; min-height: 400px; background: #e8e4dc; overflow: hidden; position: relative; cursor: zoom-in; }
    .gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .gallery-main:hover img { transform: scale(1.03); }
    .gallery-placeholder { width: 100%; height: 100%; min-height: 400px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e8e3d8, #d4cfc4); }
    .gallery-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #1C1C1C; letter-spacing: .1em; }
    .gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
    .thumb { aspect-ratio: 1; background: #ddd9d1; cursor: pointer; border: 1.5px solid transparent; transition: border-color .2s; overflow: hidden; }
    .thumb.active, .thumb:hover { border-color: var(--gold); }
    .brand-statement { margin-top: 24px; padding: 24px; background: var(--black); }
    .brand-statement .bs-tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
    .brand-statement .bs-head { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #fff; margin: 8px 0; }
    .brand-statement .bs-copy { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }
    /* product info */
    .prod-info .cat-tag { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
    .prod-info h1.prod-name { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 400; line-height: 1.1; margin: 12px 0 6px; }
    .prod-info .sku-line { font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-bottom: 20px; }
    .prod-info .divider { height: .5px; background: var(--border); margin: 20px 0; }
    .prod-info .description { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 24px; }
    .selector-label { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
    .size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
    .size-btn { padding: 10px 20px; border: .5px solid var(--border); font-size: 11px; letter-spacing: .1em; cursor: pointer; background: transparent; color: var(--ink); font-family: 'Jost', sans-serif; transition: all .2s; }
    .size-btn.active, .size-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
    .cta-stack { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
    .btn-black { display: block; width: 100%; padding: 17px; background: var(--black); color: #fff; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; text-align: center; transition: opacity .2s; font-weight: 400; border: none; cursor: pointer; font-family: 'Jost', sans-serif; }
    .btn-black:hover { opacity: .8; }
    .btn-outline-dark { display: block; width: 100%; padding: 16px; border: .5px solid var(--ink); color: var(--ink); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; text-align: center; transition: all .2s; font-weight: 400; background: transparent; cursor: pointer; font-family: 'Jost', sans-serif; }
    .btn-outline-dark:hover { background: var(--ink); color: #fff; }
    .service-icons { display: flex; gap: 20px; padding-top: 20px; border-top: .5px solid var(--border); }
    .service-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; flex: 1; }
    .service-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }
    .service-icon span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

    /* AI TECH SECTIONS */
    .ai-dark { background: var(--black); padding: 100px 40px; }
    .ai-dark-inner { max-width: 1440px; margin: 0 auto; }
    .section-tag-gold { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
    .section-heading-light { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4vw, 56px); color: #fff; font-weight: 400; line-height: 1.12; margin-bottom: 20px; }
    .section-heading-light em { color: var(--gold); font-style: italic; }
    .section-body-light { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.55); max-width: 620px; }
    .ai-tidal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
    .tidal-steps { display: flex; flex-direction: column; gap: 0; }
    .tidal-step { display: flex; gap: 24px; padding: 28px 0; border-bottom: .5px solid rgba(201,169,110,0.12); }
    .tidal-step:last-child { border-bottom: none; }
    .step-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--gold); min-width: 40px; line-height: 1; }
    .step-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #fff; margin-bottom: 6px; }
    .step-content p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.5); }
    .tidal-visual { background: rgba(255,255,255,0.03); border: .5px solid rgba(201,169,110,0.15); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }
    .tidal-visual span { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--gold); letter-spacing: .1em; text-align: center; padding: 20px; }

    /* 5 ZONE */
    .zone-section { background: var(--cream); padding: 100px 40px; }
    .zone-inner { max-width: 1440px; margin: 0 auto; }
    .zone-header { text-align: center; margin-bottom: 60px; }
    .zone-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4vw, 52px); margin-bottom: 16px; }
    .zone-header p { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 580px; margin: 0 auto; }
    .zone-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: .5px solid var(--border); }
    .zone-card { padding: 36px 24px; border-right: .5px solid var(--border); text-align: center; }
    .zone-card:last-child { border-right: none; }
    .zone-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: 12px; display: block; }
    .zone-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 17px; margin-bottom: 8px; }
    .zone-card p { font-size: 12px; line-height: 1.7; color: var(--muted); }
    .zone-benefit { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: .5px solid var(--border); background: var(--warm); }
    .benefit-item { padding: 32px; border-right: .5px solid var(--border); }
    .benefit-item:last-child { border-right: none; }
    .benefit-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; margin-bottom: 8px; }
    .benefit-item p { font-size: 13px; line-height: 1.75; color: var(--muted); }

    /* DUAL ZONE */
    .dual-section { background: var(--black); padding: 100px 40px; }
    .dual-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .dual-visual { aspect-ratio: 4/3; background: rgba(255,255,255,0.04); border: .5px solid rgba(201,169,110,0.15); display: flex; align-items: center; justify-content: center; }
    .dual-visual-inner { display: flex; gap: 0; width: 80%; height: 60%; }
    .dual-side { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: .5px solid rgba(201,169,110,0.2); padding: 20px; }
    .dual-side:first-child { border-right: none; }
    .dual-side .side-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
    .dual-side .firmness-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 6px; }
    .dual-side.soft .firmness-bar::after { content: ''; display: block; width: 35%; height: 100%; background: var(--gold); border-radius: 2px; }
    .dual-side.firm .firmness-bar::after { content: ''; display: block; width: 70%; height: 100%; background: var(--gold); border-radius: 2px; }
    .dual-side .side-setting { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: rgba(255,255,255,0.7); }

    /* SLEEPCARE APP */
    .app-section { background: var(--warm); padding: 100px 40px; }
    .app-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .app-features { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
    .app-feature { display: flex; gap: 20px; padding: 20px 0; border-bottom: .5px solid var(--border); }
    .app-feature:last-child { border-bottom: none; }
    .app-feature-icon { width: 36px; height: 36px; border: .5px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .app-feature-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; }
    .app-feature h4 { font-family: 'Cormorant Garamond', serif; font-size: 17px; margin-bottom: 4px; }
    .app-feature p { font-size: 12px; line-height: 1.7; color: var(--muted); }
    .app-phone-visual { background: transparent; width: 100%; margin: 0 auto; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0; overflow: hidden; }
    .app-phone-screen { background: rgba(201,169,110,0.06); border: .5px solid rgba(201,169,110,0.15); padding: 20px; width: 100%; }
    .app-metric { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: .5px solid rgba(201,169,110,0.1); }
    .app-metric:last-child { border-bottom: none; }
    .app-metric .metric-name { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
    .app-metric .metric-val { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--gold); }

    /* VIDEO SECTION */
    .video-section { background: var(--black); position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
    .video-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
    .video-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(201,169,110,0.06), transparent 70%); }
    .video-content { position: relative; z-index: 2; text-align: center; }
    .play-btn { width: 72px; height: 72px; border: .5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; cursor: pointer; transition: background .2s; }
    .play-btn:hover { background: rgba(201,169,110,0.1); }
    .play-btn svg { width: 22px; height: 22px; fill: var(--gold); margin-left: 4px; }
    .video-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); color: #fff; margin-bottom: 12px; }
    .video-content p { font-size: 13px; color: rgba(255,255,255,0.45); letter-spacing: .08em; }

    /* T11 SE SECTION */
    .t11se-section { background: var(--cream); padding: 60px 40px; }
    .t11se-inner { max-width: 1440px; margin: 0 auto; }
    .t11se-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .t11se-image { aspect-ratio: 4/3; background: linear-gradient(135deg, #e4e0d7, #ccc8be); display: flex; align-items: center; justify-content: center; }
    .t11se-image span { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #1C1C1C; letter-spacing: .1em; }
    .t11se-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 40px); margin-bottom: 16px; }
    .t11se-text p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }

    /* COMPARISON TABLE */
    .comparison-section { background: var(--warm); padding: 100px 40px; }
    .comparison-inner { max-width: 1440px; margin: 0 auto; }
    .comparison-header { text-align: center; margin-bottom: 48px; }
    .comparison-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 50px); margin-bottom: 12px; }
    .comparison-header p { font-size: 14px; color: var(--muted); }
    .comp-table { width: 100%; border-collapse: collapse; border: .5px solid var(--border); }
    .comp-table th { padding: 20px 24px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; border-bottom: .5px solid var(--border); border-right: .5px solid var(--border); background: var(--black); color: #fff; }
    .comp-table th:first-child { background: var(--warm); color: var(--ink); text-align: left; }
    .comp-table th.highlight { background: var(--gold); color: var(--black); }
    .comp-table td { padding: 16px 24px; font-size: 13px; border-bottom: .5px solid var(--border); border-right: .5px solid var(--border); vertical-align: middle; color: var(--ink); }
    .comp-table td:first-child { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 400; background: var(--warm); }
    .comp-table td:last-child { border-right: none; }
    .comp-table th:last-child { border-right: none; }
    .comp-table tr:last-child td { border-bottom: none; }
    .comp-table .check { color: var(--gold); font-size: 16px; }
    .comp-table .dash { color: var(--muted); }
    .comp-table .highlight-col { background: var(--gold-faint); font-weight: 400; }
    .comp-table .center { text-align: center; }

    /* SERENE PLUS */
    .serene-section { background: var(--black); padding: 100px 40px; }
    .serene-inner { max-width: 1440px; margin: 0 auto; }
    .serene-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 80px; }
    .serene-intro .section-heading-light { font-size: clamp(32px, 3.5vw, 52px); }
    .serene-intro p { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
    .serene-image { aspect-ratio: 4/3; background: rgba(255,255,255,0.04); border: .5px solid rgba(201,169,110,0.15); display: flex; align-items: center; justify-content: center; }
    .serene-image span { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--gold); letter-spacing: .1em; }

    /* COMPLETE SYSTEM */
    .system-section { background: var(--black); padding: 0 40px 100px; }
    .system-inner { max-width: 1440px; margin: 0 auto; }
    .system-banner { background: rgba(201,169,110,0.06); border: .5px solid rgba(201,169,110,0.2); padding: 60px; text-align: center; }
    .system-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); color: #fff; margin-bottom: 16px; }
    .system-banner h2 em { color: var(--gold); font-style: italic; }
    .system-banner p { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.5); max-width: 580px; margin: 0 auto 36px; }
    .system-products { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
    .system-tag { padding: 10px 24px; border: .5px solid rgba(201,169,110,0.35); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

    /* SPECS TABLE */
    .specs-section { background: var(--cream); padding: 100px 40px; }
    .specs-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
    .specs-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3vw, 44px); margin-bottom: 32px; }
    table.specs { width: 100%; border-collapse: collapse; }
    table.specs tr { border-bottom: .5px solid var(--border); }
    table.specs tr:last-child { border-bottom: none; }
    table.specs td { padding: 14px 0; font-size: 13px; vertical-align: top; }
    table.specs td:first-child { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 42%; }
    table.specs td:last-child { color: var(--ink); font-weight: 400; }
    .specs-images { display: flex; flex-direction: column; gap: 16px; }
    .specs-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #e4e0d7, #d0cbc0); display: flex; align-items: center; justify-content: center; }
    .specs-img span { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: #1C1C1C; letter-spacing: .08em; }

    /* FAQ */
    .faq-section { background: var(--warm); padding: 100px 40px; }
    .faq-inner { max-width: 900px; margin: 0 auto; }
    .faq-header { text-align: center; margin-bottom: 48px; }
    .faq-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 50px); margin-bottom: 12px; }
    .faq-header p { font-size: 14px; color: var(--muted); }
    .faq-item { border-bottom: .5px solid var(--border); }
    .faq-q { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; gap: 20px; }
    .faq-q h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; line-height: 1.3; flex: 1; }
    .faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
    .faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold); transition: transform .3s; border-radius: 1px; }
    .faq-icon::before { width: 100%; height: .5px; top: 50%; transform: translateY(-50%); }
    .faq-icon::after { width: .5px; height: 100%; left: 50%; transform: translateX(-50%); }
    .faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .faq-a p { font-size: 14px; line-height: 1.85; color: var(--muted); padding-bottom: 24px; }
    .faq-item.open .faq-a { max-height: 300px; }

    /* SHOWROOM */
    .showroom-section { background: var(--black); padding: 100px 40px; }
    .showroom-inner { max-width: 860px; margin: 0 auto; text-align: center; }
    .showroom-text .section-tag-gold { margin-bottom: 16px; }
    .showroom-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); color: #fff; margin-bottom: 20px; }
    .showroom-text p { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
    .showroom-card { background: rgba(255,255,255,0.04); border: .5px solid rgba(201,169,110,0.2); padding: 36px; }
    .showroom-card .card-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
    .showroom-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #fff; margin-bottom: 6px; }
    .showroom-card .address { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; line-height: 1.6; }

    /* FOOTER */
    /* REVEAL ANIMATION */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .hero-content, .ai-tidal-grid, .dual-inner, .app-inner, .t11se-grid, .serene-intro, .showroom-inner, .seo-inner, .product-hero-grid, .specs-inner { grid-template-columns: 1fr; gap: 48px; }
      .zone-grid { grid-template-columns: repeat(3, 1fr); }
    }

/* ══ AI THEME ANIMATIONS ══ */

/* Animated hero gradient */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Neural grid pulse */
@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* Floating particle */
@keyframes particleFloat {
  0%   { transform: translateY(0px) translateX(0px); opacity: 0.4; }
  25%  { transform: translateY(-18px) translateX(8px); opacity: 0.8; }
  50%  { transform: translateY(-8px) translateX(-6px); opacity: 0.5; }
  75%  { transform: translateY(-24px) translateX(4px); opacity: 0.9; }
  100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
}

/* Pulse glow for stat numbers */
@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(47,112,200,0.25), 0 0 40px rgba(47,112,200,0.1); }
  50%       { text-shadow: 0 0 35px rgba(47,112,200,0.55), 0 0 70px rgba(47,112,200,0.25); }
}

/* Scan line sweep */
@keyframes scanSweep {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(200vh); opacity: 0; }
}

/* Border glow pulse */
@keyframes borderPulse {
  0%, 100% { border-color: rgba(47,112,200,0.2); }
  50%       { border-color: rgba(47,112,200,0.55); box-shadow: 0 0 24px rgba(47,112,200,0.15); }
}

/* Gradient text shimmer */
@keyframes textShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Neural dot blink */
@keyframes dotBlink {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.7;  transform: scale(1.6); }
}

/* ══ HERO BACKGROUND ANIMATION ══ */
.hero-bg {
  background: linear-gradient(-45deg, #07132A, #0D2B5C, #142F6B, #2F70C8, #07132A) !important;
  background-size: 400% 400% !important;
  animation: heroGradient 14s ease infinite;
}

/* ══ NEURAL GRID OVERLAY ══ */
.neural-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47,112,200,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,112,200,0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridPulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ══ SCAN LINE ══ */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(47,112,200,0.5), rgba(180,215,255,0.8), rgba(47,112,200,0.5), transparent);
  animation: scanSweep 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* ══ FLOATING AI PARTICLES ══ */
.ai-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* ══ STAT NUMBER GLOW ══ */
.stat-num-glow {
  animation: statGlow 3s ease-in-out infinite;
}

/* ══ ANIMATED GOLD-TO-BLUE GRADIENT ON HERO H1 ══ */
.hero-title-gradient {
  background: linear-gradient(90deg, #C9A96E, #DFE7F6, #2F70C8, #C9A96E, #DFE7F6);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 5s linear infinite;
}

/* ══ BORDER PULSE ON KEY CARDS ══ */
.ai-border-pulse {
  animation: borderPulse 4s ease-in-out infinite;
}

/* ══ BLUE TINT ON SECTION DIVIDERS ══ */
.blue-glow-line {
  height: 1px;
  background: linear-gradient(to right, transparent, #2F70C8, rgba(47,112,200,0.4), transparent);
  margin: 0;
}

/* ══ SECTION NAV ACTIVE TAB - BLUE ACCENT ══ */
.section-nav-link.active {
  color: #DFE7F6 !important;
  border-bottom-color: #2F70C8 !important;
}
.section-nav-link:hover {
  color: rgba(223,231,246,0.9) !important;
}

/* ══ HERO STAT VALUE STYLING ══ */
.stat-value {
  background: linear-gradient(135deg, #C9A96E, #DFE7F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════
   HAMBURGER + MOBILE NAV
═══════════════════════════════════════════════ */
.nav-burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:36px; height:36px; background:none; border:none; cursor:pointer; padding:4px; margin-left:8px; flex-shrink:0; }
.nav-burger span { display:block; width:22px; height:1.5px; background:var(--ink); transition:transform 0.25s ease, opacity 0.25s ease; transform-origin:center; }
.nav-burger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-burger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }
.mobile-nav-overlay { display:none; position:fixed; inset:0; background:rgba(12,11,9,0.55); z-index:1200; backdrop-filter:blur(3px); }
.mobile-nav-overlay.open { display:block; }
.mobile-nav { display:none; position:fixed; top:0; left:0; width:min(320px,88vw); height:100dvh; background:var(--cream,#F7F4EF); z-index:1300; transform:translateX(-100%); flex-direction:column; box-shadow:4px 0 40px rgba(12,11,9,0.2); overflow-y:auto; }
.mobile-nav.open { display:flex; animation:mobileNavIn 0.32s cubic-bezier(0.4,0,0.2,1) forwards; }
.mobile-nav.closing { display:flex; animation:mobileNavOut 0.32s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes mobileNavIn { from{transform:translateX(-100%)} to{transform:translateX(0)} }
@keyframes mobileNavOut { from{transform:translateX(0)} to{transform:translateX(-100%)} }
.mobile-nav-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:0.5px solid rgba(201,169,110,0.2); flex-shrink:0; }
.mobile-nav-wordmark { font-family:'Cormorant Garamond',serif; font-size:18px; font-weight:400; letter-spacing:2px; color:#1C1C1C; text-transform:uppercase; }
.mobile-nav-close-btn { background:none; border:none; cursor:pointer; font-size:26px; line-height:1; color:#1C1C1C; padding:4px; }
.mobile-nav-links { flex:1; padding:4px 0; }
.mobile-nav-links a { display:block; font-family:'Jost',sans-serif; font-size:11px; font-weight:400; letter-spacing:0.18em; text-transform:uppercase; color:#1C1C1C; text-decoration:none; padding:15px 20px; border-bottom:0.5px solid rgba(201,169,110,0.1); transition:color 0.2s,background 0.2s; }
.mobile-nav-links a:hover { color:#C9A96E; background:rgba(201,169,110,0.04); }
.mobile-nav-links a.promo-link { color:#C41E3A; }
.mobile-nav-footer-cta { margin:20px 20px 28px; display:block; text-align:center; padding:14px 20px; background:#C9A96E; color:#0C0B09 !important; font-family:'Jost',sans-serif; font-size:10px; font-weight:500; letter-spacing:0.2em; text-transform:uppercase; text-decoration:none; }

/* ═══════════════════════════════════════════════
   TABLET ≤ 1024px
═══════════════════════════════════════════════ */
@media (max-width:1024px) {
  html { zoom:1 !important; }
  .section-inner { padding:0 24px; }
  .collections-grid { grid-template-columns:repeat(3,1fr); gap:10px; }
  .pillars-grid { grid-template-columns:repeat(2,1fr); }
  .pillar:nth-child(2) { border-right:none; }
  .pillar:nth-child(3) { border-right:0.5px solid rgba(201,169,110,0.2); border-top:0.5px solid rgba(201,169,110,0.2); }
  .pillar:last-child { border-top:0.5px solid rgba(201,169,110,0.2); }
  .showcase-content { padding:0 36px 40px; }
  .hero-product-content { padding:60px 40px; }
  .footer-center-logo-wrap { display:none !important; }
}

/* ═══════════════════════════════════════════════
   MOBILE ≤ 768px
═══════════════════════════════════════════════ */
@media (max-width:768px) {
  html { zoom:1 !important; }
  .header-inner { padding:0 16px; height:64px; }
  .header-logo-img { height:26px; width:auto; }
  .header-nav { display:none !important; }
  .btn-book { display:none !important; }
  .nav-burger { display:flex; }
  .action-divider { display:none; }
  .quote-drawer { width:100vw !important; max-width:100vw !important; }
  .section-inner { padding:0 16px; }
  .collections-section { padding:52px 0; }
  .collections-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .col-card-img { height:150px; }
  .col-card-body { padding:14px 14px 16px; }
  .col-card-name { font-size:18px; }
  .pillars-section { padding:52px 0; }
  .pillars-grid { grid-template-columns:repeat(2,1fr); }
  .pillar { padding:28px 18px; }
  .pillar:nth-child(2) { border-right:none; }
  .pillar:nth-child(3) { border-right:0.5px solid rgba(201,169,110,0.2); border-top:0.5px solid rgba(201,169,110,0.2); }
  .pillar:last-child { border-top:0.5px solid rgba(201,169,110,0.2); }
  .hero-content { padding:0 20px; margin-bottom:12vh; }
  .hero-btn-primary,.hero-btn-secondary { padding:0 24px; height:44px; font-size:8.5px; }
  .hero-ctas { gap:10px; }
  .hero-corner { display:none; }
  .hero-scroll { display:none; }
  .showcase-content { padding:0 20px 36px; flex-direction:column; align-items:flex-start; gap:16px; }
  .product-showcase { height:70vh; min-height:480px; }
  .hero-product-inner { grid-template-columns:1fr; min-height:auto; }
  .hero-product-visual { min-height:280px; }
  .hero-product-content { padding:40px 20px; }
  .hero-product-specs { grid-template-columns:1fr 1fr; }
  .brand-video-wrapper { height:60vw; min-height:260px; }
  .showroom-banner { height:70vw; min-height:320px; }
  .showroom-banner-content { transform:translateY(0) !important; padding:28px 20px; gap:16px; }
  .showroom-banner-corner { display:none; }
  .designers-grid { grid-template-columns:1fr !important; }
  .footer-inner { padding:0 16px; }
  .footer-brand-band { flex-direction:column; gap:20px; text-align:center; }
  .footer-center-logo-wrap { display:none !important; }
  .footer-socials-block { align-items:center; }
  .footer-main { grid-template-columns:1fr 1fr; padding:28px 0; }
  .f-col { padding:0 10px 0 0; }
  .f-col:first-child { grid-column:1/-1; border-right:none; margin-bottom:8px; padding-bottom:16px; border-bottom:1px solid rgba(28,28,28,0.08); }
  .warranty-grid { grid-template-columns:1fr; }
  .warranty-card { border-right:none; border-bottom:0.5px solid rgba(201,169,110,0.2); }
  .delivery-grid { grid-template-columns:1fr; }
  .delivery-card { border-right:none; border-bottom:0.5px solid rgba(201,169,110,0.2); }
  #cookieBanner { flex-direction:column; padding:20px 16px; gap:16px; }
  .cb-actions { width:100%; flex-direction:row; }
  .cb-accept { flex:1; }
  /* ── Product page split layout ── */
  .split-hero { flex-direction:column; min-height:auto; }
  .split-image-panel { width:100%; height:56vw; min-height:240px; position:relative; top:0 !important; }
  .split-info-panel { width:100%; padding:28px 16px 48px; min-height:auto; }
  /* ── Product page sections ── */
  .feature-strip { padding:48px 16px; }
  .feature-columns { grid-template-columns:repeat(2,1fr); }
  .feature-col { border-right:none; border-bottom:0.5px solid rgba(255,255,255,0.08); }
  .feature-col:nth-child(odd) { border-right:0.5px solid rgba(255,255,255,0.08); }
  .product-story-section { padding:28px 16px 32px !important; }
  .accordion-cols { grid-template-columns:1fr; gap:0; }
  .specs-accordion-section { padding:48px 16px !important; }
  .related-section { padding:52px 16px !important; }
  .related-grid { grid-template-columns:repeat(2,1fr) !important; gap:16px !important; }
  /* ── Collection page ── */
  .col-hero { grid-template-columns:1fr !important; padding:40px 16px 32px !important; gap:24px !important; }
  .col-hero-title { font-size:clamp(32px,8vw,48px) !important; }
  .col-filter-bar { padding:0 16px; top:64px; }
  .col-body { padding:0 16px 48px !important; }
  .col-product-grid { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; padding:24px 0 !important; }
  /* ── Page-level sections (shared across page.*.liquid) ── */
  .page-hero,.page-header { padding:60px 16px 40px !important; }
  .page-body,.page-inner { padding:40px 16px 60px !important; }
  .two-col,.two-col-grid { grid-template-columns:1fr !important; }
  .three-col,.three-col-grid { grid-template-columns:1fr !important; }
  .four-col,.four-col-grid { grid-template-columns:repeat(2,1fr) !important; }
  /* ── AI mattress page sections ── */
  .ai-split { grid-template-columns:1fr !important; }
  .ai-split > * { min-height:auto !important; }
}

/* ═══════════════════════════════════════════════
   SMALL MOBILE ≤ 480px
═══════════════════════════════════════════════ */
@media (max-width:480px) {
  .collections-grid { grid-template-columns:1fr; }
  .col-card-img { height:200px; }
  .pillars-grid { grid-template-columns:1fr; }
  .pillar { border-right:none !important; border-top:0.5px solid rgba(201,169,110,0.2) !important; }
  .pillar:first-child { border-top:none !important; }
  .footer-main { grid-template-columns:1fr; }
  .f-col { border-right:none !important; padding:0; }
  .f-col:not(:first-child) { padding-top:16px; border-top:1px solid rgba(28,28,28,0.08); }
  .split-image-panel { height:72vw; }
  .related-grid { grid-template-columns:1fr !important; }
  .feature-columns { grid-template-columns:1fr !important; }
  .col-product-grid { grid-template-columns:1fr !important; }
  .hero-product-inner { grid-template-columns:1fr; }
  .four-col,.four-col-grid { grid-template-columns:1fr !important; }
}

@media (max-width: 768px) { .footer-center-logo-wrap { display: none !important; } }

/* ═══ AI MATTRESS PAGE — MOBILE FIXES ═══ */
@media (max-width: 768px) {
  html { scroll-behavior: auto !important; }
  #siteHeader { overflow: hidden !important; }
  .section-nav, #sectionNav { display: none !important; height: 0 !important; overflow: hidden !important; visibility: hidden !important; }
  #searchBar, #searchBarBackdrop { top: 64px !important; border-top: none !important; border-bottom: none !important; }
  .breadcrumb { display: none !important; }
  #siteHeader .header-logo img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
  }
  /* Disable heavy animations for smooth scrolling */
  .hero-bg { animation: none !important; }
  .neural-grid { animation: none !important; }
  .scan-line { display: none !important; }
  .ai-particle { display: none !important; }
  .stat-num-glow { animation: none !important; }
  .hero-title-gradient { animation: none !important; }
  .ai-border-pulse { animation: none !important; }
  * { -webkit-overflow-scrolling: touch; }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    -webkit-overflow-scrolling: touch;
  }
  /* All sections: reduce padding */
  .seo-block, .product-hero, .ai-dark, .zone-section,
  .dual-section, .app-section, .serene-section,
  .system-section, .specs-section, .faq-section,
  .showroom-section, .comparison-section, .t11se-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
  /* Hero */
  .hero-content {
    grid-template-columns: 1fr !important;
    padding: 40px 16px !important;
    gap: 32px !important;
  }
  .hero-text h1 { font-size: clamp(36px, 9vw, 56px) !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-actions { flex-direction: column !important; gap: 10px !important; }
  .btn-primary, .btn-outline-light { width: 100% !important; text-align: center !important; }
  /* Awards strip */
  .awards-inner { padding: 16px !important; gap: 16px !important; flex-wrap: wrap !important; justify-content: center !important; }
  /* Section nav */
  .section-nav-inner { padding: 0 8px !important; }
  .section-nav-link { padding: 14px 12px !important; font-size: 8px !important; }
  /* SEO section */
  .seo-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Product hero */
  .product-hero-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .gallery-main { min-height: 260px !important; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr) !important; }
  /* AI tidal */
  .ai-tidal-grid { grid-template-columns: 1fr !important; gap: 36px !important; margin-top: 36px !important; }
  /* Zone grid */
  .zone-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .zone-benefit { grid-template-columns: 1fr !important; }
  .benefit-item { border-right: none !important; border-bottom: .5px solid var(--border) !important; }
  .benefit-item:last-child { border-bottom: none !important; }
  /* Dual zone */
  .dual-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
  /* App section */
  .app-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
  /* Comparison table — horizontal scroll */
  .comparison-section { padding-left: 0 !important; padding-right: 0 !important; }
  .comparison-inner { padding: 0 16px !important; }
  .comp-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  /* Serene + T11SE */
  .serene-intro { grid-template-columns: 1fr !important; gap: 28px !important; }
  .t11se-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Specs */
  .specs-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* System banner */
  .system-banner { padding: 36px 16px !important; }
  /* Images — prevent cropping */
  img, video { max-width: 100% !important; height: auto !important; }
  .tidal-visual { aspect-ratio: 3/2 !important; }
  /* Video section */
  .video-section { min-height: 300px !important; }
}

}
.page-template-smart-ai .drp-site-header{position:sticky;top:0;z-index:200;}
.admin-bar.page-template-smart-ai .drp-site-header{top:32px;}
.drp-ai-mattress .section-nav{z-index:10;}
.admin-bar .drp-ai-mattress .section-nav{top:114px;}
@media(min-width:769px){
  .drp-ai-mattress .breadcrumb{height:54px;min-height:54px;padding-top:0;padding-bottom:0;align-items:center;}
  .drp-ai-mattress .section-nav{margin-top:0;margin-bottom:0;}
  .drp-ai-mattress .section-nav + .hero{margin-top:0;}
}
@media(max-width:782px){.admin-bar.page-template-smart-ai .drp-site-header{top:46px;}}
