/* =========================================================
   Dr. Rashel Nepal shop - gold & cream
   ========================================================= */
:root {
  --cream: #FBF6E9;
  --cream-2: #F7EED3;
  --cream-3: #F1E2B8;
  --card: #FFFDF6;
  --line: #EADFC2;
  --line-2: #DCCB9C;
  --gold: #8A6A1F;
  --gold-dark: #6A4F12;
  --gold-light: #E3C77A;
  --ink: #2A2216;
  --ink-2: #4D4130;
  --muted: #6B5A3A;
  --red: #9A2B17;
  --green: #3F5A22;
  --serif: 'Marcellus', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
.wrap { max-width: 1600px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 clamp(24px, 3vw, 56px); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.ok { color: var(--green); font-weight: 600; }
.bad { color: var(--red); font-weight: 600; }
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--gold); }
.kicker-light { color: var(--gold-light); }
.link-u { color: var(--gold-dark); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid #C9A44C; padding-bottom: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #fff; border: 1.5px solid var(--gold); border-radius: 999px;
  min-height: 52px; padding: 0 28px; font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-wide { width: 100%; }
.btn-line {
  width: 100%; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--card);
  color: var(--gold-dark); font: 600 15px var(--sans); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.btn-line:hover { background: var(--gold); color: #fff; }
.btn-line.disabled { border-color: var(--line-2); color: var(--muted); cursor: default; background: transparent; }
:focus-visible { outline: 3px solid #C9A44C; outline-offset: 2px; }

/* Header */
.preview-bar { background: #1E3F66; color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.preview-bar a { color: #fff; font-weight: 700; }
.topline { background: var(--ink); color: #F3E3B5; text-align: center; font-size: 14px; padding: 10px 16px; }
.site-head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; column-gap: 8px; text-decoration: none; color: var(--gold); }
.logo img { height: 26px; width: auto; }
.logo span { font-family: var(--serif); font-size: 24px; line-height: .9; }
.logo small { grid-column: 1 / -1; font-size: 9px; letter-spacing: 2.5px; color: var(--muted); margin-top: 5px; }
.logo-light img { filter: invert(1); }
.logo-light span { color: var(--gold-light); }
.main-nav { display: flex; gap: 2px 20px; overflow-x: auto; order: 3; width: 100%; font-weight: 500; font-size: 15px; scrollbar-width: none; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; white-space: nowrap; }
.main-nav a[aria-current] { color: var(--gold-dark); box-shadow: inset 0 -2px var(--gold); }
.head-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; flex: 1 1 200px; justify-content: flex-end; }
.search { flex: 1 1 200px; max-width: 320px; display: flex; align-items: center; gap: 8px; background: var(--cream-2); border-radius: 999px; padding: 0 16px; height: 44px; color: var(--muted); }
.search input { border: 0; background: transparent; font: 15px var(--sans); width: 100%; outline: none; color: var(--ink); }
.cart-btn { position: relative; width: 44px; height: 44px; flex: none; border-radius: 999px; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.badge { position: absolute; top: -4px; right: -4px; background: var(--ink); color: #F3E3B5; font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
@media (min-width: 1000px) {
  .main-nav { order: 0; width: auto; flex: 1 1 0; min-width: 0; }
  .head-tools { flex: 0 0 340px; margin-left: 0; }
}

/* Messages */
.note { margin-top: 16px; border-radius: 12px; padding: 12px 16px; font-weight: 500; }
.note-success, .note-info { background: var(--cream-3); color: #4D3A0E; }
.note-error { background: #FBE9E4; color: var(--red); }

/* Sections */
.section { padding-top: 48px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.sec-head.center { display: block; text-align: center; }
.sec-head h2, .sec-head h1 { margin-top: 6px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Banner slideshow */
.slider-wrap { padding-top: 28px; }
.slider { position: relative; display: grid; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); }
.slide { grid-area: 1 / 1; display: flex; flex-wrap: wrap; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.on { opacity: 1; visibility: visible; }
.slide > .hero-text, .slide > .hero-img { flex: 1 1 400px; }
.hero-text { padding: 48px 40px 64px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.hero-text p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 480px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-img { overflow: hidden; min-height: 300px; max-height: 560px; background: var(--cream-3); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease; }
.slide.on .hero-img img { transform: scale(1); }
.slide-pic { display: block; }
.slide-pic img { width: 100%; height: auto; max-height: 600px; object-fit: cover; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,253,246,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(42,34,22,.15); opacity: 0; transition: opacity .2s; }
.slider:hover .arrow, .arrow:focus-visible { opacity: 1; }
.prev { left: 14px; }
.next { right: 14px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; }
.dot { width: 44px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.dot::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(42,34,22,.3); transition: width .3s, background .3s; }
.dot[aria-current=true]::after { width: 28px; background: var(--ink); }
@media (max-width: 839px) {
  .hero-text { padding: 30px 22px 22px; }
  .hero-img { max-height: 360px; }
  .slide:not(.slide-pic) { flex-direction: column-reverse; }
  .slide > .hero-text, .slide > .hero-img { flex: 0 0 auto; }
  .arrow { display: none; }
  .dots { bottom: auto; top: 10px; }
}

/* Perks */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; padding-top: 16px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

/* Ingredients */
.ingredients { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 36px; }
.ingredients .ing { width: 140px; }
.ing { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); text-align: center; }
.ing-img { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; border: 2px solid #E3CF96; background: #fff; }
.ing-img img { width: 100%; height: 100%; object-fit: cover; }
.ing b { font-size: 16px; }

/* Product grid + cards */
.grid-p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid-p { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid-p { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.card-p { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag-sale { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #F3E3B5; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tag-sale.big { font-size: 14px; padding: 6px 12px; top: 16px; left: 16px; }
.tag-brand { position: absolute; top: 10px; right: 10px; background: var(--card); border: 1px solid var(--line); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.card-name { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.card-name:hover { color: var(--gold-dark); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: auto; padding: 8px 0 6px; }
.price { font-weight: 700; font-size: 18px; }
.mrp { color: #7D6F55; font-size: 14px; }
@media (max-width: 639px) { .tag-brand { display: none; } .card-body { padding: 12px; } .card-name { font-size: 14px; } }

/* Chips */
.chips, .filters-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filters-row { margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.chip small { color: var(--muted); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Dark banner */
.banner-dark { display: flex; flex-wrap: wrap; background: var(--ink); border-radius: 24px; overflow: hidden; }
.banner-dark > * { flex: 1 1 380px; }
.banner-text { padding: 44px 40px; color: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 14px; align-items: flex-start; }
.banner-text p { margin: 0; color: #D9CDB0; }
.banner-img { min-height: 300px; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .banner-text { padding: 30px 22px; } }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.brand-card { background: var(--cream-2); border: 1px solid #E3CF96; border-radius: 20px; padding: 28px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; text-decoration: none; color: var(--ink); }
a.brand-card:hover { border-color: var(--gold); }
.brand-card img { max-height: 110px; max-width: 220px; margin: 0 auto; }
.brand-line { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 14px; color: var(--ink-2); }
.brand-line b { white-space: nowrap; color: var(--gold-dark); font-size: 15px; }

/* Steps */
.steps-box { background: var(--cream-2); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.steps-text { flex: 1 1 340px; }
.steps-text p { margin: 10px 0 0; color: var(--ink-2); }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.steps-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--gold); }
@media (max-width: 600px) { .steps-box { padding: 26px 20px; } }

/* Shop page */
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { font: 15px var(--sans); min-height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: var(--card); color: var(--ink); }
.pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pages a, .pages span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); background: var(--card); }
.pages .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 40px 0; }
.empty h2, .empty h1 { margin-bottom: 10px; }

/* Product page */
.pd { display: flex; flex-wrap: wrap; gap: 36px; }
.pd-gallery { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pd-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; aspect-ratio: 1; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.thumb.on { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-brand { height: 56px; width: auto; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 40px); }
.pd-info p { margin: 0; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-price .price { font-size: 32px; }
.pd-price .mrp { font-size: 18px; }
.save { font-size: 13px; font-weight: 700; color: var(--gold-dark); background: var(--cream-3); padding: 4px 10px; border-radius: 6px; }
.lead { color: var(--ink-2); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.buy .btn-ghost { grid-column: 1 / -1; }
.qty { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; height: 52px; }
.qty button { width: 48px; height: 50px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty input { width: 40px; border: 0; background: transparent; text-align: center; font: 600 17px var(--sans); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-perks { background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.pd-perks div { display: flex; gap: 12px; align-items: center; padding: 12px 0; font-size: 15px; }
.pd-perks div + div { border-top: 1px solid var(--line); }
.tab-btns { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
.tab-btns button { font: 600 15px var(--sans); background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 12px 4px; margin-right: 20px; min-height: 44px; cursor: pointer; }
.tab-btns button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { padding-top: 14px; color: var(--ink-2); font-size: 15px; }

/* Cart + checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 20px; }
.co-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.co-sum { flex: 1 1 300px; position: sticky; top: 110px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.box h2 { font-size: 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img info amt" "img qty rm"; gap: 6px 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line img { grid-area: img; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.line > a { grid-area: img; }
.line-info { grid-area: info; display: flex; flex-direction: column; }
.line-name { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.line-qty { grid-area: qty; }
.line-qty input { width: 80px; min-height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; font: 15px var(--sans); }
.line-amt { grid-area: amt; text-align: right; }
.link-x { grid-area: rm; justify-self: end; background: none; border: 0; color: var(--red); font: 14px var(--sans); text-decoration: underline; cursor: pointer; min-height: 40px; }
.box label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.box label small { font-weight: 400; color: var(--muted); }
.box input, .box textarea { font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; min-height: 50px; padding: 10px 14px; width: 100%; }
.box textarea { min-height: 70px; resize: vertical; }
.two { display: grid; gap: 16px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.phone { display: flex; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.phone span { padding: 0 12px; display: flex; align-items: center; color: var(--muted); border-right: 1px solid var(--line); font-weight: 500; }
.phone input { border: 0; border-radius: 0; }
.hp { position: absolute; left: -9999px; }
.pay { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--gold); background: var(--cream-2); border-radius: 14px; padding: 14px 16px; }
.radio-on { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--gold); box-shadow: inset 0 0 0 4px #fff; background: var(--gold); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line-2); padding-top: 12px; font-size: 17px; }
.sum-row.total b { font-family: var(--serif); font-weight: 400; font-size: 24px; }

/* Thank you */
.done { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-bottom: 20px; }
.done p { margin: 0; color: var(--ink-2); font-size: 17px; }
.done-tick { width: 84px; height: 84px; border-radius: 50%; background: var(--cream-3); display: flex; align-items: center; justify-content: center; }
.done-box { width: 100%; text-align: left; }

/* Footer */
.site-foot { background: var(--ink); color: #D9CDB0; margin-top: 64px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; padding-top: 48px; padding-bottom: 28px; }
.foot-row > div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot-brand { flex: 1 1 260px; max-width: 360px; }
.foot-brand p { margin: 6px 0 0; line-height: 1.6; }
.site-foot h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--gold-light); text-transform: uppercase; }
.site-foot a { color: #D9CDB0; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.copy { border-top: 1px solid #45392A; padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #B5A887; }

/* ---------- Live touches ---------- */

/* Top bar messages */
.topline span { display: inline-block; animation: tl-in .5s ease; }
@keyframes tl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Fade in while scrolling (only when JavaScript is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Product cards: lift, zoom and second photo on hover */
.card-p { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card-img { overflow: hidden; }
.card-img img { transition: transform .5s ease, opacity .4s ease; }
.card-img .img-2 { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card-p:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(42,34,22,.10); border-color: var(--line-2); }
  .card-p:hover .card-img img { transform: scale(1.05); }
  .card-p:hover .card-img .img-2 { opacity: 1; }
}
.tags-left { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.tags-left .tag-sale { position: static; }
.tag-best { background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.low { font-size: 13px; font-weight: 600; color: var(--red); margin-top: -4px; }

/* Busy button while adding */
.btn-line.busy, .btn.busy { opacity: .6; cursor: progress; }

/* Cart badge bounce */
.badge.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* "Added to cart" message */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 50; max-width: calc(100% - 32px); background: var(--ink); color: #F3E3B5; border-radius: 14px; padding: 12px 16px; display: flex; gap: 16px; align-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s, transform .3s; font-size: 15px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--gold-light); font-weight: 700; white-space: nowrap; }
.toast.bad { background: var(--red); color: #fff; }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.toast.show ~ .wa-float, body:has(.toast.show) .wa-float { bottom: 84px; }

/* Social icons */
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #5A4A30; display: flex; align-items: center; justify-content: center; color: #E8DCC0; }
.socials a:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Anything marked hidden must stay hidden, even if a rule above sets display */
[hidden] { display: none !important; }

/* ---------- Videos ---------- */
.vrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.vrow-wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); overflow: visible; }
.vcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.vplay { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--ink); cursor: pointer; color: #fff; text-align: left; }
.vbg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.55); }
.vplay img { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.vcard.is-vertical .vplay img { top: 0; transform: none; height: 100%; aspect-ratio: auto; }
.vplay:hover img { transform: translateY(-50%) scale(1.04); }
.vcard.is-vertical .vplay:hover img { transform: scale(1.04); }
.vicon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,253,246,.92); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.vplay:hover .vicon { transform: translate(-50%, -50%) scale(1.1); }
.vtitle { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vshop { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-decoration: none; color: var(--ink); }
.vshop img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.vshop b { display: block; font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.vshop span span { font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.vmodal { position: fixed; inset: 0; z-index: 60; background: rgba(20,16,10,.85); display: flex; align-items: center; justify-content: center; padding: 16px; }
.vmodal-box { position: relative; width: min(960px, 100%); }
.vframe { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.vframe.vertical { width: min(420px, 100%, calc((100vh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vclose { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.no-scroll { overflow: hidden; }

/* Genuine vs fake */
.genuine-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; background: var(--ink); color: #F3E3B5; border-radius: 20px; padding: 22px 26px; text-decoration: none; }
.genuine-strip > span:nth-child(2) { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.genuine-strip b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: #fff; }
.genuine-strip .go { font-weight: 700; color: var(--gold-light); }
.genuine-head { display: flex; gap: 20px; align-items: flex-start; background: var(--cream-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-bottom: 28px; }
.genuine-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 760px; }
.genuine-head h1 { margin-top: 6px; }
.genuine-icon { color: var(--gold); flex: none; }
.genuine-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 48px; margin: 36px 0 24px; }
.genuine-brands img { height: 64px; width: auto; }
@media (max-width: 600px) { .genuine-head { flex-direction: column; padding: 22px; } }

/* Follow our brands */
.follow-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.follow-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.follow-card > img { height: 70px; width: auto; }
.follow-name { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.follow-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.fbtn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.foot-follow .follow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.foot-follow .socials a { width: 36px; height: 36px; }

/* Ask on WhatsApp (product page) */
.ask-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1.5px solid #25D366; color: #128C4A; font-weight: 700; text-decoration: none; background: #F1FBF4; }
.ask-wa:hover { background: #25D366; color: #fff; }

/* =====================================================================
   ACCOUNTS, WISHLIST, TRACKING (Phase A)
   ===================================================================== */
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; position: relative; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn.is-in::after { content: ""; position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: #3F8A3A; border: 2px solid var(--card); }
@media (max-width: 479px) { .head-tools { gap: 6px; } .icon-btn, .cart-btn { width: 40px; height: 40px; } .search { padding: 0 12px; } }
@media (min-width: 1000px) { .head-tools { flex: 0 0 440px; } }

/* hearts */
.card-p { position: relative; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,253,246,.92); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.heart svg { fill: none; transition: transform .2s ease; }
.heart[aria-pressed="true"] { color: #B23A2A; }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.heart.pop svg { transform: scale(1.25); }
.card-p .tag-brand { top: auto; bottom: 10px; right: auto; left: 10px; }
.pd-title { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.heart-lg { position: static; width: 46px; height: 46px; flex: none; margin-top: 4px; }

/* small helpers */
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btns.center { justify-content: center; }
.center { text-align: center; }
.h2 { font-size: clamp(26px, 3vw, 36px); }
.link-u { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.box .check-line { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.box input[type=checkbox], .box input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; accent-color: var(--gold); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }

/* login */
.auth-box { max-width: 480px; margin: 0 auto; }
.auth-box h1 { font-size: clamp(28px, 4vw, 38px); }
.code-input { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-family: var(--serif) !important; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.auth-perks { margin: 0; padding: 14px 16px 14px 34px; background: var(--cream-2); border-radius: 14px; color: var(--ink-2); font-size: 14px; }
.auth-perks li + li { margin-top: 4px; }

/* account */
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.acct-title { font-size: clamp(28px, 4vw, 40px); margin-top: 4px; }
.acct-tabs { display: flex; gap: 6px; margin: 22px 0 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.acct-tabs a { padding: 10px 14px; white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.acct-tabs a[aria-current] { color: var(--gold-dark); box-shadow: inset 0 -3px var(--gold); }
.acct-cta { margin-top: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.acct-cta p { margin: 0; flex: 1 1 260px; }
.ord-list { display: grid; gap: 14px; }
@media (min-width: 800px) { .ord-list { grid-template-columns: 1fr 1fr; } }
.ord-card { text-decoration: none; color: var(--ink); gap: 6px; transition: border-color .2s; }
.ord-card:hover { border-color: var(--gold); }
.ord-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; }
.ord-card-items { color: var(--ink-2); font-size: 14px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--cream-2); color: var(--gold-dark); white-space: nowrap; }
.pill-sent { background: #E6EEF7; color: #1E3F66; }
.pill-delivered { background: #E5F0DE; color: var(--green); }
.pill-cancelled, .pill-returned { background: #F4E4E0; color: var(--red); }
.ord-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ord-head h1 { font-size: clamp(28px, 4vw, 38px); margin: 2px 0; }
.ord-grid { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 800px) { .ord-grid { grid-template-columns: 1.3fr 1fr; } }
.addr { margin: 0; line-height: 1.6; }
.steps-track { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.steps-track li span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); position: relative; z-index: 1; }
.steps-track li::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.steps-track li:first-child::before { display: none; }
.steps-track li.done { color: var(--gold-dark); }
.steps-track li.done span { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--card); }
.steps-track li.done::before { background: var(--gold); }
.notes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.notes-list li { background: var(--cream-2); border-radius: 12px; padding: 12px 14px; }
.notes-list p { margin: 0 0 4px; }
.addr-list { display: grid; gap: 14px; margin-bottom: 16px; }
@media (min-width: 800px) { .addr-list { grid-template-columns: 1fr 1fr; } }
.addr-card { gap: 8px; }
.addr-form { max-width: 720px; }

/* checkout: saved addresses */
.saved-addr { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.saved-addr legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.box .addr-pick { flex-direction: row; align-items: center; gap: 12px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.box .addr-pick:has(input:checked) { border-color: var(--gold); background: var(--cream-2); }

.sum-row b { white-space: nowrap; }

/* =====================================================================
   HELP CHAT (Phase B)
   ===================================================================== */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.chat-bubble { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--gold); box-shadow: 0 10px 26px rgba(42,34,22,.28); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.chat-bubble:hover { background: var(--gold-dark); }
.chat.is-open .chat-bubble { display: none; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #C0392B; border: 2px solid #fff; }
.chat-panel { position: fixed; right: 18px; bottom: 18px; width: 370px; max-width: calc(100vw - 24px); height: min(600px, calc(100vh - 36px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px rgba(42,34,22,.25); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none !important; }
@media (max-width: 640px) { .chat-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; } .chat { right: 14px; bottom: 14px; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; background: var(--ink); color: #F3E3B5; }
.chat-head img { width: 76px; height: auto; flex: none; }
.chat-head div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.chat-head b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: #fff; }
.chat-head span { font-size: 12px; opacity: .85; }
.chat-x { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; }
.chat-x:hover { background: rgba(255,255,255,.1); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.chat-msg { display: flex; flex-direction: column; max-width: 84%; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.them { align-self: flex-start; }
.chat-bub { padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; font-size: 15px; line-height: 1.45; }
.chat-msg.them .chat-bub { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.me .chat-bub { background: var(--gold); color: #fff; border-bottom-right-radius: 4px; }
.chat-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.chat-sys { align-self: center; text-align: center; font-size: 12px; color: var(--muted); background: var(--cream-2); border-radius: 999px; padding: 6px 12px; margin: 4px 0; }
.chat-new { align-self: center; }
.chat-start { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); background: var(--card); max-height: 60%; overflow-y: auto; }
.chat-start[hidden], .chat-send[hidden] { display: none; }
.chat-start label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.chat-start label span { font-weight: 400; color: var(--muted); }
.chat-start input, .chat-start textarea, .chat-send textarea { font: 15px var(--sans); border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; background: #fff; color: var(--ink); width: 100%; }
.chat-intro { margin: 0; font-size: 13px; color: var(--muted); }
.chat-err { margin: 0; color: var(--red); font-size: 13px; font-weight: 600; }
.chat-send { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); align-items: flex-end; }
.chat-send .chat-err { width: 100%; }
.chat-send textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; }
.chat-send button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--gold); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px 10px; font-size: 13px; background: var(--card); }
.chat-foot a { display: inline-flex; align-items: center; gap: 6px; color: #1E7A45; text-decoration: none; font-weight: 600; margin-left: auto; }

/* =====================================================================
   SUGGESTIONS AND COMBOS (Phase C)
   ===================================================================== */
.sum-row.saving { color: var(--green); }
.combo { background: var(--card); border: 1.5px solid var(--gold); border-radius: 20px; padding: 18px; display: grid; gap: 14px; }
.combo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.combo-head h3 { margin: 2px 0 0; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.combo-save { background: #E5F0DE; color: var(--green); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.combo-items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.combo-items a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; text-align: center; font-size: 12px; color: var(--ink-2); text-decoration: none; }
.combo-items img { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.combo-plus { font-size: 22px; color: var(--gold); font-weight: 300; }
.combo-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.combo-buy .price { font-size: 22px; font-weight: 700; }
.combo-buy s { color: var(--muted); }
.combos { display: grid; gap: 16px; }
@media (min-width: 900px) { .combos { grid-template-columns: 1fr 1fr; } }

/* phone: a square banner sits in the middle of the slideshow */
@media (max-width: 639px) { .slide-pic { align-self: center; } .slide-pic picture, .slide-pic a { display: block; } }

/* Help chat: quick answers (FAQ buttons) and "Did this answer your question?" */
.chat-faqs { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 2px; }
.chat-faqs-t { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.chat-faq { text-align: left; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.35; cursor: pointer; }
.chat-faq:hover { border-color: var(--gold); background: var(--cream-2); }
.chat-faq:disabled { opacity: .6; cursor: progress; }
.chat-fb { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--muted); }
.chat-fb-btn { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); background: #fff; color: var(--gold-dark); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-fb-btn:hover { background: var(--gold); color: #fff; }
.chat-fb-btn:disabled { opacity: .5; cursor: default; }

/* FAQ block on product and Genuine pages */
.faq-block { margin: 28px 0; }
.faq-block h2 { margin: 0 0 10px; }
.faq-block details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq-block summary { cursor: pointer; font-weight: 600; }
.faq-block details p { margin: 8px 0 0; color: var(--ink-2); }
