/* Moved out of header.php so browsers cache it (2026-12-05). Edit here, then bump ?v= in header.php. */
/* ═══════════════════════════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Header surfaces — white base, green only as accent */
  --hbg:      #ffffff;
  --hbg2:     #f7faf8;
  --hline:    #e5e8e5;
  --hline2:   #ced8d0;

  /* Brand green */
  --g:        #16a34a;
  --g-dark:   #15803d;
  --g-light:  #4ade80;
  --g-pale:   #bbf7d0;
  --g-soft:   rgba(22,163,74,.07);
  --g-glow:   rgba(22,163,74,.16);

  /* Danger */
  --r:        #dc2626;
  --r-dark:   #b91c1c;

  /* Typography */
  --text:     #111827;
  --text2:    #1f2937;
  --muted:    #6b7280;

  /* Page */
  --page-bg:  #f9fafb;
  --line:     #e5e7eb;

  --font-d: 'Syne',    sans-serif;
  --font-b: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL RESET
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* stops iOS from letting the page bounce past its bounds and
     briefly exposing the OS chrome / page background behind fixed bars */
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: var(--font-b);
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 14px; top: 14px; width: auto; height: auto;
  padding: 10px 16px; background: var(--g); color: #fff;
  z-index: 9999; border-radius: 10px; font-weight: 700;
}
.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;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes hdr-fadeIn     { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
@keyframes suggestions-in { from{opacity:0;transform:translateY(-3px)} to{opacity:1;transform:translateY(0)} }
@keyframes ldMarkPop      { from{opacity:0;transform:scale(.6)}        to{opacity:1;transform:scale(1)} }
@keyframes ldFadeUp       { from{opacity:0;transform:translateY(8px)}  to{opacity:1;transform:translateY(0)} }
@keyframes ldBarFill      { 0%{width:0} 60%{width:72%} 85%{width:90%} 100%{width:100%} }

/* ═══════════════════════════════════════════════════════════
   LOADER  — clean, no spinning rings or glowing orbs
   ═══════════════════════════════════════════════════════════ */
/* Loader is intentionally visible during initial load/navigation. */

/* Lightweight progress indicator used during normal navigation. */
#proj-nav-progress { position:fixed; top:0; left:0; right:0; height:2px; z-index:2147483647; pointer-events:none; opacity:0; transition:opacity .08s ease; }
#proj-nav-progress.active { opacity:1; }
#proj-nav-progress span { display:block; width:8%; height:100%; background:var(--g); box-shadow:0 0 8px rgba(22,163,74,.45); transform-origin:left center; transition:width .32s cubic-bezier(.22,.61,.36,1); }
#proj-nav-progress.active span { width:72%; }
#proj-nav-progress.near-done span { width:92%; }
#proj-nav-progress.done span { width:100%; }
@media (prefers-reduced-motion: reduce) { #proj-nav-progress span { transition:none; } }
/* Fast app-style navigation loader: visible, lightweight, and removed as soon as the next page is ready. */
#proj-fast-loader { position:fixed; inset:0; z-index:2147483646; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.38); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .07s ease,visibility .07s ease; }
#proj-fast-loader.visible { opacity:1; visibility:visible; }
#proj-fast-loader .pfl-card { display:flex; align-items:center; gap:12px; padding:12px 17px; border:1px solid rgba(0,0,0,.08); border-radius:16px; background:rgba(255,255,255,.92); box-shadow:0 8px 30px rgba(0,0,0,.10); font:600 13px/1 system-ui,-apple-system,Segoe UI,sans-serif; color:#222; }
#proj-fast-loader .pfl-spinner { width:20px; height:20px; border:2.5px solid rgba(22,163,74,.18); border-top-color:var(--g,#16a34a); border-right-color:var(--g,#16a34a); border-radius:50%; animation:projFastSpin .42s linear infinite; }
@keyframes projFastSpin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { #proj-fast-loader .pfl-spinner { animation:none; } }
#proj-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .16s ease, visibility .16s ease;
}
#proj-loader.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
/* PRO-J premium spinner: GPU-friendly transform animation, including iOS Safari */
.ld-mark {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 14px;
  animation: ldMarkPop .22s ease-out both;
  isolation: isolate;
}
.ld-mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid #dcfce7; border-top-color: #16a34a;
  border-right-color: #22c55e; animation: projPremiumSpin .62s linear infinite;
  will-change: transform;
}
.ld-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 2px solid #f0fdf4; border-bottom-color: #86efac;
  animation: projPremiumSpinReverse 1.05s linear infinite;
  will-change: transform;
}
.ld-mark svg { position: relative; z-index: 1; width: 23px; height: 23px; fill: #16a34a; }
@keyframes projPremiumSpin { to { transform: rotate(360deg); } }
@keyframes projPremiumSpinReverse { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ld-mark::before, .ld-mark::after { animation-duration: 2s; }
}
.ld-word {
  font-family: var(--font-d);
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 24px;
  animation: ldFadeUp .45s ease .1s both;
}
.ld-word span { color: var(--g); }
.ld-bar-track {
  width: 136px; height: 3px;
  background: #f0f0f0; border-radius: 999px; overflow: hidden;
  animation: ldFadeUp .45s ease .18s both;
}
.ld-bar {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--g);
  animation: ldBarFill 1.8s cubic-bezier(.4,0,.2,1) .3s forwards;
}
.ld-status {
  margin-top: 13px;
  font-family: var(--font-b);
  font-size: 11px; font-weight: 500;
  color: #9ca3af; letter-spacing: .04em;
  animation: ldFadeUp .45s ease .25s both;
  min-height: 16px;
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER SHELL
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--hbg);
  border-bottom: 1px solid var(--hline);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT SLIDER — delivery / contact / office
   ═══════════════════════════════════════════════════════════ */
.announcement-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #052e16 0%, #0b3d20 48%, #14532d 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.announcement-viewport {
  max-width: 1280px;
  height: 38px;
  margin: 0 auto;
  overflow: hidden;
}
.announcement-track {
  height: 100%;
  display: flex;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.announcement-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  padding: 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.35;
}
.announcement-slide svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke: #86efac;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.announcement-slide a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.announcement-slide a:hover { border-bottom-color: #fff; }
.announcement-label { color: #bbf7d0; font-weight: 800; }
.announcement-sep { opacity: .5; padding: 0 2px; }

/* ═══════════════════════════════════════════════════════════
   HEADER INNER GRID
   ═══════════════════════════════════════════════════════════ */
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 10px;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(420px, 1fr) minmax(190px, 240px);
  align-items: center;
  gap: 20px;
}

/* ═══════════════════════════════════════════════════════════
   BRAND
   ═══════════════════════════════════════════════════════════ */
.brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text);
  justify-self: start;
}
.brand img {
  width: 44px; height: 44px;
  border-radius: 12px; object-fit: cover;
  border: 1px solid var(--hline);
  box-shadow: 0 3px 10px rgba(15,23,42,.06);
}
.brand-text {
  font-family: var(--font-d);
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
  white-space: nowrap; line-height: 1;
}
.brand-text span { color: var(--g); }

/* ═══════════════════════════════════════════════════════════
   SEARCH
   ═══════════════════════════════════════════════════════════ */
.header-search {
  justify-self: stretch;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-width: 0;
}

.search-field {
  display: flex; align-items: center;
  background: var(--hbg2);
  border: 1px solid var(--hline2);
  border-radius: 999px;
  overflow: hidden;
  padding: 3px;
  gap: 2px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search-field:focus-within {
  border-color: rgba(22,163,74,.45);
  box-shadow: 0 0 0 3px rgba(22,163,74,.10);
  background: #fff;
}

/* Category pill — ghost until hovered */
.search-cat {
  display: flex; align-items: center; gap: 5px;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px 6px 11px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  border: none; outline: none;
  transition: background .15s;
}
.search-cat:hover { background: var(--g-soft); }

.search-cat-icon {
  width: 13px; height: 13px;
  flex-shrink: 0; color: var(--muted);
  transition: color .15s;
}
.search-cat:hover .search-cat-icon { color: var(--g); }

.search-cat-label {
  font-family: var(--font-b);
  font-weight: 600; font-size: 12px;
  color: var(--text2);
  white-space: nowrap;
  max-width: 80px;
  overflow: hidden; text-overflow: ellipsis;
}
.search-cat-arrow {
  font-size: 9px; color: var(--muted); opacity: .6;
  flex-shrink: 0;
}
.search-cat select {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
  font-size: 16px; /* prevents iOS zoom */
}

.search-divider {
  width: 1px; height: 18px;
  background: var(--hline);
  flex-shrink: 0;
}

.search-field input {
  width: 100%; padding: 8px 10px;
  border: 0; outline: none;
  background: transparent;
  font-family: var(--font-b);
  font-size: 13px; color: var(--text);
  min-width: 80px;
}
.search-field input::placeholder { color: #9ca3af; }

.search-field button[type="submit"] {
  border: 0; padding: 8px 18px;
  background: var(--g); color: #fff;
  cursor: pointer; font-family: var(--font-b);
  font-weight: 600; font-size: 13px;
  white-space: nowrap; border-radius: 999px;
  transition: background .2s;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
}
.search-field button[type="submit"]:hover { background: var(--g-dark); }
.search-field button[type="submit"] svg   { width: 13px; height: 13px; }

/* Quick-search chips */
.search-suggestions {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 7px 12px 0;
  animation: suggestions-in .18s ease both;
}
.search-suggestion-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: none;
  border: 1px solid var(--hline);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--font-b);
  font-size: 11px; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.search-suggestion-chip:hover {
  border-color: var(--g-pale);
  color: var(--g-dark);
  background: var(--g-soft);
}

/* ═══════════════════════════════════════════════════════════
   HEADER ACTION BUTTONS
   ═══════════════════════════════════════════════════════════ */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--hline);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15,23,42,.04);
}

/* Guest authentication stays visible in the top header. */
.guest-auth {
  height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--hline2);
  background: #fff;
  color: var(--text2);
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.guest-auth:hover {
  background: var(--g-soft);
  border-color: var(--g-pale);
  color: var(--g-dark);
}
.guest-auth.signup-top {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}
.guest-auth.signup-top:hover {
  background: var(--g-dark);
  border-color: var(--g-dark);
  color: #fff;
}

/* The cart no longer lives inside the header action cluster. */
.header-actions .cart-link { display: none !important; }
.header-actions.guest-state .account { display: none; }

.icon-link,
.icon-btn {
  height: 38px; min-width: 38px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--hline);
  background: transparent;
  color: var(--text2);
  text-decoration: none; cursor: pointer;
  position: relative; gap: 6px;
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  transition: background .18s, border-color .18s, color .18s;
}
.icon-link:hover,
.icon-btn:hover {
  background: var(--g-soft);
  border-color: var(--g-pale);
  color: var(--g-dark);
}

.icon { width: 18px; height: 18px; display: inline-block; flex-shrink: 0; }

.badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  background: var(--g); border-radius: 999px;
  border: 1.5px solid #fff;
  line-height: 1;
}

/* Cart — only element that's solid green */
.icon-link.cart-link {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
  padding: 0 14px;
}
.icon-link.cart-link:hover      { background: var(--g-dark); border-color: var(--g-dark); }
.icon-link.cart-link .badge     { background: #fff; color: var(--g); border-color: var(--g); }

.cart-label { font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 500px) { .cart-label { display: none; } }

/* Floating cart — always reachable without occupying header/nav space. */
.floating-cart {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1145;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--g);
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  box-shadow: 0 12px 30px rgba(22,163,74,.30), 0 4px 12px rgba(15,23,42,.16);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.floating-cart:hover {
  background: var(--g-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(22,163,74,.34), 0 5px 14px rgba(15,23,42,.18);
}
.floating-cart:active { transform: scale(.96); }
.floating-cart svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-cart .floating-cart-badge[hidden] { display: none !important; }
.floating-cart .floating-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   ACCOUNT DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.account { position: relative; }

.account-menu {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  width: 268px;
  max-width: calc(100vw - 18px);
  background: #fff;
  border: 1px solid var(--hline);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  padding: 8px;
  display: none; z-index: 1200;
  overflow: auto;
  max-height: min(420px, calc(100vh - 120px));
  animation: hdr-fadeIn .16s ease both;
}
.account.open .account-menu { display: block; }

@media (max-width: 900px) {
  .account-menu {
    position: fixed; left: 12px; right: 12px;
    width: auto; max-width: none; top: 88px;
    max-height: calc(100vh - 120px);
  }
}

.account-menu .menu-head {
  padding: 10px 10px;
  border-bottom: 1px solid var(--hline);
  margin-bottom: 6px;
}
.menu-title {
  margin: 0;
  font-family: var(--font-d);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.menu-sub {
  margin: 3px 0 0; color: var(--muted);
  font-size: 11.5px; text-transform: capitalize;
}

.menu-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 9px;
  font-family: var(--font-b); font-weight: 500; font-size: 13px;
  color: var(--text2); text-decoration: none;
  transition: background .15s, color .15s;
}
.menu-item:hover          { background: var(--g-soft); color: var(--g-dark); }
.menu-item svg            { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); }
.menu-item:hover svg      { color: var(--g); }
.menu-item.danger         { color: #dc2626; }
.menu-item.danger:hover   { background: #fef2f2; color: #b91c1c; }
.menu-item.danger svg     { color: #dc2626; }

.menu-item.login-btn {
  background: var(--g); color: #fff;
  justify-content: center; margin-bottom: 5px;
  font-weight: 600;
}
.menu-item.login-btn:hover     { background: var(--g-dark); color: #fff; }
.menu-item.login-btn svg       { color: #fff; }
.menu-item.login-btn:hover svg { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   NAV BAR  — underline active, not green pill boxes
   ═══════════════════════════════════════════════════════════ */
.site-nav {
  border-top: 1px solid var(--hline);
  background: var(--hbg);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.site-nav a {
  display: inline-flex; align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-b); font-weight: 500; font-size: 13px;
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.site-nav a:hover  {
  color: var(--g-dark);
  border-bottom-color: var(--g-pale);
}
.site-nav a.active {
  color: var(--g-dark);
  font-weight: 700;
  border-bottom-color: var(--g);
}

.menu-toggle { display: none !important; }
.nav-close   { display: none; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease; z-index: 1155;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* Mobile-sheet-only helpers are hidden on desktop. */
.nav-sheet-head { display: none; }
.nav-link-icon { display: none; }
.nav-link-label { display: inline; }
.mobile-more-only { display: none; }

@media (min-width: 901px) and (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 130px minmax(360px, 1fr) auto;
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand-text { font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  .header-actions { gap: 5px; }
  .icon-link, .icon-btn { padding-left: 8px; padding-right: 8px; }
  .cart-label { display: none; }
  .site-nav a { padding-left: 10px; padding-right: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE  — nav becomes an iOS-style bottom sheet
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Keep the mobile/PWA header below the device safe area. */
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Keep Login / Sign Up visible in the compact mobile header. */
  .header-actions {
    display: flex;
    grid-area: actions;
    justify-self: end;
    align-self: center;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  /* Logged-in users keep the account icon in the top header. */
  .header-actions > .account { display: block; }
  .header-actions > .icon-link,
  .header-actions > .menu-toggle { display: none !important; }
  .guest-auth { height: 34px; padding: 0 10px; font-size: 11px; border-radius: 9px; }

  .announcement-viewport { height: 48px; }
  .announcement-slide {
    padding: 5px 14px;
    gap: 7px;
    font-size: 10.5px;
    line-height: 1.3;
    white-space: normal;
  }
  .announcement-slide svg { width: 15px; height: 15px; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 9px 8px;
    padding: 9px 12px 10px;
  }
  .brand { grid-area: brand; justify-self: start; gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand-text { font-size: 16px; }
  .header-search {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }
  .search-field { width: 100%; min-width: 0; }
  .search-field input { min-width: 0; }
  .search-field button[type="submit"] { padding-left: 12px; padding-right: 12px; }

  /* More menu: floating app-like action sheet */
  .site-nav {
    position: fixed;
    left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); top: auto;
    width: auto;
    height: auto;
    max-height: min(68vh, 520px);
    display: flex;
    flex-direction: column;
    transform: translateY(calc(100% + 120px));
    transition: transform .32s cubic-bezier(.32,.72,0,1), opacity .22s ease;
    box-shadow: 0 20px 60px rgba(15,23,42,.20), 0 8px 24px rgba(15,23,42,.10);
    border: 1px solid rgba(17,24,39,.06);
    border-radius: 24px;
    z-index: 1160;
    overflow: hidden;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    padding: 0;
    touch-action: none;
    opacity: 0;
    pointer-events: none;
  }
  .site-nav.open {
    transform: translateY(0);
    touch-action: pan-y;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav.dragging { transition: none; }

  /* Fixed top area so the title/close button always remain visible */
  .nav-sheet-head {
    display: block;
    flex: 0 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--hline);
  }
  .nav-drag-handle {
    display: flex;
    justify-content: center;
    padding: 9px 0 4px;
    cursor: grab;
    touch-action: none;
  }
  .nav-drag-handle::after {
    content: '';
    width: 38px; height: 4px;
    background: var(--hline2);
    border-radius: 999px;
  }
  .nav-sheet-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 14px 11px;
  }
  .nav-sheet-title {
    min-width: 0;
  }
  .nav-sheet-title strong {
    display: block;
    font-family: var(--font-d);
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
  }
  .nav-sheet-title span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
  }

  .nav-close {
    display: inline-flex !important;
    width: 34px; min-width: 34px; height: 34px;
    padding: 0;
    border-radius: 999px;
    background: var(--hbg2);
  }

  /* Only this area scrolls if extra links are added later */
  .nav-inner {
    padding: 12px 12px 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  /* Home/Shop/Stores/Jobs/Business Ad already exist in the fixed bottom bar. */
  .site-nav a.mobile-main-link { display: none; }
  .site-nav .mobile-more-only { display: flex; }

  /* Compact icon cards in the More sheet */
  .site-nav a {
    min-width: 0;
    min-height: 76px;
    padding: 11px 10px;
    border-bottom: none;
    border-radius: 12px;
    border: 1px solid var(--hline);
    background: var(--hbg2);
    color: var(--text2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
  }
  .site-nav a .nav-link-icon {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    color: var(--g-dark);
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .site-nav a .nav-link-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
  }
  .site-nav a.active {
    background: var(--g);
    border-color: var(--g-dark);
    color: #fff;
    font-weight: 700;
  }
  .site-nav a.active .nav-link-icon { color: #fff; }
  .site-nav a:hover:not(.active) {
    background: var(--g-soft);
    border-color: var(--g-pale);
    color: var(--g-dark);
  }
  .site-nav a.mobile-more-only { position: relative; }
  .nav-card-badge {
    position: absolute;
    top: 7px; right: 8px;
    min-width: 18px; height: 18px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--g); color: #fff;
    border: 1.5px solid #fff;
    font-size: 9px; font-weight: 800; line-height: 1;
  }
  .site-nav a.active .nav-card-badge {
    background: #fff; color: var(--g-dark);
  }

  .search-suggestions { display: none; }
}

@media (max-width: 390px) {
  .search-cat-label, .search-cat-arrow { display: none; }
  .search-cat { padding-left: 9px; padding-right: 9px; }
  .search-field button[type="submit"] {
    width: 38px; min-width: 38px; padding: 0; font-size: 0;
    justify-content: center;
  }
  .search-field button[type="submit"] svg { width: 16px; height: 16px; }
}

@media (min-width: 901px) {
  .nav-backdrop { display: none !important; }
  .nav-drag-handle { display: none !important; }
  .site-nav {
    position: static !important; height: auto !important;
    width: auto !important; transform: none !important;
    box-shadow: none !important; border-left: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   BOTTOM MOBILE NAV — premium floating app dock
   ═══════════════════════════════════════════════════════════ */
.bottom-nav {
  display: none;
  position: relative;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px));
  }

  .floating-cart {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 14px 34px rgba(22,163,74,.28), 0 5px 14px rgba(15,23,42,.14);
  }
  .floating-cart svg { width: 23px; height: 23px; }

  .bottom-nav {
    display: flex;
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 620px;
    z-index: 1150;

    padding: 7px 7px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 3px;
    align-items: stretch;
    justify-content: space-between;

    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 28px;
    box-shadow:
      0 18px 46px rgba(15,23,42,.16),
      0 4px 16px rgba(15,23,42,.08),
      inset 0 1px 0 rgba(255,255,255,.92);
    overflow: visible;
    isolation: isolate;
  }

  .bottom-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.10));
    z-index: -1;
  }

  .bn-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 62px;
    padding: 5px 2px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;

    position: relative;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #7b8491;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-b);
    -webkit-tap-highlight-color: transparent;
    transition:
      transform .18s ease,
      background .18s ease,
      color .18s ease;
  }

  .bn-item:hover {
    background: rgba(15,23,42,.035);
    color: var(--text2);
  }

  .bn-item:active {
    transform: scale(.96);
  }

  .bn-item:focus-visible {
    outline: 2px solid rgba(22,163,74,.42);
    outline-offset: 2px;
  }

  .bn-ico {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    background: rgba(15,23,42,.035);
    border: 1px solid rgba(15,23,42,.035);
    transition:
      transform .2s cubic-bezier(.2,.8,.2,1),
      background .18s ease,
      border-color .18s ease,
      color .18s ease,
      box-shadow .18s ease;
  }

  .bn-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bn-label {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.01em;
  }

  .bn-item.active,
  .bn-item.is-current,
  .bn-item.is-open {
    color: var(--g-dark);
    background: rgba(22,163,74,.07);
  }

  .bn-item.active .bn-ico,
  .bn-item.is-current .bn-ico,
  .bn-item.is-open .bn-ico {
    color: #fff;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-color: rgba(21,128,61,.28);
    transform: translateY(-3px) scale(1.06);
    box-shadow:
      0 10px 20px rgba(22,163,74,.24),
      inset 0 1px 0 rgba(255,255,255,.28);
  }

  .bn-item.active .bn-label,
  .bn-item.is-current .bn-label,
  .bn-item.is-open .bn-label {
    color: var(--g-dark);
    font-weight: 800;
  }

  .bn-item.active::after,
  .bn-item.is-current::after,
  .bn-item.is-open::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 16px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--g);
    opacity: .9;
  }

  .bn-item .bn-dot {
    position: absolute;
    top: 5px;
    right: calc(50% - 20px);
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 2px rgba(22,163,74,.10);
  }

  @media (max-width: 390px) {
    .bottom-nav {
      width: calc(100% - 14px);
      border-radius: 24px;
      padding-left: 4px;
      padding-right: 4px;
    }
    .bn-item { min-height: 59px; }
    .bn-ico { width: 35px; height: 35px; border-radius: 13px; }
    .bn-item svg { width: 19px; height: 19px; }
    .bn-label { font-size: 9px; }
  }
}

@media (min-width: 901px) {
  .bottom-nav { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER v2 — clean shop header (PC + mobile), 2026-12-05
   ═══════════════════════════════════════════════════════════ */
.site-header { background:#fff; border-bottom:1px solid #e6ebe8; box-shadow:0 2px 10px rgba(15,23,42,.04); }
.announcement-viewport { height:30px; }
.announcement-slide { font-size:11.5px; padding:0 40px; }
.header-inner { grid-template-columns:auto minmax(0,1fr) auto; gap:28px; padding:12px 24px; }
.brand img { width:42px; height:42px; border-radius:50%; box-shadow:none; }
.brand-text { font-size:21px; }
.header-search { max-width:none; }
.search-field { height:46px; padding:0; gap:0; border-radius:10px; background:#fff; border:1.5px solid #d5ddd8; }
.search-field:focus-within { border-color:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.12); }
.search-cat { height:100%; padding:0 14px; border-radius:0; background:#f5f7f6; border-right:1px solid #e3e8e5; }
.search-cat:hover { background:#eef6f0; }
.search-cat-label { font-size:13px; }
.search-divider { display:none; }
.search-field input { height:100%; padding:0 16px; font-size:14.5px; }
.search-field button[type="submit"] { height:100%; margin:0; padding:0 26px; border-radius:0 8px 8px 0; font-size:14px; font-weight:700; }
.search-field button[type="submit"] svg { width:15px; height:15px; }
.search-suggestions { display:none !important; }
.header-actions { padding:0; border:0; box-shadow:none; background:transparent; gap:8px; }
.header-actions .cart-link { display:inline-flex !important; }
.icon-link, .icon-btn { height:44px; min-width:44px; border-radius:10px; }
.icon-link.cart-link { padding:0 16px; }
.badge[hidden], [data-wish-count][hidden] { display:none !important; }
.guest-auth { height:44px; padding:0 16px; font-size:13px; }
.floating-cart { display:none !important; }   /* cart lives in the header (PC) and bottom nav (phone) */

/* PC nav row */
.site-nav { border-top:1px solid #eef1ef; }
.nav-inner { justify-content:flex-start; gap:4px; }
.site-nav a { font-size:13.5px; font-weight:600; color:#3b4540; padding:11px 14px; }
.nav-cats-btn { display:inline-flex; align-items:center; gap:8px; margin-right:10px; padding:0 16px; height:34px; border:0; border-radius:8px;
  background:#16a34a; color:#fff; font:700 13px/1 var(--font-b, system-ui); cursor:pointer; white-space:nowrap; }
.nav-cats-btn:hover { background:#15803d; }
@media (min-width:901px) {
  .site-nav .nav-card-badge { display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; margin-left:6px;
    border-radius:999px; background:#16a34a; color:#fff; font-size:11px; font-weight:800; line-height:1; }
}
.nav-cats-btn svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.nav-account { display:none; }

/* Phone: one compact row — logo + full-width search. Account, cart and wishlist live in the bottom nav. */
@media (max-width: 900px) {
  .announcement-bar { display:none; }
  .header-inner { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"brand search"; gap:10px; padding:8px 12px; }
  .brand-text { display:none; }
  .brand img { width:38px; height:38px; }
  .header-actions { display:none !important; }
  .search-field { height:42px; border-radius:999px; background:#f3f5f4; border:1px solid #e3e8e5; }
  .search-field:focus-within { background:#fff; }
  .search-cat { display:none; }
  .search-field input { padding:0 6px 0 16px; font-size:16px; }
  .search-field button[type="submit"] { width:42px; padding:0; justify-content:center; border-radius:999px; font-size:0; gap:0; margin-right:0; }
  .search-field button[type="submit"] svg { width:17px; height:17px; }
  .nav-cats-btn { display:none; }

  /* ── Account sheet (opened from the bottom nav "Account" tab) ── */
  .site-nav { left:10px !important; right:10px !important; bottom:calc(104px + env(safe-area-inset-bottom, 0px)) !important;
    max-height:min(74vh, 600px) !important; display:block !important; overflow-y:auto !important; overscroll-behavior:contain;
    background:#f4f6f5 !important; border-radius:22px !important; border:1px solid rgba(255,255,255,.7) !important; }
  .site-nav.open { touch-action:pan-y; }
  .nav-sheet-head { position:sticky; top:0; z-index:2; background:#f4f6f5 !important; border-bottom:0 !important; }
  .nav-sheet-title-row { padding:2px 16px 8px !important; }
  .nav-sheet-title strong { font-size:18px !important; }
  .nav-sheet-title span { display:none !important; }

  .nav-account { display:block; padding:0 12px 4px; }
  .nav-acc-card, .site-nav a.nav-acc-card { display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:flex-start !important;
    gap:12px !important; min-height:0 !important; padding:14px !important; border:0 !important; border-radius:16px !important; text-decoration:none; color:#fff !important;
    text-align:left !important; background:linear-gradient(135deg,#14532d,#16a34a) !important; box-shadow:0 6px 18px rgba(22,163,74,.25); }
  .nav-acc-av { width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.22); color:#fff; display:grid; place-items:center;
    font-weight:800; font-size:19px; flex:0 0 46px; }
  .nav-acc-card.guest .nav-acc-av { font-size:22px; }
  .nav-acc-txt { flex:1; min-width:0; }
  .nav-acc-txt b { display:block; font-size:15.5px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .nav-acc-txt small { display:block; font-size:12px; opacity:.85; margin-top:3px; line-height:1.35; }
  .nav-acc-chev { width:20px; height:20px; flex:0 0 20px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; opacity:.85; }
  .nav-acc-btns { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
  .site-nav a.nav-acc-btn { height:44px; min-height:0 !important; padding:0 !important; border-radius:12px !important; display:flex !important; flex-direction:row !important;
    align-items:center; justify-content:center; font-weight:800; font-size:14px; text-decoration:none; color:#15803d !important; border:1.5px solid #16a34a !important; background:#fff !important; }
  .site-nav a.nav-acc-btn.primary { background:#16a34a !important; color:#fff !important; }

  .nav-inner { display:flex !important; flex-direction:column; gap:6px !important; padding:4px 12px 14px !important; overflow:visible !important; }
  .nav-sec-lbl { display:block; padding:12px 6px 2px; font-size:11.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#6b7280; }
  .site-nav .nav-inner a { flex-direction:row !important; justify-content:flex-start !important; align-items:center; gap:12px !important; min-height:52px !important;
    padding:0 14px !important; border-radius:14px !important; border:0 !important; background:#fff !important; color:#1f2937 !important; text-align:left !important;
    box-shadow:0 1px 2px rgba(15,23,42,.04); }
  .site-nav .nav-inner a::after { content:''; margin-left:auto; width:8px; height:8px; border-top:2px solid #9ca3af; border-right:2px solid #9ca3af; transform:rotate(45deg); }
  .site-nav .nav-inner a .nav-link-icon { width:34px !important; height:34px !important; padding:7px; border-radius:10px; background:#f0fdf4; color:#15803d !important; flex:0 0 34px; }
  .site-nav .nav-inner a .nav-link-label { font-size:14.5px !important; font-weight:700 !important; }
  .site-nav .nav-inner a.active { background:#ecfdf3 !important; color:#15803d !important; box-shadow:inset 0 0 0 1.5px #86efac; }
  .site-nav .nav-inner a.active .nav-link-icon { background:#16a34a; color:#fff !important; }
  .site-nav .nav-inner a.nav-logout { margin-top:8px; color:#dc2626 !important; }
  .site-nav .nav-inner a.nav-logout .nav-link-icon { background:#fef2f2; color:#dc2626 !important; }
  .site-nav .nav-inner a.nav-logout::after { display:none; }
  .site-nav a.mobile-main-link { display:flex !important; }
  .site-nav a.mobile-main-link:first-of-type, .site-nav .mobile-more-only { display:none !important; }

  /* ── Bottom nav: floating rounded "liquid glass" bar ── */
  body { padding-bottom:calc(104px + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav { left:12px !important; right:12px !important; bottom:calc(14px + env(safe-area-inset-bottom, 0px)) !important; transform:none !important;
    width:auto !important; max-width:520px !important; margin:0 auto !important; border-radius:28px !important; padding:6px !important; gap:2px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.42)) !important;
    -webkit-backdrop-filter:blur(22px) saturate(190%) !important; backdrop-filter:blur(22px) saturate(190%) !important;
    border:1px solid rgba(255,255,255,.75) !important;
    box-shadow:0 10px 30px rgba(15,23,42,.16), 0 2px 6px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25) !important; }
  .bottom-nav::before { display:none !important; }
  .bn-item { min-height:54px !important; position:relative; border-radius:22px !important; background:transparent !important; box-shadow:none !important;
    transition:background .2s, transform .15s; }
  .bn-item:active { transform:scale(.94); }
  .bn-item .bn-ico { background:transparent !important; box-shadow:none !important; width:auto !important; height:auto !important; color:#374151; transform:none !important; }
  .bn-item::after { display:none !important; }
  .bn-item svg { width:22px !important; height:22px !important; }
  .bn-label { font-size:10.5px !important; font-weight:700 !important; color:#374151; }
  .bn-item.active, .bn-item.is-current, .bn-item.is-open {
    background:linear-gradient(180deg, rgba(22,163,74,.20), rgba(22,163,74,.10)) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 1px 4px rgba(22,163,74,.15) !important; }
  .bn-item.active .bn-ico, .bn-item.is-current .bn-ico, .bn-item.is-open .bn-ico,
  .bn-item.active .bn-label, .bn-item.is-current .bn-label, .bn-item.is-open .bn-label { color:#15803d !important; background:transparent !important; }
  .bn-count { position:absolute; top:3px; left:calc(50% + 4px); min-width:17px; height:17px; padding:0 4px; border-radius:999px; background:#16a34a; color:#fff;
    font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; border:2px solid #fff; line-height:1; }
  .bn-count[hidden] { display:none; }
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .bottom-nav { background:rgba(255,255,255,.96) !important; } }
}
.nav-acc-only, .site-nav .nav-inner a.nav-acc-only { display:none; }
.nav-sec-lbl { display:none; }
@media (max-width: 900px) {
  .site-nav .nav-inner a.nav-acc-only { display:flex !important; }
  .nav-sec-lbl.nav-acc-only { display:block; }
}
