/* =========================================================
   VITALITY MARKET — Main Stylesheet
   Brand: #656C58 (green) | #C88158 (orange) | #FFF6E7 (beige)
   ========================================================= */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --green:       #656C58;
  --green-dark:  #4a5040;
  --green-light: #8a9278;
  --orange:      #C88158;
  --orange-dark: #a8633d;
  --orange-light:#e09a72;
  --beige:       #FFF6E7;
  --beige-dark:  #F5E8D0;
  --beige-darker:#EDD9BB;
  --white:       #FFFFFF;
  --text:        #2C2C2C;
  --text-mid:    #555555;
  --text-light:  #888888;
  --border:      #E4D9C8;
  --success:     #5A8A5A;
  --error:       #C0392B;
  --warning:     #E67E22;

  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --sh-xs:  0 1px 4px rgba(0,0,0,.06);
  --sh-sm:  0 2px 12px rgba(0,0,0,.08);
  --sh-md:  0 6px 24px rgba(0,0,0,.10);
  --sh-lg:  0 12px 48px rgba(0,0,0,.14);
  --sh-xl:  0 20px 72px rgba(0,0,0,.18);

  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-full: 9999px;

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:    0.25s;

  --max-w:  1320px;
  --pad-x:  clamp(1rem, 4vw, 2.5rem);

  --header-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--beige);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* Prevent text I-beam cursor on all interactive/clickable elements */
button, a, [onclick], [role="button"],
.product-card, .category-card, .filter-chip, .page-btn,
.sidebar-link, .action-btn, .add-to-cart-btn, .product-wishlist,
.metric-card, .toast-close, .modal-close, .view-btn,
.admin-notif-btn, .admin-user-pill, .img-upload-area {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); line-height: 1.25; color: var(--green); }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--sm { padding-block: clamp(2rem, 4vw, 3.5rem); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }

/* ── Typography ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-family: var(--font-serif);
  color: var(--green);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 56ch;
  margin-inline: auto;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,129,88,.35);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,129,88,.4); }
.btn--secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn--secondary:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { padding: .45rem 1rem; font-size: .8rem; }
.btn--lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn--icon { padding: .6rem; border-radius: var(--r-full); aspect-ratio: 1; }

/* ── Header ─────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 251, 243, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  transition: background var(--dur), box-shadow var(--dur);
}
#site-header.scrolled {
  background: rgba(255, 251, 243, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.10);
}
#site-header > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: clamp(1.5rem, 3vw, 3rem) !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  width: 100%;
}
.header-inner .header-logo    { justify-self: start; }
.header-inner .header-nav     { justify-self: center; }
.header-inner .header-actions { justify-self: end; }
.header-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.header-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.header-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1;
}
.header-logo-text span { color: var(--orange); }

.header-nav { display: flex; align-items: center; justify-content: center; gap: .25rem; }
.header-nav a {
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--r-full);
  transition: color var(--dur), background var(--dur);
}
.header-nav a:hover, .header-nav a.active {
  color: var(--green);
  background: rgba(101,108,88,.08);
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-search-btn, .header-cart-btn, .header-account-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: all var(--dur);
  position: relative;
  background: transparent;
  border: 1.5px solid transparent;
}
.header-search-btn:hover, .header-cart-btn:hover, .header-account-btn:hover {
  background: rgba(101,108,88,.08);
  color: var(--green);
  border-color: var(--border);
}
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--r-full);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--beige);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: all var(--dur);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 950;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--beige);
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.mobile-nav-close {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--beige-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  border: none; cursor: pointer;
  flex-shrink: 0;
}
.mobile-nav-links {
  flex: 1;
  padding: 1rem 1.5rem;
}
.mobile-nav-link {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 !important;
  font-size: 1.05rem !important;
  font-weight: 500;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  transition: color var(--dur);
  text-decoration: none;
}
.mobile-nav-link:hover, .mobile-nav-link:active { color: var(--orange) !important; }
.mobile-nav-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.mobile-nav-actions {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: 1px solid var(--border);
  background: var(--beige);
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur);
}
.mobile-nav-cta--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,129,88,.3);
}
.mobile-nav-cta--primary:hover { background: var(--orange-dark); }
.mobile-nav-cta--secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.mobile-nav-cta--secondary:hover { background: var(--green); color: var(--white); }
.mobile-cart-pill {
  background: var(--white);
  color: var(--orange);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  padding: .1rem .45rem;
  min-width: 20px;
  text-align: center;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(255,246,231,.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  width: min(640px, 90%);
  position: relative;
}
.search-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.5rem;
  font-size: 1.2rem;
  border: 2px solid var(--green);
  border-radius: var(--r-full);
  background: var(--white);
  outline: none;
  color: var(--text);
}
.search-results {
  width: min(640px, 90%);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  margin-top: 1rem;
  max-height: 420px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--dur);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--beige); }
.search-result-thumb {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige-dark);
}
.search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--dur);
}
.search-close:hover { background: var(--border); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: clamp(480px, 72vh, 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,129,88,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label { color: var(--orange); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: var(--font-serif);
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--orange); font-style: normal; }
.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--text-mid);
  max-width: 46ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--green);
  font-weight: 700;
}
.hero-stat-label { font-size: .8rem; color: var(--text-light); margin-top: .1rem; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45% / 45% 55% 60% 40%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--beige-dark) 0%, var(--beige-darker) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  box-shadow: var(--sh-xl);
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 40% 60% 55% 45% / 45% 55% 60% 40%; }
  50%      { border-radius: 60% 40% 45% 55% / 55% 45% 40% 60%; }
}
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: .75rem 1.1rem;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.hero-badge-icon { font-size: 1.4rem; }
.hero-badge--tl { top: 8%; left: -5%; }
.hero-badge--br { bottom: 10%; right: -5%; }

/* ══════════════════════════════════════════════════════════
   FULL-SCREEN HERO
══════════════════════════════════════════════════════════ */

/* push hero below fixed header */
.hf-hero { margin-top: calc(var(--header-h) * -1); padding-top: 0; }

/* ── Hero section ── */
.hf-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-image: url('../images/hero-shelf.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* gradient overlay — preserves image, aids text legibility */
.hf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 30, 10, 0.22) 0%,
    rgba(10, 20, 5, 0.18) 40%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

/* centered content container */
.hf-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Badge pill ── */
.hf-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45em 1.4em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

/* ── Headline ── */
.hf-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  letter-spacing: -.01em;
}

/* ── Subtitle ── */
.hf-sub {
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin: 0 0 2.2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* ── Buttons ── */
.hf-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hf-btn-primary {
  display: inline-block;
  padding: .85em 2.6em;
  background: #3a5220;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 6px 28px rgba(58,82,32,.45);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.hf-btn-primary:hover {
  background: #2c3e18;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(58,82,32,.5);
}
.hf-btn-secondary {
  display: inline-block;
  padding: .82em 2.2em;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .25s, transform .2s, border-color .25s;
}
.hf-btn-secondary:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-3px);
}

/* ── Scroll hint ── */
.hf-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 2;
}
.hf-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* ── Fade-up animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-aos] {
  opacity: 0;
  animation: fadeUp .75s cubic-bezier(.22,.68,0,1.2) forwards;
}
[data-aos-delay="100"] { animation-delay: .12s; }
[data-aos-delay="200"] { animation-delay: .24s; }
[data-aos-delay="300"] { animation-delay: .38s; }
[data-aos-delay="500"] { animation-delay: .6s;  }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hf-hero { height: 85svh; min-height: 520px; background-position: center center; background-size: cover; }
  .hf-content { padding-top: var(--header-h); }
  .hf-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hf-actions { flex-direction: column; align-items: center; }
  .hf-btn-primary, .hf-btn-secondary { width: 260px; text-align: center; }
}
@media (max-width: 480px) {
  .hf-hero { height: 80svh; min-height: 480px; background-position: center center; }
  .hf-content { padding: var(--header-h) 1.25rem 0; }
}



/* ── Categories ─────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}
.category-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--sh-xs);
}
.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.category-card:hover .category-icon { transform: scale(1.15) rotate(-5deg); }
.category-icon { font-size: 2.25rem; margin-bottom: .75rem; transition: transform .3s var(--ease); display: block; }
.category-name { font-size: .85rem; font-weight: 600; color: var(--green); line-height: 1.3; }
.category-count { font-size: .75rem; color: var(--text-light); margin-top: .25rem; }

/* ── Product Cards ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: all var(--dur) var(--ease);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--beige-darker);
}
.product-card-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--beige) 0%, var(--beige-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-badges {
  position: absolute;
  top: .75rem; left: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.badge {
  padding: .22rem .6rem;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge--green  { background: #E8F0E6; color: var(--green); }
.badge--orange { background: #FBE9DC; color: var(--orange-dark); }
.badge--blue   { background: #DDE8F5; color: #3a6ea8; }
.badge--purple { background: #EBE3F5; color: #6b4ea8; }
.badge--red    { background: #FCE8E8; color: #a83e3e; }
.badge--teal   { background: #DFF2F0; color: #2e8b82; }
.product-wishlist {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: all var(--dur);
  border: none;
  font-size: 1.1rem;
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { transform: scale(1.15); }
.product-wishlist.active { opacity: 1; }

.product-card-body { padding: 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: .72rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-stars { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.stars { display: flex; gap: 1px; }
.star { font-size: .85rem; }
.star.filled { color: #F5A623; }
.star.empty { color: #DDD; }
.product-rating-count { font-size: .75rem; color: var(--text-light); }

.product-price-row { display: flex; align-items: center; gap: .6rem; margin-top: auto; margin-bottom: .9rem; }
.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-serif);
}
.product-price-old {
  font-size: .9rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-save { font-size: .72rem; font-weight: 700; color: var(--orange); background: #FBE9DC; padding: .15rem .45rem; border-radius: var(--r-full); }

.add-to-cart-btn {
  width: 100%;
  padding: .7rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.add-to-cart-btn:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(101,108,88,.3); }
.add-to-cart-btn.added { background: var(--success); }

/* ── Filters Sidebar ────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}
.filters-panel {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.filter-section { margin-bottom: 1.75rem; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-clear { font-size: .75rem; font-weight: 500; color: var(--orange); cursor: pointer; letter-spacing: 0; text-transform: none; }
.filter-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .4rem 0;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-mid);
  transition: color var(--dur);
}
.filter-option:hover { color: var(--green); }
.filter-option input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}
.price-range {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.price-range input {
  width: 75px;
  padding: .4rem .6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .85rem;
  outline: none;
  color: var(--text);
}
.price-range input:focus { border-color: var(--green); }
.sort-select {
  width: 100%;
  padding: .55rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .875rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23656C58' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
}
.sort-select:focus { border-color: var(--green); }

/* Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.results-count { font-size: .875rem; color: var(--text-light); }
.view-toggle { display: flex; gap: .35rem; }
.view-btn {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-light);
  transition: all var(--dur);
  cursor: pointer;
}
.view-btn.active, .view-btn:hover { border-color: var(--green); color: var(--green); background: rgba(101,108,88,.06); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--dur);
}
.page-btn:hover, .page-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Cart ───────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.cart-items { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--beige); }
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--r-sm);
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width:100%;height:100%;object-fit:cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-brand { font-size: .72rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cart-item-name { font-size: .95rem; font-weight: 600; color: var(--text); margin: .2rem 0 .5rem; }
.cart-item-price { font-size: .9rem; color: var(--green); font-weight: 700; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--beige);
  border-radius: var(--r-full);
  padding: .2rem;
}
.qty-btn {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  transition: background var(--dur);
  box-shadow: var(--sh-xs);
}
.qty-btn:hover { background: var(--green); color: var(--white); }
.qty-val { min-width: 24px; text-align: center; font-size: .9rem; font-weight: 600; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.cart-item-total { font-size: 1rem; font-weight: 700; color: var(--green); font-family: var(--font-serif); }
.cart-remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: .85rem; transition: color var(--dur); }
.cart-remove:hover { color: var(--error); }

.cart-summary {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-xs);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.cart-summary h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--text-mid);
}
.cart-line.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  border-top: 2px solid var(--border);
  margin-top: .75rem;
  padding-top: .75rem;
}
.coupon-row {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}
.coupon-input {
  flex: 1;
  padding: .55rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: .875rem;
  outline: none;
  color: var(--text);
}
.coupon-input:focus { border-color: var(--green); }

/* ── Checkout ───────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
}
.checkout-step {
  flex: 1;
  padding: 1rem;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all var(--dur);
  cursor: default;
}
.checkout-step.active { color: var(--green); border-bottom-color: var(--green); }
.checkout-step.done { color: var(--success); border-bottom-color: var(--success); }
.step-num {
  display: block;
  width: 24px; height: 24px;
  border-radius: var(--r-full);
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  margin-bottom: .3rem;
}
.checkout-form-section {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-xs);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-mid); margin-bottom: .45rem; letter-spacing: .03em; }
.form-input {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .9rem;
  outline: none;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--dur);
}
.form-input:focus { border-color: var(--green); }
.form-input.error { border-color: var(--error); }
.form-error { font-size: .75rem; color: var(--error); margin-top: .3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.payment-methods { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.payment-method {
  flex: 1;
  min-width: 120px;
  padding: .9rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
}
.payment-method.active { border-color: var(--green); background: rgba(101,108,88,.05); color: var(--green); }
#stripe-card-element {
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
}

/* ── Order Summary (Checkout sidebar) ──────────────────── */
.order-summary-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-xs);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.order-item-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
}
.order-item-row:last-of-type { border-bottom: none; }
.order-item-thumb {
  width: 44px; height: 44px;
  border-radius: var(--r-xs);
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.order-item-details { flex: 1; min-width: 0; }
.order-item-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.order-item-qty { font-size: .76rem; color: var(--text-light); }
.order-item-price { font-size: .9rem; font-weight: 700; color: var(--green); white-space: nowrap; }

/* ── Product Detail ─────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--beige) 0%, var(--beige-dark) 100%);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  box-shadow: var(--sh-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.gallery-main img { width:100%;height:100%;object-fit:cover; }
.gallery-thumbs { display: flex; gap: .75rem; }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  background: var(--beige-dark);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: border-color var(--dur);
  overflow: hidden;
}
.gallery-thumb img { width:100%;height:100%;object-fit:cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--orange); }

.product-detail-info { }
.product-detail-brand { color: var(--orange); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.product-detail-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); margin-bottom: .75rem; }
.product-detail-stars { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.product-detail-price {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.product-detail-price .price-main { font-size: 2rem; font-weight: 700; color: var(--green); font-family: var(--font-serif); }
.product-detail-price .price-old { font-size: 1.1rem; color: var(--text-light); text-decoration: line-through; }
.product-detail-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.product-detail-desc { font-size: .95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.75rem; }
.quantity-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.qty-selector {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: .3rem .5rem;
  background: var(--white);
}
.qty-selector .qty-btn {
  width: 32px; height: 32px;
}
.qty-selector .qty-val { min-width: 32px; font-size: 1rem; }

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin-top: .75rem;
}
.nutrition-table th {
  background: var(--green);
  color: var(--white);
  padding: .6rem .85rem;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
}
.nutrition-table td {
  padding: .55rem .85rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.nutrition-table tr:nth-child(even) td { background: var(--beige); }
.nutrition-table tr:last-child td { border-bottom: none; }

.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}
.product-tab {
  padding: .7rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--dur);
}
.product-tab.active { color: var(--green); border-bottom-color: var(--green); }
.product-tab-content { display: none; }
.product-tab-content.active { display: block; }

/* ── Product Detail (Redesigned) ───────────────────────── */
.pd-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
.pd-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: .75rem; }
.pd-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pd-thumbs::-webkit-scrollbar { height: 4px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.pd-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: var(--r-sm);
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  background: var(--beige);
  padding: 0;
  transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb--active { border-color: var(--green); }
.pd-thumb:hover:not(.pd-thumb--active) { border-color: var(--text-light); }
.pd-img-box {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--beige);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--beige) 0%, var(--beige-dark) 100%);
  font-size: 9rem;
}
.pd-brand-tag {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .5rem;
}
.pd-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text); font-family: var(--font-serif);
  line-height: 1.25; margin-bottom: 1rem;
}
.pd-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.pd-price-row {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.pd-price-main { font-size: 2rem; font-weight: 700; color: var(--green); font-family: var(--font-serif); }
.pd-price-old  { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.pd-meta {
  font-size: .82rem; color: var(--text-mid);
  background: var(--beige); border-radius: var(--r-sm);
  padding: .65rem 1rem; margin-bottom: 1rem;
  display: flex; flex-wrap: wrap; gap: .35rem;
}
.pd-meta-sep { color: var(--border); }
.pd-stock-row { margin-bottom: 1.25rem; font-size: .875rem; }
.pd-in-stock  { color: var(--success); font-weight: 700; }
.pd-out-stock { color: var(--error);   font-weight: 700; }
.pd-qty-row {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.pd-delivery-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: .78rem; color: var(--text-light);
  padding-top: 1rem; border-top: 1px solid var(--border);
}

/* Sections below the two-column layout */
.pd-sections { }
.pd-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.pd-section--last { border-bottom: 1px solid var(--border); }
.pd-section-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.pd-section-body {
  font-size: .95rem; color: var(--text-mid); line-height: 1.8;
  margin-bottom: 1.25rem;
}
.pd-ingredients {
  font-size: .85rem; color: var(--text-mid); line-height: 1.7;
  background: var(--beige); border-radius: var(--r-sm);
  padding: .75rem 1rem; margin-bottom: 1.25rem;
}
.pd-benefits {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .5rem; margin-bottom: 1.25rem;
}
.pd-benefits li {
  display: flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: .6rem .9rem;
  font-size: .85rem; color: var(--text-mid);
}
.pd-benefit-check { color: var(--success); font-weight: 700; font-size: 1rem; }
.pd-serving-tip {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--beige); border-radius: var(--r-md);
  padding: 1rem 1.25rem; font-size: .875rem; color: var(--text-mid); line-height: 1.7;
}
.pd-serving-icon { font-size: 1.5rem; flex-shrink: 0; }

/* Brand card */
.pd-brand-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--beige); border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.pd-brand-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; font-family: var(--font-serif);
  flex-shrink: 0;
}
.pd-brand-name { font-weight: 700; color: var(--green); font-size: .95rem; margin-bottom: .4rem; }
.pd-brand-desc { font-size: .875rem; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* Nutrition */
.pd-nutrition-wrap {
  max-width: 520px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pd-nutrition-header {
  background: var(--text); color: #fff;
  padding: .85rem 1.1rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.pd-nutrition-header span { font-size: .8rem; color: rgba(255,255,255,.7); }
.pd-nutrition-table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.pd-nutrition-table thead th {
  background: rgba(0,0,0,.06); color: var(--text);
  padding: .5rem 1rem; text-align: left;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
.pd-nutrition-table td {
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.pd-nutrition-table tr:nth-child(even) td { background: var(--beige); }
.pd-nutrition-table tr:last-child td { border-bottom: none; }
.pd-dv { text-align: right; color: var(--text-light); font-size: .8rem; }
.pd-nutrition-note {
  font-size: .72rem; color: var(--text-light);
  padding: .6rem 1rem; border-top: 1px solid var(--border);
  background: var(--beige);
}

@media (max-width: 820px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-img-box { max-height: 320px; aspect-ratio: auto; }
}

/* ── Reviews ────────────────────────────────────────────── */
.review-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sh-xs);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .75rem; }
.review-author { font-weight: 700; color: var(--text); font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--text-light); }
.review-text { font-size: .875rem; color: var(--text-mid); line-height: 1.65; }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--border);
}
.testimonial-stars { margin-bottom: .75rem; }
.testimonial-text { font-size: .925rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--green), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .875rem; color: var(--text); }
.testimonial-title { font-size: .75rem; color: var(--text-light); }

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter-section {
  background: var(--green);
  border-radius: var(--r-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}
.newsletter-section .section-title { color: var(--white); }
.newsletter-section p { color: rgba(255,255,255,.8); max-width: 50ch; margin-inline: auto; margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin-inline: auto; }
.newsletter-input {
  flex: 1;
  padding: .75rem 1.25rem;
  border-radius: var(--r-full);
  border: none;
  outline: none;
  font-size: .9rem;
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { background: rgba(255,255,255,.22); }

/* ── Footer ─────────────────────────────────────────────── */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.footer-desc { font-size: .875rem; line-height: 1.7; max-width: 32ch; color: rgba(255,255,255,.65); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--dur);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}
.social-btn:hover { background: var(--orange); }
.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}
.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .55rem;
  transition: color var(--dur);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--orange); }
.footer-payments { display: flex; gap: .4rem; }
.payment-icon {
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

/* ── Account ────────────────────────────────────────────── */
.auth-container {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-md);
}
.auth-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; }
.auth-tab {
  flex: 1;
  padding: .7rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--dur);
  background: var(--beige);
  color: var(--text-mid);
}
.auth-tab.active { background: var(--green); color: var(--white); }
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-light);
  font-size: .8rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.account-avatar-wrap {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.account-avatar {
  width: 70px; height: 70px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--green) 0%, var(--orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin: 0 auto 1rem;
}
.account-name { font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.account-email { font-size: .8rem; color: var(--text-light); }
.account-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--dur);
  margin-bottom: .25rem;
}
.account-nav a:hover, .account-nav a.active {
  background: rgba(101,108,88,.08);
  color: var(--green);
}
.account-content {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-xs);
  min-height: 400px;
}

/* ── Order History ──────────────────────────────────────── */
.order-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: .75rem;
  transition: all var(--dur);
  cursor: pointer;
}
.order-row:hover { border-color: var(--orange); transform: translateX(4px); }
.order-id { font-weight: 700; color: var(--text); font-size: .875rem; }
.order-date { font-size: .8rem; color: var(--text-light); }
.order-status {
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status--pending     { background: #FFF3CD; color: #856404; }
.status--processing  { background: #DDE8F5; color: #2a5fa8; }
.status--shipped     { background: #E8F0E6; color: var(--green); }
.status--delivered   { background: #D4EDDA; color: #155724; }
.status--cancelled   { background: #F8D7DA; color: #721c24; }

/* ── Toast Notifications ────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.toast {
  background: var(--white);
  border-radius: var(--r-md);
  padding: .85rem 1.25rem;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 280px;
  max-width: 360px;
  border-left: 4px solid var(--success);
  animation: slideIn .3s var(--ease);
  font-size: .875rem;
}
.toast.error   { border-left-color: var(--error); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: #3498db; }
.toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-msg { flex: 1; color: var(--text); font-weight: 500; }
.toast-close { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 1.1rem; padding: 0; }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-mid); transition: color var(--dur); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--border); }

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, rgba(101,108,88,.06) 0%, rgba(200,129,88,.06) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--green); }
.page-hero p { color: var(--text-mid); margin-top: .4rem; }

/* ── Best Sellers Banner ────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.promo-banner::after {
  content: '🌿';
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 8rem;
  opacity: .08;
  pointer-events: none;
}
.promo-banner h3 { font-size: 1.5rem; color: var(--white); margin-bottom: .4rem; }
.promo-banner p { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ── Sticky filter toggle (mobile) ─────────────────────── */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
}

/* ── Skeleton Loading ───────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--beige-dark) 25%, var(--beige-darker) 50%, var(--beige-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .cart-layout { grid-template-columns: 1fr 320px; }
  .checkout-layout { grid-template-columns: 1fr 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .shop-layout { grid-template-columns: 1fr; }
  .filters-panel {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 800;
    border-radius: 0;
    overflow-y: auto;
    padding-top: 5rem;
  }
  .filters-panel.open { display: block; }
  .filter-toggle-btn { display: flex; }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }

  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }

  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }

  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .checkout-steps { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES
   ═══════════════════════════════════════════════════════════ */

/* ── Touch devices: always show wishlist button ─────────── */
@media (hover: none) {
  .product-wishlist { opacity: 1; }
}

/* ── Header mobile ──────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --header-h: 60px; }
  #site-header > .container { padding-inline: 1rem !important; }
  .header-logo img { height: 48px !important; }
  /* hide tagline on very small screens */
  .header-logo > div > div:last-child { display: none; }
  .header-logo > div > div:first-child { font-size: 1rem !important; }
  .header-actions { gap: .35rem; }
  .header-search-btn,
  .header-cart-btn,
  .header-account-btn { padding: .35rem; }
}

/* ── Product cards on mobile ────────────────────────────── */
@media (max-width: 480px) {
  .product-card-img { font-size: 3rem; }
  .product-card-body { padding: .75rem .85rem; }
  .product-name { font-size: .875rem; }
  .product-brand { font-size: .65rem; }
  .product-price { font-size: 1rem; }
  .product-price-old { font-size: .8rem; }
  .add-to-cart-btn { font-size: .78rem; padding: .6rem .5rem; }
  .product-stars { margin-bottom: .4rem; }
  .star { font-size: .75rem; }
  .product-rating-count { font-size: .68rem; }
  .product-card-badges { gap: .25rem; }
  .badge { font-size: .6rem; padding: .15rem .4rem; }
}

/* ── Category cards on mobile ───────────────────────────── */
@media (max-width: 480px) {
  .category-card { padding: 1rem .5rem; }
  .category-icon { font-size: 1.75rem; margin-bottom: .5rem; }
  .category-name { font-size: .75rem; }
  .category-count { display: none; }
}

/* ── Sections spacing ───────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding-block: 2.5rem; }
  .section-title { font-size: 1.6rem; }
  .newsletter-section { padding: 2rem 1.25rem; border-radius: var(--r-md); }
}

/* ── Cart page on mobile ────────────────────────────────── */
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 56px 1fr; gap: .75rem; padding: 1rem; }
  .cart-item-img { font-size: 1.75rem; width: 56px; height: 56px; }
  .cart-item-name { font-size: .875rem; }
  .cart-item-brand { font-size: .7rem; }
  .cart-item-price { font-size: .8rem; }
  .cart-item-total { font-size: .95rem; }
  .cart-remove { font-size: .75rem; }
  .qty-btn { width: 28px; height: 28px; font-size: .9rem; }
  .qty-val { font-size: .9rem; min-width: 24px; }
  .cart-summary { padding: 1.25rem; }
  .coupon-row { flex-direction: column; }
  .coupon-input { width: 100%; }
}

/* ── Checkout on mobile ─────────────────────────────────── */
@media (max-width: 480px) {
  .checkout-step-label { display: none; }
  .step-connector { flex: 0 0 24px; }
  .checkout-form-section { padding: 1.25rem; }
  .checkout-form-section h2 { font-size: 1.1rem; }
}

/* ── Product detail on mobile ───────────────────────────── */
@media (max-width: 480px) {
  .pd-img-box { max-height: 260px; }
  .pd-title { font-size: 1.4rem; }
  .pd-price-main { font-size: 1.5rem; }
}

/* ── Shop page filters toggle ───────────────────────────── */
@media (max-width: 768px) {
  .filter-toggle-btn { display: flex; width: 100%; justify-content: center; margin-bottom: 1rem; }
  .filters-panel { background: var(--white); }
}

/* ── Trust strip ────────────────────────────────────────── */
.trust-strip { background: var(--green); color: var(--white); padding: .6rem 0; }
.trust-strip-inner {
  display: flex; justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap;
  font-size: .85rem; font-weight: 500;
}
@media (max-width: 768px) {
  .trust-strip { padding: .5rem 0; }
  .trust-strip-inner { gap: .75rem 1.5rem; font-size: .78rem; }
}
@media (max-width: 480px) {
  .trust-strip-inner { gap: .4rem 1.25rem; font-size: .72rem; }
}

/* ── Home page hero on mobile ───────────────────────────── */
@media (max-width: 480px) {
  .hf-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hf-btn-primary, .hf-btn-secondary { width: 100%; max-width: 280px; }
}

/* ── Footer on mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  /* 2-column grid: brand spans full width, link columns in 2 cols */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem 1.5rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  /* Make sure links stack vertically (not inline) */
  .footer-col a { display: block !important; padding: .35rem 0; font-size: .875rem; }
  .footer-col h4 { margin-bottom: .75rem; }
  /* Brand description: shorter on mobile */
  .footer-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  #site-footer { padding: 2.5rem 0 1.25rem; }
}

/* ── General touch improvements ─────────────────────────── */
@media (max-width: 768px) {
  /* Larger tap targets */
  .btn--sm { padding: .5rem 1rem; }
  /* Prevent text overflow on long words but NOT on numbers/prices */
  h1,h2,h3,h4,h5,h6,p,li,td,th { word-break: break-word; }
  /* Prices must never break mid-number */
  .product-price, .product-price-old, .product-save, .product-price-row,
  .pd-price-row, .pd-price-main, .pd-price-old,
  .cart-item-price, .order-item-price,
  .price-main, .price-old { white-space: nowrap !important; word-break: normal !important; }
  /* Remove hover transforms on touch (prevents stuck states) */
  .product-card:hover { transform: none; }
  .btn:hover { transform: none; }
  .category-card:hover { transform: none; }
  /* Filters close button: show inside the open panel */
  .filters-panel.open #filters-close-btn { display: block !important; }
}

/* ══════════════════════════════════════════════════════════
   ADDITIONAL MOBILE FIXES — 768px and below
══════════════════════════════════════════════════════════ */

/* ── Header logo: fix 68px img in 60px header on mobile ─── */
@media (max-width: 768px) {
  .header-logo img { height: 48px !important; max-width: 48px; object-fit: contain; }
  /* Hide tagline beside logo on mobile — too cramped */
  .header-logo > div > div:last-child { display: none; }
  /* Shop toolbar: prevent sort select overflow */
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-toolbar > div { flex-wrap: wrap; }
  .sort-select { min-width: 0 !important; width: 100% !important; }
  /* Toast: prevent overflow on narrow screens */
  #toast-container { right: .75rem; left: .75rem; }
  .toast { min-width: 0; max-width: 100%; }
  /* Qty buttons: minimum 44px touch targets on mobile */
  .qty-btn { width: 36px !important; height: 36px !important; }
}

/* ── 480px: very small screens ──────────────────────────── */
@media (max-width: 480px) {
  /* Header logo in 60px header */
  .header-logo img { height: 44px !important; }

  /* "Why Us" 3-column inline grid in index.html — override via body selector */
  /* We target the specific pattern used in the HTML */
  .hf-why-grid,
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Cart suggestions grid: prevent 2-col at very narrow widths */
  #suggestions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem !important;
  }

  /* Testimonials grid: 1 column on very small screens */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Promo banner */
  .promo-banner { padding: 1.5rem 1.25rem; }
  .promo-banner h3 { font-size: 1.2rem; }

  /* Product detail qty row */
  .pd-qty-row { gap: .6rem; }

  /* Checkout: page-hero heading row */
  .page-hero .breadcrumb { margin-bottom: .5rem; }

  /* Shop toolbar: stack search below filter btn */
  .shop-toolbar > div:first-child { flex-direction: column; align-items: stretch; }
  .shop-toolbar > div:first-child > div { max-width: 100% !important; }

  /* Sort select in toolbar */
  .shop-toolbar > div:last-child { flex-wrap: wrap; }
  .shop-toolbar > div:last-child .sort-select { width: 100%; }

  /* Filter toggle button full-width already set at 768px */
}

/* ── 320px: narrowest supported viewport ────────────────── */
@media (max-width: 360px) {
  /* Products grid: ensure 2-col still works at 320px */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: .5rem; }

  /* Cart suggestions: 1 column at 360px or below */
  #suggestions-grid { grid-template-columns: 1fr !important; }

  /* Category grid: 2 columns at very narrow */
  .categories-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Header: tighten further */
  .header-actions { gap: .2rem; }
  .header-search-btn,
  .header-cart-btn,
  .header-account-btn { width: 36px; height: 36px; }

  /* Checkout steps: smaller text */
  .checkout-step { padding: .65rem .5rem; font-size: .72rem; }

  /* Cart item: tighter */
  .cart-item { padding: .75rem; gap: .5rem; }

  /* Auth container */
  .auth-container { padding: 1.5rem 1rem; }

  /* Modal padding */
  .modal-body { padding: 1.25rem 1rem; }
  .modal-header { padding: 1rem; }
  .modal-footer { padding: 1rem; }
}
