/* ==========================================================
   خصلة باي إن — نظام التصميم
   لوحة الألوان: عاج دافئ + بني ماهوغني + لمسة ذهبية
   الخطوط: Alexandria للعناوين، Tajawal للنصوص (Poppins/Inter بالإنجليزي)
   ========================================================== */

:root {
  --bg: #FAF5F4;
  --surface: #FFFFFF;
  --ink: #241016;
  --ink-soft: #5C3A42;
  --muted: #8C7378;
  --border: #E9DDDD;
  --primary: #7A1F35;
  --primary-dark: #571526;
  --primary-tint: #F1DCE1;
  --gold: #BD8248;
  --gold-soft: #F3E3CE;
  --success: #4F7A5B;
  --danger: #C1502E;
  --radius: 3px;
  --container: 1180px;
  --shadow-soft: 0 1px 0 rgba(36,16,22,.06);
}

html, body { overflow-x: hidden; max-width: 100vw; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  direction: rtl;
}

h1, h2, h3, h4, .display {
  font-family: 'Alexandria', 'Tajawal', sans-serif;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  gap: 16px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.section-head .see-all { flex-shrink: 0; font-size: 14px; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 2px; white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: .2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #96784A; border-color: #96784A; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #EFE6DD;
  font-size: 13px;
  text-align: center;
  padding: 9px 12px;
  letter-spacing: .2px;
  position: relative;
  min-height: 34px;
  overflow: hidden;
}
.topbar-msg {
  display: none;
  opacity: 0;
  transition: opacity .4s ease;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
}
.topbar-msg.active { display: flex; opacity: 1; position: relative; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo {
  font-family: 'Alexandria', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; gap: 26px; }
.main-nav a.nav-link {
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a.nav-link:hover,
.main-nav li.has-mega:hover > a.nav-link { border-color: var(--primary); color: var(--primary); }

.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-end: -20px;
  width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(36,23,19,.12);
  padding: 22px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 20px;
  border-radius: var(--radius);
}
.has-mega:hover .mega-menu, .has-mega.open .mega-menu { display: grid; }
.mega-menu a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px dashed var(--border); }
.mega-menu a:hover { color: var(--primary); }
.mega-menu-rich { grid-template-columns: 1.15fr 1fr; width: 700px; gap: 0; }
.mega-menu-simple { width: 200px; display: none; grid-template-columns: 1fr; padding: 10px; }
.has-mega:hover .mega-menu-simple, .has-mega.open .mega-menu-simple { display: grid; }
.mega-col { padding: 0 22px; }
.mega-col-cats { border-inline-end: 1px solid var(--border); }
.mega-title { display: block; font-size: 12px; letter-spacing: .6px; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.mega-cat-row { display: flex; align-items: center; gap: 14px; padding: 12px 0 !important; border-bottom: 1px solid var(--border) !important; }
.mega-cat-thumb { display: inline-block; width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--gold-soft); flex-shrink: 0; }
.mega-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-cat-row span:last-child { font-size: 14.5px; line-height: 1.35; }
.mega-view-all { color: var(--primary) !important; font-size: 13px !important; margin-top: 8px; border-bottom: none !important; font-weight: 600; }
.mega-prod-row { display: flex; align-items: center; gap: 14px; padding: 12px 0 !important; border-bottom: 1px solid var(--border) !important; }
.mega-prod-thumb { display: inline-block; position: relative; width: 62px; height: 62px; border-radius: 6px; overflow: hidden; background: var(--gold-soft); flex-shrink: 0; }
.mega-prod-thumb img.mp-main { width: 100%; height: 100%; object-fit: cover; }
.mega-prod-thumb .mp-swatch {
  position: absolute; bottom: -4px; left: -4px; width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.mega-prod-info { display: flex; flex-direction: column; gap: 4px; }
.mega-prod-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.mega-prod-rating { font-size: 11px; color: var(--gold); }
.mega-prod-rating small { color: var(--muted); font-size: 11px; }
.mega-prod-price { font-size: 14px; font-weight: 700; color: var(--gold); }
.mega-prod-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mega-prod-rating { font-size: 10.5px; color: var(--gold); }
.mega-prod-rating small { color: var(--muted); }
.mega-prod-price { font-size: 13px; font-weight: 700; color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions a, .header-actions button { position: relative; color: var(--ink); background: none; border: none; }
.switcher-group { display: flex; gap: 6px; }
.switcher-group select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 8px;
  font-family: inherit;
  font-size: 12.5px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
}
.header-icon { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: -8px;
  left: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.search-box { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.search-box input { border: none; padding: 9px 12px; font-family: inherit; width: 180px; background: transparent; }
.search-box input:focus { outline: none; }
.search-box button { background: var(--bg); padding: 9px 12px; border: none; }

.mobile-toggle { display: none; background: none; border: none; }

/* ---------- Category strip / features ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.feature-strip .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-size: 14px;
}
.feature-strip .feature:last-child { border-right: none; }
.feature .icon { color: var(--primary); flex-shrink: 0; }
.feature strong { display: block; font-size: 14.5px; }
.feature small { color: var(--muted); font-size: 12.5px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 54px 0;
}
.hero-copy .eyebrow { }
.hero-copy p.lead { font-size: 17.5px; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 22px; }
.hero-media {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--primary-tint), var(--gold-soft));
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shop by color ---------- */
.color-chip-row { display: flex; gap: 16px; flex-wrap: wrap; }
.color-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; background: none; border: none; padding: 4px; font-family: inherit; cursor: pointer; border-radius: var(--radius); }
.color-chip.active { background: var(--primary-tint); }
.color-chip .swatch {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--surface);
  outline: 1px solid var(--border);
}
.color-chip.active .swatch { outline: 2px solid var(--primary); }
.color-chip span { font-size: 13px; color: var(--ink-soft); text-align: center; }
.cg-media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative; }
.cg-swatch-preview { width: 100%; height: 100%; background: linear-gradient(160deg, var(--gold-soft), var(--primary-tint)); }
.cg-media img { width: 100%; height: 100%; object-fit: cover; }
.cg-preview-label {
  position: absolute; bottom: 14px; inset-inline-start: 14px; background: rgba(255,255,255,.92);
  color: var(--ink); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px;
}

/* ---------- Product grid / cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
  position: relative;
}
.product-card:hover { border-color: var(--primary); }
.product-card .thumb {
  aspect-ratio: 3/4;
  background: var(--gold-soft);
  overflow: hidden;
  position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb .thumb-main, .product-card .thumb .thumb-hover { position: absolute; inset: 0; transition: opacity .3s ease; }
.product-card .thumb .thumb-hover { opacity: 0; }
.product-card:hover .thumb .thumb-hover { opacity: 1; }
.product-card:hover .thumb .thumb-main { opacity: 0; }
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: var(--radius);
  z-index: 2;
}
.badge.sale { background: var(--primary); }
.badge.new { background: var(--gold); right: auto; left: 10px; }
.product-card .body { padding: 14px 16px 18px; }
.product-card .cat { font-size: 12px; color: var(--muted); margin-bottom: 3px; display: block; }
.product-card h3 { font-size: 15.5px; margin-bottom: 8px; font-family: 'Tajawal'; font-weight: 700; }
.swatch-row { display: flex; gap: 6px; margin-bottom: 10px; }
.swatch-row .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-row .now { font-weight: 700; color: var(--primary); font-size: 16px; }
.price-row .was { text-decoration: line-through; color: var(--muted); font-size: 13px; }
.add-cart-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  transition: all .15s ease;
}
.add-cart-btn:hover { background: var(--ink); color: #fff; }

/* ---------- Category grid (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  background: var(--surface);
}
.cat-card .thumb { aspect-ratio: 1/1; background: var(--gold-soft); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card span { display: block; padding: 12px 8px; font-size: 13.5px; font-weight: 600; }

/* ---------- Banner strip ---------- */
.promo-banner {
  background: var(--ink);
  color: #EFE6DD;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.promo-banner h2 { color: #fff; margin-bottom: 6px; }
.promo-banner p { color: #C9B9AC; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.testi-card p { font-size: 14.5px; }
.testi-name { font-weight: 700; font-size: 14px; margin-top: 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: 18px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: flex-start; }
.filters { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); position: sticky; top: 90px; }
.filters h4 { font-size: 14px; text-transform: none; margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px;}
.filter-group { margin-bottom: 22px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 9px; color: var(--ink-soft); cursor: pointer; }
.filter-group input[type=checkbox] { accent-color: var(--primary); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.toolbar select { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; font-family: inherit; background: var(--surface); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.gallery-main { aspect-ratio: 4/5; background: var(--gold-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs img { width: 72px; height: 88px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pd-price .now { font-size: 26px; font-weight: 700; color: var(--primary); }
.pd-price .was { font-size: 16px; text-decoration: line-through; color: var(--muted); }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.option-block { margin: 22px 0; }
.option-block > label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 14.5px; }
.color-select-row { display: flex; gap: 10px; flex-wrap: wrap; }
.color-select-row .opt { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.color-select-row .opt .dot { width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--border); transition: border-color .15s; }
.color-select-row .opt input:checked + .dot { border-color: var(--primary); }
.color-select-row .opt span { font-size: 12px; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 14px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); }
.qty-stepper button { width: 38px; height: 40px; background: none; border: none; font-size: 18px; }
.qty-stepper input { width: 44px; text-align: center; border: none; font-family: inherit; font-size: 15px; }
.pd-actions { display: flex; gap: 14px; margin: 26px 0; }
.pd-meta-list { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.pd-meta-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.tabs-head { display: flex; gap: 26px; border-bottom: 1px solid var(--border); margin: 50px 0 20px; }
.tabs-head button { background: none; border: none; padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs-head button.active { color: var(--ink); border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: right; font-size: 13px; color: var(--muted); font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 18px 6px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-row-info { display: flex; gap: 14px; align-items: center; }
.cart-row-info img { width: 66px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-row-info .name { font-weight: 700; font-size: 14.5px; }
.cart-row-info .variant { font-size: 13px; color: var(--muted); }
.remove-link { color: var(--danger); font-size: 13px; }
.cart-summary { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.cart-summary .row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; }
.cart-summary .row.total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: flex-start; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: flex-start; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 13px; font-family: inherit; font-size: 14.5px; background: var(--surface);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 1.5px solid var(--primary); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-options label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; margin-bottom: 10px; cursor: pointer; font-size: 14.5px; }
.pay-options label.disabled { opacity: .5; cursor: not-allowed; }
.pay-options small { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9B9AC; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 30px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 14px; color: #C9B9AC; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo { font-family: 'Alexandria'; font-size: 24px; color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #3D1D26; padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; }
.newsletter-row { display: flex; margin-top: 6px; }
.newsletter-row input { flex: 1; border: 1px solid #3D1D26; background: #331821; color: #fff; padding: 10px 12px; border-radius: var(--radius) 0 0 var(--radius); }
.newsletter-row button { border-radius: 0 var(--radius) var(--radius) 0; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 34px; height: 34px; border: 1px solid #3D1D26; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 70;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

/* ---------- Generic pages ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 40px 0; text-align: center; }
.narrow { max-width: 720px; margin: 0 auto; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 20px; }
.alert-success { background: #E7F0E9; color: var(--success); border: 1px solid #C7DBCB; }
.alert-error { background: #F6E3E3; color: var(--danger); border: 1px solid #E8C4C4; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
  .shop-layout, .product-detail, .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .search-box input { width: 120px; }
}
@media (max-width: 680px) {
  .header-row { gap: 10px; padding: 12px 0; }
  .logo { font-size: 20px; }
  .search-box { display: none; }
  .switcher-group { display: none; }
  .mobile-drawer .switcher-group, .mobile-drawer .search-box { display: flex; }
  .header-actions { gap: 10px; }
  .header-icon { width: 20px; height: 20px; }
  .container { padding: 0 14px; }
  .variant-grid { grid-template-columns: repeat(2, 1fr); }
  .color-select-row { gap: 8px; }
  .section { padding: 64px 0; }
  .feature-strip { margin-bottom: 14px; }
  .section-head { margin-bottom: 26px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero (full-bleed) ---------- */
.hero-full {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #2E0E17, #4A1826);
}
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-full .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18,8,12,.82) 0%, rgba(18,8,12,.55) 55%, rgba(18,8,12,.25) 100%);
}
[dir="ltr"] .hero-full .hero-overlay { background: linear-gradient(270deg, rgba(18,8,12,.82) 0%, rgba(18,8,12,.55) 55%, rgba(18,8,12,.25) 100%); }
.hero-full .hero-inner { position: relative; z-index: 2; padding: 60px 0; }
.hero-full .eyebrow { color: var(--gold); letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.hero-full h1 {
  color: #fff; font-size: clamp(38px, 6vw, 64px); font-weight: 800; line-height: 1.08; margin: 14px 0 18px;
  max-width: 14ch;
}
.hero-full h1 .accent { background: linear-gradient(90deg, var(--gold), #E8C88A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-full p.lead { color: #E8DDD2; font-size: 18px; max-width: 42ch; margin-bottom: 30px; }
.hero-full .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-full .btn-pill {
  border-radius: 40px; padding: 15px 32px; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-full .btn-pill.filled { background: var(--primary); color: #fff; border: none; }
.hero-full .btn-pill.filled:hover { background: var(--primary-dark); }
.hero-full .btn-pill.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.hero-full .btn-pill.outline:hover { background: rgba(255,255,255,.12); }
.hero-scroll {
  position: absolute; bottom: 26px; z-index: 2; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #E8DDD2; font-size: 11px; letter-spacing: 2px;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

@media (max-width: 780px) {
  .hero-full { min-height: 68vh; }
  .hero-full .hero-overlay { background: linear-gradient(180deg, rgba(18,8,12,.55) 0%, rgba(18,8,12,.85) 75%); }
  .hero-full p.lead { font-size: 15.5px; }
  .hero-scroll { display: none; }
}

/* ---------- Color guide section ---------- */
.color-guide-section { }
.cg-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.cg-copy h2 { margin-top: 4px; }
.cg-copy p { margin-bottom: 18px; }

/* ---------- Steps section ---------- */
.steps-section .eyebrow { display: block; }
.steps-row { display: flex; justify-content: center; gap: 0; margin-top: 40px; position: relative; }
.step-item { flex: 1; max-width: 260px; text-align: center; position: relative; }
.step-item:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; right: -50%; width: 100%; height: 1px; background: var(--border);
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  margin: 0 auto 16px; position: relative; z-index: 1; border: 2px solid var(--surface);
}
.step-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-item p { font-size: 13.5px; color: var(--muted); }

@media (max-width: 780px) {
  .cg-grid { grid-template-columns: 1fr; padding: 22px; }
  .steps-row { flex-direction: column; gap: 30px; }
  .step-item::after { display: none; }
}
.mobile-drawer {
  position: fixed; inset: 0; background: rgba(36,23,19,.5); z-index: 90; display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; width: 82%; max-width: 320px; height: 100%;
  background: var(--surface); padding: 22px; overflow-y: auto;
}
.mobile-drawer .panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.mobile-drawer .close-btn { background: none; border: none; font-size: 22px; margin-bottom: 10px; }

/* ---------- Before / After slider ---------- */
.ba-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.ba-slider {
  position: relative; aspect-ratio: 3/4; overflow: hidden; user-select: none; cursor: ew-resize;
  background: var(--gold-soft);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-slider[dir-ltr] .ba-after { clip-path: inset(0 50% 0 0); }
.ba-slider .ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff;
  transform: translateX(-50%); pointer-events: none;
}
.ba-slider .ba-handle {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba-slider .ba-label { position: absolute; top: 12px; font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 3px; }
.ba-slider .ba-label.before { right: 12px; }
.ba-slider .ba-label.after { left: 12px; }
.ba-card .ba-caption { padding: 14px 16px; text-align: center; font-size: 14.5px; font-weight: 600; }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Price range filter ---------- */
.price-range-wrap { position: relative; height: 34px; margin-bottom: 6px; }
.price-range-wrap input[type=range] {
  position: absolute; width: 100%; top: 12px; pointer-events: none;
  -webkit-appearance: none; appearance: none; background: transparent; height: 4px;
}
.price-range-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: all; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); cursor: pointer; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--primary);
}
.price-range-wrap input[type=range]::-moz-range-thumb {
  pointer-events: all; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); cursor: pointer; border: 2px solid #fff;
}
.price-range-track { position: absolute; top: 15px; height: 4px; left: 0; right: 0; background: var(--border); border-radius: 2px; }
.price-range-fill { position: absolute; top: 15px; height: 4px; background: var(--primary); border-radius: 2px; }
.price-range-values { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Product rating ---------- */
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rating-stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.rating-count { font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--border); }

/* ---------- Savings badge ---------- */
.savings-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius);
}

/* ---------- Color group tabs ---------- */
.color-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.color-tabs button {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 7px 14px; font-size: 13px; font-family: inherit; color: var(--ink-soft);
}
.color-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Variant (length) cards ---------- */
.variant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.variant-card {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 10px;
  text-align: center; cursor: pointer; transition: all .15s ease; position: relative;
}
.variant-card:hover { border-color: var(--gold); }
.variant-card.selected { border-color: var(--primary); background: var(--primary-tint); }
.variant-card .v-label { font-weight: 700; font-size: 16px; }
.variant-card .v-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.variant-card .v-price { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 6px; }
.variant-card input { position: absolute; opacity: 0; pointer-events: none; }
.variant-card .v-tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}

/* ---------- Floating action stack (WhatsApp + Call) ---------- */
.float-stack {
  position: fixed; bottom: 22px; left: 22px; z-index: 70;
  display: flex; flex-direction: column; gap: 12px;
}
.float-stack .fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .2s ease;
}
.float-stack .fab:hover { transform: scale(1.08); }
.float-stack .fab-whatsapp { background: #25D366; }
.float-stack .fab-call { background: var(--primary); animation: pulseGlow 2.4s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 0 0 rgba(122,31,53,.45); }
  50% { box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 0 10px rgba(122,31,53,0); }
}

/* ---------- Motion / reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Glow accents ---------- */
.glow-hover { transition: box-shadow .25s ease, transform .25s ease; }
.glow-hover:hover { box-shadow: 0 0 0 1px var(--gold), 0 8px 26px rgba(189,130,72,.35); transform: translateY(-3px); }
.btn.glow { box-shadow: 0 0 0 0 rgba(122,31,53,.5); transition: box-shadow .25s ease, transform .15s ease; }
.btn.glow:hover { box-shadow: 0 0 24px rgba(122,31,53,.45); transform: translateY(-2px); }

.product-card, .cat-card, .ba-card { transition: transform .25s ease, box-shadow .25s ease, border-color .15s ease; }
.product-card:hover, .cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(36,23,19,.10); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-call { animation: none; }
}

