/* vitraille public storefront — adapted from vitraille-public-mockup.html.
   Light/dark with OS default; explicit override via :root[data-theme]. */
:root {
    --bg: #fcfcfd; --surface: #ffffff; --surface2: #f5f7fa; --text: #17191c; --muted: #68717c;
    --line: #e3e7ec; --accent: #829bff; --accent2: #ddf7fa; --ok: #16865e;
    --nav: rgba(252,252,253,.88); --shadow: 0 24px 70px rgba(23,25,28,.08); --max: 1240px;
    --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #090b10; --surface: #12151c; --surface2: #181c25; --text: #f6f7f9; --muted: #a2a9b4;
        --line: #292f3a; --accent: #9a82ff; --accent2: #61d2ff; --ok: #67d8ae;
        --nav: rgba(9,11,16,.88); --shadow: 0 26px 90px rgba(0,0,0,.45);
    }
}

:root[data-theme="dark"] {
    --bg: #090b10; --surface: #12151c; --surface2: #181c25; --text: #f6f7f9; --muted: #a2a9b4;
    --line: #292f3a; --accent: #9a82ff; --accent2: #61d2ff; --ok: #67d8ae;
    --nav: rgba(9,11,16,.88); --shadow: 0 26px 90px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
/* overflow-x here (not just on individual components) mainly guards the off-canvas nav drawer:
   a translateX(100%) panel is still part of the document's scrollable area even while positioned
   off-screen, which otherwise adds horizontal scroll on every page, not just where the drawer lives. */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: auto; padding: 0 28px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.navin { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 950; letter-spacing: .18em; }
.links { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.links a:hover { color: var(--text); }
.navActions { display: flex; align-items: center; gap: 10px; }
.navActions .navToggle { display: none; }
/* The drawer is a sibling of <nav>, not nested inside it: .nav's backdrop-filter would otherwise
   establish a containing block for this panel's position:fixed and collapse it to the nav bar's own
   height instead of the full viewport. display:none (not just off-screen) at all widths except when
   explicitly opened on mobile, so it never affects layout/scroll measurement anywhere else. */
.navDrawer { display: none; position: fixed; inset: 0; z-index: 40; flex-direction: column; gap: 4px;
    background: var(--surface); padding: 90px 28px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.navToggleIcon { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.navToggleIcon::before, .navToggleIcon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.navToggleIcon::before { top: -6px; }
.navToggleIcon::after { top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px;
    border: 1px solid var(--line); border-radius: 999px; font-weight: 800; background: var(--surface);
    color: var(--text); cursor: pointer; }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.buy { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.block { width: 100%; }
.iconBtn { width: 42px; height: 42px; padding: 0; }

/* Hero / purchase */
.hero { padding: 34px 0 72px; border-bottom: 1px solid var(--line); }
.heroGrid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(360px,.65fr); gap: 30px; align-items: stretch; }
/* Markup order is purchase-then-image (mobile reading order: label, headline, description, actions,
   image); restore the wider image-left/purchase-right desktop composition without duplicating markup. */
@media (min-width: 981px) {
    .visual { order: 1; }
    .purchase { order: 2; }
}
.visual { min-height: 560px; border: 1px solid var(--line); border-radius: 30px;
    background: radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 30%), linear-gradient(145deg, var(--surface), var(--surface2));
    position: relative; overflow: hidden; box-shadow: var(--shadow); display: grid; place-items: center; }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual .placeholder { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; padding: 24px; text-align: center; }
.purchase { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 34px;
    box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--accent); font-weight: 900; }
.purchase h1 { font-size: clamp(38px,5vw,64px); line-height: .96; letter-spacing: -.055em; margin: 15px 0 16px; }
/* A full sentence (the homepage's value-prop headline) reads poorly at the short-product-name size
   above — smaller and less tight so it wraps to 2-3 balanced lines instead of five narrow ones. */
.purchase h1.heroHeadline { font-size: clamp(28px,3.6vw,42px); line-height: 1.1; letter-spacing: -.02em; }
.tagline { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.price { font-size: 34px; font-weight: 950; margin: 10px 0 6px; }
.lead { font-size: 14px; color: var(--ok); font-weight: 800; margin-bottom: 22px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 6px 0 24px; }
.spec { padding: 13px 0; border-top: 1px solid var(--line); font-weight: 800; }
.spec small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.buyRow { display: grid; gap: 10px; }
.buyNote { font-size: 12px; color: var(--muted); text-align: center; }
.trust { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 13px; }
.trust span::before { content: "✓"; color: var(--ok); font-weight: 900; margin-right: 6px; }

/* Sections */
section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.sectionHead { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 42px; }
.sectionHead h1, .sectionHead h2 { font-size: clamp(34px,5vw,60px); line-height: 1; letter-spacing: -.045em; margin: 0; }
.sectionHead p { max-width: 560px; color: var(--muted); font-size: 18px; }
.resultStatement { font-size: 22px; font-weight: 800; letter-spacing: -.01em; max-width: 720px; margin: 0; }
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.statement { padding: 46px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.statement h3 { font-size: 30px; line-height: 1.05; margin: 0 0 18px; }
.statement p { color: var(--muted); font-size: 18px; }
.artPanel { min-height: 360px; border-radius: 26px; border: 1px solid var(--line);
    background: radial-gradient(circle at 30% 35%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 35%), radial-gradient(circle at 70% 65%, color-mix(in srgb, var(--accent2) 28%, transparent), transparent 28%), var(--surface2);
    display: flex; align-items: end; padding: 34px; font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: 20px; min-height: 220px; }
.num { font: 900 12px ui-monospace, monospace; color: var(--accent); letter-spacing: .14em; }
.card h3 { font-size: 20px; margin: 32px 0 10px; }
.card p { color: var(--muted); font-size: 14px; }

.includedGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 14px; }
.includedGrid .card { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.includedGrid .card h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.includedGrid .card p { margin: 0; line-height: 1.5; }
.includedGrid > :last-child { grid-column: 1 / -1; }

/* Product grid (Products page) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 22px; }
.productCard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.productCard .thumb { aspect-ratio: 16/10; background: var(--surface2); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.productCard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.productCard .body { padding: 22px; }
.productCard h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.productCard .cardprice { font-weight: 900; margin: 10px 0; }
.productCard ul { list-style: none; padding: 0; margin: 12px 0; color: var(--muted); font-size: 14px; }
.cardActions { display: grid; gap: 10px; margin-top: 4px; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* Forms */
form.stack { display: grid; gap: 16px; max-width: 640px; }
label.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea { font: inherit; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--text); width: 100%; }
textarea { min-height: 150px; resize: vertical; }
.checkrow { display: flex; align-items: center; gap: 10px; }
.checkrow input { width: auto; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); }
.notice.ok { border-color: var(--ok); color: var(--ok); }
.notice.err { border-color: #b33c49; color: #b33c49; }
.field-error { color: #b33c49; font-size: 13px; font-weight: 600; }
.validation-summary-valid { display: none; }
.field-error ul, .field-error li { list-style: none; margin: 0; padding: 0; }

.footer { padding: 55px 0; color: var(--muted); }

@media (max-width: 980px) {
    .links { display: none; }
    .navDrawer.navOpen { display: flex; }
    .navDrawer a { font-size: 20px; font-weight: 700; color: var(--text); padding: 16px 4px; border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }
    .navDrawerClose {
        display: flex; position: absolute; top: 18px; right: 20px; width: 44px; height: 44px;
        align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line);
        background: var(--surface2); color: var(--text); font-size: 18px; cursor: pointer;
    }
    .navDrawerControls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
    /* The header keeps only the logo + hamburger on mobile; lang/theme move into the drawer above. */
    .navActions > .langSwitch, .navActions > [data-theme-toggle] { display: none; }
    .navActions .navToggle { display: inline-flex; }

    .heroGrid, .philosophy { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr 1fr; }
    /* Stacked single column now (purchase card, then image, per markup order) — a fixed 560px floor
       here was the single biggest source of empty space on a narrow phone; an aspect ratio scales
       with the actual column width instead. The old overlap trick (negative margin pulling the card
       up over the photo) assumed the image came first; with the image now second, dropping it avoids
       text-over-photo overlap and just relies on .heroGrid's existing gap for clean spacing. */
    .visual { min-height: 0; aspect-ratio: 4 / 5; }

    /* The table still fits down to 620px (below that it becomes stacked cards instead — see next
       breakpoint); this fade hints that it scrolls sideways rather than reading as accidentally cut off. */
    .compareWrap::after {
        content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 32px; pointer-events: none;
        background: linear-gradient(to right, transparent, var(--bg));
    }
}
@media (max-width: 620px) {
    .wrap { padding: 0 18px; }
    .specs, .cards, .includedGrid { grid-template-columns: 1fr; }
    .includedGrid > :last-child { grid-column: auto; }
    /* Below this, the comparison table gets too cramped to reflow further — switch to one stacked
       card per product (same data, grouped by product instead of by spec row; see Products.cshtml). */
    .compareWrap { display: none; }
    .compareSection .compareCards { display: grid; gap: 16px; margin-top: 0; }
    .compareCard .compareCardHead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .compareCard .cardprice { font-size: 22px; margin: 0 0 14px; }
    .compareCardSpecs { margin: 0 0 16px; }
    .compareCardRow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
    .compareCardRow dt { color: var(--muted); }
    .compareCardRow dd { margin: 0; font-weight: 700; text-align: right; }
    .compareCard.featured { border-color: var(--accent); }
    .sectionHead { display: block; }
}

.langSwitch a { font-weight: 700; font-size: 13px; text-decoration: none; opacity: .8; }
.langSwitch a:hover { opacity: 1; }

/* ---- Vitraille range: tier cards, comparison table, home range strip, CTA ---- */
.tierGrid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.tierCard { position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.tierCard.featured { border-color: var(--accent); box-shadow: 0 26px 70px color-mix(in srgb, var(--accent) 22%, transparent); }
.tierTag { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tierName { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.badge { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
    background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; padding: 3px 9px; }

.compareSection { border-top: 1px solid var(--line); }
.compareWrap { overflow-x: auto; position: relative; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line);
    vertical-align: middle; font-size: 15px; }
.compare thead th { font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--line); }
.compare tbody th[scope="row"] { color: var(--muted); font-weight: 700; white-space: nowrap; }
.compare .tierName { display: block; color: var(--text); font-size: 15px; letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.compare thead th .badge { font-size: 9px; }
.compare .featuredCol { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.compare .priceRow td, .compare .priceRow th { font-weight: 900; }
.compareCards { display: none; }

.rangeStrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rangeItem { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 18px;
    background: var(--surface); box-shadow: var(--shadow); }
.rangeItem.featured { border-color: var(--accent); }
.rangeItem:hover { border-color: var(--accent); }
.rangeTop { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rangePrice { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.rangeSummary { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.rangeLink { color: var(--accent); font-weight: 800; font-size: 14px; }

.ctaPanel { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
    padding: 34px; border: 1px solid var(--line); border-radius: 24px;
    background: linear-gradient(145deg, var(--surface), var(--surface2)); box-shadow: var(--shadow); }
.ctaPanel h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.02em; }
.ctaPanel p { margin: 0; color: var(--muted); max-width: 520px; }
.ctaActions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Inspiration gallery: grid, tiles, lightbox, disclosure, social ---- */
.galleryIntro { max-width: 640px; }
.galleryIntro p { color: var(--muted); font-size: 17px; }
.galleryGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galleryTile { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 18px;
    background: var(--surface2); cursor: pointer; overflow: hidden; aspect-ratio: 4/5; position: relative; }
.galleryTile:hover { border-color: var(--accent); }
.galleryImg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.galleryImg.imgFallback { object-fit: none; background: var(--surface2); }
.galleryCaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent); color: #fff; font-size: 13px;
    font-weight: 700; text-align: left; opacity: 0; transition: opacity .15s ease; }
.galleryTile:hover .galleryCaption, .galleryTile:focus-visible .galleryCaption { opacity: 1; }
.galleryEmpty { color: var(--muted); padding: 20px 0; }

.disclosure { color: var(--muted); font-size: 13px; max-width: 760px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

.socialCallout { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
    margin-top: 40px; padding: 26px 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.socialCallout h3 { margin: 0 0 4px; font-size: 20px; }
.socialCallout p { margin: 0; color: var(--muted); font-size: 14px; }

.socialLinks { display: flex; gap: 10px; }
.socialLinks a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--muted); }
.socialLinks a:hover { color: var(--text); border-color: var(--accent); }

.philosophyFeature { display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow); position: relative; aspect-ratio: 4/3; }
.philosophyFeature img { width: 100%; height: 100%; object-fit: cover; }
.philosophyFeature .exploreLabel { position: absolute; left: 18px; bottom: 18px; padding: 10px 18px; border-radius: 999px;
    background: rgba(15,16,20,.72); color: #fff; font-size: 13px; font-weight: 800; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,7,10,.92); display: none;
    align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(920px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 72vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { color: #f0f1f4; text-align: center; font-size: 14px; max-width: 640px; }
.lightbox .lbClose, .lightbox .lbPrev, .lightbox .lbNext { position: absolute; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; width: 44px; height: 44px;
    display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.lightbox .lbClose { top: 22px; right: 22px; }
.lightbox .lbPrev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lbNext { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lbClose:focus-visible, .lightbox .lbPrev:focus-visible, .lightbox .lbNext:focus-visible { outline: 2px solid var(--accent2); }

@media (max-width: 980px) {
    .galleryGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .galleryGrid { grid-template-columns: 1fr; }
    .lightbox .lbPrev, .lightbox .lbNext { width: 38px; height: 38px; }
}

/* ---- Checkout / order review: premium two-column layout ---- */
.checkoutSection { padding: 70px 0 110px; }
.checkoutGrid { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 70px; align-items: start; }
.checkoutMain { max-width: 540px; }
.checkoutTitle { font-size: clamp(40px,5.5vw,60px); line-height: .98; letter-spacing: -.035em; font-weight: 900; margin: 0 0 44px; }

.formSection { margin-bottom: 32px; }
.formLabel { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.deliveryOptions { display: grid; gap: 14px; }
.deliveryOption { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1.5px solid var(--line);
    border-radius: 16px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.deliveryOption:hover { border-color: color-mix(in srgb, var(--text) 35%, var(--line)); }
.deliveryOption.selected { border-color: var(--text); background: var(--surface2); box-shadow: 0 0 0 1px var(--text); }
.deliveryRadio { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--text); cursor: pointer; }
.deliveryLabel { font-size: 16px; font-weight: 700; }

.checkoutInput { width: 100%; padding: 17px 20px; font-size: 16px; border-radius: 14px; border: 1.5px solid var(--line);
    background: var(--surface); color: var(--text); transition: border-color .15s ease; }
.checkoutInput:focus { outline: none; border-color: var(--text); }

.checkoutDivider { height: 1px; background: var(--line); margin: 30px 0; }

.trustNote { display: flex; align-items: flex-start; gap: 14px; color: var(--muted); font-size: 13px;
    line-height: 1.5; margin-bottom: 30px; }
.trustIcon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--muted); }

.checkoutCta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 19px 28px; border-radius: 16px; font-size: 16px; font-weight: 800;
    background: var(--text); color: var(--bg); border-color: var(--text); }
.checkoutCta:hover { opacity: .92; }

.orderSummary { position: sticky; top: 100px; border-radius: 26px; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.orderSummaryImage { margin: 20px 20px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
    background: radial-gradient(circle at 55% 40%, #26262c, #08080a 75%); }
.orderSummaryImage img { width: 100%; height: 100%; object-fit: cover; }
.orderSummaryImagePlaceholder { width: 100%; height: 100%; display: grid; place-items: center;
    color: rgba(255,255,255,.55); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.orderSummaryBody { padding: 26px 28px 30px; }
.orderSummaryName { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.orderSummaryPrice { font-size: 27px; font-weight: 900; letter-spacing: -.02em; }
.orderSummaryDivider { height: 1px; background: var(--line); margin: 20px 0; }
.summaryRow { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; padding: 7px 0; }
.summaryTotal { color: var(--text); font-weight: 900; font-size: 19px; margin-top: 2px; }
.summaryTotal span:last-child { font-size: 22px; }
.orderSummaryNote { color: var(--muted); font-size: 12px; margin: 14px 0 0; line-height: 1.5; }

@media (max-width: 980px) {
    .checkoutGrid { grid-template-columns: 1fr; gap: 40px; }
    .checkoutMain { max-width: none; }
    .orderSummary { position: static; max-width: 480px; }
}
@media (max-width: 620px) {
    .checkoutSection { padding: 44px 0 70px; }
    .deliveryOption { padding: 16px 18px; }
    .checkoutCta { padding: 17px 22px; }
}

/* ---- Support pages (Returns / Warranty / Shipping): shared hero, cards, timeline, notices ---- */
.supportHero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.supportHeroGrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,380px); gap: 40px; align-items: start; }
.supportTitle { font-size: clamp(40px,5.5vw,60px); line-height: .98; letter-spacing: -.035em; font-weight: 900; margin: 0 0 22px; }
.supportHeroText { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 420px; margin: 6px 0 0; }
.supportHeroActions { display: flex; gap: 12px; flex-wrap: wrap; }
.supportHeroExtra { margin-top: 32px; }

.supportSection { padding: 56px 0; border-bottom: 1px solid var(--line); }
.supportSection:last-of-type { border-bottom: none; }
.supportHeading { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; margin: 0 0 22px; }

.iconCircle, .cardIcon, .timelineIcon, .ctaIcon { display: grid; place-items: center; border-radius: 999px; flex-shrink: 0; }
.cardIcon { width: 42px; height: 42px; background: var(--surface2); color: var(--accent); margin-bottom: 6px; }
.noticeCard .cardIcon, .infoPanel .cardIcon { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.timelineIcon { width: 46px; height: 46px; background: var(--surface2); border: 1px solid var(--line); color: var(--accent); }
.ctaIcon { width: 48px; height: 48px; background: var(--surface2); color: var(--muted); }

.supportCards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.supportCards.cols2 { grid-template-columns: repeat(2,1fr); }
.supportCard { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
a.supportCard { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.supportCard:hover { border-color: var(--accent); }
.supportCard .cardBody { display: flex; align-items: flex-start; gap: 16px; }
.supportCard .cardIcon { width: auto; height: auto; background: none; border: none; margin-bottom: 0;
    margin-top: 2px; color: var(--accent); flex-shrink: 0; }
.supportCard .cardIcon svg { width: 34px; height: 34px; }
.supportCard .cardContent { flex: 1; min-width: 0; }
.supportCard .num { display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px;
    border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 10px; }
.supportCard h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.01em; }
.supportCard p { color: var(--muted); font-size: 14px; margin: 0; }
.statusTag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--ok); margin-top: 16px; }
.statusTag::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.statusTag.neutral { color: var(--muted); }
.cardLink { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 800; font-size: 13px; }

.retainedPanel { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); border-radius: 20px;
    background: var(--surface); overflow: hidden; }
.retainedItem { padding: 22px 16px; text-align: center; border-left: 1px solid var(--line); }
.retainedItem:first-child { border-left: none; }
.retainedItem .cardIcon { margin: 0 auto 12px; }
.retainedItem span { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; display: block; }

.stepList { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stepItem { position: relative; }
.stepNum { width: 34px; height: 34px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line);
    display: grid; place-items: center; font-weight: 900; font-size: 14px; margin-bottom: 14px; }
.stepItem h4 { margin: 0 0 6px; font-size: 15px; }
.stepItem p { margin: 0; color: var(--muted); font-size: 13px; }
.stepArrow { position: absolute; right: -22px; top: 8px; color: var(--line); font-size: 20px; }
.stepItem:last-child .stepArrow { display: none; }

.timeline { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; border: 1px solid var(--line);
    border-radius: 20px; background: var(--surface); padding: 28px 16px; }
.timelineStep { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.timelineStep span { font-size: 12px; font-weight: 700; color: var(--text); max-width: 96px; }
.timelineConnector { flex: 1 1 auto; height: 1px; background: var(--line); margin-top: 23px; min-width: 16px; position: relative; }
.timelineConnector::after { content: ""; position: absolute; top: 50%; right: 0; width: 0; height: 0;
    border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent var(--line);
    transform: translateY(-50%); }
.timelineStep .timelineCaption { font-size: 11px; font-weight: 500; color: var(--muted); max-width: 110px; }
.timelineLabel { display: flex; flex-direction: column; gap: 3px; align-items: center; }

.featurePanel { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 20px;
    background: color-mix(in srgb, var(--accent) 7%, var(--surface)); overflow: hidden; }
.featurePanel .featureText { flex: 1 1 380px; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featurePanel .featureText h3 { margin: 14px 0 10px; font-size: 24px; letter-spacing: -.01em; }
.featurePanel .featureText p { margin: 0; color: var(--muted); font-size: 15px; max-width: 420px; }
.featurePanel .cardIcon { background: var(--surface); }
.featurePanel .featureImage { flex: 1 1 340px; min-height: 220px; }
.featurePanel .featureImage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featurePanel .featureImage.empty {
    background: radial-gradient(circle at 30% 35%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 35%),
        radial-gradient(circle at 70% 65%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 28%), var(--surface2);
}
/* Placeholder for a future real founder photograph — landscape on desktop, cropping to a taller
   portrait ratio once the panel stacks on mobile (see the max-width:980px override below). */
.founderPhoto { aspect-ratio: 3 / 2; min-height: 0; }

@media (max-width: 980px) {
    .featurePanel { flex-direction: column; }
    .founderPhoto { aspect-ratio: 4 / 5; }
}

.noticeCard { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line);
    border-radius: 18px; background: var(--surface2); margin-top: 24px; }
.noticeCard h4 { margin: 0 0 4px; font-size: 15px; }
.noticeCard p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.infoPanels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.infoPanel { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
    border-radius: 18px; padding: 24px; }
.infoPanel h4 { margin: 0 0 8px; font-size: 15px; }
.infoPanel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.deliveryCards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deliveryCardBig { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
    border-radius: 20px; padding: 30px; }
.deliveryCardBig .cardBody { flex: 1; min-width: 0; }
.deliveryCardBig h3 { font-size: 22px; margin: 0 0 16px; letter-spacing: -.01em; }
.deliveryCardBig ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deliveryCardBig li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.deliveryCardBig li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.deliveryPrice { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.deliveryPrice .amount { display: block; font-size: 32px; font-weight: 950; color: var(--accent); letter-spacing: -.02em; }
.deliveryPrice .label { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.ctaPanel .ctaTextRow { display: flex; gap: 16px; align-items: flex-start; }
.ctaPanel .ctaActions.stacked { flex-direction: column; align-items: flex-end; gap: 8px; }
.ctaSecondary { color: var(--accent); font-weight: 800; font-size: 13px; }

@media (max-width: 980px) {
    .supportHeroGrid { grid-template-columns: 1fr; }
    .supportCards, .deliveryCards, .infoPanels { grid-template-columns: 1fr 1fr; }
    .retainedPanel { grid-template-columns: repeat(3,1fr); }
    .retainedItem:nth-child(3n+1) { border-left: none; }
    .retainedItem:nth-child(n+4) { border-top: 1px solid var(--line); }
    .stepList { grid-template-columns: 1fr; }
    .stepArrow { display: none; }
    .timeline { flex-direction: column; align-items: stretch; gap: 20px; }
    .timelineStep { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; }
    .timelineStep span { max-width: none; }
    .timelineLabel { align-items: flex-start; }
    .timelineConnector { display: none; }
    .ctaPanel .ctaActions.stacked { align-items: flex-start; }
}
@media (max-width: 620px) {
    .supportCards, .deliveryCards, .infoPanels { grid-template-columns: 1fr; }
    .retainedPanel { grid-template-columns: repeat(2,1fr); }
    .retainedItem:nth-child(3n+1) { border-left: 1px solid var(--line); }
    .retainedItem:nth-child(odd) { border-left: none; }
    .retainedItem:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ctaPanel { flex-direction: column; align-items: flex-start; }
}

/* ---- Footer: compact, structured ---- */
.footer { padding: 44px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.footerGrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 24px; padding-bottom: 30px; }
.footerBrand .logo { font-weight: 950; letter-spacing: .1em; margin-bottom: 10px; display: block; }
.footerBrand p { color: var(--muted); font-size: 13px; max-width: 220px; margin: 0; line-height: 1.5; }
.footerCol { display: flex; flex-direction: column; gap: 10px; }
.footerCol h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; margin: 0 0 4px; }
.footerCol a { color: var(--text); font-size: 14px; }
.footerCol a:hover { color: var(--accent); }
.footerControls { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footerBottom { border-top: 1px solid var(--line); padding: 16px 0; font-size: 13px; }

@media (max-width: 980px) {
    .footerGrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .footerGrid { grid-template-columns: 1fr; }
}

/* ---- Guide/article pages ---- */
.guideArticle { padding: 56px 0 80px; }
.guideArticle .wrap { max-width: 720px; }
.guideHead h1 { font-size: clamp(32px,5vw,48px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; }
.guideMeta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.guideImage { width: 100%; border-radius: 20px; margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; }
.guideBody p { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0 0 22px; }
.guideRelated { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.guideRelated h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; margin: 0 0 16px; }
.guideRelatedLinks { display: flex; flex-wrap: wrap; gap: 12px 24px; }
