/* ============================================
   Kanya - 1 Gram Gold Jewellery · USA
   ============================================ */

:root {
  --ivory: #faf7f2;
  --cream: #f3ede3;
  --charcoal: #1c1a17;
  --ink: #2b2822;
  --gold: #c6a15b;
  --gold-dark: #a98842;
  --gold-light: #e8d5ae;
  --rose: #b76e79;
  --muted: #7d766b;
  --line: #e4dcce;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(28, 26, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 26, 23, 0.16);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.container { width: min(1200px, 92%); margin: 0 auto; }

section { padding: 80px 0; }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-bottom: 14px;
  font-weight: 500;
}

.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }

/* the serif font's "1" reads like a capital I at display sizes -
   swap it to the sans font so it's unmistakably a numeral */
.num-1 { font-family: var(--sans); font-weight: 600; }

.section-intro { color: var(--muted); max-width: 560px; margin-bottom: 40px; }

.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--charcoal);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  line-height: 1.5;
}
.announce-short { display: none; }
@media (max-width: 700px) {
  .announce { font-size: 0.68rem; letter-spacing: 0.08em; padding: 8px 10px; }
  .announce-full { display: none; }
  .announce-short { display: inline; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.logo .logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 5px;
}

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}
.cart-btn:hover { color: var(--gold-dark); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--ivory);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline { background: transparent; color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); }

.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-small { padding: 10px 22px; font-size: 0.72rem; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(198, 161, 91, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(183, 110, 121, 0.10), transparent 50%),
    linear-gradient(160deg, #211e19 0%, #2e2a23 55%, #241f18 100%);
  color: var(--ivory);
  padding: 0;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  padding: 60px 0;
}

.hero-text .section-label { color: var(--gold-light); }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  color: rgba(250, 247, 242, 0.78);
  max-width: 460px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(250, 247, 242, 0.5); color: var(--ivory); }
.hero .btn-outline:hover { background: var(--ivory); color: var(--charcoal); }
.hero .btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--charcoal); }

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 78% 28%, rgba(230, 168, 80, 0.28), transparent 55%),
    radial-gradient(ellipse at 12% 85%, rgba(216, 27, 96, 0.2), transparent 55%),
    linear-gradient(100deg, rgba(35, 9, 23, 0.95) 0%, rgba(35, 9, 23, 0.88) 28%, rgba(45, 15, 38, 0.55) 50%, rgba(45, 15, 38, 0.28) 70%, rgba(45, 15, 38, 0.15) 100%);
}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  background: rgba(0, 0, 0, 0.18);
}
.hero-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hero-strip span {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-strip svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 24px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.category-card .cat-art { width: 92px; height: 92px; margin: 0 auto 20px; }
.category-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.category-card p { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.product-media svg { width: 68%; height: 68%; transition: transform 0.45s ease; }
.product-card:hover .product-media svg { transform: scale(1.08) rotate(-2deg); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--charcoal);
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.badge.badge-new { background: var(--gold); color: var(--white); }
.badge.badge-limited { background: var(--rose); color: var(--white); }

.product-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.product-name { font-size: 1.25rem; font-weight: 600; }
.product-price { color: var(--gold-dark); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.04em; }

/* Sale pricing */
.price-block { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.price-current { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.price-original { color: var(--muted); font-size: 0.9rem; text-decoration: line-through; }
.price-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: #c53030; color: #fff; padding: 2px 7px; border-radius: 2px; }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 0.88rem; color: var(--muted); margin-bottom: 6px; text-decoration: none; width: fit-content; }
.product-rating:hover { color: var(--gold-dark); }
.prc-star { color: #c9a84c; font-size: 1rem; }
.prc-count { color: var(--muted); font-size: 0.82rem; }
.prc-none { color: var(--muted); opacity: 0.6; font-size: 0.82rem; }
.prc-star-empty { color: #c9a84c; font-size: 1rem; opacity: 0.5; }
.product-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; }
.product-actions .btn { flex: 1; text-align: center; padding: 11px 8px; font-size: 0.7rem; }
.btn-card-share {
  display: block; width: 100%; margin-top: 6px;
  background: none; border: none; color: var(--muted);
  font-size: 0.72rem; cursor: pointer; padding: 4px 0;
  font-family: var(--sans); letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-card-share:hover { color: var(--gold-dark); }

/* ---------- Wishlist heart button ---------- */
.btn-wishlist {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}
.btn-wishlist:hover { background: #fff; transform: scale(1.12); }
.btn-wishlist svg { width: 17px; height: 17px; transition: fill 0.2s, stroke 0.2s; }
.btn-wishlist.active svg { fill: #e53e3e; stroke: #e53e3e; }
.btn-wishlist:not(.active) svg { fill: none; stroke: #888; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-group { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-chip {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-chip.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.sort-select {
  font-family: var(--sans);
  font-size: 0.8rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.results-count { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(198, 161, 91, 0.18), transparent 55%),
    linear-gradient(160deg, #211e19, #2c2820);
  color: var(--ivory);
  text-align: center;
  padding: 76px 0;
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
.page-hero p { color: rgba(250, 247, 242, 0.75); max-width: 540px; margin: 14px auto 0; }

/* ---------- Values / trust ---------- */
.values-band { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.values-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.value-item { text-align: center; padding: 10px; }
.value-item svg { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--gold-dark); }
.value-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-item p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Story split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-art {
  background:
    radial-gradient(ellipse at 60% 35%, rgba(198, 161, 91, 0.3), transparent 60%),
    linear-gradient(150deg, #262219, #332d24);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.split-art svg { width: min(320px, 90%); height: auto; }
.split-art-logo { width: min(230px, 70%); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4)); }
.split-text .btn { margin-top: 26px; }
.split-text p + p { margin-top: 16px; }
.split-text p { color: var(--muted); }

/* long-form story narrative (About page) */
.story-icon { width: 90px; height: auto; margin: 0 auto 20px; }
.story-prose { max-width: 720px; margin: 0 auto; text-align: left; }
.story-prose p { color: var(--muted); }
.story-prose p + p { margin-top: 16px; }
.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: #571a35;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 8px 0 20px;
}
.story-prose h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #571a35;
  margin: 34px 0 4px;
}
.story-list { list-style: none; margin: 18px 0; }
.story-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  margin-bottom: 14px;
}
.story-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.story-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
}
.testimonial .stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial blockquote { font-family: var(--serif); font-size: 1.18rem; font-style: italic; margin-bottom: 20px; }
.testimonial cite { font-style: normal; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.testimonial h3 { font-size: 1.35rem; margin-bottom: 10px; }
.testimonial p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--charcoal); color: var(--ivory); text-align: center; }
.newsletter .section-title { color: var(--ivory); }
.newsletter p { color: rgba(250, 247, 242, 0.7); max-width: 480px; margin: 0 auto 30px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(250, 247, 242, 0.3);
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(250, 247, 242, 0.45); }
.newsletter-form .btn { border-left: none; }
.form-note { font-size: 0.78rem; margin-top: 14px; color: rgba(250, 247, 242, 0.5); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  background: #eef5ec;
  border: 1px solid #bcd8b4;
  color: #38623a;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }

.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  margin-bottom: 20px;
}
.store-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.store-card .store-tag { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; display: block; }
.store-card p { font-size: 0.9rem; color: var(--muted); }
.store-card p + p { margin-top: 4px; }
.store-card a { color: var(--gold-dark); }
.store-card a:hover { text-decoration: underline; }

/* ---------- About page ---------- */
.stats-band { background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat h3 { font-size: 2.6rem; color: var(--gold-dark); font-weight: 500; }
.stat p { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .year { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-dark); font-weight: 600; }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  height: 100dvh;
  background: var(--ivory);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.4rem; }
.cart-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.cart-close:hover { color: var(--charcoal); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 26px; }

.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.cart-empty svg { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--gold); }

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-art { width: 74px; height: 74px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.cart-item-art svg { width: 74%; height: 74%; }
.cart-item-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.cart-item-price { font-size: 0.85rem; color: var(--gold-dark); margin-top: 2px; }

.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-controls button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--ink);
}
.qty-controls button:hover { border-color: var(--gold); color: var(--gold-dark); }
.qty-controls span { font-size: 0.85rem; min-width: 18px; text-align: center; }

.cart-item-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cart-item-remove:hover { color: var(--rose); }

.cart-foot { border-top: 1px solid var(--line); padding: 22px 26px; background: var(--white); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; color: var(--muted); }
.cart-total-row.grand { font-size: 1.15rem; color: var(--ink); font-weight: 600; margin: 10px 0 18px; }
.cart-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--charcoal);
  color: var(--ivory);
  padding: 14px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  z-index: 120;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .gold { color: var(--gold-light); }

/* ---------- Modal (quick view) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.55);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--ivory);
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.modal-art { display: flex; align-items: center; justify-content: center; padding: 40px; }
.modal-art svg { width: 85%; height: auto; }
.modal-body { padding: 44px 38px; }
.modal-body .product-cat { margin-bottom: 8px; display: block; }
.modal-body h2 { font-size: 2rem; margin-bottom: 10px; }
.modal-body .product-price { font-size: 1.3rem; margin-bottom: 18px; }
.modal-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 26px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  z-index: 2;
}
.modal-close:hover { color: var(--charcoal); }
.modal-meta { list-style: none; margin-bottom: 26px; }
.modal-meta li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.modal-meta li strong { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(250, 247, 242, 0.72); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 46px;
  padding-bottom: 50px;
}
.footer-grid h4 { color: var(--ivory); font-size: 1.05rem; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand .logo-name { color: var(--ivory); }
.footer-brand p { font-size: 0.88rem; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 60px 0; }
  .hero-inner { text-align: center; min-height: unset; }
  .hero-text .section-intro, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero::before {
    background:
      radial-gradient(ellipse at 50% 20%, rgba(230, 168, 80, 0.22), transparent 55%),
      linear-gradient(180deg, rgba(35, 9, 23, 0.9) 0%, rgba(45, 15, 38, 0.82) 60%, rgba(45, 15, 38, 0.75) 100%);
  }
  .category-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-art { padding: 30px 30px 0; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    padding: 90px 8% 30px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 95;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav-toggle { display: block; position: relative; z-index: 96; }
}

@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .category-card { padding: 24px 12px 20px; }
  .category-card .cat-art { width: 64px; height: 64px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-info { padding: 14px; }
  .product-actions { flex-direction: column; }
  .newsletter-form { flex-direction: column; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-strip .container { justify-content: center; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 16px; }
}

/* ============================================
   Glamour pack - animations & flourishes
   ============================================ */

::selection { background: var(--gold); color: #ffffff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-dark)); border-radius: 6px; }

@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 0.15; transform: scale(0.55); } }
@keyframes shimmerText { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* entrance animations */
.hero-text > * { opacity: 0; animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.22s; }
.hero-text > *:nth-child(3) { animation-delay: 0.36s; }
.hero-text > *:nth-child(4) { animation-delay: 0.5s; }
.hero-bg-photo { opacity: 0; transform: scale(1.06); animation: heroPhotoIn 1.4s ease forwards; }
@keyframes heroPhotoIn { to { opacity: 1; transform: scale(1); } }
.page-hero .container > * { opacity: 0; animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.15s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.3s; }

/* golden shimmer on the hero highlight */
.hero-title em {
  background: linear-gradient(100deg, var(--gold-light) 20%, #fff8e1 40%, var(--gold) 60%, var(--gold-light) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 3.5s linear infinite;
}

/* floating sparkles in the hero */
.hero-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-sparkles span { position: absolute; color: var(--gold-light); animation: twinkle 3.2s ease-in-out infinite; }
.tw { animation: twinkle 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: none; }

/* section title ornament */
.center .section-title::after {
  content: "· ✦ ·";
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 12px;
}

/* button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}
.btn:hover::after { left: 130%; transition: left 0.6s ease; }

/* product & category card glamour */
.product-card:hover { border-color: var(--gold); box-shadow: 0 22px 55px rgba(198, 161, 91, 0.3); }
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-110%);
}
.product-card:hover .product-media::after { transform: translateX(110%); transition: transform 0.75s ease; }
.category-card .cat-art svg { transition: transform 0.4s ease; }
.category-card:hover .cat-art svg { transform: scale(1.12) rotate(-5deg); }
.testimonial { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s; }
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }

/* gold marquee ribbon */
.marquee {
  background: var(--charcoal);
  color: var(--gold-light);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(232, 213, 174, 0.16);
  border-bottom: 1px solid rgba(232, 213, 174, 0.16);
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  flex: none;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--gold); padding: 0 22px; }

/* header shadow on scroll + cart bump */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 12px 30px rgba(28, 26, 23, 0.1); }
.cart-count.bump { animation: bump 0.45s ease; }

/* accessibility: honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-text > *, .hero-bg-photo, .page-hero .container > * { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   Royal colour theme - maroon, plum, rani pink
   & jewel tones layered over the gold base
   ============================================ */

:root {
  --maroon: #6d1f3a;
  --maroon-deep: #46102e;
  --plum: #2a1150;
  --rani: #c2185b;
  --rani-bright: #d81b60;
  --emerald-c: #1d7a5f;
  --royal-c: #5a35a8;
  --peach-bg: #fdeee2;
  --blush-bg: #fbe3ea;
  --mint-bg: #e2f4ec;
  --lav-bg: #ece5fa;
}

body { background: #fdf7f0; }

/* announce bar: white with black text, gold accents */
.announce {
  position: relative;
  background: #ffffff;
  color: #1c1a17;
}
.announce::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, #c6a15b 18%, #e8d5ae 50%, #c6a15b 82%, transparent);
}
.announce strong { color: #8a2049; font-weight: 600; }
.announce i { font-style: normal; color: var(--gold); padding: 0 12px; }
.marquee {
  background: linear-gradient(90deg, var(--maroon-deep), var(--plum));
  border-color: rgba(255, 223, 174, 0.25);
}

/* colourful heroes */
.hero {
  background:
    radial-gradient(ellipse at 78% 28%, rgba(230, 168, 80, 0.32), transparent 55%),
    radial-gradient(ellipse at 12% 85%, rgba(216, 27, 96, 0.25), transparent 55%),
    linear-gradient(150deg, var(--maroon-deep) 0%, #5c1638 45%, var(--plum) 100%);
}
.page-hero {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(230, 168, 80, 0.28), transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(216, 27, 96, 0.2), transparent 50%),
    linear-gradient(150deg, var(--maroon-deep), #32124e);
}
.hero-strip { background: rgba(20, 6, 26, 0.35); }

/* brand accents */
.logo-sub { color: var(--rani); }
.main-nav a:hover, .main-nav a.active { color: var(--rani); border-color: var(--rani); }
.section-label { color: var(--rani); }
.hero-text .section-label, .page-hero .section-label, .newsletter .section-label { color: var(--gold-light); }
.section-title { color: #571a35; }
.center .section-title::after { color: var(--rani-bright); }
.cart-count { background: var(--rani-bright); }

/* buttons with richer colour */
.btn:hover { background: #8a2049; border-color: #8a2049; }
.btn-outline:hover { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.btn-gold { background: linear-gradient(135deg, #eab54d, #c07f1a); border-color: #c07f1a; }
.btn-gold:hover { background: linear-gradient(135deg, #f3c76a, #d29222); border-color: #d29222; }
.hero .btn-outline:hover { background: var(--ivory); color: var(--maroon-deep); }
.hero .btn-gold:hover { background: linear-gradient(135deg, #ffe1a1, #eab54d); border-color: #eab54d; color: #46102e; }

/* pastel category cards, each with its own hue */
.category-grid .category-card:nth-child(1) { background: var(--blush-bg); border-color: #f3c3d2; }
.category-grid .category-card:nth-child(2) { background: var(--mint-bg); border-color: #b9e2cf; }
.category-grid .category-card:nth-child(3) { background: var(--lav-bg); border-color: #d5c7f0; }
.category-grid .category-card:nth-child(4) { background: var(--peach-bg); border-color: #f2d3b3; }
.category-grid .category-card:nth-child(1) p { color: #a02952; }
.category-grid .category-card:nth-child(2) p { color: var(--emerald-c); }
.category-grid .category-card:nth-child(3) p { color: var(--royal-c); }
.category-grid .category-card:nth-child(4) p { color: #b07414; }

/* colourful badges */
.badge { background: linear-gradient(135deg, #7a1f3d, #a02952); color: #ffe9c9; }
.badge.badge-new { background: linear-gradient(135deg, #0f7a5c, #16a085); color: #eafff7; }
.badge.badge-limited { background: linear-gradient(135deg, var(--rani), #e91e8c); color: #ffffff; }

/* value items: tinted icon medallions */
.value-item svg { width: 58px; height: 58px; padding: 14px; border-radius: 50%; box-sizing: border-box; }
.values-grid .value-item:nth-child(1) svg { color: #a02952; background: var(--blush-bg); }
.values-grid .value-item:nth-child(2) svg { color: var(--emerald-c); background: var(--mint-bg); }
.values-grid .value-item:nth-child(3) svg { color: var(--royal-c); background: var(--lav-bg); }
.values-grid .value-item:nth-child(4) svg { color: #b07414; background: var(--peach-bg); }
.values-band { background: linear-gradient(120deg, #fbf0e5, var(--blush-bg)); }

/* why-cards / testimonials: pastel tints with coloured crowns */
.testimonial-grid .testimonial:nth-child(1) { background: var(--blush-bg); border-color: #f3c3d2; border-top: 3px solid var(--rani); }
.testimonial-grid .testimonial:nth-child(2) { background: var(--mint-bg); border-color: #b9e2cf; border-top: 3px solid var(--emerald-c); }
.testimonial-grid .testimonial:nth-child(3) { background: var(--lav-bg); border-color: #d5c7f0; border-top: 3px solid var(--royal-c); }
.testimonial-grid .testimonial:nth-child(1) .stars { color: var(--rani); }
.testimonial-grid .testimonial:nth-child(2) .stars { color: var(--emerald-c); }
.testimonial-grid .testimonial:nth-child(3) .stars { color: var(--royal-c); }
.testimonial p { color: #6b5a62; }

/* colourful stats */
.stats-band { background: linear-gradient(120deg, var(--peach-bg), var(--blush-bg) 50%, var(--lav-bg)); }
.stats-grid .stat:nth-child(1) h3 { color: #b02a4c; }
.stats-grid .stat:nth-child(2) h3 { color: var(--emerald-c); }
.stats-grid .stat:nth-child(3) h3 { color: var(--royal-c); }
.stats-grid .stat:nth-child(4) h3 { color: #b07414; }

/* journey steps in rotating hues */
.timeline-item:nth-child(1) .year { color: #b02a4c; }
.timeline-item:nth-child(2) .year { color: var(--emerald-c); }
.timeline-item:nth-child(3) .year { color: var(--royal-c); }
.timeline-item:nth-child(4) .year { color: var(--rani-bright); }
.timeline-item:nth-child(5) .year { color: #b07414; }

/* contact cards with coloured spines */
.store-card { border-left: 4px solid var(--gold); }
.contact-layout .store-card:nth-child(1) { border-left-color: var(--rani); }
.contact-layout .store-card:nth-child(2) { border-left-color: var(--emerald-c); }
.contact-layout .store-card:nth-child(3) { border-left-color: var(--royal-c); }
.contact-layout .store-card:nth-child(4) { border-left-color: #b07414; }

/* filter chips */
.filter-chip:hover { border-color: var(--rani); color: var(--rani); }
.filter-chip.active { background: linear-gradient(135deg, var(--maroon), #8a2049); border-color: #8a2049; color: #ffe9c9; }

/* story split art on a rich teal-to-royal canvas */
.split-art {
  background:
    radial-gradient(ellipse at 60% 35%, rgba(240, 200, 120, 0.35), transparent 60%),
    linear-gradient(150deg, #17453a, #232a6b);
}

/* dark bands in plum & maroon */
.newsletter {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(230, 168, 80, 0.25), transparent 55%),
    linear-gradient(140deg, var(--maroon-deep), var(--plum));
}
.site-footer { background: linear-gradient(160deg, #300f26, #1e0b33); }

/* toast & scrollbar sparkle */
.toast { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); border-left: 3px solid var(--gold); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--rani-bright)); }

/* logo in the footer */
.footer-logo { height: 72px; width: auto; margin-bottom: 10px; }

/* dark royal header so the gold logo pops */
.site-header {
  background: linear-gradient(90deg, #2b0c1e, #46102e 55%, #2a1150);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(232, 213, 174, 0.25);
}
.main-nav a { color: rgba(250, 247, 242, 0.88); }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-color: var(--gold); }
.cart-btn { color: var(--ivory); }
.cart-btn:hover { color: var(--gold-light); }
.site-header .account-btn { color: var(--ivory); }
.site-header .account-btn:hover { color: var(--gold-light); }
.nav-toggle { color: var(--ivory); }
.site-header.scrolled { box-shadow: 0 12px 32px rgba(20, 6, 26, 0.5); }
@media (max-width: 960px) {
  .main-nav {
    background: linear-gradient(160deg, #2b0c1e, #341332);
    border-bottom: 1px solid rgba(232, 213, 174, 0.25);
  }
  .main-nav a { border-bottom: 1px solid rgba(232, 213, 174, 0.15); }
}

/* Kanya logo in the header */
.logo { flex-direction: row; align-items: center; gap: 12px; }
.logo-img { height: 50px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-horizontal { height: 56px; }
@media (max-width: 560px) {
  .logo-img { height: 40px; }
  .logo-horizontal { height: 44px; }
  .logo .logo-name { font-size: 1.3rem; }
}

/* real product photos (card carousel + modal gallery) */
.badge { z-index: 3; }
.product-media img.card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-media img.card-photo.active { opacity: 1; }
.product-card.sold-out .product-media img { filter: grayscale(0.85) brightness(0.8); opacity: 0.75; }
.product-card.sold-out .product-media img.card-photo:not(.active) { opacity: 0; }
.cart-item-art img { width: 100%; height: 100%; object-fit: cover; }

/* card carousel arrows + dots */
.card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--maroon-deep);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(28, 26, 23, 0.2);
}
.card-nav.prev { left: 10px; }
.card-nav.next { right: 10px; }
.card-nav:hover { background: #fff; color: var(--rani); }
.product-card:hover .card-nav { opacity: 1; }
.card-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 2;
}
.card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(28, 26, 23, 0.35);
  transition: background 0.2s ease;
}
.card-dot.active { background: var(--gold); }
@media (hover: none) {
  .card-nav { opacity: 1; background: rgba(255, 255, 255, 0.8); }
}

.modal-art { flex-direction: column; gap: 12px; }
.modal-photo-wrap { position: relative; width: 100%; overflow: hidden; }
.modal-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; cursor: inherit; }

/* ---------- Professional zoom cursor + hover badge ---------- */
.pp-main-wrap,
.modal-photo-wrap {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='13' cy='13' r='8.5' fill='white' stroke='%23222' stroke-width='2'/%3E%3Cline x1='13' y1='9.5' x2='13' y2='16.5' stroke='%23222' stroke-width='1.8' stroke-linecap='round'/%3E%3Cline x1='9.5' y1='13' x2='16.5' y2='13' stroke='%23222' stroke-width='1.8' stroke-linecap='round'/%3E%3Cline x1='19.5' y1='19.5' x2='27' y2='27' stroke='%23222' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 13 13, zoom-in;
}
.pp-main-wrap::after,
.modal-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
  z-index: 1;
}
.pp-main-wrap:hover::after,
.modal-photo-wrap:hover::after {
  background: rgba(0,0,0,0.06);
}
.pp-zoom-badge,
.modal-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 1px 8px rgba(0,0,0,0.14);
}
.pp-main-wrap:hover .pp-zoom-badge,
.modal-photo-wrap:hover .modal-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Zoom lightbox ---------- */
.zoom-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center; justify-content: center;
}
.zoom-overlay.open { display: flex; }
.zoom-img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; user-select: none;
}
.zoom-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1; opacity: 0.75; padding: 4px;
}
.zoom-close:hover { opacity: 1; }
.zoom-prev, .zoom-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  font-size: 2rem; padding: 14px 18px; cursor: pointer;
  transition: background 0.2s; border-radius: 2px; line-height: 1;
}
.zoom-prev { left: 16px; }
.zoom-next { right: 16px; }
.zoom-prev:hover, .zoom-next:hover { background: rgba(255,255,255,0.25); }
.zoom-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65); font-size: 0.85rem; letter-spacing: 0.08em;
}
.modal-thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.modal-thumb {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid var(--line);
  background: none;
  cursor: pointer;
  opacity: 0.75;
  transition: border-color 0.2s, opacity 0.2s;
}
.modal-thumb:hover { opacity: 1; }
.modal-thumb.active { border-color: var(--gold); opacity: 1; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* shop search */
.search-input {
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-width: 180px;
}
.search-input:focus { outline: none; border-color: var(--gold); }

/* FAQ accordions */
.faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  margin-bottom: 12px;
  padding: 18px 22px;
}
.faq details:nth-child(odd) { border-left-color: var(--rani); }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rani); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 0.93rem; }

/* checkout delivery-details step (inside cart drawer) */
.cart-foot { overflow-y: auto; }
.checkout-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: #571a35; margin-bottom: 12px; }
.cart-foot .field { margin-bottom: 12px; }
.checkout-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.checkout-back {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
}
.checkout-back:hover { color: var(--rani); }


/* sold-out state */
.badge.badge-soldout { background: #57534e; color: #f5f0e8; }
.product-card.sold-out .product-media svg { filter: grayscale(0.85) brightness(0.8); opacity: 0.75; }
.product-card.sold-out:hover .product-media svg { transform: none; }
.btn[disabled] {
  background: #b9b2a6;
  border-color: #b9b2a6;
  color: #f7f3ea;
  cursor: not-allowed;
}
.btn[disabled]::after { display: none; }

/* WhatsApp ordering */
.btn-whatsapp {
  background: linear-gradient(135deg, #2bb35a, #128c50);
  border-color: #128c50;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-whatsapp:hover { background: linear-gradient(135deg, #33c765, #17a35e); border-color: #17a35e; }
.btn-whatsapp svg { width: 18px; height: 18px; flex: none; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2bb35a, #128c50);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 80, 0.45);
  z-index: 80;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 32px rgba(18, 140, 80, 0.55); }
.wa-float svg { width: 28px; height: 28px; }

/* hero shimmer picks up a hint of pink */
.hero-title em {
  background: linear-gradient(100deg, var(--gold-light) 15%, #fff8e1 35%, #f8c8dc 50%, var(--gold) 70%, var(--gold-light) 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Customer account icon & auth modal ---------- */

.account-wrap { position: relative; }

.account-btn {
  background: none; border: none; cursor: pointer;
  color: inherit; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; transition: color 0.2s;
}
.account-btn:hover { color: var(--gold); }

.account-initial {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* dropdown shown when customer is logged in */
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--line);
  min-width: 230px; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  z-index: 500; overflow: hidden;
  visibility: hidden; pointer-events: none;
  transform: translateY(-6px); opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.account-dropdown.open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.account-dd-header { background: var(--cream, #fdf9f5); padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.account-dd-name  { font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 2px; }
.account-dd-email { font-size: 0.75rem; color: var(--muted); word-break: break-all; }
.account-dd-links { padding: 8px 0; }
.account-dd-link {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 18px;
  text-align: left; font-size: 0.83rem; color: var(--ink);
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  transition: background 0.12s, color 0.12s;
}
.account-dd-link:hover { background: var(--cream, #fdf9f5); color: var(--gold-dark); }
.account-dd-link .dd-icon { font-size: 0.9rem; width: 16px; text-align: center; opacity: 0.6; }
.account-dd-divider { border: none; border-top: 1px solid var(--line); margin: 4px 0; }
.account-dd-signout {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 18px; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.83rem; color: #a02929;
  transition: background 0.12s;
}
.account-dd-signout:hover { background: #fdeceb; }

/* full-screen overlay */
.account-overlay {
  position: fixed; inset: 0; background: rgba(28,26,23,0.6);
  z-index: 800; display: none; backdrop-filter: blur(2px);
}
.account-overlay.open { display: block; }

/* centered split-panel dialog */
.account-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0; pointer-events: none;
  width: min(860px, 96vw); max-height: min(660px, 96vh);
  display: flex; overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.32);
  z-index: 801; background: var(--white);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.account-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; pointer-events: auto;
}

/* Left brand panel */
.auth-split-left {
  width: 42%; flex-shrink: 0;
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--maroon-deep) 0%, #5c1638 48%, var(--plum) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 32px;
}
.auth-split-left::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 25%, rgba(230,168,80,.28), transparent 55%),
    radial-gradient(ellipse at 12% 82%, rgba(216,27,96,.20), transparent 50%);
  pointer-events: none;
}
.auth-split-left::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,10,46,0.72) 0%, transparent 55%);
  pointer-events: none;
}
.auth-brand-content { position: relative; z-index: 1; color: #fff; }
.auth-brand-logo {
  height: 44px; width: auto; margin-bottom: 22px;
  object-fit: contain; object-position: left;
  filter: brightness(0) invert(1);
}
.auth-brand-divider {
  width: 28px; height: 1px;
  background: rgba(232,213,174,0.4); margin-bottom: 18px;
}
.auth-brand-headline {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  line-height: 1.2; color: var(--ivory);
}
.auth-brand-sub {
  font-size: 0.76rem; color: rgba(232,213,174,0.52);
  margin-top: 12px; line-height: 1.72; font-family: var(--sans);
}

/* Right form panel */
.auth-split-right {
  flex: 1; overflow-y: auto;
  padding: 52px 40px 36px;
  position: relative; background: var(--white);
}

.account-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 6px; display: flex;
  border-radius: 2px; z-index: 2;
}
.account-modal-close:hover { color: var(--charcoal); background: var(--cream); }

/* Mobile — hide left panel, full-screen form */
@media (max-width: 620px) {
  .account-modal {
    width: 100%; max-height: 100%; height: 100%;
    border-radius: 0; top: 0; left: 0;
    transform: translateY(6px) scale(1); opacity: 0;
  }
  .account-modal.open { transform: translateY(0) scale(1); opacity: 1; }
  .auth-split-left { display: none; }
  .auth-split-right { padding: 48px 24px 32px; }
}

/* tabs */
.auth-tab-row {
  display: flex; border-bottom: 2px solid var(--line); margin-bottom: 24px;
}
.auth-tab-btn {
  flex: 1; padding: 10px 0; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.auth-tab-btn.active { color: var(--maroon); border-bottom-color: var(--maroon); }

/* panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-sub { font-size: 0.84rem; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.auth-switch { font-size: 0.8rem; text-align: center; margin-top: 16px; color: var(--muted); }
.auth-switch a { color: var(--gold-dark); }
.auth-switch a:hover { text-decoration: underline; }

.auth-panel-msg {
  font-size: 0.81rem; padding: 10px 13px; margin-top: 10px; line-height: 1.5;
}
.auth-panel-msg.error { background: #fdeceb; color: #a02929; }
.auth-panel-msg.ok    { background: #e2f4ec; color: #1d7a5f; }

/* Social login buttons */
.auth-social-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--white); cursor: pointer; font-family: var(--sans);
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
}
.btn-social:hover { background: var(--cream); border-color: var(--gold-light); }
.auth-or-divider {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 14px;
}
.auth-or-divider span { font-size: 0.73rem; color: var(--muted); white-space: nowrap; }
.auth-or-divider::before, .auth-or-divider::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
/* Phone OTP sub-panel */
.phone-back-link {
  display: inline-block; font-size: 0.8rem; color: var(--muted); cursor: pointer;
  margin-bottom: 14px; text-decoration: underline;
}
.phone-back-link:hover { color: var(--gold-dark); }


/* Prevent iOS auto-zoom on input focus (triggered when font-size < 16px) */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* "or" divider between Pay by Card and WhatsApp buttons */
.cart-or {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin: 8px 0; display: flex; align-items: center; gap: 10px;
}
.cart-or::before, .cart-or::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* sign-in prompt / logged-in badge inside the cart checkout */
.cart-auth-note {
  font-size: 0.78rem; padding: 8px 10px; margin-bottom: 12px;
  background: var(--cream); border-left: 2px solid var(--gold);
  color: var(--muted); line-height: 1.4;
}
.cart-auth-note a { color: var(--gold-dark); font-weight: 500; }
.cart-auth-note a:hover { text-decoration: underline; }
.cart-auth-note--in {
  background: #e9f5ee; border-color: #2a9d6f; color: #1d6b4a;
}

/* ---------- Customer order history panel ---------- */

.account-greeting {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.account-greeting-initial {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 600; flex-shrink: 0;
  font-family: var(--sans);
}
.account-greeting-name  { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.account-greeting-email { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.orders-section-label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.orders-list { max-height: 360px; overflow-y: auto; }
.orders-loading, .orders-empty {
  font-size: 0.85rem; color: var(--muted); text-align: center; padding: 28px 0; line-height: 1.7;
}
.orders-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 20px; flex-wrap: wrap;
}
.orders-page-btn {
  padding: 7px 16px; font-size: 0.82rem; font-family: var(--sans);
  background: none; border: 0.5px solid var(--line); border-radius: 6px;
  color: var(--ink); cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.orders-page-btn:hover:not([disabled]) { background: var(--cream, #fdf9f4); border-color: var(--muted); }
.orders-page-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.orders-page-nums { display: flex; gap: 4px; }
.orders-page-num {
  width: 34px; height: 34px; font-size: 0.82rem; font-family: var(--sans);
  background: none; border: 0.5px solid transparent; border-radius: 6px;
  color: var(--muted); cursor: pointer; transition: all 0.15s;
}
.orders-page-num:hover { background: var(--cream, #fdf9f4); color: var(--ink); }
.orders-page-num.active {
  background: var(--gold-dark, #8b5e1a); color: #fff;
  border-color: var(--gold-dark, #8b5e1a);
}
.orders-empty a { color: var(--gold-dark); text-decoration: underline; }

/* Account sub-tabs (Orders | Addresses) */
.acct-tab-row {
  display: flex; border-bottom: 2px solid var(--line); margin: 16px 0 0;
}
.acct-tab-btn {
  flex: 1; padding: 9px 0; background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; font-size: 0.84rem; color: var(--muted); font-family: var(--sans);
  transition: color 0.15s;
}
.acct-tab-btn.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

.acct-panel { display: none; padding-top: 16px; }
.acct-panel.active { display: block; }

/* Address cards in account modal */
.addr-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; max-height: 380px; overflow-y: auto;
}
.addr-add-card {
  border: 1px dashed var(--line); border-radius: 6px;
  padding: 16px 14px; cursor: pointer; text-align: center;
  color: var(--muted); font-size: 0.84rem; font-family: var(--sans);
  transition: border-color 0.15s, color 0.15s; background: none; width: 100%;
  grid-column: 1 / -1;
}
.addr-add-card:hover { border-color: var(--gold); color: var(--gold-dark); }

.addr-card {
  border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px;
  background: var(--white); display: flex; flex-direction: column;
}
.addr-card-default-label {
  font-size: 0.72rem; color: var(--muted); margin-bottom: 6px;
}
.addr-card-default-label strong { color: var(--gold-dark); font-weight: 600; }
.addr-card-label { font-size: 0.75rem; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.addr-card-name  { font-weight: 700; font-size: 0.88rem; color: var(--ink); margin-bottom: 3px; }
.addr-card-line  { font-size: 0.81rem; color: var(--ink); line-height: 1.6; }
.addr-card-phone { font-size: 0.81rem; color: var(--ink); margin-top: 4px; }
.addr-card-actions {
  display: flex; gap: 0; margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--line); margin-top: 12px;
}
.addr-card-actions a {
  font-size: 0.78rem; color: var(--gold-dark); cursor: pointer;
  text-decoration: none; background: none; border: none;
  padding: 0; font-family: var(--sans);
}
.addr-card-actions a:hover { text-decoration: underline; color: var(--charcoal); }
.addr-card-actions .addr-act-sep {
  color: var(--line); padding: 0 8px; font-size: 0.78rem; user-select: none;
}
.addr-card-actions .addr-act-remove { color: var(--gold-dark); }
.addr-card-actions .addr-act-remove:hover { color: #a05252; }

/* Address form — centered popup modal */
.addr-form-wrap {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 901; width: min(480px, 92vw); max-height: 88vh; overflow-y: auto;
  background: var(--white); border-radius: 12px; padding: 24px;
  /* 100vmax spread doubles as a full-screen backdrop */
  box-shadow: 0 0 0 100vmax rgba(46,10,46,0.5), 0 24px 64px rgba(0,0,0,0.3);
  margin: 0;
}
.addr-form-title { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.addr-form-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.addr-form-check { margin: 10px 0 4px; font-size: 0.83rem; color: var(--ink); display: flex; align-items: center; gap: 7px; cursor: pointer; }
.addr-form-check input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--gold-dark); cursor: pointer; }
.field-optional { font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.addr-form-actions { display: flex; gap: 10px; margin-top: 14px; }
.addr-form-actions .btn { flex: 1; padding: 9px 0; font-size: 0.83rem; }

/* ── Order cards (Amazon-style) ── */
.order-card {
  border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 16px; background: var(--white); overflow: hidden;
}
.order-card-head {
  display: flex; gap: 0;
  background: #f8f4f0; border-bottom: 1px solid var(--line);
  padding: clamp(7px, 2.5vw, 12px) clamp(10px, 3vw, 16px);
}
.och-col { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.och-col.och-id { flex: 0 0 auto; text-align: right; }
.och-label { font-size: clamp(0.52rem, 1.8vw, 0.62rem); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.och-val   { font-size: clamp(0.68rem, 2.5vw, 0.82rem); font-weight: 600; color: var(--ink); word-break: break-word; }
.och-order-id { font-size: clamp(0.62rem, 2vw, 0.74rem); color: var(--muted); font-weight: 400; }

.order-card-status-row { padding: 8px 14px 0; }
.order-status-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0.03em;
}
.badge-placed    { background: #f0f0f0; color: #555; }
.badge-paid      { background: #e8f0fb; color: #1a4fa0; }
.badge-preparing { background: #fff7e6; color: #a06000; }
.badge-shipped   { background: #e8f0fb; color: #1a4fa0; }
.badge-delivered { background: #e6f4ee; color: #1a6e40; }
.badge-cancelled { background: #fdeceb; color: #a02929; }
.badge-refund    { background: #fff7e6; color: #a06000; }

.order-card-body  { padding: clamp(10px, 3vw, 14px) clamp(10px, 3.5vw, 16px) clamp(12px, 3.5vw, 16px); }
.order-card-items { margin-bottom: clamp(8px, 2.5vw, 14px); }
.order-item-row {
  display: flex; align-items: flex-start;
  gap: clamp(8px, 2.5vw, 12px); margin-bottom: clamp(8px, 2.5vw, 12px);
}
.order-item-row:last-child { margin-bottom: 0; }
.order-item-img {
  width: clamp(44px, 14vw, 64px); height: clamp(44px, 14vw, 64px); object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0;
}
.order-item-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.order-item-name {
  font-size: clamp(0.75rem, 2.8vw, 0.87rem); font-weight: 500; color: var(--ink);
  text-decoration: none; word-break: break-word;
}
.order-item-name:hover { color: var(--gold-dark); text-decoration: underline; }
.order-item-qty   { font-size: clamp(0.68rem, 2.2vw, 0.76rem); color: var(--muted); }
.order-item-price { font-size: clamp(0.72rem, 2.4vw, 0.82rem); font-weight: 600; color: var(--ink); }

.oc-status-banner {
  margin: 0 0 10px; padding: 9px 12px;
  font-size: 0.8rem; border-radius: 6px; line-height: 1.4;
}
.oc-cancelled { background: #fdeceb; color: #a02929; }
.oc-refund    { background: #fffbeb; color: #a06000; }
.oc-status-banner a { color: inherit; font-weight: 600; }

.oc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.oc-btn {
  display: inline-flex; align-items: center;
  padding: clamp(5px, 1.5vw, 8px) clamp(10px, 3vw, 14px);
  font-size: clamp(0.7rem, 2.4vw, 0.8rem); font-family: var(--sans);
  background: none; border: 1px solid var(--line);
  border-radius: 6px; color: var(--ink); cursor: pointer;
  text-decoration: none; transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.oc-btn:hover { background: #f5f0eb; border-color: var(--muted); }
.oc-btn-cancel { border-color: #c0392b; color: #c0392b; }
.oc-btn-cancel:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.oc-btn-cancel:disabled { opacity: 0.45; cursor: not-allowed; }
.oc-btn-return { color: var(--muted); }

/* Return modal */
#return-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 1200; display: none; align-items: center; justify-content: center; padding: 16px;
}
#return-modal-overlay.open { display: flex; }
#return-modal {
  background: var(--white); border-radius: 10px; width: 100%; max-width: 780px;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.rm-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.1rem; color: var(--muted); cursor: pointer; padding: 4px 8px;
  border-radius: 4px; z-index: 1;
}
.rm-close:hover { background: var(--cream); color: var(--ink); }
.rm-body { display: grid; grid-template-columns: 1fr 220px; min-height: 320px; }
.rm-left { padding: 28px 28px 28px 28px; border-right: 1px solid var(--line); }
.rm-right { padding: 24px 20px; background: var(--ivory, #fdf9f5); border-radius: 0 10px 10px 0; }
.rm-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.rm-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rm-item:last-child { border-bottom: none; }
.rm-item-check input { width: 16px; height: 16px; accent-color: var(--gold-dark); margin-top: 3px; cursor: pointer; }
.rm-item-info { flex: 1; }
.rm-item-name { font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.rm-reason-label { font-size: 0.78rem; color: var(--ink); display: block; margin-bottom: 5px; }
.rm-required { color: #c0392b; }
.rm-reason-sel {
  width: 100%; padding: 7px 10px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 0.82rem; font-family: var(--sans);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.rm-reason-sel:focus { outline: none; border-color: var(--gold); }
.rm-continue {
  width: 100%; padding: 11px 0; background: var(--gold-dark, #8b5e1a);
  color: #fff; border: none; border-radius: 22px; font-size: 0.88rem;
  font-weight: 600; cursor: pointer; margin-bottom: 12px;
  transition: background 0.15s;
}
.rm-continue:hover { background: var(--charcoal, #2a1a1a); }
.rm-eligible { font-size: 0.78rem; color: var(--muted); text-align: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rm-right-title { font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.rm-preview-item { font-size: 0.82rem; color: var(--ink); padding: 5px 0; border-bottom: 1px solid var(--line); }
.rm-preview-item:last-child { border-bottom: none; }
.rm-preview-empty { color: var(--muted); }
@media (max-width: 600px) {
  .rm-body { grid-template-columns: 1fr; }
  .rm-right { border-radius: 0 0 10px 10px; border-right: none; border-top: 1px solid var(--line); }
  .rm-left { border-right: none; padding: 20px; }
}

.order-status-badge {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 2px;
}
.badge-paid     { background: #e9f5ee; color: #1d6b4a; }
.badge-shipped  { background: #e8f0ff; color: #234cad; }
.badge-pending  { background: var(--cream); color: var(--muted); }

/* "Order History" link in account dropdown */
.account-dd-link {
  display: block; width: 100%; padding: 8px 18px; text-align: left;
  font-size: 0.82rem; color: var(--gold-dark); background: none;
  border: none; cursor: pointer; font-family: var(--sans);
}
.account-dd-link:hover { background: var(--cream); }

/* low stock warning on product cards */
.low-stock-note {
  display: block;
  font-size: 0.75rem;
  color: #b84c00;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---- Zelle payment button & panel ---- */
.pay-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 8px; color: var(--muted); font-size: 0.75rem;
}
.pay-divider::before, .pay-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.btn-zelle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 16px; border: 1.5px solid #6D1ED4;
  background: #fff; color: #6D1ED4; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; cursor: pointer; font-family: var(--sans);
  transition: background 0.15s;
}
.btn-zelle:hover { background: #f5eeff; }
.btn-zelle-primary {
  background: #6D1ED4; color: #fff; border-color: #6D1ED4;
  padding: 15px 16px; font-size: 0.88rem;
}
.btn-zelle-primary:hover { background: #5a18b0; border-color: #5a18b0; }

/* Zelle instructions panel */
.zelle-panel { padding: 4px 0; }
.zelle-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.zelle-free-badge {
  font-size: 0.7rem; background: #edfaf3; color: #1d7a5f;
  padding: 3px 8px; border-radius: 20px; font-weight: 600;
}
.zelle-inst { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.zelle-amount {
  font-size: 2rem; font-weight: 700; color: #6D1ED4;
  font-family: var(--serif); margin-bottom: 12px;
}
.zelle-to-row {
  display: flex; align-items: center; gap: 8px;
  background: #f7f2ff; border: 1px solid #d9c8f7;
  padding: 10px 12px; margin-bottom: 10px;
}
.zelle-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.zelle-number { font-size: 1rem; font-weight: 600; color: #3d0d8a; flex: 1; }
.zelle-copy {
  font-size: 0.7rem; background: #6D1ED4; color: #fff;
  border: none; padding: 4px 10px; cursor: pointer; font-family: var(--sans);
}
.zelle-copy:hover { background: #5a18b0; }
.zelle-note { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.checkout-back {
  background: none;
  border: none;
  color: var(--gold-dark);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px 0 0;
  font-family: var(--sans);
  display: block;
}
.checkout-back:hover { text-decoration: underline; }

/* ---- Stripe Payment Element ---- */
.stripe-pay-wrap { padding: 4px 0; }
.stripe-pay-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-note-payment {
  text-align: center; font-size: 0.78rem; color: var(--muted);
  margin: 8px 0 0; letter-spacing: 0.03em;
}
#stripe-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- Payment success in cart drawer ---- */
.pay-success {
  text-align: center;
  padding: 28px 16px 20px;
}
.pay-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #1d7a5f;
  color: #fff;
  font-size: 1.6rem;
  line-height: 52px;
  margin: 0 auto 16px;
}
.pay-success h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1d7a5f;
}
.pay-success p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.pay-success-total {
  font-weight: 600;
  color: var(--text) !important;
  font-size: 1rem !important;
}

/* ---- Order tracking steps (customer account) ---- */
.trk-steps {
  display: flex; align-items: center;
  margin: 14px 0 4px; gap: 0;
}
.trk-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 1; min-width: 0;
}
.trk-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}
.trk-step.done .trk-dot   { background: #1a6e40; border-color: #1a6e40; }
.trk-step.active .trk-dot { background: var(--white); border-color: #1a6e40; color: #1a6e40; }
.trk-step-label {
  font-size: clamp(6px, 2vw, 9px); letter-spacing: 0.02em; text-align: center;
  color: var(--muted); text-transform: uppercase; line-height: 1.2;
  word-break: break-word; width: 100%;
}
.trk-step.done .trk-step-label  { color: #1a6e40; }
.trk-step.active .trk-step-label { color: var(--text); font-weight: 500; }
.trk-line {
  flex: 1; height: 2px; background: var(--line); min-width: 8px;
  margin-bottom: 20px;
}
.trk-line.done { background: #1a6e40; }

.trk-cancel-btn {
  display: inline-block; margin-top: 10px;
  background: none; border: 1px solid #c0392b;
  color: #c0392b; padding: 5px 13px;
  font-size: 0.78rem; letter-spacing: 0.04em;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.trk-cancel-btn:hover:not(:disabled) { background: #c0392b; color: #fff; }
.trk-cancel-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.trk-wa-help-btn {
  display: inline-block; margin-top: 10px;
  background: none; border: 1px solid #25d366;
  color: #1a9e50; padding: 5px 13px;
  font-size: 0.78rem; letter-spacing: 0.04em;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.trk-wa-help-btn:hover { background: #25d366; color: #fff; }


/* Dashboard tracking status select */
.trk-status-sel {
  font-size: 0.78rem; padding: 3px 6px;
  border: 1px solid var(--line); background: #fff;
  color: var(--text); font-family: var(--sans);
}
