/* ==========================================================================
   FASTSHOP - Modern E-Commerce Design System & Styling
   ========================================================================== */

:root {
  --font-main: 'Noto Sans Bengali', 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-num: 'Noto Sans Bengali', 'Inter', -apple-system, sans-serif;

  /* Brand Colors */
  --o: #f57224;
  --od: #ea580c;
  --o-soft: #fff3ea;
  --o-glow: rgba(245, 114, 36, 0.18);

  /* Neutrals */
  --ink: #0f172a;
  --ink-light: #334155;
  --mut: #64748b;
  --mut-light: #94a3b8;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-light: #f1f5f9;

  /* Status Accents */
  --green: #10b981;
  --green-soft: #ecfdf5;
  --red: #ef4444;
  --red-soft: #fef2f2;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 14px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 18px 36px -6px rgba(245, 114, 36, 0.18), 0 6px 14px -2px rgba(0, 0, 0, 0.04);
}

/* Base Reset & Smoothness */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

html, body, .lp-container, .lp-wrapper {
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

img, video, iframe, svg, table {
  max-width: 100% !important;
  height: auto;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font: 15px/1.6 var(--font-main);
  color: var(--ink-light);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

button,
input,
select,
textarea {
  font-family: var(--font-main);
}

main {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

:focus-visible {
  outline: 2px solid var(--o);
  outline-offset: 2px;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Top Announcement Bar */
.topbar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 18px;
  gap: 16px;
}

.topbar-perks {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 500;
}

.topbar-perks .sep {
  color: #475569;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar nav a {
  color: #cbd5e1;
  transition: color .2s;
}

.topbar nav a:hover {
  color: #ff9a56;
}

.topbar .linkbtn {
  background: none;
  border: none;
  color: #f87171;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  margin-left: 6px;
}

.topbar .linkbtn:hover {
  text-decoration: underline;
}

/* Sticky Glassmorphic Header */
.head {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  transition: background .2s, box-shadow .2s;
}

.head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 18px;
}

/* Logo */
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 2px;
  user-select: none;
  flex-shrink: 0;
}

.logo b {
  color: var(--o);
}

.logo:hover {
  transform: scale(1.03);
}

/* Search Bar */
.search {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 660px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-lens {
  position: absolute;
  left: 14px;
  color: var(--mut);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 11px 76px 11px 40px;
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.search input:focus {
  outline: none;
  border-color: var(--o);
  box-shadow: 0 0 0 3px var(--o-glow);
}

.search-kbd {
  position: absolute;
  right: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  font-family: inherit;
}

.search button {
  background: linear-gradient(135deg, var(--o), var(--od));
  color: #fff;
  border: 1.5px solid var(--od);
  padding: 11px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 114, 36, 0.25);
  transition: background .2s, transform .1s;
}

.search button:hover {
  background: linear-gradient(135deg, #ff7a2f, var(--od));
}

.search button:active {
  transform: scale(0.98);
}

/* Auto Suggest Dropdown */
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-suggest.open {
  display: block;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-light);
  transition: background .15s;
}

.suggest-item:hover,
.suggest-item.active {
  background: var(--o-soft);
}

.suggest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.suggest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggest-info {
  flex: 1;
  min-width: 0;
}

.suggest-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-cat {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 1px;
}

.suggest-price {
  text-align: right;
  flex-shrink: 0;
}

.suggest-price .now {
  font-weight: 700;
  color: var(--o);
  font-size: 14px;
}

.suggest-price .was {
  font-size: 11px;
  color: var(--mut);
  text-decoration: line-through;
  display: block;
}

.suggest-footer {
  display: block;
  padding: 10px;
  text-align: center;
  background: #f8fafc;
  color: var(--o);
  font-weight: 600;
  font-size: 13px;
}

.suggest-empty {
  padding: 18px;
  text-align: center;
  color: var(--mut);
  font-size: 13px;
}

/* Header Action Pills */
.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.head-user,
.head-login {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
}

.head-user:hover,
.head-login:hover {
  border-color: var(--o);
  color: var(--o);
  background: var(--o-soft);
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--o), var(--od));
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 114, 36, 0.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.cart-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 114, 36, 0.4);
}

.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 5px;
  flex-shrink: 0;
}

.cart-icon-box i {
  position: absolute;
  top: -7px;
  right: -8px;
  background: #fff;
  color: var(--o);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  padding: 0 4px;
  border-radius: 10px;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  line-height: 1;
  z-index: 2;
}

.cart-icon-box i.bump {
  animation: pop .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-pill-txt {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   HOMEPAGE: HERO SLIDER & CATEGORIES SIDEBAR
   ========================================================================== */

.top {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  margin-top: 18px;
  position: relative;
}

/* Enterprise Hero Categories Sidebar */
.cats,
.hero-cat-sidebar {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 50;
}

.cats-head {
  padding: 12px 18px 10px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cats-head svg {
  color: var(--o);
  flex-shrink: 0;
}

.cats-head h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-weight: 800;
  margin: 0;
}

.cats-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  position: relative;
}

.hero-cat-row {
  position: relative;
  width: 100%;
}

.hero-cat-row .cat-item,
.cats .cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
  box-sizing: border-box;
  line-height: 1.4;
}

.hero-cat-row:hover>.cat-item,
.hero-cat-row .cat-item:hover,
.cats .cat-item:hover {
  background: #f8fafc;
  color: var(--o);
  padding-left: 22px;
}

.c-ic {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.c-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-chevron-svg,
.c-arr {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-cat-row:hover .c-chevron-svg,
.hero-cat-row:hover .c-arr,
.cat-item:hover .c-arr {
  color: var(--o);
  transform: translateX(3px);
}

/* Floating Right-Side Flyout Drawer */
.hero-sub-flyout {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 260px;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
  z-index: 100;
  margin-left: 1px;
}

.hero-cat-row:hover .hero-sub-flyout {
  display: flex;
  flex-direction: column;
}

.hero-flyout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-flyout-viewall {
  font-size: 11.5px;
  color: var(--o);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  transition: color 0.15s ease;
}

.hero-flyout-viewall:hover {
  text-decoration: underline;
  color: var(--od);
}

.hero-flyout-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 380px;
  overflow-y: auto;
}

.hero-flyout-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.hero-flyout-item:hover {
  background: var(--o-soft);
  color: var(--o);
  padding-left: 20px;
  font-weight: 600;
}

.hero-flyout-item .sub-caret {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.hero-flyout-item:hover .sub-caret {
  color: var(--o);
}

/* Main Hero Slider */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 64px;
  color: #fff;
  opacity: 0;
  transition: opacity .6s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  border-radius: 16px;
}

.slide.poster-slide {
  padding: 0 !important;
  background: transparent !important;
}

.slide.on {
  opacity: 1;
  z-index: 1;
}

/* Poster Mode Styling */
.hero-slide-poster-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  border-radius: 16px;
}

.hero-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.hero-slide-poster-link:hover .hero-poster-img {
  transform: scale(1.015);
}

/* Cinematic Scrim for Text Mode */
.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.slide img:not(.hero-poster-img) {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  max-height: 86%;
  max-width: 55%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.25));
  transition: transform .6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.slide.on img:not(.hero-poster-img) {
  transform: translateY(-50%) scale(1.02);
}

.slide-content {
  position: relative;
  max-width: 480px;
  z-index: 2;
}

.slide-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-slide-title,
.slide h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.hero-slide-subtitle,
.slide p {
  font-size: 1.05rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 24px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform .2s, box-shadow .2s;
}

.slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: var(--o);
}

/* Universal Image Upload Size Recommendations */
.upload-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  margin-top: 6px;
  line-height: 1.4;
}

.upload-hint-badge strong {
  color: #0f172a;
  font-weight: 700;
}

/* Slider Controls */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--ink);
  border: none;
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all .2s;
}

.nav:hover {
  background: #fff;
  color: var(--o);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}

.dots {
  position: absolute;
  bottom: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.dots b {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all .3s;
}

.dots b.on {
  width: 24px;
  background: #fff;
}

/* ==========================================================================
   PERKS STRIP (TRUST BADGES)
   ========================================================================== */

.perks-strip {
  margin-top: 18px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.perk-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

@media (hover: hover) and (pointer: fine) {
  .perk-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

.perk-card:active {
  transform: scale(0.98);
}

.perk-txt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   HOMEPAGE: SECTION HEADERS & BOXES
   ========================================================================== */

.box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.box.plain {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.bh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--line-light);
}

.bh-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bh h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

.bh-icon {
  font-size: 20px;
}

.bh-link {
  color: var(--o);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--o-soft);
  transition: all .2s;
}

.bh-link:hover {
  background: var(--o);
  color: #fff;
}

/* Flash Sale Specifics */
.flash-box {
  border-color: rgba(245, 114, 36, 0.25);
  box-shadow: 0 6px 20px -4px rgba(245, 114, 36, 0.08);
}

.flame-badge {
  font-size: 22px;
  animation: bob 1.8s ease-in-out infinite;
}

.flash-timer {
  background: #0f172a;
  color: #ff9a56;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Category Grid Tiles */
.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 14px;
}

.cat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s, border-color .2s;
}

@media (hover: hover) and (pointer: fine) {
  .cat-tile:hover {
    transform: translateY(-4px);
    border-color: var(--o);
    box-shadow: var(--shadow-hover);
  }

  .cat-tile:hover .cat-avatar {
    transform: scale(1.1) rotate(-4deg);
  }

  .cat-tile:hover .cat-tile-name {
    color: var(--o);
  }
}

.cat-tile:active {
  transform: scale(0.96);
}

.cat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--o-soft);
  display: grid;
  place-items: center;
  font-size: 26px;
  transition: transform .3s;
}

.cat-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.cat-tile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.cat-tile:hover .cat-tile-name {
  color: var(--o);
}

/* Just for you header */
.jfy-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 16px;
}

.jfy-badge {
  font-size: 20px;
}

.jfy {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   PRODUCT CARDS (ELEVATED ANATOMY)
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.grid.six {
  grid-template-columns: repeat(6, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s, border-color .2s;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 114, 36, 0.3);
  }
}

.card:active {
  transform: scale(0.985);
}

.card .clink {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Thumbnail & Floating Badges */
.card .thumb {
  position: relative;
  aspect-ratio: 1;
  background: #f8fafc;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .thumb img {
  transform: scale(1.06);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.card .badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.badge.b-off {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.badge.b-flash {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.badge.b-out {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
}

.card-urgency {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(254, 242, 242, 0.95);
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Card Body Info */
.card .info {
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

.card:hover .name {
  color: var(--o);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.card .price {
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 800;
  color: var(--o);
}

.card .old {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--mut);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--mut);
}

.meta-row .rating {
  color: #d97706;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Card Add Button */
.card .addf {
  padding: 0 14px 14px;
}

.card .add {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--o-soft);
  color: var(--o);
  border: 1.5px solid rgba(245, 114, 36, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.card .add:hover:not(:disabled) {
  background: var(--o);
  color: #fff;
  border-color: var(--o);
  box-shadow: 0 4px 12px rgba(245, 114, 36, 0.25);
}

.card .add:active:not(:disabled) {
  transform: scale(0.97);
}

.card .add.done {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}

/* Show More Button */
.more {
  text-align: center;
  margin: 28px 0;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--o);
  color: var(--o);
  padding: 12px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}

.btn-more:hover {
  background: var(--o);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 114, 36, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   SHOPPING CART & QUANTITY STEPPER (AUTO-UPDATED)
   ========================================================================== */

.cartwrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  margin-top: 14px;
  align-items: start;
}

.line {
  display: grid;
  grid-template-columns: 80px 1fr auto 120px 32px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s, opacity .3s, transform .3s;
}

.line:hover {
  background: #fffdfa;
}

.lthumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
  display: grid;
  place-items: center;
}

.lthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lname a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.lname a:hover {
  color: var(--o);
}

.lname .price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mut);
}

.ltotal {
  text-align: right;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.x {
  background: none;
  border: 0;
  color: var(--mut);
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all .15s;
}

.x:hover {
  color: #ef4444;
  background: #fee2e2;
}

.line.removing {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}

.cartbtns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 12px;
}

.cartbtns a {
  color: var(--o);
  font-weight: 600;
  font-size: 13.5px;
}

.cart-status {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}

.cart-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--o);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* Stepper Component */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color .2s, box-shadow .2s;
  user-select: none;
}

.qty-stepper:focus-within,
.qty-stepper:hover {
  border-color: var(--o);
  box-shadow: 0 0 0 2px rgba(245, 114, 36, 0.14);
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f8fafc;
  border: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background .15s, color .15s, transform .1s;
  padding: 0;
}

.qty-btn:hover:not(:disabled) {
  background: var(--o-soft);
  color: var(--o);
}

.qty-btn:active:not(:disabled) {
  background: #ffdcc4;
  transform: scale(0.92);
}

.qty-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  background: #f8fafc;
}

.qty-input {
  width: 42px !important;
  height: 32px !important;
  border: none !important;
  border-left: 1px solid var(--line) !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  background: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.qty-input:focus {
  outline: none !important;
  background: #fffdfa !important;
}

/* Order Summary Box */
.summary {
  position: sticky;
  top: 86px;
}

.summary h2 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary p {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14.5px;
}

.summary small {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  margin-bottom: 8px;
  background: var(--o-soft);
  padding: 6px 10px;
  border-radius: 6px;
}

.tot {
  border-top: 1.5px solid var(--line);
  margin-top: 10px;
  padding-top: 14px !important;
  font-size: 18px !important;
  font-weight: 800;
}

.tot b {
  color: var(--o);
  font-size: 22px;
}

/* Generic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--o), var(--od));
  color: #fff !important;
  border: 1px solid var(--od);
  padding: 11px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 114, 36, 0.25);
  transition: all .2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 114, 36, 0.35);
}

.btn.ghost {
  background: #fff;
  color: var(--o) !important;
  border-color: var(--o);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover {
  background: var(--o-soft);
}

.btn.wide {
  width: 100%;
  padding: 13px;
  font-size: 15px;
}

/* ==========================================================================
   FOOTER & MOBILE BOTTOM APP BAR
   ========================================================================== */

footer {
  background: #0f172a;
  color: #94a3b8;
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

footer a,
footer p {
  color: #94a3b8;
  font-size: 13.5px;
  margin-bottom: 8px;
  display: block;
}

footer a:hover {
  color: #ff9a56;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pay-chip {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #334155;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
  padding: 16px 0;
  font-size: 12.5px;
  text-align: center;
  color: #64748b;
}

/* Mobile Bottom Navigation Bar */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 95;
  height: 60px;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.mob-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  height: 100%;
}

.mob-link.on,
.mob-link:hover {
  color: var(--o);
}

.mob-cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.mob-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  background: var(--o);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.6);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.val-bump {
  animation: valBump .35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes valBump {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    color: var(--o);
  }

  100% {
    transform: scale(1);
  }
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}

#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#toast a {
  color: #ff9a56;
  text-decoration: underline;
  margin-left: 8px;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--mut);
  margin: 16px 0 14px;
}

.crumbs a {
  color: var(--mut);
  text-decoration: none;
  transition: color .15s;
}

.crumbs a:hover {
  color: var(--o);
}

.crumbs b {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   SHOP LISTING & CATEGORIES LAYOUT
   ========================================================================== */

.shop {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 10px;
}

.shop .cats {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop .cats h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mut);
  padding: 8px 10px;
  margin-bottom: 4px;
  font-weight: 700;
}

.shop .cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s;
}

.shop .cats a:hover {
  background: var(--o-soft);
  color: var(--o);
  transform: translateX(3px);
}

.shop .cats a.on {
  background: linear-gradient(135deg, var(--o), var(--od));
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 114, 36, 0.25);
}

.shop .cats a span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 16px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 18px;
  padding: 16px 20px;
}

.toolbar h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.toolbar .meta {
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 500;
}

.toolbar select {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}

.toolbar select:focus {
  outline: none;
  border-color: var(--o);
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 16px;
}

.pager a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}

.pager a:hover {
  border-color: var(--o);
  color: var(--o);
  transform: translateY(-2px);
}

.pager a.on {
  background: var(--o);
  color: #fff;
  border-color: var(--o);
  box-shadow: 0 4px 12px rgba(245, 114, 36, 0.3);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) & FUNNEL
   ========================================================================== */

.pdp {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 36px;
  align-items: start;
}

.pimg {
  position: sticky;
  top: 90px;
}

.gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zoom-container {
  aspect-ratio: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  background: #f8fafc;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .15s ease-out;
  cursor: crosshair;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px;
}

.gthumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  background: #f8fafc;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  display: grid;
  place-items: center;
}

.gthumb:hover,
.gthumb.active {
  border-color: var(--o);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 114, 36, 0.25);
}

.gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pinfo {
  display: flex;
  flex-direction: column;
}

.pdp-hero-badge {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.pdp-headline {
  font-size: 14.5px;
  color: var(--mut);
  line-height: 1.5;
  margin-bottom: 8px;
}

.funnel-benefits {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: all .2s;
}

.benefit-item:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.benefit-item span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}

.benefit-item p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.pdp-video {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pdetails {
  margin-top: 20px;
}

.pspecs {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pspecs th,
.pspecs td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-light);
}

.pspecs th {
  background: #f8fafc;
  color: var(--mut);
  font-weight: 600;
  width: 32%;
  text-align: left;
}

.pspecs td {
  color: var(--ink);
  font-weight: 500;
}

.pspecs tr:last-child th,
.pspecs tr:last-child td {
  border-bottom: none;
}

.pdp-faq {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open {
  border-color: var(--o);
}

.faq-q {
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-q::after {
  content: '▼';
  font-size: 10px;
  color: var(--mut);
  transition: transform .25s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(180deg);
  color: var(--o);
}

.faq-a {
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

.pdp-reviews {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.rating-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.score-box .num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  font-family: var(--font-num);
}

.score-box .stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 6px 0 4px;
}

.score-box .count {
  font-size: 12px;
  color: var(--mut);
}

.bars-box {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.bar-row span {
  width: 36px;
  color: var(--mut);
}

.bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: var(--radius-full);
}

.bar-row b {
  width: 32px;
  text-align: right;
  color: var(--mut);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.rc-author {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-badge {
  font-size: 10.5px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
}

.rc-date {
  font-size: 12px;
  color: var(--mut);
}

.rc-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.rc-text {
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.5;
}

.review-form-wrap {
  margin-top: 24px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.review-form-wrap h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.star-rating-select {
  display: inline-flex;
  gap: 4px;
  font-size: 26px;
  color: #cbd5e1;
  cursor: pointer;
  margin-top: 4px;
  user-select: none;
}

.star-rating-select span.selected,
.star-rating-select span.hovered {
  color: #f59e0b;
}

.sticky-buy-bar {
  display: none;
}

/* ==========================================================================
   FORMS & CHECKOUT COMPONENTS
   ========================================================================== */

.fld {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.fld input,
.fld textarea,
.fld select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.fld input:focus,
.fld textarea:focus,
.fld select:focus {
  outline: none;
  border-color: var(--o);
  box-shadow: 0 0 0 3px var(--o-glow);
}

.fld em {
  font-size: 12px;
  color: #ef4444;
  font-style: normal;
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.fld input::placeholder {
  color: var(--mut-light);
}

.form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.box.empty {
  text-align: center;
  padding: 56px 24px;
  max-width: 580px;
  margin: 30px auto;
}

.box.empty h1 {
  font-size: 26px;
  margin-bottom: 8px;
}

.box.empty p {
  color: var(--mut);
  font-size: 15px;
  margin-bottom: 22px;
}

/* ==========================================================================
   RESPONSIVENESS & TOUCH SCREEN OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 1000px) {
  .top {
    grid-template-columns: 1fr;
  }

  .cats {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cartwrap {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }
}

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

  /* Mobile Bottom Navigation Bar with iOS Safe Area */
  .mobile-nav {
    display: flex;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mob-link:active {
    transform: scale(0.92);
  }

  .topbar {
    display: none;
  }

  /* Mobile Header Layout */
  .head .wrap {
    gap: 10px;
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .search {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 4px;
    min-width: 0;
  }

  .search input {
    padding: 11px 16px 11px 38px !important;
    font-size: 16px !important;
  }

  .search-kbd {
    display: none;
  }

  .head-actions {
    margin-left: auto;
    gap: 8px;
  }

  .head-user,
  .head-login {
    padding: 6px 12px;
    font-size: 12.5px;
  }

  .cart-pill {
    padding: 6px 14px 6px 10px;
    font-size: 13px;
  }

  /* Prevent iOS Safari 16px auto-zoom glitch across all forms */
  input,
  select,
  textarea,
  .fld input,
  .fld select,
  .fld textarea,
  .qty-input,
  #couponCodeInput,
  #cityInput,
  .review-form-wrap input,
  .review-form-wrap textarea {
    font-size: 16px !important;
  }

  /* Mobile Grid: 2 columns */
  .grid,
  .grid.six,
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card .info {
    padding: 10px 10px 8px;
  }

  .card .name {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .card .price {
    font-size: 16px;
  }

  .card .addf {
    padding: 0 10px 10px;
  }

  .card-badges {
    top: 6px;
    left: 6px;
    gap: 4px;
  }

  .card .badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* Hero Slider on Mobile */
  .slider {
    min-height: 240px;
  }

  .slide {
    padding: 0 20px;
  }

  .slide h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .slide p {
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.4;
  }

  .slide img {
    max-width: 48%;
    max-height: 72%;
  }

  .slide-btn {
    padding: 10px 22px;
    font-size: 13.5px;
  }

  /* Shop Page Mobile Category Ribbon (Horizontal swipe instead of 500px vertical block) */
  .shop {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 6px;
  }

  .shop .cats {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--card) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--line) !important;
  }

  .shop .cats::-webkit-scrollbar {
    display: none;
  }

  .shop .cats h3 {
    display: none !important;
  }

  .shop .cats a {
    flex-shrink: 0 !important;
    padding: 7px 14px !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
    font-size: 13px !important;
    box-shadow: var(--shadow-sm);
  }

  .shop .cats a.on {
    background: linear-gradient(135deg, var(--o), var(--od)) !important;
    color: #fff !important;
    border-color: var(--od) !important;
  }

  /* Mobile PDP */
  .pdp {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pimg {
    position: static;
  }

  .gallery-thumbs {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .form .two {
    grid-template-columns: 1fr;
  }

  /* PDP Clean Bottom Experience: Hide redundant mobile nav on PDP */
  body.page-product {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.page-product .mobile-nav {
    display: none !important;
  }

  body.page-product .sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: 0 !important;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 16px max(12px, env(safe-area-inset-bottom, 12px)) !important;
    align-items: center;
    justify-content: space-between;
    z-index: 95;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }

  .sbb-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--o);
    font-family: var(--font-num);
  }

  .sbb-price s {
    font-size: 12px;
    color: var(--mut);
    margin-left: 6px;
  }

  .sbb-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .sbb-btn {
    background: linear-gradient(135deg, var(--o), var(--od));
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 14.5px;
    box-shadow: 0 4px 12px rgba(245, 114, 36, 0.3);
    cursor: pointer;
  }

  .sbb-btn.ghost {
    background: var(--o-soft);
    color: var(--o);
    border: 1.5px solid var(--o);
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: var(--shadow-sm);
  }

  .sbb-btn:active {
    transform: scale(0.95);
  }

  /* Touch Targets for Steppers & Remove Buttons */
  .qty-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
  }

  .qty-input {
    width: 46px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  /* Mobile Cart Line */
  .line {
    grid-template-columns: 68px 1fr auto !important;
    gap: 8px 12px !important;
    position: relative !important;
    padding: 12px 0 !important;
  }

  .line .lthumb {
    grid-row: 1 / span 2;
    align-self: center;
    width: 68px;
    height: 68px;
  }

  .line .lname {
    grid-column: 2;
    grid-row: 1;
    padding-right: 38px;
  }

  .line .qty-stepper,
  .line input {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .line .ltotal {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }

  .line .x {
    position: absolute;
    top: 6px;
    right: 0;
    width: 38px !important;
    height: 38px !important;
    font-size: 19px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation;
  }

  footer .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  footer .wrap {
    grid-template-columns: 1fr;
  }

  .bh {
    flex-wrap: wrap;
    gap: 10px;
  }

  .bh-title-group {
    flex-wrap: wrap;
  }

  .bh-link {
    margin-left: auto;
  }
}

/* ==========================================================================
   Category Navigation Bar, Dropdowns & Subcategories Hierarchy
   ========================================================================== */
.cat-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 80;
}

.cat-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}

/* Browse Categories Button */
.cat-menu-dropdown {
  position: relative;
}

.cat-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--o);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 6px rgba(245, 114, 36, 0.25);
}

.cat-menu-btn:hover {
  background: var(--od);
}

.cat-caret {
  transition: transform .2s;
}

/* Flyout Dropdown Menu (Desktop) */
.cat-flyout-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 6px;
  padding: 8px 0;
  z-index: 999;
}

.cat-menu-dropdown:hover .cat-flyout-box,
.cat-menu-dropdown.open .cat-flyout-box {
  display: block;
}

.cat-flyout-row {
  position: relative;
}

.cat-flyout-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all .15s;
}

.cat-flyout-link:hover,
.cat-flyout-row:hover>.cat-flyout-link {
  background: var(--o-soft);
  color: var(--o);
}

.c-arrow {
  margin-left: auto;
  font-size: 16px;
  color: var(--mut);
}

/* Sub-categories Flyout Pane */
.cat-sub-pane {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  margin-left: 2px;
  z-index: 1000;
}

.cat-flyout-row:hover .cat-sub-pane {
  display: block;
}

.cat-sub-head {
  padding: 0 16px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
  border-bottom: 1px solid var(--line-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cat-sub-links {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.cat-sub-item-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  text-decoration: none;
  transition: all .15s;
}

.cat-sub-item-link:hover {
  background: var(--o-soft);
  color: var(--o);
  font-weight: 600;
}

.sub-lead {
  color: var(--mut-light);
  font-size: 12px;
}

/* Quick Nav Links */
.cat-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 14px;
}

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .18s ease-in-out;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-link-item:hover {
  color: var(--o);
  background: #f1f5f9;
}

.nav-link-item.active {
  color: var(--o);
  background: #fff3ea;
  font-weight: 700;
}

.nav-flash-item {
  color: #dc2626 !important;
  font-weight: 700;
}

.nav-flash-item .flash-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fee2e2;
  border-radius: 4px;
  padding: 2px 4px;
}

.nav-flash-item:hover {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.track-badge-icon {
  font-size: 14px;
  line-height: 1;
}

/* Mobile Toggle */
.mob-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  .cat-nav-links {
    display: none;
  }

  .mob-menu-btn {
    display: inline-flex;
  }
}

/* Mobile Drawer */
.mob-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 10000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transition: left .25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mob-nav-drawer.open {
  left: 0;
}

.mob-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}

.mob-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--mut);
  cursor: pointer;
}

.mob-drawer-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-quick-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.mob-quick-links a {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 8px;
  color: var(--ink);
  text-decoration: none;
}

.mob-sec-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--mut);
  margin-top: 4px;
}

.mob-cats-tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}

.mob-cat-row:hover {
  background: var(--line-light);
}

.mob-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  flex: 1;
}

.mob-sub-btn {
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
}

.mob-sub-tree {
  padding-left: 20px;
  border-left: 2px solid var(--line);
  margin: 4px 0 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 13px;
  color: var(--mut);
  text-decoration: none;
}

.mob-sub-item:hover {
  color: var(--o);
}

.mob-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.mob-drawer-backdrop.open {
  display: block;
}

/* ===================================================
   BULLETPROOF SHOP SIDEBAR COMPONENT (ISOLATED SCOPE)
   =================================================== */
.shop-filter-sidebar {
  width: 100%;
  position: static !important;
  display: block !important;
}

.shop-filter-sidebar .filter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: static !important;
}

.shop-filter-sidebar .filter-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.shop-filter-sidebar .filter-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0f172a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.shop-filter-sidebar .sidebar-category-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  position: static !important;
}

.shop-filter-sidebar .cat-nav-group {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-filter-sidebar .cat-nav-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  background: transparent !important;
  position: static !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
}

.shop-filter-sidebar .cat-nav-item:hover {
  background: #f8fafc !important;
  color: #ff5722 !important;
  transform: translateX(3px);
}

.shop-filter-sidebar .cat-nav-item.active {
  background: #fff4ed !important;
  color: #ff5722 !important;
  font-weight: 700 !important;
}

.shop-filter-sidebar .cat-nav-info {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.shop-filter-sidebar .cat-nav-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
}

.shop-filter-sidebar .cat-nav-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.shop-filter-sidebar .cat-nav-name {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.shop-filter-sidebar .cat-nav-count {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  flex-shrink: 0 !important;
}

.shop-filter-sidebar .cat-nav-item.active .cat-nav-count {
  background: #ffe3d3 !important;
  color: #ff5722 !important;
}

/* Subcategory Drawer */
.shop-filter-sidebar .cat-sub-drawer {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding-left: 28px !important;
  margin-top: 4px !important;
  margin-bottom: 6px !important;
  border-left: 2px solid #fed7aa !important;
  margin-left: 20px !important;
  position: static !important;
}

.shop-filter-sidebar .cat-sub-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  color: #64748b !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  position: static !important;
  transition: all 0.15s ease !important;
  line-height: 1.3 !important;
}

.shop-filter-sidebar .cat-sub-item:hover {
  color: #ea580c !important;
  background: #fff7ed !important;
}

.shop-filter-sidebar .cat-sub-item.active {
  color: #c2410c !important;
  font-weight: 700 !important;
  background: #ffedd5 !important;
}

.shop-filter-sidebar .sub-branch {
  color: #fdba74 !important;
  margin-right: 6px !important;
  font-weight: 700 !important;
}

.shop-filter-sidebar .sub-count {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
}

/* Product Variants: Size & Gender Interactive Pills */
.variant-selector {
  margin-bottom: 18px;
}

.variant-selector-title {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.variant-selector-title b {
  color: var(--o);
  margin-left: 6px;
  font-weight: 800;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-pill {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.variant-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.variant-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #1e293b);
  background: #fff;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.variant-pill:hover span {
  border-color: var(--o, #f57224);
  background: var(--o-soft, #fff8f4);
  color: var(--o, #f57224);
}

.variant-pill input[type="radio"]:checked+span {
  border-color: var(--o, #f57224);
  background: var(--o, #f57224);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 114, 36, 0.3);
}

.variant-selector.has-error .variant-pill span {
  border-color: #ef4444;
  background: #fef2f2;
}

.variant-error-msg {
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.variant-selector.has-error .variant-error-msg {
  display: block;
}

.variant-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  background: #f1f5f9;
  color: #334155;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-weight: 500;
}

.variant-badge-tag b {
  font-weight: 700;
  color: #0f172a;
}