/* ==========================================================================
   99ShopOfficial.com - Enterprise Production E-Commerce & ERP Stylesheet
   Themes: Teal Accent (#167389) & Forest Green (#034b27)
   ========================================================================== */

:root {
  /* Default: Teal Accent Theme */
  --primary: #167389;
  --primary-dark: #0f5667;
  --primary-light: #ecfeff;
  --primary-border: #99f6e4;
  --accent: #f59e0b;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Forest Green Theme Variable Override */
body.theme-forest {
  --primary: #034b27;
  --primary-dark: #023e20;
  --primary-light: #ebf1ee;
  --primary-border: #9fbbad;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT & HEADER
   ========================================================================== */
.topAnnouncement {
  background: #09131f;
  color: #94a3b8;
  font-size: 12px;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topAnnouncement strong { color: #f8fafc; }
.topAnnouncement a { color: #38bdf8; font-weight: 700; margin-left: 6px; }
.themeSwitcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.themeDot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff60;
  transition: transform 0.15s;
}
.themeDot:hover { transform: scale(1.15); }
.themeDot.teal { background: #167389; }
.themeDot.green { background: #034b27; }

.topbar {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: background 0.3s;
}

.brandWrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
}
.brand span { color: var(--accent); }

.readyStockBadge {
  background: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.searchBox {
  flex: 1;
  max-width: 620px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 14px;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}

.searchBox input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: var(--text);
  padding: 4px 0;
}

.visualSearchBtn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.visualSearchBtn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.searchBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: opacity 0.2s;
}
.searchBtn:hover { opacity: 0.92; }

.headerRight {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.headerHotline {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  border-right: 1px solid rgba(255,255,255,0.25);
  padding-right: 14px;
}
.headerHotline strong {
  color: #fff;
  font-size: 13px;
}

.badgeIcon {
  position: relative;
  background: rgba(255, 255, 255, 0.18);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.badgeIcon:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.badgeNum {
  position: absolute;
  top: -4px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
}

.trackLinkBtn {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.trackLinkBtn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.userBox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
}
.userAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

/* Secondary Sub-Navbar */
.subNavbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 80;
}
.subLinks {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.subLinks a {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.subLinks a:hover {
  color: var(--primary);
}
.subNotice {
  font-size: 12px;
  color: #059669;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   2. HOMEPAGE HERO & 240px SIDEBAR LAYOUT
   ========================================================================== */
.container {
  max-width: 1360px;
  margin: 16px auto 60px;
  padding: 0 16px;
}

.homeHeroGrid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  margin-bottom: 24px;
  align-items: stretch;
}

/* 240px Category Sidebar */
.sideNav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.sideNavHeading {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.catList {
  list-style: none;
  flex: 1;
}
.catItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.15s;
}
.catItem:hover, .catItem.active {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}
.catItem span.icon {
  margin-right: 8px;
  font-size: 14px;
}
.catCount {
  font-size: 10px;
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}
.aiCatSection {
  background: #faf5ff;
  border-top: 2px dashed #d8b4fe;
  padding: 10px 12px;
}
.aiCatHeading {
  font-size: 11px;
  font-weight: 800;
  color: #7e22ce;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.aiBadge {
  background: #7e22ce;
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
}

/* Multi-Slide Hero Carousel */
.heroSliderContainer {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.heroSlidesWrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.heroSlide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 48px;
  color: #fff;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.heroSlide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.heroSlide.slide1 {
  background: linear-gradient(135deg, #0f5667 0%, #167389 50%, #034b27 100%);
}
.heroSlide.slide2 {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}
.heroSlide.slide3 {
  background: linear-gradient(135deg, #831843 0%, #be185d 50%, #db2777 100%);
}

.heroContent h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.heroContent p {
  font-size: 15px;
  opacity: 0.92;
  max-width: 500px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.heroBadgeTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.heroCtaRow {
  display: flex;
  gap: 12px;
  align-items: center;
}
.heroBtnPrimary {
  background: #fff;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}
.heroBtnPrimary:hover { transform: translateY(-2px); }
.heroBtnOutline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.heroStatsCol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.heroStatCard {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
  min-width: 140px;
}
.heroStatCard .big {
  font-size: 24px;
  font-weight: 800;
}
.heroStatCard .label {
  font-size: 11px;
  opacity: 0.9;
}

/* Slider Controls */
.sliderArrows {
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 20;
}
.slideArrowBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
}
.slideArrowBtn:hover { background: rgba(255, 255, 255, 0.4); }

.sliderDots {
  position: absolute;
  bottom: 20px;
  left: 48px;
  display: flex;
  gap: 6px;
  z-index: 20;
}
.slideDot {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.slideDot.active {
  background: #fff;
  width: 36px;
}

/* ==========================================================================
   3. TRUST BADGES / VALUE PROPOSITION STRIP
   ========================================================================== */
.trustStrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.trustCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.trustIcon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.trustTitle {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.trustDesc {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   4. TOP CATEGORIES CIRCULAR STRIP
   ========================================================================== */
.categoriesStripSection {
  margin-bottom: 30px;
}
.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.sectionTitle {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.viewAllLink {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.viewAllLink:hover { text-decoration: underline; }

.catGridCircles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.catCircleCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.catCircleCard:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.catCircleImg {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
  border: 2px solid #f1f5f9;
}
.catCircleName {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.catCircleCount {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   5. FLASH DEALS WITH COUNTDOWN TIMER
   ========================================================================== */
.flashSection {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.flashHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.flashTimerWrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.flashTimerBoxes {
  display: flex;
  gap: 4px;
}
.ftBox {
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   6. PRODUCT CARD & GRIDS
   ========================================================================== */
.homeProductGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.prodCard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.prodCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.discountBadge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
.cardThumb {
  height: 200px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.cardThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.prodCard:hover .cardThumb img {
  transform: scale(1.06);
}
.cardBody {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cardTitle {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.cardTitle:hover { color: var(--primary); }
.cardMeta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cardPriceRow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.cardPrice {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.cardOldPrice {
  font-size: 12.5px;
  color: #94a3b8;
  text-decoration: line-through;
}
.cardTierNote {
  font-size: 11px;
  color: #059669;
  font-weight: 700;
  background: #ecfdf5;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.cardActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cardBtn {
  border: none;
  padding: 9px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.15s;
}
.cardBtn:hover { opacity: 0.9; }
.cardBtn.cart {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}
.cardBtn.buy {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   7. VIRAL TIKTOK / RESELLER PROMO BANNER
   ========================================================================== */
.resellerBanner {
  background: linear-gradient(90deg, #18181b 0%, #27272a 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border: 1px solid #3f3f46;
}
.resellerBanner h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.resellerBanner p {
  font-size: 13.5px;
  color: #a1a1aa;
  max-width: 580px;
}

/* ==========================================================================
   8. TESTIMONIALS & CUSTOMER REVIEWS
   ========================================================================== */
.testimonialGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.testiCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testiStars {
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 8px;
}
.testiQuote {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
}
.testiUser {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}
.testiAvatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}
.testiName {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}
.testiRole {
  font-size: 10.5px;
  color: #64748b;
}

/* ==========================================================================
   9. COMPLETE ENTERPRISE FOOTER
   ========================================================================== */
.siteFooter {
  background: #09131f;
  color: #94a3b8;
  padding: 50px 0 20px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
}
.footerContainer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}
.footerGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footerCol h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footerCol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footerCol ul a:hover {
  color: #38bdf8;
}
.footerBottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   10. PRODUCT DETAILS (USER'S 3-COLUMN REFERENCE CODE)
   ========================================================================== */
.titleBar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.productMainTitle {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}
.metaRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
}
.soldPill {
  background: #0284c7;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.ratingPill {
  background: #fef3c7;
  color: #b45309;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.actionTools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.toolBtn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.toolBtn.primaryBtn {
  background: #059669;
  color: #fff;
  border-color: #059669;
}

.productGrid {
  display: grid;
  grid-template-columns: 360px 1fr 320px;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.galleryPad { padding: 12px; }
.mainImgBox {
  height: 330px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.mainImgBox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbRow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.thumbItem {
  height: 58px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #f9fafb;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumbItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbItem.active {
  border-color: var(--primary);
  background: #ecfeff;
}

/* VIP Banner & Slabs */
.vipBanner {
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.vipTitle { font-size: 15px; font-weight: 800; }
.vipSub { font-size: 12px; opacity: 0.95; }
.timerBoxes { display: flex; gap: 5px; }
.tBox {
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 6px;
  border-radius: 5px;
  text-align: center;
  min-width: 34px;
}
.tNum { font-size: 13px; font-weight: 800; display: block; }
.tLbl { font-size: 9px; opacity: 0.9; }

.vipNotice {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 12px 14px;
  font-size: 12px;
  color: #374151;
}
.vipNotice strong {
  color: #b45309;
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}
.progBar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 8px 0 6px;
  overflow: hidden;
}
.progFill {
  width: 15%;
  height: 100%;
  background: #0284c7;
  transition: width 0.4s ease;
}
.progMeta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}
.progMeta a { color: #0284c7; }

.tierSlabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.slab {
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  border-right: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  transition: background 0.15s;
}
.slab:last-child { border-right: none; }
.slab.active {
  background: #ecfeff;
  border-bottom-color: var(--primary);
}
.slabPrice { font-size: 16px; font-weight: 800; color: #111827; }
.slabOld { font-size: 11px; color: #9ca3af; text-decoration: line-through; }
.slabQty { font-size: 11px; color: #4b5563; font-weight: 600; }

.varBox { padding: 14px; }
.varTitle { font-size: 12.5px; margin-bottom: 8px; }
.varTitle span { color: var(--primary); font-weight: 700; }
.varSwatches { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.swatch {
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.swatch.active {
  border-color: var(--primary);
  background: #ecfeff;
  color: var(--primary);
}

.varTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  font-size: 12.5px;
}
.varTable th, .varTable td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.varTable th { background: #f9fafb; font-weight: 700; }
.varTable th:nth-child(2), .varTable td:nth-child(2),
.varTable th:nth-child(3), .varTable td:nth-child(3) {
  text-align: center;
}

.qtyStepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  overflow: hidden;
}
.qtyStepper button {
  width: 26px;
  height: 28px;
  border: none;
  background: #f3f4f6;
  font-weight: 800;
  cursor: pointer;
}
.qtyStepper input {
  width: 50px;
  height: 28px;
  border: none;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}
.addMiniBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Right Summary */
.rightPad {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rightHeading {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.calcList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.calcRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calcRow strong {
  color: var(--primary);
  font-size: 14px;
}
.mainActionRow {
  display: grid;
  grid-template-columns: 44px 1fr 1fr;
  gap: 8px;
}
.favBtn {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.favBtn.active {
  color: #ef4444;
  border-color: #fca5a5;
  background: #fef2f2;
}
.cartBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.buyNowBtn {
  background: #0284c7;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.whatsappQuickBtn {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.compareBtn {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Bottom Tabs */
.bottomGrid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 18px;
  align-items: start;
}
.tabHeader {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #f9fafb;
  flex-wrap: wrap;
}
.tabBtn {
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: #e5e7eb;
  color: #374151;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.tabBtn.active {
  background: var(--primary);
  color: #fff;
}
.tabPanel { padding: 14px; display: none; }
.tabPanel.active { display: block; }

.specTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.specTable tr:nth-child(odd) { background: #f9fafb; }
.specTable td {
  padding: 9px 12px;
  border: 1px solid var(--border);
}
.specTable td:first-child {
  width: 36%;
  color: var(--text-muted);
  font-weight: 600;
}

.crmBox {
  background: #ecfeff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.crmBox p {
  font-size: 12px;
  color: #1e293b;
  margin-bottom: 8px;
  font-weight: 600;
}
.crmBtn {
  background: #0284c7;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.suggestTitle {
  font-size: 15px;
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  color: #0f172a;
}
.suggestItem {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 4px 6px;
}
.suggestItem:hover {
  background: #f0fdf4;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.suggestThumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #f1f5f9;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.suggestThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.suggestItem:hover .suggestThumb img {
  transform: scale(1.06);
}
.sugPriceRow {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}
.sugPrice { font-size: 15px; font-weight: 800; color: var(--primary); }
.sugOld { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
.sugName {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 2px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.sugTags { display: flex; gap: 6px; font-size: 11px; font-weight: 700; align-items: center; flex-wrap: wrap; }
.tagSold { background: #d1fae5; color: #065f46; padding: 2px 6px; border-radius: 4px; }
.tagRep { background: #e0f2fe; color: #075985; padding: 2px 6px; border-radius: 4px; }
.tagStock { background: #fef3c7; color: #92400e; padding: 2px 6px; border-radius: 4px; }

.vipDetailLink {
  color: #0f766e;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s;
}
.vipDetailLink:hover {
  color: #115e59;
}

/* Compact Frequently Bought Together Grid */
.relatedProductsGridCompact {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 1200px) {
  .relatedProductsGridCompact { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .relatedProductsGridCompact { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .relatedProductsGridCompact { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.compactProdCard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: relative;
}
.compactProdCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.compactCardThumb {
  height: 145px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}
.compactCardThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.compactProdCard:hover .compactCardThumb img {
  transform: scale(1.06);
}
.compactCardBody {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.compactCardTitle {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.compactCardTitle:hover {
  color: var(--primary);
}
.compactCardPriceRow {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 2px 0 4px;
}
.compactCardPrice {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}
.compactCardOldPrice {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
}
.compactCardWholesale {
  font-size: 10px;
  color: #059669;
  font-weight: 700;
  background: #ecfdf5;
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}
.compactCardBtnRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.compactCartBtn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 5px 2px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.compactCartBtn:hover {
  background: #e2e8f0;
}
.compactBuyBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 5px 2px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.compactBuyBtn:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   11. DRAWERS, MODALS & FLOATING
   ========================================================================== */
.drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawerOverlay.show { display: block; opacity: 1; }

.cartDrawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  z-index: 201;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cartDrawer.show { right: 0; }

.drawerHeader {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafb;
}
.drawerTitle { font-size: 15px; font-weight: 800; color: #111827; }
.drawerCloseBtn {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}
.drawerBody {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cartItemRow {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}
.cartItemImg {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
}
.cartItemTitle { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.cartItemVariant { font-size: 11px; color: #64748b; }
.cartItemPrice { font-size: 13px; font-weight: 800; color: var(--primary); }

.drawerFooter {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawerTotalRow {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.drawerCheckoutBtn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

/* Modals */
.modalBox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  border-radius: 12px;
  width: 92%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 205;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  display: none;
  transition: transform 0.2s ease;
}
.modalBox.show { display: block; transform: translate(-50%, -50%) scale(1); }
.modalHeader {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: #fff;
}
.modalBody { padding: 20px; }
.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.formGroup { display: flex; flex-direction: column; gap: 5px; }
.formGroup.full { grid-column: span 2; }
.formGroup label { font-size: 12px; font-weight: 700; color: #374151; }
.formGroup input, .formGroup select, .formGroup textarea {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}
.formGroup input:focus, .formGroup select:focus, .formGroup textarea:focus {
  border-color: var(--primary);
}
.paymentOptions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.payOption {
  border: 1.5px solid var(--border);
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.payOption.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.floatingChatBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 90;
  transition: transform 0.2s;
}
.floatingChatBtn:hover { transform: scale(1.05); }

.mobileBottomBar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  justify-content: space-around;
  align-items: center;
}
.mobileTab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.mobileTab.active { color: var(--primary); }

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}
.toast.show { opacity: 1; }

/* Wishlist & Profile Drawer / Modal Styles */
.cardThumb {
  position: relative;
}

.favCardBtn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.favCardBtn:hover, .favCardBtn.active {
  background: #fdf2f8;
  color: #db2777;
  border-color: #db2777;
  transform: scale(1.12);
}

.wishlistItemCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.15s ease;
}

.wishlistItemCard:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.wishlistThumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .homeHeroGrid { grid-template-columns: 1fr; }
  .sideNav { display: none; }
  .catGridCircles { grid-template-columns: repeat(4, 1fr); }
  .homeProductGrid, .testimonialGrid, .trustStrip { grid-template-columns: repeat(2, 1fr); }
  .productGrid, .bottomGrid { grid-template-columns: 1fr; }
  .footerGrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topAnnouncement { display: none; }
  .userBox, .headerHotline { display: none; }
  .mobileBottomBar { display: flex; }
  .floatingChatBtn { bottom: 70px; }
  .catGridCircles { grid-template-columns: repeat(2, 1fr); }
  .homeProductGrid, .testimonialGrid, .trustStrip { grid-template-columns: 1fr; }
  .footerGrid { grid-template-columns: 1fr; }
  .heroSlide { padding: 24px; flex-direction: column; text-align: center; }
  .heroStatsCol { display: none; }
}

/* ==========================================================================
   HOMEPAGE CATEGORY-WISE HORIZONTAL AUTO-SLIDERS
   ========================================================================== */
.catSliderBlock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.catSliderBlock:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.catSliderHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.catSliderTitleWrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s;
}
.catSliderTitleWrap:hover .catSliderTitle {
  color: var(--primary);
  text-decoration: underline;
}
.catSliderTitleWrap:hover .catSliderIcon {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}
.clickableSectionTitle {
  transition: color 0.15s ease;
}
.clickableSectionTitle:hover {
  color: #ef4444 !important;
  text-decoration: underline;
}
.sectionTitle[onclick]:hover {
  color: var(--primary);
}
.catSliderIcon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catSliderTitle {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.catSliderSubtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.catSliderActions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catSliderNavBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.catSliderNavBtn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.06);
}
.catMoreBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: var(--primary);
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.catMoreBtn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.catSliderWrapper {
  position: relative;
  overflow: hidden;
  padding: 6px 2px;
}
.catSliderTrack {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding-bottom: 8px;
}
.catSliderTrack::-webkit-scrollbar {
  height: 6px;
}
.catSliderTrack::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Individual slider product card */
.catSlideCard {
  flex: 0 0 240px;
  max-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.catSlideCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* IN-STOCK vs PRE-ORDER Highlighting */
.catSlideCard.inStockCard {
  border-top: 3px solid #10b981;
}
.catSlideCard.preOrderCard {
  border-top: 3px solid #0284c7;
  background: #fcfdfe;
}

.stockStatusPill {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stockStatusPill.inStock {
  background: #10b981;
  color: #fff;
}
.stockStatusPill.preOrder {
  background: #0284c7;
  color: #fff;
}

.catSlideThumb {
  height: 155px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catSlideThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.catSlideCard:hover .catSlideThumb img {
  transform: scale(1.06);
}

.catSlideBody {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.catSlideTitle {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.catSlideMeta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}
.catSlidePriceRow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.catSlidePrice {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}
.catSlideOldPrice {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}
.catSlideBadgeRow {
  font-size: 11px;
  margin-bottom: 8px;
  border-radius: 4px;
  padding: 3px 6px;
}
.catSlideBadgeRow.inStockRow {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.catSlideBadgeRow.preOrderRow {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* End of line More Card */
.catMoreEndCard {
  flex: 0 0 170px;
  max-width: 170px;
  background: linear-gradient(145deg, #f8fafc, #edf2f7);
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.catMoreEndCard:hover {
  border-color: var(--primary);
  background: #f0fdfa;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}
.catMoreEndIcon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: var(--primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.2s;
}
.catMoreEndCard:hover .catMoreEndIcon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(4px);
}
.catMoreEndTitle {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}
.catMoreEndSub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   DEDICATED CATEGORY PAGE VIEW STYLES
   ========================================================================== */
.categoryHeroBanner {
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}
.catHeroIcon {
  font-size: 44px;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.catHeroTitle {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.catHeroDesc {
  font-size: 13.5px;
  opacity: 0.92;
  line-height: 1.5;
  max-width: 800px;
  margin-bottom: 12px;
}
.catHeroChips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catHeroChip {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.catFilterBar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.catFilterTabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.catFilterTab {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.catFilterTab:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.catFilterTab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.catSortBox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catSortBox select {
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  color: #334155;
  cursor: pointer;
}
