:root {
  --accent: #24466B;
  --accent-dark: #16293F;
  --ink: #191f1d;
  --muted: #5f6b67;
  --bg: #ffffff;
  --tint: #F2F4F7;
  --line: #e9e5da;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 28, 25, 0.07);
  --shadow-lg: 0 18px 44px rgba(20, 28, 25, 0.13);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ── announcement bar ── */
.announce { background: var(--accent-dark); color: #fff; text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .03em; padding: 9px 14px; }

/* ── header ── */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; color: var(--accent-dark); }
.nav-links { display: flex; gap: 28px; font-size: .95rem; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .2s; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; cursor: pointer; background: var(--tint); border: none; font-size: 1.15rem; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .18s; }
.cart-btn:hover { background: var(--line); }
.cart-count { position: absolute; top: -4px; right: -6px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 50%; min-width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }
.burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.mnav { display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 18px; gap: 4px; }
body.menu-open .mnav { display: flex; }
.mnav a { padding: 11px 4px; font-weight: 500; border-bottom: 1px solid #f2efe8; }

/* ── hero ── */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/hero-01-seat-gap-organizer-1.webp") center/cover; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(13,25,40,.55) 70%); }
.hero > div { position: relative; z-index: 1; max-width: 760px; padding: 80px 22px; animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .kicker { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); border-radius: 40px; padding: 7px 18px; font-size: .82rem; font-weight: 600; letter-spacing: .05em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p { font-size: 1.16rem; opacity: .96; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-family: var(--font-head); padding: 15px 36px; border-radius: 12px; border: none; font-size: .98rem; letter-spacing: .01em; cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn.ghost { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255,255,255,.26); }
.btn.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.secondary:hover { background: var(--tint); color: var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ── trust bar ── */
.trust { background: var(--tint); padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.trust h3 { font-size: 1.03rem; margin-bottom: 5px; color: var(--accent-dark); }
.trust p { font-size: .9rem; color: var(--muted); }

/* ── sections ── */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }
.center { text-align: center; }

/* ── product cards ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-imgs { position: relative; aspect-ratio: 1; overflow: hidden; background: #fafaf7; display: block; }
.card-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .28s, transform .4s; }
.card-imgs .img-b { opacity: 0; }
.card:hover .card-imgs .img-b { opacity: 1; }
.card:hover .card-imgs img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-body h3 { font-size: 1rem; font-weight: 600; min-height: 2.5em; }
.price { font-weight: 700; color: var(--accent-dark); font-size: 1.12rem; }
.card .btn { padding: 12px 0; width: 100%; text-align: center; margin-top: auto; font-size: .92rem; border-radius: 10px; }

/* ── spotlight (bestseller) ── */
.spotlight { background: var(--tint); }
.spot-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.spot-layout img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.chip { display: inline-block; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 40px; padding: 6px 16px; margin-bottom: 16px; }
.spot-layout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.spot-layout .desc { color: var(--muted); margin-bottom: 16px; }
.spot-layout ul { margin: 0 0 22px 20px; }
.spot-layout ul li { margin-bottom: 7px; }
.spot-price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--accent-dark); margin-right: 18px; vertical-align: middle; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--accent-dark); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 16px; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ── story ── */
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.story-layout img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.story-layout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.story-layout p { color: var(--muted); margin-bottom: 22px; }

/* ── faq ── */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 18px 22px; background: #fff; transition: box-shadow .18s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { font-weight: 600; cursor: pointer; font-family: var(--font-head); font-size: .98rem; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: #fff; text-align: center; padding: 64px 22px; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { opacity: .92; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }
.cta-band .btn:hover { background: var(--tint); }

/* ── page head (shop / policies) ── */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 52px 0 44px; text-align: center; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--accent); font-weight: 500; }

/* ── product page ── */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; padding: 48px 0 64px; align-items: start; }
.gallery img#main-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: border-color .15s; }
.thumb:hover { border-color: var(--accent); }
.product-info h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: #1d7a4f; margin-bottom: 12px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2ea36c; box-shadow: 0 0 0 3px rgba(46,163,108,.18); }
.product-info .price { font-size: 1.65rem; display: block; margin-bottom: 16px; font-family: var(--font-head); }
.product-info .desc { color: var(--muted); margin-bottom: 18px; }
.product-info ul { margin: 0 0 26px 20px; }
.product-info ul li { margin-bottom: 7px; }
.qty-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 16px; }
.qty-row input { width: 76px; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 1rem; text-align: center; }
.qty-row .btn { flex: 1; }
.trust-line { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.pay-note { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.pay-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pay-chip { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; color: #444; }

/* ── related ── */
.related { border-top: 1px solid var(--line); padding: 56px 0 72px; }

/* ── cart drawer ── */
.drawer-overlay { position: fixed; inset: 0; background: rgba(15,20,18,.5); opacity: 0; pointer-events: none; transition: opacity .22s; z-index: 90; }
.drawer { position: fixed; top: 0; right: -430px; width: min(410px, 94vw); height: 100dvh; background: #fff; z-index: 100; transition: right .26s ease; display: flex; flex-direction: column; box-shadow: -14px 0 44px rgba(0,0,0,.16); }
body.drawer-open .drawer { right: 0; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.15rem; }
.drawer-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; line-height: 1; color: var(--muted); }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f2efe8; align-items: center; }
.drawer-item img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; }
.drawer-item .di-info { flex: 1; }
.drawer-item .di-info h4 { font-size: .89rem; font-weight: 600; margin-bottom: 2px; }
.di-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.di-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius: 7px; cursor: pointer; font-size: .95rem; line-height: 1; }
.di-remove { background: none; border: none; color: #b04a3a; cursor: pointer; font-size: .78rem; }
.drawer-foot { padding: 18px 24px 28px; border-top: 1px solid var(--line); }
.drawer-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.08rem; margin-bottom: 14px; font-family: var(--font-head); }
.drawer-foot .btn { width: 100%; text-align: center; }
.drawer-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 10px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 46px 0; }

/* ── footer ── */
footer { background: var(--accent-dark); color: #e6ede8; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 58px 0 36px; }
.footer-grid h4 { font-family: var(--font-head); font-size: .95rem; margin-bottom: 16px; color: #fff; letter-spacing: .04em; }
.footer-grid a, .footer-grid p { display: block; font-size: .88rem; color: #bccec3; margin-bottom: 9px; line-height: 1.55; }
.footer-grid a:hover { color: #fff; }
.footer-pay { border-top: 1px solid rgba(255,255,255,.13); padding: 20px 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.footer-pay .pay-chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #dfe9e2; }
.copyright { border-top: 1px solid rgba(255,255,255,.13); padding: 18px 0; text-align: center; font-size: .82rem; color: #a3b8ab; }

/* ── static pages ── */
.page-body { max-width: 800px; margin: 0 auto; padding: 52px 22px 72px; }
.page-body h1 { font-size: 2rem; margin-bottom: 26px; }
.page-body h2 { font-size: 1.28rem; margin: 30px 0 10px; }
.page-body h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.page-body p, .page-body li { color: #3d4744; }
.page-body ul, .page-body ol { margin: 10px 0 10px 22px; }
.page-body a { color: var(--accent); font-weight: 500; }

/* ── success ── */
.success-box { max-width: 560px; margin: 80px auto; text-align: center; padding: 52px 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.success-box .big { font-size: 3rem; margin-bottom: 12px; }
.success-box h1 { font-size: 1.6rem; margin-bottom: 10px; }
.success-box p { color: var(--muted); margin-bottom: 8px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .trust .container { grid-template-columns: 1fr; gap: 18px; }
  .product-layout, .spot-layout, .story-layout { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 480px; }
}
