@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800;900&display=swap');
@import url('responsive-all-devices.css?v=2026.18');

/* 
   KIWISTRONICS — COMPLETE DESIGN SYSTEM
*/
:root {
  /* ── Brand Typography ── */
  --font-brand: 'Orbitron', 'Poppins', -apple-system, sans-serif;

  /* ── Brand Palette ── */
  --primary: #287BFF;
  /* Royal Blue matching Navbar */
  --primary-dark: #1A68E8;
  /* Deep Royal Blue */
  --primary-light: #3B82F6;
  /* Bright Blue */
  --purple-price: #F59E0B;
  /* Offer / Amber */
  --secondary: #0F172A;
  /* Dark Text */
  --secondary-light: #1E293B;
  --white: #ffffff;
  --light: #F8FAFC;
  --light-2: #EFF6FF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
  --danger: #EF4444;
  --offer: #F59E0B;
  --accent: #287BFF;
  /* Royal Blue */
  --highlight: #06B6D4;

  /* ── Nav Color System ── */
  --nav-top-bg: #0F172A;
  /* Topbar — dark midnight navy */
  --nav-top-text: #F1F5F9;
  /* Topbar text */
  --nav-main-bg: #FFFFFF;
  /* Header surface */
  --nav-primary-bg: #4794ff;
  /* Main navbar background */
  --nav-primary-text: #FFFFFF;
  /* Navbar link text */
  --nav-accent: #287BFF;
  /* Royal Blue accent */
  --nav-badge: #EF4444;
  /* Cart/wishlist badge */
  --nav-muted: #94A3B8;
  /* Muted / secondary text */

  /* Topbar */
  --topbar-bg: #0F172A;
  --topbar-accent: #F59E0B;
  /* Amber for icons */

  /* Header */
  --header-bg: #FFFFFF;
  --header-shadow: 0 1px 0 #E2E8F0, 0 4px 24px rgba(15, 23, 42, .06);

  /* Navbar */
  --nav-bg: #EFF6FF;
  --nav-gradient: #EFF6FF;
  --nav-shadow: 0 2px 10px rgba(11, 50, 100, 0.03);
  --nav-link-color: #0B3264;
  --nav-hover-bg: transparent;
  --nav-hover-color: #0066FF;
  --nav-active-bg: #DDF0FF;
  --nav-active-color: #0066FF;

  /* Gradients & utilities */
  --blue-gradient: linear-gradient(135deg, #287BFF 0%, #1A68E8 100%);
  --hero-gradient: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #DBEAFE 100%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, .10);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, .12);
  --shadow-blue: 0 8px 24px rgba(37, 99, 235, .30);
  --transition: .22s ease-in-out;
}

/* BASE & OFFLINE FONT STACK RESILIENCE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f8fafc !important;
  overflow-x: clip;
}



::view-transition-old(root) {
  animation: 90ms cubic-bezier(0.4, 0, 1, 1) both kwPageFadeOut;
}

::view-transition-new(root) {
  animation: 180ms cubic-bezier(0, 0, 0.2, 1) both kwPageFadeIn;
}

@keyframes kwPageFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes kwPageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Smooth, rock-solid page entrance without header shift */
main, .shop-main-section, .kits-main-section, .b2b-main, .blog-main-section, .resources-main-section {
  animation: kwContentSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes kwContentSlideUp {
  0% {
    opacity: 0.88;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #f8fafc !important;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
  background-color: #f8fafc !important;
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%;
  display: block
}

button,
input,
select {
  font-family: inherit
}

/* LAYOUT — UNIFIED FLUID CONTAINER */
.container,
.featured-container,
.brands-container,
.latest-container,
.blog-container,
.shop-container,
.cart-container,
.checkout-container,
.kits-container,
.product-detail-container {
  width: min(94%, 1680px);
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ── CONSISTENT SPACING RHYTHM SYSTEM ── */
.space-y-4 {
  margin-bottom: 4px;
}

.space-y-8 {
  margin-bottom: 8px;
}

.space-y-12 {
  margin-bottom: 12px;
}

.space-y-16 {
  margin-bottom: 16px;
}

.space-y-20 {
  margin-bottom: 20px;
}

.space-y-24 {
  margin-bottom: 24px;
}

.space-y-32 {
  margin-bottom: 32px;
}

.space-y-40 {
  margin-bottom: 40px;
}

.space-y-48 {
  margin-bottom: 48px;
}

.space-y-64 {
  margin-bottom: 64px;
}

.section {
  padding: 48px 0;
}

.soft-section {
  background: #f8fafc;
  padding: 48px 0;
}

/* ── SKELETON LOADING SYSTEM (Using Existing Palette Only) ── */
@keyframes kwSkeletonShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.kw-skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: kwSkeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}

.kw-skeleton-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.kw-skeleton-img {
  width: 100%;
  height: 190px;
  border-radius: 10px;
}

.kw-skeleton-text {
  height: 14px;
  border-radius: 4px;
  width: 80%;
}

.kw-skeleton-text-sm {
  height: 10px;
  border-radius: 3px;
  width: 50%;
}

.kw-skeleton-price {
  height: 20px;
  border-radius: 4px;
  width: 40%;
}

/* ── REUSABLE EMPTY STATE SYSTEM ── */
.kw-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 20px;
  color: #64748b;
  width: 100%;
  box-sizing: border-box;
}

.kw-empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.kw-empty-state h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.kw-empty-state p {
  font-size: 14px;
  color: #64748b;
  max-width: 380px;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.kw-empty-state .btn-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #287BFF;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}

.kw-empty-state .btn-empty-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40, 123, 255, 0.35);
}

/* ══════════════════════════════════════════════════
   TOP BAR — Premium tier stripe
══════════════════════════════════════════════════ */
.topbar {
  background: var(--nav-top-bg);
  color: var(--nav-top-text);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

/* Animated shimmer overlay on topbar */
.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, .04) 40%,
      rgba(255, 255, 255, .08) 50%,
      rgba(255, 255, 255, .04) 60%,
      transparent 100%);
  animation: topbarShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes topbarShimmer {

  0%,
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }

  50% {
    opacity: 1;
    transform: translateX(100%);
  }
}

.topbar .container.topbar-inner,
.topbar .topbar-inner,
.topbar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(10px, 1.5vw, 20px) !important;
  position: relative !important;
  min-height: 38px !important;
  width: 100% !important;
  max-width: 1680px !important;
  padding-left: clamp(16px, 2.5vw, 36px) !important;
  padding-right: clamp(16px, 2.5vw, 36px) !important;
  box-sizing: border-box !important;
}

.topbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  z-index: 2 !important;
}

.top-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  z-index: 2 !important;
}

/* TOPBAR CENTER ROTATING ANNOUNCEMENT */
.topbar-announcement-wrap {
  flex: 1 1 auto !important;
  max-width: 860px !important;
  min-width: 0 !important;
  height: 36px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 clamp(6px, 1vw, 16px) !important;
  z-index: 1 !important;
}

.topbar-announcement-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.topbar-ann-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  will-change: transform, opacity;
  box-sizing: border-box;
}

.topbar-ann-item.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

/* 1. Fade Animations */
.topbar-ann-item.kw-anim-fade-enter {
  opacity: 0;
}
.topbar-ann-item.kw-anim-fade-exit {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 2. Slide Up */
.topbar-ann-item.kw-anim-slide_up-enter {
  transform: translateY(100%);
  opacity: 0;
}
.topbar-ann-item.kw-anim-slide_up-exit {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 3. Slide Down */
.topbar-ann-item.kw-anim-slide_down-enter {
  transform: translateY(-100%);
  opacity: 0;
}
.topbar-ann-item.kw-anim-slide_down-exit {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 4. Slide Left */
.topbar-ann-item.kw-anim-slide_left-enter {
  transform: translateX(100%);
  opacity: 0;
}
.topbar-ann-item.kw-anim-slide_left-exit {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 5. Slide Right */
.topbar-ann-item.kw-anim-slide_right-enter {
  transform: translateX(-100%);
  opacity: 0;
}
.topbar-ann-item.kw-anim-slide_right-exit {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 6. Zoom In / Out */
.topbar-ann-item.kw-anim-zoom-enter {
  transform: scale(0.85);
  opacity: 0;
}
.topbar-ann-item.kw-anim-zoom-exit {
  transform: scale(1.15);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 7. Typewriter Blinking Cursor */
.kw-typewriter-active::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: #38bdf8;
  font-weight: 900;
  animation: kwBlinkCursor 0.8s infinite;
}
@keyframes kwBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 8 & 9. Marquee (RTL & LTR) Single Cross Item */
.anim-mode-marquee_rtl .topbar-ann-item,
.anim-mode-marquee_ltr .topbar-ann-item {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: auto;
  min-width: max-content;
  white-space: nowrap;
}

/* 10. Continuous News Ticker */
.topbar-announcement-ticker-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.topbar-announcement-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  width: max-content;
}

.topbar-ticker-segment {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}

.topbar-ticker-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 13px;
  margin: 0 16px;
  opacity: 0.75;
  user-select: none;
}

/* Announcement Link & Text Base */
.topbar-ann-link,
.topbar-ann-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.topbar-ann-link:hover {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reduced Motion Accessibility Fallback */
@media (prefers-reduced-motion: reduce) {
  .topbar-ann-item {
    transition: none !important;
    transform: none !important;
  }
  .topbar-announcement-ticker-track {
    animation: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   12. OFFER COUNTDOWN TIMER (TEMPLATE 12)
   ══════════════════════════════════════════════════════════════ */
.topbar.topbar-mode-countdown {
  transition: background 0.3s ease;
  min-height: 40px;
}

.topbar-announcement-wrap.anim-mode-countdown {
  max-width: 920px !important;
  width: auto !important;
  overflow: visible !important;
  height: 100% !important;
  margin: 0 auto !important;
  flex-shrink: 1 !important;
}

.kw-topbar-countdown,
.kw-topbar-countdown-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(8px, 1vw, 14px) !important;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  user-select: none !important;
  white-space: nowrap !important;
  margin: 0 auto !important;
  line-height: 1 !important;
}

.kw-countdown-text,
.kw-countdown-before,
.kw-countdown-after,
.kw-countdown-before-text,
.kw-countdown-after-text {
  font-size: var(--kw-cd-font-size, 13.5px) !important;
  font-weight: var(--kw-cd-font-weight, 700) !important;
  color: var(--kw-cd-text-color, #ffffff) !important;
  letter-spacing: 0.25px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.kw-countdown-clock {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
  position: relative !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.kw-countdown-unit {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  position: relative !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.kw-countdown-label {
  font-size: 7.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--kw-cd-text-color, #ffffff) !important;
  opacity: 0.95 !important;
  margin: 0 0 1px 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  pointer-events: none !important;
  display: block !important;
}

.kw-countdown-digits {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  line-height: 1 !important;
}

.kw-digit-card {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 19px !important;
  height: 25px !important;
  background: var(--kw-cd-digit-bg, #facc15) !important;
  color: var(--kw-cd-digit-color, #ffffff) !important;
  border-radius: var(--kw-cd-radius, 4px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
  perspective: 300px !important;
  box-sizing: border-box !important;
}

/* Horizontal center crease line matching flip clocks and reference */
.kw-digit-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 3;
}

.kw-digit-val {
  display: block;
  width: 100%;
  text-align: center;
  will-change: transform, opacity;
  z-index: 2;
}

.kw-countdown-separator {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: var(--kw-cd-text-color, #ffffff) !important;
  margin: 0 1px !important;
  margin-top: 8px !important; /* Vertically aligns colon center with cards under labels */
  opacity: 0.95 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  line-height: 1 !important;
  animation: kwCdColonBlink 1s infinite ease-in-out;
}

@keyframes kwCdColonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.kw-countdown-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 11px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  margin-left: 4px !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

.kw-countdown-cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  background: #f8fafc;
}

/* ── ANIMATION 1: FLIP CLOCK ── */
.kw-digit-anim-flip,
.kw-anim-flip .kw-digit-animating {
  animation: kwDigitFlip 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes kwDigitFlip {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(-90deg); opacity: 0.3; }
  51% { transform: rotateX(90deg); opacity: 0.3; }
  100% { transform: rotateX(0deg); opacity: 1; }
}

/* ── ANIMATION 2: SLIDE UP ── */
.kw-digit-anim-slide,
.kw-anim-slide .kw-digit-animating {
  animation: kwDigitSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes kwDigitSlide {
  0% { transform: translateY(80%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ── ANIMATION 3: FADE TRANSITION ── */
.kw-digit-anim-fade,
.kw-anim-fade .kw-digit-animating {
  animation: kwDigitFade 0.35s ease-out;
}
@keyframes kwDigitFade {
  0% { opacity: 0.15; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); }
}

/* ── ANIMATION 4: SCALE POP ── */
.kw-digit-anim-scale,
.kw-anim-scale .kw-digit-animating {
  animation: kwDigitScale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes kwDigitScale {
  0% { transform: scale(0.6); opacity: 0.4; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── ANIMATION 5: DIGITAL GLOW ── */
.kw-digit-anim-glow,
.kw-anim-glow .kw-digit-animating {
  animation: kwDigitGlow 0.45s ease-in-out;
}
@keyframes kwDigitGlow {
  0% { text-shadow: 0 0 14px #ffffff, 0 0 24px var(--kw-cd-digit-bg, #facc15); filter: brightness(1.5); }
  100% { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); filter: brightness(1); }
}

/* ── ANIMATION 6: NONE ── */
.kw-digit-anim-none {
  animation: none !important;
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .kw-digit-val,
  .kw-countdown-separator,
  .kw-digit-card,
  .kw-digit-animating {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Responsive Scaling: Always Stay Single-Line Without Wrapping */

@media (max-width: 1200px) {
  .top-links a:first-child,
  .top-links .top-link-sep:first-of-type {
    display: none !important; /* Hide About Us & leading separator on compact laptop screens, preserving Contact | Help Center */
  }
  .kw-topbar-countdown,
  .kw-topbar-countdown-wrap {
    gap: 8px !important;
  }
  .kw-countdown-text,
  .kw-countdown-before,
  .kw-countdown-after,
  .kw-countdown-before-text,
  .kw-countdown-after-text {
    font-size: 12.5px !important;
  }
}

@media (max-width: 991px) {
  .kw-topbar-countdown,
  .kw-topbar-countdown-wrap {
    gap: 7px !important;
  }
  .kw-countdown-text,
  .kw-countdown-before,
  .kw-countdown-after,
  .kw-countdown-before-text,
  .kw-countdown-after-text {
    font-size: 12px !important;
  }
  .kw-digit-card {
    width: 17px !important;
    height: 23px !important;
    font-size: 13px !important;
  }
  .kw-countdown-label {
    font-size: 7px !important;
  }
  .kw-countdown-separator {
    font-size: 12px !important;
    margin-top: 7px !important;
  }
}

@media (max-width: 768px) {
  .topbar.topbar-mode-countdown {
    display: block !important;
  }
  .topbar-inner {
    justify-content: center !important;
    padding: 0 10px !important;
  }
  .topbar-left,
  .top-links {
    display: none !important;
  }
  .topbar-announcement-wrap {
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .kw-topbar-countdown,
  .kw-topbar-countdown-wrap {
    gap: 6px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .kw-countdown-label {
    display: none !important; /* Hide tiny labels on small mobile to keep clock ultra-compact */
  }
  .kw-countdown-separator {
    margin-top: 0 !important;
  }
  .kw-countdown-text,
  .kw-countdown-before,
  .kw-countdown-after,
  .kw-countdown-before-text,
  .kw-countdown-after-text {
    font-size: 11px !important;
  }
  .kw-digit-card {
    width: 15px !important;
    height: 21px !important;
    font-size: 12px !important;
  }
  .kw-countdown-cta {
    padding: 2px 7px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  .kw-topbar-countdown,
  .kw-topbar-countdown-wrap {
    gap: 4px !important;
  }
  .kw-countdown-text,
  .kw-countdown-before,
  .kw-countdown-after,
  .kw-countdown-before-text,
  .kw-countdown-after-text {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
  .kw-digit-card {
    width: 14px !important;
    height: 19px !important;
    font-size: 11px !important;
  }
  .kw-countdown-cta {
    padding: 2px 6px !important;
    font-size: 9px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN COUNTDOWN TIMER CUSTOMIZER PANEL MODERN STYLES
   ══════════════════════════════════════════════════════════════ */
.kw-cd-panel-wrap {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.kw-cd-panel-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #f97316, #eab308, #dc2626);
  background-size: 200% 100%;
}

.kw-cd-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 18px;
}

.kw-cd-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.kw-cd-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 17px;
}

.kw-cd-active-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fee2e2;
  color: #991b1b;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #fecaca;
}

.kw-cd-btn-save {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-cd-btn-save:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.kw-cd-btn-save:active {
  transform: translateY(0);
}

/* Preset Theme Bar */
.kw-cd-presets-bar {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.kw-cd-presets-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.kw-cd-theme-preset {
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.18s ease;
}

.kw-cd-theme-preset:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kw-cd-theme-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

/* 2-Column Responsive Grid Architecture */
.kw-cd-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1024px) {
  .kw-cd-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Setting Card */
.kw-cd-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
}

.kw-cd-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.kw-cd-card-header {
  font-weight: 800;
  font-size: 14.5px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 12px;
  margin: 0;
}

.kw-cd-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.kw-cd-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.kw-cd-field-hint {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.kw-cd-input,
.kw-cd-select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
  min-width: 0;
  transition: all 0.15s ease;
}

.kw-cd-input:focus,
.kw-cd-select:focus {
  border-color: #287BFF;
  box-shadow: 0 0 0 3px rgba(40, 123, 255, 0.12);
  outline: none;
  background: #ffffff;
}

/* Double subgrid row */
.kw-cd-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

/* Triple subgrid row */
.kw-cd-row-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

/* Bulletproof Color Controls (Zero Overflow) */
.kw-cd-color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.kw-cd-color-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kw-cd-color-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  height: 38px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  transition: all 0.15s ease;
}

.kw-cd-color-box:focus-within {
  border-color: #287BFF;
  box-shadow: 0 0 0 3px rgba(40, 123, 255, 0.12);
}

.kw-cd-color-picker {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  background: none;
  box-sizing: border-box;
}

.kw-cd-hex-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

/* Active Units Checkbox Pills */
.kw-cd-units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  min-width: 0;
}

.kw-cd-unit-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.kw-cd-unit-toggle:hover {
  border-color: #287BFF;
  background: #eff6ff;
}

.kw-cd-unit-toggle input[type="checkbox"] {
  cursor: pointer;
  width: 15px;
  height: 15px;
  accent-color: #287BFF;
  margin: 0;
}

/* Performance Callout */
.kw-cd-callout-info {
  background: #f1f5f9;
  border-left: 3px solid #7c3aed;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.45;
}

/* ═════════════════════════════════════════════════════════════════════
   CATEGORY AD BANNER & AUTO SLIDER STYLES
   ═════════════════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════════════════
   CATEGORY AD BANNER & AUTO SLIDER STYLES (PRO SLEEK COMPACT)
   ═════════════════════════════════════════════════════════════════════ */
.kw-category-slider-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 8px !important;
  margin-bottom: 18px !important;
  box-sizing: border-box !important;
  position: relative !important;
  clear: both !important;
}

.kw-cat-slider-track-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  background: transparent;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.kw-cat-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Slide item */
.kw-cat-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.kw-cat-slide picture,
.kw-cat-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.kw-cat-slide img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.kw-cat-slide:hover img {
  transform: scale(1.012);
}

/* Fade mode */
.kw-cat-slider-track.fade-mode {
  position: relative;
  height: 155px;
  transition: none;
}

.kw-cat-slider-track.fade-mode .kw-cat-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 1;
}

.kw-cat-slider-track.fade-mode .kw-cat-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slider navigation arrows */
.kw-cat-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.kw-cat-slider-track-wrap:hover .kw-cat-slider-arrow,
.kw-cat-slider-arrow:focus {
  opacity: 1;
}

.kw-cat-slider-prev {
  left: 12px;
}

.kw-cat-slider-next {
  right: 12px;
}

.kw-cat-slider-arrow:hover {
  background: #287BFF;
  color: #ffffff;
  border-color: #287BFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.35);
}

/* Pagination Dots */
.kw-cat-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  padding: 3px 8px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
}

.kw-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.kw-cat-dot.active {
  width: 16px;
  height: 5px;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .kw-category-slider-container {
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }
  .kw-cat-slider-track-wrap {
    height: 130px;
  }
  .kw-cat-slider-track.fade-mode {
    height: 130px;
  }
  .kw-cat-slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 11px;
    opacity: 0.85;
  }
  .kw-cat-slider-prev { left: 8px; }
  .kw-cat-slider-next { right: 8px; }
}

@media (max-width: 600px) {
  .kw-category-slider-container {
    margin-top: 4px !important;
    margin-bottom: 12px !important;
  }
  .kw-cat-slider-track-wrap {
    height: 100px;
    border-radius: 10px;
  }
  .kw-cat-slider-track.fade-mode {
    height: 100px;
  }
  .kw-cat-slider-arrow {
    display: none;
  }
  .kw-cat-slider-dots {
    bottom: 6px;
    padding: 2px 6px;
    gap: 4px;
  }
  .kw-cat-dot {
    width: 4px;
    height: 4px;
  }
  .kw-cat-dot.active {
    width: 12px;
    height: 4px;
  }
}

/* ADMIN TOGGLE SWITCH COMPONENT */
.kw-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
  vertical-align: middle;
}
.kw-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.kw-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}
.kw-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.kw-toggle-switch input:checked + .kw-toggle-slider {
  background-color: #287BFF;
}
.kw-toggle-switch input:checked + .kw-toggle-slider:before {
  transform: translateX(20px);
}


.topbar p {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--nav-top-text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .01em;
}

.topbar p i {
  color: var(--topbar-accent);
  font-size: 11px;
}

.topbar-left .topbar-hide-tablet,
.topbar-hide-tablet {
  display: flex !important;
}

@media (max-width: 1200px) {
  .top-links a:first-child,
  .top-links .top-link-sep:first-of-type {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    gap: 10px;
  }
  .topbar-left p {
    font-size: 11px;
  }
  .top-links {
    display: none !important;
  }
  .topbar-ann-link,
  .topbar-ann-text {
    font-size: 11.5px;
  }
}

@media (max-width: 768px) {
  .topbar.topbar-mode-countdown {
    display: block !important;
  }
  .topbar-inner {
    flex-wrap: nowrap;
    justify-content: center;
  }
  .topbar-left {
    display: none !important;
  }
  .top-links {
    display: none !important;
  }
  .topbar-announcement-wrap {
    max-width: 100%;
    margin: 0;
    width: 100%;
  }
  .topbar-ann-link,
  .topbar-ann-text {
    font-size: 11.5px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

/* TOPBAR BRAND TICKER MARQUEE */
.topbar-ticker-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.topbar-ticker {
  display: inline-flex;
  gap: 32px;
  animation: topbarMarquee 22s linear infinite;
  white-space: nowrap;
}

.topbar-ticker:hover {
  animation-play-state: paused;
}

@keyframes topbarMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.topbar-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nav-top-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .2s;
}

.topbar-ticker-item:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.section-kicker {
  color: #287BFF !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  display: block;
  margin-bottom: 4px;
}

/* TOP LINKS — pill-style links */
.top-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.top-links a {
  color: rgba(241, 245, 249, .88) !important;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .01em;
  white-space: nowrap;
  line-height: 1.2;
}

.top-links a i {
  color: var(--topbar-accent);
  font-size: 11px;
  transition: color .2s ease;
}

.top-links a:hover,
.top-links a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .15);
}

.top-links a:hover i,
.top-links a.active i {
  color: #ffffff;
}

/* Explicit separator elements between top-links */
.top-links .top-link-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .25);
  margin: 0 4px;
  flex-shrink: 0;
  pointer-events: none;
}

/* Fallback divider for markup without explicit .top-link-sep */
.top-links:not(.has-sep) a+a {
  position: relative;
  margin-left: 18px;
}

.top-links:not(.has-sep) a+a::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 1px;
  background: rgba(255, 255, 255, .25);
  pointer-events: none;
}

.top-links.has-sep a+a::before {
  display: none !important;
}

/* ══════════════════════════════════════════════════
   HEADER — white surface with refined shadow
══════════════════════════════════════════════════ */
.header {
  background: #ffffff;
  box-shadow: 0 1px 0 #e8edf5, 0 4px 24px rgba(15, 23, 42, .06);
  position: sticky;
  top: 0;
  z-index: 10000;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0;
}

.header-right-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* ── LOGO ── */
.logo,
.kw-brand-logo-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: none;
}

.logo-img--full {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: none;
}

@media (max-width: 1366px) {
  .logo-img--full {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .logo-img--full {
    height: 34px !important;
  }
}

.logo,
.logo:hover,
.logo-img,
.logo:hover .logo-img,
.logo-img--full,
.logo:hover .logo-img--full,
.kw-brand-logo-wrap,
.kw-brand-logo-wrap:hover {
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

/* ══════════════════════════════════════════════════
   SEARCH BAR — Modern, Professional Integrated Search Bar
══════════════════════════════════════════════════ */
.search-wrap {
  position: relative;
  flex: 1;
  max-width: 580px;
  z-index: 10001;
}

.search {
  position: relative;
  display: flex !important;
  align-items: center !important;
  width: 100%;
  height: 44px;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 0 4px 0 16px !important;
  box-sizing: border-box !important;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.search:hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.search:focus-within {
  border-color: #0066ff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(0, 102, 255, 0.14), 0 4px 18px rgba(0, 102, 255, 0.08) !important;
}

/* Left icon (if present) */
.search .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  z-index: 5;
  pointer-events: none;
  transition: color .22s ease;
}

.search:focus-within .search-icon {
  color: #0066ff;
}

/* Input */
.search input[type="text"],
.search input[type="search"],
.search input,
#searchInput {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 10px 0 0 !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  caret-color: #0066ff !important;
}

.search input[type="text"]:focus,
.search input[type="text"]:focus-visible,
.search input[type="text"]:active,
.search input:focus,
.search input:focus-visible,
.search input:active,
#searchInput:focus,
#searchInput:focus-visible,
#searchInput:active,
.help-search-box input:focus,
.help-search-box input:focus-visible,
.help-search-box input:active,
#helpMainSearchInput:focus,
#helpMainSearchInput:focus-visible,
#helpMainSearchInput:active {
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.search input::placeholder,
#searchInput::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

/* Clear button */
.search-clear-input {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: #64748b !important;
  font-size: 12px !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 6px !important;
  flex-shrink: 0 !important;
  transition: all 0.18s ease !important;
}

.search-clear-input:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: scale(1.1);
}

/* Search button — Inset modern capsule button */
#searchBtn,
.search button#searchBtn,
.search #searchBtn {
  height: 36px !important;
  min-width: 44px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.22) !important;
  border-radius: 9999px !important;
  background: #287BFF !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#searchBtn i,
.search button#searchBtn i,
.search #searchBtn i {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

#searchBtn:hover,
.search #searchBtn:hover {
  background: #1A68E8 !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.35) !important;
  transform: translateY(-0.5px);
}

#searchBtn:active,
.search #searchBtn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 3px rgba(40, 123, 255, 0.2) !important;
}

/* Dropdown Panel */
.search-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  display: none;
  flex-direction: column !important;
  max-height: 480px !important;
  overflow-y: auto !important;
  z-index: 100002 !important;
  animation: kwSearchDropFade 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.search-dropdown.open {
  display: flex !important;
}

@keyframes kwSearchDropFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sd-section {
  padding: 14px 16px;
}

.sd-section + .sd-section {
  border-top: 1px solid #f1f5f9;
}

.sd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sd-section-header span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sd-section-header .fa-fire {
  color: #ef4444;
}

.sd-section-header .fa-magnifying-glass {
  color: #0066ff;
}

.sd-clear-btn {
  background: none;
  border: none;
  font-size: 11.5px;
  color: #94a3b8;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.sd-clear-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.sd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.sd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.sd-item:hover {
  background: #f8fafc;
}

.recent-icon,
.sd-item-icon {
  color: #94a3b8;
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.sd-item span {
  flex: 1;
  font-size: 13.5px;
  color: #1e293b;
  font-weight: 500;
}

.sd-fill-icon {
  color: #cbd5e1;
  font-size: 11px;
  transition: all 0.15s;
}

.sd-item:hover .sd-fill-icon {
  color: #0066ff;
  transform: translateX(-2px);
}

.sd-product-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #f8fafc;
  padding: 2px;
}

.sd-product-info {
  flex: 1;
  min-width: 0;
}

.sd-product-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-product-name mark {
  background: rgba(0, 102, 255, 0.12);
  color: #0066ff;
  border-radius: 3px;
  padding: 0 2px;
}

.sd-product-meta {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.sd-product-meta mark {
  background: rgba(0, 102, 255, 0.10);
  color: #0066ff;
  border-radius: 2px;
  padding: 0 1px;
}

.sd-cat {
  font-weight: 600;
  color: #0066ff;
}

.sd-model {
  font-family: monospace;
  font-size: 11px;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
  color: #64748b;
}

.sd-product-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #287BFF;
  white-space: nowrap;
  flex-shrink: 0;
}

.sd-view-all {
  font-size: 12px;
  font-weight: 600;
  color: #0066ff;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  padding: 10px 16px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  transition: background 0.15s;
}

.sd-view-all:hover {
  background: #eff6ff;
}

.sd-trending-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-trending-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.sd-trending-pill:hover {
  background: rgba(0, 102, 255, 0.08);
  border-color: #bfdbfe;
  color: #0066ff;
  transform: translateY(-1px);
}

.sd-trending-pill .fa-arrow-trend-up {
  color: #ef4444;
  font-size: 11px;
}

.sd-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  gap: 8px;
  text-align: center;
}

.sd-no-results .fa-box-open {
  font-size: 38px;
  color: #cbd5e1;
}

.sd-no-results p {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
  margin: 0;
}

.sd-no-results span {
  font-size: 12px;
  color: #94a3b8;
}

.sd-keyboard-active {
  background: rgba(0, 102, 255, 0.08) !important;
  border-radius: 8px;
  outline: 1px solid #0066ff;
}

.sd-product-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.search-dropdown::-webkit-scrollbar {
  width: 5px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ══════════════════════════════════════════════════
   HEADER ACTION BUTTONS (Account / Wishlist / Cart)
   ══════════════════════════════════════════════════ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0 2px;
  min-width: 48px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease;
  position: relative;
}

.header-action-item:hover {
  transform: translateY(-2px);
}

.header-action-circle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-action-circle i {
  font-size: 14.5px !important;
  line-height: 1;
}

/* Account Circle (Hover Blue Fill) */
.circle-account {
  border: 1.5px solid #dbeafe;
  background: #ffffff;
  color: #287BFF;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-account i {
  color: #287BFF;
  font-size: 14.5px !important;
  transition: color 0.22s ease;
}

.header-action-item.action-account:hover .circle-account {
  border-color: #287BFF;
  background: #287BFF;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.3);
}

.header-action-item.action-account:hover .circle-account i {
  color: #ffffff !important;
}

.header-action-item.action-account:hover .label-account {
  color: #287BFF !important;
  font-weight: 700;
}

/* Wishlist Circle (Hover Red Fill) */
.circle-wishlist {
  border: 1.5px solid #fee2e2;
  background: #ffffff;
  color: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.08);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-wishlist i {
  color: #ef4444;
  font-size: 14.5px !important;
  transition: color 0.22s ease;
}

.header-action-item.action-wishlist:hover .circle-wishlist {
  border-color: #ef4444;
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.header-action-item.action-wishlist:hover .circle-wishlist i {
  color: #ffffff !important;
}

.header-action-item.action-wishlist:hover .label-wishlist {
  color: #ef4444 !important;
  font-weight: 700;
}

/* Cart Circle (Hover Blue Fill) */
.circle-cart {
  border: 1.5px solid #dbeafe;
  background: #ffffff;
  color: #287BFF;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-cart i {
  color: #287BFF;
  font-size: 14.5px !important;
  transition: color 0.22s ease;
}

.header-action-item.action-cart:hover .circle-cart {
  border-color: #287BFF;
  background: #287BFF;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.3);
}

.header-action-item.action-cart:hover .circle-cart i {
  color: #ffffff !important;
}

.header-action-item.action-cart:hover .label-cart {
  color: #287BFF !important;
  font-weight: 700;
}

/* Labels below circles */
.header-action-label {
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 4px;
  color: #1e293b;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: color 0.2s ease;
}

.header-action-item:hover .header-action-label {
  color: #287BFF;
}

/* Badges on top-right of circles */
.header-action-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0 2px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.badge-wishlist {
  background: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.badge-cart {
  background: #287BFF;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.4);
}

/* Hamburger toggle (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #1e293b;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease;
}

.menu-toggle:hover {
  background: #f1f5f9;
}

/* =====================================================
   NAVBAR — Premium Royal Blue Bar
   ===================================================== */
.nav {
  position: relative;
  z-index: 9000;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--nav-gradient, #EFF6FF);
  border-bottom: 1px solid #DBEAFE;
  box-shadow: var(--nav-shadow, 0 2px 10px rgba(11, 50, 100, 0.03));
  overflow: visible;
}

/* Top shimmer stripe */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .6) 30%,
      rgba(255, 255, 255, .9) 50%,
      rgba(255, 255, 255, .6) 70%,
      rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.nav .container {
  overflow: visible;
}

.nav-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  flex-wrap: nowrap;
  overflow: visible;
}

/* Thin vertical separator after All Categories */
.nav-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .22);
  margin: 0 6px;
  flex-shrink: 0;
  align-self: center;
}

/* ── NAV LINKS ── */
.nav-inner>a,
.nav-dropdown-wrapper>a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  color: var(--nav-link-color);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

/* ── ALL CATEGORIES (Separately styled at 13.5px) ── */
.mega-dropdown-btn,
.category-link.mega-dropdown-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  color: var(--nav-link-color);
  font-size: 13.5px !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-inner>a i,
.mega-dropdown-btn i {
  opacity: .95;
}

.mega-dropdown-btn .fa-bars {
  font-size: 14px;
}

/* Hover */
.nav-inner>a:hover,
.nav-dropdown-wrapper>a:hover,
.nav-dropdown-wrapper:hover>a {
  color: var(--nav-hover-color);
  background: var(--nav-hover-bg);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
  text-decoration: none !important;
}

.nav-inner>a:hover i,
.nav-dropdown-wrapper>a:hover i {
  opacity: 1;
}

/* Active / current page — bright filled pill */
.nav-inner>a.active,
.nav-dropdown-wrapper>a.active {
  color: var(--nav-active-color) !important;
  background: var(--nav-active-bg);
  box-shadow: none;
  text-decoration: none !important;
}

.nav-inner>a.active i {
  opacity: 1;
}

.nav-resources {
  color: #8039FE !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* ══════════════════════════════════════════════════
   NAVIGATION DROPDOWNS (All Categories, Learning Kits, Lab Setup, More Pages)
══════════════════════════════════════════════════ */
.nav-dropdown-wrapper,
.mega-menu-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0;
  z-index: 10020;
}

/* Custom slim scrollbars for dropdowns */
.mega-menu-panel::-webkit-scrollbar,
.nav-dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.mega-menu-panel::-webkit-scrollbar:horizontal,
.nav-dropdown-menu::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.mega-menu-panel::-webkit-scrollbar-track,
.nav-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.mega-menu-panel::-webkit-scrollbar-thumb,
.nav-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, .20);
  border-radius: 4px;
}

.mega-menu-panel::-webkit-scrollbar-thumb:hover,
.nav-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 70, 229, .45);
}

/* Dropdown panel for All Categories */
.mega-menu-panel {
  position: absolute;
  top: 100% !important;
  left: 0;
  margin-top: 6px;
  width: 290px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-x: hidden !important;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

/* Dropdown panel for Learning Kits & other nav dropdowns (Centered under link) */
.nav-dropdown-menu {
  position: absolute;
  top: 100% !important;
  left: 50%;
  margin-top: 6px;
  width: 280px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-x: hidden !important;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

/* Arrow pointer for All Categories dropdown */
.mega-menu-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2px 0 0 0;
  z-index: 1;
}

/* Arrow pointer for Learning Kits / other dropdowns */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2px 0 0 0;
  z-index: 1;
}

/* Generous invisible hover bridge to completely eliminate gaps and diagonal dead-zones */
.mega-menu-panel::after,
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: -24px;
  height: 28px;
  background: transparent;
  pointer-events: auto;
  z-index: 0;
}

/* Show panels cleanly on hover, focus, or when pinned open (.is-open, .show) */
.mega-menu-wrapper:hover .mega-menu-panel,
.mega-menu-wrapper.is-open .mega-menu-panel,
.mega-menu-panel.show,
.mega-menu-wrapper:focus-within .mega-menu-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.is-open .nav-dropdown-menu,
.nav-dropdown-menu.show,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Keep trigger button highlighted and rotate chevron arrow smoothly when open */
.mega-menu-wrapper:hover .mega-dropdown-btn,
.mega-menu-wrapper.is-open .mega-dropdown-btn,
.nav-dropdown-wrapper:hover > a.nav-link,
.nav-dropdown-wrapper.is-open > a.nav-link {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
}

.mega-menu-wrapper:hover .mega-dropdown-btn .fa-chevron-down,
.mega-menu-wrapper.is-open .mega-dropdown-btn .fa-chevron-down,
.nav-dropdown-wrapper:hover > a.nav-link .fa-chevron-down,
.nav-dropdown-wrapper.is-open > a.nav-link .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════
   DROPDOWN / MEGA-MENU ITEMS (topic-link & nav-dropdown-item)
══════════════════════════════════════════════════ */
.topic-link,
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 5.5px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topic-link i,
.nav-dropdown-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #287BFF;
  font-size: 13.5px;
  background: transparent;
  transition: transform 0.2s ease, color 0.2s ease;
}

.topic-link:hover,
.nav-dropdown-item:hover,
.topic-link.active,
.nav-dropdown-item.active {
  background: #f0f7ff !important;
  border-color: #dbeafe !important;
  color: #287BFF !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(40, 123, 255, 0.06);
}

.topic-link:hover i,
.nav-dropdown-item:hover i {
  color: #287BFF !important;
  background: transparent !important;
}

/* Drone icon */
.topic-link img.drone-icon,
.topic-link .drone-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
  filter: invert(29%) sepia(98%) saturate(1500%) hue-rotate(213deg) brightness(97%) contrast(94%);
  transition: filter 0.25s ease;
}

.topic-link:hover img.drone-icon,
.topic-link:hover .drone-icon {
  filter: invert(29%) sepia(98%) saturate(1500%) hue-rotate(213deg) brightness(97%) contrast(94%);
}

/* HOT label */
.hot {
  margin-left: auto;
  padding: 2px 7px;
  background: #ef4444;
  color: #fff;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ==================================================
   RESPONSIVE NAVBAR & GLOBAL MEDIA QUERIES
================================================== */

@media (max-width: 860px) {
  .topic-link {
    padding: 9px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .12);
  }

  .topic-link i {
    color: #60a5fa;
    background: rgba(96, 165, 250, .12);
  }

  .topic-link:hover {
    color: #93c5fd;
  }

  .topic-link:hover i {
    color: #bfdbfe;
  }
}

/* ── HERO ── */
.hero {
  background: var(--hero-gradient);
  padding: 72px 0;
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
}

/* DYNAMIC HERO LAYOUT RULES (BASED ON ACTIVE SUB-SLIDES COUNT) */
.hero-grid.hero-grid-full,
.hero-grid.no-side-banners,
.hero-grid[data-side-count="0"] {
  grid-template-columns: 1fr !important;
  width: 100% !important;
}
.hero-grid.hero-grid-full .hero-image-card,
.hero-grid.no-side-banners .hero-image-card,
.hero-grid[data-side-count="0"] .hero-image-card {
  width: 100% !important;
  max-width: 100% !important;
}
.hero-grid.hero-grid-full .hero-side-banners,
.hero-grid.no-side-banners .hero-side-banners,
.hero-grid[data-side-count="0"] .hero-side-banners {
  display: none !important;
}
/* CASE 2 — 1 SUB SLIDE ACTIVE: Normal layout width, full-height card on desktop, compact on mobile */
@media (min-width: 901px) {
  .hero-grid[data-side-count="1"] {
    grid-template-columns: 1fr 340px;
  }
  .hero-grid[data-side-count="1"] .hero-side-banners,
  .hero-side-banners.single-side-banner {
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
  }
  .hero-grid[data-side-count="1"] .hero-side-banners .side-banner-card,
  .hero-side-banners.single-side-banner .side-banner-card {
    height: 100% !important;
    flex: 1 1 100% !important;
    min-height: 100% !important;
    padding: 24px 22px !important;
  }
}

/* (Responsive breakpoints consolidated in PRODUCTION-GRADE BREAKPOINTS section) */

/* HERO ANIMATION */
@keyframes topDownEntrance {
  from {
    opacity: 0;
    transform: translateY(-28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.animate-top-down {
  animation: topDownEntrance 1.2s cubic-bezier(.22, 1, .36, 1) both
}

/* EYEBROW PILL */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, .10);
  color: var(--primary-dark);
  border: 1px solid rgba(37, 99, 235, .22);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title-tech {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 18px;
}

.rain-glow-text {
  background: linear-gradient(135deg, #1D4ED8, #2563EB, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero>div>div>p,
.hero-grid .hero-copy>p {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* HERO IMAGE CARD SLIDESHOW (ANIMATED TOP-DOWN & FIXED SIZE) */
.hero-image-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl, 24px);
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.85);
  height: 380px;
  width: 100%;
}

/* Sliding track: slides sit in a row; the track itself is translated so the
   whole strip visibly moves toward whichever arrow was clicked. */
.hero-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;

  background: linear-gradient(135deg, #f0f7ff 0%, #e0edff 45%, #ede9fe 100%);
}

.hero-slide::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  filter: blur(60px);

  left: -100px;
  top: -100px;

  animation: blob1 18s ease-in-out infinite alternate;
}

.hero-slide::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.20) 0%, rgba(236, 72, 153, 0.08) 50%, transparent 70%);
  filter: blur(70px);

  right: -150px;
  bottom: -150px;

  animation: blob2 20s ease-in-out infinite alternate;
}

@keyframes blob1 {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(120px, 70px);
  }
}

@keyframes blob2 {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-120px, -80px);
  }
}

.hero-slide.active {
  /* kept for JS/dot-state bookkeeping only; the track transform drives the visuals */
}

/* TWO-COLUMN HERO LAYOUT — product details on the left, image on the right. */
.hero-slide-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 32px 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-overlay-content {
  flex: 0 1 54%;
  max-width: 54%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
  box-sizing: border-box;
}

.hero-slide-no-img .hero-overlay-content {
  max-width: 85%;
  flex: 0 1 85%;
}

.side-banner-card.side-banner-no-img .side-banner-content {
  max-width: 100%;
  width: 100%;
}

.hero-overlay-tag-wrapper {
  display: flex;
  align-items: center;
}

.hero-overlay-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  background: #287BFF;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  display: inline-block;
}

.hero-overlay-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  word-break: break-word;
}

.hero-overlay-desc {
  font-size: clamp(12.5px, 1.1vw, 14.5px);
  line-height: 1.5;
  font-weight: 450;
  color: #475569;
  max-width: 100%;
  margin: 0;
}

.hero-cta-wrapper {
  margin-top: 4px;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #287BFF 0%, #1d4ed8 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px -3px rgba(40, 123, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-arrow {
  transition: transform 0.25s ease;
  font-size: 13px;
}

.hero-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(40, 123, 255, 0.55);
}

.hero-slide-btn:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── PRODUCTION-READY RESPONSIVE HERO BANNER (<picture> Art Direction) ── */
.hero-slide-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: block;
  background: #0f172a;
}

.hero-slide-backdrop-blur {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  background-size: cover;
  background-position: center center;
  filter: blur(24px);
  transform: scale(1.1);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.hero-slide-picture-img.fit-contain, .hero-image-card .hero-slide-picture-img.fit-contain { object-fit: contain !important; }

.hero-slider-canvas .kw-prev-bg-blur {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  background-size: cover;
  background-position: center center;
  filter: blur(24px);
  transform: scale(1.1);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.hero-slide-picture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slide:hover .hero-slide-picture-img {
    transform: scale(1.015);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  z-index: 2;
}

.hero-slide-image {
  flex: 0 0 320px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

@media screen and (min-width: 901px) {
  .hero-slide-image {
    position: absolute !important;
    right: 28px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(200px, 40%, 340px) !important;
    height: clamp(180px, 80%, 280px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 4 !important;
  }
}

.hero-image-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage-glow {
  display: none !important;
}

.hero-slide-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.16));
  transform-origin: center center;
  transform: scale(var(--prod-scale, 1));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide:hover .hero-image-stage {
  transform: translateY(-4px) scale(1.02);
  box-shadow: none !important;
}

.hero-slide:hover .hero-slide-image img {
  transform: scale(calc(var(--prod-scale, 1) * 1.05));
  filter: drop-shadow(0 20px 36px rgba(15, 23, 42, 0.22));
}

/* ── PRODUCTION-GRADE RESPONSIVE ART DIRECTION BREAKPOINTS ── */

/* 1. Desktop: 1200px and above */
@media screen and (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr 340px !important;
    gap: 24px !important;
  }
  .hero-image-card,
  #heroSlideshow {
    height: 380px !important;
    min-height: 240px !important;
    max-height: 380px !important;
    aspect-ratio: 16 / 7 !important;
  }
}

/* 2. Laptop: 992px to 1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: 1fr 300px !important;
    gap: 20px !important;
  }
  .hero-image-card,
  #heroSlideshow {
    height: clamp(280px, 32vw, 360px) !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 20px !important;
  }
  .hero-slide-inner {
    padding: 24px 28px !important;
  }
  .hero-overlay-content {
    max-width: 58% !important;
  }
  .hero-overlay-title {
    font-size: clamp(22px, 2.6vw, 30px) !important;
  }
}

/* 3. Tablet: 768px to 991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .hero-image-card,
  #heroSlideshow {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(260px, 35vw, 340px) !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 18px !important;
  }
  .hero-side-banners,
  .hero-side-banners.has-side-carousel {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    position: relative !important;
  }
  .hero-side-banners:not(.has-side-carousel) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
    gap: 14px !important;
  }
  .hero-side-banners .side-banners-track {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
  }
  .hero-side-banners .side-banners-page {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    display: none !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
    gap: 14px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-side-banners .side-banners-page.active {
    display: grid !important;
  }
  .hero-side-banners .side-banner-card,
  .hero-side-banners .side-banners-page .side-banner-card {
    height: 100% !important;
    min-height: 130px !important;
    box-sizing: border-box !important;
  }
  .hero-slide-inner {
    padding: 22px 24px !important;
  }
  .hero-overlay-content {
    max-width: 65% !important;
  }
}

/* 4. Mobile: below 768px (Height follows image ratio, zero forced height, zero distortion) */
@media screen and (max-width: 767px) {
  .hero-section {
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }
  .hero-image-card,
  #heroSlideshow {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: var(--hero-aspect-ratio, 16 / 7) !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12) !important;
  }
  .hero-slide-track {
    width: 100% !important;
    height: 100% !important;
  }
  .hero-slide {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: var(--hero-aspect-ratio, 16 / 7) !important;
  }
  .hero-slide-picture {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
  }
  .hero-slide-picture-img.fit-smart {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .hero-slide-picture-img.fit-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .hero-slide-inner {
    padding: 20px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .hero-overlay-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-overlay-title {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.2 !important;
  }
  .hero-overlay-desc {
    font-size: clamp(12px, 3.5vw, 14px) !important;
    line-height: 1.4 !important;
  }
  .hero-side-banners,
  .hero-side-banners.has-side-carousel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-auto-rows: auto !important;
    grid-template-rows: none !important;
    align-content: start !important;
    display: block !important;
  }
  .hero-side-banners:not(.has-side-carousel),
  .hero-side-banners .side-banners-page.active {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-side-banners .side-banners-track {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .side-banner-card,
  .hero-side-banners .side-banner-card,
  .hero-side-banners .side-banners-page .side-banner-card {
    width: 100% !important;
    height: auto !important;
    min-height: 110px !important;
    max-height: 140px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .side-banner-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-right: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .side-banner-card.side-banner-no-img .side-banner-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }
  .side-banner-tag {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    margin-bottom: 3px !important;
    letter-spacing: 0.04em !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    width: fit-content !important;
    display: inline-flex !important;
  }
  .side-banner-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 3px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  .side-banner-subtitle {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
  .side-banner-action {
    margin-top: 2px !important;
    display: flex !important;
  }
  .side-banner-btn {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    height: 24px !important;
    gap: 4px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .side-banner-btn .side-btn-arrow {
    font-size: 10px !important;
  }
  .side-banner-image {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 10px !important;
  }
  .features-wrapper {
    margin-top: 14px !important;
    margin-bottom: 20px !important;
  }
  .hero-slide-dots {
    bottom: 12px !important;
    padding: 4px 10px !important;
  }
  .hero-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .hero-dot.active {
    width: 18px !important;
  }
}

/* Extra-compact Mobile: below 360px (e.g. 320px iPhone SE) */
@media screen and (max-width: 359px) {
  .hero-side-banners:not(.has-side-carousel),
  .hero-side-banners .side-banners-page.active {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .side-banner-card,
  .hero-side-banners .side-banner-card,
  .hero-side-banners .side-banners-page .side-banner-card {
    min-height: 100px !important;
    max-height: 130px !important;
    padding: 8px 10px !important;
  }
  .side-banner-image {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
  }
}

/* HERO SLIDER NAVIGATION ARROWS */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #0f172a;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: auto;
}

#heroSlideshow:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: #005ad8;
  color: #ffffff;
  border-color: #005ad8;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 90, 216, 0.35);
}

.hero-arrow-prev {
  left: 14px;
}

.hero-arrow-next {
  right: 14px;
}

@media screen and (max-width: 767px) {
  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
    opacity: 0.75;
  }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
}

/* SIDE BANNERS DESKTOP BASE STYLING (>= 992px) */
@media (min-width: 992px) {
  .hero-side-banners {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: 100%;
    min-height: 380px;
  }

  .hero-side-banners.has-side-carousel {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    min-height: 380px !important;
    overflow: hidden !important;
    border-radius: var(--radius-xl, 20px) !important;
  }

  .hero-side-banners .side-banner-card,
  .hero-side-banners .side-banners-page .side-banner-card {
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    flex: none !important;
  }
}

.hero-side-banners .side-banners-track {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl, 20px) !important;
}

.hero-side-banners .side-banners-page {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 14px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(14px) scale(0.985) !important;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s ease !important;
  z-index: 1 !important;
}

.hero-side-banners .side-banners-page.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 2 !important;
}

/* Card height handled per breakpoint */

.hero-side-banners.single-side-banner,
.hero-side-banners.has-side-carousel .side-banners-page:has(.side-banner-card:only-child) {
  grid-template-rows: 1fr !important;
}

.hero-side-banners.single-side-banner .side-banner-card,
.hero-side-banners .side-banners-page .side-banner-card:only-child {
  height: 100% !important;
  flex: 1 1 100% !important;
}

/* FLOATING CAROUSEL INDICATOR PILL */
.side-banners-controls {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  z-index: 25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: auto !important;
}

.hero-side-banners:hover .side-banners-controls {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
  transform: translateY(-1px) !important;
}

.side-banners-dots {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.side-banner-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #cbd5e1 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.side-banner-dot:hover {
  background: #94a3b8 !important;
  transform: scale(1.18) !important;
}

.side-banner-dot.active {
  width: 20px !important;
  height: 7px !important;
  background: #287BFF !important;
  background: linear-gradient(135deg, #287BFF 0%, #005ad8 100%) !important;
  box-shadow: 0 2px 8px rgba(40, 123, 255, 0.45) !important;
  transform: scale(1) !important;
}

.side-banners-nav-arrows,
.side-banner-arrow-btn {
  display: none !important;
}

.side-banner-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: var(--radius-xl, 20px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.side-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(40, 123, 255, 0.2);
}

.side-banner-content {
  flex: 1;
  z-index: 2;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.side-banner-tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(40, 123, 255, 0.08);
  border: 1px solid rgba(40, 123, 255, 0.16);
  color: #287BFF;
  margin-bottom: 6px;
  width: fit-content;
}

.side-banner-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 4px;
}

.side-banner-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 10px;
}

.side-banner-action {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.side-banner-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: fit-content;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--btn-accent, #287BFF);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(40, 123, 255, 0.18);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-btn-arrow {
  transition: transform 0.25s ease;
  font-size: 12px;
}

.side-banner-card:hover .side-banner-btn {
  background: var(--btn-accent, #287BFF) !important;
  color: #ffffff !important;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.3);
  border-color: var(--btn-accent, #287BFF) !important;
}

.side-banner-card:hover .side-banner-btn,
.side-banner-card:hover .side-banner-btn *,
.side-banner-card:hover .side-banner-btn i,
.side-banner-card:hover .side-btn-arrow {
  color: #ffffff !important;
}

.side-banner-card:hover .side-btn-arrow {
  transform: translateX(4px);
}

.side-banner-image {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.side-banner-backdrop-blur {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  background-size: cover;
  background-position: center center;
  filter: blur(24px);
  transform: scale(1.1);
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.side-banner-img-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.side-banner-card:hover .side-banner-img-stage {
  transform: scale(1.06) rotate(1.5deg);
}

.side-banner-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.12));
  transform-origin: center center;
  transform: scale(var(--banner-scale, 1));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-banner-image.fit-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px;
}

.product-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: #2563eb20;
  filter: blur(90px);
  border-radius: 50%;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue-gradient);
  color: #fff;
  box-shadow: var(--shadow-blue)
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(0, 102, 255, .4)
}

.btn-light {
  background: #fff;
  color: var(--secondary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm)
}

.btn-light:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #e0f2fe
}

/* ── FEATURES STRIP (Aligned Straight to Logo in Container) ── */
.features-wrapper {
  margin-top: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.025);
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.features article {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 20px 22px;
  border-right: 1px solid #edf2f7;
  transition: background 0.25s ease;
  box-sizing: border-box;
}

.features article:last-child {
  border-right: none;
}

.features article:hover {
  background: #f8faff;
}

.features article span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066ff;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.features article:hover span {
  transform: scale(1.06);
  background: #dbeafe;
}

.features article h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.features article p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* ── SECTION HEADINGS ── */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}

.heading-left {
  display: flex;
  flex-direction: column;
}

.section-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 6px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.heading-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── VIDEO OFFER BOXES ── */
.offer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px
}

.offer-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  background: linear-gradient(135deg, #090d16 0%, #111827 50%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.offer-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .92;
  filter: brightness(.95) contrast(1.05);
  transition: transform .4s ease;
}

.offer-card:hover .offer-bg-video {
  transform: scale(1.04)
}

.offer-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .3)0%, rgba(15, 23, 42, .87)100%);
  z-index: 1;
}

.offer-card>div {
  position: relative;
  z-index: 2
}

.offer-main span,
.offer-small span,
.badge-tag-bright {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  background: var(--blue-gradient);
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

.offer-main h2,
.offer-small h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .95);
}

.offer-main p {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9)
}

.offer-main a,
.offer-small a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-gradient);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}

.offer-main a:hover,
.offer-small a:hover {
  filter: brightness(1.1);
  transform: translateY(-1px)
}

/* ── DRONE PROMO BANNER (EXCLUSIVE TODAY - TWIN SQUARE LAYOUT) ── */
.drone-promo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
  align-items: stretch;
}

/* fix promo banner: remove aspect-ratio constraint so boxes fill evenly */
.exclusive-square-box {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.exclusive-left-box {
  background: radial-gradient(ellipse at 60% 50%, #0e2154 0%, #0a1128 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.exclusive-left-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 55%, rgba(0, 102, 255, 0.25) 0%, transparent 65%);
  pointer-events: none;
}

.exclusive-left-box img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 12px 28px rgba(0, 120, 255, 0.55)) brightness(1.08);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.exclusive-left-box:hover img {
  transform: scale(1.07) rotate(-3deg);
}

.exclusive-right-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  padding: 44px;
  border-left: 4px solid var(--primary);
}

@media(max-width:768px) {
  .drone-promo-banner {
    grid-template-columns: 1fr;
  }

  .exclusive-square-box {
    aspect-ratio: auto;
    min-height: 300px;
  }
}

.drone-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.tag-exclusive,
.tag-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  width: fit-content;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 102, 255, .3);
}

.drone-promo-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 6px;
}

.discount-huge {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.drone-promo-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px
}

.drone-promo-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.45;
  max-width: 340px
}

.btn-promo-pill,
.btn-purple-pill {
  background: var(--blue-gradient);
  color: #fff !important;
  padding: 13px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-promo-pill:hover,
.btn-purple-pill:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 102, 255, .4);
}





/* ===============================
   FEATURED PRODUCTS SECTION
================================ */

.featured-products {
  width: 100%;
  padding: 56px 0;
  background: #f8fafc;
}

.featured-container {
  max-width: 1680px;
  width: min(94%, 1680px);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ===============================
   SECTION HEADING
================================ */

.featured-products .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 28px;
}

/* ==========================================================================
   UNIFIED PRODUCT CARD SYSTEM (MATCHING REFERENCE DESIGN)
   ========================================================================== */

/* ── PRODUCT GRID (Strict 240–280px card tracks on desktop, equal stretch) ── */
/* ── PRODUCT GRID (Balanced cards on desktop, equal stretch) ── */
.product-grid,
.shop-product-grid,
.latest-product-grid,
.product-grid-shop,
.category-products-grid,
.other-products-grid,
.products-grid,
.featured-grid,
.show-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* ── SHOP PAGE LAYOUT (Stable 240px Sidebar + Product Area) ── */
.shop-page-layout {
  display: grid !important;
  grid-template-columns: 240px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  width: 100% !important;
}

.shop-sidebar {
  width: 100% !important;
  min-width: 0 !important;
  position: sticky !important;
  top: 20px !important;
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;
  padding-right: 12px !important;
  padding-bottom: 24px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 transparent !important;
  box-sizing: border-box !important;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}

.shop-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ── MASTER REFERENCE PRODUCT CARD CONTAINER (16px Rounded Sleek Modern Card) ── */
.product-card,
.latest-product-card,
.shop-card,
.pc,
.sp-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 410px !important;
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.product-card:hover,
.latest-product-card:hover,
.shop-card:hover,
.pc:hover,
.sp-card:hover,
.product-card.reveal-done:hover,
.latest-product-card.reveal-done:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px -4px rgba(40, 123, 255, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(40, 123, 255, 0.28) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

:root {
  --product-img-padding: 28px; /* Single easy-to-edit value to control product image size inside its box */
}

/* ── UNIFIED PRODUCT IMAGE AREA (Fixed Aspect-Ratio 1/1, Transparent Canvas, Mix-Blend-Mode Multiply) ── */
.product-image-box,
.product-image-wrapper,
.latest-product-image,
.product-img-wrapper,
.card-img-wrap,
.product-img,
.shop-card-img-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 16px 16px 0 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}
.product-image-box img,
.product-image-wrapper img,
.latest-product-image img,
.product-img-wrapper img,
.shop-card-img-wrap img,
.card-img-wrap img,
.shop-card-img,
.product-image,
.product-image img,
.product-card .product-image-box img,
.product-card .product-image-wrapper img,
.product-card .product-image,
.latest-product-card img,
.sp-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  padding: var(--product-img-padding, 28px) !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
  display: block !important;
  margin: 0 !important;
}
/* ── INDEPENDENT HOVER: Only zoom when hovering directly on the product image area ── */
.product-image-box:hover img:not(.hover-img),
.product-image-wrapper:hover img:not(.hover-img),
.latest-product-image:hover img:not(.hover-img),
.product-img-wrapper:hover img:not(.hover-img),
.card-img-wrap:hover img:not(.hover-img),
.shop-card-img-wrap:hover img:not(.hover-img),
.product-img:hover img:not(.hover-img),
.pc-img-wrap:hover img:not(.hover-img),
.shop-card-img:hover,
.product-image:hover {
  transform: scale(1.05) !important;
}

/* Explicit rule: Hovering product card box hovers ONLY the box, NOT the image */
.product-card:hover .product-image-box:not(:hover) img,
.product-card:hover .product-image-wrapper:not(:hover) img,
.latest-product-card:hover .latest-product-image:not(:hover) img,
.shop-card:hover .shop-card-img-wrap:not(:hover) img,
.pc:hover .pc-img-wrap:not(:hover) img,
.sp-card:hover .product-image-box:not(:hover) img {
  transform: none !important;
}

/* ── WISHLIST BUTTON (top-right corner of image area) ── */
.product-wishlist,
.wishlist-btn,
.card-wishlist-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  color: #64748b !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.product-wishlist i,
.wishlist-btn i,
.card-wishlist-btn i {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1 !important;
  pointer-events: none !important;
  transition: color 0.2s ease !important;
}

.product-wishlist.active,
.wishlist-btn.active,
.card-wishlist-btn.active,
.product-wishlist.active i,
.wishlist-btn.active i,
.card-wishlist-btn.active i,
.product-wishlist.active .fa-heart,
.wishlist-btn.active .fa-heart,
.card-wishlist-btn.active .fa-heart,
.product-wishlist i.fa-solid,
.wishlist-btn i.fa-solid,
.card-wishlist-btn i.fa-solid {
  color: #ef4444 !important;
  font-weight: 900 !important;
}

.product-wishlist.active,
.wishlist-btn.active,
.card-wishlist-btn.active {
  border-color: #fecaca !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15) !important;
}

.product-wishlist:hover,
.wishlist-btn:hover,
.card-wishlist-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12) !important;
  border-color: #cbd5e1 !important;
}

/* ── PRODUCT BADGES (Pill Badges Matching Reference) ── */
.product-badge,
.badge,
.save-tag-red {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  color: #ffffff !important;
  background: #287BFF !important;
  border-radius: 50px !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.25) !important;
  letter-spacing: 0.5px !important;
}

.sale-badge,
.discount-badge,
.badge.sale,
.save-tag-red {
  background: #287BFF !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.25) !important;
}

.new-badge,
.badge.new {
  background: #16a34a !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25) !important;
}

/* ── OUT OF STOCK BADGE (Prominent, High Contrast, Subtle Red) ── */
.out-of-stock-badge,
.product-badge.out-of-stock-badge,
.badge.out-of-stock-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  height: 24px !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  background: #fee2e2 !important;
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fca5a5 !important;
  box-shadow: 0 1px 3px rgba(185, 28, 28, 0.08) !important;
  text-transform: uppercase !important;
}

/* ── PRODUCT INFO CONTAINER ── */
.product-info,
.product-content,
.latest-product-content,
.pc-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 14px 18px 16px 18px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  justify-content: flex-start !important;
  width: 100% !important;
  text-align: left !important;
}

/* ── CATEGORY LABEL (Crisp 11.5px uppercase royal blue matching reference) ── */
.product-category,
.card-category,
.product-info small,
.latest-product-content .product-category {
  margin-bottom: 5px !important;
  margin-top: 0 !important;
  color: #287BFF !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  display: block !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  text-align: left !important;
  background: transparent !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  height: 16px !important;
  min-height: 16px !important;
}

/* ── PRODUCT TITLE (Strict 2-line reserved height: 2.7em, 14.5px / 700) ── */
.product-title,
.product-name,
.shop-card-title,
.product-info h3,
.product-content h3,
.latest-product-content h3,
.pc-body h3 {
  margin: 0 0 6px 0 !important;
  color: #0f172a !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  height: 2.7em !important;
  text-align: left !important;
}

.product-title a,
.product-name a,
.product-info h3 a,
.product-content h3 a,
.latest-product-content h3 a,
.pc-body h3 a {
  color: inherit !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  transition: color 0.2s ease !important;
}

.product-title a:hover,
.product-name a:hover,
.product-info h3 a:hover,
.product-content h3 a:hover,
.latest-product-content h3 a:hover {
  color: #287BFF !important;
}

/* ── RATINGS (Orange stars + clear review text) ── */
.product-rating,
.rating {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  font-size: 12px !important;
  height: auto !important;
  min-height: 16px !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.rating-stars,
.product-rating span.rating-stars,
.rating span:first-child,
.latest-product-content .product-rating span {
  color: #f59e0b !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1 !important;
}

.rating-score {
  color: #0f172a !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1 !important;
}

.review-count,
.product-rating small,
.rating span:last-child,
.rating small,
.latest-product-content .product-rating small {
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1 !important;
}

/* ── REAL STOCK STATUS & DETAIL METADATA ROW ── */
.product-meta-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  min-height: 18px !important;
  line-height: 1.3 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.product-stock-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4.5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #16a34a !important;
  letter-spacing: 0.1px !important;
  line-height: 1 !important;
}

.product-stock-badge i {
  font-size: 10px !important;
}

.product-spec-line {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  line-height: 1 !important;
}

/* ── FLEXIBLE SPACER (Guarantees comfortable breathing room and bottom action alignment) ── */
.product-info-spacer {
  flex: 1 1 auto !important;
  min-height: 6px !important;
}

/* ── CARD DIVIDER (Removed as requested) ── */
.product-card-divider {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* ── PRODUCT CARD BOTTOM (Side-by-Side: Price + GST on Left, Add to Cart Button on Right) ── */
.product-card-footer,
.product-card-bottom,
.product-bottom,
.latest-product-bottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf2f7 !important;
  box-sizing: border-box !important;
}

@media screen and (min-width: 769px) {
  .product-card-footer,
  .product-card-bottom,
  .product-bottom,
  .latest-product-bottom {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

/* Dedicated Price Section (Stacked on Left) */
.product-price-area,
.product-price-section,
.product-price,
.latest-product-price,
.price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.price-main-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  width: auto !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-price .current-price,
.price-main-row .current-price,
.product-price strong,
.latest-product-price strong,
.price strong,
.price-purple,
.price-main,
.current-price {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  white-space: nowrap !important;
  letter-spacing: -0.3px !important;
  display: inline-block !important;
}

/* Professional Compact GST Badge / Chip: Incl. GST 18% */
.price-gst-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.price-gst-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.1px !important;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.05) !important;
}

.price-gst-badge i {
  font-size: 8.5px !important;
  color: #16a34a !important;
}

/* Old Price Row */
.price-old-row {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
}

.product-price .old-price,
.price-old-row .old-price,
.product-price del,
.latest-product-price del,
.price del,
.price-original,
.price-old,
.old-price {
  color: #94a3b8 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
  margin-top: 0 !important;
  display: inline-block !important;
  line-height: 1.2 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.old-price-placeholder {
  display: none !important;
}

.tax-subtext {
  display: none !important;
}

/* Action Container (Right-aligned next to price) */
.product-cart-action,
.product-card-action {
  display: flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

/* Compact Add to Cart Button on Right */
.product-cart-btn,
.cart-btn,
.add-cart-btn,
.latest-cart-btn,
.card-add-cart-btn,
.add-cart {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 13px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #287BFF !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.1px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 5 !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.product-cart-btn i,
.cart-btn i,
.add-cart-btn i,
.latest-cart-btn i,
.card-add-cart-btn i,
.add-cart i {
  font-size: 13px !important;
  color: #ffffff !important;
  line-height: 1 !important;
  pointer-events: none !important;
  transition: transform 0.25s ease !important;
}

.product-cart-btn:hover,
.cart-btn:hover,
.add-cart-btn:hover,
.latest-cart-btn:hover,
.card-add-cart-btn:hover,
.add-cart:hover,
.product-card .product-cart-btn:hover,
.product-card .cart-btn:hover,
.product-card .add-cart-btn:hover,
.latest-product-card .add-cart-btn:hover,
.latest-product-card .product-cart-btn:hover {
  background: #ea580c !important;
  background-color: #ea580c !important;
  background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4) !important;
}

.product-cart-btn:not(.notify-me-btn):not(.notification-set-btn):hover i,
.cart-btn:not(.notify-me-btn):not(.notification-set-btn):hover i,
.add-cart-btn:not(.notify-me-btn):not(.notification-set-btn):hover i,
.latest-cart-btn:not(.notify-me-btn):not(.notification-set-btn):hover i,
.card-add-cart-btn:not(.notify-me-btn):not(.notification-set-btn):hover i,
.add-cart:not(.notify-me-btn):not(.notification-set-btn):hover i {
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.product-cart-btn.notify-me-btn:hover i,
.cart-btn.notify-me-btn:hover i,
.add-cart-btn.notify-me-btn:hover i,
.notify-me-btn:hover i {
  color: #b45309 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transform: scale(1.15) rotate(-6deg) !important;
}

.product-cart-btn:active,
.cart-btn:active,
.add-cart-btn:active,
.latest-cart-btn:active,
.card-add-cart-btn:active,
.add-cart:active {
  transform: translateY(0) scale(0.97) !important;
  background: #c2410c !important;
  background-color: #c2410c !important;
  background-image: none !important;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.35) !important;
}

/* ── NOTIFY ME BUTTON (Warm Amber/Orange Waiting Style) ── */
.product-cart-btn.notify-me-btn,
.cart-btn.notify-me-btn,
.add-cart-btn.notify-me-btn,
.btn-black-add.notify-me-btn,
.notify-me-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #fffbeb !important;
  background-color: #fffbeb !important;
  background-image: none !important;
  color: #b45309 !important;
  border: 1px solid #fcd34d !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: 0 1px 2px rgba(180, 83, 9, 0.06) !important;
  transition: all 0.18s ease-in-out !important;
}

.product-cart-btn.notify-me-btn i,
.cart-btn.notify-me-btn i,
.add-cart-btn.notify-me-btn i,
.btn-black-add.notify-me-btn i,
.notify-me-btn i {
  color: #d97706 !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.product-cart-btn.notify-me-btn:hover,
.cart-btn.notify-me-btn:hover,
.add-cart-btn.notify-me-btn:hover,
.btn-black-add.notify-me-btn:hover,
.notify-me-btn:hover,
.product-cart-btn.notify-me-btn:focus-visible,
.cart-btn.notify-me-btn:focus-visible {
  background: #fef3c7 !important;
  background-color: #fef3c7 !important;
  background-image: none !important;
  color: #92400e !important;
  border-color: #f59e0b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.16) !important;
  cursor: pointer !important;
}

/* ── NOTIFICATION SET STATE (Subtle Success Green Style) ── */
.product-cart-btn.notification-set-btn,
.cart-btn.notification-set-btn,
.add-cart-btn.notification-set-btn,
.btn-black-add.notification-set-btn,
.notification-set-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  background-image: none !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  cursor: default !important;
  pointer-events: auto !important;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.05) !important;
  transition: all 0.18s ease-in-out !important;
  transform: none !important;
}

.product-cart-btn.notification-set-btn i,
.cart-btn.notification-set-btn i,
.add-cart-btn.notification-set-btn i,
.btn-black-add.notification-set-btn i,
.notification-set-btn i {
  color: #16a34a !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.product-cart-btn.notification-set-btn:hover,
.cart-btn.notification-set-btn:hover,
.add-cart-btn.notification-set-btn:hover,
.btn-black-add.notification-set-btn:hover,
.notification-set-btn:hover {
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  background-image: none !important;
  color: #15803d !important;
  border-color: #86efac !important;
  transform: none !important;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.05) !important;
  cursor: default !important;
}

/* ── PRODUCT DETAILS NOTIFY ME & NOTIFICATION SET BUTTONS ── */
#detailNotifyBtn,
.notify-me-detail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  background: #fffbeb !important;
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border: 1.5px solid #fcd34d !important;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.18s ease-in-out !important;
}

#detailNotifyBtn i,
.notify-me-detail-btn i {
  color: #d97706 !important;
  font-size: 15px !important;
}

#detailNotifyBtn:hover,
.notify-me-detail-btn:hover {
  background: #fef3c7 !important;
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18) !important;
  transform: translateY(-1px) !important;
  cursor: pointer !important;
}

#detailNotifyBtn:hover i,
.notify-me-detail-btn:hover i {
  color: #b45309 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transform: scale(1.15) rotate(-6deg) !important;
}

#detailNotifyBtn.notification-set-btn,
.notify-me-detail-btn.notification-set-btn {
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.06) !important;
  cursor: default !important;
  transform: none !important;
}

#detailNotifyBtn.notification-set-btn i,
.notify-me-detail-btn.notification-set-btn i {
  color: #16a34a !important;
  font-size: 15px !important;
}

#detailNotifyBtn.notification-set-btn:hover,
.notify-me-detail-btn.notification-set-btn:hover {
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border-color: #86efac !important;
  transform: none !important;
  cursor: default !important;
}

/* ── FULL-WIDTH TEXT CART BUTTON (Used in Shop Cards) ── */
.btn-black-add,
.shop-card .btn-black-add {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 16px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #287BFF !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(40, 123, 255, 0.22) !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
}

.btn-black-add i,
.shop-card .btn-black-add i {
  font-size: 13.5px !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.btn-black-add:hover,
.shop-card .btn-black-add:hover {
  background: #ea580c !important;
  background-color: #ea580c !important;
  background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4) !important;
}

.btn-black-add:active,
.shop-card .btn-black-add:active {
  transform: translateY(0) scale(0.98) !important;
  background: #c2410c !important;
  background-color: #c2410c !important;
  background-image: none !important;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.35) !important;
}

/* ── PRODUCT DETAIL ACTION BUTTONS HOVER ── */
#detailAddCartBtn {
  background: #287BFF !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.25) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

#detailAddCartBtn:hover {
  background: #ea580c !important;
  background-color: #ea580c !important;
  background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4) !important;
}

#detailAddCartBtn:hover i {
  transform: scale(1.12) !important;
  transition: transform 0.25s ease !important;
}

#detailAddCartBtn:active {
  transform: translateY(0) scale(0.98) !important;
  background: #c2410c !important;
  background-color: #c2410c !important;
  background-image: none !important;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.35) !important;
}

#detailBuyBtn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

#detailBuyBtn:hover {
  background: #10b981 !important;
  background-color: #10b981 !important;
  background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38) !important;
}

#detailBuyBtn:hover i {
  transform: scale(1.18) rotate(-8deg) !important;
  transition: transform 0.25s ease !important;
}

#detailBuyBtn:active {
  transform: translateY(0) scale(0.98) !important;
  background: #047857 !important;
  background-color: #047857 !important;
  background-image: none !important;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25) !important;
}

/* ══════════════════════════════════════════════════
   PRODUCT COMPARISON DOCK & MODAL (Target 13)
══════════════════════════════════════════════════ */
.kw-compare-dock {
  position: fixed;
  bottom: 24px;
  right: 96px;
  z-index: 9998;
  background: #ffffff;
  border: 1.5px solid #287BFF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: kwFadeUp 0.3s ease-out;
  max-width: calc(100vw - 120px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .kw-compare-dock {
    bottom: 86px;
    right: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
    justify-content: space-between;
  }
}

.kw-compare-dock-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.kw-compare-dock-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
}

.kw-compare-dock-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kw-compare-thumb {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  box-sizing: border-box;
}

.kw-compare-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kw-compare-thumb-del {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
  padding: 0;
}

.kw-compare-dock-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kw-btn-compare-now {
  background: #287BFF;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(40, 123, 255, 0.25);
}

.kw-btn-compare-now:hover {
  background: #1A68E8;
  transform: translateY(-1px);
}

.kw-btn-compare-clear {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

.kw-btn-compare-clear:hover {
  color: #ef4444;
  background: #fee2e2;
  border-color: #fca5a5;
}

/* Compare Modal Overlay */
.kw-compare-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.kw-compare-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
}

.kw-compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.kw-compare-modal-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.kw-compare-modal-close {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.kw-compare-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.kw-compare-clear-link {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kw-compare-clear-link:hover {
  color: #ef4444;
}

.kw-compare-table-wrap {
  padding: 20px 24px;
  overflow-x: auto;
  max-height: calc(90vh - 90px);
}

.kw-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.kw-compare-table th,
.kw-compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  font-size: 13px;
  color: #334155;
}

.kw-compare-table tr:hover td {
  background: #f8fafc;
}

.kw-compare-card-head {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 6px;
}

.kw-compare-card-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.kw-compare-card-remove:hover {
  color: #ef4444;
}

.kw-compare-img-box {
  width: 100%;
  height: 110px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.kw-compare-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.kw-compare-cat {
  font-size: 10px;
  font-weight: 700;
  color: #287BFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.kw-compare-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kw-compare-name a {
  color: inherit;
  text-decoration: none;
}

.kw-compare-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.kw-compare-price {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.kw-compare-oldprice {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}

.kw-compare-add-cart-btn {
  background: #287BFF;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.15s ease;
  width: 100%;
}

.kw-compare-add-cart-btn:hover {
  background: #ea580c;
}

/* ===============================
   RESPONSIVE DESIGN FOR PRODUCT GRID (Laptop 1024px+ maintains 5-card row)
================================ */
@media screen and (min-width: 1024px) {

  .latest-product-grid,
  .featured-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media screen and (max-width: 1023px) and (min-width: 769px) {

  .product-grid,
  .shop-product-grid,
  .latest-product-grid,
  .product-grid-shop,
  .category-products-grid,
  .other-products-grid,
  .shop-page-layout .product-grid-shop,
  .shop-page-layout .product-grid,
  .shop-page-layout .shop-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media screen and (max-width: 768px) {

  .product-grid,
  .shop-product-grid,
  .latest-product-grid,
  .product-grid-shop,
  .category-products-grid,
  .other-products-grid,
  .shop-page-layout .product-grid-shop,
  .shop-page-layout .product-grid,
  .shop-page-layout .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-image-box,
  .product-image-wrapper,
  .latest-product-image,
  .product-img-wrapper,
  .card-img-wrap,
  .product-img {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    padding: 0 !important;
  }

  .product-info,
  .product-content,
  .latest-product-content,
  .pc-body {
    padding: 10px 10px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
  }

  .product-card-bottom,
  .product-bottom,
  .latest-product-bottom,
  .card-bottom-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    padding-top: 8px !important;
    margin-top: auto !important;
    border-top: 1px solid #edf2f7 !important;
    box-sizing: border-box !important;
  }

  .product-price-section,
  .product-price,
  .latest-product-price,
  .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card-action,
  .product-cart-action {
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    box-sizing: border-box !important;
  }

  .cart-btn,
  .add-cart-btn,
  .card-add-cart-btn,
  .product-cart-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #287BFF !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(40, 123, 255, 0.25) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .cart-btn-label {
    display: none !important;
  }
  .cart-btn i,
  .add-cart-btn i,
  .card-add-cart-btn i,
  .product-cart-btn i {
    font-size: 15px !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 480px) {

  .product-grid,
  .shop-product-grid,
  .latest-product-grid,
  .product-grid-shop,
  .category-products-grid,
  .other-products-grid,
  .shop-page-layout .product-grid-shop,
  .shop-page-layout .product-grid,
  .shop-page-layout .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-card,
  .latest-product-card,
  .shop-card,
  .pc {
    border-radius: 12px !important;
  }

  .product-image-box,
  .product-image-wrapper,
  .latest-product-image,
  .product-img-wrapper,
  .card-img-wrap,
  .product-img {
    height: 155px !important;
    min-height: 155px !important;
    max-height: 155px !important;
    padding: 0 !important;
  }

  .product-info,
  .product-content,
  .latest-product-content,
  .pc-body {
    padding: 10px !important;
  }

  .product-category,
  .card-category,
  .product-info small,
  .latest-product-content .product-category {
    font-size: 9px !important;
    margin-bottom: 4px !important;
  }

  .product-title,
  .product-name,
  .shop-card-title,
  .product-info h3,
  .product-content h3,
  .latest-product-content h3,
  .pc-body h3 {
    font-size: 12px !important;
    line-height: 1.35 !important;
    min-height: calc(12px * 1.35 * 2) !important;
    max-height: calc(12px * 1.35 * 2) !important;
    height: calc(12px * 1.35 * 2) !important;
  }

  .product-rating,
  .rating {
    margin-top: 6px !important;
    gap: 4px !important;
  }

  .product-card-divider {
    margin: 8px 0 10px !important;
  }

  .product-price .current-price,
  .product-price strong,
  .latest-product-price strong,
  .price strong,
  .price-purple,
  .price-main {
    font-size: 15px !important;
  }

  .product-cart-btn,
  .cart-btn,
  .add-cart-btn,
  .latest-cart-btn,
  .card-add-cart-btn,
  .add-cart {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    font-size: 0 !important;
    border-radius: 50% !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    gap: 0 !important;
  }

  .cart-btn-label {
    display: none !important;
  }

  .product-cart-btn i,
  .cart-btn i,
  .add-cart-btn i,
  .latest-cart-btn i {
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 1200px) {
  .featured-products .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .featured-products {
    padding: 55px 18px;
  }

  .featured-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-products .product-image-box {
    height: 190px;
  }
}

@media screen and (max-width: 600px) {
  .featured-products {
    padding: 45px 14px;
  }

  .featured-products .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .featured-products .section-heading h2 {
    font-size: 26px;
  }

  .featured-products .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-products .product-image-box {
    height: 210px;
  }

  .featured-products .product-actions {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── KIT BANNER / VIDEO SWITCHER ── */
.kit-banner {
  background: linear-gradient(135deg, #0b1120 0%, #1e1b4b 50%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
}

.kit-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .9;
  filter: brightness(.9) contrast(1.06);
}

.kit-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, .92)0%, rgba(15, 23, 42, .6)100%);
  z-index: 1;
}

.kit-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}

.kit-content .badge-tag-bright {
  align-self: flex-start !important;
  margin-bottom: 14px;
  text-align: left !important;
}

.kit-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  text-align: left !important;
}

.kit-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 24px;
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  text-align: left !important;
}

.kit-content div {
  align-self: flex-start !important;
  text-align: left !important;
}

.kit-content .kit-cta-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}

.kit-content .kit-cta-group .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35) !important;
  border: 2px solid transparent !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kit-content .kit-cta-group .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.5) !important;
  filter: brightness(1.08) !important;
}

.kit-content .kit-cta-group .btn-kit-manual {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1.8px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kit-content .kit-cta-group .btn-kit-manual:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.kit-content .kit-cta-group .btn-kit-manual i {
  font-size: 13.5px !important;
  transition: transform 0.25s ease !important;
}

.kit-content .kit-cta-group .btn-kit-manual:hover i {
  transform: translateY(2px) !important;
}

.kit-content .kit-cta-group .btn-kit-manual:active,
.kit-content .kit-cta-group .btn-primary:active {
  transform: translateY(0) !important;
}

/* LEVEL BOXES */
.kit-levels {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.level-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  min-width: 240px;
  color: #fff;
}

.level-box:hover,
.level-box.active {
  background: var(--blue-gradient);
  border-color: var(--primary-light);
  transform: translateX(-4px);
}

.level-box i {
  font-size: 22px;
  color: #fff;
  flex-shrink: 0
}

.level-box strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700
}

.level-box span {
  font-size: 12px;
  opacity: .8
}

/* ── CUSTOMER REVIEWS — auto-scroll ticker, pause on hover ── */

#reviews {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: clip;
}

/* ── TESTIMONIAL CAROUSEL (Reduced Edge Fade & Clean Card Visibility) ── */
.reviews-ticker-outer {
  overflow: hidden;
  margin-top: 24px;
  padding: 16px 0 24px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 24px, #000 60px, #000 calc(100% - 60px), rgba(0, 0, 0, 0.6) calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 24px, #000 60px, #000 calc(100% - 60px), rgba(0, 0, 0, 0.6) calc(100% - 24px), transparent 100%);
}

/* The scrolling track — duplicated cards for seamless loop */
.reviews-grid {
  display: flex !important;
  gap: 20px !important;
  width: max-content !important;
  animation: reviewsScroll 48s linear infinite !important;
  will-change: transform;
}

/* Pause scroll strictly when hovering directly over the reviews track or cards */
.reviews-ticker-outer:hover .reviews-grid,
.reviews-grid:hover {
  animation-play-state: paused !important;
}

@keyframes reviewsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.035);
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  justify-content: space-between;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  width: 320px;
  min-width: 320px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(40, 123, 255, 0.08);
  border-color: #cbd5e1;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 3.5px;
  width: 100%;
}

.review-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.58;
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 500;
  text-align: left !important;
  width: 100%;
  min-height: 60px;
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 12px;
  border-top: 1px solid #f8fafc;
  padding-top: 14px;
  width: 100%;
  text-align: left !important;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #287BFF;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.25);
}

.review-user-info {
  text-align: left !important;
  min-width: 0;
}

.review-user-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-user-info span {
  font-size: 11.5px;
  color: #64748b;
  display: block;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-badge {
  font-size: 11px !important;
  text-align: left !important;
  font-weight: 600 !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 3px !important;
}

.review-badge i {
  color: #287BFF !important;
  font-size: 11px !important;
}

/* ── RESPONSIVE TESTIMONIALS ── */
@media (max-width: 1024px) {
  .reviews-ticker-outer {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 16px, #000 45px, #000 calc(100% - 45px), rgba(0, 0, 0, 0.6) calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 16px, #000 45px, #000 calc(100% - 45px), rgba(0, 0, 0, 0.6) calc(100% - 16px), transparent 100%);
  }

  .review-card {
    width: 290px;
    min-width: 290px;
    padding: 20px 18px;
  }
}

@media (max-width: 640px) {
  .reviews-ticker-outer {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }

  .review-card {
    width: 265px;
    min-width: 265px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .review-text {
    font-size: 12.5px;
    min-height: 52px;
  }
}

/* ── TOP BRANDS SECTION ── */
.top-brands-section {
  padding: 52px 0 60px;
  text-align: center;
}

.brands-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}

.brands-title-text {
  position: relative;
}

.brands-title-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--blue-gradient);
  border-radius: 4px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

/* ==================================
   TOP BRANDS SECTION
================================== */

.top-brands-section {
  width: 100%;
  padding: 55px 0;
  background: #fff8f8;
  overflow: hidden;
}

.brands-container {
  max-width: 1680px;
  width: min(94%, 1680px);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Heading */

.brands-heading {
  margin-bottom: 30px;
  text-align: center;
}

.brands-subtitle {
  margin: 0 0 7px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.brands-title {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}

/* Slider visible area */

.brands-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
}

/* Remove edge fade overlay so all brand cards are 100% visible */
.brands-slider::before,
.brands-slider::after {
  display: none;
}

/* Moving logo row */

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brandScroll 40s linear infinite;
}

/* Stop scrolling when hovered */

.brands-slider:hover .brands-track {
  animation-play-state: paused;
}

/* Individual logo item */

.brand-item {
  flex: 0 0 260px;
  height: 92px;
  margin-right: 28px;
  padding: 14px 20px;

  display: flex;
  align-items: center;
  gap: 16px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

/* Fixed logo box */

.brand-logo {
  width: 62px;
  height: 62px;
  flex-shrink: 0;

  padding: 6px;
  object-fit: contain;
  object-position: center;

  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
}

/* Brand name */

.brand-name {
  color: #14213d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

/* Infinite scroll */

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Tablet */

@media (max-width: 768px) {
  .top-brands-section {
    padding: 42px 0;
  }

  .brands-slider::before,
  .brands-slider::after {
    width: 45px;
  }

  .brand-item {
    flex-basis: 220px;
    height: 82px;
    margin-right: 18px;
    padding: 11px 15px;
    gap: 12px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 14px;
  }
}


/* Mobile */

@media (max-width: 480px) {
  .brands-container {
    width: 94%;
  }

  .brand-item {
    flex-basis: 190px;
    height: 74px;
    margin-right: 14px;
    padding: 9px 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brands-track {
    animation-duration: 18s;
  }
}

/* Accessibility */

/* Slider */
.brands-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Moving track */
.brands-track {
  display: flex;
  width: max-content;
  animation: scrollBrands 25s linear infinite;
}

/* Pause only when hovered */
.brands-slider:hover .brands-track {
  animation-play-state: paused;
}

/* Infinite scrolling */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* blog-grid definition moved to line ~4302 to avoid duplication */

.video-blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.video-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-video-thumb {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--light-2);
  cursor: pointer;
}

.card-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-blog-card:hover .card-video-thumb img {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.video-tag {
  display: inline-block;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin: 10px 0 8px 0;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body h3:hover {
  color: var(--primary);
}

.card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-gradient);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}

/* ── CART & WISHLIST TAB STRIP ── */
.cart-tab-strip {
  max-width: 800px;
  margin: 0 auto 24px auto;
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e2e8f0;
  padding-left: 8px;
  box-sizing: border-box;
}

.cart-tab-btn {
  padding: 12px 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -1px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cart-tab-btn:hover {
  color: #0f172a;
}

.cart-tab-btn.active {
  color: #287BFF;
  font-weight: 700;
  border-bottom-color: #287BFF;
}

.cart-tab-btn span.count-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  transition: all 0.2s ease;
}

.cart-tab-btn.active span.count-pill {
  background: #e0e7ff;
  color: #287BFF;
}

/* ── SHOP PAGE: SIDEBAR + GRID LAYOUT ── */
.shop-main-section {
  padding-top: 8px !important;
  margin-top: 0 !important;
}

.breadcrumb {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.shop-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.shop-sidebar {
  position: relative !important;
  top: 0 !important;
  align-self: start;
  height: fit-content;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-right: 18px;
  border-right: 1px solid var(--border);
  z-index: 20;
}

.sidebar-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.sidebar-list,
.sidebar-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
  padding: 0;
}

.sidebar-list li,
.sidebar-category-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list a,
.sidebar-category-list a,
.browse-category {
  font-size: 13.5px;
  color: #1e293b;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-list a .cat-dot,
.sidebar-category-list a .cat-dot,
.browse-category .cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-list a:hover,
.sidebar-category-list a:hover,
.browse-category:hover {
  color: #287BFF !important;
}

.sidebar-list a.active,
.sidebar-category-list a.active,
.browse-category.active {
  font-weight: 700 !important;
  color: #287BFF !important;
}

.sidebar-list a.active .cat-dot,
.sidebar-category-list a.active .cat-dot,
.browse-category.active .cat-dot {
  background: #287BFF !important;
  transform: scale(1.25);
}

.filter-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.filter-price-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.price-range-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, var(--primary, #0066ff) 0%, var(--primary, #0066ff) 100%, #e2e8f0 100%);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.price-range-input:hover {
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-gradient, linear-gradient(135deg, #0066ff, #38bdf8));
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.price-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

.price-range-input::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.price-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-gradient, linear-gradient(135deg, #0066ff, #38bdf8));
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  cursor: grab;
}

/* ── MODERN SIDEBAR PRICE FILTER ── */
.sidebar-filter-divider {
  height: 1px;
  background: var(--border, #e2e8f0);
  margin: 22px 0 16px;
  border: none;
}

.sidebar-filter-title,
.filter-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.filter-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.filter-group:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ── DUAL RANGE SLIDER (MATCHING PRODUCTS.PHP / IMAGE 2) ── */
.dual-slider-container {
  position: relative !important;
  width: 100% !important;
  height: 36px !important;
  margin-top: 14px !important;
  margin-bottom: 2px !important;
}
.dual-slider-track {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 100% !important;
  height: 2px !important;
  background: #e2e8f0 !important;
  pointer-events: none !important;
}
.dual-slider-fill {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 2px !important;
  background: #000000 !important;
  pointer-events: none !important;
}
.dual-slider-input {
  position: absolute !important;
  width: 100% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  pointer-events: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: 2px !important;
}
.dual-slider-input::-webkit-slider-thumb {
  pointer-events: auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  background: #000000 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.1s ease !important;
}
.dual-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.25) !important;
}
.dual-slider-input::-moz-range-thumb {
  pointer-events: auto !important;
  width: 14px !important;
  height: 14px !important;
  background: #000000 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.1s ease !important;
}
.dual-slider-input::-moz-range-thumb:hover {
  transform: scale(1.25) !important;
}

.filter-group label,
.filter-price-header {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.price-slider,
.price-range-input {
  width: 100% !important;
  height: 6px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: linear-gradient(to right, #287BFF 0%, #287BFF 100%, #e2e8f0 100%);
  border-radius: 999px !important;
  outline: none !important;
  cursor: pointer !important;
  margin: 8px 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
  transition: background 0.1s ease !important;
}

.price-slider:focus,
.price-range-input:focus {
  outline: none !important;
}

.price-slider::-webkit-slider-thumb,
.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #287BFF !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.4), 0 0 0 1px rgba(40, 123, 255, 0.15) !important;
  cursor: grab !important;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease !important;
}

.price-slider::-webkit-slider-thumb:hover,
.price-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18) !important;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.5), 0 0 0 4px rgba(40, 123, 255, 0.15) !important;
}

.price-slider:active::-webkit-slider-thumb,
.price-range-input:active::-webkit-slider-thumb {
  cursor: grabbing !important;
  transform: scale(1.05) !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.6), 0 0 0 5px rgba(40, 123, 255, 0.25) !important;
}

/* Firefox Support */
.price-slider::-moz-range-track,
.price-range-input::-moz-range-track {
  width: 100% !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #e2e8f0 !important;
  border: none !important;
}

.price-slider::-moz-range-progress,
.price-range-input::-moz-range-progress {
  height: 6px !important;
  border-radius: 999px !important;
  background: #287BFF !important;
}

.price-slider::-moz-range-thumb,
.price-range-input::-moz-range-thumb {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #287BFF !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.4) !important;
  cursor: grab !important;
  border: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.price-slider::-moz-range-thumb:hover,
.price-range-input::-moz-range-thumb:hover {
  transform: scale(1.18) !important;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.5), 0 0 0 4px rgba(40, 123, 255, 0.15) !important;
}

.price-range-labels,
.price-values {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 8px !important;
  width: 100% !important;
}

.price-range-labels span,
.price-values span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #ffffff !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  letter-spacing: -0.2px !important;
}

.price-range-labels span:last-child,
.price-values span:last-child,
#maxPriceVal {
  color: #287BFF !important;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  font-weight: 700 !important;
}

/* ── SHOP HEADER ROW & STRAIGHT SORT ALIGNMENT ── */
.shop-header-row,
.shop-title-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  gap: 16px !important;
  width: 100% !important;
}

.shop-header-row > div:first-child,
.shop-title-row > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.shop-header-row h1,
.shop-title-row h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.shop-header-row p.results-count,
.shop-title-row p.results-count {
  margin: 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

/* ── PROFESSIONAL CUSTOM SORT DROPDOWN ── */
.custom-sort-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  user-select: none;
  z-index: 50;
  margin: 0 !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.custom-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary, #0f172a);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap !important;
}

.custom-sort-btn:hover {
  border-color: var(--primary, #0066ff);
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.08);
  transform: translateY(-1px);
}

.custom-sort-btn:focus-visible {
  outline: none;
  border-color: var(--primary, #0066ff);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.custom-sort-dropdown.open .custom-sort-btn {
  border-color: var(--primary, #0066ff);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.sort-icon {
  color: var(--primary, #0066ff);
  font-size: 14px;
}

.chevron-icon {
  font-size: 11px;
  color: var(--text-muted, #64748b);
  margin-left: 4px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-sort-dropdown.open .chevron-icon {
  transform: rotate(180deg);
  color: var(--primary, #0066ff);
}

.custom-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.custom-sort-dropdown.open .custom-sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-sort-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9.5px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text, #0f172a);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-sort-item:hover {
  background: #f1f5f9;
  color: var(--primary, #0066ff);
}

.custom-sort-item.active {
  background: rgba(0, 102, 255, 0.08);
  color: var(--primary, #0066ff);
  font-weight: 700;
}

.option-icon {
  font-size: 13px;
  color: #94a3b8;
  width: 16px;
  text-align: center;
  transition: color 0.15s ease;
}

.custom-sort-item:hover .option-icon,
.custom-sort-item.active .option-icon {
  color: var(--primary, #0066ff);
}

.check-icon {
  margin-left: auto;
  font-size: 12px;
  color: var(--primary, #0066ff);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.custom-sort-item.active .check-icon {
  opacity: 1;
  transform: scale(1);
}

/* ══════════════════════════════════════════════
   PREMIUM PRODUCT CARD  (.pc)
   Used in: products.php (dynamic) + all category pages
══════════════════════════════════════════════ */

/* Grid layouts - 4 columns on desktop matching reference */
@media screen and (min-width: 1201px) {

  .product-grid-shop,
  .product-grid,
  .shop-product-grid,
  .shop-page-layout .product-grid-shop,
  .shop-page-layout .product-grid,
  .shop-page-layout .shop-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
}

/* ── Image zone ── */
.pc-img-wrap {
  position: relative;
  height: 205px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  overflow: hidden;
  border-bottom: 1px solid #edf1f5;
}

.pc-img-wrap img {
  max-height: 170px;
  max-width: 200px;
  object-fit: contain;
  transition: transform .3s ease;
}

.pc-img-wrap:hover img {
  transform: scale(1.04)
}

/* Quick-view overlay */
.pc-quickview {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.pc:hover .pc-quickview {
  opacity: 1
}

.pc-quickview button {
  background: #fff;
  color: var(--secondary);
  border: none;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: background .2s;
}

.pc-quickview button:hover {
  background: var(--primary);
  color: #fff
}

/* ── Badges (top-left) ── */
.pc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pc-badge.sale {
  background: #ef4444;
  color: #fff
}

.pc-badge.new {
  background: #10b981;
  color: #fff
}

.pc-badge.hot {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff
}

.pc-badge.best {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff
}

.pc-badge.trending {
  background: #287BFF;
  color: #fff
}

/* ── Action icons (top-right) ── */
.pc-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
}

.pc:hover .pc-actions {
  opacity: 1;
  transform: translateX(0)
}

.pc-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: background .2s, color .2s, transform .2s;
}

.pc-action-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1)
}

/* Wishlist heart animation */
.pc-action-btn.wishlisted {
  background: #fee2e2;
  color: #ef4444
}

.pc-action-btn.wishlisted i {
  animation: heartPop .35s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes heartPop {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.55)
  }

  100% {
    transform: scale(1)
  }
}

/* ── Info body ── */
.pc-body {
  padding: 16px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1
}

.pc-cat {
  font-size: 11px;
  color: #0066ff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px
}

.pc-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  min-height: 44px;
  max-height: 44px
}

/* Stock */
.pc-stock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600
}

.pc-stock .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0
}

.pc-stock.in-stock .dot {
  background: #10b981
}

.pc-stock.in-stock {
  color: #10b981
}

.pc-stock.low-stock .dot {
  background: #f59e0b;
  animation: blink 1.2s step-start infinite
}

.pc-stock.low-stock {
  color: #f59e0b
}

.pc-stock.out-stock .dot {
  background: #ef4444
}

.pc-stock.out-stock {
  color: #94a3b8
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* Stars */
.pc-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px
}

.pc-stars .stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px
}

.pc-stars .rev {
  font-size: 11px;
  color: #64748b
}

/* Price row */
.pc-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap
}

.pc-price {
  font-family: 'Poppins', sans-serif;
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a
}

.pc-old-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through
}

.pc-discount {
  background: #fef2f2;
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  border: 1px solid #fee2e2;
}

/* Delivery */
.pc-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px
}

.pc-delivery i {
  color: #10b981;
  font-size: 12px
}

/* Footer */
.pc-footer {
  padding: 0 16px 14px;
  display: flex;
  gap: 8px
}

.pc-add-btn {
  flex: 1;
  padding: 10px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: background .2s;
}

.pc-add-btn:hover {
  background: var(--primary)
}

.pc-compare-btn {
  padding: 10px 13px;
  background: var(--light-2);
  color: var(--secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}

.pc-compare-btn:hover,
.pc-compare-btn.comparing {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── QUICK VIEW MODAL ── */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(4px);
}

.qv-overlay.open {
  opacity: 1;
  pointer-events: all
}

.qv-modal {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 32px 80px rgba(15, 23, 42, .28);
  transform: scale(.92);
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}

.qv-overlay.open .qv-modal {
  transform: scale(1)
}

.qv-img-side {
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border-radius: 20px 0 0 20px;
}

.qv-img-side img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain
}

.qv-info-side {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.qv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--light-2);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .2s;
}

.qv-close:hover {
  background: var(--border)
}

.qv-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em
}

.qv-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3
}

.qv-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6
}

.qv-price-row {
  display: flex;
  align-items: center;
  gap: 10px
}

.qv-price {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #7c3aed
}

.qv-old {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through
}

.qv-discount {
  background: #fef2f2;
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid #fee2e2
}

.qv-meta {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.qv-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted)
}

.qv-meta-row i {
  width: 16px;
  text-align: center;
  color: var(--primary)
}

.qv-actions {
  display: flex;
  gap: 10px;
  margin-top: auto
}

.qv-add-btn {
  flex: 1;
  padding: 13px;
  background: var(--blue-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter .2s;
}

.qv-add-btn:hover {
  filter: brightness(1.1)
}

.qv-detail-btn {
  padding: 13px 18px;
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.qv-detail-btn:hover {
  background: var(--secondary);
  color: #fff
}

/* Legacy aliases (keep old classes working seamlessly) */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--secondary);
  color: #fff
}

.badge.sale {
  background: #ef4444
}

.badge.new {
  background: #10b981
}

/* ── LUXURY TOAST NOTIFICATIONS ── */
#kwNotificationContainer {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000000 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 440px;
  width: calc(100vw - 32px);
}

.kw-pro-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 18px;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 18px 42px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 5px solid #10b981;
  color: #0f172a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.kw-pro-toast:hover {
  transform: translateY(-2px) translateX(0) !important;
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.kw-pro-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.kw-pro-toast.hide {
  transform: translateX(120%) scale(0.92) !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Status variants */
.kw-pro-toast-success {
  border-left-color: #10b981;
}

.kw-pro-toast-success .kw-toast-icon {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #059669;
  border: 1px solid #86efac;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
}

.kw-pro-toast-success .kw-toast-badge {
  background: #dcfce7;
  color: #15803d;
}

.kw-pro-toast-success .kw-toast-progress-bar {
  background: linear-gradient(90deg, #10b981, #059669);
}

.kw-pro-toast-error {
  border-left-color: #ef4444;
}

.kw-pro-toast-error .kw-toast-icon {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid #fca5a5;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.22);
}

.kw-pro-toast-error .kw-toast-badge {
  background: #fee2e2;
  color: #b91c1c;
}

.kw-pro-toast-error .kw-toast-progress-bar {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.kw-pro-toast-info {
  border-left-color: #287BFF;
}

.kw-pro-toast-info .kw-toast-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #287BFF;
  border: 1px solid #93c5fd;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.22);
}

.kw-pro-toast-info .kw-toast-badge {
  background: #eff6ff;
  color: #287BFF;
}

.kw-pro-toast-info .kw-toast-progress-bar {
  background: linear-gradient(90deg, #287BFF, #0042a5);
}

.kw-pro-toast-warning {
  border-left-color: #f59e0b;
}

.kw-pro-toast-warning .kw-toast-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #fcd34d;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.2);
}

.kw-pro-toast-warning .kw-toast-badge {
  background: #fef3c7;
  color: #b45309;
}

.kw-pro-toast-warning .kw-toast-progress-bar {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Toast Elements */
.kw-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-top: 1px;
}

.kw-toast-content {
  flex: 1;
  min-width: 0;
}

.kw-toast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.kw-toast-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin: 0;
}

.kw-toast-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.3;
}

.kw-toast-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  word-break: break-word;
}

.kw-toast-close {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.kw-toast-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

/* Animated Progress Indicator */
.kw-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.kw-toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: kwToastProgress linear forwards;
}

.kw-pro-toast:hover .kw-toast-progress-bar {
  animation-play-state: paused !important;
}

@keyframes kwToastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 540px) {
  #kwNotificationContainer {
    top: 14px;
    right: 12px;
    left: 12px;
    width: calc(100% - 24px);
    max-width: none;
  }
  .kw-pro-toast {
    padding: 14px 16px 16px;
  }
}

/* Modernize legacy .toast for backwards compatibility */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  bottom: auto !important;
  background: #0f172a;
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateY(-50px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000000 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* FLOATING CHAT */
.floating-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(239, 68, 68, .45);
  z-index: 9999;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  background: #dc2626
}

/* LOGGED-IN ACCOUNT MENU BUTTON PILL */
.kw-user-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#kwUserMenuBtn,
.kw-user-menu-wrap .icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px 6px 10px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50px !important;
  color: #0f172a !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

#kwUserMenuBtn:hover,
.kw-user-menu-wrap .icon-btn:hover {
  background: #ffffff !important;
  border-color: #287BFF !important;
  color: #287BFF !important;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.15) !important;
}

#kwUserMenuBtn i,
.kw-user-menu-wrap .icon-btn i {
  font-size: 18px !important;
  color: #287BFF !important;
  transition: transform 0.2s ease !important;
}

#kwUserMenuBtn:hover i,
.kw-user-menu-wrap .icon-btn:hover i {
  transform: scale(1.1) !important;
}

/* ── FOOTER HIGH-CONTRAST & PERFECT ALIGNMENT ── */
.footer {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  background: #0b1120 !important;
  color: #cbd5e1 !important;
  padding: 52px 0 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.footer .container {
  box-sizing: border-box !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.65fr 0.95fr 1.25fr;
  gap: 28px 22px;
  padding-bottom: 28px;
}

.footer-about .logo {
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #cbd5e1 !important;
  margin-bottom: 18px;
  max-width: 320px;
}

.socials {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 18px !important;
}

.socials a {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}

.socials a:hover {
  background: #287BFF !important;
  border-color: #287BFF !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(40, 123, 255, 0.45) !important;
}

.footer-grid h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col,
.footer-categories-col,
.footer-support-col,
.footer-grid > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-col > a:not(.logo):not(.footer-logo),
.footer-col ul li a,
.footer-categories-col a,
.footer-support-col a {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: fit-content !important;
  font-size: 13.5px;
  color: #cbd5e1 !important;
  margin-bottom: 9px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.footer-col a:hover,
.footer-categories-col a:hover,
.footer-support-col a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px);
}

.footer-contact-col p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1 !important;
  margin-bottom: 10px;
  line-height: 1.55;
}

.footer-contact-col p i {
  color: #f59e0b !important;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8 !important;
  flex-wrap: wrap;
  gap: 14px;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-bottom p {
  color: #94a3b8 !important;
  margin: 0;
}

.footer .footer-powered-by,
.footer-powered-by {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.kw-footer-branding-card {
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-decoration: none !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  cursor: default !important;
}

.kw-footer-branding-card,
.kw-footer-branding-card *,
.kw-footer-branding-card a,
.kw-footer-branding-card a:hover,
.kw-footer-branding-card a:focus,
.kw-footer-branding-card a:active,
.kw-footer-branding-card span {
  text-decoration: none !important;
}

/* 1. Logo Link & Box on LEFT */
.kw-brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.kw-brand-logo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 12px !important;
  background: #020617 !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.kw-brand-logo-link:hover .kw-brand-logo-box {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transform: none !important;
}

.kw-brand-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.kw-brand-logo-link:hover .kw-brand-logo-img {
  transform: none !important;
}

/* 2. Brand Block (A PRODUCT OF + Kiwistron Link) */
.kw-brand-info-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  flex-shrink: 0 !important;
  gap: 5px !important;
  margin: 0 !important;
  width: auto !important;
}

.kw-brand-subhead {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #38bdf8 !important;
  line-height: 1.1 !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: fit-content !important;
  margin: 0 !important;
  cursor: default !important;
  user-select: none !important;
}

.kw-brand-title-link {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: fit-content !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: color 0.2s ease !important;
}

.kw-brand-title-link:hover,
.kw-brand-title-link:focus,
.kw-brand-title-link:active {
  text-decoration: none !important;
  transform: none !important;
}

.kw-brand-title {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 18.5px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: fit-content !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  transform: none !important;
  transition: color 0.2s ease !important;
}

.kw-brand-title-link:hover .kw-brand-title {
  color: #38bdf8 !important;
  text-decoration: none !important;
  transform: none !important;
}

.kw-brand-link-icon {
  font-size: 12px !important;
  color: #38bdf8 !important;
  display: inline-block !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}

.kw-brand-title-link:hover .kw-brand-link-icon {
  color: #7dd3fc !important;
  transform: none !important;
}

/* 3. Thin vertical divider with 20px-24px space on both sides */
.kw-brand-divider {
  flex: 0 0 1.5px !important;
  width: 1.5px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  margin: 0 2px !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

/* 4. Tagline Block (Beyond Imagination + Innovative Robotics & AI Solutions - Non-link text) */
.kw-brand-tagline-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
  flex-shrink: 0 !important;
  gap: 4px !important;
  margin: 0 !important;
  cursor: default !important;
}

.kw-brand-tagline-main {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 18.5px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  display: block !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.kw-brand-tagline-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  line-height: 1.25 !important;
  display: block !important;
  margin: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.footer-bottom span.secure {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom span.secure i {
  color: #22c55e !important;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-icon {
  background: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.payment-icon img {
  height: 18px !important;
  width: auto !important;
  max-width: 50px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ── FOOTER RESPONSIVE ARCHITECTURE ── */
.footer {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

.footer .container {
  box-sizing: border-box !important;
}

/* 4-column footer-grid across desktop & all laptops */
.footer-grid,
.footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1.05fr 1fr 1.35fr !important;
  gap: 32px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: start !important;
  padding-bottom: 36px !important;
}

/* Persistent 3-column layout for footer-bottom (Desktop & Laptops >= 992px) */
.footer-bottom,
.footer .footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  padding: 22px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-bottom > p,
.footer .footer-bottom p {
  flex: 0 0 auto !important;
  text-align: left !important;
  margin: 0 !important;
  white-space: nowrap !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.footer-bottom .kw-footer-branding-wrapper,
.footer .footer-powered-by {
  flex: 0 0 auto !important;
  margin: 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-bottom .payment-methods,
.footer .payment-methods {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* Kiwistron Branding Card (Desktop & Laptops) */
.kw-footer-branding-card {
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.kw-brand-divider {
  display: block !important;
  flex: 0 0 1.5px !important;
  width: 1.5px !important;
  height: 32px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  margin: 0 6px !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

/* ── LAPTOPS (992px - 1600px): CHATBOT CLEARANCE SO NO PAYMENT ICONS ARE OVERLAPPED ── */
@media screen and (max-width: 1600px) and (min-width: 992px) {
  .footer-bottom,
  .footer .footer-bottom {
    padding-right: 68px !important;
  }
}

/* ── STANDARD & LARGE LAPTOPS (1200px - 1440px) ── */
@media screen and (max-width: 1440px) and (min-width: 1200px) {
  .footer .container {
    width: min(95%, 1680px) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .footer-grid,
  .footer .footer-grid {
    grid-template-columns: 1.35fr 1.05fr 1fr 1.35fr !important;
    gap: 28px 20px !important;
    padding-bottom: 32px !important;
  }

  .footer-bottom,
  .footer .footer-bottom {
    padding: 20px 0 !important;
    padding-right: 68px !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
  }

  .footer-bottom > p,
  .footer .footer-bottom p {
    font-size: 12.5px !important;
  }

  .kw-footer-branding-card {
    gap: 14px !important;
  }
  .kw-brand-logo-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 4px !important;
  }
  .kw-brand-subhead {
    font-size: 9.5px !important;
  }
  .kw-brand-title {
    font-size: 15.5px !important;
    gap: 4px !important;
  }
  .kw-brand-link-icon {
    font-size: 10.5px !important;
  }
  .kw-brand-divider {
    height: 28px !important;
    margin: 0 4px !important;
  }
  .kw-brand-tagline-main {
    font-size: 14.5px !important;
  }
  .kw-brand-tagline-sub {
    font-size: 11px !important;
  }

  .payment-methods .secure,
  .footer-bottom span.secure {
    font-size: 11px !important;
    padding: 4px 9px !important;
    gap: 5px !important;
  }
  .payment-icons-row {
    gap: 5px !important;
  }
  .payment-icon {
    width: 36px !important;
    height: 23px !important;
    min-width: 36px !important;
    padding: 1px 3px !important;
  }
}

/* ── SMALL LAPTOPS & 1024px VIEWPORT (992px - 1199px): FIT PROPORTIONATELY ON 1 ROW ── */
@media screen and (max-width: 1199px) and (min-width: 992px) {
  .footer .container {
    width: min(97%, 1680px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .footer-grid,
  .footer .footer-grid {
    grid-template-columns: 1.3fr 1.05fr 1fr 1.35fr !important;
    gap: 22px 14px !important;
    padding-bottom: 28px !important;
  }

  .footer-bottom,
  .footer .footer-bottom {
    padding: 18px 0 !important;
    padding-right: 68px !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .footer-bottom > p,
  .footer .footer-bottom p {
    font-size: 11.5px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .kw-footer-branding-card {
    gap: 10px !important;
  }
  .kw-brand-logo-box {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 3px !important;
  }
  .kw-brand-subhead {
    font-size: 8.5px !important;
  }
  .kw-brand-title {
    font-size: 14px !important;
    gap: 3px !important;
  }
  .kw-brand-link-icon {
    font-size: 9.5px !important;
  }
  .kw-brand-divider {
    height: 26px !important;
    margin: 0 3px !important;
  }
  .kw-brand-tagline-main {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }
  .kw-brand-tagline-sub {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }

  .payment-methods .secure,
  .footer-bottom span.secure {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    gap: 4px !important;
  }
  .payment-icons-row {
    gap: 4px !important;
  }
  .payment-icon {
    width: 33px !important;
    height: 21px !important;
    min-width: 33px !important;
    padding: 1px 2px !important;
  }
  .payment-icon img {
    height: 13px !important;
    max-width: 26px !important;
  }
}

/* ── TABLETS (768px - 991px): 2x2 GRID & CLEAN STACKED BOTTOM BAR ── */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .footer .container {
    width: 94% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .footer-grid,
  .footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
    padding-bottom: 28px !important;
  }

  .footer-bottom,
  .footer .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 22px 0 24px !important;
  }

  .footer-bottom .kw-footer-branding-wrapper,
  .footer .footer-powered-by {
    order: 1 !important;
    margin: 0 auto !important;
  }

  .kw-footer-branding-card {
    gap: 12px !important;
  }
  .kw-brand-logo-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .kw-brand-title {
    font-size: 15px !important;
  }
  .kw-brand-tagline-main {
    font-size: 15px !important;
  }
  .kw-brand-tagline-sub {
    font-size: 11.5px !important;
  }

  .footer-bottom .payment-methods,
  .footer .payment-methods {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 auto !important;
  }

  .footer-bottom > p,
  .footer .footer-bottom p {
    order: 3 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 0 auto !important;
  }
}

/* ── MOBILE SCREENS (< 768px): FULLY RESPONSIVE, ZERO CUT-OFF ── */
@media screen and (max-width: 767px) {
  .footer {
    padding: 36px 0 24px !important;
  }

  .footer .container {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .footer-grid,
  .footer .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 16px !important;
    padding-bottom: 24px !important;
  }

  .footer-about {
    grid-column: 1 / -1 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .footer-about p {
    max-width: 100% !important;
    font-size: 12.5px !important;
  }

  .footer-categories-col {
    grid-column: auto !important;
  }
  .footer-support-col {
    grid-column: auto !important;
  }

  .footer-contact-col,
  .footer .footer-grid > div:last-child {
    grid-column: 1 / -1 !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .footer-contact-col p {
    font-size: 12.5px !important;
  }

  .footer-bottom,
  .footer .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 20px 0 !important;
    margin-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .footer-bottom .kw-footer-branding-wrapper,
  .footer .footer-powered-by {
    order: 1 !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .kw-footer-branding-card {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .kw-brand-logo-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 4px !important;
  }
  .kw-brand-subhead {
    font-size: 8.5px !important;
  }
  .kw-brand-title {
    font-size: 13.5px !important;
  }
  .kw-brand-divider {
    height: 24px !important;
    margin: 0 1px !important;
  }
  .kw-brand-tagline-main {
    font-size: 13.5px !important;
  }
  .kw-brand-tagline-sub {
    font-size: 10px !important;
  }

  .footer-bottom .payment-methods,
  .footer .payment-methods {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .payment-methods .secure,
  .footer-bottom span.secure {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding: 4px 12px !important;
    margin: 0 auto !important;
  }

  .payment-icons-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .payment-icon {
    width: 38px !important;
    height: 24px !important;
    padding: 0 3px !important;
  }
  .payment-icon img {
    height: 14px !important;
  }

  .footer-bottom > p,
  .footer .footer-bottom p {
    order: 3 !important;
    text-align: center !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    margin: 0 auto !important;
    width: 100% !important;
    white-space: normal !important;
  }
}

/* ══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE & IMAGE GALLERY VIEW
══════════════════════════════════════════════════ */
.page-header {
  background: var(--light-2);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 10px;
}

/* Gallery / View Image Section — Sticky on Scroll */
.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  align-self: start;
  height: fit-content;
  z-index: 10;
}

.kw-admin-preview-banner ~ main .product-detail-gallery,
body:has(.kw-admin-preview-banner) .product-detail-gallery {
  top: 64px;
}

.detail-main-box {
  width: 100%;
  height: 420px;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.detail-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
  /* removes white backgrounds */
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-main-box:hover .detail-main-img {
  transform: scale(1.1);
}

.detail-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: #f8fafc;
  padding: 6px;
  cursor: pointer;
  object-fit: contain;
  mix-blend-mode: darken;
  transition: all 0.22s ease;
}

.thumb:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25);
  background: #fff;
}

/* Detail Info Section */
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
}

.detail-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
}

.detail-rating {
  color: #f59e0b;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: fit-content !important;
  max-width: fit-content !important;
}

.detail-rating span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.detail-price-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  background: var(--light-2);
  border-radius: var(--radius-md);
  width: fit-content;
  flex-wrap: wrap;
}

.detail-price-box strong,
.detail-price-box #detailPrice {
  font-family: 'Poppins', sans-serif;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: var(--black-price);
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.detail-gst-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  height: 28px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.detail-gst-tag i {
  font-size: 10.5px !important;
  color: #16a34a !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.detail-price-box del,
.detail-price-box #detailOldPrice {
  font-size: 16px !important;
  color: #94a3b8 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.detail-save {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 0 9px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 28px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.detail-stock-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  margin-bottom: 14px !important;
  line-height: 1.2 !important;
}

.detail-stock-status.in-stock {
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
}

.detail-stock-status.out-of-stock {
  color: #ef4444 !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
}

.detail-paragraph {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.detail-specs {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.detail-specs h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-specs ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-specs li {
  font-size: 13px;
  color: var(--text);
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.detail-action-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.qty-btn-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--light-2);
  color: var(--secondary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--border);
}

.qty-input {
  width: 50px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.detail-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.detail-trust-badges div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.detail-trust-badges i {
  color: var(--primary);
}

@media (max-width: 991px) {
  .product-detail-layout {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 24px !important;
  }

  .product-detail-gallery {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
    height: auto !important;
    width: 100% !important;
  }

  .detail-main-box {
    height: 300px;
  }

  .detail-specs ul {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   KIWISTRONICS — AUTH & LOGIN MODAL (WIX STYLE)
═══════════════════════════════════════════════════ */
.kw-auth-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.kw-auth-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.kw-auth-modal {
  background: #ffffff;
  width: 92%;
  max-width: 440px;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  padding: 40px 36px 36px;
  position: relative;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.kw-auth-overlay.open .kw-auth-modal {
  transform: translateY(0) scale(1);
}

.kw-auth-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
  padding: 4px;
  border-radius: 50%;
}

.kw-auth-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.kw-auth-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.kw-auth-subtitle {
  text-align: center;
  font-size: 14px;
  color: #475569;
  margin-bottom: 28px;
}

.kw-auth-subtitle a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.kw-auth-subtitle a:hover {
  text-decoration: underline;
}

/* Social Buttons */
.kw-social-btn {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  border: 1px solid transparent;
  font-family: inherit;
}

.kw-social-btn:active {
  transform: scale(0.99);
}

.kw-google-btn {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.kw-google-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.kw-fb-btn {
  background: #1877f2;
  color: #ffffff;
  margin-top: 12px;
}

.kw-fb-btn:hover {
  background: #166fe5;
}

.kw-email-trigger-btn {
  background: #ffffff;
  border-color: #6b7280;
  color: #111827;
}

.kw-email-trigger-btn:hover {
  background: #f9fafb;
  border-color: #374151;
}

/* Divider */
.kw-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #9ca3af;
  font-size: 13px;
}

.kw-auth-divider::before,
.kw-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.kw-auth-divider span {
  padding: 0 14px;
  color: #6b7280;
}

/* Checkbox */
.kw-auth-checkbox-group {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #4b5563;
}

.kw-auth-checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0066ff;
  cursor: pointer;
}

.kw-auth-checkbox-group label a {
  color: #111827;
  text-decoration: underline;
}

/* Email Form */
.kw-auth-view.kw-hidden {
  display: none !important;
}

.kw-field-group {
  margin-bottom: 16px;
  text-align: left;
}

.kw-field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.kw-field-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.kw-field-group input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.kw-auth-submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #287BFF 0%, #0066ff 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s;
}

.kw-auth-submit-btn:hover {
  opacity: 0.93;
}

.kw-auth-back-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.kw-auth-back-btn:hover {
  color: #111827;
}

/* Ensure Header & User Dropdown Stacking Context */
.header,
#site-header {
  position: relative !important;
  z-index: 9999 !important;
  overflow: visible !important;
}

.header-main,
.header-right-wrap,
.header-actions {
  overflow: visible !important;
}

/* User Account Header Menu */
.kw-user-menu-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 10000 !important;
}

.kw-user-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  width: 230px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  display: none;
  flex-direction: column;
  padding: 6px 0 !important;
  z-index: 999999 !important;
  overflow: hidden !important;
}

.kw-user-menu.show {
  display: flex !important;
}

.kw-user-menu-header {
  padding: 12px 18px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin-bottom: 4px !important;
}

.kw-user-menu-header strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 2px !important;
}

.kw-user-menu-header small {
  font-size: 12px !important;
  color: #64748b !important;
  word-break: break-all !important;
}

.kw-user-menu a {
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

.kw-user-menu a i {
  font-size: 16px !important;
  color: #64748b !important;
  transition: all 0.18s ease !important;
  width: 20px !important;
  text-align: center !important;
}

/* Hover on standard items (Track My Orders, My Wishlist) */
.kw-user-menu a:hover {
  background: #eff6ff !important;
  color: #287BFF !important;
}

.kw-user-menu a:hover i {
  color: #287BFF !important;
}

/* Hover specifically on Sign Out -> RED */
.kw-user-menu a#kwSignOutBtn:hover,
.kw-user-menu a[id*="SignOut"]:hover,
.kw-user-menu a:last-child:hover {
  background: #fef2f2 !important;
  color: #ef4444 !important;
}

.kw-user-menu a#kwSignOutBtn:hover i,
.kw-user-menu a[id*="SignOut"]:hover i,
.kw-user-menu a:last-child:hover i {
  color: #ef4444 !important;
}

/* Other Products Grid Responsive */
@media (max-width: 900px) {
  .other-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 500px) {
  .other-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Other Products Grid uses Unified Product Card System */

/* Global Breadcrumb & Sidebar Heading Spacing */
.breadcrumb {
  margin-top: 14px !important;
  margin-bottom: 26px !important;
  line-height: 1.5 !important;
}

.sidebar-heading {
  margin-top: 0 !important;
  padding-top: 4px !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
}

/* ═══════════════════════════════════════════════════
   WISHLIST & CART PAGE DESIGN SYSTEM
   ═══════════════════════════════════════════════════ */

/* Product Card Wishlist Heart Icon */
.card-wishlist-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #fee2e2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ef4444 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 35 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.card-wishlist-btn i {
  pointer-events: none !important;
  font-size: 15px !important;
  color: #ef4444 !important;
  transition: all 0.2s ease !important;
}

.card-wishlist-btn:hover,
.wishlist-btn:hover {
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}

.card-wishlist-btn:hover i,
.wishlist-btn:hover i {
  color: #ef4444 !important;
}

.card-wishlist-btn.active,
.wishlist-btn.active {
  background: #ffffff !important;
  border-color: #fee2e2 !important;
  color: #ef4444 !important;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2) !important;
}

.card-wishlist-btn.active i,
.wishlist-btn.active i {
  color: #ef4444 !important;
}

.card-wishlist-btn.active:hover,
.wishlist-btn.active:hover {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  transform: scale(1.12) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28) !important;
}

.card-wishlist-btn.active:hover i,
.wishlist-btn.active:hover i {
  color: #dc2626 !important;
}

/* CART & WISHLIST PAGE LAYOUT */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-items-card,
.cart-summary-card,
.wishlist-section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cart-table-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .cart-table-header {
    display: none;
  }
}

.cart-item-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

@media (max-width: 768px) {
  .cart-item-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 6px;
  background: #f8fafc;
  flex-shrink: 0;
}

.cart-product-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cart-product-info h3 a:hover {
  color: var(--primary);
}

.cart-product-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-cat-badge {
  background: var(--light-2);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.cart-price-cell {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
}

.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  background: #fff;
}

.cart-qty-btn {
  width: 32px;
  height: 34px;
  border: none;
  background: var(--light-2);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.cart-qty-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.cart-qty-input {
  width: 44px;
  height: 34px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  outline: none;
}

.cart-subtotal-cell {
  font-size: 16px;
  font-weight: 800;
  color: var(--purple-price);
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.cart-remove-btn:hover {
  color: #ef4444;
  background: #fef2f2;
}

.cart-actions-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

/* FREE SHIPPING PROGRESS BAR */
.shipping-progress-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.shipping-progress-text {
  font-size: 13.5px;
  color: #166534;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.shipping-bar-track {
  width: 100%;
  height: 8px;
  background: #dcfce7;
  border-radius: 100px;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* SUMMARY DETAILS */
.summary-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.summary-row.total-row {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  margin-bottom: 20px;
}

.summary-row.total-row span:last-child {
  color: var(--primary);
  font-size: 22px;
}

.coupon-group {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  outline: none;
  text-transform: uppercase;
}

.coupon-input:focus {
  border-color: var(--primary);
}

.coupon-btn {
  padding: 0 16px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.coupon-btn:hover {
  background: var(--primary);
}

.checkout-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--blue-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-blue);
  transition: transform 0.15s, filter 0.15s;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* EMPTY STATES */
.empty-state-box {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
}

.empty-state-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.empty-state-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 24px;
}

/* WISHLIST GRID */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.wishlist-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wishlist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.wishlist-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.wishlist-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wishlist-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wishlist-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.wishlist-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-price);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.wishlist-add-cart-btn {
  flex: 1;
  padding: 10px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
}

.wishlist-add-cart-btn:hover {
  background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.wishlist-remove-btn {
  padding: 10px 14px;
  background: var(--light-2);
  color: #ef4444;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.wishlist-remove-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* ══════════════════════════════════════════════════
   BLOG & VIDEO PLATFORM STYLES
══════════════════════════════════════════════════ */
.blog-main-container {
  padding-top: 18px;
  padding-bottom: 40px;
}

.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0052cc 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.blog-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.6;
}

/* SLEEK MODERN ACTIONS BAR CONTAINER */
.blog-actions-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin: 0 0 22px 0;
  overflow: hidden;
}

.blog-categories {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  padding-bottom: 1px;
}

.blog-categories::-webkit-scrollbar {
  display: none;
}

.blog-cat-chip {
  padding: 6px 14px;
  border-radius: 50px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.blog-cat-chip:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

.blog-cat-chip.active {
  background: #287BFF;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.25);
}

.blog-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-upload-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #287BFF;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-upload-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.4);
}

/* FEATURED ARTICLE CARD */
.featured-video-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 36px;
  align-items: stretch;
}

.featured-video-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  max-height: 350px;
  background: #0f172a;
}

.featured-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-video-wrapper:hover img {
  transform: scale(1.04);
}

.featured-video-info {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.featured-video-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
}

.featured-video-info p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #287BFF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 13.5px;
  color: #0f172a;
}

.post-date {
  font-size: 12px;
  color: #64748b;
}

.btn-read-featured {
  width: fit-content;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13.5px;
}

@media (max-width: 900px) {
  .featured-video-card {
    grid-template-columns: 1fr;
  }

  .featured-video-info {
    padding: 24px;
  }
}

/* Video Blog Grid — 4 columns always on laptop, responsive smaller screens */
.video-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .video-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .video-blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.video-blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.video-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.3);
}

.card-video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.card-video-thumb video,
.card-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-video-thumb:hover video,
.card-video-thumb:hover img {
  transform: scale(1.04);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.play-btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.card-video-thumb:hover .play-btn-circle {
  transform: scale(1.15);
  background: var(--primary);
  color: #fff;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.35;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.card-body h3:hover {
  color: var(--primary);
}

.card-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--light-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  transition: color 0.15s;
}

.like-btn:hover,
.like-btn.liked {
  color: #ef4444;
}

/* Upload Video Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--light-2);
  color: var(--secondary);
}

.modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.video-file-drop {
  border: 2px dashed var(--primary-light);
  background: #f0f7ff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.video-file-drop:hover {
  background: #e0f2fe;
  border-color: var(--primary);
}

.video-file-drop i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Video Player Theater Modal */
.theater-modal .modal-card {
  max-width: 900px;
  background: #0f172a;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.theater-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.theater-video-box video {
  width: 100%;
  height: 100%;
}

.theater-info-box {
  padding: 24px;
}

.theater-info-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  margin-right: 6px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.payment-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.payment-icon img {
  height: 22px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  display: block;
}

.latest-products-section {
  width: 100%;
  max-width: 100%;
  padding: 56px 0;
  background: #f4f7fc;
  box-sizing: border-box;
  overflow: clip;
}

.latest-container {
  max-width: 1680px !important;
  width: min(94%, 1680px) !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* Section heading */

.latest-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.section-label {
  display: block;
  margin-bottom: 8px;
  color: #155eef;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.latest-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 32px;
  font-weight: 800;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #155eef;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.view-all-link:hover {
  gap: 15px;
  color: #0f46b9;
}

/* Two full-width banner containers */

.latest-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  width: 100%;
  margin-bottom: 32px;
}

.latest-banner {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Distinct perfect background colors for the two containers */
#roboticsBannerSlider {
  background: linear-gradient(135deg, #0b1329 0%, #1e1b4b 55%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

#roboticsBannerSlider:hover {
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 20px 48px rgba(99, 102, 241, 0.25);
}

#iotBannerSlider {
  background: linear-gradient(135deg, #0b1329 0%, #064e3b 55%, #0f172a 100%);
  border: 1px solid rgba(20, 184, 166, 0.35);
}

#iotBannerSlider:hover {
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 20px 48px rgba(20, 184, 166, 0.25);
}

.banner-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Split 2-column layout grid inside slide */
.banner-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 32px 36px;
  box-sizing: border-box;
}

.banner-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#iotBannerSlider .slide-badge {
  color: #2dd4bf;
}

.banner-text-content h3 {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.28;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 320px;
}

.slide-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--blue-gradient, linear-gradient(135deg, #0066ff, #38bdf8));
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

#iotBannerSlider .slide-action-btn {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.banner-slide:hover .slide-action-btn {
  transform: translateY(-2px) translateX(2px);
  filter: brightness(1.1);
}

/* Product Showcase Box on the right side of slide */
.banner-product-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.product-img-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  z-index: 2;
}

.slide-product-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide:hover .product-img-card {
  transform: scale(1.08) translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.slider-dots {
  position: absolute;
  bottom: 22px;
  right: 25px;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots {
  display: none !important;
}

.latest-banners-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 32px;
}

/* Slider Swipe Prev/Next Arrow Buttons (Placed Outside the Boxes) */
.slider-outer-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  pointer-events: auto;
}

.slider-outer-btn.prev-btn {
  left: -20px;
}

.slider-outer-btn.next-btn {
  right: -20px;
}

.slider-outer-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

@media screen and (max-width: 1280px) {
  .slider-outer-btn.prev-btn {
    left: -16px;
  }

  .slider-outer-btn.next-btn {
    right: -16px;
  }
}

@media screen and (max-width: 768px) {
  .slider-outer-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Down-to-Top (Bottom-to-Top) Entrance Animation for Hero Section Containers */
.hero-copy {
  opacity: 0;
  transform: translateX(-90px);
  animation: heroSlideFromLeft 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.hero-image-card {
  opacity: 0;
  transform: translateX(90px);
  animation: heroSlideFromRight 2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
  will-change: transform, opacity;
}

@keyframes heroSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-90px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideFromRight {
  0% {
    opacity: 0;
    transform: translateX(90px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Scroll Reveal — smooth bottom-to-top entrance ── */
@keyframes kiwiRevealUp {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kiwiRevealLeft {
  0% {
    opacity: 0;
    transform: translateY(60px) translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes kiwiRevealRight {
  0% {
    opacity: 0;
    transform: translateY(60px) translateX(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes kiwiFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes kiwiRevealFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes kiwiRevealFromRight {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hidden until revealed */
.product-card:not(.reveal-active):not(.reveal-done),
.latest-product-card:not(.reveal-active):not(.reveal-done),
.features article:not(.reveal-active):not(.reveal-done),
.section-heading:not(.reveal-active):not(.reveal-done),
.brands-heading:not(.reveal-active):not(.reveal-done),
.latest-heading:not(.reveal-active):not(.reveal-done),
.offer-card:not(.reveal-active):not(.reveal-done),
.brand-item:not(.reveal-active):not(.reveal-done),
.level-box:not(.reveal-active):not(.reveal-done),
.kit-banner:not(.reveal-active):not(.reveal-done) {
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}

/* Blog cards on storefront must NEVER be hidden by scroll reveal or on page refresh */
.blog-section .blog-card,
.blog-grid .blog-card,
.blog-card {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* Admin panel elements must NEVER be hidden */
.admin-main .product-card,
.admin-main .latest-product-card,
.admin-main .blog-card,
.admin-main .section-heading,
.admin-main .brand-item,
.admin-main .level-box,
.admin-main .offer-card,
.admin-main .dash-header,
.admin-main .shop-product-grid .product-card {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  animation: none !important;
}

#roboticsBannerSlider:not(.reveal-active):not(.reveal-done) {
  opacity: 0;
  transform: translateX(-120px);
  pointer-events: none;
}

#iotBannerSlider:not(.reveal-active):not(.reveal-done) {
  opacity: 0;
  transform: translateX(120px);
  pointer-events: none;
}

/* Active reveal animation */
.product-card.reveal-active,
.latest-product-card.reveal-active,
.offer-card.reveal-active,
.brand-item.reveal-active,
.level-box.reveal-active {
  pointer-events: auto;
  animation: kiwiRevealUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Left box comes from Left, Right box comes from Right */
#roboticsBannerSlider.reveal-active {
  pointer-events: auto;
  animation: kiwiRevealFromLeft 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#iotBannerSlider.reveal-active {
  pointer-events: auto;
  animation: kiwiRevealFromRight 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.blog-card.reveal-active {
  pointer-events: auto;
}

.blog-card:nth-child(odd).reveal-active {
  animation: kiwiRevealLeft 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.blog-card:nth-child(even).reveal-active {
  animation: kiwiRevealRight 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.features article.reveal-active,
.section-heading.reveal-active,
.brands-heading.reveal-active,
.latest-heading.reveal-active {
  pointer-events: auto;
  animation: kiwiRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kit-banner.reveal-active {
  pointer-events: auto;
  animation: kiwiFadeIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.review-card.reveal-active {
  pointer-events: auto;
  animation: kiwiRevealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* After animation completes — enable hover transitions */
.product-card.reveal-done,
.latest-product-card.reveal-done,
.latest-banner.reveal-done,
.blog-card.reveal-done,
.features article.reveal-done,
.offer-card.reveal-done {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-card.reveal-done,
.latest-product-card.reveal-done {
  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card.reveal-done:hover,
.latest-product-card.reveal-done:hover {
  transform: translateY(-3px) !important;
  border-color: #d6e0ec !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.09) !important;
}

.product-card.reveal-done:active,
.latest-product-card.reveal-done:active {
  transform: translateY(-1px);
  transition-duration: 0.15s;
}

@media (prefers-reduced-motion: reduce) {

  .hero-copy,
  .hero-image-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .product-card,
  .latest-product-card,
  .latest-banner,
  .blog-card,
  .features article,
  .section-heading,
  .brands-heading,
  .latest-heading,
  .offer-card,
  .brand-item,
  .level-box,
  .kit-banner,
  .review-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    pointer-events: auto !important;
  }
}

/* ── Back to Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-gradient, linear-gradient(135deg, #0066ff, #38bdf8));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s,
    box-shadow 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 36px rgba(0, 102, 255, 0.45);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* Clean 5-column single row for Latest Products on desktop */
.latest-product-grid,
.latest-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  align-items: stretch !important;
}

@media (max-width: 1200px) {

  .latest-product-grid,
  .latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {

  .latest-product-grid,
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {

  .latest-product-grid,
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* Latest product card inherited from Unified Product Card System */

/* Large screens */

@media screen and (min-width: 1600px) {
  .latest-products-section {
    padding-right: 4%;
    padding-left: 4%;
  }

  .latest-banner {
    height: 400px;
  }

  .latest-product-image {
    height: 200px;
  }

  .latest-product-image img {
    height: auto;
    max-height: 100%;
  }
}

/* Tablet */

@media screen and (max-width: 1100px) {
  .latest-products-section {
    padding-right: 25px;
    padding-left: 25px;
  }

  .latest-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-banner {
    height: 360px;
  }

  .banner-content-grid {
    padding: 24px 28px;
    gap: 14px;
  }

  .banner-text-content h3 {
    font-size: 20px;
  }
}

/* Small tablet */

@media screen and (max-width: 768px) {
  .latest-products-section {
    padding: 28px 0 !important;
  }

  .latest-heading {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    gap: 8px !important;
  }

  .latest-heading h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: #0f172a !important;
  }

  .latest-heading .view-all-link {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #287BFF !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .latest-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .latest-product-card {
    padding: 0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .latest-product-image {
    height: 155px !important;
    width: 100% !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .latest-product-image img {
    max-height: 100% !important;
    max-width: 90% !important;
    object-fit: contain !important;
    height: auto !important;
    width: auto !important;
  }
}

/* ==================================================
   BLOG SECTION
================================================== */

.blog-section {
  padding: 56px 0;
  background: #f8fafc;
}

.blog-container {
  max-width: 1680px;
  width: min(94%, 1680px);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Heading */

.blog-section .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.blog-section .section-subtitle {
  margin-bottom: 8px;
  color: #155eef;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blog-section .section-heading h2 {
  margin: 0;
  color: #111827;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.blog-section .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #155eef;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.25s ease;
}

.blog-section .view-all-link:hover {
  gap: 10px;
  color: #0047b3;
}

/* ==================================================
   BLOG GRID (5 COLUMNS ACROSS ALL SCREENS & HORIZONTAL ROW)
================================================== */

.blog-section .blog-grid,
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  align-items: stretch !important;
}

/* 11.6" to 14" Laptops and Medium Desktops (992px - 1440px) */
@media screen and (max-width: 1440px) and (min-width: 992px) {
  .blog-section .blog-grid,
  .blog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Tablets & Mobile devices (< 992px): Maintain the clean horizontal row just like the given image */
@media screen and (max-width: 991px) {
  .blog-section .blog-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    width: 100% !important;
    padding-bottom: 12px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .blog-section .blog-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .blog-section .blog-grid > .blog-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 270px !important;
    width: 260px !important;
    scroll-snap-align: start !important;
    height: 100% !important;
  }
}

/* ==================================================
   BLOG CARD
================================================== */

.blog-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  position: relative;

  display: flex;
  flex-direction: column;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-align: left !important;

  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

/* ==================================================
   BLOG IMAGE
================================================== */

.blog-image,
.card-img-wrapper {
  width: 100%;
  height: 195px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  display: block;
  padding: 0 !important;
  margin: 0;
  box-sizing: border-box;
}

.card-img-wrapper a {
  width: 100%;
  height: 100%;
  display: block;
}

.blog-image img,
.blog-card>img,
.card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center;

  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f8fafc;
  display: block;
}

.blog-card:hover .blog-image img,
.blog-card:hover>img,
.blog-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

/* ==================================================
   BLOG CONTENT
================================================== */

.blog-content {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;

  padding: 16px;
}

.blog-category {
  display: inline-flex;
  align-items: center;

  width: fit-content;
  align-self: flex-start !important;

  margin-bottom: 10px;
  padding: 5px 11px;

  color: #0066ff;
  background: rgba(0, 102, 255, 0.09);

  border-radius: 100px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left !important;
}

.blog-card h3,
.blog-title {
  margin: 0 0 8px;

  color: #0f172a;

  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  min-height: 44px;

  transition: color 0.25s ease;
}

.blog-card:hover h3,
.blog-card:hover .blog-title {
  color: #0066ff;
}

.blog-card p,
.blog-description {
  margin: 0 0 12px;

  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  text-align: left !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;

  min-height: 56px;
}

/* ==================================================
   BLOG META & INFO
================================================== */

.blog-info,
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 8px 14px;
  width: 100%;

  margin-top: auto;
  padding-top: 10px;

  border-top: 1px solid #edf2f7;

  color: #64748b;
  font-size: 12px;
  text-align: left !important;
}

.blog-info span,
.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-info i,
.blog-meta i {
  color: #0066ff;
}

/* ==================================================
   READ MORE LINK
================================================== */

.blog-read-more,
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  width: fit-content;
  align-self: flex-start !important;

  margin-top: 10px;

  color: #0066ff;
  font-size: 13px;
  font-weight: 700;
  text-align: left !important;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.blog-read-more:hover,
.blog-card .read-more:hover {
  gap: 11px;
  color: #0047b3;
}

/* ==================================================
   BLOG VIEWS PILL & CARD FOOTER SHARE
================================================== */

/* ==================================================
   BLOG VIEWS & LIKES METADATA (Box Removed, Icon + Count Only)
================================================== */

.blog-views-pill,
.blog-likes-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 4px !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  transition: color 0.2s ease;
}

.blog-views-pill {
  color: #64748b !important;
}

.blog-views-pill:hover,
.blog-card:hover .blog-views-pill {
  background: transparent !important;
  border-color: transparent !important;
  color: #287BFF !important;
}

.blog-views-pill i {
  color: #287BFF !important;
  font-size: 12px !important;
}

.blog-likes-pill {
  color: #64748b !important;
}

.blog-likes-pill:hover,
.blog-card:hover .blog-likes-pill {
  background: transparent !important;
  border-color: transparent !important;
  color: #e11d48 !important;
}

.blog-likes-pill i {
  color: #e11d48 !important;
  font-size: 12px !important;
}

.blog-card.share-menu-open,
.blog-card.share-menu-open .blog-image {
  z-index: 120 !important;
  overflow: visible !important;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 12px;
  padding-top: 6px;
  position: relative;
}

.blog-card-footer .read-more,
.blog-card-footer .blog-read-more {
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #287BFF;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-card-footer .read-more:hover,
.blog-card-footer .blog-read-more:hover {
  color: #1A68E8;
  gap: 10px;
}

/* Share button wrap positioned at the top-right corner of the blog card */
.blog-card .blog-share-wrap,
.blog-share-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  display: inline-block;
}

/* Icon-only circular share button */
.blog-card .blog-share-btn,
.blog-share-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #287BFF !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  line-height: 1 !important;
}

.blog-card .blog-share-btn i,
.blog-share-btn i {
  font-size: 13px !important;
  color: #287BFF !important;
  margin: 0 !important;
  transition: transform 0.2s ease !important;
}

.blog-card .blog-share-btn:hover,
.blog-share-btn:hover {
  background: #ffffff !important;
  border-color: #287BFF !important;
  color: #1A68E8 !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.22) !important;
  transform: scale(1.1) !important;
}

.blog-card .blog-share-btn:hover i,
.blog-share-btn:hover i {
  transform: scale(1.12) !important;
  color: #1A68E8 !important;
}

.blog-card .blog-share-btn.active,
.blog-share-btn.active {
  background: #287BFF !important;
  border-color: #287BFF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.35) !important;
}

.blog-card .blog-share-btn.active i,
.blog-share-btn.active i {
  color: #ffffff !important;
}

/* Share Dropdown menu placed right below the top-right button */
.blog-card .blog-share-dropdown,
.blog-share-dropdown {
  position: absolute;
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  right: 0 !important;
  width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(15, 23, 42, 0.06);
  padding: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.blog-card .blog-share-dropdown.show,
.blog-share-dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.blog-card .blog-share-dropdown::after,
.blog-share-dropdown::after {
  content: '';
  position: absolute;
  top: -6px !important;
  bottom: auto !important;
  right: 11px !important;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-right: none !important;
  border-bottom: none !important;
  transform: rotate(45deg);
}

.blog-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-share-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
}

.blog-share-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.blog-share-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.share-opt-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.share-opt-btn i {
  width: 16px;
  text-align: center;
  font-size: 13.5px;
  transition: transform 0.15s ease;
}

.share-opt-btn:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.share-opt-btn:hover i {
  transform: scale(1.15);
}

.share-opt-btn.share-whatsapp:hover {
  color: #16a34a;
  background: #f0fdf4;
}
.share-opt-btn.share-whatsapp i {
  color: #25d366;
}

.share-opt-btn.share-twitter:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.share-opt-btn.share-twitter i {
  color: #000000;
}

.share-opt-btn.share-linkedin:hover {
  color: #0284c7;
  background: #f0f9ff;
}
.share-opt-btn.share-linkedin i {
  color: #0a66c2;
}

.share-opt-btn.share-facebook:hover {
  color: #2563eb;
  background: #eff6ff;
}
.share-opt-btn.share-facebook i {
  color: #1877f2;
}

.share-opt-btn.share-copy:hover {
  color: #287BFF;
  background: #eff6ff;
}
.share-opt-btn.share-copy i {
  color: #64748b;
}

.share-opt-btn.copied {
  color: #16a34a !important;
  background: #f0fdf4 !important;
}
.share-opt-btn.copied i {
  color: #16a34a !important;
}

/* Global Blog Share Toast */
.blog-share-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.blog-share-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.blog-share-toast i {
  color: #22c55e;
  font-size: 16px;
}

/* ==================================================
   LAPTOP
================================================== */

@media (max-width: 1200px) {
  .blog-container {
    padding: 0 30px;
  }

  .blog-image {
    height: 160px;
  }
}

/* Small Laptop Sizing (11.6" Screens / max-width: 1366px) */
@media screen and (max-width: 1366px) {
  .header-actions {
    gap: 14px;
  }

  .header-action-item {
    min-width: 48px;
    padding: 0 2px;
  }

  .header-action-circle {
    width: 36px;
    height: 36px;
  }

  .header-action-label {
    font-size: 11px;
    margin-top: 3px;
  }

  .icon-btn {
    padding: 6px 10px;
    font-size: 11px;
    gap: 2px;
  }

  .icon-btn i {
    font-size: 16px;
  }

  #cartCount,
  #wishlistCount {
    min-width: 16px;
    height: 16px;
    font-size: 9.5px;
    top: -3px;
    right: -3px;
  }

  .nav-inner {
    gap: 10px;
    padding: 4px 0;
  }

  .nav-inner>a,
  .nav-dropdown-wrapper>a,
  .mega-dropdown-btn,
  .category-link {
    font-size: 13.5px;
    padding: 7px 11px;
    min-height: 38px;
  }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {
  .blog-section {
    padding: 48px 0;
  }

  .blog-container {
    padding: 0 20px;
  }

  .blog-image {
    height: 170px;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {
  .blog-section {
    padding: 40px 0;
  }

  .blog-container {
    padding: 0 16px;
  }

  .blog-section .section-heading {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .blog-image {
    height: 170px;
  }

  .blog-content {
    padding: 14px 16px;
  }

  .blog-card h3,
  .blog-title {
    font-size: 16px;
  }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 380px) {
  .blog-image {
    height: 185px;
  }

  .blog-content {
    padding: 15px;
  }

  .blog-meta {
    gap: 7px;
  }
}

/* FIX: Show products on products.php & allow smooth card box hover */
.shop-product-grid .product-card {
  opacity: 1 !important;
  visibility: visible !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.shop-product-grid .product-card:not(:hover) {
  transform: translateY(0) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.shop-product-grid .product-card:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(40, 123, 255, 0.12) !important;
  border-color: rgba(40, 123, 255, 0.25) !important;
}

/* ===============================================================
   SHOW PRODUCTS + FEATURED PRODUCTS — UNIFORM CARDS & SMOOTH HOVER
   (Scoped + appended last so it always wins, without touching
   other pages that reuse .product-card / .product-grid)
================================================================ */
/* Featured Products & Show Products Slider use Unified Product Card System */
.featured-products .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.sp-wrap {
  position: relative;
}

.sp-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 10px 4px 18px 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

.sp-track::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.sp-track > .product-card {
  scroll-snap-align: start !important;
  flex: 0 0 calc((100% - 16px * 4) / 5) !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 410px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  box-sizing: border-box !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.sp-track > .product-card:not(:hover) {
  transform: none !important;
}

.sp-track > .product-card:hover {
  transform: translateY(-3px) !important;
}

@media screen and (max-width: 1023px) and (min-width: 769px) {
  .sp-track>.product-card {
    flex: 0 0 calc((100% - 14px * 2) / 3) !important;
  }
}

@media screen and (max-width: 768px) {
  .sp-track>.product-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
  }
}

@media screen and (max-width: 480px) {
  .sp-track {
    gap: 8px;
  }

  .sp-track>.product-card {
    flex: 0 0 calc((100% - 8px) / 2);
  }
}

.sp-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  color: #0f172a;
  font-size: 14px;
  transition: background .25s ease, color .25s ease,
    box-shadow .25s ease, opacity .25s ease, transform .25s ease;
}

.sp-arrow:hover {
  background: var(--blue-gradient, linear-gradient(135deg, #0052cc 0%, #0080ff 100%));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 102, 255, .28);
}

.sp-arrow:active {
  transform: translateY(-50%) scale(.94);
}

.sp-arrow.sp-prev {
  left: -22px;
}

.sp-arrow.sp-next {
  right: -22px;
}

.sp-arrow[disabled] {
  opacity: .35;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

@media screen and (max-width: 900px) {
  .sp-arrow {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .sp-arrow.sp-prev {
    left: 6px;
  }

  .sp-arrow.sp-next {
    right: 6px;
  }
}

/* ===============================================================
   IMAGE SHUFFLE HOVER EFFECT
=============================================================== */
.product-image-box,
.latest-product-image,
.product-image-wrapper {
  position: relative !important;
  overflow: hidden !important;
}

.primary-img {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-image-box .hover-img,
.latest-product-image .hover-img,
.product-image-wrapper .hover-img,
.product-card .hover-img,
.hover-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  padding: var(--product-img-padding, 28px) !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
  z-index: 3 !important;
}

.featured-products .product-image-box .hover-img,
.latest-product-grid .latest-product-image .hover-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
}

/* Card & Image Hover: Smoothly swap primary to hover image with zero white box artifact */
.product-image-box:hover .hover-img,
.product-image-wrapper:hover .hover-img,
.product-card:hover .product-image-box .hover-img,
.product-card:hover .product-image-wrapper .hover-img,
.latest-product-card:hover .hover-img,
.latest-product-image:hover .hover-img,
.product-img-wrapper:hover .hover-img,
.card-img-wrap:hover .hover-img,
.shop-card-img-wrap:hover .hover-img,
.pc-img-wrap:hover .hover-img,
.hover-img:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scale(1.05) !important;
}

.product-image-box:has(.hover-img):hover .primary-img,
.product-image-wrapper:has(.hover-img):hover .primary-img,
.product-card:hover .product-image-box:has(.hover-img) .primary-img,
.product-card:hover .product-image-wrapper:has(.hover-img) .primary-img,
.latest-product-card:hover .latest-product-image:has(.hover-img) .primary-img,
.latest-product-image:has(.hover-img):hover .primary-img,
.product-img-wrapper:has(.hover-img):hover .primary-img,
.card-img-wrap:has(.hover-img):hover .primary-img,
.shop-card-img-wrap:has(.hover-img):hover .primary-img,
.pc-img-wrap:has(.hover-img):hover .primary-img {
  opacity: 0 !important;
  transform: scale(1.05) !important;
}

/* Image Download Button */
.download-img-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none !important;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.download-img-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ── PREMIUM FULL-SCREEN BLOG MODAL ── */
.premium-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  z-index: 9900;
  /* Below .header which is 10000 */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding-top: 80px;
  /* Space for navbar */
}

.premium-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.premium-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 1400px;
  height: 90vh;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  position: relative;
  transform: translateY(100px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.premium-modal-backdrop.active .premium-modal-card {
  transform: translateY(0);
}

.premium-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.premium-modal-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  border-color: var(--primary);
}

.premium-blog-hero-img {
  width: 100%;
  height: 420px;
  background: #f1f5f9;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.premium-blog-hero-img:hover {
  transform: scale(1.02);
}

.premium-blog-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-light);
  padding: 40px 20px;
}

.premium-blog-content h2,
.premium-blog-content h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.premium-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E2E8F0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.premium-share-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   14. ADMIN DASHBOARD SYSTEM
   ========================================================================== */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f8fafc;
}

/* Sidebar */
.admin-sidebar {
  width: var(--admin-sidebar-width, 260px);
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.admin-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
  flex-shrink: 0;
  position: sticky;
  top: -20px;
  background: #0f172a;
  z-index: 20;
}

.admin-logo-area img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.admin-logo-area span {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.admin-sidebar-brand img {
  width: auto;
  height: 32px;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.admin-sidebar-brand span {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.admin-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, #287BFF, #2563eb);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Main Content Area */
.admin-main {
  flex: 1;
  min-width: 0;
  margin-left: var(--admin-sidebar-width, 260px);
  width: calc(100% - var(--admin-sidebar-width, 260px));
  max-width: calc(100% - var(--admin-sidebar-width, 260px));
  padding: 28px 36px;
  background: #f8fafc;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Topbar */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Orders & Order Status Filter / Search Toolbar */
.kw-orders-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.kw-orders-search-box {
  position: relative;
  flex: 1 1 380px;
  max-width: 440px;
  min-width: 240px;
  box-sizing: border-box;
}

.kw-orders-search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.kw-orders-search-box input:focus {
  border-color: #287BFF;
  box-shadow: 0 0 0 3px rgba(40, 123, 255, 0.12);
}

.kw-orders-dropdowns-row,
.kw-orders-filter-toolbar > div:not(.kw-orders-search-box) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 10px 16px;
  border-radius: 10px;
  width: 320px;
  color: #64748b;
}

.admin-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  width: 100%;
  color: #0f172a;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.admin-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.admin-icon-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #287BFF;
  transform: translateY(-1px);
}

.admin-icon-btn.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #287BFF;
}

.admin-icon-btn .admin-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
  line-height: 1;
  pointer-events: none;
  z-index: 10;
}

.admin-icon-btn .admin-badge.has-count {
  display: flex !important;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
  border-left: 1px solid #e2e8f0;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #287BFF, #0066ff);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(40, 123, 255, 0.25);
}

.admin-profile-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.admin-profile-role {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

/* Dashboard Title Bar */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dash-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.dash-date {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
}

/* Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.stat-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  flex: 0 0 auto;
  margin: 0;
}

.stat-icon.blue {
  background: #eff6ff;
  color: #287BFF;
}

.stat-icon.green {
  background: #f0fdf4;
  color: #16a34a;
}

.stat-icon.purple {
  background: #faf5ff;
  color: #9333ea;
}

.stat-icon.orange {
  background: #fff7ed;
  color: #ea580c;
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
  margin: 0;
  flex: 0 1 auto;
}

.stat-info p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 500;
  text-align: left;
}

.stat-info h4 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
  text-align: left;
}

/* Admin Table Section */
.admin-section-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.btn-view-all {
  font-size: 13px;
  color: #287BFF;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  background: #eff6ff;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.btn-view-all:hover {
  background: #dbeafe;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  padding: 12px 16px;
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #1e293b;
}

.td-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.td-product img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-processing {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
}

.status-delivered {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.status-pending {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.status-cancelled {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
}

.btn-add-product-blue {
  background: #287BFF !important;
  color: #ffffff !important;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-add-product-blue:hover {
  background: #0045a8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(40, 123, 255, 0.4);
}

.btn-add-product-blue i {
  color: #ffffff !important;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-edit {
  background: #eff6ff;
  color: #287BFF;
  border: 1px solid #93c5fd;
}

/* Global Modal System */
.checkout-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.checkout-modal-overlay.open,
.checkout-modal-overlay[style*="display: flex"],
.checkout-modal-overlay[style*="display:flex"] {
  display: flex !important;
}

.checkout-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  padding: 28px 30px;
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
  margin: auto;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalBoxPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.checkout-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  z-index: 10;
}

.checkout-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Redesigned Checkout Modal Components */
.kw-chk-section-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.price-gst-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.1px !important;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.05) !important;
}

.price-gst-badge i {
  font-size: 8.5px !important;
  color: #16a34a !important;
}

.kw-chk-addr-card {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.kw-chk-addr-card:hover {
  border-color: #cbd5e1;
}

.kw-chk-addr-card.selected {
  border: 2px solid #287BFF !important;
  background: #f0f7ff !important;
}

.kw-chk-dm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.kw-chk-dm-card {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  box-sizing: border-box;
}

.kw-chk-dm-card:hover {
  border-color: #cbd5e1;
}

.kw-chk-dm-card.selected {
  border: 2px solid #287BFF !important;
  background: #f0f7ff !important;
}

.kw-chk-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.kw-chk-radio-circle.checked {
  border-color: #287BFF !important;
}

.kw-chk-radio-circle .kw-chk-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #287BFF;
  display: none;
}

.kw-chk-radio-circle.checked .kw-chk-radio-dot {
  display: block !important;
}

.kw-chk-breakdown-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .checkout-modal-box {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    max-height: 94vh !important;
  }
  .kw-chk-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .kw-chk-dm-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

.checkout-modal-box.admin-modal-box-lg,
#kwCustomerDetailModal .checkout-modal-box,
#kwOrderDetailModal .checkout-modal-box {
  max-width: 960px !important;
  width: min(960px, 94vw) !important;
  padding: 0 !important;
}

@keyframes modalBoxPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.btn-edit {
  background: #eff6ff !important;
  color: #287BFF !important;
  border: 1px solid #bfdbfe !important;
}

.btn-edit i {
  color: #287BFF !important;
}

.btn-edit:hover {
  background: #287BFF !important;
  color: #ffffff !important;
  border-color: #287BFF !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.25) !important;
}

.btn-edit:hover i {
  color: #ffffff !important;
}

.btn-delete {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}

.btn-delete i {
  color: #dc2626 !important;
}

.btn-delete:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
}

.btn-delete:hover i {
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .kw-orders-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .kw-orders-search-box {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .kw-orders-dropdowns-row,
  .kw-orders-filter-toolbar > div:not(.kw-orders-search-box) {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .admin-search {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   PRODUCT CARD ACTION BUTTONS (EDIT & REMOVE) & MODAL
══════════════════════════════════════════════════ */
.card-action-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.card-action-btn.edit-btn {
  color: #287BFF;
}

.card-action-btn.edit-btn:hover {
  background: #287BFF;
  color: #ffffff;
  border-color: #287BFF;
  transform: scale(1.1);
}

.card-action-btn.delete-btn {
  color: #ef4444;
}

.card-action-btn.delete-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.1);
}

.prod-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.prod-modal-box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-sizing: border-box;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.prod-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.prod-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.prod-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.prod-form-group {
  margin-bottom: 14px;
}

.prod-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.prod-form-input,
.prod-form-select,
.prod-form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.prod-form-input:focus,
.prod-form-select:focus,
.prod-form-textarea:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.prod-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

/* ══════════════════════════════════════════════════
   CUSTOM CATEGORY DROPDOWN & SELECT STYLING
══════════════════════════════════════════════════ */
.custom-cat-dropdown {
  position: relative;
  display: inline-block;
}

.custom-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  min-width: 200px;
  justify-content: space-between;
}

.custom-cat-btn:hover {
  border-color: #0066ff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.custom-cat-dropdown.open .chevron-icon {
  transform: rotate(180deg);
  color: #0066ff;
}

.custom-cat-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 230px;
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.15);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.custom-cat-dropdown.open .custom-cat-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-cat-item:hover {
  background: #f1f5f9;
  color: #0066ff;
}

.custom-cat-item.active {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  font-weight: 700;
}

/* Custom Styled Native Selects */
select.prod-form-select,
select#pModalCategory,
select#kwAdminProdCategory {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px !important;
  cursor: pointer;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

select.prod-form-select:hover,
select#pModalCategory:hover,
select#kwAdminProdCategory:hover {
  border-color: #0066ff !important;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.08) !important;
}

select.prod-form-select:focus,
select#pModalCategory:focus,
select#kwAdminProdCategory:focus {
  border-color: #0066ff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
  outline: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   MASTER LAPTOP & DESKTOP RESPONSIVE LAYOUT SYSTEM (11.6" - 17.3")
   ══════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  .header-main {
    gap: 16px !important;
  }

  .header-actions {
    gap: 14px !important;
  }

  .header-action-item {
    min-width: 48px !important;
    padding: 0 2px !important;
  }

  .header-action-circle {
    width: 36px !important;
    height: 36px !important;
  }

  .header-action-label {
    font-size: 11px !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .search-wrap {
    max-width: 480px !important;
  }

  .nav-inner {
    gap: 4px !important;
  }

  .nav-inner>a,
  .nav-dropdown-wrapper>a,
  .mega-dropdown-btn {
    padding: 6px 12px !important;
    font-size: 14px !important;
  }

  .products-grid,
  #kwAdminProductsGridContainer {
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)) !important;
    gap: 16px !important;
  }

  .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .product-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }

  .product-bottom,
  .btn-card-edit,
  .btn-card-delete {
    margin-top: auto !important;
  }
}

@media screen and (max-width: 1023px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ══════════════════════════════════════════════════
   LIVE CHATBOT 2-WAY MESSAGING STYLES
══════════════════════════════════════════════════ */
.chat-msg.admin-msg .chat-bubble {
  background: #287BFF !important;
  color: #ffffff !important;
  border-top-left-radius: 4px !important;
  border-top-right-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
  border-bottom-left-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.25) !important;
}

.chat-admin-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #287BFF;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chatbot-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
  animation: kwBadgePulse 1.5s infinite;
}

@keyframes kwBadgePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ==========================================================================
   PROFESSIONAL ACCOUNT DROPDOWN & AUTHENTICATION STYLES
   ========================================================================== */
.account-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.account-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #ffffff;
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 99999;
  padding: 22px 20px;
  text-align: left;
  box-sizing: border-box;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.account-dropdown-menu.show {
  display: block !important;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Top Caret Arrow */
.account-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

.kw-auth-header {
  margin-bottom: 16px;
}

.kw-auth-title {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #0f172a;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.kw-auth-subtitle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

/* Social Buttons */
.kw-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
}

.kw-social-google {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.kw-social-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.kw-social-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.25);
}

.kw-social-facebook:hover {
  background: linear-gradient(135deg, #166fe5 0%, #0b59c4 100%);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.35);
  transform: translateY(-1px);
}

/* Separator Line */
.kw-auth-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
}

.kw-auth-divider-line {
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

.kw-auth-divider-text {
  padding: 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Input Fields with Left Icons & Right Eye Toggle */
.kw-input-group {
  position: relative;
  margin-bottom: 12px;
}

.kw-input-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.kw-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.kw-input-wrapper i.kw-input-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 13.5px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.kw-input-field {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.kw-input-field:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.kw-input-field:focus+i.kw-input-icon,
.kw-input-wrapper:focus-within i.kw-input-icon {
  color: #2563eb;
}

.kw-pwd-toggle {
  position: absolute;
  right: 12px;
  color: #94a3b8;
  font-size: 13.5px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.kw-pwd-toggle:hover {
  color: #475569;
}

/* Main Action Submit Button */
.kw-submit-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 11px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.kw-submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.kw-submit-btn:active {
  transform: translateY(0);
}

/* Admin Card Link */
.kw-admin-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kw-admin-link-btn:hover {
  background: #edf2f7;
  color: #1e293b;
  border-color: #cbd5e1;
}

/* ==========================================================================
   USER AUTHENTICATION CENTERED POPUP MODAL
   ========================================================================== */
.kw-auth-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-auth-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.kw-auth-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
  padding: 32px 28px;
  position: relative;
  box-sizing: border-box;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.kw-auth-modal-overlay.open .kw-auth-modal-box {
  transform: scale(1) translateY(0);
}

.kw-auth-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.kw-auth-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes pulseGreen {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(22, 163, 74, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* ==========================================================================
   MOBILE VIEW ENHANCEMENTS (<= 860px) — PRESERVING 100% LAPTOP VIEW (>= 861px)
   ========================================================================== */
@media screen and (max-width: 860px) {

  /* Hide generic contact topbar on mobile, preserve promo / countdown timer */
  .topbar:not(.topbar-mode-countdown) {
    display: none !important;
  }
  .topbar.topbar-mode-countdown {
    display: block !important;
  }

  /* Completely hide wide desktop navbar on mobile (<= 860px) since All Categories & Home are inside the mobile side drawer */
  .nav#mainNav,
  nav#mainNav,
  #mainNav,
  .nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  /* Header Container */
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0 !important;
  }

  .header-main {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px 6px 12px !important;
    gap: 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Logo: Left */
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
    order: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .logo-img:not(.logo-img--full) {
    height: 28px !important;
    width: auto !important;
    max-height: 34px !important;
    flex-shrink: 0 !important;
  }

  .logo-img--full {
    height: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Actions Right: Admin/Account, Wishlist, Cart, Hamburger */
  .header-right-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    order: 2 !important;
    margin: 0 !important;
  }

  .header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
  }

  .header-action-item {
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .header-action-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-action-circle i {
    font-size: 13px !important;
  }

  .header-action-label {
    display: none !important;
  }

  .header-action-badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    font-size: 9px !important;
    min-width: 16px !important;
    height: 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 3px !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    margin: 0 0 0 2px !important;
    flex-shrink: 0 !important;
  }

  /* Search Bar (Row 2 on mobile) */
  .search-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    order: 3 !important;
    margin: 4px 0 0 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .search {
    width: 100% !important;
    height: 40px !important;
    border-radius: 9999px !important;
    padding: 0 4px 0 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .search input,
  .search input:focus,
  .search input:focus-visible,
  .search input:active,
  #searchInput,
  #searchInput:focus,
  #searchInput:focus-visible {
    font-size: 13px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    color: #0f172a !important;
    caret-color: #0066ff !important;
  }

  .search button#searchBtn,
  .search #searchBtn,
  #searchBtn {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    background: #287BFF !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(40, 123, 255, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Category Horizontal Pill Bar (Row 3 on mobile) */
  .mobile-category-pill-bar {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 8px 12px 10px 12px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    scrollbar-width: none !important;
  }

  .mobile-category-pill-bar::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 12px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }

  .mobile-cat-pill.active {
    background: #287BFF !important;
    color: #ffffff !important;
    border-color: #287BFF !important;
    box-shadow: 0 2px 8px rgba(40, 123, 255, 0.25) !important;
  }

  /* ── Shop & Category Page Layout on Mobile (<= 860px) ── */
  .shop-page-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .shop-sidebar {
    display: none !important;
  }

  .shop-main-section {
    padding-top: 10px !important;
  }

  .breadcrumb {
    margin-bottom: 12px !important;
    font-size: 12px !important;
  }

  .shop-page-layout>div>div:first-child,
  .shop-heading-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .shop-page-layout h1 {
    font-size: 19px !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .shop-page-layout h1+p {
    font-size: 11.5px !important;
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.3 !important;
  }

  .custom-sort-dropdown .custom-sort-btn {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  .custom-sort-btn i {
    font-size: 11px !important;
  }

  /* 2-Column Product Grid for all category and shop pages */
  .product-grid,
  .shop-product-grid,
  .product-grid-shop,
  .category-products-grid,
  .other-products-grid,
  .shop-page-layout .product-grid-shop,
  .shop-page-layout .product-grid,
  .shop-page-layout .shop-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* Shop Card Alignment & Styling on Mobile */
  .shop-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 8px 8px 10px 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
  }

  .shop-card .wishlist-btn {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    font-size: 12px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  }

  .shop-card .wishlist-btn i {
    font-size: 12px !important;
  }

  .shop-card .save-tag-red {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    right: auto !important;
    bottom: auto !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    z-index: 4 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
  }

  .shop-card-img {
    width: 100% !important;
    height: 110px !important;
    max-height: 110px !important;
    object-fit: contain !important;
    margin: 4px auto 8px auto !important;
    display: block !important;
  }

  .shop-card-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    min-height: calc(11.5px * 1.35 * 2) !important;
    max-height: calc(11.5px * 1.35 * 2) !important;
    height: calc(11.5px * 1.35 * 2) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
  }

  .shop-card .price-original {
    font-size: 10.5px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin-right: 4px !important;
  }

  .shop-card .price-purple {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .shop-card .tax-subtext {
    display: none !important;
  }

  .shop-card .btn-black-add {
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: #287BFF !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(40, 123, 255, 0.2) !important;
    white-space: nowrap !important;
  }

  .shop-card .btn-black-add i {
    font-size: 12px !important;
    color: #ffffff !important;
  }

  /* ── Product Detail Mobile Layout (<= 860px) ── */
  .page-header {
    padding: 16px 0 12px !important;
  }

  .page-header h1 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    word-break: break-word !important;
  }

  .page-header .breadcrumb {
    font-size: 11.5px !important;
    margin: 0 !important;
  }

  .product-detail-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    padding: 14px 12px 20px 12px !important;
    gap: 16px !important;
    border-radius: 16px !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-detail-gallery {
    position: static !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .detail-main-box {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
  }

  .detail-main-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .card-wishlist-btn#detailWishlistBtn {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .card-wishlist-btn#detailWishlistBtn i {
    font-size: 15px !important;
  }

  .detail-thumbs {
    gap: 8px !important;
    justify-content: center !important;
  }

  .thumb {
    width: 54px !important;
    height: 54px !important;
    padding: 4px !important;
    border-radius: 8px !important;
  }

  .product-detail-info {
    width: 100% !important;
    gap: 12px !important;
  }

  .detail-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    width: fit-content !important;
  }

  .detail-h1 {
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    word-break: break-word !important;
    margin: 0 !important;
  }

  .detail-rating {
    font-size: 13px !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-top: 0 !important;
  }

  .detail-rating span {
    font-size: 11.5px !important;
  }

  .detail-price-box {
    width: 100% !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    align-items: center !important;
    border-radius: 10px !important;
  }

  .detail-price-box strong {
    font-size: 24px !important;
  }

  .detail-price-box del {
    font-size: 14px !important;
  }

  .detail-save {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  .detail-stock-status {
    font-size: 11.5px !important;
    padding: 4px 10px !important;
    width: fit-content !important;
    max-width: fit-content !important;
    align-self: flex-start !important;
  }

  .detail-paragraph {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .detail-specs {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .detail-specs h3 {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .detail-specs ul {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    font-size: 12px !important;
  }

  .detail-action-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .qty-btn-group {
    width: 100% !important;
    height: 42px !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  #detailAddCartBtn,
  #detailBuyBtn {
    width: 100% !important;
    height: 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .detail-trust-badges {
    flex-direction: column !important;
    gap: 8px !important;
    font-size: 11.5px !important;
    padding-top: 8px !important;
  }
}

/* ── GLOBAL KW MODAL COMPONENT STYLES ── */
.kw-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.kw-modal-backdrop.open {
  display: flex !important;
}

.kw-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 600px;
  max-height: min(92vh, calc(100vh - 32px));
  height: auto;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  animation: kwModalSlideUp 0.25s ease-out;
  margin: auto;
  position: relative;
}

.kw-modal-card form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}

@keyframes kwModalSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.kw-modal-header {
  padding: 16px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0 !important;
}

.kw-modal-body {
  padding: 20px 22px;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: calc(92vh - 140px);
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.kw-modal-footer {
  padding: 14px 22px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0 !important;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-sizing: border-box;
}

/* ── COPY SPECS MODAL & DOWNWARD DROPDOWN CONTAINER (ELIMINATES BODY SCROLLBAR) ── */
#kwCopySpecsModal .kw-modal-box {
  overflow: visible !important;
  max-width: 580px !important;
  width: 100% !important;
}

#kwCopySpecsModal .kw-modal-body {
  overflow: visible !important;
  max-height: none !important;
}

/* ── ORDERS FILTER TABS & BADGES ── */
.orders-filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 22px;
  border-bottom: 1.5px solid #f1f5f9;
}

.order-tab-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.order-tab-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #287BFF;
}

.order-tab-btn.active {
  background: linear-gradient(135deg, #287BFF, #1A68E8);
  border-color: #287BFF;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.28);
}

.order-tab-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.order-tab-btn:hover .order-tab-badge {
  background: #dbeafe;
  color: #287BFF;
}

.order-tab-btn.active .order-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ── ACTION BUTTONS ── */
.btn-order-action {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  line-height: 1;
  border: 1px solid transparent;
  outline: none;
}

.btn-order-primary {
  background: #287BFF;
  background-image: linear-gradient(135deg, #287BFF 0%, #0066ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.25);
}

.btn-order-primary:hover {
  background: #1A68E8;
  background-image: linear-gradient(135deg, #1A68E8 0%, #287BFF 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(40, 123, 255, 0.35);
}

.btn-order-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.2);
}

.btn-order-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.btn-order-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* ── KW CUSTOM PROFESSIONAL DROPDOWN COMPONENT ── */
.kw-custom-dropdown-wrap {
  position: relative;
  display: inline-block;
  user-select: none;
}

.kw-custom-dropdown-btn {
  height: 40px;
  padding: 0 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-custom-dropdown-btn:hover {
  background: #f8fafc;
  border-color: #93c5fd;
  color: #287BFF;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.12);
}

.kw-custom-dropdown-btn.open {
  border-color: #287BFF;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(40, 123, 255, 0.18);
}

.kw-custom-dropdown-btn .kw-dropdown-icon {
  color: #287BFF;
  font-size: 14px;
}

.kw-custom-dropdown-btn .kw-dropdown-arrow {
  color: #64748b;
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.kw-custom-dropdown-btn.open .kw-dropdown-arrow {
  transform: rotate(180deg);
  color: #287BFF;
}

.kw-custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  padding: 6px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  gap: 2px;
  animation: kwDropdownPop 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-custom-dropdown-menu.menu-right,
#kwSalesDateMenu {
  right: 0;
  left: auto;
}

.kw-custom-dropdown-menu.menu-left,
#kwPerfDateMenu {
  left: 0;
  right: auto;
}

.kw-custom-dropdown-menu.show {
  display: flex;
}

@keyframes kwDropdownPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kw-dropdown-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.kw-dropdown-item:hover {
  background: #f1f5f9;
  color: #287BFF;
}

.kw-dropdown-item.active {
  background: #eff6ff;
  color: #287BFF;
  font-weight: 700;
}

.kw-dropdown-item .kw-check-icon {
  font-size: 11px;
  color: #287BFF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.kw-dropdown-item.active .kw-check-icon {
  opacity: 1;
}

.kw-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL MODERN & PROFESSIONAL FORM CONTROLS & SELECT STYLING
══════════════════════════════════════════════════════════════ */

/* Form Text Inputs & Textareas (NO CHEVRON ARROWS) */
input.kw-form-control,
textarea.kw-form-control {
  width: 100%;
  height: 44px;
  padding: 10px 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  outline: none !important;
  background-color: #ffffff !important;
  background-image: none !important; /* CRITICAL: Prevent dropdown arrow on text/file inputs */
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: text !important;
}

textarea.kw-form-control {
  height: auto !important;
  min-height: 85px !important;
  resize: vertical !important;
}

input.kw-form-control:hover,
textarea.kw-form-control:hover {
  border-color: #94a3b8 !important;
  background-color: #fafbfd !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06) !important;
}

input.kw-form-control:focus,
textarea.kw-form-control:focus {
  border-color: #287BFF !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14), 0 2px 6px rgba(40, 123, 255, 0.08) !important;
}

/* File Input */
input[type="file"].kw-form-control {
  padding: 7px 10px !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  cursor: pointer !important;
  background-image: none !important;
}

input[type="file"].kw-form-control::file-selector-button {
  padding: 6px 14px !important;
  border-radius: 7px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f1f5f9 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  margin-right: 12px !important;
  transition: all 0.2s ease !important;
}

input[type="file"].kw-form-control::file-selector-button:hover {
  background: #e2e8f0 !important;
  color: #287BFF !important;
  border-color: #94a3b8 !important;
}

/* Native Select Elements (Standardized Kiwistronics styling with single SVG arrow) */
select:not([multiple]):not([size]):not([data-kw-enhanced="true"]),
.admin-main select:not([multiple]),
.admin-content select:not([multiple]),
.admin-section-card select:not([multiple]),
.dash-header select:not([multiple]),
select.kw-form-control,
select.kw-select,
select.kw-styled-select,
select.admin-select,
select.kw-custom-select,
select.ticket-select,
select.b2b-sort-select,
select.kw-form-input,
select.prod-form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  height: 40px !important;
  min-height: 40px !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005ad8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding: 0 38px 0 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 38px !important;
  cursor: pointer !important;
  outline: none !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

select:not([multiple]):not([size]):not([data-kw-enhanced="true"]):hover,
.admin-main select:not([multiple]):hover,
.admin-content select:not([multiple]):hover,
.admin-section-card select:not([multiple]):hover,
.dash-header select:not([multiple]):hover,
select.kw-form-control:hover,
select.kw-select:hover,
select.kw-styled-select:hover,
select.admin-select:hover,
select.kw-custom-select:hover,
select.ticket-select:hover,
select.b2b-sort-select:hover,
select.kw-form-input:hover,
select.prod-form-select:hover {
  border-color: #94a3b8 !important;
  background-color: #fafbfd !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06) !important;
}

select:not([multiple]):not([size]):not([data-kw-enhanced="true"]):focus,
.admin-main select:not([multiple]):focus,
.admin-content select:not([multiple]):focus,
.admin-section-card select:not([multiple]):focus,
.dash-header select:not([multiple]):focus,
select.kw-form-control:focus,
select.kw-select:focus,
select.kw-styled-select:focus,
select.admin-select:focus,
select.kw-custom-select:focus,
select.ticket-select:focus,
select.b2b-sort-select:focus,
select.kw-form-input:focus,
select.prod-form-select:focus {
  border-color: #287BFF !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14), 0 2px 6px rgba(40, 123, 255, 0.08) !important;
  outline: none !important;
}

select:not([multiple]):not([size]):disabled,
.admin-main select:not([multiple]):disabled,
.admin-content select:not([multiple]):disabled,
select.kw-form-control:disabled,
select.kw-select:disabled,
select.kw-styled-select:disabled,
select.admin-select:disabled,
select.kw-custom-select:disabled,
select.ticket-select:disabled,
select.b2b-sort-select:disabled,
select.kw-form-input:disabled {
  background-color: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  box-shadow: none !important;
}

select:not([multiple]):not([size]) option,
.admin-main select option,
.admin-content select option,
select.kw-form-control option,
select.kw-select option,
select.kw-styled-select option,
select.admin-select option,
select.kw-custom-select option,
select.ticket-select option,
select.b2b-sort-select option,
select.kw-form-input option {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  padding: 10px 14px !important;
}


/* Hidden native select when enhanced by JavaScript */
select[data-kw-enhanced="true"] {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM CUSTOM INTERACTIVE SELECT DROPDOWN COMPONENT
══════════════════════════════════════════════════════════════ */
.kw-select-wrapper {
  position: relative !important;
  display: inline-block !important;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  user-select: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.kw-select-wrapper.admin-filter-select-wrap,
.admin-filter-bar .kw-select-wrapper,
.admin-filters .kw-select-wrapper,
.admin-toolbar .kw-select-wrapper,
.table-filter .kw-select-wrapper {
  min-width: 130px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}

.admin-filter-bar .kw-select-trigger,
.admin-filters .kw-select-trigger,
.admin-toolbar .kw-select-trigger,
.table-filter .kw-select-trigger,
.kw-select-wrapper.admin-filter-select-wrap .kw-select-trigger {
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

.kw-b2b-select-group .kw-select-trigger,
.kw-b2b-select-group .kw-select-wrapper .kw-select-trigger {
  padding-left: 42px !important;
  padding-right: 14px !important;
  height: 42px !important;
  border-radius: 12px !important;
}

.kw-b2b-select-group i.kw-select-chevron {
  display: none !important;
}

.kw-select-trigger {
  width: 100% !important;
  height: 42px !important;
  padding: 0 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: left !important;
  outline: none !important;
}

.kw-select-trigger:hover {
  border-color: #94a3b8 !important;
  background: #fafbfd !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06) !important;
}

.kw-select-wrapper.open {
  z-index: 10050 !important;
}

div:has(> .kw-select-wrapper.open) {
  position: relative !important;
  z-index: 10050 !important;
}

.kw-status-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.06) !important;
}

.kw-select-wrapper.open .kw-select-trigger,
.kw-select-trigger:focus-visible {
  border-color: #287BFF !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14), 0 2px 6px rgba(40, 123, 255, 0.08) !important;
}

.kw-select-label {
  flex: 1 1 auto !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #0f172a !important;
}

.kw-select-arrow {
  flex-shrink: 0 !important;
  font-size: 12px !important;
  color: #287BFF !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kw-select-wrapper.open .kw-select-arrow {
  transform: rotate(180deg) !important;
}

.kw-select-dropdown {
  position: absolute !important;
  top: calc(100% + 6px);
  bottom: auto;
  left: 0 !important;
  min-width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 6px 12px -2px rgba(15, 23, 42, 0.06) !important;
  max-height: 250px !important;
  overflow-y: auto !important;
  z-index: 10000002 !important;
  padding: 6px !important;
  display: none !important;
  flex-direction: column !important;
  gap: 2px !important;
  box-sizing: border-box !important;
  animation: kwSelectDropAnim 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.kw-select-dropdown.kw-drop-up,
.kw-select-wrapper.drop-up .kw-select-dropdown {
  top: auto !important;
  bottom: calc(100% + 6px) !important;
  box-shadow: 0 -12px 28px -4px rgba(15, 23, 42, 0.14), 0 -6px 12px -2px rgba(15, 23, 42, 0.06) !important;
  animation: kwSelectDropUpAnim 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes kwSelectDropAnim {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes kwSelectDropUpAnim {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kw-select-wrapper.open .kw-select-dropdown {
  display: flex !important;
}

.kw-select-option {
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  user-select: none !important;
}

.kw-select-option:hover {
  background: #f1f5f9 !important;
  color: #287BFF !important;
}

.kw-select-option.selected {
  background: #eff6ff !important;
  color: #287BFF !important;
  font-weight: 700 !important;
}

.kw-select-option .kw-opt-check {
  font-size: 11px !important;
  color: #287BFF !important;
  margin-left: 10px !important;
  display: none !important;
}

.kw-select-option.selected .kw-opt-check {
  display: inline-block !important;
}

/* Custom Scrollbar for Dropdown Menu */
.kw-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.kw-select-dropdown::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 6px;
}
.kw-select-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
.kw-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ══════════════════════════════════════════════════════════════
   B2B WHOLESALE CATALOG FILTER SELECTS (PROFESSIONAL STYLING)
══════════════════════════════════════════════════════════════ */
.kw-b2b-select-group {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.kw-b2b-select-group i.kw-select-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #287BFF !important;
  font-size: 13.5px !important;
  width: 16px !important;
  text-align: center !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kw-b2b-select-group .kw-select-wrapper {
  width: 100% !important;
  flex: 1 1 auto !important;
  position: relative !important;
}

.kw-b2b-select-group .kw-select-trigger,
.kw-b2b-select-group .kw-select-wrapper .kw-select-trigger {
  width: 100% !important;
  height: 42px !important;
  padding: 0 14px 0 42px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kw-b2b-select-group .kw-select-trigger:hover {
  border-color: #94a3b8 !important;
  background: #fafbfd !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06) !important;
}

.kw-b2b-select-group .kw-select-wrapper.open .kw-select-trigger,
.kw-b2b-select-group .kw-select-trigger:focus-visible {
  border-color: #287BFF !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14), 0 2px 6px rgba(40, 123, 255, 0.08) !important;
}

.kw-b2b-select-group .kw-select-label {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

.kw-b2b-select-group .kw-select-arrow {
  flex-shrink: 0 !important;
  font-size: 12px !important;
  color: #287BFF !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kw-b2b-select-group .kw-select-wrapper.open .kw-select-arrow {
  transform: rotate(180deg) !important;
}

.kw-b2b-select-group .kw-select-dropdown {
  min-width: 100% !important;
  width: max-content !important;
  max-width: 360px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 6px 12px -2px rgba(15, 23, 42, 0.06) !important;
  padding: 6px !important;
  z-index: 10000005 !important;
}

.kw-b2b-select-group .kw-select-option {
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.kw-b2b-select-group .kw-select-option:hover {
  background: #f1f5f9 !important;
  color: #287BFF !important;
}

.kw-b2b-select-group .kw-select-option.selected {
  background: #eff6ff !important;
  color: #287BFF !important;
  font-weight: 700 !important;
}

/* Fallback for native select */
.kw-b2b-select-group select {
  width: 100% !important;
  height: 42px !important;
  padding: 0 36px 0 42px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005ad8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kw-b2b-select-group select:hover {
  border-color: #94a3b8 !important;
  background-color: #fafbfd !important;
}

.kw-b2b-select-group select:focus {
  border-color: #287BFF !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14) !important;
  outline: none !important;
}

/* ══════════════════════════════════════════════════════════════
   PROFESSIONAL STAR SELECT & RATING DROPDOWN STYLES
══════════════════════════════════════════════════════════════ */
.kw-star-select-label-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.kw-star-rating-icons {
  color: #f59e0b !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.28)) !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.kw-star-rating-text {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  white-space: nowrap !important;
}

.kw-select-option:hover .kw-star-rating-icons,
.kw-select-option.selected .kw-star-rating-icons {
  color: #d97706 !important;
  filter: drop-shadow(0 1px 3px rgba(217, 119, 6, 0.38)) !important;
  transform: scale(1.03);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.kw-select-option.selected .kw-star-rating-text {
  color: #287BFF !important;
  font-weight: 700 !important;
}

/* Disabled state styling for custom select */
.kw-select-wrapper.disabled .kw-select-trigger,
.kw-select-trigger:disabled {
  opacity: 0.72 !important;
  cursor: not-allowed !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Professional Native Select Fallback */
select.kw-star-select,
select[data-f="stars"],
select[data-mf="stars"],
select#revRating,
select.admin-select:not([data-kw-enhanced="true"]) {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005ad8' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 14px !important;
  padding: 7px 32px 7px 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  outline: none !important;
  box-sizing: border-box !important;
}

select.kw-star-select:hover,
select[data-f="stars"]:hover,
select[data-mf="stars"]:hover,
select#revRating:hover,
select.admin-select:not([data-kw-enhanced="true"]):hover {
  border-color: #94a3b8 !important;
  background-color: #fafbfd !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.07) !important;
}

select.kw-star-select:focus,
select[data-f="stars"]:focus,
select[data-mf="stars"]:focus,
select#revRating:focus,
select.admin-select:not([data-kw-enhanced="true"]):focus {
  border-color: #287BFF !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.14), 0 2px 6px rgba(40, 123, 255, 0.08) !important;
}

select.kw-star-select:disabled,
select[data-f="stars"]:disabled,
select[data-mf="stars"]:disabled {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 0.72 !important;
}

/* ══════════════════════════════════════════════════════════════════
   FEATURE 23: ACCESSIBILITY ENHANCEMENTS (WCAG 2.1 AA)
   ══════════════════════════════════════════════════════════════════ */
/* Keyboard focus outline for text links only */
a:focus-visible:not(.btn):not(.kw-btn):not([class*="btn"]):not([class*="card"]):not(.product-card) {
  outline: 2px solid #287BFF !important;
  outline-offset: 2px !important;
}

/* Eliminate harsh double-outlines and gap offsets on all inputs, selects, textareas, and controls */
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
button:focus,
button:focus-visible,
[tabindex]:focus,
[tabindex]:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

#chatbotInput,
#chatbotInput:focus,
#chatbotInput:focus-visible,
#searchInput,
#searchInput:focus,
#searchInput:focus-visible,
.search input,
.search input:focus,
.search input:focus-visible,
#searchBtn,
#searchBtn:focus,
#searchBtn:focus-visible,
#searchClearInput,
#searchClearInput:focus,
#searchClearInput:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   PERFECT UNIVERSAL HOVER & FOCUS SYSTEM FOR ALL FORM BOXES & CONTROLS
   ══════════════════════════════════════════════════════════════════ */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
textarea,
select,
.admin-select,
.admin-input,
.kw-admin-input,
.kw-form-input,
.kw-form-textarea,
.kw-select-trigger,
.kw-custom-select-btn,
.custom-cat-btn,
.kw-role-trigger,
.admin-filter-bar input,
.admin-filter-bar select,
.admin-filter-input,
.admin-filters input,
.admin-filters select,
.admin-toolbar input,
.admin-toolbar select,
.table-filter input,
.table-filter select,
.admin-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.checkout-modal-box input:not([type="checkbox"]):not([type="radio"]),
.kw-modal-box input:not([type="checkbox"]):not([type="radio"]),
#kwStaffSearchInput,
#kwAbandonedSearchInput,
#kwTrackSearchInput,
#kwOrderSearchInput,
#kwCustSearchInput,
#kwAdminChatSearchInput,
#kwStoreProductSearchInput {
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.15s ease !important;
}

/* 1. Flawless Smooth Hover State for All Boxes */
input[type="text"]:hover,
input[type="search"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="url"]:hover,
input[type="date"]:hover,
textarea:hover,
select:hover,
.admin-select:hover,
.admin-input:hover,
.kw-admin-input:hover,
.kw-form-input:hover,
.kw-form-textarea:hover,
.kw-select-trigger:hover,
.kw-custom-select-btn:hover,
.custom-cat-btn:hover,
.kw-role-trigger:hover,
.admin-filter-bar input:hover,
.admin-filter-bar select:hover,
.admin-filter-input:hover,
.admin-filters input:hover,
.admin-filters select:hover,
.admin-toolbar input:hover,
.admin-toolbar select:hover,
.table-filter input:hover,
.table-filter select:hover,
.admin-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):hover,
.checkout-modal-box input:not([type="checkbox"]):not([type="radio"]):hover,
.kw-modal-box input:not([type="checkbox"]):not([type="radio"]):hover,
#kwStaffSearchInput:hover,
#kwAbandonedSearchInput:hover,
#kwTrackSearchInput:hover,
#kwOrderSearchInput:hover,
#kwCustSearchInput:hover,
#kwAdminChatSearchInput:hover,
#kwStoreProductSearchInput:hover {
  border-color: #287BFF !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(40, 123, 255, 0.12), 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  outline: none !important;
  outline-offset: 0 !important;
}

/* 2. Flawless Clean Focus State (Crisp single border + seamless soft halo, NO double outlines) */
input[type="text"]:focus,
input[type="text"]:focus-visible,
input[type="search"]:focus,
input[type="search"]:focus-visible,
input[type="email"]:focus,
input[type="email"]:focus-visible,
input[type="password"]:focus,
input[type="password"]:focus-visible,
input[type="tel"]:focus,
input[type="tel"]:focus-visible,
input[type="number"]:focus,
input[type="number"]:focus-visible,
input[type="url"]:focus,
input[type="url"]:focus-visible,
input[type="date"]:focus,
input[type="date"]:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible,
.admin-select:focus,
.admin-select:focus-visible,
.admin-input:focus,
.admin-input:focus-visible,
.kw-admin-input:focus,
.kw-admin-input:focus-visible,
.kw-form-input:focus,
.kw-form-input:focus-visible,
.kw-form-textarea:focus,
.kw-form-textarea:focus-visible,
.kw-select-trigger:focus,
.kw-select-trigger:focus-visible,
.kw-custom-select-btn:focus,
.kw-custom-select-btn:focus-visible,
.custom-cat-btn:focus,
.custom-cat-btn:focus-visible,
.kw-role-trigger:focus,
.kw-role-trigger:focus-visible,
.admin-filter-bar input:focus,
.admin-filter-bar input:focus-visible,
.admin-filter-bar select:focus,
.admin-filter-bar select:focus-visible,
.admin-filter-input:focus,
.admin-filter-input:focus-visible,
.admin-filters input:focus,
.admin-filters input:focus-visible,
.admin-filters select:focus,
.admin-filters select:focus-visible,
.admin-toolbar input:focus,
.admin-toolbar input:focus-visible,
.admin-toolbar select:focus,
.admin-toolbar select:focus-visible,
.table-filter input:focus,
.table-filter input:focus-visible,
.table-filter select:focus,
.table-filter select:focus-visible,
.admin-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.admin-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus-visible,
.checkout-modal-box input:not([type="checkbox"]):not([type="radio"]):focus,
.kw-modal-box input:not([type="checkbox"]):not([type="radio"]):focus,
#kwStaffSearchInput:focus,
#kwStaffSearchInput:focus-visible,
#kwAbandonedSearchInput:focus,
#kwAbandonedSearchInput:focus-visible,
#kwTrackSearchInput:focus,
#kwTrackSearchInput:focus-visible,
#kwOrderSearchInput:focus,
#kwOrderSearchInput:focus-visible,
#kwCustSearchInput:focus,
#kwCustSearchInput:focus-visible,
#kwAdminChatSearchInput:focus,
#kwAdminChatSearchInput:focus-visible,
#kwStoreProductSearchInput:focus,
#kwStoreProductSearchInput:focus-visible {
  border-color: #287BFF !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.16), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  outline: none !important;
  outline-offset: 0 !important;
}

/* 3. Topbar Admin Search Box Hover & Focus */
.admin-search {
  border: 1.5px solid transparent !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.admin-search:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(40, 123, 255, 0.08) !important;
}
.admin-search:focus-within {
  background: #ffffff !important;
  border-color: #287BFF !important;
  box-shadow: 0 0 0 3.5px rgba(40, 123, 255, 0.15) !important;
}

/* 4. Dark Mode Support */
body.admin-dark-mode input[type="text"]:hover,
body.admin-dark-mode input[type="search"]:hover,
body.admin-dark-mode input[type="email"]:hover,
body.admin-dark-mode textarea:hover,
body.admin-dark-mode select:hover,
body.admin-dark-mode .admin-select:hover,
body.admin-dark-mode .admin-filter-input:hover,
body.admin-dark-mode #kwStaffSearchInput:hover,
body.admin-dark-mode #kwAbandonedSearchInput:hover,
body.admin-dark-mode #kwTrackSearchInput:hover {
  border-color: #38bdf8 !important;
  background-color: #1e293b !important;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15) !important;
}

body.admin-dark-mode input[type="text"]:focus,
body.admin-dark-mode input[type="search"]:focus,
body.admin-dark-mode input[type="email"]:focus,
body.admin-dark-mode textarea:focus,
body.admin-dark-mode select:focus,
body.admin-dark-mode .admin-select:focus,
body.admin-dark-mode .admin-filter-input:focus,
body.admin-dark-mode #kwStaffSearchInput:focus,
body.admin-dark-mode #kwAbandonedSearchInput:focus,
body.admin-dark-mode #kwTrackSearchInput:focus {
  border-color: #38bdf8 !important;
  background-color: #1e293b !important;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.22) !important;
  outline: none !important;
  outline-offset: 0 !important;
}

/* 2. Screen reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 3. Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: #287BFF;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 13px;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* 4. Respect user reduced motion preferences (exempting continuous marquees/tickers) */
@media (prefers-reduced-motion: reduce) {
  *:not(.reviews-grid):not(.brands-track):not(.topbar-marquee-track),
  *:not(.reviews-grid):not(.brands-track):not(.topbar-marquee-track)::before,
  *:not(.reviews-grid):not(.brands-track):not(.topbar-marquee-track)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reviews-grid {
    animation: reviewsScroll 48s linear infinite !important;
  }
  .brands-track {
    animation: brandScroll 28s linear infinite !important;
  }
  .topbar-marquee-track {
    animation: topbarMarquee 25s linear infinite !important;
  }
}

/* ── CART PROMO CODE INPUT GROUP POLISH ── */
.promo-input-group {
  display: flex;
  align-items: center !important;
  position: relative !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 4px 4px 4px 12px !important;
  margin: 14px 0 10px 0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
  height: 44px !important;
  gap: 8px !important;
}
.promo-input-group:hover {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}
.promo-input-group:focus-within {
  border-color: #287BFF !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(40, 123, 255, 0.12), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
.promo-input-group .kw-promo-input-icon {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease !important;
}
.promo-input-group:focus-within .kw-promo-input-icon {
  color: #287BFF !important;
}
.promo-input-group input#couponCodeInput,
.promo-input-group input,
.promo-input-group:hover input,
.promo-input-group:focus-within input,
.promo-input-group input:focus,
.promo-input-group input:focus-visible,
.promo-input-group input:hover,
.promo-input-group input:active,
#couponCodeInput,
#couponCodeInput:focus,
#couponCodeInput:focus-visible,
#couponCodeInput:hover,
#couponCodeInput:active {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 4px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #0f172a !important;
  font-family: inherit !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.promo-input-group input::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 12px !important;
}
.promo-input-group button#promoApplyBtn {
  background: #287BFF !important;
  background-color: #287BFF !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  height: 34px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.28) !important;
  user-select: none !important;
  margin: 0 !important;
}
.promo-input-group button#promoApplyBtn:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff5500 100%) !important;
  background-color: #ff6600 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35) !important;
}
.promo-input-group button#promoApplyBtn:active {
  transform: scale(0.96) !important;
  background: #e65100 !important;
  background-color: #e65100 !important;
  box-shadow: 0 1px 3px rgba(230, 81, 0, 0.3) !important;
}

.promo-input-group button#promoClearBtn,
.promo-input-group .kw-promo-clear-btn,
.kw-promo-clear-btn {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  padding: 0 !important;
  height: 26px !important;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  border-radius: 50% !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
.promo-input-group button#promoClearBtn.is-visible,
.promo-input-group .kw-promo-clear-btn.is-visible,
.kw-promo-clear-btn.is-visible {
  display: inline-flex !important;
}
.promo-input-group button#promoClearBtn:hover,
.promo-input-group .kw-promo-clear-btn:hover,
.kw-promo-clear-btn:hover {
  color: #ef4444 !important;
  background: #fee2e2 !important;
  background-color: #fee2e2 !important;
  background-image: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.18) !important;
}
.promo-input-group button#promoClearBtn:active,
.promo-input-group .kw-promo-clear-btn:active,
.kw-promo-clear-btn:active {
  background: #fecaca !important;
  background-color: #fecaca !important;
  background-image: none !important;
  transform: scale(0.96) !important;
}

/* ── CART DRAWER FREE DELIVERY PROGRESS BANNER ── */
.cart-drawer-free-delivery {
  display: flex;
  flex-direction: column !important;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%) !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 2px 8px rgba(40, 123, 255, 0.05) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}
.cart-drawer-free-delivery.is-hidden,
.cart-drawer-free-delivery[style*="display: none"],
.cart-drawer-free-delivery[style*="display:none"] {
  display: none !important;
}
.cart-drawer-free-top {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}
.cart-drawer-free-icon-wrap {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #287BFF 0%, #0066ff 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.25) !important;
  transition: all 0.25s ease !important;
}
.cart-drawer-free-text-wrap {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  font-family: 'Inter', sans-serif !important;
}
.cart-drawer-free-pct {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #287BFF !important;
  background: #ffffff !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  border: 1px solid #bfdbfe !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.cart-drawer-free-bar-track {
  width: 100% !important;
  height: 5px !important;
  background: rgba(40, 123, 255, 0.12) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  margin-top: 8px !important;
}
.cart-drawer-free-bar-fill {
  height: 100% !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg, #287BFF 0%, #3b82f6 100%) !important;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Free Delivery Qualified State */
.cart-drawer-free-delivery.is-qualified {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border-color: #bbf7d0 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08) !important;
}
.cart-drawer-free-delivery.is-qualified .cart-drawer-free-icon-wrap {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3) !important;
}
.cart-drawer-free-delivery.is-qualified .cart-drawer-free-pct {
  color: #15803d !important;
  border-color: #bbf7d0 !important;
}
.cart-drawer-free-delivery.is-qualified .cart-drawer-free-bar-fill {
  background: linear-gradient(90deg, #10b981 0%, #22c55e 100%) !important;
}

/* Free Delivery Error State */
.cart-drawer-free-delivery.is-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
  border-color: #fecaca !important;
}
.cart-drawer-free-delivery.is-error .cart-drawer-free-icon-wrap {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3) !important;
}

/* ── PRODUCT SHARE BUTTON (Matching wishlist button layout) ── */
.product-share-btn,
.card-share-btn {
  position: absolute !important;
  top: 56px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  color: #287BFF !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}

.product-share-btn i,
.card-share-btn i {
  font-size: 14px !important;
  color: #287BFF !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.product-share-btn:hover,
.card-share-btn:hover {
  transform: scale(1.1) !important;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 4px 14px rgba(40, 123, 255, 0.22) !important;
  color: #1A68E8 !important;
}

.product-share-btn:hover i,
.card-share-btn:hover i {
  transform: scale(1.08) !important;
}

.product-share-btn:active,
.card-share-btn:active {
  transform: scale(0.94) !important;
}

/* Secondary Action Share Button on Product Detail */
#detailShareBtn:hover {
  color: #287BFF !important;
}
#detailShareBtn:hover i {
  transform: scale(1.15) !important;
  transition: transform 0.2s ease !important;
}

/* ── PRODUCT SHARE MODAL (DESKTOP FALLBACK) ── */
.kw-share-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-share-modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
}

.kw-share-modal-box {
  background: #ffffff;
  border-radius: 22px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  text-align: left;
}

.kw-share-modal-overlay.open .kw-share-modal-box {
  transform: scale(1) translateY(0);
}

.kw-share-modal-header {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.kw-share-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kw-share-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kw-share-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.kw-share-modal-body {
  padding: 18px 20px 22px;
}

.kw-share-product-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 18px;
}

.kw-share-product-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px;
  flex-shrink: 0;
}

.kw-share-product-info {
  flex: 1;
  min-width: 0;
}

.kw-share-product-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.kw-share-product-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #287BFF;
}

.kw-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.kw-share-channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
}

.kw-share-channel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.kw-share-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.kw-share-channel-btn:hover .kw-share-channel-icon {
  transform: scale(1.1);
}

.kw-share-channel-btn.whatsapp .kw-share-channel-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.kw-share-channel-btn.facebook .kw-share-channel-icon {
  background: linear-gradient(135deg, #1877F2 0%, #0b5ed7 100%);
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.3);
}

.kw-share-channel-btn.telegram .kw-share-channel-icon {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.3);
}

.kw-share-channel-btn.email .kw-share-channel-icon {
  background: linear-gradient(135deg, #287BFF 0%, #0284c7 100%);
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.3);
}

.kw-share-copy-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 12px;
  gap: 8px;
  transition: border-color 0.2s;
}

.kw-share-copy-box:focus-within {
  border-color: #287BFF;
}

.kw-share-copy-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #475569;
  outline: none;
  font-family: monospace;
  min-width: 0;
}

.kw-share-copy-btn {
  background: #287BFF;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.kw-share-copy-btn:hover {
  background: #1A68E8;
  transform: translateY(-1px);
}

.kw-share-copy-btn.copied {
  background: #16a34a !important;
}

/* Ensure Delivery Charge is only visible inside the Checkout / Complete Your Order Modal */
#cartDeliveryRow,
.cart-delivery-row,
.cart-drawer-delivery-row {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   MASTER LARGE LAPTOP & DESKTOP RESPONSIVE BREAKPOINT (>= 1440px, e.g. 1920x1080)
   Optimizes container utilization, hero proportions, spacing and alignment
   ══════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1440px) {
  /* 1. Master fluid containers — centered with balanced, natural gutters */
  .container,
  .featured-container,
  .brands-container,
  .latest-container,
  .blog-container,
  .shop-container,
  .cart-container,
  .checkout-container,
  .kits-container,
  .product-detail-container {
    width: min(94%, 1680px) !important;
    max-width: 1680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* 2. Header & Search Bar */
  .header-main {
    gap: 32px !important;
    padding: 12px 0 !important;
  }

  .search-wrap {
    max-width: 620px !important;
  }

  /* 3. Navigation bar: single line, aligned with container */
  .nav-inner {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  /* 4. Hero Section: maintain natural proportions and consistent gaps */
  .hero-section {
    margin-top: 24px !important;
    margin-bottom: 28px !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 24px !important;
    align-items: stretch !important;
  }

  .hero-grid.hero-grid-full,
  .hero-grid.no-side-banners,
  .hero-grid[data-side-count="0"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .hero-grid.hero-grid-full .hero-image-card,
  .hero-grid.no-side-banners .hero-image-card,
  .hero-grid[data-side-count="0"] .hero-image-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-grid.hero-grid-full .hero-side-banners,
  .hero-grid.no-side-banners .hero-side-banners,
  .hero-grid[data-side-count="0"] .hero-side-banners {
    display: none !important;
  }
  .hero-grid[data-side-count="1"] {
    grid-template-columns: 1fr 340px !important;
  }
  .hero-grid[data-side-count="1"] .hero-side-banners,
  .hero-side-banners.single-side-banner {
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
  }
  .hero-grid[data-side-count="1"] .hero-side-banners .side-banner-card,
  .hero-side-banners.single-side-banner .side-banner-card {
    height: 100% !important;
    flex: 1 1 100% !important;
    min-height: 100% !important;
    padding: 24px 22px !important;
  }

  .hero-image-card {
    height: 100% !important;
    min-height: 380px !important;
    width: 100% !important;
  }

  .hero-side-banners,
  .hero-side-banners.has-side-carousel {
    height: 100% !important;
    min-height: 380px !important;
  }

  .hero-slide-inner {
    padding: 32px 36px !important;
    gap: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .hero-overlay-content {
    flex: 0 1 54% !important;
    max-width: 54% !important;
  }

  .hero-slide-image {
    position: absolute !important;
    right: 32px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(220px, 38%, 340px) !important;
    height: 270px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 4 !important;
  }

  .hero-slide-image img {
    max-width: 100% !important;
    max-height: 260px !important;
    object-fit: contain !important;
    transform-origin: center center !important;
    transform: scale(var(--prod-scale, 1)) !important;
  }

  .hero-slide:hover .hero-slide-image img {
    transform: scale(calc(var(--prod-scale, 1) * 1.05)) !important;
  }

  .side-banner-card {
    padding: 16px 22px !important;
  }

  .side-banner-image {
    width: 120px !important;
    height: 120px !important;
    flex-shrink: 0 !important;
  }

  /* 5. Features Strip: 4 items in 1 row aligned with hero container */
  .features-wrapper {
    margin-top: 20px !important;
    margin-bottom: 24px !important;
  }

  .features {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    width: 100% !important;
  }

  .features article {
    padding: 18px 22px !important;
    gap: 16px !important;
  }

  /* 6. Categories Section: aligned with container edges */
  .categories-grid-container {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px 16px !important;
    width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE PRODUCT CARD & CATEGORY CARD COLUMNS SYSTEM
   Maintains consistent visual card dimensions across all screen sizes
   ══════════════════════════════════════════════════════════════════ */

/* Standard / Smaller / Medium Laptops (1281px - 1649px, e.g. 1366x768, 1440x900, 1536x864, 1600x900)
   → Strictly 5 product cards per row, 6 category cards per row */
@media screen and (min-width: 1281px) and (max-width: 1649px) {
  .sp-track > .product-card {
    flex: 0 0 calc((100% - 16px * 4) / 5) !important;
    min-width: calc((100% - 16px * 4) / 5) !important;
    max-width: calc((100% - 16px * 4) / 5) !important;
    width: calc((100% - 16px * 4) / 5) !important;
  }

  .latest-grid,
  .latest-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .categories-grid-container {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px 16px !important;
  }
}

/* Medium / Large Laptops & Large Desktops (>= 1650px, e.g. 1680x1050, 1920x1080, 1920x1200)
   → 6 product cards per row (maintaining original ~243px - 260px card size)
   → 7 category cards per row (maintaining original ~206px - 220px card size) */
@media screen and (min-width: 1650px) {
  .sp-track > .product-card {
    flex: 0 0 calc((100% - 16px * 5) / 6) !important;
    min-width: calc((100% - 16px * 5) / 6) !important;
    max-width: calc((100% - 16px * 5) / 6) !important;
    width: calc((100% - 16px * 5) / 6) !important;
  }

  .latest-grid,
  .latest-product-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .categories-grid-container {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 18px 14px !important;
    width: 100% !important;
  }

  .category-card-box {
    max-width: 220px !important;
    margin-inline: auto !important;
  }
}

/* Larger Screens (>= 2560px, e.g. 2560x1440, 2560x1600, 3840x2160)
   → Maintain strict maximum card dimensions; cards NEVER stretch */
@media screen and (min-width: 2560px) {
  .sp-track > .product-card {
    max-width: 280px !important;
  }

  .latest-product-card,
  .product-card {
    max-width: 280px !important;
  }

  .category-card-box {
    max-width: 220px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SHOP ALL / ALL PRODUCTS PAGE RESPONSIVE PRODUCT GRID
   Standard / Medium Laptops: Sidebar + 4 cards
   Large Desktops (1920x1080, 1920x1200): Sidebar + 5 cards
   Ultra-wide Screens: Capped max-width, no card stretching
   ══════════════════════════════════════════════════════════════════ */
.shop-page-layout .shop-product-grid,
.shop-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

@media screen and (min-width: 1750px) {
  .shop-page-layout .shop-product-grid,
  .shop-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media screen and (min-width: 2560px) {
  .shop-page-layout .shop-product-grid .product-card,
  .shop-product-grid .product-card {
    max-width: 280px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   LARGE DESKTOP HERO SLIDER (>= 1900px, e.g. 1920x1080, 1920x1200, 2560x1440)
   Increase hero slider & right promotional cards height to 420px
   ══════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1900px) {
  .hero-image-card,
  #heroSlideshow {
    height: 100% !important;
    min-height: 420px !important;
  }

  .hero-side-banners,
  .hero-side-banners.has-side-carousel {
    height: 100% !important;
    min-height: 420px !important;
  }

  .hero-grid[data-side-count="1"] .hero-side-banners,
  .hero-side-banners.single-side-banner {
    height: 100% !important;
    min-height: 420px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   PROFESSIONAL HERO SLIDER VISUAL CANVAS & INTERACTIVE EDITOR
   ══════════════════════════════════════════════════════════════════ */
.hero-slider-editor {
  position: relative;
  width: 100%;
}

.hero-slider-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 380px;
  min-height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  background: #f1f5f9;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  transition: max-width 0.3s ease;
}

.hero-slider-canvas-wrap.preview-desktop { max-width: 100%; }
.hero-slider-canvas-wrap.preview-laptop  { max-width: 1024px; }
.hero-slider-canvas-wrap.preview-tablet  { max-width: 768px; }
.hero-slider-canvas-wrap.preview-mobile  { max-width: 420px; height: auto; max-height: none; aspect-ratio: var(--canvas-aspect-ratio, 16 / 7); }

.hero-slider-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider-canvas .kw-prev-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.1s ease;
}

.hero-slider-canvas .kw-prev-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  pointer-events: none;
  z-index: 2;
}

.kw-canvas-safe-area {
  display: none;
  position: absolute;
  inset: 5%;
  border: 1.5px dashed rgba(40, 123, 255, 0.5);
  border-radius: 8px;
  pointer-events: none;
  z-index: 12;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.03);
}

.kw-canvas-safe-area::before {
  content: 'SAFE AREA';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 9.5px;
  font-weight: 800;
  color: #287BFF;
  letter-spacing: 0.8px;
  opacity: 0.7;
}

.hero-slider-canvas.show-safe-area .kw-canvas-safe-area {
  display: block;
}

.kw-guide-v {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  border-left: 1.5px dashed #287BFF;
  pointer-events: none;
  z-index: 15;
}

.kw-guide-h {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  border-top: 1.5px dashed #287BFF;
  pointer-events: none;
  z-index: 15;
}

/* Draggable Foreground Image Wrap */
.kw-canvas-fg-item {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 20;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  border: 1.5px dashed transparent;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.kw-canvas-fg-item:hover {
  border-color: rgba(40, 123, 255, 0.5);
  background: rgba(40, 123, 255, 0.03);
}

.kw-canvas-fg-item.is-selected {
  border-color: #287BFF !important;
  background: rgba(40, 123, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(40, 123, 255, 0.3);
}

.kw-canvas-fg-item:active {
  cursor: grabbing;
}

.kw-canvas-fg-item.is-locked {
  cursor: not-allowed !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.kw-canvas-fg-item.is-empty {
  display: none !important;
}

.kw-resize-handle {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 2px solid #287BFF;
  border-radius: 50%;
  z-index: 25;
  display: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  touch-action: none;
}

.kw-canvas-fg-item.is-selected:not(.is-locked) .kw-resize-handle {
  display: block;
}

.kw-handle-tl { top: -6px; left: -6px; cursor: nwse-resize; }
.kw-handle-tr { top: -6px; right: -6px; cursor: nesw-resize; }
.kw-handle-bl { bottom: -6px; left: -6px; cursor: nesw-resize; }
.kw-handle-br { bottom: -6px; right: -6px; cursor: nwse-resize; }

/* Compact Selected Object Toolbar */
.kw-selected-obj-toolbar {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 3px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 6px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 35;
  white-space: nowrap;
}

.kw-canvas-fg-item.is-selected .kw-selected-obj-toolbar {
  display: flex;
}

.kw-selected-obj-toolbar button {
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.kw-selected-obj-toolbar button:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.kw-selected-obj-toolbar button.btn-danger:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Background Direct Edit Mode */
.kw-bg-editing-active {
  cursor: grab !important;
}

.kw-bg-editing-active:active {
  cursor: grabbing !important;
}

.kw-bg-editing-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-slider-section {
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider-section:hover {
  border-color: #cbd5e1;
}

/* Hero Auto Mode Image Size Controls */
.kw-auto-hero-size-control {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color 0.2s ease;
}
.kw-auto-hero-size-control:hover {
  border-color: #94a3b8;
}
.kw-scale-btn {
  user-select: none;
  touch-action: manipulation;
}
.kw-scale-btn:hover {
  background: #e2e8f0 !important;
  color: #287BFF !important;
}
.kw-scale-btn:active {
  transform: scale(0.92);
}

/* ============================================================
   KIWISTRONICS — MASTER PROFESSIONAL PRODUCT CARD DESIGN
   ============================================================ */

/* 1. GRID: All cards stretch to equal height in each row */
.product-grid,
.shop-product-grid,
.latest-product-grid,
.product-grid-shop,
.category-products-grid,
.other-products-grid,
.products-grid,
.featured-grid,
.show-products-grid {
  align-items: stretch !important;
}

/* 2. CARD: Full-height flex column with modern rounded corners */
.product-card,
.latest-product-card,
.shop-card,
.pc {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 410px !important;
  background: #ffffff !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease !important;
}

.product-card:hover,
.latest-product-card:hover,
.shop-card:hover,
.pc:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px -4px rgba(40, 123, 255, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(40, 123, 255, 0.28) !important;
}

/* 3. IMAGE BOX: 220px Studio Showcase with Full Fill Pure White Backdrop */
.product-image-box,
.product-image-wrapper,
.latest-product-image,
.product-img-wrapper,
.card-img-wrap,
.product-img,
.shop-card-img-wrap {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  width: 100% !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 16px 16px 0 0 !important;
  box-sizing: border-box !important;
}

/* 4. IMAGE: Centered Contain Filling Box */
.product-card .product-image-box img,
.product-card .product-image-wrapper img,
.latest-product-card .latest-product-image img,
.shop-card .shop-card-img-wrap img,
.product-image-box img,
.product-image-wrapper img,
.product-image,
.primary-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
  display: block !important;
  margin: 0 !important;
}

.product-card:hover .product-image,
.product-card:hover .primary-img,
.product-card:hover .product-image-box img,
.product-card:hover .product-image-wrapper img,
.latest-product-card:hover .latest-product-image img,
.latest-product-card:hover img,
.shop-card:hover .shop-card-img-wrap img {
  transform: scale(1.07) !important;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12)) !important;
}

/* 5. CONTENT: flex column, fills remaining space */
.product-card .product-info,
.product-card .product-content,
.latest-product-card .latest-product-content,
.shop-card .pc-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 16px 18px 18px 18px !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
}

/* 6. CATEGORY: Clean uppercase badge text */
.product-card .product-category,
.latest-product-card .product-category,
.shop-card .product-category {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #287BFF !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin: 0 0 6px 0 !important;
  flex-shrink: 0 !important;
}

/* 7. TITLE: Exactly 2 lines reserved */
.product-card .product-title,
.product-card .product-name,
.product-card .product-info h3,
.product-card .product-content h3,
.latest-product-card .product-title,
.latest-product-card .latest-product-content h3 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.8em !important;
  max-height: 2.8em !important;
  height: 2.8em !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease !important;
}

.product-card:hover .product-title,
.product-card:hover .product-name a,
.product-card .product-title a:hover {
  color: #287BFF !important;
}

/* 8. RATING */
.product-card .product-rating,
.latest-product-card .product-rating {
  flex-shrink: 0 !important;
  margin: 0 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* 9. SPACER */
.product-card .product-info-spacer,
.latest-product-card .product-info-spacer {
  flex: 1 1 auto !important;
  min-height: 4px !important;
}

/* 10. BOTTOM ROW: Dedicated Stacked Price & Full Width Action Button */
.product-card .product-card-bottom,
.product-card .product-bottom,
.product-card .product-card-footer,
.latest-product-card .product-card-bottom,
.latest-product-card .latest-product-bottom {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid #f1f5f9 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 11. PRICE ROW: Current price + Old price + GST Chip */
.product-card .price-main-row,
.latest-product-card .price-main-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.product-card .current-price,
.latest-product-card .current-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.3px !important;
  line-height: 1.25 !important;
}

.product-card .old-price,
.latest-product-card .old-price {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  line-height: 1.2 !important;
}

.product-card .price-gst-badge,
.latest-product-card .price-gst-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  line-height: 1.2 !important;
}

/* 12. ACTION ROW & BUTTON */
.product-card .kw-action-row,
.latest-product-card .kw-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

.product-card .product-card-action,
.product-card .product-cart-action,
.latest-product-card .product-card-action {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.product-card .product-cart-btn,
.product-card .cart-btn,
.latest-product-card .product-cart-btn,
.latest-product-card .cart-btn,
.latest-product-card .add-cart-btn {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(135deg, #287BFF 0%, #1A68E8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(40, 123, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.product-card .product-cart-btn:hover,
.product-card .cart-btn:hover,
.latest-product-card .add-cart-btn:hover,
.latest-product-card .product-cart-btn:hover {
  background: #ea580c !important;
  background-color: #ea580c !important;
  background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4) !important;
}

.product-card .product-cart-btn:hover i,
.latest-product-card .product-cart-btn:hover i {
  transform: scale(1.15) rotate(-5deg) !important;
}

.product-card .product-cart-btn:active,
.latest-product-card .product-cart-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* 14. WISHLIST: Top-right fixed */
.product-card .product-wishlist,
.product-card .wishlist-btn,
.latest-product-card .product-wishlist,
.latest-product-card .wishlist-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card .product-wishlist:hover,
.latest-product-card .product-wishlist:hover {
  transform: scale(1.1) !important;
  background: #ffffff !important;
  border-color: #287BFF !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.18) !important;
}

/* 15. SHARE: Below wishlist, same right offset */
.product-card .product-share-btn,
.latest-product-card .product-share-btn {
  position: absolute !important;
  top: 52px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  color: #287BFF !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card .product-share-btn:hover,
.latest-product-card .product-share-btn:hover {
  transform: scale(1.1) !important;
  background: #ffffff !important;
  border-color: #287BFF !important;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.22) !important;
  color: #003ca8 !important;
}

/* 16. BADGE: Top-left */
.product-card .product-badge,
.product-card .out-of-stock-badge,
.latest-product-card .product-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 6 !important;
}

/* Grid children: force height inheritance */
.product-grid > .product-card,
.shop-product-grid > .product-card,
.latest-product-grid > .product-card,
.product-grid > article,
.shop-product-grid > article,
.latest-product-grid > article {
  min-height: 410px !important;
  height: 100% !important;
}

/* ── FEATURED PRODUCTS: Desktop Column Counts (1280–1920) ── */

/* Large desktop 1440+: 5 cards */
@media screen and (min-width: 1440px) {
  .featured-products .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .featured-products .product-image-box,
  .featured-products .product-image-wrapper {
    height: 200px !important;
    max-height: 200px !important;
  }
}

/* Laptop 1024–1439: 4 cards */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .featured-products .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .featured-products .product-image-box,
  .featured-products .product-image-wrapper {
    height: 185px !important;
    max-height: 185px !important;
  }
  .featured-products .product-cart-btn,
  .featured-products .cart-btn {
    padding: 0 10px !important;
    font-size: 11.5px !important;
  }
}

/* Latest products: 5 cols at desktop */
@media screen and (min-width: 1024px) {
  .latest-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
}
@media screen and (min-width: 1440px) {
  .latest-product-grid {
    gap: 18px !important;
  }
}

/* ── RESPONSIVE: Narrow card adaptations ── */

@media screen and (max-width: 768px) {
  .product-card .product-card-bottom,
  .latest-product-card .product-card-bottom {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding-top: 8px !important;
  }
  .product-card .product-price-section,
  .latest-product-card .product-price-section {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .product-card .product-card-action,
  .latest-product-card .product-card-action {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
  .product-card .product-cart-btn,
  .product-card .cart-btn,
  .product-card .add-cart-btn,
  .latest-product-card .product-cart-btn,
  .latest-product-card .cart-btn,
  .latest-product-card .add-cart-btn,
  .product-cart-btn,
  .cart-btn:not(.desktop-nav-btn),
  .add-cart-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    font-size: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 8px rgba(40, 123, 255, 0.3) !important;
    background: #287BFF !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    position: static !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .cart-btn-label {
    display: none !important;
  }
  .product-card .product-cart-btn i,
  .product-card .cart-btn i,
  .product-card .add-cart-btn i,
  .latest-product-card .product-cart-btn i,
  .latest-product-card .cart-btn i,
  .latest-product-card .add-cart-btn i,
  .product-cart-btn i,
  .cart-btn i,
  .add-cart-btn i {
    font-size: 15px !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  .product-card .current-price,
  .latest-product-card .current-price {
    font-size: 13.5px !important;
  }
  .product-card .product-image-box,
  .product-card .product-image-wrapper,
  .latest-product-card .product-image-box {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
  }
  .product-card .product-title,
  .product-card .product-name,
  .latest-product-card .product-title {
    font-size: 13px !important;
    min-height: calc(13px * 1.35 * 2) !important;
    max-height: calc(13px * 1.35 * 2) !important;
    height: calc(13px * 1.35 * 2) !important;
  }
}

/* sp-track (Latest Products slider on index.php) */
.sp-track > .product-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-height: 360px !important;
}

/* ============================================================
   PRODUCT CARD FOOTER: SIDE-BY-SIDE (PRICE ON LEFT, ADD TO CART ON RIGHT)
   ============================================================
   Matches standard catalog layout:
     ┌──────────────────────────────────────────┐
     │  ₹1,499  ₹1,999       [ 🛒 Add to Cart ] │
     │  Incl. GST 18%                           │
     └──────────────────────────────────────────┘
   ============================================================ */

/* Card bottom container pinned to bottom */
.product-card .product-card-bottom,
.product-card .product-bottom,
.product-card .product-card-footer,
.latest-product-card .product-card-bottom,
.latest-product-card .latest-product-bottom,
.product-card-bottom,
.product-card-footer,
.product-bottom,
.latest-product-bottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf2f7 !important;
  box-sizing: border-box !important;
  grid-template-columns: unset !important;
  grid-template-areas: unset !important;
}

/* Price & Tax block (Stacked vertically on left) */
.product-card .product-price-section,
.product-card .product-price-area,
.product-card .product-price,
.latest-product-card .product-price-section,
.latest-product-card .product-price,
.product-price-section,
.product-price-area,
.product-price,
.latest-product-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Price row: current price + MRP side by side */
.product-card .price-main-row,
.latest-product-card .price-main-row,
.product-card .product-card-footer .price-main-row,
.price-main-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  min-height: 20px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Selling price */
.product-card .current-price,
.latest-product-card .current-price,
.product-card .price-main-row .current-price,
.current-price {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: -0.3px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1.2 !important;
}

/* MRP with strikethrough */
.product-card .old-price,
.latest-product-card .old-price,
.product-card .price-main-row .old-price,
.old-price {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Fallback if legacy wrapper kw-action-row is in DOM */
.product-card .kw-action-row,
.latest-product-card .kw-action-row,
.kw-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* GST badge container */
.product-card .kw-action-row .price-gst-row,
.latest-product-card .kw-action-row .price-gst-row,
.product-card .price-gst-row,
.latest-product-card .price-gst-row,
.price-gst-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* GST badge pill */
.product-card .price-gst-badge,
.latest-product-card .price-gst-badge,
.price-gst-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.1px !important;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.05) !important;
}

/* Action Container (Right Side) */
.product-card .kw-action-row .product-card-action,
.product-card .kw-action-row .product-cart-action,
.latest-product-card .kw-action-row .product-card-action,
.product-card .product-cart-action,
.product-card .product-card-action,
.latest-product-card .product-card-action,
.latest-product-card .product-cart-action,
.product-card-action,
.product-cart-action {
  display: flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

/* Add to Cart button (Compact, on right) */
.product-card .product-cart-btn,
.product-card .cart-btn,
.product-card .add-cart-btn,
.latest-product-card .product-cart-btn,
.latest-product-card .cart-btn,
.latest-product-card .add-cart-btn,
.product-cart-btn,
.cart-btn,
.add-cart-btn {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 13px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #287BFF !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.1px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(40, 123, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  position: static !important;
  margin: 0 !important;
}

.product-card .product-cart-btn i,
.product-card .cart-btn i,
.latest-product-card .product-cart-btn i,
.latest-product-card .cart-btn i,
.product-cart-btn i,
.cart-btn i {
  font-size: 12px !important;
  color: #ffffff !important;
  line-height: 1 !important;
  pointer-events: none !important;
  transition: transform 0.2s ease !important;
}

/* Hover & Active Effects */
.product-card .product-cart-btn:hover,
.product-card .cart-btn:hover,
.product-card .add-cart-btn:hover,
.latest-product-card .add-cart-btn:hover,
.latest-product-card .product-cart-btn:hover,
.product-cart-btn:hover,
.cart-btn:hover,
.add-cart-btn:hover {
  background: #ea580c !important;
  background-color: #ea580c !important;
  background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4) !important;
}

.product-card .product-cart-btn:hover i,
.latest-product-card .product-cart-btn:hover i,
.product-cart-btn:hover i {
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.product-card .product-cart-btn:active,
.product-card .cart-btn:active,
.latest-product-card .product-cart-btn:active,
.product-cart-btn:active,
.cart-btn:active,
.add-cart-btn:active {
  transform: translateY(0) scale(0.98) !important;
  background: #c2410c !important;
  background-color: #c2410c !important;
  background-image: none !important;
  box-shadow: 0 2px 5px rgba(194, 65, 12, 0.35) !important;
}

/* Out-of-Stock Notify Me Button State (Warm Amber Professional Waiting Style) */
.product-cart-btn.notify-me-btn,
.cart-btn.notify-me-btn,
.add-cart-btn.notify-me-btn,
.notify-me-btn {
  background: #fffbeb !important;
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border: 1.5px solid #fcd34d !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.12) !important;
}

.product-cart-btn.notify-me-btn i,
.cart-btn.notify-me-btn i,
.add-cart-btn.notify-me-btn i,
.notify-me-btn i {
  color: #d97706 !important;
}

.product-cart-btn.notify-me-btn:hover,
.cart-btn.notify-me-btn:hover,
.add-cart-btn.notify-me-btn:hover,
.notify-me-btn:hover {
  background: #fef3c7 !important;
  background-color: #fef3c7 !important;
  color: #78350f !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2) !important;
  transform: translateY(-1px) !important;
}

.product-cart-btn.notify-me-btn:hover i,
.cart-btn.notify-me-btn:hover i,
.add-cart-btn.notify-me-btn:hover i,
.notify-me-btn:hover i {
  color: #b45309 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transform: scale(1.15) rotate(-6deg) !important;
}

.product-cart-btn.notification-set-btn:hover i,
.cart-btn.notification-set-btn:hover i,
.add-cart-btn.notification-set-btn:hover i,
.notification-set-btn:hover i {
  color: #16a34a !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.product-cart-btn.notification-set-btn,
.cart-btn.notification-set-btn,
.add-cart-btn.notification-set-btn,
.notification-set-btn {
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15) !important;
  cursor: default !important;
}

.product-cart-btn.notification-set-btn i,
.cart-btn.notification-set-btn i,
.add-cart-btn.notification-set-btn i,
.notification-set-btn i {
  color: #16a34a !important;
}

/* Mobile & Small Screen Tweaks: Professional Shop Icon-Only Button */
@media screen and (max-width: 768px) {
  .product-card .product-card-footer,
  .product-card .product-card-bottom,
  .product-card .product-bottom,
  .latest-product-card .product-card-bottom,
  .latest-product-card .latest-product-bottom {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    padding-top: 8px !important;
    margin-top: auto !important;
    box-sizing: border-box !important;
  }

  .product-card .product-price-section,
  .latest-product-card .product-price-section {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 44px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    overflow: hidden !important;
  }

  .product-card .kw-action-row .product-card-action,
  .product-card .kw-action-row .product-cart-action,
  .product-card .product-cart-action,
  .product-card .product-card-action,
  .latest-product-card .product-card-action,
  .latest-product-card .product-cart-action {
    display: flex !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
  }

  .product-card .product-cart-btn,
  .product-card .cart-btn,
  .product-card .add-cart-btn,
  .latest-product-card .product-cart-btn,
  .latest-product-card .cart-btn,
  .latest-product-card .add-cart-btn,
  .product-cart-btn,
  .cart-btn:not(.desktop-nav-btn) {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    gap: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 8px rgba(40, 123, 255, 0.3) !important;
    background: #287BFF !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    position: static !important;
    margin: 0 !important;
  }

  .cart-btn-label {
    display: none !important;
  }

  .product-card .product-cart-btn i,
  .product-card .cart-btn i,
  .product-card .add-cart-btn i,
  .latest-product-card .product-cart-btn i,
  .latest-product-card .cart-btn i,
  .latest-product-card .add-cart-btn i,
  .product-cart-btn i,
  .cart-btn i {
    font-size: 15px !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .product-card .product-cart-btn:active,
  .product-card .cart-btn:active,
  .latest-product-card .product-cart-btn:active {
    transform: scale(0.92) !important;
  }

  .product-card .current-price,
  .latest-product-card .current-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .product-card .price-gst-badge,
  .latest-product-card .price-gst-badge {
    font-size: 9.5px !important;
    padding: 1.5px 5px !important;
    white-space: nowrap !important;
  }

  .product-cart-btn.notify-me-btn,
  .cart-btn.notify-me-btn {
    background: #fef2f2 !important;
    border: 1.5px solid #fecaca !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15) !important;
  }
  .product-cart-btn.notify-me-btn i,
  .cart-btn.notify-me-btn i {
    color: #ef4444 !important;
    font-size: 14px !important;
  }
  .product-cart-btn.notification-set-btn,
  .cart-btn.notification-set-btn {
    background: #f0fdf4 !important;
    border: 1.5px solid #86efac !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15) !important;
  }
  .product-cart-btn.notification-set-btn i,
  .cart-btn.notification-set-btn i {
    color: #16a34a !important;
    font-size: 14px !important;
  }
}

@media screen and (max-width: 480px) {
  .product-card .product-cart-btn,
  .product-card .cart-btn,
  .product-card .add-cart-btn,
  .latest-product-card .product-cart-btn,
  .latest-product-card .cart-btn,
  .latest-product-card .add-cart-btn,
  .product-cart-btn,
  .cart-btn:not(.desktop-nav-btn),
  .add-cart-btn {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    font-size: 0 !important;
    flex: 0 0 34px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .cart-btn-label {
    display: none !important;
  }
  .product-card .product-cart-btn i,
  .product-card .cart-btn i,
  .product-card .add-cart-btn i,
  .latest-product-card .product-cart-btn i,
  .latest-product-card .cart-btn i,
  .latest-product-card .add-cart-btn i,
  .product-cart-btn i,
  .cart-btn i,
  .add-cart-btn i {
    font-size: 14px !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
}

/* Null out old unused grid-area assignments */
.product-card .product-price-section,
.product-card .product-price-area,
.latest-product-card .product-price-section {
  grid-area: unset !important;
}
.product-card .price-gst-row,
.latest-product-card .price-gst-row {
  grid-area: unset !important;
}
.product-card .product-card-action,
.product-card .product-cart-action,
.latest-product-card .product-card-action {
  grid-area: unset !important;
}

/* ══════════════════════════════════════════════════════════════════════
   LATEST PRODUCTS RESPONSIVE HORIZONTAL SLIDER (STRICT SINGLE ROW)
   ══════════════════════════════════════════════════════════════════════ */
.latest-sp-wrap {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
}

#latestProductsTrack,
#featuredProductsGrid,
.latest-sp-wrap .latest-product-grid,
.latest-sp-wrap .sp-track,
.featured-sp-wrap .sp-track,
.featured-products .sp-track,
.sp-wrap .sp-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: 16px !important;
  padding: 10px 4px 18px 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

#latestProductsTrack::-webkit-scrollbar,
#featuredProductsGrid::-webkit-scrollbar,
.latest-sp-wrap .latest-product-grid::-webkit-scrollbar,
.latest-sp-wrap .sp-track::-webkit-scrollbar,
.featured-sp-wrap .sp-track::-webkit-scrollbar,
.featured-products .sp-track::-webkit-scrollbar,
.sp-wrap .sp-track::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

#latestProductsTrack > .product-card,
#featuredProductsGrid > .product-card,
.latest-sp-wrap .sp-track > .product-card,
.latest-sp-wrap .latest-product-grid > .product-card,
.featured-sp-wrap .sp-track > .product-card,
.featured-products .sp-track > .product-card,
.sp-wrap .sp-track > .product-card {
  scroll-snap-align: start !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  height: 100% !important;
  min-height: 410px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

#latestProductsTrack > .product-card:not(:hover),
#featuredProductsGrid > .product-card:not(:hover),
.latest-sp-wrap .sp-track > .product-card:not(:hover),
.featured-sp-wrap .sp-track > .product-card:not(:hover),
.featured-products .sp-track > .product-card:not(:hover),
.sp-wrap .sp-track > .product-card:not(:hover) {
  transform: none !important;
}

#latestProductsTrack > .product-card:hover,
#featuredProductsGrid > .product-card:hover,
.latest-sp-wrap .sp-track > .product-card:hover,
.featured-sp-wrap .sp-track > .product-card:hover,
.featured-products .sp-track > .product-card:hover,
.sp-wrap .sp-track > .product-card:hover {
  transform: translateY(-3px) !important;
}

/* 1400px+ (Large desktop 1920x1080, 1536x864, 1440x900): All 6 cards fit in ONE normal row, NO arrows, NO scroll */
@media screen and (min-width: 1400px) {
  .latest-sp-wrap .sp-arrow,
  .featured-sp-wrap .sp-arrow,
  .sp-wrap .sp-arrow {
    display: none !important;
  }
  #latestProductsTrack,
  #featuredProductsGrid,
  .latest-sp-wrap .sp-track,
  .latest-sp-wrap .latest-product-grid,
  .featured-sp-wrap .sp-track,
  .featured-products .sp-track,
  .sp-wrap .sp-track {
    overflow-x: auto !important;
  }
}

/* >= 1600px (Ultra-wide 1080p/4K / large monitor): 6 cards visible */
@media screen and (min-width: 1600px) {
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 calc((100% - 16px * 5) / 6) !important;
    min-width: calc((100% - 16px * 5) / 6) !important;
    max-width: calc((100% - 16px * 5) / 6) !important;
    width: calc((100% - 16px * 5) / 6) !important;
  }
}

/* 1280px - 1599px (Standard Desktop & Laptop 1366x768, 1440x900, 1536x864): 5 cards visible */
@media screen and (min-width: 1280px) and (max-width: 1599px) {
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 calc((100% - 16px * 4) / 5) !important;
    min-width: calc((100% - 16px * 4) / 5) !important;
    max-width: calc((100% - 16px * 4) / 5) !important;
    width: calc((100% - 16px * 4) / 5) !important;
  }
}

/* 1024px - 1279px (Small Desktop / iPad Pro landscape): 4 cards visible */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 calc((100% - 16px * 3) / 4) !important;
    min-width: calc((100% - 16px * 3) / 4) !important;
    max-width: calc((100% - 16px * 3) / 4) !important;
    width: calc((100% - 16px * 3) / 4) !important;
  }
}

/* 768px - 1023px (Tablet Portrait / iPad): 3 cards visible */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #latestProductsTrack,
  #featuredProductsGrid,
  .latest-sp-wrap .latest-product-grid,
  .latest-sp-wrap .sp-track,
  .featured-sp-wrap .sp-track,
  .featured-products .sp-track,
  .sp-wrap .sp-track {
    gap: 12px !important;
  }
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 calc((100% - 12px * 2) / 3) !important;
    min-width: calc((100% - 12px * 2) / 3) !important;
    max-width: calc((100% - 12px * 2) / 3) !important;
    width: calc((100% - 12px * 2) / 3) !important;
  }
}

/* 480px - 767px (Large Mobile / Phablet): 2 cards visible */
@media screen and (min-width: 480px) and (max-width: 767px) {
  #latestProductsTrack,
  #featuredProductsGrid,
  .latest-sp-wrap .latest-product-grid,
  .latest-sp-wrap .sp-track,
  .featured-sp-wrap .sp-track,
  .featured-products .sp-track,
  .sp-wrap .sp-track {
    gap: 10px !important;
    padding: 6px 2px 10px 2px !important;
  }
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
  }
}

/* <= 479px (Mobile portrait): 80% peek width with smooth touch swipe */
@media screen and (max-width: 479px) {
  #latestProductsTrack,
  #featuredProductsGrid,
  .latest-sp-wrap .latest-product-grid,
  .latest-sp-wrap .sp-track,
  .featured-sp-wrap .sp-track,
  .featured-products .sp-track,
  .sp-wrap .sp-track {
    gap: 10px !important;
    padding: 6px 2px 10px 2px !important;
  }
  #latestProductsTrack > .product-card,
  #featuredProductsGrid > .product-card,
  .latest-sp-wrap .sp-track > .product-card,
  .latest-sp-wrap .latest-product-grid > .product-card,
  .featured-sp-wrap .sp-track > .product-card,
  .featured-products .sp-track > .product-card,
  .sp-wrap .sp-track > .product-card {
    flex: 0 0 82% !important;
    min-width: 82% !important;
    max-width: 82% !important;
    width: 82% !important;
  }
}

/* Navigation Arrow Controls for Latest Products */
.latest-sp-wrap .sp-arrow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* ══════════════════════════════════════════════════════
   GLOBAL DEFENSIVE FOOTER BOTTOM BAR & PARENT BADGE STYLES
   Ensures perfect alignment on iOS Safari, iPhone 15, Android,
   Tablets, and Desktops without overflow or SVG collapse
   ══════════════════════════════════════════════════════ */
.kw-footer-bottom-bar {
  width: 100% !important;
  box-sizing: border-box !important;
}

.kw-parent-box {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  flex: 0 0 32px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.kw-parent-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  display: block !important;
}

.kw-f-card {
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.kw-f-card svg {
  display: block !important;
  max-height: 14px !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
}

@media (max-width: 640px) {
  .kw-footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
    width: 100% !important;
  }
  .kw-f-parent-badge {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .kw-parent-brand-row {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .kw-parent-box {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex: 0 0 30px !important;
  }
  .kw-parent-box img {
    max-width: 22px !important;
    max-height: 22px !important;
  }
  .kw-parent-text-grp {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    line-height: 1.2 !important;
  }
  .kw-parent-subhead {
    font-size: 9px !important;
  }
  .kw-parent-link {
    font-size: 12.5px !important;
  }
  .kw-parent-divider-line {
    display: none !important;
  }
  .kw-parent-slogan-grp {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
  }
  .kw-parent-slogan-main {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
  }
  .kw-parent-slogan-sub {
    color: #94a3b8 !important;
    font-size: 11px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }
  .kw-f-bottom-pay {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .kw-f-cards-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  .kw-f-bottom-copy {
    order: 3 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #64748b !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-top: 4px !important;
  }
}
