
/* Enhanced arch image fit for uploaded photos */
.top-cat-circle img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
  transform: none !important;
  transition: transform 0.35s ease !important;
}
.top-cat-item:hover .top-cat-circle img {
  transform: scale(1.06) !important;
}


/* Bulletproof Category Navbar Fix */
.category-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  width: 100% !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 10 !important;
}
.category-navbar .nav-container, .category-navbar .category-nav-container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}
.category-navbar .nav-list, .category-navbar .category-nav-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  list-style: none !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
.category-navbar .nav-list li, .category-navbar .category-nav-list li {
  list-style: none !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   DUKANRANT MENSWEAR - CORE DESIGN SYSTEM & STYLESHEET
   Inspired by WoodMart E-Commerce & Modern Luxury Streetwear Stores
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colors */
  --color-primary: #0f172a;       /* Deep slate/black */
  --color-primary-hover: #1e293b;
  --color-accent: #e11d48;        /* High-converting crimson offer red */
  --color-accent-hover: #be123c;
  --color-gold: #f59e0b;          /* Star ratings & VIP tags */
  --color-success: #10b981;       /* Free delivery & stock verified */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;

  /* Backgrounds & Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 35px -6px rgba(15, 23, 42, 0.18);

  /* Typography */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Layout */
  --max-width: 1320px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* space for mobile bottom bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-danger { color: var(--color-accent) !important; }
.text-success { color: var(--color-success) !important; }
.text-gold { color: var(--color-gold) !important; }

.section-heading-center {
  text-align: center;
  margin-bottom: 36px;
}

.sub-heading {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.main-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-glow {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--color-primary);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
}

.btn-whatsapp-full {
  width: 100%;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-full:hover {
  background-color: var(--color-whatsapp-dark);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-dark {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   TOP BAR TICKER
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.78rem;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: marquee 30s linear infinite;
}

.ticker-content span {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ticker-content strong {
  color: #facc15;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-bar-links {
  display: none;
  gap: 16px;
  flex-shrink: 0;
  margin-left: 20px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .top-bar-links {
    display: flex;
  }
}

.top-bar-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
}

.top-bar-links a:hover {
  opacity: 1;
  color: #facc15;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.header-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo-img-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  max-width: 190px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-fast);
}

.header-logo-img:hover {
  transform: scale(1.05);
}

.mobile-brand-logo {
  display: flex;
  align-items: center;
}

.mobile-logo-img {
  height: 44px;
  max-width: 160px;
  object-fit: contain;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-accent {
  color: var(--color-primary);
}

.logo-dot {
  color: var(--color-accent);
}

.logo-tag {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Search Box Wrapper */
.search-box-wrapper {
  position: relative;
  flex: 1;
  max-width: 540px;
  display: none;
}

@media (min-width: 768px) {
  .search-box-wrapper {
    display: block;
  }
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 16px;
  transition: all var(--transition-fast);
}

.search-input-box:focus-within {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.search-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-right: 10px;
}

.search-input-box input {
  width: 100%;
  padding: 11px 0;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
}

.clear-search-btn {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px;
}

/* Live Instant Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-height: 380px;
  overflow-y: auto;
  display: none;
  z-index: 150;
}

.search-suggestions.active {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-suggestion-item:hover {
  background-color: var(--bg-subtle);
}

.search-suggestion-item img {
  width: 48px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.sugg-info h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.sugg-price {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none !important;
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: 1.35rem;
  transition: background var(--transition-fast);
}

.icon-btn:hover {
  background-color: var(--bg-subtle);
}

.action-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.action-icon-wrap .badge {
  top: -6px;
  right: -8px;
  left: auto;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.25rem;
  transition: background var(--transition-fast);
}

.action-btn:hover {
  background-color: var(--bg-subtle);
}

.action-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
}

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: inline-flex;
  }
}

.badge {
  position: absolute;
  top: 2px;
  left: 24px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.badge-accent {
  background-color: var(--color-accent);
}

.cart-btn-highlight {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.cart-btn-highlight:hover {
  background-color: var(--color-primary-hover);
}

.cart-btn-highlight .cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}

.cart-btn-highlight .badge {
  top: -6px;
  right: -8px;
  left: auto;
}

.cart-btn-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.cart-label {
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 500;
  text-transform: uppercase;
}

.cart-total-amount {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #facc15;
}

/* Category Navbar (WoodMart style secondary strip) */
.category-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  z-index: 10;
}

.category-navbar::-webkit-scrollbar {
  display: none;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  white-space: nowrap;
  padding: 8px 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.combo-pill {
  background: #fef2f2;
  color: var(--color-accent) !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full);
}

.sale-link {
  color: var(--color-accent) !important;
  font-weight: 700;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 210;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

.mobile-nav-link i {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.mobile-contact-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-section {
  padding: 24px 0 30px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  background-color: #ffffff;
}

.hero-slides-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.content-slide {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}

@media (min-width: 992px) {
  .content-slide {
    grid-template-columns: 1.2fr 1fr;
    padding: 60px 54px;
  }
}

/* Banner Image Slide */
.banner-img-slide {
  padding: 0 !important;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.hero-banner-full-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

#heroBannerImg3 {
  object-fit: cover !important;
  background: #ffffff !important;
}

.banner-img-slide:hover .hero-banner-full-img {
  transform: scale(1.02);
}

/* Combo Slide */
.combo-slide-hero {
  background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #431407 100%);
  color: #ffffff;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}

@media (min-width: 992px) {
  .combo-slide-hero {
    grid-template-columns: 1.2fr 1fr;
    padding: 60px 54px;
  }
}

/* Slider Controls: Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.prev-arrow {
  left: 16px;
}

.next-arrow {
  right: 16px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.dot-btn {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.dot-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.dot-btn.active {
  width: 26px;
  background: #facc15;
  border-radius: 6px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.4);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.highlight-text {
  background: linear-gradient(90deg, #f43f5e, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-item span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-primary);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 20px;
  right: -10px;
}

.badge-bottom-left {
  bottom: 20px;
  left: -10px;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.badge-text strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

/* ==========================================================================
   FEATURES STRIP
   ========================================================================== */
.features-strip {
  padding: 20px 0 40px;
}

.strip-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 992px) {
  .strip-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  color: var(--color-primary);
  font-size: 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   STORY / CATEGORY CIRCLES SECTION
   ========================================================================== */
.category-stories-section {
  padding: 20px 0 40px;
}

.stories-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.stories-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .stories-grid {
    justify-content: center;
  }
}

.story-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  width: 96px;
  transition: transform var(--transition-fast);
}

.story-circle-item:hover {
  transform: translateY(-4px);
}

.story-img-ring {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  padding: 3px;
  border: 2px solid var(--border-color);
  margin-bottom: 8px;
  transition: all var(--transition-fast);
}

.story-circle-item:hover .story-img-ring {
  border-color: var(--color-primary);
}

.combo-ring {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.3);
}

.story-img-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.story-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.highlight-label {
  color: var(--color-accent);
}

.story-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLASH DEALS / COUNTDOWN BANNER
   ========================================================================== */
.flash-deals-section {
  padding: 10px 0 40px;
}

.flash-banner-card {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .flash-banner-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }
}

.flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.flash-left h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.flash-left p {
  color: #a1a1aa;
  font-size: 0.92rem;
  margin-bottom: 18px;
  max-width: 600px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.time-block {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 54px;
  text-align: center;
}

.time-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #facc15;
  display: block;
  line-height: 1;
}

.time-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #d4d4d8;
  letter-spacing: 0.5px;
}

.time-sep {
  font-size: 1.25rem;
  font-weight: 800;
  color: #facc15;
}

.stock-progress-wrap {
  max-width: 440px;
}

.stock-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #d4d4d8;
  margin-bottom: 6px;
}

.stock-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

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

.btn-flash-cta {
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.btn-flash-cta:hover {
  background: #facc15;
  color: #000000;
  transform: translateY(-2px);
}

/* ==========================================================================
   PRODUCTS CATALOG GRID
   ========================================================================== */
.products-section {
  padding: 40px 0 60px;
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .products-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.pill-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1.5px solid var(--border-color);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pill-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.pill-btn.highlight-pill {
  color: var(--color-accent);
  border-color: #fecdd3;
  background: #fff1f2;
}

.pill-btn.highlight-pill.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  outline: none;
  font-weight: 600;
}

.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.search-indicator {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reset-tag-btn {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Products Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Product Card (WoodMart / Zara aesthetic - Compact & Clean) */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #f1f5f9;
}

.product-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-main {
  transform: scale(1.06);
}

.product-badge-group {
  position: absolute;
  top: 9px;
  left: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}

.prod-badge {
  font-family: var(--font-heading, 'Outfit', 'Plus Jakarta Sans', sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3.5px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  line-height: 1.15;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .prod-badge {
  transform: translateY(-1px) scale(1.02);
}

.badge-sale {
  background: linear-gradient(135deg, #ff2a55 0%, #e11d48 55%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.4);
}

.badge-sale i {
  font-size: 0.72rem;
  color: #ffeb3b;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.badge-combo {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.badge-hot {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}

.badge-new {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
}

.product-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all var(--transition-fast);
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: var(--color-accent);
  background: #ffffff;
  transform: scale(1.1);
}

.quick-view-hover-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  z-index: 4;
}

.product-card:hover .quick-view-hover-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Product Content */
.product-content {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.rating-count {
  color: var(--text-muted);
  font-weight: 500;
}

/* Price Box */
.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 8px;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
}

.price-original {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount-percent {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Size Pill Selector */
.product-sizes {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.size-btn {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 25px;
  height: 25px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.size-btn:hover {
  border-color: var(--color-primary);
}

.size-btn.selected {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Card Bottom Buttons */
.card-actions {
  display: flex;
  gap: 5px;
  margin-top: auto;
}

.btn-card-cart {
  flex: 1;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-card-cart:hover {
  background: var(--color-primary-hover);
}

.btn-card-buy {
  flex: 1.15;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
  white-space: nowrap;
}

.btn-card-buy:hover {
  background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
  transform: translateY(-1px);
}

.btn-card-whatsapp {
  width: 33px;
  height: 33px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--color-whatsapp-dark);
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  cursor: pointer;
}

.btn-card-whatsapp:hover {
  background: var(--color-whatsapp);
  color: #ffffff;
}

/* ==========================================================================
   PROMO GRID SECTION
   ========================================================================== */
.promo-grid-section {
  padding: 20px 0 50px;
}

.promo-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .promo-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  overflow: hidden;
  color: #ffffff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}

.promo-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.promo-card:hover .promo-card-bg {
  transform: scale(1.05);
}

.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 2;
}

.promo-card > * {
  position: relative;
  z-index: 3;
}

.promo-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.promo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.promo-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 18px;
  max-width: 400px;
}

/* ==========================================================================
   CUSTOMER REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-section {
  padding: 40px 0 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.author-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.author-details strong {
  font-size: 0.9rem;
  color: var(--text-main);
}

.author-details span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INSTAGRAM FEED PREVIEW
   ========================================================================== */
.instagram-feed-section {
  padding: 50px 0;
}

.insta-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .insta-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .insta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.insta-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* ==========================================================================
   FOOTER (EXACT MATCH WITH DUKANRANT SCREENSHOT)
   ========================================================================== */
.site-footer {
  background-color: #07152b; /* Deep midnight navy blue matching screenshot */
  color: #ffffff;
  padding-top: 50px;
  position: relative;
  font-family: var(--font-main);
}

.footer-grid-screenshot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 45px;
}

@media (min-width: 768px) {
  .footer-grid-screenshot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid-screenshot {
    grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
    gap: 40px;
  }
}

/* App Download Badges */
.app-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #040c1a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 6px 14px;
  color: #ffffff;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.app-badge-btn:hover {
  background-color: #0b2042;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.app-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}

/* Brand Feather Logo */
.footer-feather-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-feather-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}

.feather-svg {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}

.brand-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.brand-text-main {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.tm-symbol {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 2px;
}

.trust-line {
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.delivery-line {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Social Icons Row */
.footer-social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-box {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.social-box:hover {
  transform: translateY(-3px) scale(1.05);
}

.fb-box {
  background-color: #1877f2;
  border-radius: var(--radius-full);
}

.insta-box {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-radius: 8px;
}

.yt-box {
  background-color: #ff0000;
  border-radius: 6px;
}

.x-box {
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.in-box {
  background-color: #0a66c2;
  border-radius: 6px;
}

.wa-box {
  background-color: #25d366;
  border-radius: var(--radius-full);
}

.trust-box {
  background-color: #10b981;
  border-radius: 6px;
}

/* Footer Menu Columns */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu-list li a {
  color: #e2e8f0;
  font-size: 0.92rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-menu-list li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

/* Contact Column */
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.contact-info-list li a {
  color: #e2e8f0;
  text-decoration: none;
}

.contact-info-list li a:hover {
  color: #38bdf8;
}

.contact-icon-ring {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
}

.copyright-text {
  font-size: 0.88rem;
  color: #94a3b8;
}

.copyright-text strong {
  color: #ffffff;
}

/* Floating WhatsApp Button (Bottom Left) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.08);
}

@media (max-width: 1023px) {
  .floating-whatsapp-btn {
    bottom: 74px; /* above mobile bottom bar */
  }
}

/* Floating Scroll To Top Button (Bottom Right) */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: #07152b;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.scroll-to-top-btn:hover {
  background-color: #f1f5f9;
  transform: translateY(-3px);
}

@media (max-width: 1023px) {
  .scroll-to-top-btn {
    bottom: 74px; /* above mobile bottom bar */
  }
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: #ffffff;
  z-index: 310;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Free Delivery Threshold Bar */
.shipping-threshold-box {
  background: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
}

.threshold-label {
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.threshold-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.threshold-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.4s ease;
}

/* Cart Items Container */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-cart-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-cart-state i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 70px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  font-size: 0.85rem;
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-display {
  width: 28px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

.remove-cart-item {
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 2px;
  align-self: flex-start;
}

.remove-cart-item:hover {
  color: var(--color-accent);
}

/* Cart Footer Summary */
.cart-drawer-footer {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.coupon-box input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.coupon-applied-tag {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-subtotal-row, .cart-discount-row, .cart-shipping-row, .cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.cart-total-row {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-checkout {
  width: 100%;
  font-size: 1rem;
  padding: 13px;
}

.safe-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ==========================================================================
   MODALS (Quick View, Checkout, Success) - ZERO CLIPPING & MOBILE-FIRST
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform var(--transition-smooth);
  margin: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 25;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #cbd5e1;
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

/* Quick View Specific */
.quick-view-card {
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .quick-view-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.qv-img-box {
  background: #f1f5f9;
  height: 340px;
}

@media (min-width: 768px) {
  .qv-img-box {
    height: 100%;
  }
}

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

.qv-details {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

/* Checkout Modal Specific - Engineered for Zero Header/Footer Clipping */
.checkout-card {
  padding: 0 !important;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.checkout-header {
  position: relative;
  top: 0;
  background: #ffffff;
  z-index: 25;
  padding: 16px 20px 14px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.checkout-header h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  margin-top: 4px;
}

.checkout-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.checkout-form {
  padding: 18px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mobile-Specific Bottom Sheet Optimization */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  
  .modal-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
  }
  
  .checkout-card {
    max-height: 92vh !important;
  }
  
  .checkout-header {
    padding: 14px 16px 12px !important;
  }
  
  .checkout-header h3 {
    font-size: 1.12rem !important;
  }
  
  .checkout-form {
    padding: 14px 16px 28px !important;
    gap: 12px !important;
  }

  .form-group input, .form-group textarea {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom on input focus */
    padding: 11px 13px !important;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input, .form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-option-label.selected {
  border-color: var(--color-primary);
  background: #f8fafc;
}

.payment-opt-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-opt-box i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.payment-opt-box small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.btn-submit-order {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* Success Modal Specific */
.success-card {
  padding: 36px 28px;
  text-align: center;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--color-success);
  margin-bottom: 12px;
}

.order-id-badge {
  background: #ecfdf5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.order-details-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin: 16px 0;
  font-size: 0.85rem;
}

.success-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY BAR
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  gap: 2px;
  width: 20%;
  height: 100%;
}

.bottom-bar-item i {
  font-size: 1.25rem;
}

.bottom-bar-item.active {
  color: var(--color-primary);
}

.m-cart-wrap {
  position: relative;
}

.m-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 1024px) {
  .toast-container {
    bottom: 24px;
  }
}

.toast {
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  animation: slideInRight 0.3s ease;
}

.toast-success {
  background: #064e3b;
  border-left: 4px solid var(--color-success);
}

.toast-info {
  background: #0f172a;
  border-left: 4px solid #38bdf8;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   OTP LOGIN MODAL - PREMIUM POPUP DESIGN
   WordPress SMS Alert Plugin Ready
   ========================================================================== */

/* Overlay Backdrop */
.otp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: otpFadeIn 0.4s ease;
}

.otp-overlay.hidden {
  display: none;
}

@keyframes otpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal Card */
.otp-modal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 32px 64px -12px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.1);
  animation: otpSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes otpSlideUp {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Close Button */
.otp-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}
.otp-close-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(90deg);
}

/* Brand Header */
.otp-modal-brand {
  text-align: center;
  margin-bottom: 24px;
}
.otp-logo {
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}
.otp-brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Step Header */
.otp-step-header {
  text-align: center;
  margin-bottom: 24px;
}

.otp-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}
.otp-icon-wrap.otp-icon-success {
  background: linear-gradient(135deg, var(--color-accent), #be123c);
}

.otp-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.otp-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Phone Input Group */
.otp-form-group {
  margin-bottom: 20px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  background: var(--bg-surface);
}
.phone-input-wrap:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.phone-flag-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--bg-subtle);
  border-right: 2px solid var(--border-color);
  height: 52px;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.flag-emoji { font-size: 1.3rem; }

.otp-phone-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 0 16px;
  height: 52px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--text-main);
  background: transparent;
  letter-spacing: 0.04em;
}

.otp-hint {
  font-size: 0.78rem;
  color: var(--color-success);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.otp-hint i { font-size: 0.9rem; }

/* Primary Send / Verify Button */
.otp-send-btn {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
  margin-bottom: 16px;
}
.otp-send-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--color-accent) 0%, #be123c 100%);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.3);
  transform: translateY(-1px);
}
.otp-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Divider */
.otp-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.otp-divider::before, .otp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* Guest Button */
.otp-guest-btn {
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  margin-bottom: 16px;
}
.otp-guest-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--bg-subtle);
}

/* Terms Text */
.otp-terms {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
.otp-terms a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---- OTP Box Grid (6 Digit) ---- */
.otp-boxes-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px;
}

.otp-box {
  width: 48px;
  height: 56px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-primary);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
  font-family: var(--font-heading);
  outline: none;
}
.otp-box:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}
.otp-box.otp-box-filled {
  border-color: var(--color-accent);
  background: #fff1f2;
  color: var(--color-accent);
}
.otp-box.otp-box-error {
  border-color: #ef4444;
  background: #fef2f2;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* OTP Status Message */
.otp-status {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 12px;
}
.otp-status.error  { color: #ef4444; }
.otp-status.success { color: var(--color-success); }

/* Resend Section */
.otp-resend-wrap {
  text-align: center;
  margin: 4px 0 12px;
}
.otp-timer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.otp-resend-btn {
  border: none;
  background: none;
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 auto;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.otp-resend-btn:hover {
  background: #fff1f2;
}

/* Back Button */
.otp-back-btn {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}
.otp-back-btn:hover { color: var(--color-primary); }

/* ---- Step 3: Success ---- */
.otp-success-wrap {
  text-align: center;
}
.otp-success-icon {
  font-size: 4rem;
  color: var(--color-success);
  margin-bottom: 16px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.otp-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 12px 0 20px;
}
.otp-user-chip i { color: var(--color-accent); }

.otp-success-benefits {
  text-align: left;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}
.benefit-item i {
  color: var(--color-success);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Spin animation for loader */
.spin {
  display: inline-block;
  animation: spinAnim 0.8s linear infinite;
}
@keyframes spinAnim {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Header user chip when logged in */
.header-user-logged {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.header-user-logged i { color: var(--color-gold); }

/* Mobile responsiveness for OTP boxes */
@media (max-width: 400px) {
  .otp-modal {
    padding: 28px 20px 24px;
  }
  .otp-box {
    width: 40px;
    height: 48px;
    font-size: 1.2rem;
  }
  .otp-boxes-wrap {
    gap: 6px;
  }
}

/* ============================================================
   PRODUCT DETAIL FULL-PAGE OVERLAY
   ============================================================ */

/* Local variable aliases for product detail section */
.pd-overlay,
.pd-overlay * {
  --primary:   #1d4ed8;
  --text-dark: #0f172a;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Overlay wrapper - slides in from right */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: #f1f5f9;
  z-index: 9000;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.pd-overlay.active {
  transform: translateX(0);
}

/* Inner container */
.pd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 60px;
  min-height: 100%;
}

/* Close / Back button */
.pd-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  margin: 20px 20px 0;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  position: sticky;
  top: 16px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.pd-close-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(-3px);
}

/* Content wrap */
.pd-content-wrap {
  padding: 10px 20px 0;
}

/* ---- Breadcrumb ---- */
.pd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 24px;
  padding-top: 8px;
}

.pd-bc-link {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.pd-bc-link:hover { opacity: 0.75; }

.pd-bc-sep {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.pd-bc-cat {
  color: #475569;
  font-weight: 500;
}

.pd-bc-current {
  color: var(--text-dark);
  font-weight: 700;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Main Layout ---- */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- Gallery ---- */
.pd-gallery {
  position: sticky;
  top: 80px;
}

.pd-main-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  aspect-ratio: 3/4;
}

.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pd-main-img-wrap:hover .pd-main-img {
  transform: scale(1.04);
}

.pd-discount-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ff2a55 0%, #e11d48 55%, #b91c1c 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.pd-discount-pill i {
  color: #ffeb3b;
  font-size: 0.88rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.pd-wishlist-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.pd-wishlist-pill:hover,
.pd-wishlist-pill.active {
  color: #ef4444;
  transform: scale(1.15);
}

.pd-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pd-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.pd-thumb.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

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

/* ---- Right Side Details ---- */
.pd-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pd-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-cat-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(22, 93, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pd-badge-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pd-badge-sale { background: #fef2f2; color: #dc2626; }
.pd-badge-hot  { background: #fff7ed; color: #ea580c; }
.pd-badge-combo { background: #f0fdf4; color: #16a34a; }

.pd-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 640px) {
  .pd-title { font-size: 1.3rem; }
}

/* Rating row */
.pd-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.85rem;
}

.pd-stars { display: flex; gap: 2px; font-size: 1rem; }

.pd-rating-val {
  font-weight: 800;
  color: #f59e0b;
  font-size: 0.9rem;
}

.pd-reviews { color: #64748b; }

.pd-sku {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
  margin-left: auto;
}

/* Price box */
.pd-price-box {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-original-price {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.pd-current-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pd-saving-text {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* Delivery badge */
.pd-delivery-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #d1fae5;
  border-radius: 12px;
  padding: 12px 18px;
  color: #065f46;
  font-weight: 700;
  font-size: 0.92rem;
}

.pd-delivery-badge i {
  font-size: 1.4rem;
  color: #10b981;
}

/* Description */
.pd-description {
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
}

/* Size section */
.pd-size-section {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
}

.pd-size-header {
  margin-bottom: 12px;
}

.pd-size-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.pd-size-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-size-btn {
  min-width: 48px;
  height: 46px;
  padding: 0 16px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-size-btn:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #eff6ff;
}

.pd-size-btn.selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
  font-weight: 800;
}

/* Qty row */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

@media (max-width: 480px) {
  .pd-qty-row {
    flex-wrap: wrap;
  }
}

.pd-qty-stepper {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.pd-qty-btn {
  width: 42px;
  height: 48px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s;
}

.pd-qty-btn:hover { background: #f1f5f9; }

.pd-qty-val {
  width: 48px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 1.5px solid #e2e8f0;
  border-right: 1.5px solid #e2e8f0;
  line-height: 48px;
}

.pd-add-cart-btn {
  flex: 1;
  min-width: 160px;
  height: 54px;
  background: #0f172a;
  color: #fff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.pd-add-cart-btn:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
}

.pd-buy-now-btn {
  flex: 1;
  min-width: 130px;
  height: 54px;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
  text-transform: uppercase;
}

.pd-buy-now-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.45);
}

/* Action links */
.pd-action-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pd-action-links button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.pd-action-links button:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Trust badges */
.pd-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
}

.pd-trust-item i {
  font-size: 1.1rem;
  color: var(--primary);
}

/* Specs table */
.pd-specs-section {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.pd-specs-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.pd-spec-row td {
  padding: 10px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
}

.pd-spec-row:last-child td { border-bottom: none; }

.pd-spec-key {
  font-weight: 700;
  color: #475569;
  width: 38%;
  vertical-align: top;
}

.pd-spec-val {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* ---- Related Products ---- */
.pd-related-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid #e2e8f0;
}

.pd-related-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

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

@media (max-width: 860px) {
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.pd-related-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1.5px solid #f1f5f9;
}

.pd-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.pd-related-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.pd-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.pd-related-card:hover .pd-related-img-wrap img {
  transform: scale(1.07);
}

.pd-related-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.pd-related-info {
  padding: 12px;
}

.pd-related-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-related-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-related-cur {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.pd-related-ori {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* ---- Mobile tweaks ---- */
@media (max-width: 600px) {
  .pd-content-wrap {
    padding: 10px 14px 0;
  }

  .pd-close-btn {
    margin: 14px 14px 0;
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .pd-qty-row {
    gap: 8px;
  }

  .pd-add-cart-btn,
  .pd-buy-now-btn {
    min-width: unset;
    font-size: 0.82rem;
    height: 46px;
  }

  .pd-trust-badges {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    position: static;
  }
}

/* Footer inside product detail overlay */
.pd-inner-footer {
  margin-top: 60px;
  width: 100%;
}

.pd-inner-footer .footer-feather-img {
  position: static;
}

/* ============================================================
   TOP CATEGORIES SECTION
   ============================================================ */

.top-cat-section {
  background: #ffffff;
  padding: 40px 0 50px;
}

.top-cat-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Heading ---- */
.top-cat-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #1a2340;
  border-radius: 10px;
  padding: 12px 28px;
  width: fit-content;
  margin: 0 auto 36px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a2340;
  letter-spacing: 0.04em;
  background: #fff;
}

.top-cat-icon {
  font-size: 1.3rem;
  color: #1a2340;
}

/* ---- Grid ---- */
.top-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 16px;
}

@media (max-width: 1100px) {
  .top-cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .top-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
}
@media (max-width: 480px) {
  .top-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
}

/* ---- Item ---- */
.top-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

/* ---- Circle with arch background ---- */
.top-cat-circle {
  position: relative;
  width: 150px;
  height: 180px;
  border-radius: 50% 50% 46% 46% / 50% 50% 46% 46%;
  overflow: hidden;
  background: #e8ddd0;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.top-cat-item:hover .top-cat-circle {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* Beige arch overlay at top */
.top-cat-arch {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #d4c4b0 0%, #c9b89e 35%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.top-cat-circle img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 92%;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
  transition: transform 0.35s ease;
}

.top-cat-item:hover .top-cat-circle img {
  transform: translateX(-50%) scale(1.07);
}

/* Combo special ring */
.top-cat-combo {
  background: linear-gradient(160deg, #fef3c7, #fde68a);
}

.top-cat-combo .top-cat-arch {
  background: radial-gradient(ellipse at 50% 30%, #fbbf24 0%, #f59e0b 35%, transparent 70%);
  opacity: 0.45;
}

/* ---- Label ---- */
.top-cat-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a2340;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.3;
  transition: color 0.2s;
}

.top-cat-item:hover .top-cat-name {
  color: var(--color-accent);
}

@media (max-width: 700px) {
  .top-cat-circle {
    width: 110px;
    height: 135px;
  }
  .top-cat-name {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .top-cat-circle {
    width: 95px;
    height: 115px;
  }
  .top-cat-name {
    font-size: 0.72rem;
  }
  .top-cat-heading {
    font-size: 0.95rem;
    padding: 10px 18px;
  }
}


/* ============================================================
   HOMEPAGE CONTACT SECTION (#contact)
   ============================================================ */
.homepage-contact-section {
  background: #f8fafc;
  padding: 70px 0 60px;
  border-top: 1px solid #e2e8f0;
}
.hc-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media(max-width:900px){.hc-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:500px){.hc-grid{grid-template-columns:1fr 1fr;gap:12px;}}
.hc-card {
  background:#fff;border:1.5px solid #e2e8f0;border-radius:18px;
  padding:28px 20px;display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:10px;text-decoration:none;
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
.hc-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(0,0,0,.09);}
.hc-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;transition:transform .2s;}
.hc-card:hover .hc-icon{transform:scale(1.12);}
.hc-phone .hc-icon{background:#f0fdf4;color:#16a34a;}
.hc-phone:hover{border-color:#bbf7d0;}
.hc-wa .hc-icon{background:#f0fff4;color:#25D366;}
.hc-wa:hover{border-color:#86efac;}
.hc-email .hc-icon{background:#eff6ff;color:#1d4ed8;}
.hc-email:hover{border-color:#bfdbfe;}
.hc-loc .hc-icon{background:#fff7ed;color:#ea580c;}
.hc-loc:hover{border-color:#fed7aa;}
.hc-card h4{font-family:var(--font-heading);font-size:1rem;font-weight:800;color:#0f172a;margin:0;}
.hc-val{font-size:.88rem;font-weight:700;color:#475569;margin:0;}
.hc-tag{font-size:.75rem;color:#94a3b8;background:#f8fafc;padding:4px 10px;border-radius:999px;border:1px solid #e2e8f0;font-weight:600;}
.hc-bottom-strip{background:linear-gradient(135deg,#0f172a,#1e3a5f);border-radius:16px;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.hc-strip-left{display:flex;align-items:center;gap:16px;color:#fff;}
.hc-strip-left i{font-size:2rem;color:#25D366;flex-shrink:0;}
.hc-strip-left strong{display:block;font-family:var(--font-heading);font-size:1rem;font-weight:800;color:#fff;margin-bottom:4px;}
.hc-strip-left span{font-size:.83rem;color:rgba(255,255,255,.65);}
.hc-full-page-btn{display:inline-flex;align-items:center;gap:8px;background:#25D366;color:#fff;padding:12px 24px;border-radius:999px;font-family:var(--font-heading);font-size:.88rem;font-weight:800;text-decoration:none;white-space:nowrap;transition:filter .2s,transform .15s;}
.hc-full-page-btn:hover{filter:brightness(1.1);transform:translateY(-2px);}

/* ============================================================
   PRODUCT DETAIL REVIEWS SECTION
   ============================================================ */
.pd-reviews-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1.5px solid #e2e8f0;
}
.pd-reviews-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.pd-reviews-heading {
  font-family: var(--font-heading, inherit);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-reviews-count-badge {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.pd-write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-heading, inherit);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.pd-write-review-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Review Summary Card */
.pd-rating-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .pd-rating-summary-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.pd-score-box {
  text-align: center;
}
.pd-big-score {
  font-size: 3.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}
.pd-score-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin: 6px 0 4px;
}
.pd-score-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}
.pd-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
}
.pd-bar-row span:first-child {
  width: 45px;
}
.pd-bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.pd-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
}
.pd-bar-row span:last-child {
  width: 32px;
  text-align: right;
  color: #94a3b8;
}
.pd-trust-column {
  border-left: 1px solid #e2e8f0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 900px) {
  .pd-trust-column {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 16px;
  }
}
.pd-trust-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}
.pd-trust-mini i {
  color: #16a34a;
  font-size: 1.1rem;
}

/* Write Review Form Container */
.pd-review-form-box {
  background: #ffffff;
  border: 1.5px solid #2563eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  display: none;
  animation: fadeIn 0.3s ease;
}
.pd-review-form-box.active {
  display: block;
}
.pd-form-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}
.pd-star-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.pd-star-picker i {
  font-size: 1.6rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.pd-star-picker i:hover,
.pd-star-picker i.selected {
  color: #f59e0b;
  transform: scale(1.15);
}
.pd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .pd-form-grid {
    grid-template-columns: 1fr;
  }
}
.pd-form-input, .pd-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.pd-form-input:focus, .pd-form-textarea:focus {
  border-color: #2563eb;
}
.pd-form-textarea {
  height: 90px;
  resize: vertical;
  margin-bottom: 14px;
}
.pd-form-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Reviews List */
.pd-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pd-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.pd-review-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.pd-rc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.pd-rc-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-rc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-rc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}
.pd-rc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 6px;
}
.pd-rc-city {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}
.pd-rc-date {
  font-size: 0.75rem;
  color: #94a3b8;
}
.pd-rc-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}
.pd-rc-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.pd-rc-comment {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 12px;
}
.pd-rc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  font-size: 0.75rem;
  color: #94a3b8;
}
.pd-helpful-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.pd-helpful-btn:hover, .pd-helpful-btn.active {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* ============================================================
   WEBSITE REVIEWS SECTION / FOOTER BANNER
   ============================================================ */
.site-reviews-banner {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0 50px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.srb-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}
.srb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.srb-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.9rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 10px;
}
.srb-sub {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}
.srb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .srb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .srb-grid {
    grid-template-columns: 1fr;
  }
}
.srb-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.srb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}
.srb-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  gap: 2px;
}
.srb-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  font-style: italic;
}
.srb-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.srb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.srb-info strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}
.srb-info span {
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Trust Metrics Row */
.srb-stats-row {
  background: #0f172a;
  border-radius: 16px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.srb-stat-item {
  text-align: center;
  color: #ffffff;
}
.srb-stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #f59e0b;
  font-family: var(--font-heading, inherit);
}
.srb-stat-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.srb-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 640px) {
  .srb-stat-divider {
    display: none;
  }
}

/* Footer Reviews Badge */
.footer-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #ffffff;
}
.footer-reviews-badge i {
  color: #f59e0b;
  font-size: 1rem;
}

/* ============================================================
   PRODUCT ACCORDION TABS (Description, Additional Info, Reviews)
   ============================================================ */
.pd-tabs-accordion {
  margin-top: 36px;
  border-top: 1px solid #e2e8f0;
}
.pd-acc-item {
  border-bottom: 1px solid #e2e8f0;
}
.pd-acc-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: color 0.15s;
}
.pd-acc-header:hover {
  color: #2563eb;
}
.pd-acc-icon {
  font-size: 0.9rem;
  color: #64748b;
  transition: transform 0.2s;
  display: inline-block;
  width: 16px;
}
.pd-acc-item.open .pd-acc-icon {
  transform: rotate(180deg);
}
.pd-acc-body {
  display: none;
  padding: 0 0 24px;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.6;
}
.pd-acc-item.open .pd-acc-body {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* Reviews Tab Content */
.pd-wc-reviews-wrap {
  padding-top: 8px;
}
.pd-wc-sec-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
}
.pd-wc-existing-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.pd-wc-review-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}
.pd-wc-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pd-wc-review-author {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}
.pd-wc-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
}
.pd-wc-review-date {
  font-size: 0.75rem;
  color: #94a3b8;
}
.pd-wc-review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.pd-wc-review-text {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

/* WC Review Form */
.pd-wc-form-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  margin-top: 16px;
}
.pd-wc-form-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.pd-wc-form-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 16px;
}
.pd-wc-rating-select-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}
.pd-wc-stars-picker {
  display: inline-flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.25rem;
  cursor: pointer;
}
.pd-wc-form-group {
  margin-bottom: 14px;
}
.pd-wc-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.pd-wc-input, .pd-wc-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
}
.pd-wc-input:focus, .pd-wc-textarea:focus {
  border-color: #0f172a;
}
.pd-wc-textarea {
  height: 90px;
  resize: vertical;
}
.pd-wc-submit-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.pd-wc-submit-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* ==========================================================================
   DUKANRANT POS BILLING INTEGRATION & REAL-TIME STOCK BADGES
   ========================================================================== */
.pos-btn-highlight {
  background: linear-gradient(135deg, #1557a6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md, 10px) !important;
  padding: 7px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.pos-btn-highlight:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45) !important;
  background: linear-gradient(135deg, #0f3e78 0%, #1d4ed8 100%) !important;
}
.pos-btn-highlight .action-icon-wrap i {
  color: #ffffff !important;
}
.badge-pos {
  position: absolute !important;
  top: -8px !important;
  right: -10px !important;
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 999px !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.4) !important;
}

/* Live Stock Status Badges on Cards */
.stock-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}
.stock-live-badge.in-stock {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.stock-live-badge.low-stock {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  animation: pulseLow 2s infinite;
}
.stock-live-badge.out-stock {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
@keyframes pulseLow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Dedicated Mobile Search Bar - Hidden on Desktop */
.mobile-search-bar {
  display: none !important;
}

/* ==========================================================================
   COMPLETE COMPREHENSIVE MOBILE OPTIMIZATION SYSTEM (max-width: 768px & 480px)
   Engineered for ultra-smooth app-like experience on all smartphones
   ========================================================================== */

/* 1. Global Touch & Viewport Protection */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding-bottom: 70px !important; /* Space for fixed bottom bar */
  }

  .section-container {
    padding: 0 12px !important;
  }

  /* 2. Top Promotional Bar */
  .top-bar {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }

  .ticker-content {
    gap: 12px !important;
  }

  /* 3. Mobile Header & Dedicated Mobile Search Bar */
  .header-sticky-wrapper {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  }

  .header-container {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 1.3rem !important;
  }

  .header-logo-img {
    height: 38px !important;
    max-width: 135px !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .action-btn {
    padding: 6px !important;
  }

  .action-icon-wrap i {
    font-size: 1.25rem !important;
  }

  .cart-btn-highlight {
    padding: 6px 10px !important;
    border-radius: 999px !important;
  }

  .cart-icon-wrap i {
    font-size: 1.2rem !important;
  }

  /* Dedicated Mobile Search Bar Under Header */
  .mobile-search-bar {
    display: block !important;
    padding: 0 12px 8px !important;
    background: #ffffff !important;
    position: relative !important;
  }

  .mobile-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 12px;
    height: 38px;
    transition: all 0.2s ease;
  }

  .mobile-search-input-box:focus-within {
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
  }

  .mobile-search-icon {
    font-size: 1rem;
    color: #64748b;
    margin-right: 8px;
    flex-shrink: 0;
  }

  .mobile-search-input-box input,
  #mobileSearchInput {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    padding: 6px 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
  }

  .mobile-search-input-box input:focus,
  #mobileSearchInput:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .mobile-search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
  }

  /* 4. Horizontal Category Navbar */
  .category-navbar {
    padding: 4px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-container {
    padding: 0 10px !important;
  }

  .nav-list {
    gap: 10px !important;
    padding: 4px 0 !important;
  }

  .nav-link {
    font-size: 0.78rem !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
  }

  /* 5. Hero Banner Slider on Mobile (Optimized Flipkart/Myntra Style) */
  .hero-section {
    padding: 10px 0 12px !important;
  }

  .hero-container {
    padding: 0 10px !important;
  }

  .hero-slider-wrapper {
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .hero-slides-track {
    align-items: stretch !important;
    display: flex !important;
    width: 100% !important;
  }

  .hero-slide {
    min-width: 100% !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Full Bleed 16:9 Mobile Promo Banner Images */
  .banner-img-slide {
    background: #ffffff !important;
    display: block !important;
    line-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .banner-slide-link {
    display: block !important;
    line-height: 0 !important;
    width: 100% !important;
  }

  .hero-banner-full-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    display: block !important;
  }

  #heroBannerImg3 {
    object-fit: cover !important;
    background: #ffffff !important;
  }

  /* Hide arrows on mobile to keep banner clean & uncluttered (Touch swipe is active) */
  .slider-arrow {
    display: none !important;
  }

  /* Sleek, minimal dots indicator on mobile */
  .slider-dots {
    bottom: 8px !important;
    padding: 3px 8px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 12px !important;
    gap: 5px !important;
  }

  .slider-dots .dot-btn {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
  }

  .slider-dots .dot-btn.active {
    width: 16px !important;
    border-radius: 4px !important;
    background: #facc15 !important;
  }

  /* 6. Instagram Story Categories Circles */
  .category-stories-section {
    padding: 12px 0 20px !important;
  }

  .stories-grid {
    gap: 12px !important;
    padding: 0 10px 8px !important;
  }

  .story-circle-item {
    width: 72px !important;
  }

  .story-img-ring {
    width: 62px !important;
    height: 62px !important;
    padding: 2px !important;
  }

  .story-label {
    font-size: 0.72rem !important;
  }

  /* 7. Flash Deals / Steal Deals Section */
  .flash-deals-section {
    padding: 8px 0 24px !important;
  }

  .flash-banner-card {
    padding: 18px 14px !important;
    border-radius: 12px !important;
    gap: 14px !important;
  }

  .flash-left h3 {
    font-size: 1.25rem !important;
  }

  .flash-timer-boxes {
    gap: 6px !important;
  }

  .timer-unit-box {
    min-width: 48px !important;
    padding: 6px 4px !important;
    border-radius: 8px !important;
  }

  .timer-number {
    font-size: 1.2rem !important;
  }

  .timer-label {
    font-size: 0.62rem !important;
  }

  /* 8. Catalog Section, Filter Pills & Sort */
  .catalog-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .filter-pills {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .filter-pills::-webkit-scrollbar {
    display: none !important;
  }

  .pill-btn {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .sort-wrapper {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .sort-select {
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
  }

  /* 9. Products Grid: Ultra-Crisp 2-Column Mobile Layout */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .product-card {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }

  .product-img-wrap {
    aspect-ratio: 1 / 1.05 !important;
  }

  .product-badge-group {
    top: 6px !important;
    left: 6px !important;
    gap: 3px !important;
  }

  .prod-badge {
    font-size: 0.62rem !important;
    padding: 3px 6px !important;
    border-radius: 5px !important;
    letter-spacing: 0.35px !important;
  }

  .prod-badge i {
    font-size: 0.66rem !important;
  }

  .product-wishlist-btn {
    top: 6px !important;
    right: 6px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
  }

  .quick-view-hover-btn {
    display: none !important; /* Touch devices use direct card tap */
  }

  .product-content {
    padding: 8px 8px 10px !important;
  }

  .product-category-tag {
    font-size: 0.62rem !important;
    margin-bottom: 2px !important;
  }

  .product-title {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    min-height: 2.45em !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-price-box {
    gap: 4px !important;
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
  }

  .price-current {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .price-original {
    font-size: 0.74rem !important;
  }

  .price-discount-percent {
    font-size: 0.66rem !important;
  }

  .product-sizes {
    gap: 3px !important;
    margin-bottom: 6px !important;
  }

  .size-btn {
    min-width: 22px !important;
    height: 22px !important;
    font-size: 0.62rem !important;
    border-radius: 4px !important;
  }

  .stock-live-badge {
    font-size: 10px !important;
    padding: 1px 6px !important;
  }

  /* Card Action Buttons (Cart + Buy Now + WhatsApp) */
  .card-actions {
    display: flex !important;
    gap: 4px !important;
    margin-top: auto !important;
  }

  .btn-card-cart {
    flex: 1 !important;
    padding: 7px 4px !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
  }

  .btn-card-buy {
    flex: 1.2 !important;
    padding: 7px 4px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
    letter-spacing: 0.2px !important;
  }

  .btn-card-whatsapp {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.95rem !important;
    border-radius: 6px !important;
  }

  /* 10. Cart Drawer Mobile Width & Touch Smoothness */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }

  .cart-drawer-header {
    padding: 14px 16px !important;
  }

  .cart-drawer-footer {
    padding: 14px 16px 20px !important;
  }

  /* 11. Mobile Sticky Bottom Navigation Dock (App-Style) */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 58px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    z-index: 9999 !important;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  .bottom-bar-item {
    font-size: 0.68rem !important;
    gap: 1px !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .bottom-bar-item i {
    font-size: 1.22rem !important;
  }

  .bottom-bar-item:active {
    transform: scale(0.92) !important;
  }

  /* 12. Toast Position on Mobile */
  .toast-container {
    bottom: 74px !important;
    right: 12px !important;
    left: 12px !important;
  }

  .toast {
    font-size: 0.82rem !important;
    padding: 10px 14px !important;
  }

  /* 13. Footer Spacing on Mobile */
  .site-footer {
    padding-bottom: 84px !important; /* Ensure content is never blocked by bottom bar */
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* 14. Trust Badges Strip */
  .features-strip-section {
    padding: 16px 0 !important;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .feature-item {
    padding: 12px 10px !important;
    gap: 8px !important;
  }

  .feature-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.15rem !important;
  }

  .feature-info h4 {
    font-size: 0.82rem !important;
  }

  .feature-info p {
    font-size: 0.72rem !important;
  }
}

/* Extra Tweaks for Ultra-Small Devices (iPhone SE / 360px) */
@media (max-width: 375px) {
  .products-grid {
    gap: 6px !important;
  }

  .product-content {
    padding: 6px 6px 8px !important;
  }

  .btn-card-cart span, .btn-card-buy span {
    font-size: 0.68rem !important;
  }

  .price-current {
    font-size: 0.88rem !important;
  }

  .header-logo-img {
    height: 34px !important;
    max-width: 120px !important;
  }
}

/* ========================================================
   COLLAPSIBLE "ALL DETAILS" DRAWER (FLIPKART STYLE)
   ======================================================== */
.dkr-details-accordion {
  margin-top: 20px;
  width: 100%;
}

.dkr-accordion-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.dkr-accordion-header:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.dkr-accordion-titles {
  display: flex;
  flex-direction: column;
}

.dkr-accordion-main-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}

.dkr-accordion-sub-title {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.dkr-accordion-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #1557a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s ease, background 0.2s, color 0.2s;
}

.dkr-accordion-arrow-btn.open {
  transform: rotate(180deg);
  background: #eff6ff;
  color: #1557a6;
}

.dkr-accordion-body {
  animation: dkrSlideDown 0.3s ease-out;
  padding-top: 14px;
}

@keyframes dkrSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fk-details-container {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.fk-section-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.fk-box-heading {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

/* 1. Offers Card */
.fk-offers-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.fk-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.fk-section-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #065f46;
}

.fk-offers-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fk-offer-line {
  font-size: 13px;
  color: #1f2937;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.fk-offer-tag {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #86efac;
}

.fk-tc-link {
  color: #2563eb;
  font-weight: 600;
  font-size: 11.5px;
  cursor: pointer;
  margin-left: 4px;
}

/* 2. Services Grid */
.fk-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.fk-service-cell {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fk-service-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fk-service-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
}

.fk-service-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.fk-service-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* 3. Highlights */
.fk-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.fk-highlight-item {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fk-highlight-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

/* 4. Description Text */
.fk-description-text {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  white-space: pre-line;
}

/* 5. Specifications Table */
.fk-specs-group {
  margin-top: 8px;
}

.fk-specs-subgroup {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.fk-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.fk-specs-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.fk-specs-table tr:last-child {
  border-bottom: none;
}

.fk-spec-key {
  padding: 10px 12px 10px 0;
  width: 35%;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  vertical-align: top;
}

.fk-spec-val {
  padding: 10px 0 10px 12px;
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 500;
  vertical-align: top;
}

@media (max-width: 640px) {
  .fk-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fk-highlights-list {
    grid-template-columns: 1fr;
  }
  .fk-spec-key {
    width: 42%;
  }
}