/* ============================================================
   Modern Trend Shop — Multi-page store
   Design language: "Ink & Cobalt" soft-brutalist editorial
   ============================================================ */

:root {
  --paper:   #FFF3F8;   /* fog green-grey page background   */
  --surface: #FFFFFF;
  --ink:     #3B0828;
  --muted:   #81556F;
  --line:    #3B0828;
  --soft:    #FBCFE8;   /* soft hairline                     */
  --cobalt:  #DB2777;
  --coral:   #EC4899;
  --mint:    #C026D3;
  --sun:     #F9A8D4;
  --shadow:  6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius:  14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--cobalt); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper); border-radius: 8px; }

h1, h2, h3, h4, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 24px; }

/* ---------- utility type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cobalt);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--cobalt); }
.kicker.center::after { content: ""; width: 26px; height: 3px; background: var(--cobalt); }

.lede { color: var(--muted); font-size: 16px; line-height: 1.75; font-weight: 450; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: 10px;
  padding: 16px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--cobalt); border-color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn.full { width: 100%; }
.btn.cobalt { background: var(--cobalt); }
.btn.cobalt:hover { background: var(--ink); }
.btn.ghost { background: var(--surface); color: var(--ink); }
.btn.ghost:hover { background: var(--sun); color: var(--ink); }

/* ---------- top strip + header ---------- */
.topstrip {
  background: var(--cobalt); color: #fff;
  text-align: center; padding: 9px 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
}

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(239,241,234,.92); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.header-inner {
  max-width: 1480px; margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; gap: 28px;
}
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 24px; letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo .dot { width: 12px; height: 12px; background: var(--coral); border: 2px solid var(--ink); border-radius: 3px; transform: rotate(45deg); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.main-nav a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 9px 14px; border-radius: 8px; border: 2px solid transparent;
  transition: all .2s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); }
.main-nav a.active { color: #fff; background: var(--ink); border-color: var(--ink); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 10px;
  padding: 10px 14px; box-shadow: var(--shadow-sm);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cart-btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.cart-badge {
  position: absolute; top: -9px; right: -9px;
  min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--coral); color: #fff; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.cart-badge.pulse { transform: scale(1.35); background: var(--mint); }

.menu-btn { display: none; background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; width: 44px; height: 44px; font-size: 20px; line-height: 1; }

.mobile-nav { display: none; border-top: 2px solid var(--ink); background: var(--surface); padding: 12px 24px 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 4px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px dashed var(--soft); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-copy { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; }
.hero h1 { font-size: clamp(42px, 5.2vw, 72px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--cobalt); position: relative; }
.hero h1 em::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:10px; background: var(--sun); z-index:-1; }
.hero-media { position: relative; border-left: 2px solid var(--ink); min-height: 420px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-tag {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
}
.hero-tag .check { width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 10px; background: var(--mint); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.hero-tag .t1 { font-family:"Space Grotesk",sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-tag .t2 { font-family:"Space Grotesk",sans-serif; font-size: 17px; font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.section-head .sub { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* quote / about band */
.band-dark { background: var(--ink); color: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-dark .quote-mark { font-family: "Space Grotesk", sans-serif; font-size: 72px; line-height: .6; color: var(--sun); display: block; margin-bottom: 26px; }
.band-dark h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 600; line-height: 1.25; margin-bottom: 36px; }
.band-dark .body { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.8; font-weight: 450; }
.band-dark .body p + p { margin-top: 22px; }
.band-dark strong { color: #fff; }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
.feature-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); }
.feature-card .chip {
  width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 26px;
}
.chip.c1 { background: var(--mint); color:#fff; } .chip.c2 { background: var(--sun); }
.chip.c3 { background: var(--cobalt); color:#fff; } .chip.c4 { background: var(--coral); color:#fff; }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; font-weight: 450; }

/* ---------- shop ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.pill {
  font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--surface); color: var(--ink); transition: all .18s ease;
}
.pill:hover { background: var(--sun); }
.pill.active { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); }
.product-card.featured { grid-column: span 2; grid-row: span 2; }
.product-media { position: relative; background: var(--paper); border-bottom: 2px solid var(--ink); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-card.featured .product-media { flex: 1; aspect-ratio: auto; min-height: 320px; }
.product-media img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 18px; transition: transform .5s cubic-bezier(.25,1,.5,1); }
.product-card.featured .product-media img { width: 100%; height: 100%; object-fit: cover; padding: 0; mix-blend-mode: normal; position:absolute; inset:0; }
.product-card:hover .product-media img { transform: scale(1.06); }
.sku-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 7px;
  font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .14em;
  padding: 4px 8px; text-transform: uppercase;
}
.add-fab {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--ink);
  background: var(--cobalt); color: #fff; font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px); transition: all .22s ease;
}
.product-card:hover .add-fab { opacity: 1; transform: translateY(0); }
.product-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.product-info h4 { font-size: 14.5px; font-weight: 600; line-height: 1.4; font-family: "Inter", sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 19px; color: var(--coral); }

/* ---------- forms ---------- */
.input, textarea.input {
  width: 100%; background: var(--surface);
  border: 2px solid var(--ink); border-radius: 10px;
  padding: 15px 16px; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500;
  color: var(--ink); transition: box-shadow .15s ease, transform .15s ease;
}
.input::placeholder { color: #9AA0A9; font-weight: 400; }
.input:focus { outline: none; box-shadow: var(--shadow-sm); transform: translate(-1px,-1px); }
textarea.input { resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-stack > * + * { margin-top: 16px; }
.check-row { display: flex; align-items: flex-start; gap: 12px; }
.check-row input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cobalt); cursor: pointer; flex-shrink: 0; }
.check-row label { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.6; }
.check-row label a, .check-row label button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; background:none; border:none; padding:0; font: inherit; }
.check-row label a:hover { color: var(--cobalt); }
.field-label { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display:block; margin-bottom: 8px; }

/* ---------- page hero (inner pages) ---------- */
.page-head { padding: 72px 0 56px; text-align: center; }
.page-head h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; margin: 16px 0 18px; }
.page-head .lede { max-width: 640px; margin: 0 auto; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 0; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 88px; }
.contact-side { background: var(--ink); color: var(--paper); padding: 56px 48px; }
.contact-side h2 { font-size: 34px; margin-bottom: 16px; }
.contact-side .intro { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.75; margin-bottom: 44px; }
.contact-item { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-item .lab { font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; display:flex; align-items:center; gap:8px; }
.lab.gold { color: var(--sun); } .lab.green { color: #5BD6B0; } .lab.red { color: #FF9A8A; }
.contact-item .val { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; line-height: 1.4; }
.contact-item .note { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 5px; }
.contact-form-wrap { padding: 56px 48px; }
.contact-form-wrap h3 { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 120px; }
.faq-q {
  text-align: left; background: transparent; border: 2px solid transparent; border-radius: 12px;
  padding: 18px 20px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 14.5px; color: var(--muted);
  transition: all .18s ease; line-height: 1.5;
}
.faq-q:hover { background: var(--surface); border-color: var(--soft); }
.faq-q.active { background: var(--surface); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-pane {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 52px; min-height: 380px;
  display: flex; flex-direction: column; justify-content: center; transition: opacity .3s ease;
}
.faq-pane .q-icon { width: 46px; height: 46px; border: 2px solid var(--ink); background: var(--sun); border-radius: 12px; display:flex; align-items:center; justify-content:center; font-weight: 800; font-size: 20px; margin-bottom: 26px; font-family:"Space Grotesk",sans-serif; }
.faq-pane h3 { font-size: 26px; margin-bottom: 18px; line-height: 1.3; }
.faq-pane p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* ---------- newsletter ---------- */
.nl-band { background: var(--cobalt); padding: 96px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.nl-card {
  max-width: 760px; margin: 0 auto; background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 64px 56px; text-align: center;
}
.nl-card .env { width: 60px; height: 60px; margin: 0 auto 20px; border: 2px solid var(--ink); border-radius: 14px; background: var(--sun); display:flex; align-items:center; justify-content:center; font-size: 26px; }
.nl-card h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.nl-card .lede { max-width: 440px; margin: 0 auto 40px; font-size: 14.5px; }
.unsub-link { margin-top: 32px; background: none; border: none; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; display: inline-block; }
.unsub-link:hover { color: var(--ink); }

/* ---------- policy pages ---------- */
.policy-wrap { max-width: 880px; margin: 0 auto 96px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 64px 64px 72px; }
.policy-h { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; padding-top: 8px; }
.policy-h:not(:first-child) { margin-top: 30px; border-top: 1px dashed var(--soft); padding-top: 30px; }
.policy-p { color: var(--muted); font-size: 15px; line-height: 1.85; font-weight: 450; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 40px; margin-top: 0; border-top: 2px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 36px; }
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.8; max-width: 380px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col .col-title { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.footer-col a, .footer-col button { background:none; border:none; padding:0; text-align:left; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); transition: color .2s ease; }
.footer-col a:hover, .footer-col button:hover { color: var(--sun); }
.footer-bottom { text-align: center; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ---------- cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(21,23,28,.55); backdrop-filter: blur(4px); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.overlay.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(480px, 100vw); background: var(--paper);
  border-left: 2px solid var(--ink);
  transform: translateX(105%); transition: transform .45s cubic-bezier(.25,1,.5,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 22px 26px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; background: var(--surface); }
.cart-head h2 { font-size: 26px; }
.icon-btn { width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.icon-btn:hover { background: var(--ink); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 26px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; opacity: .55; padding: 72px 0; }
.cart-empty .bag { width: 70px; height: 70px; margin: 0 auto 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--surface); display:flex; align-items:center; justify-content:center; font-size: 30px; }
.cart-empty p { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; }
.cart-item { display: flex; gap: 14px; background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 12px; }
.cart-item .thumb { width: 78px; height: 78px; flex-shrink: 0; background: var(--paper); border: 1.5px solid var(--soft); border-radius: 10px; display:flex; align-items:center; justify-content:center; overflow:hidden; padding: 6px; }
.cart-item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item h4 { font-size: 13.5px; font-weight: 600; font-family: "Inter", sans-serif; line-height: 1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cart-item .p { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--coral); font-size: 16px; margin-top: 2px; }
.qty-ctl { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--surface); }
.qty-ctl button { width: 30px; height: 30px; border: none; background: var(--surface); font-weight: 800; font-size: 15px; }
.qty-ctl button:hover { background: var(--sun); }
.qty-ctl span { width: 32px; text-align: center; font-weight: 700; font-size: 13px; font-family: "Space Grotesk", sans-serif; }
.trash-btn { margin-left: auto; width: 30px; height: 30px; border: none; background: transparent; border-radius: 8px; font-size: 15px; }
.trash-btn:hover { background: #FBE2DC; }
.cart-foot { border-top: 2px solid var(--ink); background: var(--surface); padding: 22px 26px; }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; padding: 5px 0; }
.cart-line.dim { color: var(--muted); font-weight: 500; }
.total-box { margin: 16px 0; text-align: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 16px; }
.total-box .lab { font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.total-box .amt { font-family: "Space Grotesk", sans-serif; font-size: 38px; font-weight: 700; color: var(--cobalt); letter-spacing: -0.02em; }
.cod-note { display: flex; gap: 10px; align-items: flex-start; background: #E3F2EC; border: 2px solid var(--mint); color: #0A5C47; border-radius: 10px; padding: 12px 14px; font-size: 12px; font-weight: 500; line-height: 1.6; margin-bottom: 16px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 130; background: rgba(21,23,28,.7); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 92vh; overflow-y: auto; }
.modal-card.sm { max-width: 440px; padding: 44px 40px; position: relative; }
.modal-card.lg { max-width: 1080px; }
.modal-x { position: absolute; top: 16px; right: 16px; }
.modal-head { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 2px solid var(--ink); padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; border-radius: var(--radius) var(--radius) 0 0; }
.modal-head h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }

.checkout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; padding: 28px; }
.panel { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 30px; }
.panel-title { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--soft); padding-bottom: 12px; margin-bottom: 20px; }
.cod-box { background: #E3F2EC; border: 2px solid var(--mint); border-radius: 10px; padding: 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cod-box .l { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #0A5C47; }
.cod-detail { background: var(--paper); border: 2px solid var(--soft); border-radius: 10px; padding: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.cod-detail strong { color: var(--ink); }
.cod-detail p + p { margin-top: 8px; }
.agree-box { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); padding: 16px; }
.agree-box input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex-shrink: 0; cursor: pointer; }
.agree-box label { font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.summary-sticky { position: sticky; top: 20px; }
.sum-line { display: flex; justify-content: space-between; font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 7px 0; }
.sum-line span:last-child { color: var(--ink); }
.secure-chip { margin-top: 18px; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 12px; text-align: center; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display:flex; align-items:center; justify-content:center; gap: 8px; }

.success-check { width: 76px; height: 76px; margin: 0 auto 22px; border: 2px solid var(--ink); background: var(--mint); color:#fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.order-no { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 18px; margin: 26px 0; }
.order-no .lab { font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.order-no .val { font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: .12em; color: var(--cobalt); }

/* ---------- toast ---------- */
#toast {
  position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 14px 24px; z-index: 999;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em;
  display: flex; align-items: center; gap: 10px;
  transition: bottom .45s cubic-bezier(.34,1.56,.64,1);
}
#toast.show { bottom: 34px; }
#toast .tick { width: 22px; height: 22px; background: var(--mint); border-radius: 6px; display:flex; align-items:center; justify-content:center; font-size: 12px; }

.fade-in { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .contact-grid, .faq-layout, .footer-grid { grid-template-columns: 1fr; }
  .faq-list { position: static; }
  .footer-cols { justify-content: flex-start; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { border-left: none; border-top: 2px solid var(--ink); }
  .hero-copy { padding: 48px 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { grid-column: span 2; grid-row: span 1; }
  .policy-wrap { padding: 40px 28px; }
  .nl-card { padding: 44px 28px; }
  .contact-side, .contact-form-wrap { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-pane { padding: 32px 26px; }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: span 1; }
  .section { padding: 60px 0; }
}
