:root {
    --ink: #0a0a0a;
    --muted: #6b7280;
    --rose: #111827;
    --rose-deep: #0f172a;
    --gold: #ca8a04;
    --accent: #ea580c;
    --accent-deep: #c2410c;
    --wa: #25d366;
    --wa-deep: #128c7e;
    --emerald: #0f766e;
    --cream: #f4f4f5;
    --blush: #e4e4e7;
    --line: #e4e4e7;
    --card: #ffffff;
    --header: 196px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .14);
    --radius: 14px;
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    width: 100%;
    /* clip avoids sticky-break from overflow:hidden on body */
    overflow-x: clip;
    scroll-padding-top: 72px;
    scroll-padding-bottom: 72px;
}
/* Soft / snappy page transitions — short like modern mobile OS */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .16s;
    animation-timing-function: cubic-bezier(.2, .9, .2, 1);
}
::view-transition-old(root) {
    animation-name: sf-page-out;
}
::view-transition-new(root) {
    animation-name: sf-page-in;
}
@keyframes sf-page-out {
    to { opacity: 0; }
}
@keyframes sf-page-in {
    from { opacity: 0; }
}
/* Fallback fade for all browsers */
#main {
    animation: sf-main-in .18s cubic-bezier(.2, .9, .2, 1) both;
}
body.is-leaving #main {
    animation: sf-main-out .12s ease-out forwards;
}
@keyframes sf-main-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes sf-main-out {
    to { opacity: 0; }
}
/* Avoid double animation when native view transitions run */
@supports (view-transition-name: none) {
    #main, body.is-leaving #main { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    #main, body.is-leaving #main { animation: none !important; }
    html { scroll-behavior: auto; }
}
body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    color: var(--ink);
    background: #fafafa;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: visible; /* sticky header requires visible overflow on body */
    overflow-anchor: none;
}
#main, .site-footer { overflow-x: clip; max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: inherit; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 .4em; }

.announce {
    display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap;
    background: #0a0a0a;
    color: white; font-size: 13px; font-weight: 500; letter-spacing: 0;
    text-transform: none; padding: 9px 14px;
    transition: max-height .28s ease, padding .28s ease, opacity .22s ease;
    max-height: 80px; overflow: hidden;
}
.announce-dot {
    width: 3px; height: 3px; border-radius: 50%; background: #71717a; flex: 0 0 auto;
}
.site-header {
    position: sticky; top: 0; z-index: 80;
    background: #ffffff;
    border-bottom: 1px solid #e4e4e7;
}
.header-pin { background: #ffffff; }
.site-header.is-stuck {
    border-bottom-color: #d4d4d8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.site-header.is-stuck .announce {
    max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; pointer-events: none;
}
.site-header.is-stuck .header-row { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-stuck .catbar { display: none; }
.header-row {
    display: grid;
    grid-template-columns: auto auto minmax(180px, 1fr) auto;
    gap: 14px; align-items: center;
    padding: 12px 22px 8px;
    max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
.logo-word { min-width: 0; }
.logo strong {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em;
    font-family: inherit;
    font-size: 26px; font-weight: 700; letter-spacing: 0; line-height: 1;
    color: #0a0a0a;
    -webkit-text-fill-color: unset;
    background: none;
}
.logo-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}
.logo-light strong { color: #fff; }
.logo-light .logo-brand { color: #fff; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 10px; display: block; flex: 0 0 auto;
    object-fit: cover; background: #0a0a0a;
    box-shadow: none;
}
.search { display: flex; background: #f4f4f5; border: 1px solid #d4d4d8; border-radius: 12px; overflow: hidden; min-width: 0; }
.search input { border: 0; padding: 11px 14px; width: 100%; background: transparent; outline: none; }
.search button { border: 0; background: #111827; color: white; padding: 0 16px; cursor: pointer; font-weight: 600; letter-spacing: 0; text-transform: none; }
.search button:hover { background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.tool, .icon-btn {
    border: 0; background: white; border-radius: 999px; padding: 10px 14px; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--line);
}
.cart-btn {
    display: flex; align-items: center; gap: 8px; color: white; font-weight: 700;
    background: linear-gradient(145deg, #111827, #1f2937 46%, #0f172a);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .28);
    border-radius: 16px; padding: 9px 12px;
}
.cart-btn:hover { filter: brightness(1.06); }
.bag-icon { width: 20px; height: 20px; display: block; }
.bag-count {
    min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}
.menu-btn {
    width: 42px; height: 42px; padding: 0; display: grid; place-items: center; color: #0a0a0a;
}
.menu-btn svg { width: 22px; height: 22px; display: block; }
.catbar {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    padding: 4px 22px 14px;
    max-width: 1280px; margin: 0 auto;
    background: #ffffff;
}
.catbar a {
    display: block; text-align: center;
    padding: 10px 6px; border-radius: 10px;
    background: #f4f4f5; border: 1px solid #d4d4d8;
    font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none;
    color: #0a0a0a;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.catbar a:hover { background: #0a0a0a; color: white; border-color: #0a0a0a; }

.hero { position: relative; margin: 14px auto 0; max-width: 1280px; padding: 0 16px; }
.slides { position: relative; min-height: 520px; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 48px rgba(0,0,0,.18); }
.slide {
    position: absolute; inset: 0; display: none; align-items: flex-end;
    background: #111111 center/cover no-repeat;
    background-image: linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 48%, rgba(0,0,0,.12) 100%), var(--img);
    color: white; padding: 48px;
}
.slide.is-on { display: flex; animation: n1-slide-in .35s ease both; }
@keyframes n1-slide-in {
    from { opacity: .55; transform: scale(1.02); }
    to { opacity: 1; transform: none; }
}
.slide-copy { max-width: 560px; }
.slide h1 {
    font-family: inherit;
    font-size: clamp(30px, 4vw, 44px); color: white; font-weight: 700;
    letter-spacing: -0.01em; text-transform: none;
}
.kicker { letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.slide .kicker { color: #d4d4d8; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.slider-ui { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; }
.slider-ui button, .dots button {
    width: 36px; height: 36px; border-radius: 50%; border: 0; background: white; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--line);
}
.dots { display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; padding: 0; }
.dots button.is-on { background: var(--rose); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 12px; padding: 14px 18px; cursor: pointer; text-align: center;
    font-weight: 600; letter-spacing: 0; text-transform: none;
}
.btn-cart { background: #111827; color: white; }
.btn-cart:hover { background: #0f172a; }
.btn-buy {
    background: var(--accent); color: white;
    font-size: 16px; padding: 16px 22px; min-height: 52px;
    box-shadow: 0 10px 22px rgba(234, 88, 12, .28);
}
.btn-buy:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn-line { background: white; color: #0a0a0a; box-shadow: inset 0 0 0 1.5px #d4d4d8; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #0a0a0a; color: #111111; }
.thanks { max-width: 980px; margin: 0 auto; padding: 28px 16px 64px; }
.thanks-hero { text-align: center; margin-bottom: 22px; }
.thanks-check {
    width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%;
    display: grid; place-items: center; background: #0a0a0a; color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.thanks-check svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 8px; }
.thanks-hero p { margin: 0 auto; max-width: 460px; color: #6b7280; }
.thanks-code {
    display: inline-flex; flex-direction: column; gap: 2px; margin-top: 16px;
    padding: 12px 22px; background: white; border: 1px solid #d4d4d8; border-radius: 16px;
}
.thanks-code span { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #0a0a0a; }
.thanks-code strong { font-size: 22px; letter-spacing: .03em; }
.thanks-layout { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; align-items: start; }
.thanks-card { background: white; border: 1px solid #e4e4e7; border-radius: 20px; padding: 8px 18px 16px; margin-bottom: 12px; }
.thanks-card h2 { font-size: 16px; margin: 14px 0 4px; }
.thanks-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e4e4e7; }
.thanks-line img { width: 72px; height: 92px; object-fit: cover; border-radius: 12px; background: #f4f4f5; }
.thanks-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.thanks-line h3 { font-size: 15px; margin: 0; line-height: 1.35; }
.thanks-meta, .thanks-note { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.55; }
.thanks-lead { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.thanks-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-size: 18px; }
.thanks-actions { display: grid; gap: 8px; }
.thanks-actions .btn { width: 100%; }
@media (max-width: 800px) {
    .thanks-layout { grid-template-columns: 1fr; }
}
.thanks-top strong { white-space: nowrap; font-size: 15px; }
.trust {
    max-width: 1280px; margin: 18px auto; padding: 0 16px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.trust article {
    background: white; border-radius: 14px; padding: 16px 16px 14px;
    box-shadow: inset 0 0 0 1px var(--line);
    border-left: 3px solid #0a0a0a;
}
.trust em {
    display: block; font-style: normal; font-family: inherit;
    font-size: 12px; font-weight: 600; letter-spacing: 0; color: #a1a1aa; margin-bottom: 6px;
}
.trust strong { display: block; color: #0a0a0a; font-size: 15px; font-weight: 700; }
.trust span { color: var(--muted); font-size: 13px; }
.section { max-width: 1280px; margin: 0 auto; padding: 22px 16px 8px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.section-head a { font-size: 14px; font-weight: 600; }
.section-head a { color: var(--rose-deep); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile { position: relative; border-radius: 20px; overflow: hidden; min-height: 220px; background: #ddd; }
.cat-tile img { width: 100%; height: 260px; object-fit: cover; }
.cat-tile span {
    position: absolute; left: 10px; right: 10px; bottom: 10px; color: white;
    background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.55));
    border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px;
}
.cat-tile em { font-style: normal; opacity: .85; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
    background: white; border-radius: 14px; overflow: hidden;
    box-shadow: inset 0 0 0 1px #ececec;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.pcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,0,0,.12), inset 0 0 0 1px #e4e4e7;
}
.pcard-media { position: relative; background: #f4f4f5; aspect-ratio: 3/4; overflow: hidden; }
.pcard-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-badge {
    position: absolute; left: 10px; top: 10px; background: #0a0a0a; color: #fff;
    border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 700;
    letter-spacing: 0; text-transform: none;
}
.pcard-badge-video {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0,0,0,.88); backdrop-filter: blur(4px);
}
.pcard-badge-video svg { width: 11px; height: 11px; }
.pcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.pcard h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-price { font-weight: 700; font-family: inherit; letter-spacing: 0; font-size: 19px; }
.pcard-price small { font-weight: 400; color: var(--muted); }
.pcard .btn {
    width: 100%; border-radius: 12px; padding: 14px 16px; min-height: 48px;
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.pcard .btn-cart {
    background: #16a34a; color: #fff;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .25);
}
.pcard .btn-cart:hover { background: #15803d; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.swatch {
    width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px white, 0 0 0 3px transparent;
}
.swatch.is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 0 0 2px white, 0 0 0 3px var(--rose); }
.swatches-lg .swatch { width: 28px; height: 28px; }
.swatch-more { font-size: 12px; color: var(--muted); }
.band {
    margin: 28px 16px; border-radius: 28px; padding: 36px;
    background: #0a0a0a;
    color: white; display: flex; justify-content: space-between; gap: 20px; align-items: center;
    max-width: 1248px; margin-left: auto; margin-right: auto;
}
.band h2 { font-size: clamp(32px, 4vw, 52px); color: white; }

.page-hero, .wrap-page, .page-body, .contact-grid, .check-grid, .shop-layout { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.page-hero { padding-top: 28px; }
.page-hero h1 { font-size: clamp(28px, 3vw, 36px); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding-bottom: 40px; }
.filters { position: sticky; top: calc(var(--header) + 12px); align-self: start; min-width: 0; }
.filters select, .form-card input, .form-card textarea, .form-card select {
    width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white;
}
.form-card input[type="radio"], .form-card input[type="checkbox"] {
    width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; accent-color: #0a0a0a;
}
.filter-sort { margin-bottom: 12px; }
.filter-rail {
    display: flex; flex-direction: column; gap: 8px; margin-top: 4px;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #e4e4e7; color: #0a0a0a;
    font-size: 13px; font-weight: 600; white-space: nowrap;
}
.filter-chip i {
    width: 14px; height: 14px; border-radius: 50%; background: var(--sw, #ccc);
    display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.filter-chip.is-on {
    background: linear-gradient(135deg, #f4f4f5, #e4e4e7);
    border-color: #f9a8c4; color: #0a0a0a;
    box-shadow: 0 6px 16px rgba(190, 18, 60, .12);
}
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 30px; }
.pager a { min-width: 36px; text-align: center; padding: 8px; border-radius: 10px; background: white; }
.pager a.is-on { background: var(--ink); color: white; }

.pdp { max-width: 1280px; margin: 18px auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; }
.gallery { min-width: 0; max-width: 100%; scroll-margin-top: 140px; }
.gallery-main { position: relative; max-width: 100%; background: #f4f4f5; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); }
.gallery-main img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; object-position: center; background: #f4f4f5; cursor: zoom-in; }
.gal-nav {
    width: 46px; height: 46px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
    display: grid; place-items: center; color: #0a0a0a; background: rgba(255,255,255,.94);
    box-shadow: 0 10px 24px rgba(20, 8, 16, .18);
}
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav:hover { background: #0a0a0a; color: white; }
.gallery-main .gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.lightbox {
    position: fixed; inset: 0; z-index: 130;
    display: flex; align-items: center; justify-content: center;
    background: rgba(16, 8, 12, .9); padding: 24px 72px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img { max-width: min(920px, 100%); max-height: 88vh; object-fit: contain; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.lb-close {
    position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: white; color: #0a0a0a; font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox .gal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: white; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.video-watch-btn {
    display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0;
    border: 1px solid #0a0a0a; border-radius: 999px; padding: 10px 16px; cursor: pointer;
    background: #0a0a0a; color: #fff; font-weight: 600; font-size: 14px;
    letter-spacing: 0; text-transform: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.video-watch-btn svg { width: 14px; height: 14px; }
.video-watch-btn:hover { background: #fff; color: #0a0a0a; transform: translateY(-1px); }
.video-modal {
    position: fixed; inset: 0; z-index: 140;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 8, 12, .92); padding: 24px;
}
.video-modal[hidden] { display: none !important; }
.video-modal video {
    width: min(960px, 100%); max-height: 86vh; border-radius: 16px;
    background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.thumbs { display: flex; gap: 8px; margin-top: 8px; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.thumbs button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; width: 74px; flex: 0 0 auto; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.thumbs button.is-on { box-shadow: inset 0 0 0 2px var(--rose); }
.thumbs img { width: 74px; height: 92px; object-fit: cover; }
.buybox {
    background: white; border-radius: 14px; padding: 22px;
    box-shadow: inset 0 0 0 1px #ececec, 0 18px 40px rgba(0,0,0,.06);
    align-self: start; position: sticky; top: calc(var(--header) + 12px);
}
.buybox h1 {
    font-family: inherit;
    font-size: clamp(28px, 5.5vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em;
}
.pdp-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px; }
.pdp-price strong { font-size: 26px; font-weight: 700; }
.pdp-price span { color: var(--emerald); }
.stock-pill { color: var(--emerald); font-weight: 600; }
.deal-note { margin: 0 0 10px; color: var(--accent-deep); font-size: 14px; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; color: var(--muted); font-size: 14px; }
.sum-off, .sum-off strong { color: var(--rose); font-weight: 700; }
.offer {
    position: fixed; inset: 0; z-index: 130;
    display: grid; place-items: center; padding: 20px;
    background: rgba(27, 18, 32, .58);
}
.offer[hidden] { display: none; }
.offer-card {
    position: relative; width: min(420px, 100%);
    background: #fff; border-radius: 28px;
    padding: 28px 26px 26px; text-align: center;
    box-shadow: 0 30px 80px rgba(60, 16, 36, .28);
    overflow: hidden;
    border: 2px solid #0a0a0a;
}
.offer-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
    background: #0a0a0a;
}
.offer-x {
    position: absolute; top: 18px; right: 14px; z-index: 2;
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #f4f4f5; cursor: pointer; font-size: 22px; line-height: 1;
}
.offer-badge {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 8px 0 14px; padding: 10px 18px;
    border-radius: 999px;
    background: #0a0a0a;
    color: #fff;
    font-size: 14px; font-weight: 700; letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.offer-card h2 {
    font-size: clamp(26px, 5vw, 34px); margin: 0 0 10px;
    color: #0a0a0a; line-height: 1.2;
}
.offer-lead { margin: 0 0 18px; color: #52525b; font-size: 15px; line-height: 1.55; }
.offer-lead strong { color: #111111; font-weight: 800; }
.offer-math {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center; gap: 4px;
    background: #f4f4f5; border: 1px solid #d4d4d8; border-radius: 16px; padding: 14px 8px; margin-bottom: 12px;
}
.offer-math b { display: block; font-size: 20px; }
.offer-math span { font-size: 11px; color: #71717a; letter-spacing: .04em; text-transform: uppercase; }
.offer-op { color: #71717a; font-weight: 700; }
.offer-sum b { color: #111111; font-size: 24px; }
.offer-ship {
    margin: 0 0 16px; font-weight: 600; font-size: 14px; letter-spacing: 0;
    text-transform: none; color: #111111;
    background: #f4f4f5; border-radius: 999px; display: inline-block; padding: 8px 14px;
}
.offer-card .btn { width: 100%; }
.stock-pill {
    display: inline-block; background: #ecfdf5; color: var(--emerald);
    border: 1px solid #a7f3d0; border-radius: 999px; padding: 5px 11px; font-size: 13px;
}
.buy-label { margin: 16px 0 8px; font-size: 14px; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
    min-width: 52px; border-radius: 8px; border: 1px solid #d4d4d8; background: #fff;
    padding: 10px 8px; cursor: pointer; font-weight: 700; font-size: 13px;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.size:hover { border-color: #0a0a0a; }
.size.is-on { background: #111827; color: #fff; border-color: #111827; }
.size.is-on { background: var(--ink); color: white; border-color: var(--ink); }
.size-hint { min-height: 1.2em; color: var(--rose); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: white; }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.qty-lg { margin: 14px 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.buy-actions .btn { width: 100%; }

/* PDP only: larger CTAs, uppercase, green cart */
.buybox .buy-actions .btn {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.buybox .btn-cart {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(22, 163, 74, .28);
}
.buybox .btn-cart:hover { background: #15803d; }
.buybox .btn-buy {
    min-height: 56px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.buy-notes { padding-left: 18px; color: var(--muted); }
.prose { padding-bottom: 28px; }
.prose h2 { margin-top: 1.2em; }
.desc-card { background: white; border: 1px solid #e4e4e7; border-radius: 20px; padding: 28px 32px 16px; box-shadow: 0 10px 28px rgba(20, 50, 35, .05); }
.desc-card h2 { font-size: 20px; margin-bottom: 14px; }
.desc-body p { margin: 0 0 14px; line-height: 1.75; color: #243028; font-size: 15.5px; }
.desc-body p:first-child { font-size: 17px; font-weight: 600; color: #163026; }
.page-body { background: white; border-radius: 24px; padding: 8px 28px 28px; margin-bottom: 40px; }
.contact-grid, .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 48px; }
.form-card, .summary { background: white; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.form-card label, .filters label { display: block; margin-bottom: 12px; font-size: 14px; }
.form-card input, .form-card textarea { margin-top: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-box { border: 1px solid #e4e4e7; border-radius: 16px; padding: 12px 14px 6px; margin: 8px 0 16px; }
.pay-box legend { font-weight: 700; padding: 0 6px; }
.radio { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: center; margin: 0 0 8px; padding: 12px; border-radius: 12px; border: 1px solid #e4e4e7; background: #fff; }
.radio:has(input:checked) { border-color: var(--accent); background: #fff7ed; }
.narrow { max-width: 460px; margin: 20px auto 40px; }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; margin-bottom: 12px; }
.sum-line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.ok { background: #ecfdf5; color: #065f46; padding: 10px 12px; border-radius: 12px; }
.err { background: #fef2f2; color: #991b1b; padding: 10px 12px; border-radius: 12px; }
.site-footer { margin-top: 30px; background: #0a0a0a; color: #f4f4f5; padding: 42px 16px 20px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 24px; }
.footer-grid a, .footer-grid p { display: block; color: #d4d4d8; margin: 6px 0; }
.footer-grid h4 { color: white; }
.logo-light { color: white; margin-bottom: 8px; }
.footer-wa { color: #fff !important; background: var(--wa-deep); display: inline-flex !important; border-radius: 999px; padding: 8px 12px; margin-top: 8px; }
.footer-wa:hover { background: var(--wa); }
.footer-base { max-width: 1280px; margin: 22px auto 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: #a1a1aa; font-size: 14px; }
.wa-float {
    position: fixed; right: 16px; bottom: 18px; z-index: 90;
    display: flex; align-items: center; gap: 8px;
    background: var(--wa); color: #ffffff; border-radius: 999px; padding: 10px 14px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .42); font-weight: 700;
}
.wa-float:hover { background: #20bd5a; }
.wa-float svg { width: 26px; height: 26px; color: #ffffff; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 110; }
body.nav-lock { overflow: hidden; }
.drawer {
    position: fixed; top: 0; bottom: 0; z-index: 120;
    display: flex; flex-direction: column; background: #fafafa;
    box-shadow: var(--shadow);
    transition: transform .32s cubic-bezier(.22, .8, .24, 1);
}
.drawer.is-open { transform: translate3d(0, 0, 0); }
.drawer[hidden], .scrim[hidden], .size-pop[hidden] { display: none !important; }
.drawer-menu { left: 0; width: min(380px, calc(100% - 24px)); transform: translate3d(-105%, 0, 0); }
.drawer-cart { right: 0; width: min(420px, calc(100% - 24px)); transform: translate3d(105%, 0, 0); }
.drawer-head, .drawer-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.drawer-head { border-bottom: 1px solid var(--line); }
.drawer-body { overflow: auto; padding: 8px 16px 24px; flex: 1; }
.drawer-foot { display: block; border-top: 1px solid var(--line); }
.drawer-foot .btn { width: 100%; }
.drawer-total, .fine { display: flex; justify-content: space-between; }
.drawer-menu { background: #f4f8f6; width: min(380px, calc(100% - 24px)); }
.menu-label { margin: 16px 4px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6b7280; }
.menu-quick {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px;
}
.menu-quick a {
    margin: 0 !important; justify-content: center !important;
    background: #ffffff !important; border: 1px solid #d4d4d8; font-weight: 700; font-size: 13px;
}
.menu-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 10px;
}
.menu-tile {
    display: grid !important; gap: 4px; margin: 0 !important;
    padding: 14px 12px !important; min-height: 78px; align-content: center;
    background: linear-gradient(160deg, #ffffff, #f4f4f5) !important;
    border: 1px solid #d5e7dc; border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(20, 60, 40, .06);
}
.menu-tile strong { font-size: 15px; }
.menu-tile span { font-size: 12px; color: #5f7468; font-weight: 600; }
.menu-links { display: grid; gap: 6px; }
.menu-links a { margin: 0 !important; }
.menu-body a {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 0 8px; padding: 12px 14px; border-radius: 12px;
    background: white; border: 1px solid #dce8e1;
    font-size: 15px; font-weight: 700;
}
.menu-body a:hover { border-color: #0a0a0a; color: #111111; }
.menu-body em { color: #0a0a0a; font-style: normal; background: #e7f6ee; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.drawer-cart { background: #f7faf8; }
.drawer-cart .drawer-head {
    background: #fff; border-bottom: 1px solid #e4e4e7;
    padding: 18px 18px 14px;
}
.drawer-cart .drawer-head strong { font-size: 18px; letter-spacing: .01em; }
.cart-list { list-style: none; margin: 0; padding: 8px 0 12px; display: grid; gap: 10px; }
.cart-line {
    display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px;
    padding: 12px; background: #fff; border: 1px solid #e4e4e7; border-radius: 18px;
    box-shadow: 0 8px 20px rgba(20, 50, 35, .05); position: relative;
}
.cart-thumb { display: block; }
.cart-line img { width: 84px; height: 108px; object-fit: cover; border-radius: 14px; background: #e4e4e7; }
.cart-info { min-width: 0; position: relative; }
.cart-name { font-weight: 700; font-size: 14px; line-height: 1.35; display: block; padding-right: 28px; }
.cart-meta { margin: 6px 0 10px; color: #5f7468; font-size: 13px; font-weight: 600; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-row > strong { font-size: 15px; white-space: nowrap; }
.cart-remove {
    position: absolute; top: 8px; right: 8px;
    width: 32px; height: 32px; border: 0; border-radius: 999px;
    background: #f4f7f5; color: #5f7468; font-size: 18px; cursor: pointer;
    display: grid; place-items: center; line-height: 1;
}
.cart-remove:hover { background: #e4e4e7; color: #0a0a0a; }
.drawer-cart .drawer-foot {
    background: #fff; border-top: 1px solid #e4e4e7;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 28px rgba(20, 40, 30, .06);
}
.drawer-cart .sum-row, .drawer-cart .drawer-total {
    display: flex; justify-content: space-between; gap: 10px;
    margin: 0 0 8px; font-size: 14px; color: #5f7468;
}
.drawer-cart .drawer-total {
    margin: 10px 0 14px; padding-top: 10px; border-top: 1px dashed #d4d4d8;
    font-size: 17px; color: var(--ink); font-weight: 700;
}
.drawer-cart .drawer-foot .btn { width: 100%; border-radius: 14px; }
.drawer-empty {
    padding: 36px 12px 28px; text-align: center;
    display: grid; gap: 10px; justify-items: center;
}
.drawer-empty-ico {
    width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
    background: linear-gradient(160deg, #f4f4f5, #e8f5ee); color: #111111;
    box-shadow: inset 0 0 0 1px #d5e7dc;
}
.drawer-empty-ico svg { width: 34px; height: 34px; }
.drawer-empty strong { font-size: 20px; }
.drawer-empty p { margin: 0; color: var(--muted); font-size: 14px; max-width: 260px; line-height: 1.45; }
.drawer-empty-actions { display: grid; gap: 8px; width: min(100%, 280px); margin-top: 8px; }
.drawer-empty-actions .btn { width: 100%; text-align: center; }
.btn-soft {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #d4d4d8; background: #fff; color: #111111;
    border-radius: 14px; padding: 12px 16px; font-weight: 600; letter-spacing: 0;
    text-transform: none; font-size: 13px;
}
.drawer-cart .drawer-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
    z-index: 95;
    box-sizing: border-box;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    height: auto;
    min-height: 58px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border: 0;
    border-top: 1px solid #e4e4e7;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .1);
}
.tabbar a, .tabbar button {
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    font-family: inherit;
    padding: 4px 2px;
    -webkit-tap-highlight-color: transparent;
}
.tabbar svg { width: 22px; height: 22px; flex: 0 0 auto; }
.tabbar a[aria-current="page"], .tabbar button.is-active {
    background: #111827; color: #fff;
}
.tab-ico { position: relative; display: grid; place-items: center; }
.tab-badge[hidden] { display: none !important; }
.tab-badge {
    position: absolute; top: -6px; right: -10px;
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
    display: grid; place-items: center; box-shadow: 0 0 0 1px #fff;
}
.tabbar a[aria-current="page"] .tab-badge,
.tabbar button.is-active .tab-badge { background: var(--accent); color: #fff; }
.size-pop {
    position: fixed; z-index: 130; background: white; border-radius: 16px; padding: 12px;
    box-shadow: var(--shadow); width: min(280px, calc(100% - 24px));
}
.size-pop-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pop-grid button { min-width: 48px; border: 1px solid var(--line); background: var(--cream); border-radius: 10px; padding: 8px; cursor: pointer; }
.size-pop-grid button:hover { background: var(--ink); color: white; }
.mobile-buy {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #e4e4e7;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .1);
    backdrop-filter: blur(8px);
}
.mobile-buy strong { display: block; font-size: 18px; font-weight: 700; }
.mobile-buy span { color: var(--muted); font-size: 13px; }
.mobile-buy .btn {
    padding: 14px 16px;
    min-height: 52px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 12px;
}
.mobile-buy .btn-cart {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 163, 74, .3);
}
.mobile-buy .btn-cart:hover { background: #15803d; }
.mobile-buy .btn-buy { box-shadow: 0 6px 16px rgba(234, 88, 12, .3); }
.admin { max-width: 1180px; margin: 0 auto; padding: 28px 20px 48px; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.admin-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0a0a0a; }
.admin h1 { font-size: 32px; margin: 0; }
.admin-nav { display: flex; gap: 8px; }
.admin-nav a { background: white; border: 1px solid #d4d4d8; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.admin-nav a:hover { border-color: #0a0a0a; color: #111111; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.admin-stats article {
    display: flex; flex-direction: column; gap: 8px;
    background: white; border: 1px solid #e4e4e7; border-radius: 16px; padding: 16px 18px;
}
.admin-stats span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.admin-stats strong { font-size: 28px; line-height: 1.15; font-weight: 700; }
.admin-block { margin-top: 28px; }
.admin-contact {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
    background: white; border: 1px solid #e4e4e7; border-radius: 16px; padding: 16px 18px;
}
.admin-contact label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #3d5248; flex: 1; min-width: 220px; }
.admin-contact input { border: 1px solid #d4d4d8; border-radius: 12px; padding: 12px 14px; font-weight: 600; background: #fff; }
.admin-contact .ok, .admin-contact .err { flex-basis: 100%; margin: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.admin-head h2 { margin: 0; font-size: 22px; }
.admin-head p { margin: 4px 0 0; color: #6b7280; font-size: 14px; }
.admin-empty { background: white; border: 1px dashed #d4d4d8; border-radius: 16px; padding: 28px; color: #6b7280; }
.admin .table-wrap { border: 1px solid #e4e4e7; }
.admin th { background: #f4f8f6; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #3d5248; white-space: nowrap; }
.admin td { font-size: 14px; background: white; }
.admin select { border: 1px solid #d4d4d8; border-radius: 10px; padding: 8px 10px; background: #fff; min-width: 140px; }
.msg { background: white; border: 1px solid #e4e4e7; border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
.msg header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.msg header span, .msg-meta { color: #6b7280; font-size: 13px; }
.msg p { margin: 8px 0 0; }
.table-wrap { overflow-x: auto; background: white; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-login { margin-top: 10vh; }
.bare { background: var(--cream); }

@media (max-width: 980px) {
    html { scrollbar-gutter: auto; overflow-x: clip; width: 100%; }
    body {
        overflow-x: visible;
        max-width: 100%;
        /* exact tabbar height — no extra cream strip under the bar */
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    .site-header {
        position: sticky; top: 0; z-index: 80;
        border-bottom: 1px solid #e4e4e7;
    }
    .header-pin { background: #ffffff; }
    .tabbar { display: grid; }
    /* PDP: mobile-buy alone — hide tabbar to prevent stack eat */
    body:has(.mobile-buy) .tabbar { display: none !important; }
    body:has(.mobile-buy) {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    body:has(.mobile-buy) .wa-float {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    .drawer-cart, .drawer-menu {
        bottom: 0;
        max-height: 100dvh;
    }
    .wa-float {
        right: 14px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    .site-footer {
        padding-bottom: 8px;
        margin-bottom: 0;
    }
    .pdp .buybox { padding-bottom: 8px; }
    .pdp .buy-actions { margin-bottom: 4px; }
    #main, .section, .hero, .footer-grid, .footer-base {
        max-width: 100%;
        overflow-x: clip;
    }
    .header-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "burger logo tools" "search search search";
    }
    .icon-btn { grid-area: burger; }
    .logo { grid-area: logo; }
    .header-tools { grid-area: tools; }
    .search { grid-area: search; }
    .logo em { display: none; }
    .catbar { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 12px; padding-right: 12px; }
    .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust, .footer-grid, .pdp, .shop-layout, .contact-grid, .check-grid { grid-template-columns: minmax(0, 1fr); }
    .pdp, .section, .hero, .shop-layout, .gallery, .gallery-main { min-width: 0; max-width: 100%; }
    .gallery-main img { aspect-ratio: auto; height: auto; max-height: none; }
    .slides { min-height: 460px; }
    .slide { padding: 24px; align-items: flex-end; }
    .filters {
        position: sticky; top: calc(var(--header) - 120px); z-index: 12;
        background: rgba(255, 247, 242, .94); backdrop-filter: blur(10px);
        margin: 0 -4px 14px; padding: 10px 4px 12px; border-bottom: 1px solid #f0ddd4;
    }
    .filter-sort { margin-bottom: 10px; }
    .filter-sort label { margin: 0; display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6b7280; }
    .filter-sort select { border-radius: 14px; padding: 11px 12px; font-weight: 600; }
    .filter-rail {
        flex-direction: row; flex-wrap: nowrap; gap: 8px;
        overflow-x: auto; overscroll-behavior-x: contain;
        padding: 2px 2px 6px; -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .filter-rail::-webkit-scrollbar { display: none; }
    .filter-chip { flex: 0 0 auto; padding: 8px 12px; }
    .buybox { position: static; }
    .band { flex-direction: column; align-items: flex-start; }
    .mobile-buy {
        display: grid;
        left: 0; right: 0;
        bottom: 0;
        z-index: 95;
    }
    .wa-float span { display: none; }
    .tool { padding: 10px 12px; }
}
@media (min-width: 981px) {
    .tabbar { display: none !important; }
}
@media (max-width: 640px) {
    .header-row { padding: 10px 12px; gap: 8px; }
    .logo strong { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .logo-mark { width: 40px; height: 40px; }
    .cart-label { display: none; }
    .header-tools .tool { padding: 8px 10px; }
    .slides { min-height: 420px; border-radius: 20px; }
    .slide h1 { font-size: 36px; }
    .cat-tile img { height: 180px; }
    .buy-actions { grid-template-columns: 1fr; }
    .desc-card { padding: 18px 16px 8px; }
    .buybox h1 { font-size: 30px; }
    .lightbox { padding: 70px 52px; }
    .gallery-main .gal-nav, .lightbox .gal-nav { width: 40px; height: 40px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-top, .admin-head { flex-direction: column; align-items: flex-start; }
    .admin-head .btn { width: 100%; }
    .page-body { padding: 8px 16px 20px; }
}

/* —— Checkout / Thanks / utilities (v7) —— */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.checkout { max-width: 1120px; margin: 0 auto; padding: 24px 16px 48px; }
.checkout-hero {
    margin-bottom: 22px;
    background: #ffffff;
    border: 1px solid #dfe8e2;
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 12px 28px rgba(20, 50, 35, .06);
}
.checkout-kicker {
    margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0;
    text-transform: none; color: #6b7280;
}
.checkout-hero h1 {
    font-size: clamp(28px, 4vw, 36px); margin: 0 0 8px;
    color: #0a0a0a;
}
.checkout-lead {
    margin: 0 0 16px; color: #52525b; max-width: 540px;
    font-size: 15px; line-height: 1.55; font-weight: 500;
}
.checkout-steps {
    list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
}
.checkout-steps li {
    padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: #f3f7f4; color: #3d5248; border: 1px solid #d4d4d8;
}
.checkout-steps li.is-done { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.checkout-steps li.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }
.checkout-err { max-width: 1120px; margin: 0 0 14px; }
.checkout-grid { align-items: start; gap: 20px; padding-bottom: 24px; }
.checkout-form {
    border: 1px solid #e4e4e7; box-shadow: 0 14px 36px rgba(20, 50, 35, .06);
}
.checkout-block-title {
    margin: 8px 0 14px; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #0a0a0a;
}
.checkout-form .opt { color: #6b7280; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 12px; }
.checkout-form label { font-weight: 600; color: #0a0a0a; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
    margin-top: 6px; border: 1px solid #d4d4d8; border-radius: 14px; padding: 13px 14px;
    background: #fbfcfb; transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.checkout-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #5f7468 50%), linear-gradient(135deg, #5f7468 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
    cursor: pointer;
}
.checkout-form select:disabled {
    opacity: .65; cursor: not-allowed; background-color: #eef2ef;
}
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus {
    outline: none; border-color: #0a0a0a; box-shadow: 0 0 0 3px rgba(0, 0, 0, .12); background-color: #fff;
}
.pay-box { border: 0; padding: 0; margin: 0 0 16px; }
.pay-card {
    grid-template-columns: 20px 1fr; gap: 12px; margin-bottom: 10px;
    border-radius: 16px; padding: 14px 14px; border: 1px solid #e4e4e7; background: #fff;
}
.pay-card span { display: grid; gap: 2px; }
.pay-card b { font-size: 15px; }
.pay-card small { color: #5f7468; font-size: 13px; }
.pay-card:has(input:checked) {
    border-color: #0a0a0a; background: #f4f4f5;
    box-shadow: 0 0 0 3px rgba(22, 128, 60, .12);
}
.checkout-trust {
    list-style: none; margin: 0 0 16px; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.checkout-trust li {
    font-size: 12px; font-weight: 700; color: #111111;
    background: #f4f4f5; border-radius: 999px; padding: 6px 10px;
}
.checkout-submit { width: 100%; border-radius: 14px; }
.checkout-summary {
    border: 1px solid #e4e4e7; position: sticky; top: 96px;
    box-shadow: 0 14px 36px rgba(20, 50, 35, .06);
}
.checkout-summary h2 { margin: 0 0 14px; font-size: 18px; }
.checkout-lines { margin-bottom: 10px; }
.checkout-summary .sum-line {
    padding: 10px 0; border-bottom: 1px solid #f0ebe7; margin: 0;
    align-items: center;
}
.checkout-summary .sum-line:last-child { border-bottom: 0; }
.checkout-summary .sum-line p { margin: 4px 0 0; color: #5f7468; font-size: 13px; }
.checkout-summary .sum-line strong { font-size: 14px; line-height: 1.35; display: block; }
.checkout-note { margin: 14px 0 0; color: #5f7468; font-size: 13px; line-height: 1.5; }

.thanks {
    max-width: 1040px; margin: 0 auto; padding: 28px 16px 56px;
}
.thanks-hero {
    text-align: center; margin-bottom: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
    border: 1px solid #e4e4e7; border-radius: 28px; padding: 32px 20px 28px;
    box-shadow: 0 16px 40px rgba(20, 50, 35, .06);
}
.thanks-check {
    width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%;
    display: grid; place-items: center; background: #0a0a0a;
    color: white; box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}
.thanks-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px;
}
.thanks-pills span {
    font-size: 12px; font-weight: 700; color: #111111;
    background: #f4f4f5; border-radius: 999px; padding: 6px 12px; border: 1px solid #d4d4d8;
}
.thanks-card {
    background: #fff; border: 1px solid #e4e4e7; border-radius: 14px;
    padding: 8px 18px 16px; margin-bottom: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}
.thanks-actions .btn { border-radius: 14px; }

body.nav-lock .tabbar,
body.nav-lock .mobile-buy { visibility: hidden; pointer-events: none; }

@media (max-width: 800px) {
    .checkout-summary { position: static; }
    .checkout-hero { margin-bottom: 14px; }
}
