/* ==========================================================================
   BuyLocal Market Technologies - Hybrid Marketplace Design System
   Combines Jumia/Konga/Jiji Rich Polish with Hyper-Local Market Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* BuyLocal Core Nigerian Market Design System Palette */
  --green-deep: #064e3b;
  /* Shade 1: Deep forest green (headers, active selection backgrounds) */
  --green-deep-light: #065f46;
  /* Shade 1 gradient end */
  --green-deep-grad: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  --green-glass: rgba(16, 185, 129, 0.22);
  /* Shade 2: Translucent emerald glass (verified partner tag) */
  --green-glass-border: rgba(16, 185, 129, 0.5);
  --green-mint-text: #34d399;
  /* Shade 2 text color */
  --green-emerald: #10b981;
  /* Shade 3: Solid vivid emerald green (open/in-stock badges, active borders) */
  --brand-yellow: #facc15;
  /* Brand warm custard yellow accent */
  --brand-white: #ffffff;
  /* Pure crisp white */

  /* Vibrant Brand Colors */
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fff7ed;
  --primary-border: #fed7aa;
  --primary-glow: rgba(234, 88, 12, 0.25);

  --secondary-green: #065f46;
  --secondary-green-dark: #064e3b;
  --secondary-green-light: #f0fdf4;
  --secondary-green-border: #10b981;

  --accent-blue: #0f172a;
  --accent-blue-light: #1e293b;
  --accent-gold: #facc15;
  --accent-red: #e11d48;

  /* Surfaces & Backgrounds */
  --bg-page: #f1f5f9;
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-border: #e2e8f0;
  --border-subtle: #e2e8f0;

  /* Text Colors */
  --text-dark: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows & Radii */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

main {
  flex: 1 0 auto;
  min-height: calc(100vh - 180px);
  width: 100%;
}

html.modal-open,
html:has(body.modal-open),
body.modal-open {
  overflow: hidden !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Global Hidden Utility */
.hidden {
  display: none !important;
}

/* Modal & Drawer Overlay System */
.modal-backdrop,
.town-modal-backdrop,
.cart-overlay-hy {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.hidden,
.town-modal-backdrop.hidden,
.cart-drawer-backdrop.hidden,
.cart-overlay-hy.hidden {
  display: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #006838 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.36);
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.customer-auth-card {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.customer-auth-card::-webkit-scrollbar {
  display: none;
}

.customer-auth-card input:-webkit-autofill,
.customer-auth-card input:-webkit-autofill:hover,
.customer-auth-card input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #f8fafc inset !important;
  -webkit-text-fill-color: #0f172a !important;
  transition: background-color 5000s ease-in-out 0s;
}

.modal-dialog {
  background: #111822;
  border: 1px solid #243044;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  color: #f1f5f9;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

.modal-close-btn {
  font-size: 1.3rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* Town Dropdown Modal (Compact & Clean) */
.town-dialog-compact {
  max-width: 440px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #111822;
  border: 1px solid #243044;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.town-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.town-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.town-header-icon {
  font-size: 1.25rem;
}

.town-modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.town-filter-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #182230;
  border: 1px solid #243044;
  border-radius: 10px;
  padding: 0 10px;
  height: 38px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.town-filter-box:focus-within {
  border-color: #00b53f;
}

.town-filter-icon {
  font-size: 0.85rem;
  color: #94a3b8;
}

.town-filter-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f1f5f9;
  font-size: 0.86rem;
  font-family: inherit;
}

.town-filter-input-field::placeholder {
  color: #64748b;
  font-size: 0.82rem;
}

.towns-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 2px;
}

.town-dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #182230;
  border: 1px solid #222f42;
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.town-dropdown-row:hover {
  background: #202d3f;
  border-color: #10b981;
  transform: translateY(-1px);
}

.town-dropdown-row.active-town {
  background: rgba(6, 78, 59, 0.45);
  border-color: #10b981;
}

.town-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.town-row-icon {
  font-size: 1rem;
  color: #10b981;
  flex-shrink: 0;
}

.town-row-text {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.town-row-text strong {
  color: #ffffff;
  font-weight: 700;
}

.town-row-badge {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

.town-empty-notice {
  color: #94a3b8;
  font-size: 0.82rem;
  text-align: center;
  padding: 16px 0;
}

.cart-drawer-panel {
  background: #ffffff;
  color: #0f172a;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.16);
  border-left: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  z-index: 100001;
  padding: 0;
  animation: drawerSlideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Modern Light Cart Drawer Styling */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.drawer-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-title {
  margin: 0;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.drawer-town-badge {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.drawer-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-back-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

.drawer-footer {
  padding: 18px 22px 22px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.04);
}

/* Empty Basket State */
.cart-empty-view {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
}

.cart-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #006838;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cart-empty-view h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.cart-empty-view p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px 0;
  max-width: 290px;
}

.cart-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

.btn-empty-start-shopping {
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  background: #006838;
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.25);
  transition: all 0.15s ease;
}

.btn-empty-start-shopping:hover {
  background: #00522c;
  transform: translateY(-1px);
}

.btn-empty-track-order {
  width: 100%;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-empty-track-order:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Cart Destination Box */
.cart-destination-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Cart Item Rows & Steppers */
.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.cart-item-img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}

.cart-item-math {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-unit-price {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.item-line-total {
  font-size: 0.88rem;
  font-weight: 800;
  color: #006838;
}

.cart-item-stepper-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.btn-cart-step {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-cart-step:hover {
  background: #e2e8f0;
}

.cart-step-num {
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  min-width: 20px;
  text-align: center;
}

.btn-cart-del {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.12s;
}

.btn-cart-del:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* Cart Summary Breakdown in Footer */
.cart-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #475569;
}

.summary-line.total-line {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  align-items: center;
}

.total-naira {
  font-size: 1.25rem;
  font-weight: 900;
  color: #006838;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 768px) {
  .cart-drawer-backdrop {
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .cart-drawer-panel {
    width: 100% !important;
    max-width: 100% !important;
    height: 88dvh !important;
    max-height: 88dvh !important;
    border-radius: 20px 20px 0 0 !important;
    border-left: none !important;
    border-top: 1px solid #e2e8f0 !important;
    animation: drawerSlideUpBottom 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
}

@keyframes drawerSlideUpBottom {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   1. Top Announcement Bar
   ========================================================================== */
.top-announcement-bar {
  background: var(--accent-blue);
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 6px 0;
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-left-tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-local-tag {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.top-right-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-link-item {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.top-link-item:hover {
  color: var(--primary);
}

/* ==========================================================================
   2. Main Header
   ========================================================================== */
.main-header-hybrid {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.header-hybrid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

/* Brand */
.brand-hybrid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon-hybrid {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px var(--primary-glow);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-title-main span {
  color: var(--primary);
}

.brand-sub-badge {
  font-size: 0.68rem;
  color: var(--secondary-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Town Location Selector */
.town-selector-badge {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-light);
  border: 1.5px solid var(--primary-border);
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.08);
}

.town-selector-badge:hover {
  background: #ffedd5;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.16);
}

.town-pin {
  font-size: 1.2rem;
  line-height: 1;
}

.town-meta-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.town-meta-label {
  font-size: 0.62rem;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 2px;
}

.town-meta-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.town-chevron {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Search Bar */
.search-hybrid-bar {
  flex: 1;
  max-width: 540px;
  display: flex;
  align-items: center;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  transition: var(--transition);
}

.search-hybrid-bar:focus-within {
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-hybrid-bar .search-icon {
  padding-left: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.search-hybrid-input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  font-family: inherit;
  min-width: 0;
  background: transparent;
}

.search-hybrid-input::placeholder {
  color: #94a3b8;
}

.search-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.search-clear-btn:hover {
  color: var(--text-dark);
}

.search-clear-btn.hidden {
  display: none;
}

.search-hybrid-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.search-hybrid-btn:hover {
  background: var(--primary-dark);
}

/* Header Right Actions */
.header-hybrid-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn-clean {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-subtle);
  transition: var(--transition);
  cursor: pointer;
}

.action-btn-clean:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.cart-btn-hybrid {
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cart-btn-hybrid:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.cart-badge-hybrid {
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   3. Visual Category Bar & Quick Chips
   ========================================================================== */
.category-chips-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.category-bar-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chips-scroll-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.chips-scroll-container::-webkit-scrollbar {
  display: none;
}

.category-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}

.category-chip-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.category-chip-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-see-all-cats-pinned {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 1px 4px var(--primary-glow);
}

.btn-see-all-cats-pinned:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-see-all-cats-pinned .cat-grid-icon {
  font-size: 1rem;
  line-height: 1;
}

.btn-see-all-cats-pinned .cat-arrow-icon {
  font-size: 0.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.btn-see-all-cats-pinned:hover .cat-arrow-icon {
  color: #fff;
  transform: translateX(2px);
}

/* Header category button */
.header-all-cats-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  flex-shrink: 0;
}

.header-all-cats-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile search strip is hidden on desktop */
.mobile-search-strip {
  display: none;
}

.pulse-highlight {
  animation: pulse-border 0.8s ease-in-out 2;
}

@keyframes pulse-border {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(234, 88, 12, 0.25);
    transform: scale(1.02);
  }
}

/* Categories Full Panel Modal */
.modal-card-categories {
  max-width: 840px !important;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.categories-panel-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  max-height: calc(88vh - 130px);
}

.cat-panel-search-bar {
  margin-bottom: 16px;
}

.cat-panel-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.cat-panel-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.cat-group-section {
  margin-bottom: 20px;
}

.cat-group-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.cat-card-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
}

.cat-card-btn:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cat-card-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.cat-card-content strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.cat-card-content span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   4. Hero Section — Hybrid Banner (Center Spotlight + Right Service Cards)
   ========================================================================== */
.hero-hybrid-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  margin: 16px 0 20px;
}

.hero-main-spotlight {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 45%, #f97316 100%);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-main-spotlight::after {
  content: none;
  display: none;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fef08a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  width: fit-content;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.spotlight-title span {
  color: #fef08a;
}

.spotlight-desc {
  font-size: 0.92rem;
  color: #ffedd5;
  max-width: 500px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.spotlight-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.btn-hero-primary {
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--accent-blue-light);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

/* Right Side Service Cards */
.hero-side-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hybrid-service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.hybrid-service-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-icon-wrap.orange {
  background: var(--primary-light);
  color: var(--primary);
}

.service-icon-wrap.green {
  background: var(--secondary-green-light);
  color: var(--secondary-green);
}

.service-icon-wrap.blue {
  background: #eff6ff;
  color: #2563eb;
}

.service-text-wrap strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.service-text-wrap span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   5. Flash Deals / Daily Market Specials Bar
   ========================================================================== */
.flash-deals-strip {
  background: #e11d48;
  /* Vibrant crimson deal red */
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-tag-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.flash-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.timer-digit {
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
}

.flash-view-link {
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: underline;
}

/* ==========================================================================
   6. Physical Market Stalls Hub (Jiji-style Verified Stalls)
   ========================================================================== */
.market-stalls-section {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.section-head-hybrid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.section-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.section-badge-counter {
  background: var(--secondary-green-light);
  color: var(--secondary-green);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--secondary-green-border);
}

.stalls-hybrid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.stall-card-hybrid {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.stall-card-hybrid:hover {
  border-color: var(--secondary-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stall-card-hybrid.active-stall {
  border-color: var(--primary);
  background: var(--primary-light);
}

.stall-card-top-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.stall-avatar-sq {
  width: 46px;
  height: 46px;
  background: var(--secondary-green);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.stall-title-wrap h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
}

.stall-location-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--secondary-green-light);
  color: var(--secondary-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--secondary-green-border);
}

.stall-details-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.stall-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-stall-view-inv {
  flex: 1;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  text-align: center;
  transition: var(--transition);
}

.btn-stall-view-inv:hover {
  background: var(--primary-dark);
}

.btn-stall-call-phone {
  background: var(--secondary-green-light);
  color: var(--secondary-green);
  border: 1px solid var(--secondary-green);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-stall-call-phone:hover {
  background: var(--secondary-green);
  color: #fff;
}

/* ==========================================================================
   7. Live Product Catalog Feed (Jumia / Konga Product Cards)
   ========================================================================== */
.products-hybrid-section {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-xs);
}

.products-hybrid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.product-hybrid-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.product-hybrid-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-photo-container {
  position: relative;
  width: 100%;
  height: 195px;
  background: #f8fafc;
  overflow: hidden;
}

.product-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-hybrid-card:hover .product-photo-img {
  transform: scale(1.05);
}

.badge-discount-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.badge-stall-name {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-hybrid-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title-line {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4em;
}

.price-hybrid-block {
  margin-bottom: 8px;
}

.naira-price-bold {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
}

.kobo-integer-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stock-status-pill {
  font-size: 0.7rem;
  color: var(--secondary-green);
  font-weight: 800;
  margin-bottom: 10px;
}

.btn-add-hybrid-cart {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px;
  border-radius: var(--radius-xs);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 6px var(--primary-glow);
}

.btn-add-hybrid-cart:hover {
  background: var(--primary-dark);
}

.qty-stepper-hybrid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-xs);
  background: #fff;
}

.step-btn-hy {
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-val-hy {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-book-service-hy {
  width: 100%;
  background: var(--secondary-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px;
  border-radius: var(--radius-xs);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-book-service-hy:hover {
  background: var(--secondary-green-dark);
}

.badge-service-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   8. Modals & Cart Drawer
   ========================================================================== */
.modal-overlay-hy,
.cart-overlay-hy {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay-hy.hidden,
.cart-overlay-hy.hidden {
  display: none;
}

.modal-card-hy {
  background: #fff;
  border-radius: var(--radius-sm);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-head-hy {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
}

.modal-head-hy h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.modal-close-hy {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.modal-body-hy {
  padding: 20px;
}

.town-btn-row-hy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  background: #fff;
  transition: var(--transition);
  text-align: left;
}

.town-btn-row-hy:hover,
.town-btn-row-hy.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Cart Panel Hybrid */
.cart-panel-hy {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 1001;
}

.cart-head-hy {
  padding: 16px 20px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-body-items-hy {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
}

.cart-line-item-hy {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-thumb-img-hy {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.cart-foot-hy {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.btn-checkout-hy {
  width: 100%;
  background: var(--secondary-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-xs);
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.btn-checkout-hy:hover {
  background: var(--secondary-green-dark);
}

/* ==========================================================================
   9. Multi-Column E-Commerce Footer
   ========================================================================== */
.footer-hybrid {
  background: #012b18;
  border-top: 1px solid #004d2a;
  color: #cbd5e1;
  padding: 40px 0 20px;
  font-size: 0.82rem;
}

.footer-grid-hybrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-desc-col h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-desc-col h4 span {
  color: #a7f3d0;
}

.footer-links-col h5 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 8px;
}

.footer-links-col a:hover {
  color: #00b53f;
}

.footer-bottom-bar {
  text-align: center;
  color: #94a3b8;
  font-size: 0.75rem;
}

/* ==========================================================================
   10. MarketGrid & ProductCatalog Component Styles
   (used by MarketGrid.js and ProductCatalog.js — applies on all breakpoints,
    mobile-specific overrides come in section 11 below)
   ========================================================================== */

/* ── Markets Section ── */
.markets-section {
  margin-bottom: 24px;
}

.market-section-header {
  margin-bottom: 16px;
}

.market-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-blue);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-main-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.section-sub-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Market filter tabs */
.market-tabs-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.market-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.market-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.market-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.market-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tab-count {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 0.72rem;
}

.market-tab:not(.active) .tab-count {
  background: var(--bg-page);
  color: var(--text-muted);
}

/* Store grid */
.stores-grid-container {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.stores-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-border);
  background: var(--bg-subtle);
}

.stores-grid-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0;
}

.store-card {
  padding: 16px;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.store-card:last-child {
  border-bottom: none;
}

.store-card:hover {
  background: var(--bg-subtle);
}

.store-card.selected-store {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
}

.store-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px var(--primary-glow);
}

.store-avatar-text {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--font-display);
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  width: fit-content;
  border: 1px solid #bbf7d0;
}

.market-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.store-meta-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.meta-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
}

.meta-text {
  line-height: 1.3;
}

.store-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.btn-filter-store {
  flex: 1;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-filter-store:hover {
  background: var(--primary-dark);
}

.btn-filter-store.btn-active {
  background: var(--secondary-green);
}

.btn-call-stall {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}

.btn-call-stall:hover {
  background: var(--secondary-green);
}

.empty-stores-card {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-subtle-sm {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  border: 1px solid var(--bg-border);
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-sweep 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-sweep {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.market-error-banner,
.product-error-banner {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #be123c;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* ── Products Section ── */
.products-section {
  margin-bottom: 36px;
}

.products-section-header {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.products-header-left {
  flex: 1;
  min-width: 0;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.products-main-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 4px;
}

.products-sub-title {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

.active-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.filter-tag {
  background: #1e293b;
  color: #a7f3d0;
  border: 1px solid #334155;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.product-card {
  background: #182230;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #222f42;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border-color: #00b53f;
  background: #1d293a;
}

.product-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

.product-badges-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.stock-badge.in-stock {
  background: rgba(6, 78, 59, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.65);
  color: #ecfdf5;
}

.stock-badge.out-of-stock {
  background: rgba(153, 27, 27, 0.92);
  border: 1px solid rgba(239, 68, 68, 0.7);
  color: #fee2e2;
}

.stock-badge.low-stock {
  background: rgba(234, 88, 12, 0.9);
  border: 1px solid rgba(249, 115, 22, 0.7);
  color: #ffffff;
}

.stock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.stock-status-dot.in-stock {
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.stock-status-dot.out-of-stock {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.product-card.is-out-of-stock .product-image {
  filter: grayscale(40%) contrast(0.9);
  opacity: 0.82;
}

.product-content {
  padding: 12px 14px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.product-store-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.product-store-name {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.stock-status-pill.in-stock {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stock-status-pill.out-of-stock {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.stock-mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
}

.product-stall-tag {
  font-size: 0.66rem;
  background: #202d3f;
  color: #fdba74;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #334155;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin: 0;
  height: auto;
  min-width: 0;
}

.product-unit-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  margin-bottom: 2px;
}

.product-unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.85);
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.product-desc {
  display: none !important;
}

.product-price-block {
  margin-top: 2px;
}

.price-primary {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-naira-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.price-kobo-subtext,
.kobo-pill,
.kobo-integer-tag,
.total-kobo-sub,
.fee-kobo {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

.product-card-action {
  padding: 10px 12px 14px;
  border-top: 1px solid #222f42;
  margin-top: auto;
  box-sizing: border-box;
  width: 100%;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.qty-picker {
  display: inline-flex;
  align-items: center;
  background: #0b121e;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 6px;
  overflow: hidden;
  height: 34px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.qty-picker:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.btn-qty-mini {
  width: 24px;
  height: 34px;
  background: #152233;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  outline: none;
  padding: 0;
}

.btn-qty-mini:hover {
  background: #065f46;
  color: #34d399;
}

.btn-qty-mini:active {
  background: #064e3b;
}

.qty-input-box {
  width: 26px;
  height: 34px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input-box::-webkit-outer-spin-button,
.qty-input-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.product-qty-row .btn-add-to-cart {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-add-to-cart {
  width: 100%;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.35);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-sizing: border-box;
}

.btn-add-to-cart:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(6, 78, 59, 0.5);
}

.btn-add-to-cart:active {
  background: #064e3b;
  transform: scale(0.98);
}

.btn-add-to-cart:disabled,
.btn-add-to-cart.btn-out-of-stock {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.out-of-stock-row {
  width: 100%;
}

.btn-cart-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.btn-cart-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.55);
  border-radius: 6px;
  overflow: hidden;
  background: #0b121e;
  height: 34px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
  box-sizing: border-box;
}

.quantity-stepper .btn-step {
  width: 32px;
  height: 34px;
  background: #152233;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}

.quantity-stepper .btn-step:hover {
  background: #065f46;
  color: #34d399;
}

.quantity-stepper .btn-step:active {
  background: #064e3b;
}

.quantity-stepper .btn-step:hover {
  background: #065f46;
  color: #34d399;
}

.quantity-stepper .btn-step:active {
  background: #064e3b;
}

.quantity-stepper .step-qty-val {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.quantity-stepper .step-qty-num {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 800;
}

/* Cart Drawer Stepper Controls */
.cart-unit-price {
  font-size: 0.74rem;
  color: #94a3b8;
}

.cart-item-stepper-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  background: #0b121e;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
}

.btn-cart-step {
  width: 26px;
  height: 28px;
  background: #152233;
  color: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.btn-cart-step:hover {
  background: #065f46;
  color: #34d399;
}

.cart-step-num {
  min-width: 26px;
  padding: 0 4px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-cart-del {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.btn-cart-del:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

@media (max-width: 480px) {
  .product-qty-row {
    flex-direction: column;
    gap: 6px;
  }

  .product-qty-row .qty-picker {
    width: 100%;
    justify-content: space-between;
  }

  .product-qty-row .btn-qty-mini {
    width: 38px;
  }

  .product-qty-row .qty-input-box {
    flex: 1;
  }

  .product-qty-row .btn-add-to-cart {
    width: 100%;
  }
}

.empty-catalog-state {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px dashed var(--bg-border);
}

.empty-catalog-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-catalog-state h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.empty-catalog-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   11. Responsive — Tablet
   ========================================================================== */
@media (max-width: 992px) {
  .hero-hybrid-grid {
    grid-template-columns: 1fr;
  }

  .hero-side-cards {
    display: none;
  }

  .footer-grid-hybrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   12. Mobile-First Overhaul — Bottom Nav, Compact Header, App-Shell Layout
   Target: max-width 640px (phones)
   ========================================================================== */

/* ── Mobile Bottom Navigation Bar (hidden on desktop) ── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {

  /* ── Overflow fix: nothing escapes the viewport ── */
  .container {
    padding: 0 12px;
    max-width: 100%;
    overflow-x: hidden;
  }

  main {
    overflow-x: hidden;
    width: 100%;
  }

  /* Hide desktop-only chrome */
  .top-announcement-bar {
    display: none;
  }

  .hero-side-cards {
    display: none;
  }

  .footer-hybrid {
    display: none;
  }

  /* Body padding for bottom nav */
  body {
    padding-bottom: 68px;
  }

  /* ── Sticky compact header ── */
  .site-header,
  .main-header-hybrid {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--bg-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .header-container {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
    max-width: 100%;
  }

  .header-hybrid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0;
  }

  /* Brand — logo + wordmark only */
  .brand-hybrid,
  .brand-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .brand-sub-badge,
  .brand-tag {
    display: none;
  }

  .brand-title-main,
  .brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .brand-icon-hybrid,
  .logo-symbol {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .logo-emoji {
    font-size: 1.05rem;
  }

  .pulse-ring {
    display: none;
  }

  /* Location pill — fills flex space with unified 38px height */
  .location-scoper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
  }

  .town-selector-badge,
  .location-pill-btn {
    height: 38px;
    width: 100%;
    background: var(--primary-light);
    border: 1.5px solid var(--primary-border);
    border-radius: 9px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    cursor: pointer;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.08);
  }

  .town-meta-col,
  .location-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .town-meta-label,
  .location-label {
    font-size: 0.54rem;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 2px;
  }

  .town-meta-name,
  .location-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
  }

  .town-pin,
  .geo-pin {
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .town-chevron,
  .switch-chevron {
    font-size: 0.75rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Hide GPS button entirely on mobile */
  .gps-quick-btn {
    display: none !important;
  }

  /* Header actions — just cart with matching 38px height */
  .header-hybrid-actions,
  .header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .action-btn-clean {
    display: none !important;
  }

  /* Hide desktop search from header row (handled by mobile-search-strip) */
  .search-hybrid-bar,
  .search-box {
    display: none !important;
  }

  /* Cart pill — matching 38px height */
  .cart-btn-hybrid,
  .cart-pill-btn {
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 9px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 3px 10px var(--primary-glow);
    border: none;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
  }

  .cart-text {
    display: none;
  }

  .cart-icon {
    font-size: 1.1rem;
    line-height: 1;
  }

  .cart-badge-hybrid,
  .cart-count-badge {
    background: #fff;
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }

  /* Category chips on mobile */
  .category-chips-bar {
    padding: 10px 0 12px;
    background: #fff;
    border-bottom: 1px solid var(--bg-border);
  }

  .chips-scroll-container {
    padding: 0 14px;
    gap: 8px;
  }

  .category-chip-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 99px;
    flex-shrink: 0;
  }

  .btn-see-all-cats-pinned {
    display: none !important;
  }

  /* ── Mobile search strip ── */
  .mobile-search-strip {
    position: sticky;
    top: 62px;
    z-index: 190;
    background: #fff;
    padding: 10px 14px 10px;
    border-bottom: 1px solid var(--bg-border);
  }

  .mobile-search-inner {
    height: 44px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid var(--bg-border);
    border-radius: 12px;
    padding: 0 14px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .mobile-search-inner:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
  }

  .mobile-search-icon {
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    min-width: 0;
  }

  .mobile-search-input::placeholder {
    color: #94a3b8;
  }

  .mobile-search-clear {
    color: var(--text-muted);
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
  }

  .mobile-search-clear.hidden {
    display: none;
  }

  /* ── Hero ── */
  .hero-hybrid-grid {
    grid-template-columns: 1fr;
    margin: 12px 0 14px;
    width: 100%;
  }

  .hero-main-spotlight {
    padding: 20px 16px;
    border-radius: 12px;
    width: 100%;
  }

  .spotlight-badge {
    font-size: 0.65rem;
  }

  .spotlight-title {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }

  .spotlight-desc {
    font-size: 0.8rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .spotlight-actions-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-hero-primary {
    font-size: 0.78rem;
    padding: 10px 14px;
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .btn-hero-outline {
    font-size: 0.78rem;
    padding: 9px 12px;
  }

  /* ── Flash deals ── */
  .flash-deals-strip {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
  }

  .flash-title-wrap {
    flex: 1;
    min-width: 0;
  }

  .flash-tag-name {
    font-size: 0.78rem;
  }

  .flash-countdown {
    font-size: 0.72rem;
  }

  /* ── MarketGrid mobile redesign ── */
  .market-section-header {
    margin-bottom: 12px;
  }

  .section-main-title {
    font-size: 1.25rem;
  }

  .section-sub-title {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .market-tabs-wrapper {
    gap: 6px;
    margin-bottom: 12px;
  }

  .market-tab {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .stores-grid-container {
    border-radius: 12px;
    overflow: hidden;
  }

  /* Store cards: horizontal layout on mobile */
  .stores-grid {
    grid-template-columns: 1fr;
  }

  .store-card {
    padding: 14px;
    border-bottom: 1px solid var(--bg-border);
    border-left: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .store-card.selected-store {
    border-left: 3px solid var(--primary);
    padding-left: 11px;
  }

  .store-card-body {
    flex: 1;
    min-width: 0;
    gap: 6px;
  }

  .store-header-row {
    gap: 8px;
  }

  .store-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .store-avatar-text {
    font-size: 0.82rem;
  }

  .store-title {
    font-size: 0.9rem;
  }

  .meta-row {
    font-size: 0.74rem;
  }

  .store-card-footer {
    flex-shrink: 0;
    flex-direction: column;
    gap: 6px;
    padding-top: 0;
    align-self: center;
  }

  .btn-filter-store {
    font-size: 0.74rem;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .btn-call-stall {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  /* ── ProductCatalog mobile redesign ── */
  .products-section-header {
    margin-bottom: 12px;
  }

  .products-main-title {
    font-size: 1.25rem;
  }

  .products-sub-title {
    font-size: 0.78rem;
  }

  /* 2-column product grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-media {
    height: 145px;
  }

  .product-content {
    padding: 8px 8px 4px;
    gap: 3px;
  }

  .product-store-name {
    font-size: 0.66rem;
    max-width: 60%;
  }

  .product-stall-tag {
    font-size: 0.6rem;
  }

  .product-name {
    font-size: 0.82rem;
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }

  .product-desc {
    display: none;
  }

  /* hide desc on mobile for space */

  .price-naira-val {
    font-size: 1.05rem;
  }

  .kobo-pill {
    display: none;
  }

  /* hide kobo on mobile cards */

  .product-card-action {
    padding: 6px 8px 8px;
    border-top: 1px solid var(--bg-border);
  }

  .btn-add-to-cart {
    font-size: 0.76rem;
    padding: 8px 6px;
    gap: 4px;
    border-radius: 7px;
  }

  .btn-cart-icon {
    font-size: 0.9rem;
  }

  .btn-step {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .step-qty-val {
    font-size: 0.75rem;
  }

  /* Skeleton cards on mobile */
  .store-card.skeleton {
    height: 80px;
  }

  .product-card.skeleton {
    height: 250px;
  }

  /* ── Modals full-screen on mobile ── */
  .modal-card-categories {
    max-width: 100% !important;
    max-height: 100dvh !important;
    border-radius: 0;
    height: 100dvh;
  }

  /* Cart drawer slides up from bottom */
  .cart-drawer-backdrop,
  .cart-overlay-hy {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .cart-drawer-panel,
  .cart-panel-hy {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    height: 88dvh !important;
    top: auto !important;
    bottom: 0 !important;
  }

  /* ── Mobile Bottom Navigation Bar ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #fff;
    border-top: 1px solid var(--bg-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.09);
    height: 62px;
    align-items: stretch;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: var(--text-muted);
    transition: color 0.18s, background 0.18s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mob-nav-item.active {
    color: var(--primary);
  }

  .mob-nav-item:active {
    background: var(--primary-light);
    transform: scale(0.9);
  }

  .mob-nav-icon {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
  }

  .mob-nav-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
  }

  .mob-nav-item .mob-cart-badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 18px);
    background: var(--primary);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    min-width: 15px;
    height: 15px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
    line-height: 1;
  }

  .mob-cart-badge.hidden {
    display: none;
  }

  .mob-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
  }

  /* Toast above bottom nav */
  .toast-notification {
    bottom: 76px !important;
  }
}

/* ==========================================================================
   10. Mobile-First Overhaul — Bottom Nav, Compact Header, App-Shell Layout
   Target: max-width 640px (phones)
   ========================================================================== */

/* ── Mobile Bottom Navigation Bar ── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {

  /* Hide desktop-only chrome */
  .top-announcement-bar {
    display: none;
  }

  .hero-side-cards {
    display: none;
  }

  .footer-hybrid {
    display: none;
  }

  /* Body gets bottom padding so content clears the nav bar */
  body {
    padding-bottom: 68px;
  }

  /* ── Header: single compact row ── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--bg-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 8px;
  }

  /* Make brand smaller on mobile */
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .logo-symbol {
    width: 34px;
    height: 34px;
  }

  .logo-emoji {
    font-size: 1.1rem;
  }

  /* Compact location pill */
  .location-scoper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }

  .location-pill-btn {
    background: var(--primary-light);
    border: 1.5px solid var(--primary-border);
    border-radius: 8px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    cursor: pointer;
    min-width: 0;
    flex: 1;
    max-width: 160px;
  }

  .location-text {
    min-width: 0;
  }

  .location-label {
    font-size: 0.6rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
  }

  .location-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100px;
  }

  .switch-chevron {
    font-size: 0.7rem;
    color: var(--primary);
    flex-shrink: 0;
  }

  /* GPS button — icon only on mobile */
  .gps-quick-btn {
    background: #f1f5f9;
    border: 1px solid var(--bg-border);
    border-radius: 8px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
  }

  .gps-btn-text {
    display: none;
  }

  /* Header actions — just cart icon on mobile */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Hide desktop search box — we use the sticky bar below instead */
  .search-box {
    display: none;
  }

  /* Cart pill — icon + badge only */
  .cart-pill-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 3px 10px var(--primary-glow);
  }

  .cart-text {
    display: none;
  }

  .cart-icon {
    font-size: 1.1rem;
  }

  .cart-count-badge {
    background: #fff;
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 99px;
    min-width: 18px;
    text-align: center;
  }

  /* ── Sticky Mobile Search Bar (injected just below header) ── */
  .mobile-search-strip {
    position: sticky;
    top: 56px;
    /* height of compact mobile header */
    z-index: 190;
    background: #fff;
    padding: 8px 14px;
    border-bottom: 1px solid var(--bg-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .mobile-search-inner {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid var(--bg-border);
    border-radius: 10px;
    padding: 9px 12px;
    gap: 8px;
    transition: border-color 0.2s;
  }

  .mobile-search-inner:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
  }

  .mobile-search-icon {
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
  }

  .mobile-search-input::placeholder {
    color: #94a3b8;
  }

  .mobile-search-clear {
    color: var(--text-muted);
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  .mobile-search-clear.hidden {
    display: none;
  }

  /* ── Hero Section: compact card on mobile ── */
  .hero-hybrid-grid {
    grid-template-columns: 1fr;
    margin: 12px 0 14px;
  }

  .hero-main-spotlight {
    padding: 20px 18px;
    border-radius: 12px;
  }

  .spotlight-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .spotlight-desc {
    font-size: 0.82rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .spotlight-actions-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-hero-primary {
    font-size: 0.8rem;
    padding: 10px 14px;
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .btn-hero-outline {
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  /* ── Flash deals strip ── */
  .flash-deals-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .flash-tag-name {
    font-size: 0.88rem;
  }

  /* ── Section cards: full-width on mobile ── */
  .market-stalls-section,
  .products-hybrid-section {
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
  }

  /* ── Product grid: 2 columns ── */
  .products-hybrid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-photo-container {
    height: 150px;
  }

  .product-hybrid-body {
    padding: 8px;
  }

  .product-title-line {
    font-size: 0.8rem;
    height: 2.2em;
  }

  .naira-price-bold {
    font-size: 1rem;
  }

  .btn-add-hybrid-cart {
    font-size: 0.78rem;
    padding: 7px 6px;
  }

  /* ── Store cards: single column ── */
  .stalls-hybrid-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ── Category chips: tighter ── */
  .category-chips-bar {
    padding: 6px 0;
  }

  .category-chip-btn {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  /* ── Category panel modal: full-screen on mobile ── */
  .modal-card-categories {
    max-width: 100% !important;
    max-height: 100vh !important;
    border-radius: 0;
    height: 100vh;
  }

  /* ── Cart drawer: full-width ── */
  .cart-drawer-panel,
  .cart-panel-hy {
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
    bottom: 0;
    top: auto;
    height: 85vh;
  }

  .cart-drawer-backdrop,
  .cart-overlay-hy {
    align-items: flex-end;
    padding: 0;
  }

  /* ── Mobile Bottom Navigation Bar (Jiji Dark App Style) ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #052415;
    border-top: 1px solid #124b2a;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    height: 64px;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: #94a3b8;
    transition: color 0.18s, transform 0.15s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mob-nav-item.active {
    color: #34d399;
  }

  .mob-nav-item:active {
    transform: scale(0.92);
  }

  .mob-nav-icon {
    font-size: 1.35rem;
    line-height: 1;
    display: block;
  }

  .mob-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
  }

  /* Center Sell Button with Glow */
  .mob-nav-sell-center {
    position: relative;
    top: -10px;
  }

  .mob-nav-sell-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    border: 1.5px solid #10b981;
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.6), 0 0 0 4px #052415;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .mob-nav-sell-center:active .mob-nav-sell-circle {
    transform: scale(0.9);
  }

  .mob-nav-sell-center .mob-nav-label {
    color: #34d399;
    font-weight: 800;
    margin-top: 2px;
  }

  /* Cart nav item badge */
  .mob-nav-item .mob-cart-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: #10b981;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #052415;
    line-height: 1;
  }

  .mob-cart-badge.hidden {
    display: none;
  }

  /* Active indicator line above icon */
  .mob-nav-item.active:not(.mob-nav-sell-center)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background: #10b981;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.6);
  }

  /* Toast position above bottom nav */
  .toast-notification {
    bottom: 80px !important;
  }

  /* Container padding */
  .container {
    padding: 0 12px;
  }

  /* Footer grid fallback */
  .footer-grid-hybrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   JIJI MOBILE APP & DASHBOARD DESIGN SYSTEM STYLES
   ========================================================================== */

/* 1. Jiji Deep Green Top Hero Wrapper */
.jiji-hero-wrapper {
  background: linear-gradient(180deg, #063c1a 0%, #0d5e2d 55%, #0f6c34 100%);
  color: #ffffff;
  padding: 14px 0 20px;
  position: relative;
  box-shadow: 0 6px 20px rgba(7, 66, 30, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jiji-hero-wrapper .container {
  padding-left: 14px;
  padding-right: 18px;
  /* ensures safe margin from phone edge */
}

.jiji-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0;
}

.jiji-brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.jiji-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.brand-2d-icon {
  width: 38px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.jiji-brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.jiji-brand-text .jiji-accent {
  color: #a7f3d0;
}

.jiji-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 2px;
}

.jiji-user-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jiji-user-btn:hover,
.jiji-user-btn:active {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.jiji-user-svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: #ffffff;
}

.jiji-cart-svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: #ffffff;
}

.jiji-town-pin-svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
  color: #facc15;
}

.jiji-search-svg {
  width: 16px;
  height: 16px;
  display: block;
  color: #cbd5e1;
}

.btn-cart-svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  margin-right: 4px;
}

.mob-nav-svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  margin-bottom: 2px;
}

.mob-nav-svg-plus {
  width: 20px;
  height: 20px;
  display: block;
  stroke: #ffffff;
}

/* Full Unclipped Notification Cart Circle */
.jiji-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-right: 6px;
  /* gives ample room for badge and right arc of circle */
  flex-shrink: 0;
  overflow: visible;
  cursor: pointer;
}

.jiji-cart-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.jiji-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1.5px solid #063c1a;
  z-index: 20;
  pointer-events: none;
  line-height: 1;
}

/* Hero Title & Subtext Group */
.jiji-hero-title-group {
  text-align: center;
  margin-bottom: 14px;
}

.jiji-hero-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.25;
}

.jiji-hero-heading #hero-town-name {
  color: #a7f3d0;
  font-style: italic;
  font-weight: 800;
  display: inline;
  text-decoration: underline;
  text-decoration-color: rgba(167, 243, 208, 0.45);
  text-underline-offset: 3px;
  text-shadow: none;
}

.jiji-hero-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .jiji-hero-title-group {
    margin-bottom: 20px;
  }

  .jiji-hero-heading {
    font-size: 1.85rem;
    margin-bottom: 6px;
  }

  .jiji-hero-subtext {
    font-size: 1.05rem;
  }
}

/* Dual Capsule Search Bar (Sleek & Proportional) */
.jiji-search-capsule-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(100% - 8px);
  max-width: 580px;
  margin: 0 auto;
}

.jiji-town-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #111822;
  border: 1px solid #243044;
  color: #f1f5f9;
  padding: 0 10px;
  height: 42px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.jiji-town-btn:hover {
  background: #1a2433;
  border-color: #3b82f6;
}

.jiji-town-pin {
  font-size: 0.95rem;
}

.jiji-town-chevron {
  font-size: 0.72rem;
  color: #94a3b8;
}

.jiji-search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #111822;
  border: 1px solid #243044;
  border-radius: 10px;
  height: 42px;
  padding: 0 4px 0 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.jiji-search-input-box:focus-within {
  border-color: #00b53f;
  box-shadow: 0 0 0 3px rgba(0, 181, 63, 0.25);
}

.jiji-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f1f5f9;
  font-size: 0.86rem;
  font-family: inherit;
  min-width: 0;
}

.jiji-search-input::placeholder {
  color: #64748b;
  font-size: 0.84rem;
}

.jiji-search-clear {
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 4px;
  cursor: pointer;
}

.jiji-search-clear.hidden {
  display: none;
}

.jiji-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #94a3b8;
  transition: color 0.18s, background 0.18s;
  flex-shrink: 0;
}

.jiji-search-submit:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   2. Interactive Rectangle Advert Screen Banner (Unified & In-Frame)
   ========================================================================== */
.jiji-advert-section {
  background: #111822;
  padding: 12px 0 8px;
}

.advert-screen-container {
  position: relative;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .advert-screen-container {
    height: 160px;
  }
}

.advert-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.98);
  z-index: 1;
  overflow: hidden;
}

.advert-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.advert-slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Rich, Harmonious Slide Gradients (Styled uniformly like Blue) */
.advert-bg-pink {
  background: linear-gradient(135deg, #700d36 0%, #9d174d 35%, #be185d 70%, #db2777 100%);
}

.advert-bg-amber {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 45%, #ea580c 100%);
}

.advert-bg-emerald {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #047857 75%, #059669 100%);
}

.advert-bg-orange {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 35%, #c2410c 70%, #ea580c 100%);
}

.advert-bg-indigo {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

.advert-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 68px);
  padding-right: 6px;
}

.advert-badge-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  flex-wrap: nowrap;
}

.advert-pill-tag {
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.advert-pill-tag.pink {
  color: #fce7f3;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.advert-pill-tag.amber {
  color: #fed7aa;
}

.advert-pill-tag.orange {
  color: #ffedd5;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.advert-pill-tag.emerald {
  color: #a7f3d0;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.advert-pill-tag.indigo {
  color: #e0e7ff;
}

.advert-town-tag {
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.advert-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 3px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (min-width: 768px) {
  .advert-title {
    font-size: 1.35rem;
  }
}

.advert-subtitle {
  font-size: 0.72rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.advert-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.advert-cta-btn:active {
  transform: scale(0.95);
}

.advert-cta-btn.pink {
  color: #be185d;
}

.advert-cta-btn.amber {
  color: #c2410c;
}

.advert-cta-btn.orange {
  color: #c2410c;
}

.advert-cta-btn.emerald {
  color: #065f46;
}

.advert-cta-btn.indigo {
  color: #3730a3;
}

.advert-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-right: 4px;
}

.advert-emoji-art {
  font-size: 2.3rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.advert-sub-art {
  position: absolute;
  bottom: 0;
  right: -2px;
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Advert Pagination Indicators */
.advert-dots-bar {
  position: absolute;
  bottom: 8px;
  right: 12px;
  z-index: 5;
  display: flex;
  gap: 5px;
}

.advert-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.advert-dot.active {
  width: 18px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   2B. Desktop & Tablet Hero Spotlight Advert Slider Banner (3 Rotating Slides)
   ========================================================================== */
.desktop-hero-section {
  display: none;
  background: #052415;
  padding: 16px 0 6px;
}

.desktop-hero-section .hero-hybrid-grid {
  margin: 0;
}

.hero-main-spotlight.advert-spotlight-slider {
  position: relative;
  min-height: 290px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #24344d;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.98);
  z-index: 1;
  overflow: hidden;
}

.spotlight-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.spotlight-slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.advert-bg-dark-navy {
  background: linear-gradient(135deg, #0d1726 0%, #152338 50%, #1a2d47 100%);
}

.spotlight-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 68%;
  z-index: 2;
}

.spotlight-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.spotlight-badge {
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.spotlight-town-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 10px;
  border-radius: 99px;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.spotlight-desc,
.spotlight-slide .spotlight-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.45;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.spotlight-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotlight-slide-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  margin-right: 12px;
}

.spotlight-emoji-art {
  font-size: 4.2rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.spotlight-sub-art {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.desktop-advert-dots-bar {
  position: absolute;
  bottom: 12px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 6px;
}

.desktop-advert-dots-bar .advert-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.desktop-advert-dots-bar .advert-dot.active {
  width: 22px;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Responsive Visibility Switch */
@media (max-width: 767px) {
  .mobile-only-advert {
    display: block !important;
  }

  .desktop-hero-section {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-only-advert {
    display: none !important;
  }

  .desktop-hero-section {
    display: block !important;
  }
}

/* ==========================================================================
   3. Recommended for you Section (Horizontal Photos)
   ========================================================================== */
.jiji-recommended-section {
  background: #111822;
  padding: 16px 0 14px;
  position: relative;
  z-index: 2;
}

.jiji-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.jiji-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.jiji-see-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00b53f;
  text-decoration: none;
  transition: opacity 0.2s;
}

.jiji-see-all-link:hover {
  text-decoration: underline;
}

.jiji-recommended-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.jiji-recommended-carousel::-webkit-scrollbar {
  display: none;
}

.jiji-rec-card {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.jiji-rec-card:hover {
  transform: translateY(-2px);
}

.jiji-rec-img-wrap {
  width: 132px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a2433;
  border: 1px solid #243044;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.jiji-rec-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jiji-rec-card:hover .jiji-rec-img-wrap img {
  transform: scale(1.06);
}

.jiji-rec-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.2;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .jiji-recommended-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    overflow-x: visible;
  }

  .jiji-rec-card {
    flex: initial;
    width: 100%;
  }

  .jiji-rec-img-wrap {
    width: 100%;
    height: 105px;
  }
}

/* ==========================================================================
   4. 4-Column Category App Icon Grid (Jiji Touch Tiles - Equal Dimension)
   ========================================================================== */
.jiji-categories-section {
  background: #111822;
  padding: 16px 0 24px;
  border-bottom: 1px solid #1e293b;
  position: relative;
  z-index: 5;
}

.jiji-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  padding: 4px 0 2px;
}

@media (max-width: 360px) {
  .jiji-categories-grid {
    gap: 6px;
  }
}

@media (min-width: 768px) {
  .jiji-categories-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px;
  }
}

.jiji-cat-tile {
  background: #182230;
  border: 1.5px solid #222f42;
  border-radius: 12px;
  padding: 6px 2px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 80px;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Touch & Focus Highlighting — Glows smoothly with NO upward jump to prevent tucking */
.jiji-cat-tile:focus,
.jiji-cat-tile:active {
  border-color: #00b53f;
  background: #1a2636;
  box-shadow: 0 0 0 2px rgba(0, 181, 63, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 15;
  outline: none;
}

.jiji-cat-tile:active {
  transform: scale(0.95);
}

/* Desktop-only gentle elevation */
@media (hover: hover) and (min-width: 768px) {
  .jiji-cat-tile:hover {
    background: #202c3e;
    border-color: #00b53f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 181, 63, 0.25);
    z-index: 15;
  }
}

.jiji-cat-icon {
  font-size: 1.35rem;
  line-height: 1;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.jiji-cat-name {
  font-size: 0.60rem;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.12;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  letter-spacing: -0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 1px;
  box-sizing: border-box;
}

/* Ensure single-word category tags never break character-by-character */
.jiji-cat-tile[data-cat="supermarkets"] .jiji-cat-name {
  white-space: nowrap;
  letter-spacing: -0.025em;
  font-size: 0.58rem;
}

@media (min-width: 768px) {
  .jiji-cat-tile {
    height: 94px;
    padding: 12px 6px 10px;
    border-radius: 14px;
    gap: 6px;
  }

  .jiji-cat-icon {
    font-size: 1.55rem;
    height: 32px;
  }

  .jiji-cat-name {
    font-size: 0.74rem;
    height: 28px;
    letter-spacing: normal;
  }

  .jiji-cat-tile[data-cat="supermarkets"] .jiji-cat-name {
    white-space: normal;
    letter-spacing: normal;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   5. Deep Forest Green Theme for Body, Main & Feeds (Cohesive Marketplace)
   ========================================================================== */
body {
  background-color: #052415;
  color: #e2e8f0;
}

main {
  background-color: #052415;
  padding-bottom: 80px;
  /* offset for bottom nav */
}

/* Deep Green Theme for Hero Grid & Service Cards */
.hero-hybrid-grid {
  margin: 16px 0 20px;
}

.hero-main-spotlight {
  background: linear-gradient(135deg, #09321c 0%, #0e4426 100%);
  border: 1px solid #185a34;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.spotlight-title {
  color: #f8fafc;
}

.spotlight-desc:not(.spotlight-slide *) {
  color: #a7f3d0;
}

.hybrid-service-card {
  background: #0a351f;
  border: 1px solid #165331;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hybrid-service-card:hover {
  background: #0d4227;
  border-color: #34d399;
}

.service-text-wrap strong {
  color: #f1f5f9;
}

.service-text-wrap span {
  color: #94a3b8;
}

/* Flash deals vibrant deal red strip */
.flash-deals-strip {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
  border: 1px solid rgba(248, 113, 113, 0.45);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  color: #ffffff;
}

.flash-tag-name {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.flash-countdown {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.timer-digit {
  background: #082818;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.flash-view-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.flash-view-link:hover {
  background: #ffffff;
  color: #dc2626;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Market stalls & Products feed deep green styles */
.market-stalls-section,
.products-hybrid-section {
  background: #072a18;
  border: 1px solid #124b2a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-hybrid-head h2 {
  color: #f8fafc;
}

.stall-hybrid-card {
  background: #0a351f;
  border: 1px solid #165331;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.stall-hybrid-card:hover {
  border-color: #10b981;
  background: #0d4227;
}

.stall-hybrid-name {
  color: #f8fafc;
}

.stall-hybrid-badge {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

/* Product Card Deep Green Styling */
.product-hybrid-card {
  background: #0a351f;
  border: 1px solid #165331;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.product-hybrid-card:hover {
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: #0d4227;
}

.product-title-line {
  color: #f1f5f9;
}

.naira-price-bold {
  color: #34d399;
  font-weight: 800;
}

.product-store-link {
  color: #94a3b8;
}

.btn-add-hybrid-cart {
  background: linear-gradient(135deg, #006838 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #ffffff;
  font-weight: 700;
}

.btn-add-hybrid-cart:hover {
  background: linear-gradient(135deg, #00562e 0%, #047857 100%);
  border-color: #10b981;
}

/* Multi-Column Footer Deep Green Styling */
.footer-hybrid {
  background: #012b18;
  border-top: 1px solid #004d2a;
  color: #cbd5e1;
}

.footer-desc-col h4 {
  color: #ffffff;
}

.footer-desc-col h4 span {
  color: #34d399;
}

.footer-links-col h5 {
  color: #ffffff;
}

.footer-links-col a {
  color: #cbd5e1;
}

.footer-links-col a:hover {
  color: #34d399;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

/* ==========================================================================
   5B. Light Theme Option for Marketplace ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] {
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] main {
  background-color: #f8fafc !important;
}

[data-theme="light"] .desktop-hero-section {
  background: #f1f5f9 !important;
}

[data-theme="light"] .hero-main-spotlight {
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .hybrid-service-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .hybrid-service-card:hover {
  background: #f8fafc !important;
  border-color: #006838 !important;
}

[data-theme="light"] .service-text-wrap strong {
  color: #0f172a !important;
}

[data-theme="light"] .service-text-wrap span {
  color: #64748b !important;
}

[data-theme="light"] .jiji-recommended-section {
  background: #f8fafc !important;
}

[data-theme="light"] .jiji-section-title {
  color: #0f172a !important;
}

[data-theme="light"] .jiji-see-all-link {
  color: #006838 !important;
}

[data-theme="light"] .jiji-rec-label {
  color: #334155 !important;
}

[data-theme="light"] .jiji-rec-img-wrap {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

[data-theme="light"] .jiji-categories-section {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .jiji-cat-tile {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .jiji-cat-tile:hover {
  background: #f0fdf4 !important;
  border-color: #006838 !important;
  box-shadow: 0 6px 14px rgba(0, 104, 56, 0.12) !important;
}

[data-theme="light"] .jiji-cat-name {
  color: #1e293b !important;
  font-weight: 700 !important;
}

[data-theme="light"] .mobile-bottom-nav {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .mob-nav-item {
  color: #64748b !important;
}

[data-theme="light"] .mob-nav-item.active {
  color: #006838 !important;
}

[data-theme="light"] .footer-hybrid {
  background: #012b18 !important;
  border-top: 1px solid #004d2a !important;
  color: #cbd5e1 !important;
}

[data-theme="light"] .footer-desc-col h4 {
  color: #ffffff !important;
}

[data-theme="light"] .footer-desc-col h4 span {
  color: #34d399 !important;
}

[data-theme="light"] .footer-desc-col p {
  color: #cbd5e1 !important;
}

[data-theme="light"] .footer-links-col h5 {
  color: #ffffff !important;
}

[data-theme="light"] .footer-links-col a {
  color: #cbd5e1 !important;
}

[data-theme="light"] .footer-links-col a:hover {
  color: #34d399 !important;
}

[data-theme="light"] .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

[data-theme="light"] .theme-icon-sun {
  display: none !important;
}

[data-theme="light"] .theme-icon-moon {
  display: block !important;
}

:not([data-theme="light"]) .theme-icon-sun {
  display: block !important;
}

:not([data-theme="light"]) .theme-icon-moon {
  display: none !important;
}

/* ==========================================================================
   Responsive Display: Dedicated Mobile App Shell vs Desktop/Tablet Marketplace
   ========================================================================== */

/* Mobile (< 769px): Pure Dedicated App Landing Experience */
@media (max-width: 768px) {

  /* Hide top user icon on mobile — already accessible in bottom footer menu */
  #header-user-btn,
  .jiji-user-btn {
    display: none !important;
  }

  /* Completely remove main catalog and empty space below categories */
  main,
  #products-mount,
  .products-section {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .footer-hybrid {
    display: none !important;
  }

  body {
    padding-bottom: 68px;
    /* clearance for bottom navigation bar */
    overflow-x: hidden;
  }

  .jiji-categories-section {
    border-bottom: none;
    padding-bottom: 16px;
    margin-bottom: 0;
  }
}

/* Tablet & Desktop (>= 769px): Full Marketplace Grid & Multi-Column Footer */
@media (min-width: 769px) {
  main {
    display: block !important;
    padding-bottom: 40px;
  }

  .footer-hybrid {
    display: block !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* ==========================================================================
   BUYLOCAL 2.0: HIGH STREET, VIRTUAL AISLES, DROP HUBS & SPLIT ESCROW STYLES
   ========================================================================== */

/* 1. Institutional Drop Hubs Banner Strip */
.drop-hubs-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.drop-hubs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hub-pill-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hub-subtext {
  font-size: 0.75rem;
  color: #94a3b8;
}

.drop-hubs-chips-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.drop-hub-chip {
  background: #182234;
  border: 1px solid #283548;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-hub-chip:hover {
  background: #1e2d42;
  border-color: #10b981;
  transform: translateY(-2px);
}

.hub-chip-icon {
  font-size: 1.2rem;
}

.hub-chip-text {
  display: flex;
  flex-direction: column;
}

.hub-chip-text strong {
  font-size: 0.8rem;
  color: #f1f5f9;
  font-weight: 700;
}

.hub-chip-text small {
  font-size: 0.7rem;
  color: #10b981;
  font-family: monospace;
}

/* 2. High Street Storefronts Grid */
.high-street-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.high-street-card {
  background: #182230;
  border: 1px solid #222f42;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.high-street-card:hover {
  transform: translateY(-4px);
  border-color: #00b53f;
  box-shadow: 0 10px 28px rgba(0, 181, 63, 0.2);
}

.high-street-card.artisan-card-highlight {
  border-color: #d97706;
}

.high-street-card.artisan-card-highlight:hover {
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.25);
  border-color: #f59e0b;
}

.hs-card-media {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #0f172a;
}

.hs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.high-street-card:hover .hs-card-img {
  transform: scale(1.08);
}

.hs-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hs-badge-category {
  background: rgba(15, 23, 42, 0.85);
  color: #a7f3d0;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hs-badge-open {
  background: #00b53f;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.hs-badge-closed {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.hs-card-content {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hs-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.hs-card-address {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

.artisan-diagnostic-badge {
  margin-top: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #fde68a;
}

.store-aisles-preview {
  margin-top: 6px;
}

.aisle-preview-tag {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.hs-card-footer {
  padding: 0 14px 14px 14px;
}

.btn-enter-store {
  width: 100%;
  background: #233246;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.high-street-card:hover .btn-enter-store {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  border-color: #10b981;
}

/* 3. Tenant Storefront Hero */
.tenant-storefront-view {
  margin-bottom: 40px;
}

.storefront-hero {
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #334155;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.btn-back-pill {
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  border: 1px solid #475569;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  display: inline-block;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.btn-back-pill:hover {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  border-color: #10b981;
}

.storefront-header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.storefront-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.storefront-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.storefront-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #10b981;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
}

.storefront-meta {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.storefront-category-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ==========================================================================
   Store Category Filters & Inventory Showcase (Zero-Aisle Clean Design)
   ========================================================================== */
.store-cat-filters-section {
  margin: 16px 0 20px;
}

.store-cat-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-store-cat-filter {
  position: relative;
  background: #111c2e;
  border: 1px solid #1e2e46;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  white-space: nowrap;
  user-select: none;
}

.btn-store-cat-filter:hover {
  background: #19273c;
  border-color: rgba(16, 185, 129, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-store-cat-filter.active {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-color: #10b981;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.6), 0 0 0 1px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-store-cat-filter.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2.5px;
  background: #34d399;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.9);
}

.btn-store-cat-filter.active:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #34d399;
  color: #ffffff;
}

.store-cat-filter-icon {
  font-size: 1rem;
  line-height: 1;
}

.store-cat-filter-name {
  line-height: 1.2;
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  line-height: 1.3;
}

.btn-store-cat-filter.active .filter-count-badge {
  background: #10b981;
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .store-cat-filters-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    padding-top: 2px;
    scroll-snap-type: x proximity;
  }

  .store-cat-filters-bar::-webkit-scrollbar {
    display: none;
  }

  .btn-store-cat-filter {
    font-size: 0.76rem;
    padding: 7px 11px;
    gap: 6px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Category Shelf Header */
.category-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #111c2e;
  border: 1px solid #1e2e46;
  border-radius: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.category-shelf-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.category-shelf-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.category-shelf-title {
  margin: 0;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.category-shelf-desc {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.35;
}

.category-shelf-count-pill {
  background: #1e293b;
  border: 1px solid #334155;
  color: #34d399;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.empty-shelf-msg {
  padding: 32px 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.88rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px dashed #1e293b;
  margin: 12px 0;
}

.empty-shelf-msg p {
  margin: 0;
}

.products-grid-fade {
  animation: gridFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gridFadeIn {
  from {
    opacity: 0.55;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Artisan Capability Cards */
.artisan-capabilities-container {
  margin-top: 20px;
}

.artisan-fee-banner {
  background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
  border: 1px solid #f59e0b;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.fee-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fde68a;
  display: block;
}

.fee-desc {
  font-size: 0.75rem;
  color: #fed7aa;
}

.fee-amount {
  text-align: right;
}

.fee-naira {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.fee-kobo {
  font-size: 0.7rem;
  color: #fde68a;
  font-family: monospace;
}

.capabilities-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 16px;
}

.capability-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.capability-card {
  background: #182230;
  border: 1px solid #2a374a;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.cap-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cap-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.3;
}

.cap-duration {
  font-size: 0.7rem;
  background: #0f172a;
  color: #f59e0b;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 700;
}

.cap-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

.cap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #283548;
}

.cap-price span {
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
}

.cap-price strong {
  font-size: 1rem;
  color: #10b981;
  font-weight: 800;
}

.btn-book-service {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.6);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.35);
}

.btn-book-service:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #10b981;
  transform: translateY(-2px);
}

/* 6. Multi-Store Clustered Cart & Escrow Modal */
.cart-destination-box {
  background: #182234;
  border: 1px solid #28384f;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.destination-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  display: block;
  margin-bottom: 6px;
}

.destination-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease;
}

.destination-select:focus {
  border-color: #006838;
}

.clustered-cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-cart-cluster {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.cluster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 10px;
}

.cluster-store-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cluster-dispatch-tag {
  font-size: 0.7rem;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.cluster-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #475569;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 10px;
}

.escrow-modal-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  max-width: 480px;
  width: 92%;
  margin: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 24px;
  color: #0f172a;
}

.escrow-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.escrow-icon-badge {
  font-size: 1.4rem;
  background: #ecfdf5;
  color: #006838;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.escrow-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.escrow-modal-sub {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 700;
}

.escrow-alert-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.78rem;
  color: #065f46;
  line-height: 1.4;
  margin-bottom: 14px;
}

.otp-display-card {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-bottom: 14px;
}

.otp-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.otp-number {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Outfit', monospace;
  color: #0f172a;
  letter-spacing: 0.2em;
}

.otp-instructions {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  margin-top: 6px;
}

.escrow-meta-breakdown {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.badge-escrow-held {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

/* 7. Quick Terminal Floating Dock */
.terminal-quick-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.dock-pill {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #334155;
  border-radius: 99px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dock-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a7f3d0;
  padding-right: 6px;
  border-right: 1px solid #334155;
}

.btn-dock-action {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-dock-action:hover {
  background: #00b53f;
  color: #0f172a;
  border-color: #00b53f;
  transform: translateY(-2px);
}

.terminal-modal-dialog {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 20px;
  width: 90%;
  margin: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
  padding: 20px;
  color: #f8fafc;
}

.terminal-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 14px;
}

/* ==========================================================================
   Category Stores & Virtual Aisles Full-Screen App Modal / Overlay
   ========================================================================== */
.category-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 19, 32, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  animation: catFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes catFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.category-page-dialog {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background: #032214;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border: none;
}

.cat-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  width: 100%;
}

.cat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.cat-header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(440px, 42vw);
  min-width: 220px;
  background: rgba(2, 29, 16, 0.72);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  padding: 0 12px 0 14px;
  height: 40px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.cat-header-search-wrap:focus-within {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.cat-search-icon {
  color: #6ee7b7;
  flex-shrink: 0;
  margin-right: 8px;
  pointer-events: none;
}

.cat-header-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  height: 100%;
}

.cat-header-search-input::placeholder {
  color: rgba(209, 250, 229, 0.68);
}

.cat-search-clear-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 6px;
  transition: background 0.15s ease;
}

.cat-search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.85);
}

.cat-search-clear-btn.hidden {
  display: none !important;
}

[data-theme="light"] .cat-header-search-wrap {
  background: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 3px 12px rgba(0, 40, 20, 0.18) !important;
}

[data-theme="light"] .cat-header-search-wrap:focus-within {
  border-color: #a7f3d0 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28) !important;
}

[data-theme="light"] .cat-search-icon {
  color: #006838 !important;
}

[data-theme="light"] .cat-header-search-input {
  color: #0f172a !important;
}

[data-theme="light"] .cat-header-search-input::placeholder {
  color: #64748b !important;
}

[data-theme="light"] .cat-search-clear-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

[data-theme="light"] .cat-search-clear-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

@media (max-width: 767px) {
  .cat-page-header {
    flex-wrap: wrap;
  }

  .cat-header-search-wrap {
    order: 3;
    width: 100%;
    min-width: 100%;
    height: 36px;
    margin-top: 4px;
  }
}

.btn-cat-back {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.btn-cat-back:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.btn-cat-back:active {
  transform: scale(0.95);
}

.btn-cat-back .back-arrow-svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

.cat-header-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.cat-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cat-main-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.cat-page-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.cat-town-pill {
  color: #a7f3d0;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.cat-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.cat-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.9);
}

.cat-close-btn:active {
  transform: scale(0.95);
}

.cat-close-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

.cat-page-body {
  padding: 24px clamp(16px, 3vw, 40px) 80px;
  flex: 1;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.cat-intro-card {
  background: linear-gradient(135deg, #131f33 0%, #1e2c44 100%);
  border: 1px solid #283a54;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cat-intro-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.cat-intro-text h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.cat-intro-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.4;
}

.cat-stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .cat-stores-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .cat-page-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .cat-header-left {
    gap: 10px;
    min-width: 0;
  }

  .btn-cat-back {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .btn-cat-back .back-arrow-svg {
    width: 18px;
    height: 18px;
  }

  .cat-close-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .cat-close-btn svg {
    width: 14px;
    height: 14px;
  }

  .cat-page-title {
    font-size: 1rem;
    line-height: 1.25;
  }

  .brand-verified-pill {
    padding: 2px 6px 2px 5px;
    font-size: 0.62rem;
    gap: 4px;
    flex-shrink: 0;
  }

  .brand-verified-pill .brand-verified-icon {
    width: 11px;
    height: 11px;
  }

  .cat-town-pill {
    font-size: 0.7rem;
    margin-top: 1px;
  }

  .cat-page-body {
    padding: 12px 10px 80px;
  }

  .cat-stores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }
}

.cat-store-card {
  background: #131d2e;
  border: 1px solid #233146;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.cat-store-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.cat-card-media {
  position: relative;
  width: 100%;
  height: 125px;
}

@media (max-width: 767px) {
  .cat-card-media {
    height: 100px;
  }
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-badge-tag {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

.cat-badge-open {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

.cat-badge-closed {
  background: rgba(239, 68, 68, 0.92);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

.cat-card-content {
  padding: 12px 14px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
}

@media (max-width: 767px) {
  .cat-card-content {
    padding: 9px 10px 7px;
    gap: 4px;
  }
}

.cat-card-name {
  margin: 0;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  width: 100%;
}

@media (max-width: 767px) {
  .cat-card-name {
    font-size: 0.8rem;
  }
}

.cat-card-landmark {
  font-size: 0.76rem;
  color: #a7f3d0;
  margin: 1px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-weight: 500;
  line-height: 1.35;
  width: 100%;
}

.cat-card-landmark svg {
  color: #10b981;
  margin-top: 1px;
}

.cat-card-specialty {
  font-size: 0.72rem;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 8px;
  border-radius: 6px;
  margin: 3px 0 0;
  font-weight: 600;
  line-height: 1.35;
  width: 100%;
}

.cat-card-footer {
  padding: 0 14px 12px;
}

@media (max-width: 767px) {
  .cat-card-footer {
    padding: 0 10px 9px;
  }
}

.btn-enter-tenant-store {
  width: 100%;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.35);
}

@media (max-width: 767px) {
  .btn-enter-tenant-store {
    font-size: 0.72rem;
    padding: 7px 8px;
    border-radius: 7px;
  }
}

.btn-enter-tenant-store:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.5);
}

.btn-enter-tenant-store:active {
  background: #064e3b;
  transform: scale(0.96);
}

.store-modal-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 140px;
  display: flex;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #0b1320;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.store-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.store-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 19, 32, 0.93) 0%, rgba(11, 19, 32, 0.75) 45%, rgba(11, 19, 32, 0.32) 100%);
  z-index: 2;
  pointer-events: none;
}

.store-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 3;
  width: 100%;
}

.store-avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.store-modal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #10b981;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: block;
}

.store-banner-info {
  flex: 1;
  min-width: 0;
}

.store-banner-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.store-modal-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.store-modal-landmark {
  margin: 0 0 6px;
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  word-break: break-word;
}

.store-modal-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.store-modal-cat-tag {
  background: rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(4px);
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-modal-verified-tag {
  background: rgba(16, 185, 129, 0.22);
  backdrop-filter: blur(4px);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-modal-verified-tag .brand-verified-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.store-badge-open {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.store-badge-closed {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .store-modal-banner {
    min-height: 120px;
    padding: 16px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .store-banner-overlay {
    background: linear-gradient(90deg, rgba(11, 19, 32, 0.95) 0%, rgba(11, 19, 32, 0.82) 65%, rgba(11, 19, 32, 0.45) 100%);
  }

  .store-banner-content {
    gap: 12px;
    align-items: flex-start;
  }

  .store-modal-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .avatar-verified-badge {
    bottom: -3px;
    right: -3px;
    padding: 1px;
  }

  .avatar-verified-badge .brand-verified-icon {
    width: 14px;
    height: 14px;
  }

  .store-banner-info {
    min-width: 0;
    flex: 1;
  }

  .store-modal-title {
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0 0 3px;
    word-break: break-word;
  }

  .store-modal-landmark {
    font-size: 0.74rem;
    line-height: 1.35;
    margin: 0 0 6px;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .store-modal-cat-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .store-modal-verified-tag {
    font-size: 0.65rem;
    padding: 2px 7px 2px 6px;
    gap: 4px;
    border-radius: 6px;
  }

  .store-modal-verified-tag .brand-verified-icon {
    width: 12px;
    height: 12px;
  }

  .store-badge-open,
  .store-badge-closed {
    font-size: 0.64rem;
    padding: 2px 6px;
  }
}

.cat-empty-notice {
  text-align: center;
  padding: 48px 16px;
  background: #111822;
  border-radius: 16px;
  border: 1px dashed #334155;
  color: #94a3b8;
}

.cat-empty-notice h4 {
  color: #f1f5f9;
  font-size: 16px;
  margin: 0 0 6px;
}

.store-badge-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Store Address Popup Modal
   ========================================================================== */
.store-address-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 19, 32, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: catFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-address-popup-overlay.active {
  display: flex;
}

.store-address-popup-card {
  background: #131d2e;
  border: 1px solid #283a54;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: addrModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes addrModalPop {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.store-address-popup-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.popup-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-pin-icon {
  font-size: 1.25rem;
}

.popup-store-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.btn-close-address-popup {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close-address-popup:hover {
  background: rgba(239, 68, 68, 0.85);
}

.store-address-popup-body {
  padding: 20px;
}

.address-detail-section {
  margin-bottom: 14px;
}

.address-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
  margin-bottom: 6px;
}

.address-field-val {
  margin: 0;
  color: #f1f5f9;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #0b1320;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  word-break: break-word;
}

.address-popup-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-copy-address {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 11px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-copy-address:hover {
  background: #334155;
  border-color: #475569;
}

.btn-dismiss-address {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 11px 20px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.35);
}

.btn-dismiss-address:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #10b981;
}

/* ==========================================================================
   Big-Brand Verified Badge & Subscription System (Green Theme)
   ========================================================================== */
.cat-badge-verified-top {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2.5px 7px 2.5px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cat-badge-verified-top .brand-verified-icon {
  width: 13px;
  height: 13px;
}

@media (max-width: 767px) {
  .cat-badge-verified-top {
    font-size: 0.6rem;
    padding: 2px 5px 2px 6px;
    gap: 3px;
  }

  .cat-badge-verified-top .brand-verified-icon {
    width: 11px;
    height: 11px;
  }
}

.brand-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  cursor: pointer;
}

.brand-verified-badge:hover {
  transform: scale(1.18) rotate(6deg);
  filter: brightness(1.15);
}

.brand-verified-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(5, 150, 105, 0.45));
}

@media (max-width: 767px) {
  .brand-verified-icon {
    width: 13px;
    height: 13px;
  }
}

/* Verified Pill (Used in Store Hero Headers & Profiles) */
.brand-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.18) 0%, rgba(16, 185, 129, 0.25) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px 3px 8px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3);
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
}

.brand-verified-pill:hover {
  border-color: #34d399;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.brand-verified-pill .brand-verified-icon {
  width: 14px;
  height: 14px;
}

/* Store Title Row in Card */
.cat-card-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
}

.cat-card-title-row .cat-card-name {
  flex: 1;
  min-width: 0;
}

/* Store Avatar with Verified Badge Overlay */
.store-avatar-wrap {
  position: relative;
  display: inline-block;
}

.avatar-verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #0b1320;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.avatar-verified-badge .brand-verified-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Product Quick View Modal (Recommendation 1)
   ========================================================================== */
body.quickview-open {
  overflow: hidden;
}

.quickview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: qvFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes qvFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.quickview-modal-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0b1320;
  border: 1px solid #1e2e46;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  animation: qvSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes qvSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-quickview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  transition: all 0.18s ease;
}

.btn-quickview-close:hover {
  background: #1e293b;
  border-color: #64748b;
  color: #ffffff;
  transform: scale(1.05);
}

.quickview-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  padding: 24px;
}

/* QuickView Left Media Column */
.quickview-media-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quickview-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #1e293b;
}

.quickview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quickview-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

/* 100% Buyer Protection Card */
.quickview-protection-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
}

.qv-prot-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #10b981;
}

.qv-prot-content {
  min-width: 0;
}

.qv-prot-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 2px;
  font-family: 'Outfit', sans-serif;
}

.qv-prot-text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
}

/* QuickView Right Details Column */
.quickview-details-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.quickview-store-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.quickview-store-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f8fafc;
  font-family: 'Outfit', sans-serif;
}

.quickview-location-text {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.quickview-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.quickview-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.quickview-rating-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f59e0b;
}

.quickview-review-count {
  font-size: 0.76rem;
  color: #64748b;
}

.quickview-dot-sep {
  font-size: 0.75rem;
  color: #475569;
}

.quickview-verified-stock-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

.quickview-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.quickview-price-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.quickview-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quickview-price-naira {
  font-size: 1.65rem;
  font-weight: 900;
  color: #34d399;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.quickview-price-orig {
  font-size: 1.05rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
}

.quickview-discount-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Highlights Box */
.quickview-highlights-box {
  background: #0f172a;
  border: 1px solid #1e2e46;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.quickview-section-heading {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
}

.quickview-highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quickview-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.qv-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #10b981;
}

/* Specifications Matrix */
.quickview-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.qv-spec-item {
  background: #0f172a;
  border: 1px solid #1e2e46;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qv-spec-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.qv-spec-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quickview-divider {
  height: 1px;
  background: #1e2e46;
  margin-bottom: 14px;
}

.quickview-action-container {
  margin-bottom: 12px;
}

.quickview-action-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.quickview-qty-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.quickview-picker {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  border: 1px solid #1e2e46;
  border-radius: 8px;
  overflow: hidden;
  height: 44px;
  flex-shrink: 0;
}

.quickview-picker .btn-qty-mini {
  width: 38px;
  height: 100%;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.quickview-picker .btn-qty-mini:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.quickview-picker .qty-input-box {
  width: 48px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid #1e2e46;
  border-right: 1px solid #1e2e46;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  outline: none;
}

.quickview-add-btn {
  flex: 1;
  height: 44px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 8px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid #10b981;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quickview-add-btn:hover {
  background: linear-gradient(135deg, #075a44 0%, #086d50 100%);
  border-color: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 78, 59, 0.65);
}

.quickview-stepper {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border: 1px solid #10b981;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.45);
}

.quickview-stepper .btn-step {
  width: 48px;
  height: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.quickview-stepper .btn-step:hover {
  background: rgba(255, 255, 255, 0.12);
}

.quickview-stepper .step-qty-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.quickview-stepper .step-qty-num {
  font-size: 1.05rem;
  font-weight: 800;
}

.quickview-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f1f1a;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}

.qv-subtotal-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qv-subtotal-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Outfit', sans-serif;
}

.qv-subtotal-qty-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.quickview-subtotal-row strong {
  font-size: 1.45rem;
  font-weight: 900;
  color: #34d399;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  letter-spacing: -0.01em;
}

.quickview-footer-notes {
  margin-top: 10px;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.quickview-footer-notes p {
  margin: 0;
}

@media (max-width: 680px) {
  .quickview-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    padding-top: 42px;
  }

  .quickview-media-col {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  .quickview-title {
    font-size: 1.15rem;
  }

  .quickview-price-naira {
    font-size: 1.45rem;
  }

  .quickview-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick View Light Theme Overrides */
[data-theme="light"] .quickview-modal-card {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .btn-quickview-close {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .btn-quickview-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .quickview-img-wrapper {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .quickview-protection-banner {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

[data-theme="light"] .qv-prot-icon {
  color: #006838;
}

[data-theme="light"] .qv-prot-title {
  color: #14532d;
}

[data-theme="light"] .qv-prot-text {
  color: #166534;
}

[data-theme="light"] .quickview-store-name {
  color: #0f172a;
}

[data-theme="light"] .quickview-title {
  color: #0f172a;
}

[data-theme="light"] .quickview-rating-val {
  color: #d97706;
}

[data-theme="light"] .quickview-review-count {
  color: #64748b;
}

[data-theme="light"] .quickview-verified-stock-label {
  color: #006838;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

[data-theme="light"] .quickview-price-label {
  color: #64748b;
}

[data-theme="light"] .quickview-price-naira {
  color: #006838;
}

[data-theme="light"] .quickview-price-orig {
  color: #94a3b8;
}

[data-theme="light"] .quickview-discount-badge {
  color: #dc2626;
  background: #fee2e2;
  border-color: #fca5a5;
}

[data-theme="light"] .quickview-highlights-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .quickview-section-heading {
  color: #475569;
}

[data-theme="light"] .quickview-highlights-list li {
  color: #334155;
}

[data-theme="light"] .qv-check-icon {
  stroke: #006838;
}

[data-theme="light"] .qv-spec-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .qv-spec-label {
  color: #64748b;
}

[data-theme="light"] .qv-spec-value {
  color: #0f172a;
}

[data-theme="light"] .quickview-divider {
  background: #e2e8f0;
}

[data-theme="light"] .quickview-picker {
  border-color: #cbd5e1;
  background: #f8fafc;
}

[data-theme="light"] .quickview-picker .btn-qty-mini {
  color: #334155;
}

[data-theme="light"] .quickview-picker .btn-qty-mini:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .quickview-picker .qty-input-box {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #ffffff;
}

[data-theme="light"] .quickview-unit-badge,
[data-theme="light"] .quickview-barcode-badge,
[data-theme="light"] .quickview-stock-count-badge {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .quickview-stepper {
  background: #006838;
  border-color: #006838;
}

[data-theme="light"] .quickview-subtotal-row {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 6px rgba(0, 104, 56, 0.06);
}

[data-theme="light"] .qv-subtotal-label {
  color: #1e293b;
}

[data-theme="light"] .qv-subtotal-qty-label {
  color: #006838;
  background: #dcfce7;
  border-color: #86efac;
}

[data-theme="light"] .quickview-subtotal-row strong {
  color: #006838;
}

/* QuickView Verification Gap Card */
.qv-verify-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  padding: 14px 16px;
  animation: qvFadeIn 0.2s ease-out;
}

.qv-verify-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.qv-verify-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
}

.qv-verify-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #cbd5e1;
  margin: 0 0 12px;
}

.qv-verify-desc strong {
  color: #ffffff;
}

.qv-verify-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-qv-confirm {
  flex: 1.4;
  height: 40px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  background: #006838;
  border: 1px solid #10b981;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.btn-qv-confirm:hover {
  background: #004d2a;
  border-color: #34d399;
}

.btn-qv-cancel {
  flex: 1;
  height: 40px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-qv-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: #64748b;
}

/* QuickView Undo Strip */
.qv-undo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #34d399;
  font-weight: 700;
  margin-top: 6px;
  animation: qvFadeIn 0.2s ease-out;
}

.btn-qv-undo {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-qv-undo:hover {
  color: #f87171;
}

/* Homepage Verification Gap Buttons */
.btn-shop-cart.in-verify-gap,
.btn-deal-basket.in-verify-gap {
  background: #f59e0b !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  animation: pulseVerify 1.2s infinite ease-in-out;
}

@keyframes pulseVerify {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
  }
}

/* Light Theme Overrides for Verification Gap */
[data-theme="light"] .qv-verify-card {
  background: #f0fdf4;
  border-color: #86efac;
}

[data-theme="light"] .qv-verify-badge {
  color: #006838;
  background: #dcfce7;
  border-color: #86efac;
}

[data-theme="light"] .qv-verify-title {
  color: #0f172a;
}

[data-theme="light"] .qv-verify-desc {
  color: #334155;
}

[data-theme="light"] .qv-verify-desc strong {
  color: #0f172a;
}

[data-theme="light"] .btn-qv-cancel {
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .btn-qv-cancel:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .qv-undo-strip {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #006838;
}

/* ============================================================================
   HOMEPAGE: FEATURED STORES, TRUST RIBBON & MERCHANT CTA
   ============================================================================ */
.marketplace-main-layout {
  background: #080d1a;
  min-height: 400px;
}

.featured-stores-section {
  padding: 36px 0 28px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.homepage-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f8fafc;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 4px;
}

.homepage-section-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.store-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: #131d2e;
  border: 1px solid #233146;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.store-filter-pill:hover {
  background: #1c293d;
  color: #f8fafc;
  border-color: #334661;
}

.store-filter-pill.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.featured-stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 991px) {
  .featured-stores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .featured-stores-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.home-store-card {
  background: #131d2e;
  border: 1px solid #233146;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.home-store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
}

.home-store-media {
  position: relative;
  width: 100%;
  height: 140px;
  background: #0f172a;
}

.home-store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-store-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-verified-store {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(6, 78, 59, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.badge-store-open {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.badge-store-closed {
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.home-store-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-store-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-store-cat {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.home-store-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f59e0b;
}

.home-store-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  margin: 0;
  line-height: 1.25;
}

.home-store-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.home-store-footer {
  padding: 0 16px 14px;
}

.btn-visit-store {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1e2c40;
  border: 1px solid #2d3f59;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.home-store-card:hover .btn-visit-store {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* 2. Town Trust Ribbon */
.town-trust-ribbon-section {
  padding: 18px 0 36px;
}

.trust-ribbon-card {
  background: linear-gradient(135deg, #101928 0%, #152236 100%);
  border: 1px solid #23354f;
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4);
}

.trust-ribbon-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 30px;
}

.trust-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #10b981;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.trust-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 6px;
}

.trust-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.trust-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 820px) {
  .trust-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.trust-step-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-step-item:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.3);
}

.trust-step-icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.trust-step-icon-wrap.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.trust-step-icon-wrap.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.trust-step-icon-wrap.icon-blue {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.step-number-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.step-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* 3. Merchant CTA Banner */
.merchant-cta-banner-section {
  padding: 0 0 48px;
}

.merchant-cta-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 45%, #0d9488 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  padding: 36px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 16px 36px -10px rgba(6, 78, 59, 0.45);
}

@media (max-width: 860px) {
  .merchant-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

.merchant-cta-content {
  max-width: 600px;
}

.merchant-cta-pill {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  color: #a7f3d0;
  border: 1px solid rgba(167, 243, 208, 0.3);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.merchant-cta-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 8px;
  line-height: 1.25;
}

.merchant-cta-desc {
  font-size: 13.5px;
  color: #d1fae5;
  line-height: 1.5;
  margin: 0 0 20px;
}

.merchant-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-merchant-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #064e3b;
  font-size: 13px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 11px;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-merchant-primary:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-merchant-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-merchant-secondary:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}

.merchant-cta-graphic {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .merchant-cta-graphic {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
}

.merchant-stat-chip {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chip-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #facc15;
}

.chip-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Town Promise Strip (replaces photo carousel — clean, no images)
   ========================================================================== */
.town-promise-section {
  padding: 18px 0 6px;
  background: transparent;
}

.town-promise-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0a351f;
  border: 1px solid #165331;
  border-radius: 14px;
  overflow: hidden;
}

.town-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.town-promise-item+.town-promise-item {
  border-left: 1px solid #165331;
}

.town-promise-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.town-promise-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.town-promise-text strong {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
}

.town-promise-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

[data-theme="light"] .town-promise-strip {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .town-promise-item+.town-promise-item,
[data-theme="light"] .town-promise-item:nth-child(n) {
  border-color: #e2e8f0;
}

[data-theme="light"] .town-promise-icon {
  background: #ecfdf5;
  color: #006838;
}

[data-theme="light"] .town-promise-text strong {
  color: #0f172a;
}

[data-theme="light"] .town-promise-text span {
  color: #64748b;
}

@media (max-width: 900px) {
  .town-promise-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .town-promise-item+.town-promise-item {
    border-left: none;
  }

  .town-promise-item:nth-child(even) {
    border-left: 1px solid #165331;
  }

  .town-promise-item:nth-child(n + 3) {
    border-top: 1px solid #165331;
  }
}

@media (max-width: 520px) {
  .town-promise-section {
    padding: 12px 0 4px;
  }

  .town-promise-item {
    padding: 12px;
    gap: 9px;
    align-items: flex-start;
  }

  .town-promise-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .town-promise-icon svg {
    width: 16px;
    height: 16px;
  }

  .town-promise-text strong {
    font-size: 0.78rem;
  }

  .town-promise-text span {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Category Grid: no orphan rows (20 tiles -> 2 x 10 desktop, 4 x 5 tablet)
   ========================================================================== */
@media (min-width: 768px) {
  .jiji-categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1100px) {
  .jiji-categories-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
  }

  .jiji-categories-grid .jiji-cat-name {
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
  }
}

/* ==========================================================================
   Remove the empty gap left by the (now empty) main container
   ========================================================================== */
main:empty {
  display: none !important;
}

.footer-hybrid {
  margin-top: auto;
}

/* ==========================================================================
   Envato Ecom Marketplace: Featured Categories & Flash Deals
   ========================================================================== */

/* Section Containers */
.ecom-categories-section {
  padding: 28px 0 20px;
}

.ecom-deals-section {
  padding: 30px 0 20px;
}

.head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #D5DFE4;
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

[data-theme="dark"] .head-main,
:root:not([data-theme="light"]) .head-main {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.head-main-left h3 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

[data-theme="dark"] .head-main-left h3,
:root:not([data-theme="light"]) .head-main-left h3 {
  color: #f8fafc;
}

.head-main-left p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

[data-theme="dark"] .head-main-left p,
:root:not([data-theme="light"]) .head-main-left p {
  color: #94a3b8;
}

/* Nav Tabs Underline */
.nav-tabs-deals {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-tabs-deals li button {
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

[data-theme="dark"] .nav-tabs-deals li button,
:root:not([data-theme="light"]) .nav-tabs-deals li button {
  color: #94a3b8;
}

.nav-tabs-deals li button:hover {
  color: #006838;
}

.nav-tabs-deals li button.active {
  color: #006838;
}

.nav-tabs-deals li button.active::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #006838;
  border-radius: 2px;
}

/* ==========================================================================
   Featured Categories (Interactive 36-Category Town Marketplace Carousel)
   ========================================================================== */
.nav-tabs-categories {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-tabs-categories li.cat-split-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  border-radius: 8px;
}

.nav-tabs-categories .cat-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  cursor: pointer;
  padding: 0 11px;
  border-radius: 8px 0 0 8px;
  border: none !important;
  outline: none;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav-tabs-categories .cat-tab-btn::after {
  display: none !important;
}

.nav-tabs-categories .cat-tab-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 9px;
  border-radius: 0 8px 8px 0;
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  outline: none;
  color: #ffffff;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.nav-tabs-categories .cat-tab-view-all-btn.green-trigger {
  background: #15803d;
  color: #ffffff;
}

.nav-tabs-categories .cat-tab-view-all-btn.green-trigger:hover,
.nav-tabs-categories li.cat-split-group.open .cat-tab-view-all-btn.green-trigger {
  background: #166534;
}

.nav-tabs-categories .cat-tab-view-all-btn.orange-trigger {
  background: #FD9636;
  color: #ffffff;
}

.nav-tabs-categories .cat-tab-view-all-btn.orange-trigger:hover,
.nav-tabs-categories li.cat-split-group.open .cat-tab-view-all-btn.orange-trigger {
  background: #eb8528;
}

.nav-tabs-categories li.cat-split-group.open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Button 1: Stores, Shops & Depots (Deep Vibrant Green) */
.nav-tabs-categories .cat-tab-btn[data-cat-slide="0"] {
  background: #16a34a;
  color: #ffffff;
  border: none !important;
}

.nav-tabs-categories .cat-tab-btn[data-cat-slide="0"]:hover,
.nav-tabs-categories .cat-tab-btn[data-cat-slide="0"].active {
  background: #15803d;
  color: #ffffff;
  border: none !important;
  transform: none;
}

/* Button 2: Services & Artisans (Hero Orange #FD9636) */
.nav-tabs-categories .cat-tab-btn[data-cat-slide="1"] {
  background: #FD9636;
  color: #ffffff;
  border: none !important;
}

.nav-tabs-categories .cat-tab-btn[data-cat-slide="1"]:hover,
.nav-tabs-categories .cat-tab-btn[data-cat-slide="1"].active {
  background: #FD9636;
  color: #ffffff;
  border: none !important;
  transform: none;
}

[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"],
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"] {
  background: #16a34a;
  color: #ffffff;
  border: none !important;
}

[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"]:hover,
[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"].active,
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"]:hover,
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="0"].active {
  background: #15803d;
  color: #ffffff;
  border: none !important;
}

[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"],
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"] {
  background: #FD9636;
  color: #ffffff;
  border: none !important;
}

[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"]:hover,
[data-theme="dark"] .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"].active,
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"]:hover,
:root:not([data-theme="light"]) .nav-tabs-categories .cat-tab-btn[data-cat-slide="1"].active {
  background: #FD9636;
  color: #ffffff;
  border: none !important;
}

/* Simple, Modern Centered Modal Selector (Image 1 Reference Style) */
@keyframes popupCardScaleIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cat-split-dropdown-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.cat-split-dropdown-menu::before {
  display: none !important;
}

.nav-tabs-categories li.cat-split-group.open .cat-split-dropdown-menu {
  display: flex;
}

.cat-popup-card {
  width: 370px;
  max-width: 92vw;
  max-height: 76vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.24),
    0 4px 16px -2px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  animation: popupCardScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cat-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 14px;
  margin: 0;
}

.cat-popup-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cat-popup-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="dark"] .cat-popup-card,
:root:not([data-theme="light"]) .cat-popup-card {
  background: #052918;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 24px 54px -10px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .cat-popup-close-btn,
:root:not([data-theme="light"]) .cat-popup-close-btn {
  background: #0a3f25;
  color: #a7f3d0;
}

[data-theme="dark"] .cat-popup-close-btn:hover,
:root:not([data-theme="light"]) .cat-popup-close-btn:hover {
  background: #14532d;
  color: #ffffff;
}

@media (max-width: 767px) {
  .nav-tabs-categories {
    display: flex;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-tabs-categories li.cat-split-group {
    flex: 1 1 auto;
  }

  .nav-tabs-categories .cat-tab-btn {
    flex: 1;
    font-size: 0.68rem;
    padding: 0 8px;
  }
}

.categories-slider-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.categories-slider-controls .btn-slider-nav {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecom-categories-section .head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  position: relative;
}

.ecom-categories-section .head-main-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.ecom-categories-section .head-main-left h3 {
  white-space: nowrap;
  font-size: clamp(1rem, 1.65vw, 1.24rem);
  line-height: 1;
  margin: 0;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

/* Simple Modern Title inside Selector Popup */
.all-cat-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent !important;
}

.all-cat-col-title::after {
  display: none !important;
}

[data-theme="dark"] .all-cat-col-title,
:root:not([data-theme="light"]) .all-cat-col-title {
  color: #f8fafc;
}

/* Clean Single-Column List inside Selector Popup */
.all-cat-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  max-height: calc(76vh - 82px);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.all-cat-dropdown-list::-webkit-scrollbar {
  width: 4px;
}

.all-cat-dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}

.all-cat-dropdown-list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 999px;
}

.all-cat-dropdown-list li {
  margin: 0;
  padding: 0;
}

.all-cat-dropdown-list li button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
  line-height: 1.3;
}

.all-cat-dropdown-list li button::before {
  display: none !important;
}

/* Circular Checkmark Badge on Active / Hovered Row (Image 1 Style) */
.all-cat-dropdown-list li button::after {
  content: "";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #16a34a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list li button::after {
  background-color: #FD9636;
}

/* Highlighted State: First Item by default (until list is hovered) + Hovered Item */
.all-cat-dropdown-list:not(:hover) li:first-child button,
.all-cat-dropdown-list li button:hover {
  background: #f0fdf4;
  color: #006838;
  font-weight: 700;
}

.all-cat-dropdown-list:not(:hover) li:first-child button::after,
.all-cat-dropdown-list li button:hover::after {
  opacity: 1;
  transform: scale(1);
}

.cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list:not(:hover) li:first-child button,
.cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list li button:hover {
  background: #fff7ed;
  color: #ea580c;
  font-weight: 700;
}

[data-theme="dark"] .all-cat-dropdown-list li button,
:root:not([data-theme="light"]) .all-cat-dropdown-list li button {
  background: transparent;
  color: #cbd5e1;
}

[data-theme="dark"] .all-cat-dropdown-list:not(:hover) li:first-child button,
[data-theme="dark"] .all-cat-dropdown-list li button:hover,
:root:not([data-theme="light"]) .all-cat-dropdown-list:not(:hover) li:first-child button,
:root:not([data-theme="light"]) .all-cat-dropdown-list li button:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

[data-theme="dark"] .cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list:not(:hover) li:first-child button,
[data-theme="dark"] .cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list li button:hover,
:root:not([data-theme="light"]) .cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list:not(:hover) li:first-child button,
:root:not([data-theme="light"]) .cat-split-dropdown-menu[data-dropdown-menu="services"] .all-cat-dropdown-list li button:hover {
  background: rgba(253, 150, 54, 0.18);
  color: #fdba74;
}

.ecom-categories-section .head-main-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

@media (max-width: 960px) {
  .ecom-categories-section .head-main {
    flex-wrap: wrap;
  }
  .ecom-categories-section .head-main-right {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
}

.btn-view-verified-stores {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  background: #006838;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 104, 56, 0.2);
  box-sizing: border-box;
}

.btn-view-verified-stores:hover {
  background: #00522c;
  border-color: #00522c;
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.3);
}

[data-theme="dark"] .btn-view-verified-stores,
:root:not([data-theme="light"]) .btn-view-verified-stores {
  background: #006838;
  border-color: #10b981;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-view-verified-stores:hover,
:root:not([data-theme="light"]) .btn-view-verified-stores:hover {
  background: #059669;
  border-color: #34d399;
}

.categories-slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.categories-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.categories-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #006838;
}

[data-theme="dark"] .categories-dot,
:root:not([data-theme="light"]) .categories-dot {
  background: #1a563a;
}

[data-theme="dark"] .categories-dot.active,
:root:not([data-theme="light"]) .categories-dot.active {
  background: #10b981;
}

.categories-slider-viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  min-width: 0;
  border-radius: 8px;
  padding: 8px 2px 12px 2px;
}

.categories-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.categories-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 6px 4px;
}

.list-9-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 600px) {
  .list-9-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .list-9-col {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1150px) {
  .list-9-col {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px;
  }
}

.list-9-col li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.box-category {
  background: #ffffff;
  border: 1px solid #D5DFE4;
  border-radius: 8px;
  padding: 12px 8px 14px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .box-category,
:root:not([data-theme="light"]) .box-category {
  background: #0a351f;
  border-color: #165331;
}

.box-category:hover {
  transform: translateY(-3px);
  border-color: #006838;
  box-shadow: 0 6px 16px rgba(0, 104, 56, 0.12);
}

[data-theme="dark"] .box-category:hover,
:root:not([data-theme="light"]) .box-category:hover {
  border-color: #34d399;
}

.box-category .image {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
  flex-shrink: 0;
}

[data-theme="dark"] .box-category .image,
:root:not([data-theme="light"]) .box-category .image {
  background: #114228;
  border-color: rgba(52, 211, 153, 0.2);
}

.box-category .image img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.box-category .image img.cat-photo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
}

.box-category .image img.cat-studio-img {
  max-width: 84%;
  max-height: 84%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.box-category:hover .image img {
  transform: scale(1.08);
}

.box-category .text-info {
  width: 100%;
}

.box-category .text-info h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .box-category .text-info h4,
:root:not([data-theme="light"]) .box-category .text-info h4 {
  color: #f1f5f9;
}

.box-category .text-info p {
  display: none !important;
}

/* ==========================================================================
   Flash Deals (Ecom Top Deals Split Cards & Transition Carousel)
   ========================================================================== */
.head-main-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.deals-slider-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-deals-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #D5DFE4;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-deals-nav:hover {
  background: #006838;
  border-color: #006838;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 104, 56, 0.25);
}

[data-theme="dark"] .btn-deals-nav,
:root:not([data-theme="light"]) .btn-deals-nav {
  background: #0f3d24;
  border-color: #1a563a;
  color: #e2e8f0;
}

[data-theme="dark"] .btn-deals-nav:hover,
:root:not([data-theme="light"]) .btn-deals-nav:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.deals-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 860px) and (max-width: 1199px) {
  .deals-grid-layout {
    grid-template-columns: 1fr;
  }
  .deal-ad-banner {
    grid-column: span 1;
  }
  .deal-ad-banner-inner {
    flex-direction: row !important;
    align-items: center !important;
  }
  .deal-ad-graphic-wrap {
    max-width: 220px !important;
    margin: 0 !important;
  }
}

@media (min-width: 1200px) {
  .deals-grid-layout {
    grid-template-columns: minmax(0, 10fr) minmax(210px, 2.4fr);
  }
}

/* Flash Deals Carousel Slider Viewport & Slides Track */
.deals-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.deals-slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.deals-slide-pair {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 859px) {
  .deals-slide-pair {
    grid-template-columns: 1fr;
  }
}

.deals-slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.deals-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.deals-slider-dot:hover {
  background: #94a3b8;
}

.deals-slider-dot.active {
  width: 26px;
  background: #006838;
  box-shadow: 0 2px 6px rgba(0, 104, 56, 0.35);
}

[data-theme="dark"] .deals-slider-dot,
:root:not([data-theme="light"]) .deals-slider-dot {
  background: #334155;
}

[data-theme="dark"] .deals-slider-dot.active,
:root:not([data-theme="light"]) .deals-slider-dot.active {
  background: #10b981;
}

.card-grid-style-3 {
  background: #ffffff;
  border: 1px solid #D5DFE4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .card-grid-style-3,
:root:not([data-theme="light"]) .card-grid-style-3 {
  background: #0a351f;
  border-color: #165331;
}

.card-grid-style-3:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #34d399;
}

/* Top Deals Corner Ribbon */
.card-grid-style-3 .deal-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  background: #2563eb;
  color: #ffffff;
  padding: 6px 12px 6px 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom-right-radius: 10px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.card-grid-style-3 .deal-ribbon.orange {
  background: #ea580c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.card-grid-inner {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  height: 100%;
  box-sizing: border-box;
}

@media (min-width: 520px) {
  .card-grid-inner {
    grid-template-columns: 165px 1fr;
    gap: 22px;
  }
}

@media (min-width: 1300px) {
  .card-grid-inner {
    grid-template-columns: 180px 1fr;
    gap: 26px;
  }
}

.top-deals-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.top-deals-left .deal-image-wrap {
  width: 100%;
  height: 220px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
  margin-bottom: auto;
  position: relative;
  cursor: pointer;
}

.top-deals-left .deal-image-wrap::after {
  content: "Quick View";
  position: absolute;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.22s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.card-grid-style-3:hover .deal-image-wrap::after {
  opacity: 1;
  transform: translateY(0);
}

.top-deals-left .deal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card-grid-style-3:hover .deal-image-wrap img {
  transform: scale(1.05);
}

/* Ecom Orange Countdown Squares */
.box-count-square {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding-top: 10px;
}

.deals-countdown-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.deals-countdown-boxes .time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deals-countdown-boxes .time-box .num {
  width: 32px;
  height: 32px;
  background: #FD9636;
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(253, 150, 54, 0.35);
}

.deals-countdown-boxes .time-box .label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #8C9EC5;
  margin-top: 3px;
  text-transform: capitalize;
}

.deals-countdown-boxes .colon {
  font-weight: 800;
  font-size: 0.85rem;
  color: #FD9636;
  margin-bottom: 12px;
}

/* Deal Right Side Info */
.top-deals-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.deal-store-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #006838;
  margin-bottom: 6px;
  display: block;
}

[data-theme="dark"] .deal-store-tag,
:root:not([data-theme="light"]) .deal-store-tag {
  color: #34d399;
}

.deal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 8px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.deal-title:hover {
  color: #006838;
}

[data-theme="dark"] .deal-title,
:root:not([data-theme="light"]) .deal-title {
  color: #f8fafc;
}

.deal-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.deal-rating-row svg {
  fill: #f59e0b;
  color: #f59e0b;
}

.deal-rating-row span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

[data-theme="dark"] .deal-rating-row span,
:root:not([data-theme="light"]) .deal-rating-row span {
  color: #94a3b8;
}

/* Price Row */
.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.deal-price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

[data-theme="dark"] .deal-price-main,
:root:not([data-theme="light"]) .deal-price-main {
  color: #34d399;
}

.deal-price-line {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Progress Bar */
.box-progress-wrap {
  margin-bottom: 10px;
}

.deal-progress-bar {
  height: 6px;
  background: #EBF0F3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

[data-theme="dark"] .deal-progress-bar,
:root:not([data-theme="light"]) .deal-progress-bar {
  background: rgba(255, 255, 255, 0.15);
}

.deal-progress-fill {
  height: 100%;
  background: #FD9636;
  border-radius: 4px;
}

.deal-stock-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
}

[data-theme="dark"] .deal-stock-labels,
:root:not([data-theme="light"]) .deal-stock-labels {
  color: #94a3b8;
}

.deal-stock-labels strong {
  color: #0f172a;
}

[data-theme="dark"] .deal-stock-labels strong,
:root:not([data-theme="light"]) .deal-stock-labels strong {
  color: #f1f5f9;
}

/* Bullet Features */
.deal-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.deal-features-list li {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
  margin-bottom: 2px;
}

[data-theme="dark"] .deal-features-list li,
:root:not([data-theme="light"]) .deal-features-list li {
  color: #cbd5e1;
}

.deal-features-list li::before {
  content: "•";
  position: absolute;
  left: 3px;
  color: #FD9636;
  font-size: 0.85rem;
}

/* Add To Basket Deal Button */
.btn-deal-basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: #006838;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.2s ease;
}

.btn-deal-basket:hover {
  background: #088147;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.25);
}

.btn-deal-basket.added {
  background: #10b981;
}


/* ==========================================================================
   Envato Ecom Header Hero Slider Section & Side CTA Cards
   ========================================================================== */
.banner-hero-section {
  padding: 24px 0 16px;
  background: transparent;
  display: block;
}

.hero-ecom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 992px) {
  .hero-ecom-grid {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 24px;
  }
}

/* Big Hero Slider (Left Column) */
.hero-ecom-slider-wrap {
  position: relative;
  min-height: 480px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.hero-ecom-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.hero-ecom-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: scale(0.98);
  padding: 55px 48px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain !important;
  z-index: 1;
}

.hero-ecom-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-ecom-slide.bg-11 {
  background-color: #E6F3FB;
}

.hero-ecom-slide.bg-11-2 {
  background-color: #FFF3EB;
}

.hero-ecom-slide.bg-11-3 {
  background-color: #EAF7EE;
}

[data-theme="dark"] .hero-ecom-slide.bg-11,
:root:not([data-theme="light"]) .hero-ecom-slide.bg-11 {
  background-color: #0c2638;
}

[data-theme="dark"] .hero-ecom-slide.bg-11-2,
:root:not([data-theme="light"]) .hero-ecom-slide.bg-11-2 {
  background-color: #2e1d13;
}

[data-theme="dark"] .hero-ecom-slide.bg-11-3,
:root:not([data-theme="light"]) .hero-ecom-slide.bg-11-3 {
  background-color: #0d2d1e;
}

.hero-ecom-slide .eyebrow-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 12px;
  display: inline-block;
  text-align: left !important;
  align-self: flex-start !important;
}

[data-theme="dark"] .hero-ecom-slide .eyebrow-tag,
:root:not([data-theme="light"]) .hero-ecom-slide .eyebrow-tag {
  color: #60a5fa;
}

.hero-ecom-slide .slide-title-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  margin: 0;
  text-align: left !important;
  max-width: 60%;
  width: 100%;
}

.hero-ecom-slide .slide-title-main {
  font-family: 'Outfit', sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  margin: 4px 0 16px;
  text-align: left !important;
  max-width: 60%;
  width: 100%;
  white-space: nowrap;
}

[data-theme="dark"] .hero-ecom-slide .slide-title-sub,
[data-theme="dark"] .hero-ecom-slide .slide-title-main,
:root:not([data-theme="light"]) .hero-ecom-slide .slide-title-sub,
:root:not([data-theme="light"]) .hero-ecom-slide .slide-title-main {
  color: #f8fafc;
}

.hero-ecom-slide .slide-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  max-width: 48%;
  width: 100%;
  margin: 0 0 26px;
  text-align: left !important;
}

[data-theme="dark"] .hero-ecom-slide .slide-desc,
:root:not([data-theme="light"]) .hero-ecom-slide .slide-desc {
  color: #94a3b8;
}

.hero-ecom-slide .slide-btn-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.btn-ecom-orange {
  background: #FD9636;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(253, 150, 54, 0.25);
}

.btn-ecom-orange:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(253, 150, 54, 0.35);
}

.btn-ecom-link {
  background: transparent;
  color: #0F172A;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 14px;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-ecom-link:hover {
  color: #2563eb;
}

[data-theme="dark"] .btn-ecom-link,
:root:not([data-theme="light"]) .btn-ecom-link {
  color: #f1f5f9;
}

[data-theme="dark"] .btn-ecom-link:hover,
:root:not([data-theme="light"]) .btn-ecom-link:hover {
  color: #60a5fa;
}

/* Slider Pagination Dots */
.hero-ecom-dots {
  position: absolute;
  bottom: 24px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-ecom-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

[data-theme="dark"] .hero-ecom-dot,
:root:not([data-theme="light"]) .hero-ecom-dot {
  background: rgba(255, 255, 255, 0.3);
}

.hero-ecom-dot.active {
  width: 26px;
  border-radius: 999px;
  background: #FD9636;
}

/* Stacked Side CTA Cards (Right Column) */
.hero-ecom-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.banner-small-card {
  min-height: 230px;
  height: calc(50% - 10px);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-position: right bottom;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.banner-small-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.banner-small-card.card-pink {
  background-color: #FFF4F6;
  background-image: url(/assets/imgs/theme-ecom/homepage1/banner-small-1.png);
  background-size: 58% auto;
}

.banner-small-card.card-mint {
  background-color: #E0F2EE;
  background-image: url(/assets/imgs/theme-ecom/homepage1/banner-small-2.png);
  background-size: 68% auto;
}

[data-theme="dark"] .banner-small-card.card-pink,
:root:not([data-theme="light"]) .banner-small-card.card-pink {
  background-color: #2b141a;
}

[data-theme="dark"] .banner-small-card.card-mint,
:root:not([data-theme="light"]) .banner-small-card.card-mint {
  background-color: #0d2820;
}

.banner-small-card .card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #EF4444;
  margin-bottom: 6px;
  display: inline-block;
}

.banner-small-card .card-tag .tag-sub {
  color: #0F172A;
  margin-left: 3px;
}

[data-theme="dark"] .banner-small-card .card-tag .tag-sub,
:root:not([data-theme="light"]) .banner-small-card .card-tag .tag-sub {
  color: #f1f5f9;
}

.banner-small-card .card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin: 0 0 6px 0;
  max-width: 60%;
}

[data-theme="dark"] .banner-small-card .card-title,
:root:not([data-theme="light"]) .banner-small-card .card-title {
  color: #f8fafc;
}

.banner-small-card .card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0 0 16px 0;
  max-width: 58%;
}

[data-theme="dark"] .banner-small-card .card-desc,
:root:not([data-theme="light"]) .banner-small-card .card-desc {
  color: #94a3b8;
}

.btn-side-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.btn-side-shop.btn-navy {
  background: #006838;
}

.btn-side-shop.btn-orange {
  background: #FD9636;
}

.btn-side-shop:hover {
  opacity: 0.92;
  transform: translateX(2px);
}

/* Mobile responsive for hero slider */
@media (max-width: 991px) {
  .hero-ecom-slide {
    padding: 35px 24px;
    background-size: 40% auto !important;
  }
  .hero-ecom-slide .slide-title-sub {
    font-size: 1.5rem;
  }
  .hero-ecom-slide .slide-title-main {
    font-size: 1.9rem;
    white-space: normal;
  }
  .hero-ecom-slide .slide-desc {
    max-width: 70%;
    font-size: 0.85rem;
  }
  .hero-ecom-dots {
    left: 24px;
    bottom: 16px;
  }
  .hero-ecom-side-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .banner-small-card {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .hero-ecom-slide {
    background-size: 35% auto !important;
  }
  .hero-ecom-slide .slide-desc {
    max-width: 100%;
  }
  .hero-ecom-side-stack {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Merchant Sponsored Ad Banner (Flash Deals Right Column)
   ========================================================================== */
.deal-ad-banner {
  background: linear-gradient(175deg, #E8F9F7 0%, #E2F3FC 55%, #EDF7FD 100%);
  border: 1px solid #CDE7ED;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .deal-ad-banner,
:root:not([data-theme="light"]) .deal-ad-banner {
  background: linear-gradient(175deg, #072a1e 0%, #0d382b 60%, #082820 100%);
  border-color: #1a563a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.deal-ad-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #34d399;
}

.deal-ad-banner-inner {
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 2;
}

.deal-ad-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.lbl-new-arrival {
  background-color: #A4EEE1;
  color: #065F46;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1;
}

[data-theme="dark"] .lbl-new-arrival,
:root:not([data-theme="light"]) .lbl-new-arrival {
  background-color: #0d4a36;
  color: #6ee7b7;
}

.deal-ad-sponsored-pill {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  background: rgba(255, 255, 255, 0.65);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .deal-ad-sponsored-pill,
:root:not([data-theme="light"]) .deal-ad-sponsored-pill {
  background: rgba(0, 0, 0, 0.35);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

.deal-ad-text-block {
  margin-bottom: 10px;
}

.deal-ad-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 4px 0;
}

[data-theme="dark"] .deal-ad-title,
:root:not([data-theme="light"]) .deal-ad-title {
  color: #f1f5f9;
}

.deal-ad-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2563eb;
  margin: 0 0 6px 0;
}

[data-theme="dark"] .deal-ad-subtitle,
:root:not([data-theme="light"]) .deal-ad-subtitle {
  color: #38bdf8;
}

.deal-ad-merchant-loc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.73rem;
  color: #64748b;
  display: block;
}

[data-theme="dark"] .deal-ad-merchant-loc,
:root:not([data-theme="light"]) .deal-ad-merchant-loc {
  color: #94a3b8;
}

.deal-ad-graphic-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  margin-top: auto;
}

.deal-ad-img {
  width: 100%;
  max-width: 210px;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.deal-ad-banner:hover .deal-ad-img {
  transform: translateY(-4px) scale(1.02);
}

.deal-ad-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .deal-ad-action-bar,
:root:not([data-theme="light"]) .deal-ad-action-bar {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.deal-ad-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.deal-ad-shop-link:hover {
  color: #2563eb;
}

[data-theme="dark"] .deal-ad-shop-link,
:root:not([data-theme="light"]) .deal-ad-shop-link {
  color: #f1f5f9;
}

[data-theme="dark"] .deal-ad-shop-link:hover {
  color: #38bdf8;
}

.btn-ad-inquiry {
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-ad-inquiry:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0F172A;
}

[data-theme="dark"] .btn-ad-inquiry {
  color: #94a3b8;
}

[data-theme="dark"] .btn-ad-inquiry:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}


/* ==========================================================================
   Envato Ecom Trending Products 5-Column Shop Grid Section
   ========================================================================== */
.ecom-trending-section {
  padding: 40px 0 20px;
  background: transparent;
}

.list-products-5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .list-products-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .list-products-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Giant Vertical Advert Board (Trending Products Section)
   Bold Warm Orange Billboard Spanning Column 1 across Rows 1 & 2
   ========================================================================== */
.card-grid-advert-board {
  position: relative;
  background: linear-gradient(165deg, #f97316 0%, #ea580c 45%, #c2410c 100%);
  border: 2px solid #ea580c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.card-grid-advert-board:hover {
  transform: translateY(-4px);
  border-color: #f97316;
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.4);
}

[data-theme="dark"] .card-grid-advert-board,
:root:not([data-theme="light"]) .card-grid-advert-board {
  background: linear-gradient(165deg, #ea580c 0%, #c2410c 50%, #9a3412 100%);
  border-color: #f97316;
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.35);
}

@media (min-width: 1100px) {
  .card-grid-advert-board {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
    height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .card-grid-advert-board {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .card-grid-advert-board {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

.ad-board-inner {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  gap: 14px;
}

.ad-board-header {
  margin-bottom: 2px;
}

.ad-board-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ad-board-pill-sponsor {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: #c2410c;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ad-board-pill-sponsor,
:root:not([data-theme="light"]) .ad-board-pill-sponsor {
  background: rgba(255, 255, 255, 0.95);
  color: #9a3412;
  border-color: rgba(255, 255, 255, 0.4);
}

.ad-board-pill-deal {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  background: #006838;
  color: #ffffff;
  border: 1px solid #10b981;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ad-board-town {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .ad-board-town,
:root:not([data-theme="light"]) .ad-board-town {
  color: #ffffff;
}

.ad-board-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ad-board-merchant {
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffedd5;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .ad-board-merchant,
:root:not([data-theme="light"]) .ad-board-merchant {
  color: #ffedd5;
}

.ad-board-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 6px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .ad-board-title,
:root:not([data-theme="light"]) .ad-board-title {
  color: #ffffff;
}

.ad-board-desc {
  font-size: 0.8rem;
  color: #fff7ed;
  line-height: 1.45;
  margin: 0 0 14px 0;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .ad-board-desc,
:root:not([data-theme="light"]) .ad-board-desc {
  color: #fff7ed;
}

.ad-board-graphic-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  min-height: 220px;
  margin-bottom: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 8px;
}

[data-theme="dark"] .ad-board-graphic-container,
:root:not([data-theme="light"]) .ad-board-graphic-container {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.ad-board-img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s ease;
}

.card-grid-advert-board:hover .ad-board-img {
  transform: scale(1.05);
}

.ad-board-price-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .ad-board-price-box,
:root:not([data-theme="light"]) .ad-board-price-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.ad-board-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.ad-board-price-current {
  font-size: 1.25rem;
  font-weight: 900;
  color: #006838;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

[data-theme="dark"] .ad-board-price-current,
:root:not([data-theme="light"]) .ad-board-price-current {
  color: #006838;
}

.ad-board-price-original {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

.ad-board-price-save {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ea580c;
  margin-top: 2px;
  white-space: nowrap;
}

[data-theme="dark"] .ad-board-price-save,
:root:not([data-theme="light"]) .ad-board-price-save {
  color: #ea580c;
}

.ad-board-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-board-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .ad-board-perks li,
:root:not([data-theme="light"]) .ad-board-perks li {
  color: #ffffff;
}

.ad-perk-icon {
  color: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

[data-theme="dark"] .ad-perk-icon,
:root:not([data-theme="light"]) .ad-perk-icon {
  color: #ffffff;
}

.ad-board-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ad-board-btn-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #006838 !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.ad-board-btn-cta:hover {
  background: #004d2a !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.ad-board-sponsor-link {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  padding: 4px;
  transition: opacity 0.2s ease;
  opacity: 0.92;
}

.ad-board-sponsor-link:hover {
  color: #ffedd5;
  opacity: 1;
}

[data-theme="dark"] .ad-board-sponsor-link {
  color: #ffffff;
}

[data-theme="dark"] .ad-board-sponsor-link:hover {
  color: #ffedd5;
}

.card-grid-trending {
  background: #ffffff;
  border: 1px solid #D5DFE4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-grid-trending.shuffling {
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  pointer-events: none;
}

[data-theme="dark"] .card-grid-trending,
:root:not([data-theme="light"]) .card-grid-trending {
  background: #0a351f;
  border-color: #165331;
}

.card-grid-trending:hover {
  transform: translateY(-4px);
  border-color: #34d399;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.card-grid-trending .card-trending-inner {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

/* Discount Pill Badge */
.card-grid-trending .label-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #FD9636;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(253, 150, 54, 0.35);
}

/* Image Container */
.card-grid-trending .image-box {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.card-grid-trending .image-box::after {
  content: "Quick View";
  position: absolute;
  bottom: 8px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.22s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.card-grid-trending:hover .image-box::after {
  opacity: 1;
  transform: translateY(0);
}

.card-grid-trending .image-box img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card-grid-trending:hover .image-box img {
  transform: scale(1.06);
}

/* Info Right */
.card-grid-trending .info-right {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-grid-trending .store-name-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  text-decoration: none;
  display: inline-block;
}

[data-theme="dark"] .card-grid-trending .store-name-link,
:root:not([data-theme="light"]) .card-grid-trending .store-name-link {
  color: #94a3b8;
}

.card-grid-trending .product-title-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 6px 0;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  transition: color 0.2s ease;
}

.card-grid-trending .product-title-link:hover {
  color: #006838;
}

[data-theme="dark"] .card-grid-trending .product-title-link,
:root:not([data-theme="light"]) .card-grid-trending .product-title-link {
  color: #f8fafc;
}

[data-theme="dark"] .card-grid-trending .product-title-link:hover {
  color: #34d399;
}

/* Rating */
.card-grid-trending .rating-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.card-grid-trending .rating-row svg {
  fill: #f59e0b;
  color: #f59e0b;
}

.card-grid-trending .rating-row span {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: 3px;
}

/* Price Info */
.card-grid-trending .price-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.card-grid-trending .price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

[data-theme="dark"] .card-grid-trending .price-main,
:root:not([data-theme="light"]) .card-grid-trending .price-main {
  color: #34d399;
}

.card-grid-trending .price-line {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Add To Cart Button */
.card-grid-trending .box-btn-cart {
  margin-bottom: 12px;
  width: 100%;
}

.card-grid-trending .btn-cart {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  background: #006838;
  border: 1px solid #006838;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 104, 56, 0.18);
}

.card-grid-trending .btn-cart:hover {
  background: #004d2a;
  color: #ffffff;
  border-color: #004d2a;
  box-shadow: 0 4px 12px rgba(0, 77, 42, 0.32);
}

.card-grid-trending .btn-cart:active {
  transform: translateY(1px);
}

.card-grid-trending .btn-cart.added {
  background: #004d2a;
  color: #ffffff;
  border-color: #004d2a;
}

[data-theme="dark"] .card-grid-trending .btn-cart {
  background: #006838;
  color: #ffffff;
  border-color: #10b981;
}

[data-theme="dark"] .card-grid-trending .btn-cart:hover {
  background: #004d2a;
  color: #ffffff;
  border-color: #34d399;
}

/* Feature Bullets */
.card-grid-trending .list-features {
  list-style-type: disc;
  padding-left: 15px;
  margin: 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 10px;
}

[data-theme="dark"] .card-grid-trending .list-features {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.card-grid-trending .list-features li {
  font-size: 0.7rem;
  color: #64748B;
  line-height: 1.45;
  margin-bottom: 2px;
}

[data-theme="dark"] .card-grid-trending .list-features li {
  color: #94a3b8;
}


/* ==========================================================================
   Envato Ecom Top Selling Products 3x3 Grid & Slider (card-grid-style-2)
   ========================================================================== */
.ecom-top-selling-section {
  padding-top: 24px;
  padding-bottom: 32px;
}

.ecom-top-selling-section .head-main {
  margin-bottom: 22px;
}

/* Slider Navigation Buttons & Dots */
.box-button-slider {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-selling-slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.top-selling-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #CBD5E1;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.top-selling-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #006838;
}

[data-theme="dark"] .top-selling-dot,
:root:not([data-theme="light"]) .top-selling-dot {
  background: #1a563a;
}

[data-theme="dark"] .top-selling-dot.active,
:root:not([data-theme="light"]) .top-selling-dot.active {
  background: #10b981;
}

.btn-slider-nav {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #D5DFE4;
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.btn-slider-nav:hover {
  background: #006838;
  border-color: #006838;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.25);
}

.btn-slider-nav:active {
  transform: translateY(0);
}

[data-theme="dark"] .btn-slider-nav,
:root:not([data-theme="light"]) .btn-slider-nav {
  background: #0a351f;
  border-color: #165331;
  color: #cbd5e1;
}

[data-theme="dark"] .btn-slider-nav:hover,
:root:not([data-theme="light"]) .btn-slider-nav:hover {
  background: #006838;
  border-color: #10b981;
  color: #ffffff;
}

/* Top Selling Viewport & Track */
.top-selling-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 4px 0 8px 0;
}

.top-selling-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.top-selling-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 4px;
}

/* 3x3 Grid */
.grid-top-selling-3x3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1100px) {
  .grid-top-selling-3x3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .grid-top-selling-3x3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* Card Style 2 (Compact Horizontal Card) */
.card-grid-style-2 {
  background: #ffffff;
  border: 1px solid #D5DFE4;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .card-grid-style-2,
:root:not([data-theme="light"]) .card-grid-style-2 {
  background: #0a351f;
  border-color: #165331;
}

.card-grid-style-2:hover {
  transform: translateY(-3px);
  border-color: #34d399;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.card-grid-style-2 .card-grid-style-2-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Image Box */
.card-grid-style-2 .image-box {
  width: 96px;
  height: 96px;
  min-width: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 4px;
  box-sizing: border-box;
  overflow: visible;
  cursor: pointer;
}

[data-theme="dark"] .card-grid-style-2 .image-box,
:root:not([data-theme="light"]) .card-grid-style-2 .image-box {
  background: transparent;
}

.card-grid-style-2 .image-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.card-grid-style-2:hover .image-box img {
  transform: scale(1.08);
}

/* Info Right */
.card-grid-style-2 .info-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.card-grid-style-2 .store-name-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  text-transform: capitalize;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

[data-theme="dark"] .card-grid-style-2 .store-name-link,
:root:not([data-theme="light"]) .card-grid-style-2 .store-name-link {
  color: #94a3b8;
}

.card-grid-style-2 .product-title-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-grid-style-2 .product-title-link:hover {
  color: #006838;
}

[data-theme="dark"] .card-grid-style-2 .product-title-link,
:root:not([data-theme="light"]) .card-grid-style-2 .product-title-link {
  color: #F8FAFC;
}

[data-theme="dark"] .card-grid-style-2 .product-title-link:hover,
:root:not([data-theme="light"]) .card-grid-style-2 .product-title-link:hover {
  color: #34d399;
}

/* Rating Row */
.card-grid-style-2 .rating-row {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 5px;
}

.card-grid-style-2 .rating-row svg {
  fill: #FD9636;
  stroke: #FD9636;
  width: 12px;
  height: 12px;
}

.card-grid-style-2 .rating-row span {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: 4px;
}

/* Price Info */
.card-grid-style-2 .price-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.card-grid-style-2 .price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
}

[data-theme="dark"] .card-grid-style-2 .price-main,
:root:not([data-theme="light"]) .card-grid-style-2 .price-main {
  color: #34d399;
}

.card-grid-style-2 .price-line {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Add To Basket Mini Button */
.card-grid-style-2 .box-btn-cart {
  margin-top: 2px;
}

.card-grid-style-2 .btn-cart-mini {
  background: transparent;
  color: #006838;
  border: 1px solid #006838;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.card-grid-style-2 .btn-cart-mini:hover {
  background: #006838;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 104, 56, 0.25);
}

.card-grid-style-2 .btn-cart-mini.in-verify-gap {
  background: #FD9636;
  border-color: #FD9636;
  color: #ffffff;
  animation: pulse-gap 0.8s infinite alternate;
}

.card-grid-style-2 .btn-cart-mini.added {
  background: #004d2a;
  border-color: #004d2a;
  color: #ffffff;
}

[data-theme="dark"] .card-grid-style-2 .btn-cart-mini,
:root:not([data-theme="light"]) .card-grid-style-2 .btn-cart-mini {
  color: #34d399;
  border-color: #34d399;
}

[data-theme="dark"] .card-grid-style-2 .btn-cart-mini:hover,
:root:not([data-theme="light"]) .card-grid-style-2 .btn-cart-mini:hover {
  background: #006838;
  border-color: #006838;
  color: #ffffff;
}

/* ==========================================================================
   Envato Ecom Trending Products Carousel Slider Layout & Navigation
   ========================================================================== */
.trending-header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trending-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trending-slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.trending-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #CBD5E1;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.trending-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #006838;
}

[data-theme="dark"] .trending-dot,
:root:not([data-theme="light"]) .trending-dot {
  background: #1a563a;
}

[data-theme="dark"] .trending-dot.active,
:root:not([data-theme="light"]) .trending-dot.active {
  background: #10b981;
}

.trending-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-width: 0;
  border-radius: 8px;
  padding: 4px 0 8px 0;
}

.trending-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.trending-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 4px;
}

.trending-slide .list-products-5 {
  margin-bottom: 8px;
}

/* ==========================================================================
   Envato Ecom Triple Marketing Promo Banners Section with Carousel Slider & Shuffle
   ========================================================================== */
.ecom-marketing-banners-section {
  padding: 30px 0 16px;
  background: transparent;
}

.marketing-banners-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-width: 0;
  border-radius: 8px;
  padding: 4px 0;
}

.marketing-banners-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.marketing-banners-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 4px;
}

.grid-marketing-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .grid-marketing-banners {
    grid-template-columns: repeat(2, 1fr);
  }
  .marketing-banner-card.banner-surface-pro,
  .marketing-banner-card.banner-television {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .grid-marketing-banners {
    grid-template-columns: 3.2fr 5fr 3.8fr;
    gap: 20px;
  }
}

.marketing-banner-card {
  position: relative;
  border-radius: 8px;
  padding: 28px 24px 100px 24px;
  min-height: 290px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid transparent;
}

.marketing-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.marketing-banner-card.text-center {
  align-items: center;
  text-align: center;
}

/* Slide 1 - Banner 1: Headphone */
.banner-headphone {
  background-color: #FFF1F6;
  background-image: url(/assets/imgs/theme-ecom/homepage2/headphone.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 68%;
  align-items: flex-start;
}

/* Slide 1 - Banner 2: Limited Weekly Deal */
.banner-weekly-deal {
  background-color: #E8FCFF;
  background-image: url(/assets/imgs/theme-ecom/homepage2/watch.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 46%;
  justify-content: flex-start;
}

/* Slide 1 - Banner 3: Surface Pro 2022 */
.banner-surface-pro {
  background-color: #DBECE5;
  background-image: url(/assets/imgs/theme-ecom/homepage2/ipad.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 48%;
  justify-content: flex-start;
}

/* Slide 2 - Banner 4: Gaming Bundles */
.banner-gaming {
  background-color: #FFF3EA;
  background-image: url(/assets/imgs/theme-ecom/homepage1/imgsp1.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 68%;
  align-items: flex-start;
}

/* Slide 2 - Banner 5: Flagship Smartphone Expo */
.banner-smartphones {
  background-color: #F3E8FF;
  background-image: url(/assets/imgs/theme-ecom/homepage1/iphone-12.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 44%;
  justify-content: flex-start;
}

/* Slide 2 - Banner 6: 4K Smart Cinema TV */
.banner-television {
  background-color: #E0F2FE;
  background-image: url(/assets/imgs/theme-ecom/homepage1/television.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 46%;
  justify-content: flex-start;
}

/* Typography & Elements */
.marketing-badge-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: capitalize;
  margin-bottom: 4px;
}

.marketing-banner-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.18;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.banner-weekly-deal .marketing-banner-title,
.banner-smartphones .marketing-banner-title {
  font-size: 1.65rem;
}

.banner-surface-pro .marketing-banner-title,
.banner-television .marketing-banner-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.marketing-banner-desc {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 24px 0;
}

.marketing-deal-subtitle {
  font-size: 1rem;
  color: #0284c7;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.marketing-deal-highlight {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ea580c;
  margin: 0 4px;
}

.marketing-title-accent {
  color: #0284c7;
}

.marketing-banner-action {
  margin-top: 4px;
}

.btn-banner-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FD9636;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(253, 150, 54, 0.3);
}

.btn-banner-shop:hover {
  background: #ea580c;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.btn-banner-shop svg {
  transition: transform 0.2s ease;
}

.btn-banner-shop:hover svg {
  transform: translateX(2px);
}

/* Pagination Dots */
.marketing-slider-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.marketing-slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.marketing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #CBD5E1;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.marketing-dot.active {
  width: 24px;
  border-radius: 10px;
  background: #006838;
}

/* Dark Mode Overrides */
[data-theme="dark"] .banner-headphone,
:root:not([data-theme="light"]) .banner-headphone {
  background-color: #24141c;
  border-color: #4a2135;
}

[data-theme="dark"] .banner-weekly-deal,
:root:not([data-theme="light"]) .banner-weekly-deal {
  background-color: #0b1e27;
  border-color: #143e52;
}

[data-theme="dark"] .banner-surface-pro,
:root:not([data-theme="light"]) .banner-surface-pro {
  background-color: #0b2218;
  border-color: #164631;
}

[data-theme="dark"] .banner-gaming,
:root:not([data-theme="light"]) .banner-gaming {
  background-color: #261710;
  border-color: #4a291a;
}

[data-theme="dark"] .banner-smartphones,
:root:not([data-theme="light"]) .banner-smartphones {
  background-color: #1e122b;
  border-color: #3b1d57;
}

[data-theme="dark"] .banner-television,
:root:not([data-theme="light"]) .banner-television {
  background-color: #0c1d29;
  border-color: #153c54;
}

[data-theme="dark"] .marketing-banner-title,
:root:not([data-theme="light"]) .marketing-banner-title {
  color: #f8fafc;
}

[data-theme="dark"] .marketing-badge-category,
:root:not([data-theme="light"]) .marketing-badge-category {
  color: #94a3b8;
}

[data-theme="dark"] .marketing-banner-desc,
:root:not([data-theme="light"]) .marketing-banner-desc,
[data-theme="dark"] .marketing-deal-subtitle,
:root:not([data-theme="light"]) .marketing-deal-subtitle,
[data-theme="dark"] .marketing-title-accent,
:root:not([data-theme="light"]) .marketing-title-accent {
  color: #38bdf8;
}

[data-theme="dark"] .marketing-deal-highlight,
:root:not([data-theme="light"]) .marketing-deal-highlight {
  color: #f97316;
}

[data-theme="dark"] .marketing-dot,
:root:not([data-theme="light"]) .marketing-dot {
  background: #1a563a;
}

[data-theme="dark"] .marketing-dot.active,
:root:not([data-theme="light"]) .marketing-dot.active {
  background: #10b981;
}

/* ==========================================================================
   Verified Physical Stores in Town Showcase Section
   ========================================================================== */
/* ==========================================================================
   Verified Physical Stores in Town Showcase Section (Compact Horizontal 3x3 Grid - Image 1 Style)
   ========================================================================== */
.ecom-local-stores-section {
  padding: 20px 0 32px 0;
  background: transparent;
}

.box-stores-action .btn-view-all-stores {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: transparent;
  border: 1.5px solid #006838;
  color: #006838;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.box-stores-action .btn-view-all-stores:hover {
  background: #006838;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.2);
}

.grid-local-stores-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .grid-local-stores-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .grid-local-stores-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.card-store-showcase {
  background: #ffffff;
  border: 1px solid #D5DFE4;
  border-radius: 8px;
  padding: 14px;
  box-sizing: border-box;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.card-store-showcase:hover {
  transform: translateY(-2px);
  border-color: #006838;
  box-shadow: 0 6px 18px rgba(0, 104, 56, 0.08);
}

.card-store-showcase-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.store-showcase-media {
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  flex-shrink: 0;
}

.card-store-showcase .store-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card-store-showcase:hover .store-cover-img {
  transform: scale(1.06);
}

.store-verified-mini-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #006838;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.store-showcase-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.store-showcase-info .store-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.store-showcase-info .store-cat-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-distance-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FD9636;
  white-space: nowrap;
}

.store-showcase-info .store-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.card-store-showcase:hover .store-name {
  color: #006838;
}

.store-showcase-info .store-location-text {
  font-size: 0.73rem;
  color: #64748B;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.store-showcase-info .store-location-text span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.store-showcase-info .store-location-text svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.store-card-action {
  margin-top: 4px;
  display: flex;
  justify-content: flex-start;
}

.store-card-action .btn-enter-store {
  width: auto !important;
  max-width: max-content !important;
  background: transparent;
  color: #006838;
  border: 1px solid #006838;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
  transition: all 0.2s ease;
}

.store-card-action .btn-enter-store:hover {
  background: #006838;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 104, 56, 0.22);
}

.store-card-action .btn-enter-store svg {
  transition: transform 0.2s ease;
}

.store-card-action .btn-enter-store:hover svg {
  transform: translateX(2px);
}

/* Dark Theme Overrides for Stores Section */
[data-theme="dark"] .card-store-showcase,
:root:not([data-theme="light"]) .card-store-showcase {
  background: #0a351f;
  border-color: #165331;
}

[data-theme="dark"] .card-store-showcase:hover,
:root:not([data-theme="light"]) .card-store-showcase:hover {
  border-color: #34d399;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .store-showcase-info .store-cat-tag,
:root:not([data-theme="light"]) .store-showcase-info .store-cat-tag {
  color: #94a3b8;
}

[data-theme="dark"] .store-distance-tag,
:root:not([data-theme="light"]) .store-distance-tag {
  color: #FD9636;
}

[data-theme="dark"] .store-showcase-info .store-name,
:root:not([data-theme="light"]) .store-showcase-info .store-name {
  color: #F8FAFC;
}

[data-theme="dark"] .card-store-showcase:hover .store-name,
:root:not([data-theme="light"]) .card-store-showcase:hover .store-name {
  color: #34d399;
}

[data-theme="dark"] .store-showcase-info .store-location-text,
:root:not([data-theme="light"]) .store-showcase-info .store-location-text {
  color: #94a3b8;
}

[data-theme="dark"] .store-card-action .btn-enter-store,
:root:not([data-theme="light"]) .store-card-action .btn-enter-store {
  color: #34d399;
  border-color: #34d399;
}

[data-theme="dark"] .store-card-action .btn-enter-store:hover,
:root:not([data-theme="light"]) .store-card-action .btn-enter-store:hover {
  background: #006838;
  border-color: #006838;
  color: #ffffff !important;
}

[data-theme="dark"] .box-stores-action .btn-view-all-stores,
:root:not([data-theme="light"]) .box-stores-action .btn-view-all-stores {
  border-color: #10b981;
  color: #10b981;
}

[data-theme="dark"] .box-stores-action .btn-view-all-stores:hover,
:root:not([data-theme="light"]) .box-stores-action .btn-view-all-stores:hover {
  background: #10b981;
  color: #03150d;
}

/* ==========================================================================
   Mobile Cart Badge Bounce Animation & Search Match Glow
   ========================================================================== */
@keyframes cartBadgeBounceAnimation {
  0% { transform: scale(1); }
  25% { transform: scale(1.3) rotate(-6deg); }
  50% { transform: scale(0.9) rotate(4deg); }
  75% { transform: scale(1.15) rotate(-2deg); }
  100% { transform: scale(1); }
}

.cart-bounce-pulse {
  animation: cartBadgeBounceAnimation 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-match-highlight {
  box-shadow: 0 0 0 2.5px #006838, 0 8px 24px rgba(0, 104, 56, 0.22) !important;
  transition: box-shadow 0.3s ease;
}

/* ==========================================================================
   UNIFIED THEME CONTINUITY SYSTEM
   - White Theme ([data-theme="light"]): 100% White / Crisp Slate Surfaces
   - Deep Green Theme ([data-theme="dark"] / default): 100% Deep Forest Green
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. WHITE THEME ALL THROUGH ([data-theme="light"])
   -------------------------------------------------------------------------- */
[data-theme="light"] body,
[data-theme="light"] main,
[data-theme="light"] .jiji-advert-section,
[data-theme="light"] .jiji-recommended-section,
[data-theme="light"] .jiji-categories-section,
[data-theme="light"] .marketplace-main-layout {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* Top Hero Search Capsule in White Theme */
[data-theme="light"] .jiji-town-btn,
[data-theme="light"] .jiji-search-input-box {
  background: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 40, 20, 0.14) !important;
}

[data-theme="light"] .jiji-town-btn:hover {
  background: #f0fdf4 !important;
  border-color: #10b981 !important;
}

[data-theme="light"] .jiji-town-text,
[data-theme="light"] .jiji-search-input {
  color: #0f172a !important;
}

[data-theme="light"] .jiji-search-input::placeholder {
  color: #64748b !important;
}

/* Category & Store Directory Modal in White Theme */
[data-theme="light"] .category-page-overlay {
  background: #f8fafc !important;
}

[data-theme="light"] .category-page-dialog {
  width: 100% !important;
  max-width: 100% !important;
  background: #f8fafc !important;
  border: none !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

[data-theme="light"] .cat-page-header {
  background: #006838 !important;
  border-bottom: 1px solid #00522c !important;
}

[data-theme="light"] .cat-page-body {
  background: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .cat-intro-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .cat-intro-text h3 {
  color: #0f172a !important;
}

[data-theme="light"] .cat-intro-text p {
  color: #475569 !important;
}

/* Store Cards in Category Modal — White Theme */
[data-theme="light"] .cat-store-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .cat-store-card:hover {
  border-color: #006838 !important;
  box-shadow: 0 8px 22px rgba(0, 104, 56, 0.12) !important;
}

[data-theme="light"] .cat-card-media {
  background: #f1f5f9 !important;
}

[data-theme="light"] .cat-card-name {
  color: #0f172a !important;
}

[data-theme="light"] .cat-card-landmark {
  color: #475569 !important;
}

[data-theme="light"] .cat-card-landmark svg {
  color: #006838 !important;
}

[data-theme="light"] .cat-card-specialty {
  color: #006838 !important;
  background: #ecfdf5 !important;
  border: 1px solid #bbf7d0 !important;
}

[data-theme="light"] .btn-enter-tenant-store {
  background: #006838 !important;
  border: 1px solid #006838 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 104, 56, 0.22) !important;
}

[data-theme="light"] .btn-enter-tenant-store:hover {
  background: #00522c !important;
  border-color: #00522c !important;
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.3) !important;
}

/* Inside-Store Banner & Virtual Shelf Filters — White Theme */
[data-theme="light"] .store-modal-banner {
  background-color: #012b18 !important;
  border: 1px solid #006838 !important;
  box-shadow: 0 4px 16px rgba(0, 104, 56, 0.14) !important;
}

[data-theme="light"] .store-banner-overlay {
  background: linear-gradient(90deg, rgba(1, 43, 24, 0.92) 0%, rgba(1, 43, 24, 0.74) 48%, rgba(1, 43, 24, 0.32) 100%) !important;
}

[data-theme="light"] .store-cat-filters-section {
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .btn-store-cat-filter {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .btn-store-cat-filter:hover {
  background: #f0fdf4 !important;
  border-color: #006838 !important;
  color: #006838 !important;
}

[data-theme="light"] .btn-store-cat-filter.active {
  background: #006838 !important;
  border-color: #006838 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 104, 56, 0.25) !important;
}

[data-theme="light"] .filter-count-badge {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

[data-theme="light"] .btn-store-cat-filter.active .filter-count-badge {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

[data-theme="light"] .category-shelf-header {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .category-shelf-header-icon {
  background: #ecfdf5 !important;
  border: 1px solid #bbf7d0 !important;
  color: #006838 !important;
}

[data-theme="light"] .category-shelf-title {
  color: #0f172a !important;
}

[data-theme="light"] .category-shelf-desc {
  color: #475569 !important;
}

[data-theme="light"] .category-shelf-count-pill {
  background: #ecfdf5 !important;
  color: #006838 !important;
  border: 1px solid #bbf7d0 !important;
}

/* Inside-Store Product Cards & Empty Shelf — White Theme */
[data-theme="light"] .product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .product-card:hover {
  background: #ffffff !important;
  border-color: #006838 !important;
  box-shadow: 0 8px 20px rgba(0, 104, 56, 0.1) !important;
}

[data-theme="light"] .product-media {
  background: #f8fafc !important;
}

[data-theme="light"] .product-store-name {
  color: #64748b !important;
}

[data-theme="light"] .product-name {
  color: #0f172a !important;
}

[data-theme="light"] .product-unit-badge {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .price-naira-val {
  color: #006838 !important;
}

[data-theme="light"] .product-card-action {
  border-top: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .qty-picker {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .btn-qty-mini {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-qty-mini:hover {
  background: #e2e8f0 !important;
}

[data-theme="light"] .qty-input-box {
  color: #0f172a !important;
}

[data-theme="light"] .btn-add-to-cart {
  background: #006838 !important;
  border: 1px solid #006838 !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-add-to-cart:hover {
  background: #00522c !important;
  border-color: #00522c !important;
}

[data-theme="light"] .quantity-stepper {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
}

[data-theme="light"] .quantity-stepper .btn-step {
  background: #006838 !important;
  color: #ffffff !important;
}

[data-theme="light"] .quantity-stepper .step-qty-val,
[data-theme="light"] .quantity-stepper .step-qty-num {
  color: #006838 !important;
}

/* Artisan Service Cards & Empty Notice — White Theme */
[data-theme="light"] .artisan-fee-banner {
  background: #fffbeb !important;
  border: 1px solid #fcd34d !important;
}

[data-theme="light"] .fee-label,
[data-theme="light"] .fee-naira {
  color: #b45309 !important;
}

[data-theme="light"] .fee-desc {
  color: #78350f !important;
}

[data-theme="light"] .capabilities-heading {
  color: #0f172a !important;
}

[data-theme="light"] .capability-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .capability-card:hover {
  border-color: #006838 !important;
}

[data-theme="light"] .cap-title {
  color: #0f172a !important;
}

[data-theme="light"] .cap-duration {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

[data-theme="light"] .cap-desc {
  color: #475569 !important;
}

[data-theme="light"] .cap-footer {
  border-top: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .cap-price span {
  color: #64748b !important;
}

[data-theme="light"] .cap-price strong {
  color: #006838 !important;
}

[data-theme="light"] .cat-empty-notice,
[data-theme="light"] .empty-shelf-msg {
  background: #ffffff !important;
  border: 1px dashed #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .cat-empty-notice h4 {
  color: #0f172a !important;
}

/* Town Switcher & Store Address Popup — White Theme */
[data-theme="light"] .modal-backdrop,
[data-theme="light"] .store-address-popup-overlay {
  background: rgba(15, 23, 42, 0.42) !important;
}

[data-theme="light"] .modal-dialog,
[data-theme="light"] .town-dialog-compact {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .town-modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .btn-close-modal {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

[data-theme="light"] .btn-close-modal:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .town-filter-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .town-filter-input-field {
  color: #0f172a !important;
}

[data-theme="light"] .town-dropdown-row {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .town-dropdown-row:hover {
  background: #f0fdf4 !important;
  border-color: #006838 !important;
}

[data-theme="light"] .town-dropdown-row.active-town {
  background: #ecfdf5 !important;
  border-color: #006838 !important;
}

[data-theme="light"] .town-row-text {
  color: #475569 !important;
}

[data-theme="light"] .town-row-text strong {
  color: #0f172a !important;
}

[data-theme="light"] .store-address-popup-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .store-address-popup-header {
  background: #006838 !important;
  border-bottom: 1px solid #00522c !important;
}

[data-theme="light"] .address-field-label {
  color: #64748b !important;
}

[data-theme="light"] .address-field-val {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-dismiss-address {
  background: #006838 !important;
  border-color: #006838 !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   2. DEEP GREEN THEME ALL THROUGH ([data-theme="dark"] / default)
   Replaces all navy/slate blues (#0b1320, #131d2e, #111822, #182230, #080d1a)
   with rich Deep Forest Green (#032214, #052918, #07331e, #0a3f25, #165331)
   -------------------------------------------------------------------------- */
[data-theme="dark"] body,
:root:not([data-theme="light"]) body,
[data-theme="dark"] main,
:root:not([data-theme="light"]) main,
[data-theme="dark"] .jiji-advert-section,
:root:not([data-theme="light"]) .jiji-advert-section,
[data-theme="dark"] .jiji-recommended-section,
:root:not([data-theme="light"]) .jiji-recommended-section,
[data-theme="dark"] .jiji-categories-section,
:root:not([data-theme="light"]) .jiji-categories-section,
[data-theme="dark"] .marketplace-main-layout,
:root:not([data-theme="light"]) .marketplace-main-layout {
  background: #032214 !important;
  color: #f8fafc !important;
}

/* Top Hero Search Capsule in Deep Green Theme */
[data-theme="dark"] .jiji-town-btn,
:root:not([data-theme="light"]) .jiji-town-btn,
[data-theme="dark"] .jiji-search-input-box,
:root:not([data-theme="light"]) .jiji-search-input-box {
  background: #021d10 !important;
  border: 1.5px solid #165331 !important;
  color: #ecfdf5 !important;
}

[data-theme="dark"] .jiji-town-btn:hover,
:root:not([data-theme="light"]) .jiji-town-btn:hover {
  background: #052e1b !important;
  border-color: #10b981 !important;
}

/* Category & Store Directory Modal — Deep Green Theme */
[data-theme="dark"] .category-page-overlay,
:root:not([data-theme="light"]) .category-page-overlay {
  background: #032214 !important;
}

[data-theme="dark"] .category-page-dialog,
:root:not([data-theme="light"]) .category-page-dialog {
  width: 100% !important;
  max-width: 100% !important;
  background: #032214 !important;
  border: none !important;
  box-shadow: none !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .cat-page-header,
:root:not([data-theme="light"]) .cat-page-header {
  background: linear-gradient(135deg, #006838 0%, #047857 100%) !important;
  border-bottom: 1px solid #165331 !important;
}

[data-theme="dark"] .cat-page-body,
:root:not([data-theme="light"]) .cat-page-body {
  background: #032214 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .cat-intro-card,
:root:not([data-theme="light"]) .cat-intro-card {
  background: linear-gradient(135deg, #07331e 0%, #052918 100%) !important;
  border: 1px solid #165331 !important;
}

/* Store Cards in Category Modal — Deep Green Theme */
[data-theme="dark"] .cat-store-card,
:root:not([data-theme="light"]) .cat-store-card {
  background: #07331e !important;
  border: 1px solid #165331 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
}

[data-theme="dark"] .cat-store-card:hover,
:root:not([data-theme="light"]) .cat-store-card:hover {
  background: #0a3f25 !important;
  border-color: #10b981 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .cat-card-media,
:root:not([data-theme="light"]) .cat-card-media {
  background: #042616 !important;
}

[data-theme="dark"] .cat-card-name,
:root:not([data-theme="light"]) .cat-card-name {
  color: #ffffff !important;
}

[data-theme="dark"] .cat-card-landmark,
:root:not([data-theme="light"]) .cat-card-landmark {
  color: #a7f3d0 !important;
}

[data-theme="dark"] .cat-card-landmark svg,
:root:not([data-theme="light"]) .cat-card-landmark svg {
  color: #34d399 !important;
}

[data-theme="dark"] .cat-card-specialty,
:root:not([data-theme="light"]) .cat-card-specialty {
  color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Inside-Store Banner & Virtual Shelf Filters — Deep Green Theme */
[data-theme="dark"] .store-modal-banner,
:root:not([data-theme="light"]) .store-modal-banner {
  background-color: #021d10 !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .store-banner-overlay,
:root:not([data-theme="light"]) .store-banner-overlay {
  background: linear-gradient(90deg, rgba(2, 29, 16, 0.94) 0%, rgba(2, 29, 16, 0.78) 48%, rgba(2, 29, 16, 0.35) 100%) !important;
}

[data-theme="dark"] .store-cat-filters-section,
:root:not([data-theme="light"]) .store-cat-filters-section {
  border-bottom: 1px solid #14532d !important;
}

[data-theme="dark"] .btn-store-cat-filter,
:root:not([data-theme="light"]) .btn-store-cat-filter {
  background: #07331e !important;
  border: 1px solid #165331 !important;
  color: #d1fae5 !important;
}

[data-theme="dark"] .btn-store-cat-filter:hover,
:root:not([data-theme="light"]) .btn-store-cat-filter:hover {
  background: #0b4228 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-store-cat-filter.active,
:root:not([data-theme="light"]) .btn-store-cat-filter.active {
  background: linear-gradient(135deg, #006838 0%, #059669 100%) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .filter-count-badge,
:root:not([data-theme="light"]) .filter-count-badge {
  background: rgba(2, 29, 16, 0.65) !important;
  color: #a7f3d0 !important;
}

[data-theme="dark"] .category-shelf-header,
:root:not([data-theme="light"]) .category-shelf-header {
  background: linear-gradient(135deg, #07331e 0%, #052918 100%) !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .category-shelf-title,
:root:not([data-theme="light"]) .category-shelf-title {
  color: #ffffff !important;
}

[data-theme="dark"] .category-shelf-desc,
:root:not([data-theme="light"]) .category-shelf-desc {
  color: #a7f3d0 !important;
}

/* Inside-Store Product Cards & Empty Shelf — Deep Green Theme */
[data-theme="dark"] .product-card,
:root:not([data-theme="light"]) .product-card {
  background: #07331e !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .product-card:hover,
:root:not([data-theme="light"]) .product-card:hover {
  background: #0a3f25 !important;
  border-color: #10b981 !important;
}

[data-theme="dark"] .product-media,
:root:not([data-theme="light"]) .product-media {
  background: #042616 !important;
}

[data-theme="dark"] .product-store-name,
:root:not([data-theme="light"]) .product-store-name {
  color: #a7f3d0 !important;
}

[data-theme="dark"] .product-name,
:root:not([data-theme="light"]) .product-name {
  color: #ffffff !important;
}

[data-theme="dark"] .product-unit-badge,
:root:not([data-theme="light"]) .product-unit-badge {
  background: #042616 !important;
  border: 1px solid #165331 !important;
  color: #a7f3d0 !important;
}

[data-theme="dark"] .product-card-action,
:root:not([data-theme="light"]) .product-card-action {
  border-top: 1px solid #14532d !important;
}

[data-theme="dark"] .qty-picker,
:root:not([data-theme="light"]) .qty-picker {
  background: #042616 !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .btn-qty-mini,
:root:not([data-theme="light"]) .btn-qty-mini {
  background: #0a3f25 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .quantity-stepper,
:root:not([data-theme="light"]) .quantity-stepper {
  background: #042616 !important;
  border: 1px solid #10b981 !important;
}

[data-theme="dark"] .quantity-stepper .btn-step,
:root:not([data-theme="light"]) .quantity-stepper .btn-step {
  background: #0a3f25 !important;
  color: #ffffff !important;
}

/* Artisan Service Cards & Empty Notice — Deep Green Theme */
[data-theme="dark"] .capabilities-heading,
:root:not([data-theme="light"]) .capabilities-heading {
  color: #f8fafc !important;
}

[data-theme="dark"] .capability-card,
:root:not([data-theme="light"]) .capability-card {
  background: #07331e !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .cap-title,
:root:not([data-theme="light"]) .cap-title {
  color: #ffffff !important;
}

[data-theme="dark"] .cap-duration,
:root:not([data-theme="light"]) .cap-duration {
  background: #042616 !important;
  color: #a7f3d0 !important;
}

[data-theme="dark"] .cap-desc,
:root:not([data-theme="light"]) .cap-desc {
  color: #d1fae5 !important;
}

[data-theme="dark"] .cap-footer,
:root:not([data-theme="light"]) .cap-footer {
  border-top: 1px solid #14532d !important;
}

[data-theme="dark"] .cat-empty-notice,
:root:not([data-theme="light"]) .cat-empty-notice,
[data-theme="dark"] .empty-shelf-msg,
:root:not([data-theme="light"]) .empty-shelf-msg {
  background: #07331e !important;
  border: 1px dashed #165331 !important;
  color: #a7f3d0 !important;
}

[data-theme="dark"] .cat-empty-notice h4,
:root:not([data-theme="light"]) .cat-empty-notice h4 {
  color: #ffffff !important;
}

/* QuickView, Town Switcher, Store Address, Cart Drawer & Auth Modal — Deep Green Theme */
[data-theme="dark"] .quickview-overlay,
:root:not([data-theme="light"]) .quickview-overlay,
[data-theme="dark"] .modal-backdrop,
:root:not([data-theme="light"]) .modal-backdrop,
[data-theme="dark"] .store-address-popup-overlay,
:root:not([data-theme="light"]) .store-address-popup-overlay {
  background: rgba(1, 24, 13, 0.85) !important;
}

[data-theme="dark"] .quickview-modal-card,
:root:not([data-theme="light"]) .quickview-modal-card {
  background: #052918 !important;
  border: 1px solid #165331 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .quickview-img-wrapper,
:root:not([data-theme="light"]) .quickview-img-wrapper,
[data-theme="dark"] .quickview-picker,
:root:not([data-theme="light"]) .quickview-picker {
  background: #032214 !important;
  border-color: #165331 !important;
}

[data-theme="dark"] .quickview-highlights-box,
:root:not([data-theme="light"]) .quickview-highlights-box,
[data-theme="dark"] .qv-spec-item,
:root:not([data-theme="light"]) .qv-spec-item,
[data-theme="dark"] .btn-quickview-close,
:root:not([data-theme="light"]) .btn-quickview-close {
  background: #07331e !important;
  border-color: #165331 !important;
  color: #d1fae5 !important;
}

[data-theme="dark"] .quickview-divider,
:root:not([data-theme="light"]) .quickview-divider {
  background: #165331 !important;
}

[data-theme="dark"] .modal-dialog,
:root:not([data-theme="light"]) .modal-dialog,
[data-theme="dark"] .town-dialog-compact,
:root:not([data-theme="light"]) .town-dialog-compact,
[data-theme="dark"] .store-address-popup-card,
:root:not([data-theme="light"]) .store-address-popup-card {
  background: #052918 !important;
  border: 1px solid #165331 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .town-filter-box,
:root:not([data-theme="light"]) .town-filter-box {
  background: #032214 !important;
  border: 1px solid #165331 !important;
}

[data-theme="dark"] .town-dropdown-row,
:root:not([data-theme="light"]) .town-dropdown-row,
[data-theme="dark"] .address-field-val,
:root:not([data-theme="light"]) .address-field-val {
  background: #07331e !important;
  border: 1px solid #165331 !important;
  color: #ecfdf5 !important;
}

[data-theme="dark"] .town-dropdown-row:hover,
:root:not([data-theme="light"]) .town-dropdown-row:hover {
  background: #0b4228 !important;
  border-color: #10b981 !important;
}

[data-theme="dark"] .cart-drawer-panel,
:root:not([data-theme="light"]) .cart-drawer-panel {
  background: #052918 !important;
  color: #f8fafc !important;
  border-left: 1px solid #165331 !important;
}

[data-theme="dark"] .drawer-header,
:root:not([data-theme="light"]) .drawer-header,
[data-theme="dark"] .drawer-footer,
:root:not([data-theme="light"]) .drawer-footer {
  background: #032214 !important;
  border-color: #165331 !important;
}

[data-theme="dark"] .drawer-body,
:root:not([data-theme="light"]) .drawer-body {
  background: #052918 !important;
}

[data-theme="dark"] .drawer-title,
:root:not([data-theme="light"]) .drawer-title,
[data-theme="dark"] .cart-item-title,
:root:not([data-theme="light"]) .cart-item-title,
[data-theme="dark"] .summary-line.total-line,
:root:not([data-theme="light"]) .summary-line.total-line {
  color: #ffffff !important;
}

[data-theme="dark"] .drawer-town-badge,
:root:not([data-theme="light"]) .drawer-town-badge,
[data-theme="dark"] .cart-unit-price,
:root:not([data-theme="light"]) .cart-unit-price,
[data-theme="dark"] .summary-line,
:root:not([data-theme="light"]) .summary-line {
  color: #a7f3d0 !important;
}

[data-theme="dark"] .drawer-close-btn,
:root:not([data-theme="light"]) .drawer-close-btn,
[data-theme="dark"] .drawer-back-btn,
:root:not([data-theme="light"]) .drawer-back-btn,
[data-theme="dark"] .cart-empty-view,
:root:not([data-theme="light"]) .cart-empty-view,
[data-theme="dark"] .cart-destination-box,
:root:not([data-theme="light"]) .cart-destination-box,
[data-theme="dark"] .store-cart-cluster,
:root:not([data-theme="light"]) .store-cart-cluster {
  background: #07331e !important;
  border-color: #165331 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .cart-stepper,
:root:not([data-theme="light"]) .cart-stepper {
  background: #032214 !important;
  border-color: #165331 !important;
}

[data-theme="dark"] .btn-cart-step,
:root:not([data-theme="light"]) .btn-cart-step,
[data-theme="dark"] .cart-step-num,
:root:not([data-theme="light"]) .cart-step-num {
  color: #ffffff !important;
}

[data-theme="dark"] .customer-auth-card,
:root:not([data-theme="light"]) .customer-auth-card {
  background: #052918 !important;
  color: #f8fafc !important;
  border: 1px solid #165331 !important;
}

