:root {
    --ink: #1b2a3a;
    --navy: #163e73;
    --navy-deep: #0e2b50;
    --blue: #3579bd;
    --sky: #eaf6fb;
    --sky-strong: #d9eff8;
    --cream: #fff8e8;
    --gold: #f2bd4d;
    --coral: #ef755f;
    --coral-deep: #dc5d49;
    --sage: #75a173;
    --violet: #7a69b8;
    --paper: #ffffff;
    --surface: #f7fafc;
    --muted: #66788a;
    --line: #e5ebf0;
    --shadow-sm: 0 10px 30px rgba(23, 63, 115, .08);
    --shadow: 0 24px 70px rgba(23, 63, 115, .13);
    --shadow-lg: 0 35px 90px rgba(14, 43, 80, .18);
    --radius: 24px;
    --radius-lg: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

:focus-visible { outline: 3px solid rgba(53,121,189,.35); outline-offset: 4px; border-radius: 10px; }
.skip-link {
    position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 15px; border-radius: 12px;
    color: white; background: var(--navy);
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 63, 115, .08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; line-height: 1; }
.brand-logo-mark {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    object-fit: contain;
}
.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -.045em;
    line-height: 1;
}
.brand-wordmark span:first-child { color: #123f84; }
.brand-wordmark span:last-child { color: #ff8a00; }
.brand-mark {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px;
    color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); font-weight: 950;
    box-shadow: 0 10px 24px rgba(23, 63, 115, .23); transform: rotate(-3deg);
}
.brand strong { display: block; font-size: 1.06rem; letter-spacing: -.025em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 8px; font-weight: 760; font-size: .91rem; }
.main-nav a { padding: 10px 12px; border-radius: 12px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.main-nav a:hover { color: var(--navy); background: var(--sky); transform: translateY(-1px); }
.main-nav .nav-cta { padding-inline: 16px; color: white; background: var(--navy); box-shadow: 0 8px 20px rgba(23,63,115,.16); }
.main-nav .nav-cta:hover { color: white; background: var(--navy-deep); }
.main-nav .nav-admin { color: var(--coral-deep); }

.flash-wrap { padding-top: 18px; }
.flash-message { padding: 14px 18px; border: 1px solid #cbe5d4; border-radius: 14px; background: #f0fbf4; color: #285c3a; font-weight: 700; }

.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 92px 0 92px;
    background:
        radial-gradient(circle at 5% 5%, rgba(242, 189, 77, .25), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(53, 121, 189, .16), transparent 28%),
        linear-gradient(150deg, #f7fbff 0%, #fffaf1 55%, #fff 100%);
}
.hero-blob { position: absolute; z-index: -1; filter: blur(4px); border-radius: 50%; opacity: .7; pointer-events: none; }
.hero-blob-one { width: 280px; height: 280px; right: 7%; top: 8%; background: rgba(239,117,95,.12); }
.hero-blob-two { width: 220px; height: 220px; left: 42%; bottom: -100px; background: rgba(117,161,115,.13); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(44px, 7vw, 92px); align-items: center; }
.hero-copy { position: relative; z-index: 2; animation: fade-up .65s ease both; }
.eyebrow { color: var(--coral-deep); font-size: .75rem; letter-spacing: .16em; font-weight: 950; }
.eyebrow-pill { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(239,117,95,.18); border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-sm); }
.eyebrow-light { color: #b9dcff; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.04em; }
.hero h1 {
    max-width: 760px; margin: 19px 0 22px; color: var(--navy-deep);
    font-size: clamp(3rem, 6.6vw, 5.55rem); font-weight: 900;
}
.hero h1 span { color: var(--coral); }
.hero-lead { max-width: 700px; margin: 0; color: #506476; font-size: clamp(1.04rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.btn {
    min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px;
    border-radius: 15px; border: 1px solid transparent; font-weight: 850; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding-inline: 25px; border-radius: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--navy), #225b9a); color: white; box-shadow: 0 14px 30px rgba(23, 63, 115, .20); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); box-shadow: 0 18px 36px rgba(23,63,115,.26); }
.btn-secondary { background: rgba(255,255,255,.83); border-color: rgba(23,63,115,.14); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: rgba(23,63,115,.28); }
.btn-light { background: white; color: var(--navy); box-shadow: 0 14px 34px rgba(3,18,38,.16); }
.btn-wide { width: 100%; margin-top: 20px; }
.btn:disabled { opacity: .67; cursor: not-allowed; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.hero-trust span::first-letter { color: var(--sage); }

.hero-showcase {
    min-height: 500px; position: relative; display: grid; place-items: center;
    animation: fade-up .7s .1s ease both;
}
.showcase-glow {
    position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(53,121,189,.20), rgba(53,121,189,.03) 55%, transparent 70%);
}
.showcase-book {
    position: relative; z-index: 3; width: min(300px, 63vw); aspect-ratio: 4 / 5.25; padding: 34px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden;
    border-radius: 18px 32px 32px 18px; color: white;
    background:
        radial-gradient(circle at 95% 10%, rgba(255,255,255,.14), transparent 26%),
        linear-gradient(150deg, var(--navy-deep), #2f6fae);
    box-shadow: 20px 32px 70px rgba(14,43,80,.26), inset 9px 0 rgba(255,255,255,.06);
    transform: rotate(3deg);
    animation: book-float 5s ease-in-out infinite;
}
.showcase-book::after {
    content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.16);
}
.showcase-kicker { font-size: .66rem; letter-spacing: .22em; font-weight: 900; opacity: .72; }
.showcase-pencil { margin: 22px 0 10px; font-size: 3.6rem; filter: drop-shadow(0 8px 12px rgba(0,0,0,.16)); }
.showcase-book strong { font-size: 2.15rem; line-height: .98; letter-spacing: -.045em; }
.showcase-book small { margin-top: 22px; font-size: .74rem; letter-spacing: .08em; opacity: .74; }
.floating-topic {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 15px;
    border: 1px solid rgba(23,63,115,.08); border-radius: 17px; background: rgba(255,255,255,.92);
    box-shadow: 0 16px 40px rgba(23,63,115,.13); backdrop-filter: blur(12px);
    font-size: .86rem; color: var(--navy-deep);
}
.floating-topic span { font-size: 1.35rem; }
.topic-one { left: 1%; top: 15%; animation: chip-float 5.4s ease-in-out infinite; }
.topic-two { right: 0; top: 27%; animation: chip-float 5.9s .7s ease-in-out infinite; }
.topic-three { left: 2%; bottom: 19%; animation: chip-float 5.6s 1.1s ease-in-out infinite; }
.topic-four { right: 4%; bottom: 10%; animation: chip-float 6.1s .3s ease-in-out infinite; }

.benefit-strip { position: relative; z-index: 5; margin-top: -26px; }
.benefit-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
    border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow);
}
.benefit-item { display: flex; align-items: center; gap: 13px; padding: 22px 25px; }
.benefit-item + .benefit-item { border-left: 1px solid var(--line); }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; background: var(--sky); font-size: 1.25rem; }
.benefit-item strong, .benefit-item small { display: block; }
.benefit-item strong { color: var(--navy-deep); font-size: .95rem; }
.benefit-item small { margin-top: 1px; color: var(--muted); font-size: .78rem; }

.section { padding: 92px 0; }
.section-collections { padding-top: 108px; }
.section-featured {
    background:
        radial-gradient(circle at 100% 0%, rgba(117,161,115,.10), transparent 30%),
        linear-gradient(180deg, #f8fbfd, #f4f8fb);
}
.section-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading h2 { max-width: 760px; margin: 8px 0 0; color: var(--navy-deep); font-size: clamp(2.15rem, 4vw, 3.4rem); }
.section-intro { max-width: 700px; margin: 13px 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 850; white-space: nowrap; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection-card {
    --accent: var(--navy); min-height: 270px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; padding: 27px; border-radius: 26px;
    border: 1px solid var(--line); background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, white), white 52%);
    box-shadow: 0 7px 28px rgba(23,63,115,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.collection-card::after {
    content: ""; position: absolute; width: 150px; height: 150px; right: -60px; bottom: -75px;
    border-radius: 50%; background: var(--accent); opacity: .08; transition: transform .3s ease;
}
.collection-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 24%, white); }
.collection-card:hover::after { transform: scale(1.28); }
.collection-topline { display: flex; align-items: center; justify-content: space-between; }
.collection-emoji { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: white; box-shadow: var(--shadow-sm); font-size: 2rem; }
.collection-emoji.large { width: auto; height: auto; display: block; background: none; box-shadow: none; margin-bottom: 10px; font-size: 3rem; }
.collection-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.86); color: var(--accent); font-weight: 900; transition: transform .2s ease; }
.collection-card:hover .collection-arrow { transform: rotate(8deg) translate(2px,-2px); }
.collection-card h2, .collection-card h3 { margin: 20px 0 9px; color: var(--navy-deep); }
.collection-card h3 { font-size: 1.48rem; }
.collection-card p { margin: 0; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 25px; color: var(--accent); font-weight: 850; font-size: .9rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
    overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: white;
    box-shadow: 0 8px 28px rgba(23,63,115,.06); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sky); }
.product-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(14,43,80,.08)); pointer-events: none; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-cover img { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 7px 11px; border-radius: 999px; color: white; background: var(--coral); font-size: .72rem; font-weight: 850; box-shadow: 0 8px 20px rgba(239,117,95,.25); }
.placeholder-cover { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--navy); background: linear-gradient(150deg, var(--sky), var(--cream)); }
.placeholder-emoji { font-size: 4.7rem; }
.placeholder-cover > span:last-child { font-size: 1rem; font-weight: 850; }
.placeholder-cover.tall { min-height: 620px; }
.product-body { padding: 24px; }
.product-collection { color: var(--coral-deep); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.product-body h2, .product-body h3 { margin: 9px 0 10px; color: var(--navy-deep); }
.product-body h3 { font-size: 1.4rem; }
.product-body p { margin: 0; color: var(--muted); }
.product-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 18px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-top: 0; }
.price-row strong { color: var(--navy-deep); font-size: 1.25rem; }
.price-row del { color: #9aa5b0; font-size: .86rem; }
.round-link { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--navy); font-weight: 900; transition: transform .2s ease, background .2s ease; }
.round-link:hover { transform: translateX(3px); background: var(--coral); }

.experience-section { background: white; }
.experience-card {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; align-items: center; overflow: hidden;
    padding: clamp(38px, 6vw, 70px); border-radius: 36px; color: white;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 25%),
        linear-gradient(135deg, var(--navy-deep), #1f5f9e);
    box-shadow: var(--shadow-lg);
}
.experience-copy h2 { max-width: 610px; margin: 10px 0 16px; font-size: clamp(2.25rem, 4.3vw, 3.7rem); }
.experience-copy p { max-width: 600px; margin: 0 0 26px; color: #d6e5f3; font-size: 1.05rem; }
.library-preview { position: relative; }
.library-window {
    padding: 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px;
    background: rgba(255,255,255,.13); box-shadow: 0 25px 55px rgba(0,0,0,.16); backdrop-filter: blur(14px);
    transform: rotate(2deg);
}
.library-window-top { display: flex; gap: 6px; margin: 2px 0 16px 4px; }
.library-window-top span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.52); }
.library-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: white; color: var(--ink); }
.library-row + .library-row { margin-top: 9px; }
.library-thumb { display: grid; place-items: center; width: 48px; height: 54px; border-radius: 10px; background: var(--sky); font-size: 1.45rem; }
.library-row strong, .library-row small { display: block; }
.library-row strong { color: var(--navy-deep); font-size: .9rem; }
.library-row small { color: var(--muted); font-size: .72rem; }
.library-status { padding: 6px 8px; border-radius: 999px; color: #34603c; background: #e8f6ec; font-size: .68rem; font-weight: 850; }
.muted-row { opacity: .72; }

.final-cta-section { padding-top: 10px; }
.final-cta {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 32px 36px;
    border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(120deg, #fff8e8, #f5fbff); box-shadow: var(--shadow-sm);
}
.final-cta-icon { font-size: 2rem; }
.final-cta h2 { margin: 5px 0 0; color: var(--navy-deep); font-size: clamp(1.7rem, 3vw, 2.5rem); }

.page-hero { background: linear-gradient(160deg, #f6fbff, #fffaf0); }
.page-hero.compact { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 8px 0 12px; color: var(--navy-deep); font-size: clamp(2.7rem, 6vw, 4.8rem); }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.product-detail { padding-top: 64px; background: linear-gradient(180deg, #fbfdff, white 45%); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 64px; align-items: start; }
.product-visual { position: sticky; top: 105px; }
.product-main-cover { overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--sky); box-shadow: var(--shadow); }
.product-main-cover img { width: 100%; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 15px; border: 1px solid var(--line); transition: transform .2s ease; }
.gallery-grid img:hover { transform: translateY(-3px); }
.collection-pill { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 800; font-size: .86rem; }
.product-copy h1 { margin: 18px 0 14px; color: var(--navy-deep); font-size: clamp(2.6rem, 5vw, 4.6rem); }
.lead { color: var(--muted); font-size: 1.2rem; }
.price-large { display: flex; align-items: baseline; gap: 14px; margin: 26px 0; }
.price-large strong { color: var(--navy-deep); font-size: 2.1rem; }
.price-large del { color: #98a4af; }
.product-description { color: #4f6172; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 28px; }
.spec-grid > div { position: relative; padding: 18px 18px 18px 52px; border: 1px solid var(--line); border-radius: 17px; background: #fbfcfd; }
.spec-icon { position: absolute; left: 17px; top: 18px; }
.spec-grid small { display: block; color: var(--muted); font-size: .67rem; letter-spacing: .1em; font-weight: 900; }
.spec-grid strong { display: block; margin-top: 3px; color: var(--navy-deep); }
.purchase-panel { margin-top: 25px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #f8fbfd, #fff); box-shadow: var(--shadow-sm); }
.purchase-panel-row { display: flex; gap: 12px; align-items: flex-start; }
.purchase-panel-row + .purchase-panel-row { margin-top: 14px; }
.purchase-panel-row > span { font-size: 1.2rem; }
.purchase-panel-row strong, .purchase-panel-row small { display: block; }
.purchase-panel-row strong { color: var(--navy-deep); font-size: .92rem; }
.purchase-panel-row small { color: var(--muted); font-size: .78rem; }
.product-account-link { display: block; margin-top: 13px; text-align: center; color: var(--navy); font-size: .86rem; font-weight: 850; }
.microcopy { text-align: center; color: var(--muted); font-size: .8rem; }

.empty-state { grid-column: 1 / -1; padding: 36px; border: 1px dashed #cbd5df; border-radius: 20px; background: #fafcfe; color: var(--muted); }

.site-footer { margin-top: 40px; padding: 64px 0 24px; color: #dce8f4; background: #0c2748; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .55fr; gap: 50px; }
.footer-brand { display: flex; align-items: flex-start; gap: 13px; }
.footer-mark { flex: 0 0 auto; width: 42px; height: 42px; }
.site-footer strong { color: white; }
.site-footer p { max-width: 500px; margin: 8px 0 0; color: #9fb6cb; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #b9cbda; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); color: #7895ad; font-size: .77rem; }

@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes book-float { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-9px); } }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 980px) {
    .hero-grid, .product-detail-grid, .experience-card { grid-template-columns: 1fr; }
    .hero { padding-top: 68px; }
    .hero-copy { text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-showcase { min-height: 440px; max-width: 640px; width: 100%; margin-inline: auto; }
    .collection-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-card { gap: 35px; }
    .library-preview { max-width: 620px; width: 100%; }
    .product-visual { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 14px 22px; }
}

@media (max-width: 760px) {
    .nav-wrap { min-height: 70px; }
    .brand small { display: none; }
    .main-nav { gap: 2px; font-size: .84rem; }
    .main-nav a { padding: 9px 8px; }
    .main-nav a:nth-child(1), .main-nav a:nth-child(2) { display: none; }
    .main-nav .nav-cta { padding-inline: 12px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-item + .benefit-item { border-left: 0; border-top: 1px solid var(--line); }
    .benefit-item { padding: 18px 20px; }
    .section-heading { align-items: start; flex-direction: column; }
    .final-cta { grid-template-columns: auto 1fr; }
    .final-cta .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 28px, 1180px); }
    .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
    .hero { padding: 50px 0 72px; }
    .hero h1 { font-size: clamp(2.75rem, 15vw, 3.7rem); }
    .hero-lead { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { display: grid; justify-items: start; width: fit-content; margin-inline: auto; text-align: left; }
    .hero-showcase { min-height: 390px; }
    .showcase-book { width: 220px; padding: 26px; }
    .showcase-book strong { font-size: 1.72rem; }
    .showcase-pencil { font-size: 3rem; }
    .floating-topic { padding: 9px 11px; font-size: .74rem; border-radius: 14px; }
    .floating-topic span { font-size: 1.1rem; }
    .topic-one { left: 0; top: 12%; }
    .topic-two { right: 0; top: 30%; }
    .topic-three { left: 1%; bottom: 20%; }
    .topic-four { right: 1%; bottom: 8%; }
    .benefit-strip { margin-top: -38px; }
    .section { padding: 68px 0; }
    .section-collections { padding-top: 86px; }
    .collection-grid, .product-grid { grid-template-columns: 1fr; }
    .collection-card { min-height: 245px; }
    .experience-card { width: calc(100% - 28px); padding: 34px 24px; border-radius: 28px; }
    .library-window { transform: none; }
    .library-row { grid-template-columns: auto 1fr; }
    .library-status { display: none; }
    .final-cta { padding: 25px 22px; }
    .product-detail-grid { gap: 34px; }
    .placeholder-cover.tall { min-height: 440px; }
    .spec-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-links { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Mobile refinement after production device review */
@media (max-width: 920px) {
    .nav-wrap {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
        flex: 0 1 auto;
    }

    .brand small {
        display: none;
    }

    .main-nav {
        min-width: 0;
        margin-left: auto;
        gap: 4px;
        font-size: .82rem;
        white-space: nowrap;
    }

    .main-nav a {
        padding: 9px 9px;
    }

    .main-nav a:nth-child(1),
    .main-nav a:nth-child(2),
    .main-nav .nav-admin {
        display: none;
    }

    .main-nav .nav-cta {
        padding-inline: 12px;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero h1 {
        max-width: 680px;
        margin: 16px auto 18px;
        font-size: clamp(2.7rem, 8vw, 3.7rem);
        line-height: 1.02;
    }

    .hero-lead {
        max-width: 620px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-trust {
        margin-top: 20px;
    }

    .hero-showcase {
        min-height: 390px;
    }
}

@media (max-width: 620px) {
    .site-header .shell {
        width: min(100% - 20px, 1180px);
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: .95rem;
    }

    .brand strong {
        font-size: .98rem;
    }

    .main-nav {
        font-size: .78rem;
    }

    .main-nav a {
        padding: 8px 7px;
    }

    .hero {
        padding: 38px 0 56px;
    }

    .eyebrow-pill {
        padding: 7px 10px;
        font-size: .66rem;
        letter-spacing: .12em;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11.5vw, 3rem);
        line-height: 1.01;
        letter-spacing: -.045em;
        margin-top: 15px;
        margin-bottom: 17px;
    }

    .hero-lead {
        font-size: .96rem;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 21px;
        gap: 10px;
    }

    .hero-actions .btn {
        min-height: 52px;
    }

    .hero-trust {
        margin-top: 18px;
        gap: 7px;
        font-size: .78rem;
    }

    .hero-showcase {
        min-height: 330px;
    }
}

@media (max-width: 430px) {
    .main-nav a:nth-child(3) {
        display: none;
    }

    .main-nav .nav-cta {
        padding-inline: 11px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 11vw, 2.7rem);
    }
}


/* Mobile navigation drawer */
.mobile-menu-toggle,
.mobile-menu-drawer,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 920px) {
    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .site-header {
        z-index: 70;
    }

    .nav-wrap {
        min-height: 68px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 46px;
        padding: 0 13px;
        margin-left: auto;
        border: 1px solid rgba(23, 63, 115, .12);
        border-radius: 14px;
        color: var(--navy-deep);
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 8px 22px rgba(23, 63, 115, .08);
        font-weight: 850;
        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        background: var(--sky);
    }

    .hamburger-lines {
        width: 21px;
        display: grid;
        gap: 4px;
    }

    .hamburger-lines span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .mobile-menu-label {
        font-size: .83rem;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(7, 24, 44, .45);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        transition: opacity .25s ease;
    }

    .mobile-menu-overlay[hidden] {
        display: none;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
    }

    .mobile-menu-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 90;
        width: min(88vw, 380px);
        height: 100dvh;
        flex-direction: column;
        overflow-y: auto;
        padding: 18px;
        background:
            radial-gradient(circle at 100% 0, rgba(53, 121, 189, .10), transparent 28%),
            #fff;
        box-shadow: -24px 0 70px rgba(7, 24, 44, .22);
        transform: translateX(104%);
        visibility: hidden;
        transition: transform .28s cubic-bezier(.22,.75,.18,1), visibility .28s;
    }

    .mobile-menu-drawer.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 4px 0 18px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-menu-brand {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 11px;
    }

    .mobile-menu-brand .brand-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        border-radius: 14px;
    }

    .mobile-menu-brand strong,
    .mobile-menu-brand small {
        display: block;
    }

    .mobile-menu-brand strong {
        color: var(--navy-deep);
        font-size: 1rem;
    }

    .mobile-menu-brand small {
        margin-top: 1px;
        color: var(--muted);
        font-size: .68rem;
        white-space: nowrap;
    }

    .mobile-menu-close {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        padding: 0 0 3px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: var(--navy-deep);
        background: white;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu-links {
        display: grid;
        gap: 7px;
        padding: 18px 0;
    }

    .mobile-menu-links > a {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        align-items: center;
        gap: 12px;
        min-height: 66px;
        padding: 10px 10px;
        border-radius: 17px;
        transition: background .18s ease, transform .18s ease;
    }

    .mobile-menu-links > a:hover,
    .mobile-menu-links > a:focus-visible {
        background: var(--sky);
        transform: translateX(2px);
    }

    .mobile-link-icon {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        color: var(--navy);
        background: #eef7fb;
        font-size: 1.15rem;
        font-weight: 900;
    }

    .mobile-menu-links strong,
    .mobile-menu-links small {
        display: block;
    }

    .mobile-menu-links strong {
        color: var(--navy-deep);
        font-size: .94rem;
    }

    .mobile-menu-links small {
        margin-top: 1px;
        overflow: hidden;
        color: var(--muted);
        font-size: .72rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-link-arrow {
        color: #9aabba;
        font-size: 1.55rem;
        line-height: 1;
    }

    .mobile-menu-footer {
        margin-top: auto;
        padding: 18px 4px 8px;
        border-top: 1px solid var(--line);
    }

    .mobile-menu-footer p {
        margin: 0 0 14px;
        color: var(--muted);
        font-size: .84rem;
        line-height: 1.5;
    }

    .mobile-menu-primary {
        width: 100%;
    }

    .mobile-menu-secondary {
        display: block;
        padding: 14px 8px 4px;
        text-align: center;
        color: var(--navy);
        font-size: .84rem;
        font-weight: 800;
    }
}

@media (max-width: 430px) {
    .mobile-menu-label {
        display: none;
    }

    .mobile-menu-toggle {
        width: 46px;
        padding: 0 12px;
    }

    .mobile-menu-drawer {
        width: min(92vw, 370px);
    }
}


/* Product gallery */
.product-gallery {
    min-width: 0;
}

.product-gallery-stage {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 15% 15%, rgba(53,121,189,.08), transparent 28%),
        #f7fafc;
    box-shadow: var(--shadow);
}

.product-gallery-main {
    width: 100%;
    height: 100%;
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-gallery-main > img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: contain;
}

.gallery-expand-hint {
    position: absolute;
    left: 50%;
    bottom: 17px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--navy-deep);
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(23,63,115,.10);
    box-shadow: 0 10px 24px rgba(14,43,80,.12);
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.gallery-stage-arrow,
.gallery-lightbox-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid rgba(23,63,115,.12);
    border-radius: 50%;
    color: var(--navy-deep);
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(14,43,80,.14);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.gallery-stage-arrow:hover,
.gallery-lightbox-arrow:hover {
    transform: scale(1.05);
    background: white;
}

.gallery-stage-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-stage-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.gallery-stage-prev { left: 15px; }
.gallery-stage-next { right: 15px; }

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding: 2px 2px 7px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.gallery-thumb {
    width: 112px;
    height: 88px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb.is-active {
    border-color: var(--navy);
    box-shadow: 0 7px 18px rgba(23,63,115,.14);
}

.gallery-lightbox {
    width: min(1320px, 96vw);
    height: min(900px, 92dvh);
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #f7fafc;
    box-shadow: 0 40px 120px rgba(4,18,35,.45);
}

.gallery-lightbox::backdrop {
    background: rgba(6,18,34,.78);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-toolbar {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 14px 10px 20px;
    border-bottom: 1px solid var(--line);
    background: white;
}

.gallery-lightbox-count {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 850;
}

.gallery-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-lightbox-tool,
.gallery-lightbox-close {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--navy-deep);
    background: white;
    font-weight: 800;
    cursor: pointer;
}

.gallery-lightbox-tool {
    padding: 0 14px;
}

.gallery-lightbox-tool[aria-pressed="true"] {
    color: white;
    border-color: var(--navy);
    background: var(--navy);
}

.gallery-lightbox-close {
    width: 42px;
    padding: 0 0 2px;
    font-size: 1.65rem;
    line-height: 1;
}

.gallery-lightbox-viewport {
    height: calc(100% - 66px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 24px 74px;
}

.gallery-lightbox-viewport img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: width .2s ease;
}

.gallery-lightbox-viewport.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
}

.gallery-lightbox-viewport.is-zoomed img {
    width: 150%;
    max-width: none;
    max-height: none;
    margin: auto;
}

.gallery-lightbox-arrow {
    position: sticky;
    z-index: 2;
    top: 50%;
    flex: 0 0 auto;
}

.gallery-lightbox-prev {
    left: 4px;
    margin-right: auto;
}

.gallery-lightbox-next {
    right: 4px;
    margin-left: auto;
}

/* Reviews */
.reviews-section {
    background:
        radial-gradient(circle at 5% 20%, rgba(242,189,77,.11), transparent 26%),
        linear-gradient(180deg, #fff, #fbfcfe);
}

.reviews-heading {
    margin-bottom: 30px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: 0 10px 34px rgba(23,63,115,.06);
}

.review-card-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.review-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-weight: 900;
}

.review-card-top strong,
.review-card-top small {
    display: block;
}

.review-card-top strong {
    color: var(--navy-deep);
    font-size: .94rem;
}

.review-card-top small {
    max-width: 180px;
    margin-top: 1px;
    overflow: hidden;
    color: var(--muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-stars {
    color: #e5a91f;
    font-size: .94rem;
    letter-spacing: .04em;
    white-space: nowrap;
}

.review-card h3 {
    margin: 22px 0 8px;
    color: var(--navy-deep);
    font-size: 1.12rem;
}

.review-card > p {
    margin: 0;
    color: #5d6e7f;
    font-size: .94rem;
}

.reviews-empty {
    padding: 38px;
    border: 1px dashed #ccd7e1;
    border-radius: 24px;
    text-align: center;
    background: rgba(255,255,255,.75);
}

.reviews-empty .review-stars {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.reviews-empty h3 {
    margin: 0;
    color: var(--navy-deep);
    font-size: 1.35rem;
}

.reviews-empty p {
    max-width: 650px;
    margin: 8px auto 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-gallery-stage,
    .product-gallery-main {
        min-height: 480px;
    }
}

@media (max-width: 620px) {
    .product-gallery-stage,
    .product-gallery-main {
        min-height: 390px;
        border-radius: 24px;
    }

    .product-gallery-main > img {
        max-height: 480px;
    }

    .gallery-expand-hint {
        bottom: 12px;
        min-height: 36px;
        font-size: .72rem;
    }

    .gallery-stage-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .gallery-stage-prev { left: 9px; }
    .gallery-stage-next { right: 9px; }

    .gallery-thumb {
        width: 88px;
        height: 72px;
        border-radius: 13px;
    }

    .gallery-lightbox {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    .gallery-lightbox-toolbar {
        min-height: 60px;
        padding-left: 14px;
    }

    .gallery-lightbox-viewport {
        height: calc(100% - 60px);
        padding: 18px 48px;
    }

    .gallery-lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .gallery-lightbox-viewport.is-zoomed img {
        width: 190%;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 22px;
    }

    .review-card-top {
        grid-template-columns: auto 1fr;
    }

    .review-stars {
        grid-column: 2;
    }

    .reviews-empty {
        padding: 30px 20px;
    }
}


/* Product reviews */
.product-reviews-section {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 92% 10%, rgba(53,121,189,.08), transparent 26%),
        #f8fbfd;
}

.product-reviews-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.product-reviews-heading h2 {
    max-width: 760px;
    margin: 8px 0 10px;
    color: var(--navy-deep);
    font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.product-reviews-heading p {
    margin: 0;
    color: var(--muted);
}

.review-summary {
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 19px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.review-summary > strong {
    color: var(--navy-deep);
    font-size: 2.15rem;
    line-height: 1;
}

.review-summary > div {
    display: grid;
    gap: 2px;
}

.review-summary-star {
    color: #e5a91f;
    font-size: 1.2rem;
    line-height: 1;
}

.review-summary small {
    color: var(--muted);
    font-size: .75rem;
    white-space: nowrap;
}

.product-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 28px;
    align-items: start;
}

.product-review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-review-card {
    height: 100%;
}

.verified-review-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 17px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #2d6940;
    background: #eaf7ee;
    font-size: .7rem;
    font-weight: 850;
}

.product-reviews-empty {
    grid-column: 1 / -1;
}

.review-write-card {
    position: sticky;
    top: 104px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.review-write-card h3 {
    margin: 8px 0 9px;
    color: var(--navy-deep);
    font-size: 1.45rem;
}

.review-write-card > p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: .91rem;
}

.review-lock-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 15px;
    background: var(--sky);
    font-size: 1.35rem;
}

.product-review-form {
    display: grid;
    gap: 9px;
}

.product-review-form > label {
    margin-top: 7px;
    color: var(--navy-deep);
    font-size: .82rem;
    font-weight: 850;
}

.product-review-form > label small {
    color: var(--muted);
    font-weight: 600;
}

.product-review-form input[type="text"],
.product-review-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #cfdae4;
    border-radius: 13px;
    color: var(--ink);
    background: white;
    outline: none;
    resize: vertical;
}

.product-review-form textarea {
    min-height: 118px;
}

.product-review-form input[type="text"]:focus,
.product-review-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(53,121,189,.12);
}

.rating-fieldset {
    margin: 4px 0 6px;
    padding: 0;
    border: 0;
}

.rating-fieldset legend {
    margin-bottom: 8px;
    color: var(--navy-deep);
    font-size: .82rem;
    font-weight: 850;
}

.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rating-choice {
    position: relative;
    cursor: pointer;
}

.rating-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-choice span {
    min-width: 48px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #d7e0e8;
    border-radius: 12px;
    color: #9a7118;
    background: #fffdf7;
    font-size: .82rem;
    font-weight: 850;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rating-choice input:checked + span {
    color: #694b08;
    border-color: #e5b33f;
    background: #fff3c9;
}

.rating-choice input:focus-visible + span {
    outline: 3px solid rgba(53,121,189,.30);
    outline-offset: 2px;
}

.rating-choice:hover span {
    transform: translateY(-1px);
}

.verified-review-note {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #447052;
    font-size: .75rem;
    font-weight: 750;
}

@media (max-width: 980px) {
    .product-reviews-layout {
        grid-template-columns: 1fr;
    }

    .review-write-card {
        position: static;
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .product-reviews-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-summary {
        min-width: 0;
    }

    .product-review-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .review-write-card {
        padding: 21px;
    }

    .rating-options {
        gap: 5px;
    }

    .rating-choice span {
        min-width: 43px;
        padding-inline: 7px;
    }
}


/* Stable collection branding */
.collection-emoji .collection-flag-image {
    width: 40px;
    height: 27px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(14, 43, 80, .14);
}

.collection-emoji.large .collection-flag-image {
    width: 78px;
    height: 46px;
    border-radius: 7px;
}

.collection-pill {
    gap: 7px;
    align-items: center;
}

.collection-pill-flag {
    width: 24px;
    height: 16px;
    display: inline-block;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(14, 43, 80, .12);
}


/* Centro de ayuda */
.help-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 66px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 8% 8%, rgba(242,189,77,.18), transparent 27%),
        radial-gradient(circle at 91% 10%, rgba(53,121,189,.14), transparent 30%),
        linear-gradient(155deg, #f8fbff 0%, #fffaf1 58%, #fff 100%);
}

.help-hero::after {
    content: "?";
    position: absolute;
    right: 5%;
    top: -76px;
    color: rgba(23,63,115,.035);
    font-size: 24rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.help-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(40px, 7vw, 88px);
    align-items: center;
}

.help-hero-copy h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    color: var(--navy-deep);
    font-size: clamp(3rem, 6vw, 5.2rem);
}

.help-hero-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.help-hero-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    padding: 24px;
    border: 1px solid rgba(23,63,115,.10);
    border-radius: 26px;
    background: rgba(255,255,255,.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.help-hero-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.55rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(23,63,115,.18);
}

.help-hero-card strong {
    display: block;
    color: var(--navy-deep);
    font-size: 1.05rem;
}

.help-hero-card p {
    margin: 5px 0 15px;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55;
}

.help-hero-card .btn {
    min-height: 44px;
    padding-inline: 17px;
    font-size: .8rem;
}

.help-section {
    padding: 54px 0 96px;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 28%);
}

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.help-category-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 13px;
    min-height: 132px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: white;
    box-shadow: 0 8px 26px rgba(23,63,115,.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.help-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(53,121,189,.25);
    box-shadow: var(--shadow-sm);
}

.help-category-card > span {
    width: 43px;
    height: 43px;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--sky);
    font-size: 1.22rem;
}

.help-category-card strong {
    align-self: end;
    color: var(--navy-deep);
    font-size: .95rem;
}

.help-category-card small {
    align-self: start;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.45;
}

.help-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.help-side-card {
    position: sticky;
    top: 104px;
    padding: 25px;
    border: 1px solid #dce6ed;
    border-radius: 25px;
    background:
        radial-gradient(circle at 100% 0%, rgba(242,189,77,.12), transparent 30%),
        #fff;
    box-shadow: 0 14px 40px rgba(23,63,115,.06);
}

.help-side-card h2 {
    margin: 7px 0 19px;
    color: var(--navy-deep);
    font-size: 1.55rem;
}

.help-steps {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: start;
}

.help-steps li > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: var(--navy);
    font-size: .72rem;
    font-weight: 900;
}

.help-steps strong,
.help-steps small {
    display: block;
}

.help-steps strong {
    color: var(--navy-deep);
    font-size: .82rem;
}

.help-steps small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.45;
}

.help-faq {
    display: grid;
    gap: 28px;
}

.help-faq-group {
    scroll-margin-top: 110px;
    padding: 26px;
    border: 1px solid #dfe7ed;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(23,63,115,.045);
}

.help-faq-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
}

.help-faq-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #eef6fb;
    font-size: 1.3rem;
}

.help-faq-heading h2 {
    margin: 2px 0 0;
    color: var(--navy-deep);
    font-size: 1.45rem;
}

.help-faq details {
    border-top: 1px solid var(--line);
}

.help-faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.help-faq summary {
    position: relative;
    padding: 17px 38px 17px 0;
    color: var(--navy-deep);
    font-size: .91rem;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.help-faq summary::-webkit-details-marker {
    display: none;
}

.help-faq summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 50%;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: #eef5fa;
    transform: translateY(-50%);
    transition: transform .18s ease, background .18s ease;
}

.help-faq details[open] summary::after {
    content: "−";
    background: var(--sky-strong);
    transform: translateY(-50%) rotate(180deg);
}

.help-faq details > div {
    padding: 0 38px 17px 0;
}

.help-faq details p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.65;
}

.help-bottom-card {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px 34px;
    border-radius: 27px;
    color: white;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(135deg, var(--navy-deep), #245f9f);
    box-shadow: 0 22px 54px rgba(14,43,80,.16);
}

.help-bottom-card h2 {
    margin: 5px 0 8px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.help-bottom-card p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: .86rem;
}

.help-bottom-card .eyebrow {
    color: #ffd67b;
}

.help-bottom-card .btn-secondary {
    flex: 0 0 auto;
    color: var(--navy-deep);
    background: white;
}

@media (max-width: 960px) {
    .help-hero-inner,
    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-side-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .help-hero {
        padding: 50px 0 44px;
    }

    .help-section {
        padding: 34px 0 68px;
    }

    .help-category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }

    .help-category-card {
        min-height: 0;
        padding: 16px;
    }

    .help-faq-group {
        padding: 20px;
        border-radius: 21px;
    }

    .help-faq-heading {
        align-items: flex-start;
    }

    .help-faq-heading h2 {
        font-size: 1.25rem;
    }

    .help-bottom-card {
        align-items: stretch;
        flex-direction: column;
        padding: 25px;
    }

    .help-bottom-card .btn {
        width: 100%;
    }
}


/* Product page mobile overflow hardening */
@media (max-width: 700px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .product-detail,
    .product-detail .shell,
    .product-detail-grid,
    .product-visual,
    .product-copy,
    .product-gallery,
    .product-gallery-stage,
    .product-gallery-main,
    .spec-grid,
    .purchase-panel,
    .product-reviews-section,
    .product-reviews-section .shell,
    .product-reviews-layout,
    .product-review-list,
    .review-card,
    .review-write-card,
    .product-review-form,
    .rating-fieldset {
        min-width: 0;
        max-width: 100%;
    }

    .product-detail {
        padding-top: 28px;
    }

    .product-detail-grid {
        width: 100%;
        gap: 30px;
    }

    .product-gallery-stage,
    .product-gallery-main {
        min-height: 0;
    }

    .product-gallery-stage {
        width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: 22px;
    }

    .product-gallery-main {
        width: 100%;
        height: 100%;
    }

    .product-gallery-main > img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
    }

    .gallery-stage-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.65rem;
    }

    .gallery-stage-prev {
        left: 8px;
    }

    .gallery-stage-next {
        right: 8px;
    }

    .gallery-expand-hint {
        max-width: calc(100% - 84px);
        min-height: 36px;
        padding-inline: 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .gallery-thumbnails {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
        padding: 0;
        overflow: visible;
    }

    .gallery-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        min-width: 0;
        padding: 3px;
        border-radius: 12px;
    }

    .gallery-thumb img {
        border-radius: 8px;
    }

    .product-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 2.65rem);
        overflow-wrap: anywhere;
    }

    .lead,
    .product-description,
    .product-description *,
    .purchase-panel-row > div,
    .purchase-panel-row strong,
    .purchase-panel-row small,
    .product-account-link,
    .spec-grid strong,
    .review-write-card p,
    .review-card p,
    .review-card h3 {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .price-large {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 5px 10px;
        margin: 18px 0 20px;
    }

    .price-large strong {
        font-size: 1.8rem;
    }

    .spec-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .spec-grid > div {
        min-width: 0;
    }

    .purchase-panel {
        width: 100%;
        padding: 18px;
    }

    .purchase-panel-row {
        min-width: 0;
    }

    .purchase-panel .btn,
    .review-write-card .btn {
        width: 100%;
        max-width: 100%;
        padding-inline: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .product-reviews-heading,
    .review-card-top {
        min-width: 0;
        max-width: 100%;
    }

    .review-card-top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .review-stars {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .review-write-card {
        width: 100%;
        padding: 20px;
    }

    .rating-options {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
    }

    .rating-choice {
        min-width: 0;
    }

    .rating-choice span {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding-inline: 4px;
        font-size: .76rem;
    }

    .product-review-form input[type="text"],
    .product-review-form textarea {
        max-width: 100%;
        min-width: 0;
    }

    .gallery-lightbox {
        width: calc(100vw - 16px);
        height: min(88dvh, 760px);
        border-radius: 18px;
    }

    .gallery-lightbox-toolbar {
        gap: 8px;
        padding-inline: 10px;
    }

    .gallery-lightbox-tool {
        padding-inline: 10px;
        font-size: .78rem;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer .footer-links {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rating-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-copy h1 {
        font-size: 1.95rem;
    }
}


/* Pequeños Ingenieros offer modal */
.offer-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(7, 24, 44, .54);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .24s ease;
}
.offer-modal-backdrop.is-visible { opacity: 1; }
.offer-modal-backdrop[hidden] { display: none; }

.offer-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 130;
    width: min(920px, calc(100vw - 34px));
    max-height: min(760px, calc(100dvh - 34px));
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    overflow: hidden;
    border: 1px solid rgba(23, 63, 115, .10);
    border-radius: 30px;
    background: white;
    box-shadow: 0 38px 110px rgba(4, 20, 40, .34);
    opacity: 0;
    transform: translate(-50%, -46%) scale(.97);
    transition: opacity .25s ease, transform .28s cubic-bezier(.22,.75,.18,1);
}
.offer-modal[hidden] { display: none; }
.offer-modal.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.offer-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid rgba(23,63,115,.10);
    border-radius: 50%;
    color: var(--navy-deep);
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 25px rgba(14,43,80,.10);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.offer-modal-visual {
    min-height: 510px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 44px 26px;
    background:
        radial-gradient(circle at 20% 15%, rgba(242,189,77,.36), transparent 25%),
        radial-gradient(circle at 85% 82%, rgba(53,121,189,.20), transparent 30%),
        linear-gradient(145deg, #fff6d8, #ecf7fb 70%, #fff);
}
.offer-modal-visual::before,
.offer-modal-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.48);
}
.offer-modal-visual::before {
    width: 190px;
    height: 190px;
    left: -70px;
    bottom: -60px;
}
.offer-modal-visual::after {
    width: 130px;
    height: 130px;
    right: -30px;
    top: -25px;
}

.offer-badge {
    position: absolute;
    left: 22px;
    top: 22px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: #6f4c00;
    background: #ffd66f;
    box-shadow: 0 10px 22px rgba(168,118,0,.14);
    font-size: .67rem;
    font-weight: 950;
    letter-spacing: .09em;
}

.offer-book {
    position: relative;
    z-index: 1;
    width: min(270px, 76%);
    aspect-ratio: 4 / 5.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 18px 28px 28px 18px;
    color: white;
    background:
        radial-gradient(circle at 88% 12%, rgba(255,255,255,.13), transparent 27%),
        linear-gradient(150deg, #0f3b71, #3978b7);
    box-shadow: 22px 28px 56px rgba(14,43,80,.22), inset 9px 0 rgba(255,255,255,.07);
    transform: rotate(-3deg);
}
.offer-book::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,.16);
}
.offer-book-kicker {
    font-size: .62rem;
    letter-spacing: .16em;
    font-weight: 900;
    opacity: .74;
}
.offer-book-icon {
    margin: 17px 0 10px;
    font-size: 3.1rem;
}
.offer-book strong {
    font-size: 1.58rem;
    line-height: 1.02;
    letter-spacing: -.04em;
}
.offer-book small {
    margin-top: 18px;
    font-size: .72rem;
    opacity: .75;
}

.offer-floating {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(23,63,115,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 28px rgba(23,63,115,.11);
    font-size: 1.35rem;
}
.offer-floating-one { right: 13%; top: 23%; transform: rotate(8deg); }
.offer-floating-two { left: 10%; bottom: 21%; transform: rotate(-7deg); }
.offer-floating-three { right: 11%; bottom: 14%; transform: rotate(5deg); }

.offer-modal-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 58px 58px 46px;
}
.offer-modal-copy h2 {
    margin: 9px 0 16px;
    color: var(--navy-deep);
    font-size: clamp(2rem, 4vw, 3.3rem);
}
.offer-modal-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.7;
}
.offer-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 14px;
    margin: 24px 0 27px;
}
.offer-highlights span {
    color: #44596c;
    font-size: .82rem;
    font-weight: 760;
}
.offer-modal-cta {
    width: 100%;
}
.offer-modal-later {
    align-self: center;
    margin-top: 12px;
    padding: 7px 12px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}
body.offer-modal-open { overflow: hidden; }

@media (max-width: 760px) {
    .offer-modal {
        width: min(94vw, 520px);
        max-height: calc(100dvh - 24px);
        grid-template-columns: 1fr;
        overflow-y: auto;
        border-radius: 25px;
    }
    .offer-modal-visual {
        min-height: 275px;
        padding: 28px 20px;
    }
    .offer-book {
        width: 160px;
        padding: 19px;
        border-radius: 13px 20px 20px 13px;
    }
    .offer-book-kicker { font-size: .48rem; }
    .offer-book-icon { margin: 10px 0 7px; font-size: 2.1rem; }
    .offer-book strong { font-size: 1.03rem; }
    .offer-book small { margin-top: 10px; font-size: .57rem; }
    .offer-badge {
        left: 14px;
        top: 14px;
        font-size: .57rem;
    }
    .offer-floating {
        width: 39px;
        height: 39px;
        border-radius: 13px;
        font-size: 1rem;
    }
    .offer-modal-copy {
        padding: 28px 23px 24px;
    }
    .offer-modal-copy h2 {
        margin-top: 6px;
        font-size: clamp(1.75rem, 8vw, 2.3rem);
    }
    .offer-modal-copy > p {
        font-size: .88rem;
        line-height: 1.58;
    }
    .offer-highlights {
        grid-template-columns: 1fr;
        margin: 18px 0 21px;
        gap: 7px;
    }
    .offer-modal-close {
        right: 10px;
        top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-modal,
    .offer-modal-backdrop {
        transition: none;
    }
}


.offer-book-mockup {
    position: relative;
    z-index: 1;
    width: min(300px, 78%);
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(20px 28px 34px rgba(14,43,80,.22));
    transform: rotate(-3deg);
    animation: offer-book-float 5s ease-in-out infinite;
}

@keyframes offer-book-float {
    0%,100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-7px); }
}

@media (max-width: 760px) {
    .offer-book-mockup {
        width: min(210px, 68vw);
    }
}


.mobile-menu-brand .brand-logo-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
}

.mobile-menu-brand .brand-wordmark {
    font-size: 1.42rem;
}

@media (max-width: 520px) {
    .brand-logo-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
    .brand-wordmark { font-size: 1.34rem; }
    .mobile-menu-brand .brand-wordmark { font-size: 1.34rem; }
}
