/* =====================================================================
   CandyApple — base.css
   Shared foundation: tokens, reset, typography, components.
   Official palette: Cream 60% · Chocolate 28% · Pistachio 9% · Apple 3%
   Layout lives in desktop.css (min-width:769px) and mobile.css (max-width:768px)
   ===================================================================== */

:root {
  /* ---- official brand palette ---- */
  --cream: #FAF5EC;
  --chocolate: #4A2C1D;
  --pistachio: #A8C686;
  --apple: #A0714A;
  --white: #FFFFFF;

  /* ---- derived shades of the same brand hues (contrast only) ---- */
  --chocolate-deep: #38200F;
  --chocolate-soft: #5E3B28;
  --pistachio-deep: #7F9E5C;
  --pistachio-soft: #EAF2DE;
  --apple-deep: #835A38;
  --apple-soft: #F1E5D8;
  --cream-deep: #F0E7D6;

  /* ---- semantic ---- */
  --bg: var(--cream);
  --surface: var(--white);
  --surface-2: var(--cream);
  --text: var(--chocolate);
  --text-soft: var(--apple-deep);
  --line: rgba(160, 113, 74, 0.28);
  --line-strong: rgba(74, 44, 29, 0.35);
  --accent: var(--pistachio);
  --danger: var(--apple-deep);
  --danger-soft: var(--apple-soft);

  /* ---- shape & elevation ---- */
  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;
  --r-pill: 999px;
  --sh-s: 0 2px 10px rgba(74, 44, 29, 0.07);
  --sh: 0 12px 32px rgba(74, 44, 29, 0.11);
  --sh-l: 0 26px 60px rgba(74, 44, 29, 0.18);

  /* ---- type ---- */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* ---- metrics ---- */
  --container: 1240px;
  --gutter: 24px;
  --announce-h: 40px;
  --header-h: 76px;
  --bottomnav-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
}

h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: clamp(19px, 2.6vw, 23px); }

::selection {
  background: var(--pistachio);
  color: var(--chocolate-deep);
}

:focus-visible {
  outline: 2px solid var(--chocolate);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--chocolate);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted { color: var(--text-soft); }
.small { font-size: 13.5px; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.icon { flex: 0 0 auto; }
.full-width { width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--chocolate);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--chocolate-soft);
  box-shadow: var(--sh);
}

.btn-accent {
  background: var(--pistachio);
  color: var(--chocolate-deep);
}
.btn-accent:hover {
  background: var(--pistachio-deep);
  color: var(--white);
  box-shadow: var(--sh);
}

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

.btn-ghost {
  background: transparent;
  color: var(--chocolate);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--chocolate); }

.btn-light {
  background: transparent;
  border-color: rgba(250, 245, 236, 0.55);
  color: var(--cream);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--chocolate);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}
.btn-danger:hover { background: var(--apple-deep); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-pill);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--chocolate);
  border-bottom: 1.5px solid var(--pistachio);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--apple-deep); }

/* ---------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */
.field { margin-bottom: 18px; }

.field label,
.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
  color: var(--text);
}

.field .req { color: var(--apple); }

.input,
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="date"],
.field input[type="search"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15.5px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A2C1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--chocolate);
  box-shadow: 0 0 0 4px rgba(168, 198, 134, 0.4);
}

.field input.is-error,
.field select.is-error,
.field textarea.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(163, 90, 56, 0.15);
}

.field-hint {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 6px;
}

.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
  margin-top: 6px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}
.check-row input[type="checkbox"],
.check-row input[type="radio"] {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--chocolate);
  cursor: pointer;
}

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

/* ---------------------------------------------------------------------
   Cards / badges / alerts
   ------------------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-s);
}
.card-pad { padding: 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-pistachio { background: var(--pistachio-soft); color: #55703A; }
.badge-chocolate { background: var(--chocolate); color: var(--cream); }
.badge-apple { background: var(--apple-soft); color: var(--apple-deep); }
.badge-white { background: var(--white); color: var(--chocolate); border: 1px solid var(--line); }
.badge-outline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--text-soft); }
.badge-solid-apple { background: var(--apple); color: var(--white); }

.flash-stack {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
}
.flash-success { background: var(--pistachio-soft); border-color: rgba(127, 158, 92, 0.4); color: #46602F; }
.flash-error { background: var(--danger-soft); border-color: rgba(163, 90, 56, 0.35); color: var(--apple-deep); }
.flash-info { background: var(--white); border-color: var(--line); color: var(--text); }
.flash .flash-close {
  margin-left: auto;
  opacity: 0.6;
  padding: 2px;
  line-height: 0;
}
.flash .flash-close:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   Section heads
   ------------------------------------------------------------------ */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--white); }

.section-head { margin-bottom: 40px; }
.section-head.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--apple);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pistachio);
}
.section-head.text-center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pistachio);
}

.section-title { font-size: clamp(26px, 4vw, 38px); }
.section-title em {
  font-style: italic;
  color: var(--apple);
}

.section-sub {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 16px;
  max-width: 640px;
}
.section-head.text-center .section-sub { margin-left: auto; margin-right: auto; }

.section-foot {
  margin-top: 36px;
  text-align: center;
}

/* ---------------------------------------------------------------------
   Announcement + header
   ------------------------------------------------------------------ */
.announce-bar {
  background: var(--pistachio);
  color: var(--chocolate-deep);
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}
.announce-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  background: var(--chocolate);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(250, 245, 236, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark { width: 42px; height: 42px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
  line-height: 1;
}
.brand-name span { color: var(--pistachio); }
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, 0.6);
  margin-top: 4px;
}

.main-nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  color: var(--cream);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(250, 245, 236, 0.12); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--pistachio);
  color: var(--chocolate-deep);
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
  border: 2px solid var(--chocolate);
}

.account-btn .account-name {
  display: none;
  font-size: 14px;
  font-weight: 600;
}

/* search bar under header */
.search-bar {
  background: var(--chocolate-soft);
  border-top: 1px solid rgba(250, 245, 236, 0.1);
  display: none;
}
.search-bar.is-open { display: block; }
.search-bar form {
  display: flex;
  gap: 10px;
  padding: 14px 0;
}
.search-bar input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(250, 245, 236, 0.3);
  background: rgba(250, 245, 236, 0.96);
  color: var(--chocolate);
  font-size: 15px;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--pistachio);
}

/* mobile drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 23, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  z-index: 70;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: var(--cream);
  z-index: 80;
  transform: translateX(-104%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-l);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  background: var(--chocolate);
  color: var(--cream);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-body { padding: 14px 0 26px; flex: 1; }
.drawer-nav a,
.drawer-nav .drawer-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--chocolate);
  border-bottom: 1px solid rgba(160, 113, 74, 0.14);
  transition: background 0.2s var(--ease);
}
.drawer-nav a:hover { background: var(--white); }
.drawer-nav .is-current { background: var(--white); color: var(--apple-deep); }

.drawer-sub {
  background: var(--white);
  padding: 4px 0;
}
.drawer-sub a {
  padding: 11px 22px 11px 54px;
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(160, 113, 74, 0.1);
}

.drawer-contact {
  margin: 18px 20px 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  display: grid;
  gap: 9px;
}
.drawer-contact div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}
.drawer-contact .icon { color: var(--apple); margin-top: 3px; }

/* ---------------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 88% -12%, rgba(168, 198, 134, 0.24), transparent 60%),
    radial-gradient(760px 420px at -10% 110%, rgba(160, 113, 74, 0.3), transparent 62%),
    var(--chocolate);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  padding: 64px 0 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(168, 198, 134, 0.18);
  border: 1px solid rgba(168, 198, 134, 0.45);
  color: var(--pistachio);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(36px, 7vw, 62px);
  color: var(--cream);
  line-height: 1.06;
}
.hero-title em {
  font-style: italic;
  color: var(--pistachio);
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(15.5px, 2vw, 17.5px);
  color: rgba(250, 245, 236, 0.82);
  max-width: 540px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 245, 236, 0.18);
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--pistachio);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 13px;
  color: rgba(250, 245, 236, 0.72);
  letter-spacing: 0.05em;
}
.hero-art {
  position: relative;
  justify-self: center;
}
.hero-art img {
  width: min(100%, 460px);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.35));
  animation: floaty 6s ease-in-out infinite;
}
.hero-art .hero-chip {
  position: absolute;
  background: var(--cream);
  color: var(--chocolate);
  border-radius: var(--r);
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-chip .icon { color: var(--pistachio-deep); }
.hero-chip-1 { top: 8%; left: -6%; animation: floaty 5s ease-in-out infinite; }
.hero-chip-2 { bottom: 12%; right: -4%; animation: floaty 7s ease-in-out 0.6s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-up { animation: fadeUp 0.7s var(--ease) both; }

/* ---------------------------------------------------------------------
   Category cards
   ------------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}
.cat-card-media {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cat-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.cat-card-count {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.cat-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--pistachio-soft);
  color: var(--chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cat-card:hover .cat-card-arrow {
  background: var(--chocolate);
  color: var(--cream);
}

/* ---------------------------------------------------------------------
   Product cards
   ------------------------------------------------------------------ */
.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(168, 198, 134, 0.22), transparent 62%),
    var(--surface-2);
  overflow: hidden;
}
.product-media a { display: block; width: 100%; height: 100%; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 0.45s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }

.product-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.product-body {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apple);
}
.product-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--chocolate);
}
.product-name a:hover { color: var(--apple-deep); }
.product-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: auto;
}
.price {
  font-size: 17px;
  font-weight: 800;
  color: var(--chocolate);
  letter-spacing: -0.01em;
}
.price-old {
  font-size: 14px;
  color: var(--apple);
  text-decoration: line-through;
  font-weight: 500;
}
.price-note {
  font-size: 11.5px;
  color: var(--text-soft);
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 13.5px; }

/* stock signal */
.stock-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.stock-in { color: var(--pistachio-deep); }
.stock-low { color: var(--apple); }
.stock-out { color: var(--danger); }

/* ---------------------------------------------------------------------
   Horizontal rails (home)
   ------------------------------------------------------------------ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 74%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--apple) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb {
  background: var(--apple);
  border-radius: var(--r-pill);
}

/* ---------------------------------------------------------------------
   USP strip / promo bands
   ------------------------------------------------------------------ */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.usp-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.usp-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--pistachio-soft);
  color: var(--chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
}
.usp-item h3 { font-size: 16.5px; }
.usp-item p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }

.promo-band {
  background: var(--pistachio);
  color: var(--chocolate-deep);
  border-radius: var(--r-l);
  padding: 36px 28px;
  display: grid;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promo-band::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.promo-band > * { position: relative; z-index: 1; }
.promo-band h2 { font-size: clamp(24px, 4vw, 33px); }
.promo-band p { font-size: 15.5px; opacity: 0.86; margin-top: 8px; max-width: 560px; }

/* testimonial */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-stars { display: flex; gap: 4px; color: var(--apple); }
.quote-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  color: var(--chocolate);
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pistachio-soft);
  color: var(--chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 17px;
}
.quote-name { font-weight: 700; font-size: 14.5px; }
.quote-role { font-size: 12.5px; color: var(--text-soft); }

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

/* ---------------------------------------------------------------------
   Inner page hero
   ------------------------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 360px at 92% -30%, rgba(168, 198, 134, 0.25), transparent 62%),
    var(--chocolate);
  color: var(--cream);
  padding: 54px 0 58px;
}
.page-hero h1 {
  color: var(--cream);
  font-size: clamp(30px, 5vw, 46px);
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(250, 245, 236, 0.7);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a:hover { color: var(--pistachio); }
.page-hero .breadcrumb .icon { opacity: 0.6; }
.page-hero .page-hero-sub {
  margin-top: 14px;
  color: rgba(250, 245, 236, 0.8);
  max-width: 620px;
}

.breadcrumb-dark .breadcrumb { color: var(--text-soft); margin-bottom: 18px; }
.breadcrumb-dark .breadcrumb a { color: var(--chocolate); }
.breadcrumb-dark .breadcrumb a:hover { color: var(--apple-deep); }

/* ---------------------------------------------------------------------
   Catalog (products / category)
   ------------------------------------------------------------------ */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.result-count { font-size: 14.5px; color: var(--text-soft); }
.result-count b { color: var(--chocolate); }

.sort-select {
  padding: 10px 40px 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A2C1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.sort-select:focus {
  outline: none;
  border-color: var(--chocolate);
}

.chip-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--chocolate);
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}
.chip:hover { border-color: var(--chocolate); }
.chip.is-active {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
}

.search-form-inline {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}
.search-form-inline input {
  flex: 1;
  padding: 11px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14.5px;
}
.search-form-inline input:focus {
  outline: none;
  border-color: var(--chocolate);
  box-shadow: 0 0 0 4px rgba(168, 198, 134, 0.35);
}

/* category hero on category page */
.cat-hero {
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  margin-bottom: 30px;
}
.cat-hero-media {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.cat-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-hero-body { padding: 24px; }
.cat-hero-body h1 { font-size: clamp(26px, 4vw, 36px); }
.cat-hero-body p { margin-top: 10px; color: var(--text-soft); max-width: 720px; }
.cat-hero-parent {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apple);
  margin-bottom: 8px;
}

.subcat-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

/* ---------------------------------------------------------------------
   Empty states
   ------------------------------------------------------------------ */
.empty-state {
  text-align: center;
  padding: 60px 22px;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-l);
}
.empty-state .empty-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  color: var(--apple);
  opacity: 0.9;
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p {
  color: var(--text-soft);
  max-width: 420px;
  margin: 0 auto 22px;
}

/* ---------------------------------------------------------------------
   Product detail
   ------------------------------------------------------------------ */
.pdp {
  display: grid;
  gap: 30px;
}
.pdp-gallery { display: grid; gap: 12px; }
.pdp-main-img {
  background:
    radial-gradient(circle at 50% 40%, rgba(168, 198, 134, 0.24), transparent 62%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 5px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.is-active,
.pdp-thumb:hover { border-color: var(--chocolate); }

.pdp-info .product-cat { margin-bottom: 10px; display: block; }
.pdp-title { font-size: clamp(26px, 4vw, 38px); }
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.pdp-rating .quote-stars { gap: 2px; }
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-price .price { font-size: 30px; }
.pdp-price .price-old { font-size: 18px; }
.pdp-save {
  background: var(--pistachio-soft);
  color: #46602F;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.pdp-desc {
  margin-top: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}
.pdp-meta {
  margin-top: 18px;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}
.pdp-meta div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-soft);
}
.pdp-meta .icon { color: var(--apple); }

.pdp-buy {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.pdp-buy .btn-primary { flex: 1; min-width: 200px; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  overflow: hidden;
}
.qty-stepper button {
  width: 44px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chocolate);
  transition: background 0.2s var(--ease);
}
.qty-stepper button:hover { background: var(--surface-2); }
.qty-stepper input {
  width: 52px;
  text-align: center;
  border: 0;
  font-weight: 700;
  font-size: 15.5px;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-stepper input:focus { outline: none; }

.pdp-assurance {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.pdp-assurance div {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.pdp-assurance .icon { color: var(--pistachio-deep); }

/* tabs */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 22px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab-btn:hover { color: var(--chocolate); }
.tab-btn.is-active {
  color: var(--chocolate);
  border-color: var(--pistachio);
}
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }
.prose { color: var(--text-soft); line-height: 1.8; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 10px; display: grid; gap: 7px; }
.prose ul li {
  padding-left: 22px;
  position: relative;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pistachio);
}

/* ---------------------------------------------------------------------
   Cart
   ------------------------------------------------------------------ */
.cart-layout { display: grid; gap: 26px; }

.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  align-items: start;
}
.cart-item-media {
  width: 86px;
  height: 86px;
  background: var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
  padding: 6px;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
}
.cart-item-name a:hover { color: var(--apple-deep); }
.cart-item-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 3px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cart-item .qty-stepper button { width: 38px; height: 38px; }
.cart-item .qty-stepper input { width: 44px; }
.cart-item-total {
  font-weight: 800;
  font-size: 16px;
}
.cart-remove {
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.cart-remove:hover { color: var(--danger); }

.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}
.summary-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  padding: 7px 0;
  color: var(--text-soft);
}
.summary-row b { color: var(--chocolate); font-weight: 600; }
.summary-row.summary-total {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1.5px dashed var(--line);
  font-size: 17px;
  color: var(--chocolate);
}
.summary-total b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.summary-card .btn { margin-top: 16px; }
.summary-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
}

/* ---------------------------------------------------------------------
   Checkout / forms panels
   ------------------------------------------------------------------ */
.checkout-layout { display: grid; gap: 26px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.form-card + .form-card { margin-top: 20px; }
.form-card h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  margin-bottom: 20px;
}
.form-card h3 .step-no {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pistachio-soft);
  color: var(--chocolate);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pay-options { display: grid; gap: 12px; }
.pay-option {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-option:hover { border-color: var(--apple); }
.pay-option input {
  margin-top: 4px;
  accent-color: var(--chocolate);
  width: 17px;
  height: 17px;
}
.pay-option.is-active {
  border-color: var(--chocolate);
  background: rgba(168, 198, 134, 0.14);
}
.pay-option .pay-title {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.pay-option .pay-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 4px;
}
.pay-option .icon { color: var(--apple); }

.bank-box {
  margin-top: 14px;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 18px;
  font-size: 14.5px;
  display: none;
}
.bank-box.is-open { display: block; }
.bank-box dl { display: grid; gap: 9px; margin-top: 10px; }
.bank-box dl div { display: flex; gap: 10px; }
.bank-box dt {
  font-weight: 700;
  min-width: 120px;
  color: var(--chocolate);
}
.bank-box dd { color: var(--text-soft); }

/* ---------------------------------------------------------------------
   Auth pages
   ------------------------------------------------------------------ */
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
  display: grid;
  place-items: center;
  padding: 46px var(--gutter) 70px;
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(168, 198, 134, 0.3), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(160, 113, 74, 0.18), transparent 60%),
    var(--cream);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh);
  padding: 38px 30px;
  animation: fadeUp 0.55s var(--ease) both;
}
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  text-align: center;
}
.auth-brand img { width: 62px; }
.auth-card h1 { font-size: 27px; }
.auth-sub {
  color: var(--text-soft);
  font-size: 14.5px;
  margin-top: 7px;
  text-align: center;
}
.auth-alt {
  margin-top: 22px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-soft);
}
.auth-alt a {
  color: var(--chocolate);
  font-weight: 700;
  border-bottom: 2px solid var(--pistachio);
}
.auth-note {
  margin-top: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.auth-note .icon { color: var(--apple); flex: 0 0 auto; margin-top: 2px; }

/* OTP */
.otp-inputs {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 8px 0 4px;
}
.otp-inputs input {
  width: 50px;
  height: 58px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.otp-inputs input:focus {
  outline: none;
  border-color: var(--chocolate);
  box-shadow: 0 0 0 4px rgba(168, 198, 134, 0.4);
}
.otp-resend {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 18px;
}

/* ---------------------------------------------------------------------
   Account / orders
   ------------------------------------------------------------------ */
.account-layout { display: grid; gap: 24px; }
.account-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.account-menu a,
.account-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: var(--r-s);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.account-menu a:hover,
.account-menu button:hover { background: var(--surface-2); color: var(--chocolate); }
.account-menu .is-active {
  background: var(--chocolate);
  color: var(--cream);
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pistachio);
  color: var(--chocolate-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  flex: 0 0 auto;
}
.profile-head h2 { font-size: 22px; }
.profile-head p { color: var(--text-soft); font-size: 14px; margin-top: 3px; }

.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
}
.order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.order-no { font-weight: 800; font-size: 15.5px; letter-spacing: 0.03em; }
.order-date { font-size: 13px; color: var(--text-soft); }
.order-card-body { padding: 18px 20px; }
.order-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  padding: 5px 0;
  color: var(--text-soft);
}
.order-line b { color: var(--chocolate); }
.order-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.order-total { font-size: 17px; font-weight: 800; }

/* status timeline */
.timeline {
  display: grid;
  gap: 0;
  margin: 6px 0 4px;
}
.timeline-step {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 22px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  background: var(--line);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  flex: 0 0 auto;
  z-index: 1;
}
.timeline-step.is-done .timeline-dot {
  background: var(--pistachio);
  border-color: var(--pistachio);
  color: var(--chocolate-deep);
}
.timeline-step.is-done::before { background: var(--pistachio); }
.timeline-step.is-current .timeline-dot {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
}
.timeline-label { font-weight: 700; font-size: 14.5px; }
.timeline-time { font-size: 12.5px; color: var(--text-soft); }

/* ---------------------------------------------------------------------
   About / contact
   ------------------------------------------------------------------ */
.about-hero-art {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 34px;
  box-shadow: var(--sh);
}
.about-hero-art img { width: 100%; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}
.value-card .usp-icon { margin-bottom: 15px; }
.value-card h3 { font-size: 18px; margin-bottom: 9px; }
.value-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.65; }

.stat-band {
  background: var(--chocolate);
  color: var(--cream);
  border-radius: var(--r-l);
  padding: 40px 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-band .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  color: var(--pistachio);
  line-height: 1;
}
.stat-band .stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(250, 245, 236, 0.75);
  letter-spacing: 0.06em;
}

.contact-layout { display: grid; gap: 26px; }
.contact-lines { display: grid; gap: 13px; }
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 17px 18px;
}
.contact-line .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: var(--pistachio-soft);
  color: var(--chocolate);
  flex: 0 0 auto;
}
.contact-line b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple);
  margin-bottom: 3px;
}
.contact-line a:hover { color: var(--apple-deep); }
.contact-line p { font-size: 15px; }

.map-frame {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--chocolate);
  color: rgba(250, 245, 236, 0.82);
  margin-top: 70px;
}
.footer-grid {
  display: grid;
  gap: 34px;
  padding: 52px 0 36px;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 16.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2.5px;
  background: var(--pistachio);
  border-radius: 2px;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-about .brand-name { font-size: 26px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; }
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(168, 198, 134, 0.65);
  flex: 0 0 auto;
}
.footer-links a:hover { color: var(--pistachio); transform: translateX(4px); }

.footer-contact { display: grid; gap: 13px; }
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
}
.footer-contact .icon {
  color: var(--pistachio);
  flex: 0 0 auto;
  margin-top: 3px;
}
.footer-contact a:hover { color: var(--pistachio); }

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 236, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--pistachio);
  border-color: var(--pistachio);
  color: var(--chocolate-deep);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 236, 0.16);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 13.5px;
  color: rgba(250, 245, 236, 0.62);
}
.footer-bottom b { color: var(--cream); font-weight: 600; }
.footer-pay {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-pay span {
  border: 1px solid rgba(250, 245, 236, 0.3);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(250, 245, 236, 0.8);
}

/* ---------------------------------------------------------------------
   WhatsApp widget
   ------------------------------------------------------------------ */
.wa-widget {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottomnav-h) + 18px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pistachio);
  color: var(--chocolate-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(74, 44, 29, 0.32);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.wa-fab:hover { transform: scale(1.07); background: var(--pistachio-deep); color: var(--white); }
.wa-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(168, 198, 134, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-panel {
  width: min(82vw, 300px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-l);
  overflow: hidden;
  transform-origin: bottom right;
  animation: fadeUp 0.3s var(--ease) both;
  display: none;
}
.wa-panel.is-open { display: block; }
.wa-panel-head {
  background: var(--chocolate);
  color: var(--cream);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.wa-panel-head img { width: 38px; }
.wa-panel-head b { display: block; font-size: 15px; }
.wa-panel-head span { font-size: 12.5px; color: rgba(250, 245, 236, 0.7); }
.wa-panel-body { padding: 15px 16px; font-size: 14px; color: var(--text-soft); }
.wa-panel-body .btn { margin-top: 13px; }
.wa-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pistachio-deep);
}
.wa-online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pistachio-deep);
}

/* ---------------------------------------------------------------------
   Mobile bottom navigation (hidden on desktop)
   ------------------------------------------------------------------ */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(74, 44, 29, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--bottomnav-h);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.bottom-nav a.is-active { color: var(--chocolate); }
.bottom-nav a.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 34px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--pistachio);
}
.bottom-nav .cart-badge {
  top: 8px;
  right: calc(50% - 22px);
  border-color: var(--white);
}

/* ---------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 42px;
}
.page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--chocolate);
  transition: all 0.2s var(--ease);
}
.page-link:hover { border-color: var(--chocolate); }
.page-link.is-active {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
}
.page-link.is-disabled,
.page-dots {
  opacity: 0.45;
  pointer-events: none;
}
.page-dots {
  min-width: 24px;
  text-align: center;
}

/* ---------------------------------------------------------------------
   Success / utility pages
   ------------------------------------------------------------------ */
.success-hero {
  text-align: center;
  padding: 56px 0 20px;
}
.success-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--pistachio);
  color: var(--chocolate-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(127, 158, 92, 0.4);
}
.success-mark .icon { width: 46px; height: 46px; }
.order-no-big {
  display: inline-block;
  margin-top: 14px;
  background: var(--white);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-pill);
  padding: 10px 24px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.maintenance-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}
.maintenance-box {
  text-align: center;
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 46px 34px;
  box-shadow: var(--sh);
}
.maintenance-box p { color: var(--text-soft); margin-top: 12px; }
.maintenance-box .btn { margin-top: 22px; }

/* inline error box */
.error-box {
  background: var(--danger-soft);
  border: 1px solid rgba(163, 90, 56, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--apple-deep);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-weight: 500;
}
.error-box .icon { flex: 0 0 auto; margin-top: 2px; }

/* footer spacing so bottom nav never covers content (mobile overrides) */
.site-main { min-height: 50vh; }
