/* ==========================================================================
   RIWAAYAT — Design System
   Deep chocolate · Ivory paper · Metallic gold
   ========================================================================== */

:root {
  /* Brand — dark */
  --espresso:        #1A0F0A;
  --chocolate:       #2A1710;
  --rich-brown:      #3A2117;
  --cocoa-line:      #4A2E20;

  /* Brand — gold */
  --gold:            #C9A24A;
  --gold-soft:       #E1C16E;
  --gold-champagne:  #F0D99A;
  --gold-foil: linear-gradient(100deg, #A8823A 0%, #C9A24A 22%, #F0D99A 48%, #C9A24A 74%, #9C7830 100%);

  /* Surfaces */
  --ivory:           #F8F3E8;
  --beige:           #EFE5D2;
  --beige-deep:      #E7DCC5;
  --paper:           #FFFDF8;

  /* Text */
  --ink:             #21150F;
  --ink-soft:        #5C4A3C;
  --ink-muted:       #8A7A68;
  --on-dark:         #F3EADA;
  --on-dark-muted:   #9C8B76;
  --on-dark-soft:    #B7A48C;

  /* Feedback */
  --success:         #4B7B52;
  --danger:          #A33B2A;
  --warning:         #B07A1E;

  /* Type */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-royal:   "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --radius:      2px;
  --radius-lg:   4px;
  --shell:       1240px;
  --shell-tight: 980px;
  --section-y:   clamp(64px, 9vw, 128px);

  --shadow-soft:  0 18px 50px -28px rgba(26, 15, 10, 0.45);
  --shadow-lift:  0 28px 70px -34px rgba(26, 15, 10, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 22px; }
.shell--tight { max-width: var(--shell-tight); }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--espresso); color: var(--on-dark); }
.section--beige { background: var(--beige); }
.section--paper { background: var(--paper); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   TYPOGRAPHIC ORNAMENTS
   ========================================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 18px;
  display: block;
}
.section--dark .eyebrow { color: var(--gold-soft); }

.gold-text {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-soft); }
.section--dark .lede { color: var(--on-dark-soft); }

.rule {
  width: 64px; height: 1px; border: 0;
  background: var(--gold-foil);
  margin: 22px 0;
}
.rule--center { margin-inline: auto; }

/* Ornamental divider: gold hairline with a lozenge */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto 26px; max-width: 300px;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.55;
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament span { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .25s var(--ease),
              box-shadow .35s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.btn--gold {
  background: var(--gold-foil);
  color: var(--espresso);
  box-shadow: 0 12px 34px -18px rgba(201, 162, 74, .9);
}
.btn--gold:hover { box-shadow: 0 16px 42px -16px rgba(201, 162, 74, 1); filter: brightness(1.05); }

.btn--dark { background: var(--espresso); color: var(--gold-soft); }
.btn--dark:hover { background: var(--chocolate); color: var(--gold-champagne); }

.btn--outline-gold { border-color: rgba(201, 162, 74, .55); color: var(--gold-soft); }
.btn--outline-gold:hover { border-color: var(--gold); background: rgba(201, 162, 74, .1); }

.btn--outline-dark { border-color: rgba(33, 21, 15, .28); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: rgba(33, 21, 15, .04); }

.btn--ghost { color: var(--ink-soft); }
.btn--ghost:hover { color: var(--ink); }

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.68rem; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */

.announce {
  background: var(--chocolate);
  color: var(--gold-champagne);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 60;
}
.announce span { display: inline-block; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 15, 10, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 74, .18);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 46px; width: auto; }
.brand__wordmark {
  font-family: var(--font-royal);
  font-size: 1.22rem;
  letter-spacing: 0.34em;
  line-height: 1;
  background: var(--gold-foil);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(225, 193, 110, .7);
  margin-top: 5px;
}

.nav { display: flex; justify-content: center; gap: 30px; }
.nav a {
  font-size: 0.72rem; letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(243, 234, 218, .8);
  position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-champagne); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--on-dark);
  border-radius: 50%;
  position: relative;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.icon-btn:hover { color: var(--gold-champagne); background: rgba(201, 162, 74, .1); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.4; }

.cart-badge {
  position: absolute; top: 6px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: var(--espresso);
  border-radius: 9px;
  font-size: 0.62rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-badge[hidden] { display: none; }

.burger { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: grid; }
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--espresso);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--on-dark);
  padding: 13px 0;
  border-bottom: 1px solid rgba(201, 162, 74, .13);
}
.drawer nav a:hover { color: var(--gold-champagne); }
.drawer__foot { margin-top: auto; padding-top: 30px; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(26, 15, 10, .97);
  display: grid; place-items: start center;
  padding: 18vh 22px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay form { width: 100%; max-width: 620px; }
.search-overlay input {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(201, 162, 74, .4);
  color: var(--on-dark);
  font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.6rem);
  padding: 12px 0;
}
.search-overlay input::placeholder { color: rgba(183, 164, 140, .5); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--espresso);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(201, 162, 74, .16), transparent 58%),
    linear-gradient(90deg, rgba(26, 15, 10, .96) 8%, rgba(26, 15, 10, .72) 52%, rgba(26, 15, 10, .55) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  min-height: clamp(560px, 84vh, 820px);
  padding-block: 72px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.13rem); color: var(--on-dark-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__figure { position: relative; }
.hero__figure::before {
  content: ""; position: absolute; inset: -6% -4%;
  background: radial-gradient(closest-side, rgba(201, 162, 74, .22), transparent 72%);
  filter: blur(10px);
}
.hero__figure img { position: relative; border-radius: var(--radius-lg); }

/* Subtle gold dust */
.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; }
.dust i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold-soft);
  animation: dust-float 14s linear infinite;
}
@keyframes dust-float {
  0%   { transform: translateY(12px); opacity: 0; }
  18%  { opacity: .8; }
  82%  { opacity: .6; }
  100% { transform: translateY(-90px); opacity: 0; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; min-height: 0; padding-block: 60px 56px; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__figure { order: -1; max-width: 420px; margin-inline: auto; }
}

/* ==========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================== */

.strip {
  background: var(--chocolate);
  border-block: 1px solid rgba(201, 162, 74, .16);
  color: var(--gold-soft);
  padding: 16px 0;
}
.strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.strip li { display: flex; align-items: center; gap: 9px; }
.strip li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ==========================================================================
   PRODUCT CARD / SHOWCASE
   ========================================================================== */

.product-card {
  background: var(--paper);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(201, 162, 74, .5); }
.product-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--chocolate); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.product-card__desc { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }
.product-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-foil); color: var(--espresso);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--radius);
}
.badge--muted { background: rgba(33, 21, 15, .8); color: var(--gold-champagne); }

.price { display: flex; align-items: baseline; gap: 10px; }
.price__now { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.price__was { font-size: 0.92rem; color: var(--ink-muted); text-decoration: line-through; }
.price__off { font-size: 0.68rem; letter-spacing: .1em; color: var(--success); font-weight: 600; text-transform: uppercase; }

/* Signature showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 76px); align-items: center; }
.showcase__media { position: relative; }
.showcase__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.showcase__frame {
  position: absolute; inset: 16px; border: 1px solid rgba(201, 162, 74, .45);
  pointer-events: none; border-radius: var(--radius);
}
@media (max-width: 900px) { .showcase { grid-template-columns: minmax(0, 1fr); } }

.highlights { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.highlights li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.highlights li svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 4px; color: var(--gold); }
.section--dark .highlights li { color: var(--on-dark-soft); }

/* Quantity stepper */
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(33, 21, 15, .22);
  border-radius: var(--radius);
  height: 52px;
}
.qty button { width: 46px; height: 100%; font-size: 1.1rem; color: var(--ink-soft); transition: color .25s var(--ease); }
.qty button:hover { color: var(--gold); }
.qty input {
  width: 46px; height: 100%; text-align: center;
  border: 0; background: transparent;
  font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.section--dark .qty { border-color: rgba(201, 162, 74, .35); }
.section--dark .qty button { color: var(--on-dark-soft); }

.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.buy-row .btn { flex: 1 1 190px; }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */

.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .pdp { grid-template-columns: minmax(0, 1fr); } }

.gallery__main {
  position: relative; overflow: hidden;
  border: 1px solid var(--beige-deep); border-radius: var(--radius-lg);
  background: var(--chocolate); aspect-ratio: 1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__main:hover img { transform: scale(1.09); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button {
  width: 74px; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--beige-deep); border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: grid; grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--beige-deep);
  font-size: 0.93rem;
}
.spec-list dt, .spec-list .k { color: var(--ink-muted); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 620px) { .spec-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Accordion */
.accordion { border-top: 1px solid var(--beige-deep); }
.accordion__item { border-bottom: 1px solid var(--beige-deep); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; text-align: left;
  font-family: var(--font-display); font-size: 1.2rem;
}
.accordion__trigger span.plus { position: relative; width: 14px; height: 14px; flex: 0 0 auto; color: var(--gold); }
.accordion__trigger span.plus::before,
.accordion__trigger span.plus::after {
  content: ""; position: absolute; background: currentColor; transition: transform .35s var(--ease);
}
.accordion__trigger span.plus::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.accordion__trigger span.plus::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.accordion__item.is-open .accordion__trigger span.plus::after { transform: scaleY(0); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.accordion__panel > div { padding: 0 0 22px; color: var(--ink-soft); font-size: 0.95rem; }

/* Sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; align-items: center; gap: 12px;
  background: rgba(26, 15, 10, .97);
  border-top: 1px solid rgba(201, 162, 74, .25);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
.buybar__price { color: var(--gold-champagne); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.buybar__price small { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.buybar .btn { flex: 1; min-height: 48px; }
@media (max-width: 780px) { .buybar.is-visible { display: flex; } body.has-buybar { padding-bottom: 84px; } }

/* ==========================================================================
   CARDS / TRUST / STORY
   ========================================================================== */

.tile {
  background: var(--paper);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: rgba(201, 162, 74, .5); box-shadow: var(--shadow-soft); }
.tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tile p { font-size: 0.92rem; color: var(--ink-muted); }
.tile__icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  border: 1px solid rgba(201, 162, 74, .5); border-radius: 50%;
  color: var(--gold);
}
.tile__icon svg { width: 21px; height: 21px; }

.section--dark .tile { background: rgba(255, 255, 255, .03); border-color: rgba(201, 162, 74, .2); }
.section--dark .tile p { color: var(--on-dark-soft); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--gold-champagne);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(201, 162, 74, .22);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial p { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.55; color: var(--on-dark); }
.testimonial footer { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.placeholder-note {
  display: inline-block; font-size: 0.6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); border: 1px dashed rgba(201, 162, 74, .5);
  padding: 4px 9px; border-radius: var(--radius);
}

/* ==========================================================================
   INSTAGRAM / NEWSLETTER
   ========================================================================== */

.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--chocolate); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s var(--ease); }
.ig-grid a:hover img { transform: scale(1.08); opacity: .8; }
@media (max-width: 620px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 470px; }
.newsletter-form input {
  flex: 1 1 220px; min-height: 52px; padding: 0 16px;
  background: transparent; border: 1px solid rgba(201, 162, 74, .4);
  border-radius: var(--radius); color: var(--on-dark);
}
.newsletter-form input::placeholder { color: rgba(183, 164, 140, .65); }

/* ==========================================================================
   FORMS
   ========================================================================== */

.field { display: block; margin-bottom: 18px; }
.field > span, .label {
  display: block; font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 8px; font-weight: 500;
}
.field .req { color: var(--danger); }

.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 52px;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; font-size: 0.78rem; color: var(--danger); margin-top: 6px; }
.field-hint { display: block; font-size: 0.78rem; color: var(--ink-muted); margin-top: 6px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.fieldset { border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 22px; background: var(--paper); }
.fieldset legend {
  font-family: var(--font-display); font-size: 1.35rem; padding: 0 10px;
}

/* Radio cards */
.radio-card {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--beige-deep); border-radius: var(--radius);
  padding: 17px 18px; margin-bottom: 12px; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.radio-card:hover { border-color: rgba(201, 162, 74, .6); }
.radio-card input { margin-top: 4px; accent-color: var(--gold); width: 17px; height: 17px; }
.radio-card:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 74, .07); }
.radio-card strong { display: block; font-size: 0.96rem; }
.radio-card small { color: var(--ink-muted); font-size: 0.84rem; }
.radio-card.is-disabled { opacity: .55; cursor: not-allowed; }

/* ==========================================================================
   CART / SUMMARY
   ========================================================================== */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 34px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }

.cart-line {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--beige-deep);
}
.cart-line__img { width: 104px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--chocolate); }
.cart-line__name { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 4px; }
.cart-line__meta { font-size: 0.82rem; color: var(--ink-muted); }
.cart-line__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.link-danger { font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); transition: color .25s var(--ease); }
.link-danger:hover { color: var(--danger); }
@media (max-width: 620px) {
  .cart-line { grid-template-columns: 78px minmax(0, 1fr); }
  .cart-line__img { width: 78px; }
  .cart-line__total { grid-column: 2; text-align: left; }
}

.summary {
  background: var(--paper);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 96px;
}
.summary h3 { font-size: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 0.93rem; }
.summary-row span:first-child { color: var(--ink-muted); }
.summary-row--total {
  border-top: 1px solid var(--beige-deep); margin-top: 10px; padding-top: 16px;
  font-family: var(--font-display); font-size: 1.42rem;
}
.summary-row--total span:first-child { color: var(--ink); }
.summary-row--save span { color: var(--success); }

.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; min-height: 48px; text-transform: uppercase; }

.free-ship-note {
  background: rgba(201, 162, 74, .1);
  border: 1px dashed rgba(201, 162, 74, .5);
  border-radius: var(--radius);
  padding: 11px 14px; font-size: 0.83rem; color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Empty state */
.empty-state { text-align: center; padding: clamp(48px, 10vw, 96px) 20px; }
.empty-state svg { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 22px; opacity: .7; }

/* ==========================================================================
   TRACKING TIMELINE
   ========================================================================== */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px;
  width: 1px; background: var(--beige-deep);
}
.timeline li { position: relative; padding: 0 0 30px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 6px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--beige-deep);
  display: grid; place-items: center;
}
.timeline li.is-done .timeline__dot { background: var(--gold-foil); border-color: var(--gold); }
.timeline li.is-current .timeline__dot { box-shadow: 0 0 0 5px rgba(201, 162, 74, .22); }
.timeline__label { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.2; }
.timeline li:not(.is-done) .timeline__label { color: var(--ink-muted); }
.timeline__time { font-size: 0.78rem; color: var(--ink-muted); letter-spacing: .06em; }

/* ==========================================================================
   BREADCRUMBS / PAGE HEAD
   ========================================================================== */

.page-head { background: var(--espresso); color: var(--on-dark); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--on-dark-soft); max-width: 60ch; margin-inline: auto; }

.crumbs { font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding: 18px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--beige-deep); }
.crumbs a:hover { color: var(--gold); }
.page-head .crumbs, .page-head .crumbs a { color: rgba(183, 164, 140, .85); }

/* Prose (policy pages) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: var(--espresso); color: var(--on-dark-soft); padding-top: clamp(56px, 8vw, 92px); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

.site-footer h4 {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { font-size: 0.92rem; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--gold-champagne); }
.site-footer__bottom {
  margin-top: clamp(40px, 6vw, 66px); padding: 22px 0;
  border-top: 1px solid rgba(201, 162, 74, .16);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.78rem;
}

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(201, 162, 74, .32); border-radius: 50%;
  color: var(--gold-soft); transition: all .3s var(--ease);
}
.social-row a:hover { background: rgba(201, 162, 74, .12); border-color: var(--gold); }
.social-row svg { width: 17px; height: 17px; }

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */

.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 27px; height: 27px; }
@media (max-width: 780px) { body.has-buybar .wa-fab { bottom: 88px; } }

/* ==========================================================================
   TOASTS
   ========================================================================== */

.toasts { position: fixed; top: 92px; right: 18px; z-index: 100; display: grid; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.toast {
  background: var(--espresso); color: var(--on-dark);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.9rem;
  box-shadow: var(--shadow-lift);
  animation: toast-in .45s var(--ease) both;
}
.toast--error { border-left-color: #D9705E; }
.toast--success { border-left-color: #7FBE88; }
.toast.is-leaving { animation: toast-out .35s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Spinner */
.spinner {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   ALERTS
   ========================================================================== */

.alert { border-radius: var(--radius); padding: 14px 18px; font-size: 0.92rem; margin-bottom: 18px; border: 1px solid; }
.alert--info { background: rgba(201, 162, 74, .09); border-color: rgba(201, 162, 74, .45); color: var(--ink); }
.alert--error { background: rgba(163, 59, 42, .07); border-color: rgba(163, 59, 42, .4); color: var(--danger); }
.alert--success { background: rgba(75, 123, 82, .08); border-color: rgba(75, 123, 82, .4); color: var(--success); }

.notice-strip {
  background: var(--beige); border: 1px dashed rgba(201, 162, 74, .6);
  border-radius: var(--radius); padding: 16px 18px; font-size: 0.9rem; color: var(--ink-soft);
}

/* ==========================================================================
   TABLES (shared with admin)
   ========================================================================== */

.table-wrap { overflow-x: auto; border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table.data th {
  text-align: left; padding: 14px 16px; font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted); border-bottom: 1px solid var(--beige-deep); font-weight: 600; white-space: nowrap;
}
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--beige); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(201, 162, 74, .05); }

.pill {
  display: inline-block; padding: 4px 11px; border-radius: 100px;
  font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  background: var(--beige); color: var(--ink-soft);
}
.pill--pending { background: #F5E6C8; color: #7A5A16; }
.pill--confirmed, .pill--processing, .pill--packed { background: #E3E9F2; color: #38516F; }
.pill--shipped, .pill--out_for_delivery { background: #DCE9E2; color: #2F5C43; }
.pill--delivered, .pill--paid { background: #D9EBDC; color: #2E5A35; }
.pill--cancelled, .pill--failed { background: #F3DCD7; color: #8B3324; }
.pill--refunded { background: #EAE2F0; color: #5A4173; }
