:root{
    /* Theme Tokens: Fresh White & Emerald Green */
    --bg: #ffffff;
    --surface: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #10b981;      /* Emerald Green solid CTA */
    --accent-2: #3b82f6;    /* Secondary solid CTA */
    --danger: #ef4444;
    --border: rgba(0,0,0,0.06);
    --shadow: 0 10px 36px rgba(0,0,0,0.08);
    --shadow-soft: 0 6px 18px rgba(0,0,0,0.05);
    --font-display: "Poppins", system-ui, sans-serif;
    --font-sans: "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(.2,.9,.2,1);
    --nav-glass: rgba(255, 255, 255, 0.8); /* Clean white glass */
  --nav-border: rgba(0, 0, 0, 0.05);
  --nav-highlight: rgba(16, 185, 129, 0.1);
  --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --green-glow: 0 0 20px rgba(16, 185, 129, 0.15);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  /* small resets */
  .zippy-nav * { box-sizing: border-box; }
  .top-nav, .mobile-top, .mobile-bottom { font-family: var(--font-sans); -webkit-font-smoothing:antialiased; }
  a { 
    text-decoration: none!important;
  }
  /* ---------------------------
      TOP NAV: layout and scrolled
      --------------------------- */
  .top-nav {
    position: fixed;
    top: 0; left: 16px; right: 16px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 12px 18px; border-radius: 14px;
    background: transparent;
    transition: background .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
    z-index: 1400; pointer-events: auto;
  }

  .top-nav.scrolled {
    left: 50%; transform: translateX(-50%); top: 10px;
    width: calc(100% - 64px); max-width: 1100px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  /* =====================
      BRAND — improved lockup
      ===================== */
   /* Elegant brand text — pure font-based identity */
  .brand {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .brand-text {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    font-size: 1.85rem;
    color: #065f46; /* Deep Forest Green */
    letter-spacing: 1.2px;
    text-transform: none;
    
    transition: transform 0.25s cubic-bezier(.2, .9, .2, 1), text-shadow 0.25s;
    text-shadow:
      0 1px 0 rgba(0,0,0,0.02),
      0 3px 12px rgba(16, 185, 129, 0.1);

  }
  .brand-text:hover {
    text-decoration: none;
  }
  /* Micro-interaction: slight lift on hover/focus for a tactile feel */
  @media (hover: hover) {
    .brand:hover .brand-text,
    .brand:focus-visible .brand-text {
      transform: translateY(-2px);
      text-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
      text-decoration:none;
    }
  }

  /* Accessibility — subtle focus outline */
  .brand:focus-visible {
    outline: 2px solid rgba(16, 185, 129, 0.3);
    outline-offset: 4px;
    border-radius: 4px;
  }

  /* Responsive scaling */
  @media (max-width: 768px) {
    .brand-text {
      font-size: 1.5rem;
      letter-spacing: 1px;
    }
  }

  @media (max-width: 420px) {
    .brand-text {
      font-size: 1.25rem;
      letter-spacing: 0.8px;
    }
  }
  /* ---------------------------
      LINKS — smoother underline (scaleX)
      --------------------------- */
  .links { display:flex; gap:18px; align-items:center; justify-content:center; flex:1; }
  .links a {
    color:var(--text); text-decoration:none; font-weight:700; padding:8px 6px; border-radius:10px;
    position:relative; display:inline-flex; align-items:center; transition: color .14s, transform .12s;
  }
  .links a:hover { transform: translateY(-3px); color: var(--accent); }

  /* smoother underline using transform */
  .links a::after {
    content: "";
    position: absolute;
    left: 12%;
    bottom: -8px;
    height: 3px;
    width: 76%;
    background: var(--accent);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s var(--ease), opacity .22s;
    opacity: .95;
  }
  .links a:hover::after, .links a.active::after {
    transform: scaleX(1);
  }

  /* ---------------------------
      ICONS cluster + controls
      --------------------------- */
/* Icons & Buttons */
.icons { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--nav-border);
  color: var(--text);
  cursor: pointer;
  transition: 0.3s var(--ease-elastic);
}
.icon-btn:hover { background: var(--nav-highlight); transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

.icon-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  border-radius: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  border: 2px solid #fff; /* Inner stroke for separation */
}

  /* Account: scrolled solid pill */
  .account-btn { display:none; border:0; padding:0; background:transparent; }
  .top-nav.scrolled .account-btn {
    display:grid; width:48px; height:48px; border-radius:12px; background:var(--accent);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.2); border:none; place-items:center;
  }
  .top-nav.scrolled .account-btn .bx { color:#fff; font-size:1.5rem; }

  /* Sign-in CTA — made more attractive (solid pill with icon) */
  .signin-cta { display:flex; align-items:center; gap:8px; }
  .signin-cta .btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 19px;  border:0;   background: var(--accent); color:#fff; font-weight:900;
    cursor:pointer; box-shadow: 0 12px 36px rgba(16, 185, 129, 0.15); font-size:0.95rem;
    transition: transform .12s, box-shadow .12s;
    border-radius: 12px;
  }
  .signin-cta .btn .btn-icon { width:20px; height:20px; display:inline-grid; place-items:center; background:transparent; color:#fff; }
.signin-cta .btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.25);
  background: #059669; /* Darker emerald */
  color: #fff;
}
  .signin-cta .icon-only { width:48px; height:48px; border-radius:12px; display:grid; place-items:center; background:var(--accent); border:0; color:#fff; }
  .top-nav:not(.scrolled) .signin-cta .icon-only { display:none; }
  .top-nav.scrolled .signin-cta .btn { display:none; }
  .top-nav.scrolled .signin-cta .icon-only { display:grid; }

  /* ---------------------------
      MOBILE top + bottom
      --------------------------- */
  .mobile-top, .mobile-bottom { display:none; }
  @media (max-width:980px) {
    .top-nav { display:none; }
    .mobile-top {
      display:flex; position:fixed; top:0; left:0; right:0; height:56px; align-items:center; justify-content:space-between;
      padding:0 12px; background:#fff; box-shadow:var(--shadow-soft); z-index:1200; border-bottom:1px solid var(--border);
    }


    .mobile-top .right-icons { display:flex; gap:8px; align-items:center; }

    /* ensure cart icon visible on mobile top (top-right) */
    .mobile-top .icon-btn { width:44px; height:44px; border-radius:10px; background: var(--surface); }

    .mobile-bottom {
      display:flex; position:fixed; bottom:0; left:0; right:0; height:64px; background:#fff;
      justify-content:space-around; align-items:center; box-shadow:var(--shadow-soft); z-index:9999; padding:0 12px; gap:8px;
      border-top:1px solid var(--border);
      transition: transform 0.32s cubic-bezier(.2,.9,.2,1), opacity 0.22s;
      will-change: transform, opacity;
    }
    .mobile-bottom.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    }
    .mobile-bottom.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    }
    .mobile-bottom a {
      display:flex; flex-direction:column; align-items:center; font-size:12px; color:var(--muted); text-decoration:none;
      gap:4px; padding:6px 8px; border-radius:10px; transition: transform .12s, background .12s; width:64px; justify-content:center;
      position:relative;
    }
    .mobile-bottom a .bx { font-size:1.3rem; color:var(--muted); }
    .mobile-bottom a.active { background: var(--nav-highlight); color: var(--accent); transform:translateY(-2px); border-radius:12px; }
    .mobile-bottom a.active .bx { color: var(--accent); }

    .mobile-bottom a:hover::after, .mobile-bottom a.active::after { width:56%; background: var(--accent); }

    .mobile-add { width:64px; height:64px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:800;
                   background:var(--accent); box-shadow: 0 12px 36px rgba(16, 185, 129, 0.3); transform:translateY(-18px); border:4px solid #fff; animation: pulse 2s infinite; }
    .mobile-add .bx { font-size:1.2rem; }

    .mobile-bottom a.cart-mobile { position:relative; }
    .mobile-bottom a .icon-wrap { width:44px; height:44px; border-radius:10px; display:grid; place-items:center; background:transparent; }
  }

  @media (max-width:420px) {
    .mobile-bottom a { width:auto; padding:8px; }
    .mobile-bottom a span { font-size:11px; }
  }

  /* ---------------------------
      CART drawer (desktop) & bottom-sheet (mobile)
      --------------------------- */
  .cart-sidebar {
    position: fixed; right: 20px; top: 20px; height: calc(100vh - 40px); width: 380px; max-width: calc(100vw - 48px);
    transform: translateX(520px); transition: transform .32s var(--ease), opacity .2s; background:#fff; box-shadow:var(--shadow);
    border-radius:12px; overflow:hidden; z-index:1600; display:flex; flex-direction:column; border: 1px solid var(--border);
  }
  .cart-sidebar.open { transform: translateX(0); }
  .cart-header { padding:14px 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); }
  .cart-header h3 { margin:0; font-size:1rem; color:var(--text); font-weight: 800; }
  .cart-close { background:transparent; border:0; cursor:pointer; color:var(--muted); }

  .cart-body { padding:14px; overflow:auto; flex:1; display:flex; flex-direction:column; gap:12px; }
  .cart-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:18px; color:var(--muted); text-align:center; }
  .suggestions { display:grid; gap:10px; width:100%; }
  .suggest-item { display:flex; gap:10px; align-items:center; padding:10px; border-radius:10px; background: var(--surface); border:1px solid var(--border); }
  .suggest-item .thumb { width:64px; height:64px; border-radius:8px; background-size:cover; background-position:center; flex:0 0 64px; }
  .suggest-item .meta { flex:1; display:flex; flex-direction:column; gap:6px; }
  .suggest-item .title { font-weight:700; color:var(--text); }
  .suggest-item .price { color:var(--accent); font-weight:800; }
  .suggest-item .btn-add { padding:8px 10px; border-radius:8px; border:0; cursor:pointer; font-weight:800; background:var(--accent); color:#fff; }

  .cart-footer { padding:12px; border-top:1px solid var(--border); display:flex; justify-content:space-between; gap:8px; background:#fff; }
/* Checkout Button - "Pulse" */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.checkout-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 12px;
  animation: pulse-green 2s infinite;
  border: none;
}
  @media (max-width:720px) {
    .cart-sidebar {
      left: 50%;
      right: auto;
      top: auto;
      bottom: 0;
      height: 72vh;
      width: 100%;
      max-width: 520px;
      transform: translate(-50%, 110%);
      border-radius: 12px 12px 0 0;
      margin-left: auto;
      margin-right: auto;
    }
    .cart-sidebar.open {
      transform: translate(-50%, 0);
    }
  }

  /* Mobile-plus sheet */
  .mobile-plus-backdrop { position:fixed; inset:0; display:none; align-items:flex-end; justify-content:center; background:rgba(15, 23, 42, 0.4); z-index:1700; }
  .mobile-plus-backdrop.open { display:flex; }
  .mobile-plus-modal { width:100%; max-width:520px; border-radius:14px 14px 0 0; background:#fff; box-shadow: 0 -18px 60px rgba(0,0,0,0.1); padding:14px; transform:translateY(16px); opacity:0; transition: transform .22s var(--ease), opacity .18s; }
  .mobile-plus-backdrop.open .mobile-plus-modal { transform:translateY(0); opacity:1; }
  .mobile-plus-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
  .mobile-plus-title { font-weight:900; font-size:1rem; color:var(--text); }
  .mobile-plus-desc { color:var(--muted); font-size:13px; }
  .mobile-plus-close { background: var(--surface); border:0; font-size:1.3rem; color:var(--muted); cursor:pointer; padding:6px; border-radius:8px; }

  .mobile-plus-list { display:grid; gap:10px; }
  .mobile-plus-item { display:flex; align-items:center; gap:12px; padding:12px; border-radius:10px; background: var(--surface); border: 1px solid var(--border); cursor:pointer; transition: transform .12s, box-shadow .12s; }
  .mobile-plus-item:active, .mobile-plus-item:focus { transform:translateY(-4px); box-shadow:var(--shadow-soft); outline:none; border-color: var(--accent); }
  .mobile-plus-item .icon { width:44px; height:44px; display:grid; place-items:center; border-radius:8px; background:var(--accent); color:white; }
  .mobile-plus-item .title { font-weight:800; color:var(--text); }
  .mobile-plus-item .sub { color:var(--muted); font-size:13px; }

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

    /* Smooth bottom-sheet animation for Quick Actions menu on mobile */
  .mobile-plus-backdrop {
    transition: background 0.28s cubic-bezier(.2,.9,.2,1);
  }
  .mobile-plus-modal {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.48s cubic-bezier(.2,.9,.2,1), opacity 0.48s cubic-bezier(.2,.9,.2,1);
  }
  .mobile-plus-backdrop.open .mobile-plus-modal {
    transform: translateY(0);
    opacity: 1;
  }

  /* Remove View button in cart footer */
  #viewFullBtn {
    display: none !important;
  }

  /* Make checkout button thinner and emerald */
.checkout-btn {
  padding: 8px 18px;
  border-radius: 12px;
  border: 3px solid transparent;
  background: var(--accent);
  background-size: 200% 200%;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15), 0 0 12px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
  transition: background .18s, box-shadow .18s, transform .16s;
  position: relative;
  overflow: hidden;
}
@keyframes checkout-bg-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes checkout-beat {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15); }
  50% { transform: scale(1.06); box-shadow: 0 12px 36px rgba(16, 185, 129, 0.25); }
}
.checkout-btn:hover {
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.3);
  transform: scale(1.04);
  background: #059669;
}

  /* Make total bigger and bolder */
  #cartTotalLabel {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.02em;
  }
  /* Ensure mobile-bottom is fully hidden when cart opens */
.mobile-bottom.hide {
  transform: translateY(110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Slightly emphasize total on mobile and make checkout more punchy */
@media (max-width:720px){
  #cartTotalLabel {
    font-size: 1.4rem;
    font-weight: 900;
    color: #065f46;
    text-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .checkout-btn {
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 48px rgba(16, 185, 129, 0.2);
    transform-origin: center;
  }
  .checkout-btn:focus {
    outline: 3px solid rgba(16, 185, 129, 0.2);
  }
}
.cart-header {
  position: relative;
}
.bx bxl-whatsapp {
  color: #25D366; /* WhatsApp Green */
  font-size: 1.6rem;
}
.cart-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.cart-close:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--danger);
}

/* Fix cart badge position: always top-right of cart icon */
.cart-btn, #cartBtnMobile {
  position: relative;
}

.cart-btn .icon-badge,
#cartBtnMobile .icon-badge {
  position: absolute;
  top: -5px;
  right: -4px;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  border: 2px solid #fff;
  pointer-events: none;
  transition: none;
}

/* Cart item controls: modern horizontal layout, better buttons */
.suggest-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  min-height: 80px;
}

.suggest-item .thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 64px;
  box-shadow: 0 2px 8px rgba(16,185,129,0.08);
}

.suggest-item .meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suggest-item .title {
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.suggest-item .price {
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
}

.suggest-item .cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-qty {
  min-width: 36px;
  text-align: center;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--text);
  background: #f3f7f7;
  border-radius: 8px;
  padding: 4px 0;
  border: 1px solid var(--border);
}

.btn-decrease, .btn-increase {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .18s, transform .14s;
  box-shadow: 0 2px 8px rgba(16,185,129,0.08);
}
.btn-decrease:active, .btn-increase:active {
  background: #059669;
  transform: scale(0.95);
}

.btn-remove {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  margin-left: 10px;
  transition: background .18s, transform .14s;
  box-shadow: 0 2px 8px rgba(239,68,68,0.08);
}
.btn-remove:active {
  background: #b91c1c;
  transform: scale(0.95);
}

/* Responsive: stack controls on mobile */
@media (max-width: 720px) {
  .suggest-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 100px;
  }
  .suggest-item .cart-controls {
    margin-top: 0;
    gap: 12px;
  }
  .btn-remove {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
}

