/* ============================================================
   Rempah Ninda — brand stylesheet
   Palette: warm red / turmeric gold / spice brown / deep green
   Headings: 'Fraunces' (warm modern serif) · Body: 'Inter'
   ============================================================ */

:root {
  --cream: #FBF3E7;
  --cream-2: #F3E3C8;
  --red: #B33F2E;
  --red-dark: #7A2A1C;
  --red-deep: #5C1F14;
  --gold: #D9A441;
  --gold-dark: #B8862E;
  --brown: #3B2413;
  --brown-2: #5C3A21;
  --green: #3F5C3E;
  --text: #2B1B12;
  --text-soft: #5B4632;
  --white: #FFFFFF;

  --radius: 16px;
  --shadow: 0 12px 30px rgba(59, 36, 19, 0.14);
  --shadow-sm: 0 4px 12px rgba(59, 36, 19, 0.1);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-soft);
  font-size: 17px;
}

.section--alt { background: var(--cream-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: 'Inter', sans-serif;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--red-dark); }

.btn--gold {
  background: var(--gold);
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn--outline:hover { background: var(--brown); color: var(--cream); }

.btn--small { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(59, 36, 19, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--brown);
}

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 16px;
  font-weight: 800;
}

.brand .mark-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { color: var(--red); font-weight: 700; }

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

.cart-btn {
  position: relative;
  background: var(--brown);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.cart-count {
  background: var(--gold);
  color: var(--brown);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59,36,19,0.18);
  border-radius: 10px;
  background: var(--white);
  color: var(--brown);
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(217,164,65,0.28), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(179,63,46,0.18), transparent 50%),
              var(--cream);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(59,36,19,0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.hero-stats div strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--brown);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-visual .plate {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.hero-visual .chip {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
}

.hero-visual .chip .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 15px;
}

/* ---------- About ---------- */
.about .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59,36,19,0.06);
}

.placeholder-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF4DC;
  color: #8C6A1F;
  border: 1px dashed #D9A441;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-visual .swatch {
  border-radius: var(--radius);
  height: 160px;
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
}

.about-visual .swatch:nth-child(1) { margin-top: 30px; }
.about-visual .swatch:nth-child(4) { margin-top: -30px; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59,36,19,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Fallback hover (used when JS tilt is unavailable or reduced-motion is on) */
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* When js/effects.js is active it adds .tilt-ready and drives transform/box-shadow
   inline per mouse position, so we back off the plain CSS hover to avoid fighting it. */
.product-card.tilt-ready:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.product-photo img { width: 100%; height: 100%; object-fit: cover; }

.spice-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(59,36,19,0.75);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h3 { font-size: 20px; }

.product-body p {
  font-size: 14.5px;
  color: var(--text-soft);
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.price {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}

.price .placeholder-note {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: #B8862E;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-actions .btn { flex: 1; }

.product-review-link {
  align-self: flex-start;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 2px;
}

.product-review-link:hover { color: var(--red); }

/* ---------- Subscribe & Save ---------- */
.subscribe-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.sub-items {
  display: grid;
  gap: 12px;
}

.sub-item {
  background: var(--white);
  border: 1.5px solid rgba(59,36,19,0.1);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sub-item.selected {
  border-color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(217,164,65,0.18);
}

.sub-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}

.sub-item .sub-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.sub-item .sub-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sub-item .sub-meta {
  flex: 1;
  cursor: pointer;
}

.sub-item .sub-meta h4 { font-size: 15.5px; margin-bottom: 2px; }
.sub-item .sub-meta span { font-size: 13px; color: var(--text-soft); }

.sub-item .qty-control {
  margin-top: 0;
  opacity: 0.35;
  pointer-events: none;
}

.sub-item.selected .qty-control {
  opacity: 1;
  pointer-events: auto;
}

.sub-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
}

.sub-summary h3 { font-size: 19px; margin-bottom: 4px; }
.sub-summary .sub-empty { font-size: 14px; color: var(--text-soft); margin: 14px 0; }

.cadence-row {
  margin: 16px 0;
}

.cadence-row select {
  cursor: pointer;
}

.cadence-row .placeholder-flag { margin: 8px 0 0; }

.sub-line-items {
  margin: 14px 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}

.sub-line-items .sub-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
}

.sub-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
}

.sub-price-row .strike {
  text-decoration: line-through;
  color: var(--text-soft);
  font-size: 15px;
}

.sub-price-row .sub-total {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
}

.savings-badge {
  display: inline-block;
  background: #EAF2E9;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.sub-summary .btn { width: 100%; margin-top: 6px; }
.sub-manage-note { font-size: 12px; color: var(--text-soft); margin-top: 12px; }
.sub-msg { font-size: 12.5px; color: var(--red-dark); margin-top: 8px; min-height: 16px; }

/* ---------- Delivery ---------- */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.delivery-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59,36,19,0.06);
}

.delivery-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.delivery-card h3 { font-size: 19px; margin-bottom: 10px; }
.delivery-card p { color: var(--text-soft); font-size: 14.5px; }

.fee-tbc {
  margin-top: 14px;
  background: #FFF4DC;
  border: 1px dashed var(--gold-dark);
  color: #8C6A1F;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info h4 { font-size: 15px; margin-bottom: 3px; }
.contact-info p, .contact-info a { font-size: 14px; color: var(--text-soft); }

form.order-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}

form.order-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-whatsapp-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.contact-whatsapp-panel h3 { font-size: clamp(25px, 2.5vw, 36px); }
.contact-whatsapp-panel p { color: var(--text-soft); line-height: 1.7; }
.contact-whatsapp-panel small { color: var(--text-soft); }

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  display: block;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(59,36,19,0.16);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  background: var(--cream);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.honeypot { position: absolute; left: -9999px; }

/* ---------- Customer reviews ---------- */
.reviews-hero {
  padding: 82px 0;
  background: radial-gradient(circle at 86% 18%, rgba(217,164,65,0.32), transparent 48%),
              radial-gradient(circle at 2% 100%, rgba(179,63,46,0.12), transparent 55%),
              var(--cream);
}

.reviews-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.reviews-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 18px; }
.reviews-hero p { max-width: 570px; color: var(--text-soft); font-size: 18px; margin-bottom: 28px; }

.reviews-hero-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}

.reviews-art-card {
  background: var(--white);
  border: 7px solid var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-5deg) translateY(10px);
}

.reviews-art-card:nth-child(2) { transform: rotate(3deg) translateY(-14px); }
.reviews-art-card:nth-child(3) { transform: rotate(6deg) translateY(16px); }
.reviews-art-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: start;
}

.reviews-reading h2, .review-form-panel h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 12px; }
.reviews-intro, .review-form-panel > p { color: var(--text-soft); font-size: 15px; }
.reviews-filter-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.reviews-filter-row label { margin: 0; white-space: nowrap; }
.reviews-filter-row select { max-width: 265px; background: var(--white); }
.reviews-status { color: var(--text-soft); font-size: 13px; margin: 20px 0 12px; }
.reviews-list { display: grid; gap: 18px; }

.reviews-empty {
  padding: 40px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed rgba(59,36,19,0.2);
  color: var(--text-soft);
  font-size: 15px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(59,36,19,0.08);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.review-card-top, .review-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-stars { color: var(--gold-dark); font-size: 21px; letter-spacing: 2px; line-height: 1; }
.review-product { background: var(--cream-2); border-radius: 999px; padding: 4px 10px; color: var(--brown); font-size: 12px; font-weight: 700; }
.review-card h3 { font-size: 20px; margin-top: 16px; }
.review-text { white-space: pre-wrap; color: var(--text-soft); font-size: 14.5px; margin-top: 8px; }
.review-byline { margin-top: 20px; color: var(--text-soft); font-size: 12.5px; }
.verified-badge { color: var(--green); font-weight: 700; }

.review-form-panel {
  background: var(--white);
  border: 1px solid rgba(59,36,19,0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px;
  position: sticky;
  top: 100px;
  scroll-margin-top: 100px;
}

.review-form { display: grid; gap: 18px; margin-top: 26px; }
.review-form label { margin-bottom: 7px; }
.review-form textarea { resize: vertical; min-height: 140px; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rating-fieldset { border: 0; min-width: 0; }
.rating-fieldset legend { font-size: 13px; font-weight: 600; color: var(--brown); margin-bottom: 8px; }
.rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rating-options label { margin: 0; position: relative; cursor: pointer; }
.rating-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-options label > span { display: inline-flex; width: 100%; gap: 3px; align-items: center; justify-content: center; padding: 8px 5px; border: 1px solid rgba(59,36,19,0.18); border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 13px; }
.rating-options input:checked + span { border-color: var(--red); background: #FBEAE6; color: var(--red-dark); }
.rating-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.review-consent { display: flex !important; align-items: flex-start; gap: 10px; line-height: 1.5; font-weight: 500; }
.review-consent input { width: 18px; height: 18px; padding: 0; flex: 0 0 18px; margin-top: 2px; accent-color: var(--red); }
.review-photo-option { padding: 16px; border: 1px solid rgba(59,36,19,0.14); border-radius: 12px; background: var(--cream); }
.review-photo-option .review-consent { margin-bottom: 8px; }
.review-photo-option p { padding-left: 28px; color: var(--text-soft); font-size: 12px; line-height: 1.55; }
.review-form .btn { justify-self: start; }
.review-privacy-note { color: var(--text-soft); font-size: 12px; }

.thanks-page { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-main { flex: 1; display: grid; place-items: center; padding-top: 70px; padding-bottom: 70px; }
.thanks-card { max-width: 660px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(32px, 6vw, 60px); }
.thanks-card h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 16px; }
.thanks-card p { color: var(--text-soft); font-size: 17px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -12px 0 40px rgba(59,36,19,0.25);
  z-index: 100;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-drawer-head {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(59,36,19,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-head h3 { font-size: 19px; }

.cart-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-soft);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(59,36,19,0.06);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item .meta { flex: 1; }
.cart-item .meta h5 { font-size: 14.5px; margin-bottom: 3px; }
.cart-item .meta span { font-size: 13px; color: var(--text-soft); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(59,36,19,0.2);
  background: var(--cream);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

.cart-empty {
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
  padding: 40px 10px;
}

.cart-footer {
  padding: 20px 24px 26px;
  border-top: 1px solid rgba(59,36,19,0.08);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--brown);
}

.cart-footer .fee-tbc { margin-bottom: 14px; }

.cart-footer .btn { width: 100%; }

.cart-msg {
  font-size: 12.5px;
  color: var(--red-dark);
  margin-top: 8px;
  min-height: 16px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,27,18,0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.open { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Footer ---------- */
footer {
  background: var(--brown);
  color: var(--cream-2);
  padding: 50px 0 26px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer .brand { color: var(--cream); }
footer p { font-size: 13.5px; color: rgba(243,227,200,0.7); }
footer .foot-links { display: flex; gap: 20px; font-size: 13.5px; }
footer .foot-links a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap, .about .wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    z-index: 60;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid rgba(59,36,19,0.1);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 2px; }
  .reviews-hero-grid, .reviews-layout { grid-template-columns: 1fr; }
  .reviews-hero-art { max-width: 520px; }
  .review-form-panel { position: static; }
  .subscribe-grid { grid-template-columns: 1fr; }
  .sub-summary { position: static; }
}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  form.order-form .row2 { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; right: -100vw; }
  .brand { font-size: 18px; }
  .cart-btn { padding: 9px 11px; }
  .reviews-shop-link { display: none; }
  .reviews-hero { padding: 56px 0; }
  .reviews-hero-grid { gap: 42px; }
  .reviews-layout { gap: 32px; }
  .review-form-panel { order: -1; padding: 24px; }
  .review-form-row { grid-template-columns: 1fr; }
  .reviews-filter-row { align-items: stretch; flex-direction: column; gap: 6px; }
  .reviews-filter-row select { max-width: none; }
  .foot-links { flex-wrap: wrap; }
}

/* ============================================================
   Depth / 3D-style effects (driven by js/effects.js)
   Layered "stacked" shadows read as more dimensional than a
   single soft shadow — used on hero art, subscription summary,
   and anywhere we want a lifted, tactile feel.
   ============================================================ */

.depth-shadow {
  box-shadow:
    0 1px 2px rgba(59, 36, 19, 0.08),
    0 4px 8px rgba(59, 36, 19, 0.08),
    0 12px 24px rgba(59, 36, 19, 0.12),
    0 24px 48px rgba(59, 36, 19, 0.10);
}

.hero-visual .chip {
  box-shadow:
    0 1px 2px rgba(59, 36, 19, 0.10),
    0 6px 14px rgba(59, 36, 19, 0.16);
}

/* Respect reduced-motion preference: kill JS-driven transforms/transitions */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .hero-visual .plate {
    transition: none !important;
    transform: none !important;
  }
}
