/* ══════════════════════════════════════════════════════════════════
   Dexx IT Computer System Co Ltd — Storefront Stylesheet
   Design: White-based, modern tech retail, Inter font, Cobalt Blue accent
   ══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --accent:       #FF9A1A;
  --accent-hover: #E07E0D;
  --accent-light: #FFF7ED;
  --accent-mid:   #FED7AA;
  --dark:         #101923;
  --text-main:    #1E293B;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;
  --border:       #E2E8F0;
  --bg-white:     #FFFFFF;
  --bg-section:   #F8FAFC;
  --bg-card:      #FFFFFF;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    16px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --transition:   all 0.2s ease;
}

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--dark); line-height: 1.3; }

.section-gap { padding: 64px 0; }
.bg-section  { background: var(--bg-section); }

/* ── Bootstrap Overrides ────────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.25rem;
  transition: var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.btn-outline-secondary {
  border-color: var(--border);
  color: var(--text-muted);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.btn-outline-secondary:hover {
  background: var(--bg-section);
  border-color: var(--text-muted);
  color: var(--text-main);
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-label { font-weight: 500; font-size: 0.875rem; color: var(--text-main); margin-bottom: 0.35rem; }
.badge { font-weight: 500; }

/* ── Navbar ─────────────────────────────────────────────────────── */
#main-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  z-index: 1000;
}
.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.brand-accent { color: var(--accent); }
.brand-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.4rem;
  letter-spacing: 0;
}
.nav-search { position: relative; width: 420px; max-width: 50%; }
.nav-search-input {
  border-right: none;
  background: var(--bg-section);
  border-color: var(--border);
}
.nav-search-input:focus {
  background: var(--bg-white);
  border-color: var(--accent);
  box-shadow: none;
}
.btn-search {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 1rem;
  transition: var(--transition);
}
.btn-search:hover { background: var(--accent-hover); }
.nav-icon-link {
  color: var(--text-main) !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-icon-link:hover { background: var(--bg-section); color: var(--accent) !important; }
.nav-icon-link i { font-size: 1.15rem; }
.cart-icon-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px; right: 30px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.dropdown-item { padding: 0.5rem 1rem; color: var(--text-main); transition: var(--transition); }
.dropdown-item:hover { background: var(--accent-light); color: var(--accent); }

/* ── Mega Menu ─────────────────────────────────────────────────────── */
#main-nav { position: relative !important; }

/* Eliminate gap between trigger and panel */
.navbar .dropdown-menu {
    margin-top: 0 !important;
    padding-top: 0;
}

/* Keep dropdown open while hovering either the toggle or the menu */
.navbar .dropdown:hover > .dropdown-menu,
.navbar .dropdown-menu:hover {
    display: block;
}

/* Prevent Bootstrap click toggle from conflicting with hover */
.navbar .dropdown > .dropdown-toggle:active {
    pointer-events: none;
}

.shop-toggle::after {
    display: none !important;
}

/* Bridge the gap with a pseudo-element so mouse doesn't leave the hover zone */
.mega-menu-item {
    position: relative;
}
.mega-menu-item::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
    z-index: 1000;
}

@media (min-width: 992px) {
  .mega-menu-dropdown {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
  }
  .mega-menu-item:hover .mega-menu-dropdown,
  .mega-menu-dropdown.show,
  .mega-menu-dropdown:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
}
.mega-menu-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.mega-menu-title:hover { color: var(--accent); }
.mega-menu-links { margin-bottom: 0; }
.mega-menu-links li { margin-bottom: 0.35rem; }
.mega-menu-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.835rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
}
.mega-menu-links a:hover {
  color: var(--accent);
  background: var(--accent-light);
  transform: translateX(4px);
}

.cat-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.cat-strip-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-light);
}

/* ── Flash Alerts ────────────────────────────────────────────────── */
.dexxit-alert {
  border-left: 4px solid;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.alert-success  { border-color: #22C55E; }
.alert-danger   { border-color: #EF4444; }
.alert-info     { border-color: #3B82F6; }
.alert-warning  { border-color: #F59E0B; }

/* ── Hero Section ────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFF7ED 50%, #FFFBEB 100%);
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,154,26,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,154,26,0.04) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; }
.min-vh-60 { min-height: 60vh; }
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--accent-mid);
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--accent), #EA580C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-hero {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.btn-outline-hero {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-outline-hero:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hero-stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--dark); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 0.1rem; }
.hero-stat-divider { width: 1px; height: 30px; background: var(--border); }

/* Hero Visual */
.hero-visual { position: relative; width: 400px; height: 380px; }
.hero-shape-1 {
  position: absolute;
  width: 280px; height: 280px;
  background: linear-gradient(135deg, var(--accent-light), #EDE9FE);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  top: 20px; right: 20px;
  animation: morphShape 8s ease-in-out infinite alternate;
}
.hero-shape-2 {
  position: absolute;
  width: 180px; height: 180px;
  background: linear-gradient(135deg, #FEF3C7, #FECDD3);
  border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
  bottom: 30px; left: 20px;
  animation: morphShape 10s ease-in-out infinite alternate-reverse;
}
@keyframes morphShape {
  from { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  to   { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}
.hero-icon-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding: 40px;
  align-items: center; justify-items: center;
}
.hig-item {
  width: 72px; height: 72px;
  background: var(--bg-white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--accent);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  animation: floatItem 4s ease-in-out infinite alternate;
}
.hig-item:nth-child(2) { animation-delay: 0.5s; }
.hig-item:nth-child(3) { animation-delay: 1s; }
.hig-item:nth-child(4) { animation-delay: 1.5s; }
.hig-item:nth-child(5) { animation-delay: 2s; }
.hig-item:nth-child(6) { animation-delay: 2.5s; }
.hig-accent { background: var(--accent); color: white; }
@keyframes floatItem {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ── Trust Bar ───────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem;
}
.trust-item i { font-size: 1.5rem; color: var(--accent); }
.trust-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ── Section Headers ─────────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.75rem;
}
.section-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.section-link { font-size: 0.875rem; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 0.25rem; }
.section-link:hover { color: var(--accent-hover); }
.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Category Grid ───────────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  color: var(--text-main);
  gap: 0.5rem;
}
.category-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-icon { font-size: 2rem; color: var(--accent); transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; min-height: 2rem; }
.category-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-size: 0.875rem; font-weight: 600; min-height: 1.25em; display: block; }
.cat-count { font-size: 0.75rem; color: var(--text-light); min-height: 1.2em; display: block; }

/* ── Product Cards ───────────────────────────────────────────────── */
.product-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-3px);
}
.product-card-img-link {
  display: block;
  position: relative;
  background: var(--bg-section);
  aspect-ratio: 1;
  overflow: hidden;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-img-placeholder {
  width: 100%; height: 100%;
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 2.5rem;
}
.product-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}
.badge-sale { background: #EF4444; color: white; }
.badge-oos  { background: var(--text-light); color: white; }
.product-card-body {
  padding: 0.9rem;
  display: flex; flex-direction: column; flex: 1;
}
.product-category-label {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem;
}
.product-card-title {
  font-size: 0.88rem; font-weight: 500; margin-bottom: 0.5rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-title a { color: var(--text-main); }
.product-card-title a:hover { color: var(--accent); }
.product-card-price-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.product-price { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.product-compare-price { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.btn-add-cart {
  background: var(--accent-light);
  border: 1.5px solid var(--accent-mid);
  color: var(--accent);
  font-size: 0.8rem; font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  transition: var(--transition);
}
.btn-add-cart:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Promo Banner ────────────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 60%, #4F46E5 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  color: white;
}
.promo-content h2 { color: white; font-size: 1.75rem; margin-bottom: 0.5rem; }
.promo-content p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.promo-content .btn-primary {
  background: white; color: var(--accent);
  font-weight: 700;
}
.promo-content .btn-primary:hover { background: var(--accent-light); }
.promo-icon { font-size: 5rem; color: rgba(255,255,255,0.2); flex-shrink: 0; }

/* ── Catalog ─────────────────────────────────────────────────────── */
.filter-sidebar {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky; top: 80px;
}
.filter-heading { font-size: 0.875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-light); margin-bottom: 1rem; }
.filter-section { margin-bottom: 1.5rem; }
.filter-section-title { font-size: 0.82rem; font-weight: 600; color: var(--dark); margin-bottom: 0.6rem; }
.filter-category-list { list-style: none; padding: 0; margin: 0; }
.filter-category-list li { margin-bottom: 0.1rem; }
.filter-cat-link {
  display: block; padding: 0.35rem 0.6rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500; transition: var(--transition);
}
.filter-cat-link:hover, .filter-cat-link.active {
  color: var(--accent); background: var(--accent-light);
}
.filter-subcat-list {
  list-style: none; padding-left: 1rem; margin: 0.3rem 0 0 0;
}
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem;
}
.catalog-results { font-size: 0.9rem; font-weight: 500; color: var(--text-main); }
.catalog-sort { font-size: 0.85rem; width: auto; }

/* ── Empty State ─────────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state i { font-size: 3.5rem; display: block; margin-bottom: 1rem; color: var(--text-light); }
.empty-state h4 { font-weight: 600; color: var(--text-main); margin-bottom: 0.5rem; }

/* ── Pagination ──────────────────────────────────────────────────── */
.dexxit-pagination .page-link {
  color: var(--accent);
  border-color: var(--border);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  font-size: 0.875rem;
}
.dexxit-pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.dexxit-breadcrumb { font-size: 0.82rem; }
.dexxit-breadcrumb .breadcrumb-item a { color: var(--accent); }
.dexxit-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* ── Product Detail ──────────────────────────────────────────────── */
.product-gallery { position: sticky; top: 80px; }
.gallery-main {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-section);
  margin-bottom: 0.75rem;
  aspect-ratio: 1;
}
.gallery-main-img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.gallery-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 3rem; gap: 0.5rem;
}
.gallery-placeholder span { font-size: 0.875rem; }
.gallery-thumbs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.gallery-thumb {
  width: 68px; height: 68px; object-fit: contain;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; padding: 4px; background: var(--bg-section); transition: var(--transition);
  flex-shrink: 0;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); }

.product-detail-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; }
.product-sku { font-size: 0.8rem; }
.stock-badge { display: inline-flex; align-items: center; font-size: 0.82rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }
.in-stock   { background: #DCFCE7; color: #15803D; }
.out-of-stock { background: #FEE2E2; color: #B91C1C; }

.product-detail-price-block { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.product-detail-price { font-size: 1.75rem; font-weight: 700; color: var(--dark); }
.product-detail-compare { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.badge-sale-inline {
  background: #EF4444; color: white; font-size: 0.75rem;
  font-weight: 700; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm);
}
.product-description { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }

/* Qty Selector */
.qty-selector {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.qty-btn {
  background: var(--bg-section); border: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-main);
  transition: var(--transition); font-size: 0.875rem;
}
.qty-btn:hover:not(:disabled) { background: var(--border); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-input {
  width: 52px; text-align: center;
  border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border);
  font-weight: 600; font-size: 0.9rem; padding: 0.25rem 0;
}
.qty-input:focus { outline: none; background: var(--accent-light); }
.qty-cart-row { display: flex; gap: 0.75rem; align-items: center; }
.btn-add-to-cart-lg { padding: 0.6rem 1.5rem; font-weight: 600; font-size: 0.95rem; flex: 1; }

.shipping-info-box {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 0.75rem 1rem; background: var(--bg-section);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.shipping-info-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.shipping-info-item i { color: var(--accent); font-size: 0.9rem; }

/* Specs Table */
.product-specs-section { border-top: 1px solid var(--border); padding-top: 2rem; }
.specs-heading { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.dexxit-specs-table { border-collapse: separate; border-spacing: 0; font-size: 0.875rem; }
.dexxit-specs-table td {
  padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: top;
}
.spec-key { font-weight: 600; color: var(--text-muted); width: 35%; background: var(--bg-section); }
.spec-value { color: var(--text-main); }

/* ── Cart ────────────────────────────────────────────────────────── */
.page-title { font-size: 1.75rem; font-weight: 700; }
.cart-table-card {
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.dexxit-cart-table { margin: 0; }
.dexxit-cart-table thead th {
  background: var(--bg-section); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); padding: 0.75rem 1rem;
}
.dexxit-cart-table td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dexxit-cart-table tr:last-child td { border-bottom: none; }
.cart-product-cell { display: flex; align-items: center; gap: 1rem; }
.cart-thumb { width: 64px; height: 64px; object-fit: contain;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-section); padding: 4px; flex-shrink: 0; }
.cart-thumb-placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.cart-product-name { font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.cart-product-meta, .cart-unit-price { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.cart-line-total { font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.qty-selector-sm .qty-btn { width: 30px; height: 30px; }
.qty-display { padding: 0 0.6rem; font-weight: 600; font-size: 0.875rem; }
.btn-remove { background: none; border: none; color: var(--text-light);
  padding: 0.25rem 0.4rem; transition: var(--transition); border-radius: var(--radius-sm); }
.btn-remove:hover { color: #EF4444; background: #FEF2F2; }

.cart-summary-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 80px;
}
.cart-summary-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.9rem; }
.cart-total-row { font-size: 1rem; }
.btn-checkout { padding: 0.7rem; font-weight: 600; font-size: 0.95rem; }

/* ── Checkout ────────────────────────────────────────────────────── */
.checkout-card, .checkout-summary-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.checkout-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem;
  display: flex; align-items: center; color: var(--dark); }
.payment-stub {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius); padding: 1rem;
  background: var(--bg-section);
}
.payment-stub-notice { display: flex; gap: 0.75rem; align-items: flex-start; }
.checkout-items-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.checkout-item { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.checkout-item-info { display: flex; align-items: center; gap: 0.6rem; }
.checkout-thumb { width: 48px; height: 48px; object-fit: contain;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-section); padding: 3px; flex-shrink: 0; }
.checkout-thumb-placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.checkout-item-name { font-size: 0.82rem; font-weight: 500; margin: 0; }
.checkout-item-qty { margin: 0; }
.checkout-item-total { font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; }
.summary-total-row { font-size: 1rem; }
.btn-place-order { padding: 0.75rem; font-weight: 700; font-size: 1rem; }

/* ── Order Confirmation ──────────────────────────────────────────── */
.confirmation-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 3rem 2rem;
}
.confirmation-icon { font-size: 4rem; color: #22C55E; margin-bottom: 1rem; }
.confirmation-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.confirmation-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; }
.confirmation-order-number {
  display: inline-block; background: var(--bg-section);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 0.6rem 1.25rem; font-size: 0.9rem; margin-bottom: 1.5rem;
}
.confirmation-details {
  background: var(--bg-section); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1.5rem; text-align: left;
}
.conf-detail-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.conf-detail-row:last-child { border-bottom: none; }
.confirmation-payment-note {
  background: #EFF6FF; border-left: 4px solid var(--accent);
  text-align: left; font-size: 0.85rem; border-radius: var(--radius-sm);
}

/* ── Auth Forms ──────────────────────────────────────────────────── */
.auth-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { font-size: 2rem; font-weight: 700; color: var(--dark); display: block; margin-bottom: 0.75rem; }
.auth-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.25rem; }
.auth-subtitle { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.btn-auth { padding: 0.65rem; font-weight: 600; font-size: 0.95rem; }
.auth-footer-text { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-muted); }
.text-link { color: var(--accent); font-weight: 500; }
.text-link-small { font-size: 0.8rem; color: var(--accent); }

/* ── General Tables ──────────────────────────────────────────────── */
.dexxit-table thead th {
  background: var(--bg-section); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.dexxit-table td { font-size: 0.875rem; vertical-align: middle; }

/* ── Static Pages ────────────────────────────────────────────────── */
.about-title { font-size: 2.2rem; font-weight: 700; line-height: 1.2; }
.about-lead { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.stat-big { font-size: 2.25rem; font-weight: 700; color: var(--accent); }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-info-item i { font-size: 1.2rem; color: var(--accent); margin-top: 0.1rem; }
.contact-form-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.terms-content h5 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--dark); }
.terms-content p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-brand .brand-wordmark { color: white; font-size: 1.75rem; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-description { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-top: 0.75rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: white; }
.footer-heading {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: rgba(255,255,255,0.9); margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem;
}
.footer-contact i { color: var(--accent); font-size: 0.85rem; width: 14px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: white; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { padding: 50px 0 40px; }
  .hero-stats { gap: 1rem; }
  .promo-banner { flex-direction: column; text-align: center; }
  .promo-icon { display: none; }
  .nav-search { width: 100%; max-width: 100%; order: 3; margin: 0.5rem 0 0; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ── Service Card Styles ── */
.service-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--bg-white);
  transform: scale(1.05);
}
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.max-w-600 { max-width: 600px; }

/* ── Product Reviews ────────────────────────────────────────────── */
.product-reviews-section {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.reviews-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-mid);
}
.review-author {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}
.verified-buyer-badge {
  background: #E0F2FE;
  color: #0369A1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
}
.review-date {
  font-size: 0.78rem;
}
.review-title {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}
.review-comment {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Write Review Form Card */
.review-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.form-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

/* Star selection selector */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.35rem;
}
.star-rating-input input {
  display: none;
}
.star-rating-input label {
  font-size: 1.6rem;
  color: #CBD5E1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: #FFC107;
}
.star-rating-input label:active {
  transform: scale(0.9);
}

.hover-link {
  transition: var(--transition);
}
.hover-link:hover {
  color: var(--accent) !important;
}

/* ── Search Autocomplete Suggestions ────────────────────────────── */
.search-suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  margin-top: 0.35rem;
  z-index: 1100;
  max-height: 380px;
  overflow-y: auto;
  display: none;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  color: var(--text-main);
  text-decoration: none !important;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover,
.suggestion-item.highlighted {
  background: var(--bg-section);
}
.suggestion-thumb {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  padding: 2px;
  flex-shrink: 0;
}
.suggestion-thumb-placeholder {
  width: 36px;
  height: 36px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.suggestion-info {
  flex: 1;
  min-width: 0;
}
.suggestion-name {
  font-weight: 500;
  font-size: 0.82rem;
  margin: 0;
  color: var(--text-main);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.suggestion-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.suggestion-item:hover .suggestion-name,
.suggestion-item.highlighted .suggestion-name {
  color: var(--accent);
}

/* ── Mobile & E-Commerce First Utilities ──────────────────────────── */
.extra-small { font-size: 0.75rem !important; }
.tracking-wider { letter-spacing: 0.05em; }
.max-w-700 { max-width: 700px; }

/* Enforce Minimum 44px Touch Targets for Mobile Accessibility */
.min-touch-target {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Prevent Horizontal Overflow Globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Compact Hero Overrides */
.hero-compact {
  padding: 30px 0 20px !important;
}
.hero-title-compact {
  font-family: var(--font);
  letter-spacing: -0.02em;
}
.hero-visual-compact {
  height: 220px !important;
  width: 260px !important;
}
.hero-visual-compact .hig-item {
  width: 54px !important;
  height: 54px !important;
  font-size: 1.35rem !important;
}

/* Mobile Adjustments (390px / 375px / Mobile Viewports) */
@media (max-width: 767.98px) {
  .hero-compact {
    padding: 18px 0 12px !important;
  }
  .hero-title-compact {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }
  .hero-badge {
    margin-bottom: 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .hero-cta-group {
    margin-bottom: 0.75rem !important;
  }
  .hero-stats {
    gap: 0.75rem !important;
  }
  .stat-num {
    font-size: 1.1rem !important;
  }

  /* Input Font-Size 16px on Mobile to Prevent iOS Auto-Zoom */
  .form-control, .form-select, input, select, textarea {
    font-size: 16px !important;
  }

  /* Category Cards on Mobile */
  .category-card {
    padding: 0.75rem 0.5rem !important;
  }
}

/* ── Unified Filter Drawer & Accordion ────────────────────────────── */
#filter-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  transition: opacity 300ms ease;
}
#filter-overlay.hidden { display: none !important; }
#filter-overlay.opacity-0 { opacity: 0; }
#filter-overlay.opacity-100 { opacity: 1; }

#filter-drawer {
  position: fixed;
  z-index: 1050;
  background-color: #ffffff;
  transition: transform 300ms ease-out;
  display: flex;
  flex-direction: column;
  bottom: 0; left: 0; right: 0; top: auto;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  transform: translateY(100%);
  max-height: 85vh;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
}
#filter-drawer.is-open { transform: translateY(0); }

@media (min-width: 992px) {
  #filter-drawer {
    top: 0; bottom: 0; left: 0; right: auto;
    width: 320px; height: 100%; max-height: none;
    border-radius: 0;
    transform: translateX(-100%);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  }
  #filter-drawer.is-open { transform: translateX(0); }
}

.filter-trigger-bar {
  position: sticky;
  top: 70px;
  z-index: 30;
}

.trigger-funnel-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.active-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background-color: #F97316;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Drawer Component Styles */
.drawer-drag-handle-row {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 4px;
}
.drawer-drag-handle {
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background-color: #D1D5DB;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 10;
}
.drawer-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}
.drawer-close-btn {
  padding: 4px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close-btn:hover { background-color: var(--bg-section); }
.close-icon { width: 20px; height: 20px; stroke-width: 2; }

.drawer-content {
  padding: 8px 0;
  flex: 1 1 auto;
  overflow-y: auto;
}

.drawer-footer {
  position: sticky;
  bottom: 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* Category Tree Styles */
.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.category-row:hover { background-color: var(--bg-section); }

.leaf-category-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: background-color 0.15s ease;
}
.leaf-category-link:hover { background-color: var(--bg-section); color: var(--accent); }

.category-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--text-main);
}
.category-name {
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-icon-muted {
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.chevron-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0 !important;
  color: #9CA3AF;
  transition: transform 200ms ease;
}
.chevron.rotate-180 { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease-in-out;
}


.subcategory-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 48px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.subcategory-link:hover { background-color: var(--bg-section); color: var(--accent); }
.subcat-icon {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.active-cat-bg { background-color: #FFF7ED !important; }
.active-cat-text { font-weight: 600 !important; color: #EA580C !important; }
.active-cat-text .cat-icon-muted,
.active-cat-text .subcat-icon { color: #EA580C !important; }




