/* ShopNow Barbados — site styles
   Tokens: ShopNow blue (IG brand) + Barbados-flag gold + navy ink on a blue-tinted ground
   Type: Rubik (display) + Nunito Sans (body) */

:root {
  --blue: #2437DB;
  --blue-dark: #1B2BB5;
  --navy: #0F1B4D;
  --gold: #FFC72C;
  --gold-dark: #F5B800;
  --ground: #F3F5FB;
  --surface: #FFFFFF;
  --ink: #0F1B4D;
  --muted: #5B6286;
  --line: #DCE1F2;
  --tint: #E8ECFB;
  --tint-hover: #DDE3FA;
  --sale: #D92D2D;
  --ok: #1C7C3E;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 28px rgba(15, 27, 77, 0.12);
  --font-display: 'Rubik', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --container: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-decoration: none; transition: background .2s ease, color .2s ease, transform .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1a2a6e; color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--tint); color: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { flex: 0 0 auto; }

.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding-block: 9px; }
.topbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: var(--gold); text-decoration: none; }
.topbar svg { stroke: var(--gold); }
@media (max-width: 767px) {
  .topbar .only-desktop { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 12px 28px; padding-block: 12px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; min-width: 0; flex: 0 0 auto; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--blue); }
.logo-sub { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.search { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; gap: 8px; }
.search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; outline: none; }
.search input::placeholder { color: #7A82A6; }
.search .btn { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 999px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--ink); background: transparent; border: 0; text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--tint); color: var(--ink); }
.badge-count[hidden] { display: none; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-btn { min-height: 44px; padding: 0 16px 0 12px; border-radius: 12px; font-size: 14px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 26px; padding-bottom: 12px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a.deals { color: var(--sale); }
.menu-btn { display: none; }
@media (max-width: 1023px) {
  .header-main { flex-wrap: wrap; gap: 8px 12px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.open a { padding: 12px 0; border-top: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .search { order: 10; flex: 1 1 100%; }
  .search .btn-text { display: none; }
  .cart-btn .btn-text { display: none; }
  .cart-btn { width: 44px; padding: 0; }
  .header-actions .only-desktop { display: none; }
  .logo { margin: 0 auto; align-items: center; }
  .logo-word { font-size: 24px; }
  .logo-sub { font-size: 10px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.dots { position: absolute; background-image: radial-gradient(rgba(255,255,255,.35) 1.6px, transparent 1.6px); background-size: 16px 16px; pointer-events: none; }
.dots-tl { left: 0; top: 0; width: 360px; height: 220px; }
.dots-br { right: 0; bottom: 0; width: 420px; height: 180px; opacity: .85; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; padding-block: 56px 64px; position: relative; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 520px; color: rgba(255,255,255,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.hero-stats span { display: inline-flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 26px; color: #fff; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(8,16,60,.35); }
.hero-tag { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 24px rgba(8,16,60,.25); text-decoration: none; }
.hero-tag img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.hero-tag strong { font-size: 15px; display: block; }
.hero-tag span { font-size: 14px; color: var(--muted); }
@media (max-width: 767px) {
  .hero .container { padding-block: 28px 28px; gap: 20px; }
  .hero-media img { aspect-ratio: 16 / 10; border-radius: 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { display: none; }
  .hero-tag { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: 48px 16px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 32px); }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head .link { font-weight: 700; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .section { padding-block: 28px 8px; } .section-head { margin-bottom: 14px; } }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat {
  display: flex; align-items: center; gap: 14px; background: var(--tint); border-radius: 18px; padding: 18px 20px;
  text-decoration: none; color: var(--ink); min-height: 88px; transition: background .2s ease;
}
.cat:hover { background: var(--tint-hover); color: var(--ink); }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cat-icon svg { stroke: var(--blue); }
.cat strong { font-size: 17px; display: block; }
.cat .cat-sub { font-size: 13px; color: var(--muted); }
.cat.cat-deals { background: var(--gold); }
.cat.cat-deals .cat-icon svg { stroke: var(--navy); }
.cat.cat-deals strong { color: var(--sale); }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .cat { flex-direction: column; text-align: center; gap: 8px; padding: 0; background: transparent; min-height: 0; }
  .cat:hover { background: transparent; }
  .cat-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--tint); }
  .cat strong { font-size: 12px; line-height: 1.2; }
  .cat .cat-sub { display: none; }
  .cat.cat-deals { background: transparent; }
  .cat.cat-deals .cat-icon { background: var(--gold); }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; background: #fff; }
.card-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge-new { background: var(--gold); color: var(--navy); }
.badge-sale { background: var(--sale); color: #fff; }
.wish { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.wish:hover { color: var(--sale); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-title { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.card-title:hover { color: var(--blue); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price strong { font-family: var(--font-display); font-size: 20px; color: var(--blue); }
.price s { font-size: 13px; color: var(--muted); }
.stock { font-size: 12px; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.stock.low { color: #B45309; }
.card .btn { margin-top: 8px; min-height: 44px; border-radius: 12px; font-size: 15px; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 16px; }
  .card-body { padding: 10px 12px 12px; gap: 4px; }
  .card-cat { display: none; }
  .card-title { font-size: 14px; }
  .price strong { font-size: 17px; }
  .stock { display: none; }
  .card .btn { min-height: 40px; font-size: 14px; border-radius: 10px; }
  .wish { display: none; }
  .badge { left: 8px; top: 8px; font-size: 10px; padding: 4px 8px; }
}
.view-all { display: flex; justify-content: center; padding-top: 24px; }
@media (max-width: 767px) { .view-all .btn { width: 100%; } }

/* ---------- Promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 32px 8px; }
.promo { border-radius: 24px; padding: 36px; min-height: 220px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.promo-navy { background: var(--navy); color: #fff; }
.promo-navy::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 999px; background: var(--gold); opacity: .18; }
.promo-navy p { color: rgba(255,255,255,.85); max-width: 420px; }
.promo-white { background: var(--surface); border: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
.promo-white .promo-copy { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.promo-white p { color: var(--muted); }
.promo-white img { flex: 0 1 180px; width: 180px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
.promo-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-navy .promo-kicker { color: var(--gold); }
.promo-white .promo-kicker { color: var(--sale); }
.promo h3 { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; position: relative; }
.promo .btn, .promo .link { align-self: flex-start; position: relative; }
.promo .link { font-weight: 700; text-decoration: none; }
@media (max-width: 1023px) { .promo-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .promo { padding: 24px; border-radius: 20px; } .promo-white img { width: 120px; flex-basis: 120px; } }

/* ---------- How it works ---------- */
.how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
.how .container { padding-block: 48px; }
.how h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--ground); border-radius: 20px; }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.step strong { font-size: 18px; }
.step p { color: var(--muted); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .how .container { padding-block: 28px; } .how h2 { margin-bottom: 16px; } }

/* ---------- Visit / Instagram ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 48px 56px; }
.panel { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel-white { background: var(--surface); border: 1px solid var(--line); }
.panel-blue { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.panel h2 { font-size: clamp(22px, 2.4vw, 28px); }
.panel-address { font-size: 17px; line-height: 1.5; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.hours span { color: var(--muted); }
.panel-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ig-head { display: flex; align-items: center; gap: 12px; position: relative; }
.ig-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ig-head strong { font-family: var(--font-display); font-size: 20px; display: block; }
.ig-head span { font-size: 14px; color: rgba(255,255,255,.85); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: relative; }
.ig-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.panel-blue .btn { align-self: flex-start; position: relative; }
@media (max-width: 1023px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .visit-grid { padding-block: 24px 32px; } .panel { padding: 22px; border-radius: 20px; } .panel-ctas .btn { flex: 1 1 auto; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; }
.footer .container { padding-block: 48px 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 0; }
.footer-col strong.head { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-col p, .footer-col .muted { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: rgba(255,255,255,.65); }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer .container { padding-block: 32px 24px; gap: 20px; }
  body.has-bottombar .footer { padding-bottom: 88px; }
}

/* ---------- Mobile bottom bar ---------- */
.bottombar { display: none; }
@media (max-width: 767px) {
  .bottombar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -8px 24px rgba(15,27,77,.08);
  }
  .bottombar .btn { min-height: 48px; font-size: 14px; border-radius: 12px; }
}

/* ---------- Shop page ---------- */
.shop-head { padding-block: 32px 8px; display: flex; flex-direction: column; gap: 14px; }
.shop-head h1 { font-size: clamp(26px, 3vw, 40px); }
.shop-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; }
.shop-count { color: var(--muted); font-size: 14px; }
.shop-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.shop-sort select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Product page ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); padding-block: 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-block: 20px 48px; align-items: start; }
.pdp-gallery { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.pdp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-gallery .badge { left: 16px; top: 16px; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.pdp-price { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pdp-price .price strong { font-size: 30px; }
.pdp-price .vat { font-size: 13px; color: var(--muted); }
.option-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; }
.option-head em { font-style: normal; color: var(--blue); }
.option-head span { color: var(--muted); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.swatch i { width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(15,27,77,.15); display: block; }
.swatch[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,55,219,.18); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty-row label { font-size: 14px; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; color: var(--ink); font-size: 20px; }
.qty button:hover { background: var(--tint); }
.qty output { min-width: 40px; text-align: center; font-weight: 700; }
.pdp-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pdp-note { text-align: center; font-size: 12px; color: var(--muted); }
.fulfil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fulfil div { display: flex; gap: 10px; align-items: flex-start; background: var(--ground); border-radius: 14px; padding: 12px; font-size: 13px; line-height: 1.4; }
.fulfil svg { flex: 0 0 auto; margin-top: 2px; stroke: var(--blue); }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-weight: 700; font-size: 15px; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.details details[open] summary::after { transform: rotate(-135deg); }
.details p { padding-bottom: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.related { padding-block: 8px 56px; }
.related h2 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.mini img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.mini span { font-size: 13px; font-weight: 700; line-height: 1.25; }
.mini b { font-size: 14px; color: var(--blue); font-family: var(--font-display); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1023px) { .pdp { grid-template-columns: 1fr; gap: 20px; } .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pdp { padding-block: 8px 24px; }
  .pdp-gallery { border-radius: 16px; }
  .pdp-ctas { display: none; }
  .related { padding-bottom: 100px; }
  .toast { bottom: 90px; }
}

/* ---------- Utilities ---------- */
.only-mobile { display: none; }
@media (max-width: 1023px) { .only-mobile { display: inline-flex; } }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-bottom: 56px; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.cart-thumb img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-meta { font-size: 13px; color: var(--muted); }
.cart-ctl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-sub { font-family: var(--font-display); font-size: 18px; color: var(--blue); }
.cart-remove { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; padding: 4px; }
.cart-remove:hover { color: var(--sale); }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.cart-summary h2 { font-size: 20px; }
.cart-row { display: flex; justify-content: space-between; font-size: 15px; }
.cart-total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; }
.cart-total strong { font-family: var(--font-display); font-size: 24px; color: var(--blue); }
.cart-empty { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart-empty p { color: var(--muted); max-width: 420px; }
@media (max-width: 1023px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
@media (max-width: 767px) {
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-thumb img { width: 72px; height: 72px; }
  .cart-ctl { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-layout { padding-bottom: 100px; }
}
