/* ==========================================================================
   ALIBARBAR — Design System
   Gold / black luxury theme. Mobile-first, SEO-friendly static site.
   Converted from the original prototype (Alibarbar.dc.html) into reusable
   classes so every page stays consistent and lightweight.
   ========================================================================== */

:root {
  --gold:        #C9A84C;   /* primary */
  --gold-light:  #E8C96A;   /* hover / highlight */
  --gold-accent: #D4AF37;   /* borders / underlines */
  --gold-muted:  #B89B52;   /* small caps labels */
  --ink:         #1A1A1A;   /* near-black text + dark sections */
  --cream:       #F5F0E8;   /* soft panels */
  --cream-2:     #F1E9D9;   /* placeholder hatch */
  --cream-border:#EAD9A8;
  --line:        #EDE3CC;   /* hairline separators */
  --field:       #D9D0BE;   /* input borders */
  --text:        #1A1A1A;
  --text-2:      #555555;
  --text-3:      #888888;
  --text-4:      #999999;
  --white:       #FFFFFF;
  --maxw:        1280px;
  --radius:      8px;
  --radius-sm:   4px;
  --font-head:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:   'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --shadow-card: 0 2px 16px rgba(201,168,76,0.10);
  --shadow-hi:   0 12px 30px rgba(201,168,76,0.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden; /* belt-and-braces against any horizontal scroll on mobile */
}
::selection { background: var(--gold-light); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
input, button, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0; line-height: 1.15; }

@keyframes abShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes abFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
/* Use padding-block so these never override the horizontal gutters from .wrap
   when an element carries both classes (e.g. class="wrap section"). */
.section { padding-block: 48px; }
.section-sm { padding-block: 32px; }
.flex { display: flex; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--gold-light);
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px;
  color: var(--gold); font-weight: 600; margin: 0 0 8px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); display: inline-block;
  border-bottom: 3px solid var(--gold-accent); padding-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-outline:hover { background: var(--cream); }
.btn-shimmer {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%; animation: abShimmer 5s linear infinite; color: var(--ink);
}
.btn-sm { padding: 9px 14px; font-size: 11px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 2px solid var(--gold-accent);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-family: var(--font-head); font-size: 24px; font-weight: 800;
  letter-spacing: 0.12em; color: var(--gold); white-space: nowrap; display: inline-flex;
}
.brand-logo { height: 30px; width: auto; display: block; }
.footer-logo { height: 30px; }
.gate-logo { height: 30px; width: auto; display: block; margin: 0 auto; }
@media (max-width: 420px) { .brand-logo { height: 26px; } }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink);
  text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn { cursor: pointer; display: flex; position: relative; background: none; border: 0; padding: 0; }
.icon-btn:hover { opacity: .7; }
.cart-count {
  position: absolute; top: -7px; right: -9px; background: var(--ink); color: var(--gold-light);
  font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-deco { position: absolute; border: 1px solid #F0E2BE; transform: rotate(45deg); }
.hero-deco-1 { top: -60px; right: -40px; width: 320px; height: 320px; opacity: .7; }
.hero-deco-2 { bottom: 40px; left: -80px; width: 200px; height: 200px; opacity: .5; }
.hero-grid {
  position: relative; padding-block: 56px 64px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1.02; font-weight: 800; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 22px 0 30px; max-width: 440px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { display: flex; justify-content: center; }
.hero-frame {
  width: 100%; max-width: 380px; aspect-ratio: 3/4; border-radius: var(--radius);
  transform: rotate(-2.5deg); padding: 3px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  box-shadow: 0 28px 70px rgba(201,168,76,0.28);
}
.hero-potd { display: block; transition: transform .2s; }
.hero-potd:hover { transform: rotate(-2.5deg) scale(1.02); }
.hero-potd-inner {
  width: 100%; height: 100%; border-radius: 6px; background: #fff; display: flex;
  flex-direction: column; align-items: center; text-align: center; padding: 22px 20px;
}
.hero-potd-tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-muted); font-weight: 700; margin-bottom: 12px; }
.hero-potd-imgwrap { width: 100%; flex: 1; min-height: 0; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-potd-imgwrap img { width: 100%; height: 100%; object-fit: contain; }
.hero-potd-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink); margin: 14px 0 4px; line-height: 1.2; }
.hero-potd-price { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--gold); }

/* ---------- Image placeholder (swap with real <img>) ---------- */
.ph {
  background: repeating-linear-gradient(135deg, var(--cream), var(--cream) 12px, var(--cream-2) 12px, var(--cream-2) 24px);
  display: flex; align-items: center; justify-content: center;
}
.ph-label {
  font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--gold-muted); text-transform: uppercase; text-align: center; padding: 8px;
}

/* ---------- Category strip ---------- */
.cat-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.cat-card {
  flex: 0 0 158px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(201,168,76,0.16); }
.cat-card .cat-ico { display: flex; justify-content: center; margin-bottom: 12px; }
.cat-card .cat-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- Product grid + card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.product-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); }
.product-card .pc-media { position: relative; height: 200px; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.cat-card img { width: 100%; height: 84px; object-fit: contain; margin-bottom: 10px; display: block; }
.product-card .pc-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-muted); font-weight: 600; margin-bottom: 6px; }
.pc-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 3px; transition: color .2s; }
a:hover .pc-name { color: var(--gold); }
.pc-variant { font-size: 12.5px; color: var(--text-3); margin-bottom: 12px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--gold); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}

/* ---------- Brand promise ---------- */
.promise { background: var(--cream); border-top: 1px solid var(--cream-border); border-bottom: 1px solid var(--cream-border); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 48px; }
.promise-item { display: flex; gap: 14px; align-items: flex-start; }
.promise-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.promise-item p { color: #6b6357; font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); }
.newsletter-inner { max-width: 760px; margin: 0 auto; padding: 64px 20px; text-align: center; }
.newsletter h2 { font-size: clamp(30px, 4.5vw, 44px); color: var(--gold); }
.newsletter p { color: #cfcfcf; font-size: 16px; line-height: 1.6; margin: 14px 0 28px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 200px; padding: 15px 18px; background: transparent;
  border: 1px solid #4a4a4a; border-radius: var(--radius-sm); color: #fff; font-size: 14px; outline: none;
}
.newsletter input:focus { border-color: var(--gold); }
.newsletter .fineprint { color: #777; font-size: 12px; margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 2px solid var(--gold-accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-block: 48px 36px; }
.footer-grid .brand { font-size: 22px; }
.footer-about { font-size: 13px; color: var(--text-3); line-height: 1.6; margin: 14px 0 0; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-3); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-bottom: 12px; }
.social a {
  width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-weight: 700; font-size: 12px; transition: background .2s, color .2s;
}
.social a:hover { background: var(--gold); color: var(--ink); }
.footer-legal { border-top: 1px solid var(--line); padding: 20px; text-align: center; font-size: 12px; color: var(--text-4); }
.age-strip { background: var(--ink); color: #8a8a8a; text-align: center; padding: 11px 20px; font-size: 11.5px; letter-spacing: 0.02em; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--text-4); margin: 0 0 18px; }
.crumbs a { color: var(--gold); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 6px; }

/* ---------- Page heading ---------- */
.page-head { padding-block: 36px 0; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); margin: 0 0 8px; }
.page-head .lede { font-size: 16px; color: var(--text-2); max-width: 720px; line-height: 1.6; }

/* ---------- Shop / category layout ---------- */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 28px; }
.filter-group h3 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--gold-accent); margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #444; padding: 6px 0; cursor: pointer; }
.filter-opt input { accent-color: var(--gold); width: 16px; height: 16px; }
.filters input[type="range"] { width: 100%; accent-color: var(--gold); }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 6px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.shop-toolbar .count { font-size: 14px; color: #666; }
.select {
  padding: 10px 16px; border: 1px solid var(--gold-accent); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink); background: #fff; cursor: pointer; outline: none;
}

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: var(--radius-sm); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 0 14px;
}
.pagination .current { background: var(--gold); color: var(--ink); font-weight: 700; }
.pagination a:hover { background: var(--cream); }

/* ---------- SEO content block (the keyword-rich prose area) ---------- */
.seo-content { max-width: 820px; margin: 8px 0 0; color: var(--text-2); }
.seo-content h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 36px 0 12px; color: var(--ink); }
.seo-content h3 { font-size: 20px; margin: 26px 0 10px; color: var(--ink); font-family: var(--font-body); }
.seo-content p { font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.seo-content ul, .seo-content ol { padding-left: 22px; margin: 0 0 16px; }
.seo-content li { font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.seo-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.seo-divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }

/* ---------- Product detail ---------- */
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 44px; align-items: start; }
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.pdp-main { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); border: 1px solid var(--line); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pdp-thumb { aspect-ratio: 1/1; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; }
.pdp-thumb:hover { border-color: var(--gold); }
.pdp-cat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-muted); font-weight: 600; margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.pdp-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--gold); margin: 16px 0 18px; }
.pdp-desc { font-size: 15px; line-height: 1.65; color: var(--text-2); margin: 0 0 26px; }
.opt-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.opt {
  padding: 10px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; color: var(--ink); background: #fff; border: 1px solid var(--field);
}
.opt.is-active, .opt:hover { background: var(--gold); border-color: var(--gold); }
.qty { display: flex; align-items: center; border: 1px solid var(--gold-accent); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 44px; height: 52px; border: none; background: #fff; color: var(--gold); font-size: 20px; cursor: pointer; }
.qty button:hover { background: var(--cream); }
.qty .val { width: 48px; text-align: center; font-weight: 700; font-size: 16px; }
.pdp-buy { display: flex; gap: 14px; align-items: stretch; margin: 8px 0 22px; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1; min-width: 200px; height: 52px; }
.pdp-assure { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.pdp-assure div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #666; }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 36px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 88px; height: 88px; border-radius: 6px; }
.cart-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.cart-variant { font-size: 13px; color: var(--text-3); margin: 4px 0 12px; }
.cart-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty-sm button { width: 34px; height: 34px; font-size: 18px; }
.qty-sm .val { width: 38px; font-size: 14px; }
.link-remove { background: none; border: none; color: var(--text-4); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-remove:hover { color: var(--gold); }
.line-total { font-family: var(--font-head); font-size: 19px; font-weight: 700; white-space: nowrap; }
.summary { background: var(--cream); border: 1px solid var(--cream-border); border-radius: var(--radius); padding: 28px; }
.summary h3 { font-size: 22px; margin: 0 0 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); padding: 7px 0; }
.summary-row strong, .summary-row .v { color: var(--ink); font-weight: 600; }
.summary-divider { height: 1px; background: var(--gold-accent); margin: 14px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 700; }
.summary-total .v { font-family: var(--font-head); font-size: 26px; color: var(--gold); }
.promo { display: flex; gap: 8px; margin-bottom: 20px; }
.promo input { flex: 1; padding: 11px 13px; border: 1px solid var(--gold-accent); border-radius: var(--radius-sm); font-size: 13px; background: #fff; outline: none; }
.empty-state { text-align: center; padding: 64px 24px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--cream-border); }
.empty-state h3 { font-size: 24px; margin: 18px 0 22px; }

/* ---------- Forms (checkout / contact) ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 36px; align-items: start; }
.field-group { margin-bottom: 30px; }
.field-group > .opt-label { color: var(--gold); letter-spacing: 0.16em; }
.field {
  width: 100%; padding: 14px 16px; border: 1px solid var(--field); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; margin-bottom: 12px; background: #fff;
}
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ship-opt { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1.5px solid var(--field); border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 10px; }
.ship-opt.is-active { border-color: var(--gold); background: #FBF7EE; }
.ship-opt input { accent-color: var(--gold); width: 17px; height: 17px; }
.ship-opt .name { flex: 1; font-size: 14px; font-weight: 600; }
.ship-opt .meta { font-size: 14px; color: var(--text-3); }
.age-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--cream); border: 1px solid var(--cream-border); border-radius: var(--radius-sm); cursor: pointer; }
.age-confirm input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 1px; }
.age-confirm span { font-size: 14px; line-height: 1.5; color: #444; }
.trust-row { display: flex; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.trust-row span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #777; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; margin-bottom: 56px; }
.contact-card { background: var(--cream); border: 1px solid var(--gold-accent); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; gap: 14px; align-items: center; font-size: 14.5px; color: #444; }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-q .sign { font-size: 24px; color: var(--gold); font-weight: 300; line-height: 1; }
.faq-a { font-size: 14.5px; line-height: 1.65; color: #666; margin: 0 4px; max-width: 620px; overflow: hidden; max-height: 0; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------- Age gate modal ---------- */
.age-gate { position: fixed; inset: 0; z-index: 1000; background: rgba(26,26,26,0.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-gate[hidden] { display: none; }
.age-gate-box { background: #fff; border: 1.5px solid var(--gold-accent); border-radius: var(--radius); max-width: 460px; width: 100%; padding: 44px 36px; text-align: center; box-shadow: 0 24px 80px rgba(26,26,26,0.35); animation: abFade .4s ease both; }
.age-gate-box .brand { font-size: 28px; margin-bottom: 0; }
.age-gate-box .rule { width: 46px; height: 2px; background: var(--gold-accent); margin: 18px auto 0; }
.age-gate-box h2 { font-size: 32px; margin: 10px 0 0; }
.age-gate-box p { color: #555; font-size: 15px; line-height: 1.6; margin: 16px 0 24px; }
.age-gate-actions { display: flex; gap: 12px; }
.age-gate-actions .btn { flex: 1; }
.age-gate-fine { color: var(--text-4); font-size: 11.5px; line-height: 1.55; margin: 20px 0 0; }

/* ==========================================================================
   SIDE CART DRAWER
   ========================================================================== */
#ab-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
#ab-drawer.open { visibility: visible; }
.ab-drawer-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.5); opacity: 0; transition: opacity .25s; }
#ab-drawer.open .ab-drawer-overlay { opacity: 1; }
.ab-drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: #fff; box-shadow: -12px 0 40px rgba(26,26,26,0.2); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
#ab-drawer.open .ab-drawer-panel { transform: translateX(0); }
.ab-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 2px solid var(--gold-accent); }
.ab-drawer-head h3 { font-size: 22px; }
.ab-drawer-x { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; padding: 0 4px; }
.ab-drawer-x:hover { color: var(--gold); }
.ab-drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.ab-drawer-empty { text-align: center; padding: 56px 16px; }
.ab-drawer-empty p { color: var(--text-3); margin-bottom: 18px; }
.ab-citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ab-citem-thumb { width: 64px; height: 64px; border-radius: 6px; }
.ab-citem-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ab-citem-name:hover { color: var(--gold); }
.ab-citem-var { font-size: 12px; color: var(--text-3); margin: 3px 0 8px; }
.ab-citem-controls { display: flex; align-items: center; gap: 12px; }
.ab-citem-price { font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.ab-drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.ab-drawer-sub { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ab-drawer-note { font-size: 12px; color: var(--text-3); margin: 0 0 14px; }

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
#ab-search { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
#ab-search.open { visibility: visible; }
.ab-search-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.5); opacity: 0; transition: opacity .2s; }
#ab-search.open .ab-search-overlay { opacity: 1; }
.ab-search-panel {
  position: absolute; top: 0; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--gold-accent);
  transform: translateY(-100%); transition: transform .28s ease; max-height: 80vh; display: flex; flex-direction: column;
}
#ab-search.open .ab-search-panel { transform: translateY(0); }
.ab-search-bar { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; width: 100%; padding: 20px 24px; }
.ab-search-bar input { flex: 1; border: 0; outline: none; font-size: 18px; color: var(--ink); background: transparent; }
.ab-search-x { background: none; border: 0; font-size: 28px; color: var(--text-3); cursor: pointer; line-height: 1; }
.ab-search-x:hover { color: var(--gold); }
.ab-search-results { max-width: 760px; margin: 0 auto; width: 100%; padding: 0 24px 24px; overflow-y: auto; }
.ab-search-hint { color: var(--text-3); font-size: 14px; padding: 8px 0 20px; }
.ab-search-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ab-search-thumb { width: 48px; height: 48px; border-radius: 6px; flex: 0 0 48px; }
.ab-search-meta { flex: 1; display: flex; flex-direction: column; }
.ab-search-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ab-search-item:hover .ab-search-name { color: var(--gold); }
.ab-search-cat { font-size: 12px; color: var(--text-3); }
.ab-search-price { font-family: var(--font-head); font-weight: 700; color: var(--gold); }

/* ==========================================================================
   RESPONSIVE — mobile-first overrides
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  /* Image sits AFTER the copy on mobile and is noticeably smaller */
  .hero-media { order: 2; }
  .hero-frame { max-width: 240px; transform: rotate(-2deg); box-shadow: 0 16px 40px rgba(201,168,76,0.24); }
  .hero p { margin-bottom: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .filter-group { flex: 1; min-width: 180px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .desktop-only { display: none; }
  .nav-toggle { display: block; }
  /* Mobile slide-down menu */
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 2px solid var(--gold-accent); padding: 8px 20px 16px; z-index: 99;
  }
  .nav-links.open a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .pc-media { height: 150px; }
  /* Category carousel becomes a 2-up grid (no horizontal scrolling) */
  .cat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; overflow: visible; padding-bottom: 0; }
  .cat-card { flex: none; width: auto; padding: 22px 14px; }
  .section { padding-block: 36px; }
  .pdp-thumbs { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  /* Keep products 2-up even on the smallest phones */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .pc-media { height: 130px; }
  .pc-name { font-size: 14px; }
  .pc-price { font-size: 18px; }
  .age-gate-actions { flex-direction: column; }
  .hero h1 { font-size: 40px; }
}
