/* ==========================================================================
   Ben KukuHatch — Poultry Chicks & Incubators
   Mobile-app-style e-commerce site
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #10584D;
  --green-dark: #0b3f37;
  --green-light: #16786a;
  --gold: #E0AF0C;
  --gold-dark: #b88e08;
  --dark: #221F1A;
  --cream: #EDEDEA;
  --white: #FFFFFF;
  --text: #222222;
  --text-muted: #767676;
  --line: #e2e0da;
  --danger: #c0392b;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 20, 20, 0.10);

  --maxw: 480px;
  --topbar-h: 64px;
  --bottomnav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   REMOVE DEFAULT BROWSER TAP / CLICK ARTIFACTS
   No blue tap flashes, no default focus rings, no native button chrome —
   only the custom hover/active states and focus-visible ring defined below.
   ========================================================================== */
html, body {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a, button, input, textarea, select,
.nav-item, .icon-btn, .back-btn, .btn,
.category-chip, .category-pill, .product-card,
.acc-menu-item, .pc-fav, .pc-add {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

a, button {
  -webkit-user-select: none;
  user-select: none;
}

button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
}

/* Kill the native focus/active ring on click or tap for every interactive
   element — :focus-visible below restores it for keyboard navigation only */
a:focus, button:focus, input:focus, textarea:focus, select:focus,
a:active, button:active {
  outline: none;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #d8d8d4;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--green);
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

/* Clean custom focus state — visible only for keyboard/assistive navigation,
   never flashes on a mouse click or a touch tap */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===================== APP SHELL ===================== */
.app {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  padding-bottom: calc(var(--bottomnav-h) + 14px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 560px) {
  body { padding: 24px 0; }
  .app { min-height: calc(100vh - 48px); border-radius: 28px; overflow: hidden; }
}

/* ===================== TOP BAR ===================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  height: var(--topbar-h);
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}

.topbar .brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.topbar .greet-eyebrow {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.topbar .greet-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar .page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.icon-btn:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }
.icon-btn i { font-size: 17px; }

.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
}
.back-btn:hover { background: var(--gold); color: var(--white); }

/* ===================== MAIN CONTENT ===================== */
.content { padding: 18px; }
.content.no-pad-top { padding-top: 0; }

/* ===================== SEARCH BAR ===================== */
.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.search-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.search-pill i { color: var(--text-muted); font-size: 15px; }
.search-pill input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: var(--text);
}

.pill-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.pill-icon-btn:hover { transform: translateY(-1px); background: var(--green-light); }

/* ===================== PROMO / HERO CARD ===================== */
.promo-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 150px;
  display: flex;
  align-items: center;
}
.promo-card .promo-text { position: relative; z-index: 2; max-width: 60%; }
.promo-card h2 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 14px;
}
.promo-card .btn-shop {
  background: var(--white);
  color: var(--green);
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.promo-card .btn-shop:hover { background: var(--gold); color: var(--white); }
.promo-card .promo-img {
  position: absolute;
  right: 10px;
  bottom: -40px;
  width: 40%;
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 110%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ===================== SECTION HEADER ===================== */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-head h3 { font-size: 18px; color: var(--dark); }
.section-head .see-all { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.section-head .see-all:hover { color: var(--green); }

section.block { margin-bottom: 28px; }

/* ===================== CATEGORY CHIPS ===================== */
.category-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }

.category-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.category-chip .cat-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--green);
  font-size: 20px;
  overflow: hidden;
  border: 2.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.category-chip .cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.category-chip:hover .cat-circle {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(34, 31, 26, 0.16);
}
.category-chip:hover .cat-circle img { transform: scale(1.1); }
.category-chip.active .cat-circle { background: var(--green); color: var(--white); border-color: var(--gold); }
.category-chip.active .cat-circle.cat-circle-icon { background: var(--green); }
.category-chip span { font-size: 11px; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.category-chip.active span { color: var(--green); }

/* pill variant used in reference (active = pill with label inline) */
.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.category-pill.active { background: var(--green); color: var(--white); }
.category-pill i { font-size: 14px; }
.category-pill .pill-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.category-pill .pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-pill.active .pill-thumb { border-color: var(--gold); }
.category-pill:hover .pill-thumb { transform: scale(1.08); }

/* ===================== BLOG CARD ===================== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card .bc-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--cream); display: block; }
.blog-card .bc-body { padding: 14px; }
.blog-card .bc-date { font-size: 11px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 16px; color: var(--dark); margin: 6px 0; }
.blog-card .bc-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.blog-card .bc-toggle { border: none; background: none; color: var(--green); font-weight: 700; font-size: 13px; padding: 0; margin-top: 8px; cursor: pointer; }
.blog-card .bc-full { display: none; font-size: 13.5px; color: var(--text); line-height: 1.6; margin-top: 10px; white-space: pre-line; }
.blog-card.expanded .bc-full { display: block; }
.blog-card.expanded .bc-excerpt { display: none; }

/* ===================== PRODUCT GRID & CARD ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.product-card .pc-img-wrap {
  position: relative;
  aspect-ratio: 1 / 0.85;
  overflow: hidden;
  background: var(--cream);
}
.product-card .pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.product-card .pc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.product-card .pc-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  z-index: 2;
}
.product-card .pc-fav.active,
.product-card .pc-fav:hover { color: var(--danger); }

.product-card .pc-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .pc-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .pc-unit { font-size: 11px; color: var(--text-muted); }

.product-card .pc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.product-card .pc-price { font-size: 15px; font-weight: 800; color: var(--green); }
.product-card .pc-oldprice {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 5px;
  font-weight: 500;
}
.product-card .pc-add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.product-card .pc-add:hover { background: var(--gold); transform: scale(1.08); }
.product-card .pc-add:active { transform: scale(0.94); }

/* ===================== BOTTOM NAV ===================== */
.bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--bottomnav-h);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 50;
  padding: 8px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
  border-radius: 0;
}

@media (min-width: 560px) {
  .bottomnav { position: absolute; }
}

/* sliding active-tab pill — positioned/animated by JS, purely a background layer */
.nav-indicator {
  position: absolute;
  top: 9px;
  left: 0;
  width: 44px;
  height: 29px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, #157263 100%);
  box-shadow:
    0 5px 14px rgba(16, 88, 77, 0.38),
    0 0 0 3px rgba(224, 175, 12, 0.16),
    0 0 16px rgba(224, 175, 12, 0.30);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 220ms ease;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-indicator.ready { opacity: 1; }
.nav-indicator.no-anim { transition: none; }

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  flex: 1;
  padding: 6px 2px;
  position: relative;
  z-index: 1;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), color 300ms ease;
}
.nav-item i { font-size: 19px; transition: color 300ms ease, transform 300ms ease; }
.nav-item span { transition: color 300ms ease, font-weight 300ms ease; }

.nav-item.active { color: var(--green); transform: translateY(-1px) scale(1.05); }

/* neutralize the old static pill wrapper — the sliding .nav-indicator now supplies the pill look */
.nav-item .nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  margin-bottom: 1px;
}
.nav-item.active .nav-pill { color: var(--white); }
.nav-item.active .nav-pill i { font-size: 19px; }

.nav-item:not(.active):hover { color: var(--green-light); }
.nav-item:not(.active):hover i { transform: translateY(-1px); }

.nav-item .cart-count {
  position: absolute;
  top: -2px;
  right: 18%;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  width: 100%;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-light); }
.btn-incart {
  background: var(--gold);
  color: var(--white);
  transition: background 0.25s ease, transform 0.15s ease, opacity 0.25s ease;
}
.btn-incart:hover { background: var(--gold-dark); }
.btn-incart.btn-pop { animation: btnPop 0.35s ease; }
@keyframes btnPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; width: auto; }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 22px;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,88,77,0.15) 0%, rgba(15,25,20,0.82) 100%);
}
.page-hero .hero-text { position: relative; z-index: 2; padding: 20px; color: var(--white); }
.page-hero .hero-text .eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.page-hero .hero-text h1 { color: var(--white); font-size: 26px; margin-top: 4px; }
.page-hero .hero-text p { color: rgba(255,255,255,0.85); font-size: 13px; margin-top: 6px; }

/* ===================== CARDS / GENERIC ===================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.info-card .info-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 10px;
}
.info-card h4 { font-size: 14.5px; color: var(--dark); margin-bottom: 6px; }
.info-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.stats-band {
  background: var(--green);
  border-radius: var(--radius-md);
  padding: 22px 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stats-band .stat { text-align: center; }
.stats-band .stat b { display: block; font-family: 'Fredoka', sans-serif; color: var(--gold); font-size: 24px; }
.stats-band .stat span { font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 600; }

/* ===================== TESTIMONIALS ===================== */
.testi-card {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.testi-card .quote-icon { color: var(--gold); font-size: 22px; margin-bottom: 10px; }
.testi-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.92); margin-bottom: 16px; }
.testi-card .testi-author { display: flex; align-items: center; gap: 10px; }
.testi-card .testi-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-card .testi-author b { display: block; font-size: 13px; }
.testi-card .testi-author span { font-size: 11px; color: var(--gold); }
.testi-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.testi-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.testi-dots span.active { background: var(--green); width: 18px; border-radius: 4px; }

/* ===================== TEAM ===================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.team-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-card .team-body { padding: 10px; }
.team-card b { font-size: 12.5px; color: var(--dark); display: block; }
.team-card span { font-size: 10.5px; color: var(--gold); font-weight: 600; }

/* ===================== FORMS ===================== */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  background: var(--white);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 90px; }

/* ===================== CART ===================== */
.cart-item {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  align-items: center;
}
.cart-item img { width: 66px; height: 66px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.cart-item .ci-unit { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.cart-item .ci-price { font-size: 13.5px; font-weight: 800; color: var(--green); }
.cart-item .ci-remove {
  background: none; border: none; color: var(--text-muted); font-size: 15px; align-self: flex-start;
}
.cart-item .ci-remove:hover { color: var(--danger); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin-top: 8px;
}
.qty-control button {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.qty-control span { font-size: 13px; font-weight: 700; min-width: 18px; text-align: center; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}
.cart-summary .row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 10px; color: var(--text-muted); }
.cart-summary .row.total { color: var(--dark); font-weight: 800; font-size: 16px; border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.cart-summary .row.total span:last-child { color: var(--green); }

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 42px; color: var(--line); margin-bottom: 14px; display: block; }
.empty-state h3 { color: var(--dark); margin-bottom: 6px; font-size: 16px; }
.empty-state p { font-size: 13px; margin-bottom: 18px; }

/* ===================== SINGLE PRODUCT PAGE ===================== */
.pd-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/0.95;
  margin-bottom: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-bottom: 18px; }
.pd-thumbs button {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--white);
}
.pd-thumbs button.active { border-color: var(--green); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-title { font-size: 20px; color: var(--dark); margin-bottom: 4px; }
.pd-cat { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.pd-price-row { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.pd-price { font-size: 24px; font-weight: 800; color: var(--green); }
.pd-oldprice { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 700; margin-bottom: 14px; }
.pd-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.pd-desc h4 { font-size: 13.5px; color: var(--dark); margin-bottom: 6px; font-family: 'Inter'; font-weight: 700; }

.pd-qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pd-qty-row .qty-control { margin-top: 0; }

.pd-actions { display: flex; gap: 10px; margin-bottom: 24px; }

.related-scroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.related-scroll::-webkit-scrollbar { display: none; }
.related-scroll .product-card { min-width: 150px; }

/* ===================== FILTER PANEL (products page) ===================== */
.filter-bar { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }

.results-count { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

/* ===================== STATIC PAGE CONTENT (about/faq/policy) ===================== */
.prose h2 { font-size: 17px; color: var(--dark); margin: 20px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0 0 10px; }
.prose ul { margin: 8px 0 14px; padding-left: 4px; }
.prose ul li {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.6;
  padding-left: 20px; position: relative; margin-bottom: 8px;
}
.prose ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--green); position: absolute; left: 0; font-size: 10px; top: 4px;
}

.accordion-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion-item .acc-q {
  width: 100%; text-align: left; background: none; border: none; padding: 15px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 700; color: var(--dark);
}
.accordion-item .acc-q i { color: var(--green); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 10px; }
.accordion-item.open .acc-q i { transform: rotate(180deg); }
.accordion-item .acc-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-item.open .acc-a { max-height: 240px; }
.accordion-item .acc-a p { font-size: 13px; color: var(--text-muted); line-height: 1.6; padding: 0 16px 16px; margin: 0; }

.contact-methods { display: grid; gap: 10px; margin-bottom: 20px; }
.contact-method { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius-sm); padding: 13px; box-shadow: var(--shadow-sm); }
.contact-method .cm-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.contact-method b { display: block; font-size: 13px; color: var(--dark); }
.contact-method span { font-size: 12px; color: var(--text-muted); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; color: var(--green);
  box-shadow: var(--shadow-sm); font-size: 15px;
}
.social-row a:hover { background: var(--green); color: var(--white); }

/* footer note within app (site footer replaced by bottom nav) */
.mini-footer { text-align: center; padding: 18px 10px 4px; font-size: 11px; color: var(--text-muted); }
.mini-footer a { color: var(--green); font-weight: 700; }

/* toast — fixed above every other layer (sheets/panels peak at z-index 200) so
   confirmations are never hidden behind a form or modal. Top-center on
   mobile, top-right on desktop (matches the --maxw:560px breakpoint used
   elsewhere for the desktop layout). */
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-20px);
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast i { color: var(--gold); }

@media (min-width: 560px) {
  .toast {
    top: 20px;
    left: auto;
    right: 20px;
    transform: translateY(-20px);
  }
  .toast.show { transform: translateY(0); }
}

/* ===================== PREMIUM SECTION NAV (scrollspy) ===================== */
.section-nav {
  position: sticky;
  top: var(--topbar-h);
  z-index: 39;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.section-nav-track {
  position: relative;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 14px;
}
.section-nav-track::-webkit-scrollbar { display: none; }

.section-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 4px 14px rgba(16, 88, 77, 0.35), 0 0 0 1px rgba(16, 88, 77, 0.08);
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1),
              width 320ms cubic-bezier(0.65, 0, 0.35, 1),
              opacity 200ms ease;
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.section-nav-indicator.ready { opacity: 1; }

.section-nav-link {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 300ms ease, background-color 300ms ease, transform 300ms ease;
  transform: scale(1);
}

/* underline that expands from center on hover — sits under the pill/text */
.section-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  height: 2px;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.section-nav-link:hover {
  color: var(--green);
  background: rgba(16, 88, 77, 0.06);
  transform: scale(1.04);
}
.section-nav-link:hover::after { width: 60%; }

.section-nav-link.active {
  color: var(--white);
}
.section-nav-link.active::after { width: 0; }
.section-nav-link.active:hover { transform: scale(1.03); background: transparent; }

@media (min-width: 560px) {
  .section-nav-link { font-size: 13px; padding: 10px 18px; }
}

/* breadcrumbs-ish subtitle */
.eyebrow-label { font-size: 11.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; display: block; }

/* ==========================================================================
   ACCOUNT / AUTH SYSTEM
   ========================================================================== */

/* ---------------- Auth screens (login / register) ---------------- */
.auth-wrap { padding-top: 6px; }
.auth-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 8px auto 16px;
  box-shadow: var(--shadow-md);
}
.auth-title { font-size: 21px; color: var(--dark); text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--text-muted); text-align: center; line-height: 1.6; margin-bottom: 26px; }

.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border: none; background: none;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.password-toggle:hover { color: var(--green); }

.field-row-between { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }

.check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; }
.check-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; min-width: 19px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  top: 1px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.check-row input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.check-row input[type="checkbox"]:checked::after {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--white); font-size: 10px;
}
.check-row .check-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.check-row .check-label a { color: var(--green); font-weight: 700; }
.check-row.small { margin-bottom: 0; }

.link-muted { font-size: 12.5px; color: var(--green); font-weight: 700; }
.link-muted:hover { color: var(--green-light); }

.form-msg { font-size: 12.5px; padding: 11px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: rgba(192,57,43,0.09); color: var(--danger); }
.form-msg.success { background: rgba(16,88,77,0.09); color: var(--green); }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-divider span { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }

.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); }
.auth-switch a { color: var(--green); font-weight: 700; }

/* ---------------- Account: guest state ---------------- */
.acc-guest-header { text-align: center; padding: 18px 10px 6px; }
.acc-avatar-placeholder {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px dashed var(--line);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  margin: 0 auto 14px;
}
.acc-guest-header h2 { font-size: 19px; margin-bottom: 6px; }
.acc-guest-header p { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 280px; margin: 0 auto; }

.acc-guest-actions { display: flex; gap: 10px; margin: 20px 0 26px; }
.acc-guest-actions .btn { width: auto; flex: 1; }

/* ---------------- Account: logged-in profile ---------------- */
.acc-profile-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}
.acc-profile-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 2px solid var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.acc-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-profile-info { flex: 1; min-width: 0; }
.acc-profile-info .acc-name { color: var(--white); font-family: 'Fredoka', sans-serif; font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-profile-info .acc-contact { color: rgba(255,255,255,0.82); font-size: 12px; margin-top: 3px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-edit-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: none; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px;
}
.acc-edit-btn:hover { background: var(--gold); }

/* ---------------- Account: menu list ---------------- */
.acc-menu-list { display: grid; gap: 10px; margin-bottom: 20px; }
.acc-menu-item {
  display: flex; align-items: center; gap: 13px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.acc-menu-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.acc-menu-item .acc-mi-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.acc-menu-item .acc-mi-body { flex: 1; min-width: 0; }
.acc-menu-item .acc-mi-title { font-size: 13.5px; font-weight: 700; color: var(--dark); }
.acc-menu-item .acc-mi-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
.acc-menu-item .acc-mi-chevron { color: var(--line); font-size: 13px; flex-shrink: 0; }
.acc-menu-item .acc-mi-count {
  background: var(--gold); color: var(--white);
  font-size: 10.5px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; flex-shrink: 0;
}

/* ---------------- Sliding sub-panel (Orders / Saved / Addresses / etc.) ---------------- */
.acc-panel {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--maxw);
  background: var(--cream);
  z-index: 80;
  overflow-y: auto;
  transform: translate(-50%, 0) translateX(100%);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  padding-bottom: calc(var(--bottomnav-h) + 20px);
  visibility: hidden;
}
.acc-panel.open { transform: translate(-50%, 0) translateX(0); visibility: visible; }

.acc-panel-header {
  position: sticky; top: 0; z-index: 2;
  background: var(--white);
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.acc-panel-header h2 { font-size: 17px; color: var(--dark); }
.acc-panel-body { padding: 18px; }

/* ---------------- Orders ---------------- */
.order-card { background: var(--white); border-radius: var(--radius-md); padding: 15px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.order-card .oc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.order-card .oc-id { font-size: 12.5px; font-weight: 700; color: var(--dark); }
.order-card .oc-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.order-card .oc-items { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.order-card .oc-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--line); }
.order-card .oc-total { font-size: 14px; font-weight: 800; color: var(--green); }

.status-pill { font-size: 10.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status-pill.status-new,
.status-pill.status-pending { background: rgba(224,175,12,0.15); color: var(--gold-dark); }
.status-pill.status-confirmed { background: rgba(16,88,77,0.12); color: var(--green); }
.status-pill.status-processing { background: rgba(30,120,190,0.12); color: #1e6fbe; }
.status-pill.status-shipped { background: rgba(124,58,237,0.12); color: #7c3aed; }
.status-pill.status-delivered { background: rgba(39,150,90,0.14); color: #279644; }
.status-pill.status-cancelled { background: rgba(192,57,43,0.12); color: var(--danger); }

/* Order progress timeline (customer portal) */
.oc-updated { font-size: 10.5px; color: var(--text-faint); margin-top: 6px; }
.oc-progress { display: flex; align-items: center; margin: 14px 0 4px; }
.oc-progress .step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.oc-progress .step .step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 2px solid var(--line); z-index: 1; }
.oc-progress .step .step-label { font-size: 9px; color: var(--text-faint); margin-top: 5px; text-align: center; white-space: nowrap; }
.oc-progress .step .step-line { position: absolute; top: 4px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.oc-progress .step:first-child .step-line { display: none; }
.oc-progress .step.done .step-dot { background: var(--green); border-color: var(--green); }
.oc-progress .step.done .step-line { background: var(--green); }
.oc-progress .step.done .step-label { color: var(--green); font-weight: 700; }
.oc-progress .step.current .step-dot { background: var(--white); border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,88,77,0.15); }
.oc-progress .step.current .step-label { color: var(--green); font-weight: 700; }
.oc-progress.cancelled .step .step-dot,
.oc-progress.cancelled .step .step-line { background: var(--danger); border-color: var(--danger); }
.oc-progress.cancelled .step .step-label { color: var(--danger); }

/* ---------------- Addresses ---------------- */
.address-card { background: var(--white); border-radius: var(--radius-md); padding: 15px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.address-card .ac-top { display: flex; justify-content: space-between; align-items: flex-start; }
.address-card .ac-label { font-size: 13px; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.address-card .ac-default { font-size: 9.5px; font-weight: 700; color: var(--green); background: rgba(16,88,77,0.1); padding: 2px 8px; border-radius: 999px; }
.address-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin: 8px 0 10px; }
.address-card .ac-actions { display: flex; gap: 8px; }
.address-card .ac-actions button {
  background: var(--cream); border: none; color: var(--dark);
  font-size: 11.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.address-card .ac-actions button:hover { background: var(--green); color: var(--white); }
.address-card .ac-actions button.ac-delete:hover { background: var(--danger); }

/* ---------------- Notifications ---------------- */
.notif-item { display: flex; align-items: flex-start; gap: 12px; background: var(--white); border-radius: var(--radius-sm); padding: 13px; box-shadow: var(--shadow-sm); margin-bottom: 10px; cursor: pointer; }
.notif-item .notif-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.notif-item.unread .notif-icon { background: var(--green); color: var(--white); }
.notif-item .notif-body { flex: 1; min-width: 0; }
.notif-item .notif-body b { display: block; font-size: 12.5px; color: var(--dark); margin-bottom: 2px; }
.notif-item .notif-body p { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.notif-item .notif-time { font-size: 10.5px; color: var(--text-muted); margin-top: 4px; display: block; }
.notif-item .notif-clear-btn {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: none;
  background: var(--cream); color: var(--text-muted); display: flex; align-items: center;
  justify-content: center; font-size: 11px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.notif-item .notif-clear-btn:hover { background: rgba(192,57,43,0.12); color: var(--danger); }

/* ---------------- Settings ---------------- */
.settings-group { margin-bottom: 22px; }
.settings-group .sg-label { font-size: 11.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; display: block; }

.toggle-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .ts-track {
  position: absolute; inset: 0; background: var(--line); border-radius: 999px;
  transition: background 0.2s ease; cursor: pointer;
}
.toggle-switch .ts-track::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: var(--white); border-radius: 50%; transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .ts-track { background: var(--green); }
.toggle-switch input:checked + .ts-track::before { transform: translateX(18px); }

/* ---------------- Empty state (reused, smaller) ---------------- */
.empty-state.small { padding: 34px 16px; }
.empty-state.small i { font-size: 34px; }

/* ---------------- Bottom sheet (used by edit-profile / add-address / change-password) ---------------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,20,20,0.5);
  display: none; align-items: flex-end; justify-content: center;
}
.sheet-backdrop.open { display: flex; }
.sheet-panel {
  background: var(--white); width: 100%; max-width: var(--maxw);
  border-radius: 20px 20px 0 0; padding: 22px;
  max-height: 88vh; overflow-y: auto;
}
.sheet-panel .sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sheet-panel .sheet-head h3 { font-size: 17px; color: var(--dark); }
.sheet-close { background: var(--cream); border: none; width: 32px; height: 32px; border-radius: 50%; color: var(--dark); }
.sheet-close:hover { background: var(--danger); color: var(--white); }
