@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #FF6B00;
  --primary-dark: #e05a00;
  --primary-light: #ff8c3a;
  --secondary: #1a1a2e;
  --dark: #111111;
  --dark-card: #1e1e2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --white: #ffffff;
  --success: #28a745;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HEADER (Clean White E-Commerce Header)
   =========================== */
.site-header {
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--gray-200);
}

body {
  padding-top: 142px;
}

/* 1. Top Announcement Bar */
.header-top-bar {
  background: #f8f9fa;
  border-bottom: 1px solid var(--gray-200);
  font-size: 11.5px;
  color: var(--gray-700);
  padding: 6px 0;
}
.header-top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-left, .header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-top-left span i, .header-top-right a i {
  color: var(--primary);
  margin-right: 4px;
}
.fa-whatsapp, .fa-brands.fa-whatsapp, i.fa-whatsapp {
  font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', sans-serif !important;
  font-weight: 400 !important;
  color: #25D366 !important;
  display: inline-block !important;
}
.header-top-right a {
  color: var(--gray-700);
  transition: var(--transition);
  text-decoration: none;
}
.header-top-right a:hover {
  color: #25D366;
}
.header-top-right a:hover i.fa-whatsapp {
  color: #128C7E !important;
}
.sep {
  color: var(--gray-300);
}

/* 2. Middle Header Bar */
.header-middle {
  padding: 12px 0;
  background: #ffffff;
}
.header-middle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .brand {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-text .brand span { color: var(--primary); }
.logo-text .tagline {
  font-size: 9px;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Central Search Bar */
.header-search {
  flex: 1;
  max-width: 520px;
}
.search-form {
  display: flex;
  align-items: center;
  background: #f1f3f5;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 3px 4px 3px 14px;
  transition: var(--transition);
}
.search-form:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255,107,0,0.15);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.search-icon {
  color: var(--gray-500);
  font-size: 14px;
}
.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--dark);
  background: transparent;
}
.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 24px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.search-btn:hover {
  background: var(--primary-dark);
}

/* User Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-800);
  text-decoration: none;
  transition: var(--transition);
}
.header-action-btn:hover {
  color: var(--primary);
}
.action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--dark);
  position: relative;
  transition: var(--transition);
}
.header-action-btn:hover .action-icon {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.action-text span {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
}
.action-text small {
  font-size: 10px;
  color: var(--gray-500);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* 3. Bottom Category Bar */
.header-bottom-nav {
  background: #ffffff;
  border-top: 1px solid #f1f3f5;
  border-bottom: 2px solid var(--primary);
}
.header-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-trigger-wrap {
  position: relative;
}
.mega-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.mega-trigger-btn:hover {
  background: var(--primary-dark);
}
.mega-trigger-btn .arrow-down {
  font-size: 11px;
  margin-left: 4px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  width: 1200px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--primary);
  padding: 18px 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}
.mega-trigger-wrap:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: start;
}
.mega-column {
  min-width: 0;
}
.mega-column h4 {
  font-size: 11px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255, 107, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: normal;
  line-height: 1.25;
  word-break: break-word;
}
.mega-column h4 i {
  color: var(--primary);
  font-size: 11px;
  width: 22px;
  height: 22px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mega-column ul li {
  margin-bottom: 2px;
}
.mega-column ul li a {
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.3;
}
.mega-column ul li a::before {
  content: '';
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mega-column ul li a:hover {
  color: var(--primary);
  font-weight: 700;
  transform: translateX(3px);
}
.mega-column ul li a:hover::before {
  background: var(--primary);
  width: 5px;
  height: 5px;
}

/* Quick Category Links */
.cat-quick-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.cat-quick-links a {
  color: var(--gray-800);
  font-size: 12.5px;
  font-weight: 700;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.cat-quick-links a i {
  color: var(--primary);
  font-size: 13px;
}
.cat-quick-links a:hover {
  color: var(--primary);
  background: rgba(255,107,0,0.04);
}

/* Promo links */
.nav-promos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-link {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.promo-link.hot {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.2);
}
.promo-link.hot:hover {
  background: var(--primary);
  color: white;
}
.promo-link.wa {
  background: rgba(37, 211, 102, 0.08);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}
.promo-link.wa:hover {
  background: #25D366;
  color: white;
}

/* Header Utilities */
.header-utils {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-util-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.header-util-item i {
  color: var(--primary);
  font-size: 16px;
}
.header-util-item:hover {
  color: var(--white);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  padding: 8px;
  cursor: pointer;
}

/* ===========================
   HERO SLIDER
   =========================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #0a0a0f;
}
.hero-slider {
  position: relative;
  height: 570px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  z-index: 1;
  width: 100%;
  background: #000;
}
.hero-slide > .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Yazı arkası koyu, sağ taraf görseli gösterir */
  background: linear-gradient(90deg,
    rgba(5,5,10,1.0)   0%,
    rgba(5,5,10,0.97)  20%,
    rgba(5,5,10,0.82)  40%,
    rgba(5,5,10,0.40)  65%,
    rgba(5,5,10,0.10)  85%,
    rgba(5,5,10,0.0)  100%
  );
  z-index: 1;
}
/* Ekstra: üst ve alt kenar karartma */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,5,10,0.4) 0%,
    rgba(5,5,10,0.0) 20%,
    rgba(5,5,10,0.0) 80%,
    rgba(5,5,10,0.5) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding-left: 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Heading */
.hero-content h1 {
  font-size: 50px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.hero-content h1 .accent {
  color: var(--primary);
  display: block;
}

/* Paragraph */
.hero-content p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 440px;
}

/* CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 15px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(255,107,0,0.4);
  border: 2px solid var(--primary);
}
.hero-cta:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255,107,0,0.3);
}
.hero-cta i { font-size: 16px; }

/* Slide Animations */
.hero-slide.active .hero-badge {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-slide.active h1 {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.hero-slide.active p {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
.hero-slide.active .hero-cta {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.slider-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255,107,0,0.4);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255,107,0,0.6);
  transform: scale(1.3);
}

/* Category Strip at bottom of hero */
.hero-category-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 70px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.category-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2px;
}
.cat-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  position: relative;
  height: 100%;
  text-decoration: none;
}
.cat-strip-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.cat-strip-item:last-child::after { display: none; }
.cat-strip-item:hover {
  background: rgba(255,107,0,0.12);
}
.cat-strip-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.cat-strip-item:hover .cat-strip-icon {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}
.cat-strip-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.cat-strip-text h4 {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-strip-text span {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-top: 1px;
}

/* ===========================
   PROMO BANNERS
   =========================== */
.promo-section { padding: 32px 0; }
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition);
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.promo-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.promo-card:hover .promo-card-bg { transform: scale(1.05); }
.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.15) 100%);
}
.promo-card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
.promo-card-content .label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.promo-card-content h3 {
  font-size: 17px;
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.promo-card-content p {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}
.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 800;
  transition: var(--transition);
}
.promo-btn:hover { background: var(--primary-dark); transform: translateX(4px); }

/* ===========================
   SECTION TITLES
   =========================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  position: relative;
  padding-left: 16px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 26px;
  background: var(--primary);
  border-radius: 2px;
}
.see-all {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.see-all:hover { color: var(--primary-dark); gap: 8px; }

/* ===========================
   PRODUCTS
   =========================== */
.products-section { padding: 10px 0 40px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.promo-bogo-banner {
  background: linear-gradient(135deg, #ff5500 0%, #ff2200 100%);
  color: white;
  font-size: 13.5px;
  font-weight: 900;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(255, 34, 0, 0.2);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,0,0.3);
}

/* Overlays & Badges */
.card-badge-left {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #c90000;
  color: white;
  font-size: 8.5px;
  font-weight: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(201,0,0,0.3);
  z-index: 3;
  padding: 2px;
}
.card-badge-right {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff0055 0%, #ff5500 100%);
  color: white;
  font-size: 8px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 10px;
  z-index: 3;
}

.product-img-wrap {
  padding: 16px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.product-img-wrap img {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* Free Shipping Bar Below Image */
.product-installment-bar {
  background: #ff6b00;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 6px 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
}

.product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.35;
  height: 35px;
  min-height: 35px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.stars { display: flex; gap: 1px; }
.stars i { font-size: 11px; color: #ffc107; }
.stars i.empty { color: var(--gray-300); }
.rating-val { font-size: 11px; font-weight: 800; color: var(--dark); margin-left: 2px; }
.rating-count { font-size: 10.5px; color: var(--gray-500); }

/* Bottom Locked Product Info */
.product-bottom-area {
  margin-top: auto;
  padding-top: 6px;
}

.discount-rate {
  display: none !important;
}

.price-current {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary);
}
.price-old {
  font-size: 12px;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-right: 6px;
}

.btn-add-cart-full {
  width: 100%;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  transition: all 0.25s ease;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-add-cart-full:hover {
  background: #ff6b00;
  color: #ffffff;
  border-color: #ff6b00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}
  font-size: 11.5px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.product-whatsapp:hover {
  background: #1eb857;
}

/* ===========================
   BRANDS
   =========================== */
.brands-section {
  padding: 32px 0;
  background: var(--gray-100);
  overflow: hidden;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll-brands 20s linear infinite;
  width: max-content;
}
.brands-section:hover .brands-track { animation-play-state: paused; }
.brand-item {
  background: white;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  min-width: 120px;
  text-align: center;
}
.brand-item:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
@keyframes scroll-brands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   FEATURES
   =========================== */
.features-bar {
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover { background: rgba(255,107,0,0.04); }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(255,107,0,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--primary); color: white; }
.feature-text h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.feature-text p { font-size: 12px; color: var(--gray-500); line-height: 1.4; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0d0d0d;
  color: #aaa;
  padding: 60px 0 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text .brand { color: white; font-size: 22px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin: 14px 0 20px;
  color: #94a3b8;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1;
  font-size: 16px;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-col ul li {
  margin-bottom: 10px;
  list-style: none !important;
}
.footer-col ul li a {
  color: #94a3b8;
  font-size: 13.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-col ul li a i { font-size: 11px; color: var(--primary); width: 12px; text-align: center; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #666;
}
.footer-contact-item i { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { line-height: 1.6; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-payments { display: flex; align-items: center; gap: 8px; }
.payment-icon {
  background: rgba(255,255,255,0.08);
  color: #888;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ===========================
   WHATSAPP FLOAT & ORDER BUTTONS
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
}
.whatsapp-bubble {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  text-align: center;
  animation: fadeInUp 0.4s ease;
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
}
.whatsapp-bubble.visible { display: block; }
.whatsapp-btn {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
  text-decoration: none;
}
.whatsapp-btn svg, .whatsapp-btn i {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
  animation: none;
  color: white;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 25px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}

.action-buttons-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.action-buttons-wrap .add-cart-btn {
  flex: 1;
  min-width: 160px;
}
.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  flex: 1;
  min-width: 180px;
}
.btn-whatsapp-order:hover {
  background: #1eb857;
  color: white;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */
.breadcrumb {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 0;
  margin-top: 16px;
  margin-bottom: 25px;
  font-size: 13.5px;
  box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.02);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.breadcrumb a:hover {
  color: var(--primary);
  transform: translateX(1px);
}
.breadcrumb i.fa-chevron-right {
  font-size: 10px;
  color: #cbd5e1;
  margin: 0 2px;
}
.breadcrumb span.current-crumb,
.breadcrumb span:last-child {
  color: #0f172a;
  font-weight: 600;
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
  background: #ffffff;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-detail { padding: 40px 0; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery { position: sticky; top: 90px; }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  padding: 20px;
  display: block;
  text-align: center;
  height: auto;
  min-height: 360px;
  max-height: 420px;
  border: 2px solid var(--gray-200);
  margin-bottom: 14px;
  position: relative;
}
.gallery-main img, #mainProductImg {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}
.gallery-main:hover img { transform: scale(1.05); }
.gallery-badge-new {
  position: absolute; top: 16px; left: 16px; z-index: 10;
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
  pointer-events: none;
}
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  padding: 8px;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-thumb img { max-height: 56px; object-fit: contain; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }

.product-info-panel {}
.product-info-panel .product-title {
  font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 12px;
}
.product-meta {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.product-meta .stars i { font-size: 16px; }
.review-count { color: var(--gray-500); font-size: 13px; text-decoration: underline; cursor: pointer; }
.in-stock {
  display: flex; align-items: center; gap: 5px;
  color: var(--success); font-size: 13px; font-weight: 600;
}
.in-stock i { font-size: 14px; }
.detail-price { margin-bottom: 16px; }
.detail-price .price-main { font-size: 36px; font-weight: 900; color: var(--primary); }
.detail-price .price-old { font-size: 16px; color: var(--gray-500); text-decoration: line-through; margin-left: 10px; }
.product-desc {
  font-size: 14px; color: var(--gray-700); line-height: 1.8;
  padding: 16px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
}
.product-specs { margin-bottom: 20px; }
.spec-row {
  display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-icon { color: var(--primary); font-size: 15px; width: 20px; flex-shrink: 0; margin-top: 1px; }
.spec-label { color: var(--gray-500); min-width: 120px; }
.spec-value { font-weight: 600; color: var(--dark); }

.product-brand-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.installment-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px dashed var(--gray-300);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 18px;
}
.installment-badge i {
  color: var(--primary);
  font-size: 16px;
}
.action-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.add-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  font-family: inherit;
  letter-spacing: 0.5px;
}
.add-cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.qty-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-label { font-size: 14px; font-weight: 600; color: var(--dark); }
.qty-ctrl {
  display: flex; align-items: center;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px; background: var(--gray-100); border: none;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); color: var(--dark); font-weight: 700;
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-num {
  width: 50px; text-align: center; font-size: 16px; font-weight: 700;
  border: none; outline: none; background: white; color: var(--dark);
}
.order-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; background: #25D366; color: white; padding: 16px;
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; transition: var(--transition);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35); font-family: inherit;
}
.order-btn i { font-size: 22px; }
.order-btn:hover { background: #1eb857; transform: translateY(-2px); box-shadow: 0 12px 35px rgba(37,211,102,0.45); }
.order-btn-sub { font-size: 12px; font-weight: 400; display: block; opacity: 0.85; margin-top: 2px; }
.detail-features-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px;
}
.detail-feature {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--gray-700);
}
.detail-feature i { color: var(--primary); font-size: 18px; }
.whatsapp-support {
  background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius); padding: 16px; text-align: center;
}
.whatsapp-support p { font-size: 13px; color: var(--gray-700); margin-bottom: 10px; font-weight: 500; }
.whatsapp-support a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: white; padding: 10px 22px;
  border-radius: 50px; font-size: 13px; font-weight: 700; transition: var(--transition);
}
.whatsapp-support a:hover { background: #1eb857; }

/* Product Tabs */
.product-tabs {
  margin-top: 50px;
  padding-top: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tab-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
}

.tab-btn i {
  font-size: 15px;
  color: #94a3b8;
  transition: color 0.25s ease;
}

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

.tab-btn:hover i {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 -4px 12px rgba(255, 107, 0, 0.08);
}

.tab-btn.active i {
  color: var(--primary);
}

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

/* Tab Panels Card Wrapper */
.tab-panel {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  animation: fadeInTab 0.3s ease forwards;
}

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

.tab-panel.active {
  display: block;
}

/* Rich Description Layout */
.tab-panel p {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.tab-panel ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.tab-panel ul li {
  position: relative;
  padding: 14px 20px 14px 44px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.tab-panel ul li:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  border-left-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.tab-panel ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 16px;
}

/* Specs Table Styling */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.spec-table tr:nth-child(even) {
  background: #f8fafc;
}

.spec-table tr:hover {
  background: #f1f5f9;
}

.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td:first-child {
  font-weight: 700;
  color: #0f172a;
  width: 35%;
  background: rgba(248, 250, 252, 0.6);
}

.spec-table td:last-child {
  color: #334155;
  font-weight: 500;
}

/* Related Products */
.related-section { padding: 0 0 50px; }
.related-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}

/* ===========================
   SCROLL ANIMATION
   =========================== */
.animate-fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fadeup.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   MOBILE MENU OVERLAY
   =========================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  box-shadow: 10px 0 30px rgba(0,0,0,0.15);
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.4s cubic-bezier(0.16,1,0.3,1);
  padding: 20px 0;
}
.mobile-menu.active {
  left: 0;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-header .brand {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
}
.mobile-menu-header .brand span { color: var(--primary); }
.mobile-menu-close {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--dark);
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-menu-close:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.mobile-menu-links {
  padding: 10px 0;
}
.mobile-menu-links a {
  display: block;
  color: var(--gray-800);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--primary);
  background: rgba(255,107,0,0.06);
  border-left-color: var(--primary);
}
.mobile-menu-cats {
  padding: 0 20px 15px;
  border-top: 1px solid var(--gray-200);
  margin-top: 5px;
}
.mobile-menu-cats h4 {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 0 8px;
}
.mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.mobile-cat-item i {
  color: var(--primary);
  font-size: 13px;
  width: 28px;
  height: 28px;
  background: rgba(255,107,0,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-cat-item:hover { color: var(--primary); }
.mobile-menu-contact {
  padding: 15px 20px;
  border-top: 1px solid var(--gray-200);
}
.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.mobile-wa-btn:hover { background: #1eb857; }

/* ===========================
   GENERAL PRODUCTS PAGE
   =========================== */
.products-page-hero {
  background: #ffffff;
  padding: 30px 0;
  text-align: center;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-200);
}
.products-page-hero h1 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.products-page-hero p {
  color: var(--gray-600);
  font-size: 13px;
}
.products-page-wrap {
  padding: 35px 0;
  background: var(--white);
}
.products-page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  align-items: start;
}

/* Sidebar Filters */
.filter-sidebar {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  position: sticky;
  top: 175px;
  align-self: start;
  z-index: 10;
  max-height: calc(100vh - 195px);
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

/* Custom Scrollbar for Sidebar */
.filter-sidebar::-webkit-scrollbar {
  width: 5px;
}
.filter-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.filter-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-header h3 i {
  color: var(--primary);
}
.clear-filters-btn {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  background: rgba(255, 107, 0, 0.08);
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.clear-filters-btn:hover {
  background: var(--primary);
  color: white;
}

.active-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -4px;
}
.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.06);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.15);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.active-filter-pill:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.active-filter-pill i {
  font-size: 10px;
  opacity: 0.8;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-group-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#brandFilterContainer.filter-options {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
#brandFilterContainer.filter-options::-webkit-scrollbar {
  width: 4px;
}
#brandFilterContainer.filter-options::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

/* Custom Styled Checkboxes */
.filter-label input[type="checkbox"],
.cat-check-label input[type="checkbox"],
.subcat-check-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  outline: none;
  background: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}

.filter-label input[type="checkbox"]:checked,
.cat-check-label input[type="checkbox"]:checked,
.subcat-check-label input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-label input[type="checkbox"]:checked::after,
.cat-check-label input[type="checkbox"]:checked::after,
.subcat-check-label input[type="checkbox"]:checked::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  font-size: 9px;
  display: block;
}

.filter-label input[type="checkbox"]:focus-visible,
.cat-check-label input[type="checkbox"]:focus-visible,
.subcat-check-label input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.filter-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}
.filter-label:hover {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.04);
}
.filter-label-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Category Tree Accordion */
.cat-tree-block {
  margin-bottom: 6px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  background: white;
  flex-shrink: 0;
}
.cat-tree-block:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.cat-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #f8f9fa;
  gap: 6px;
  transition: var(--transition);
}
.cat-tree-block:hover .cat-main-row {
  background: rgba(255, 107, 0, 0.03);
}
.cat-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  flex: 1;
  min-width: 0;
}
.cat-title-text {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
  word-break: break-word;
}
.cat-title-text i {
  color: var(--primary);
  font-size: 12px;
  width: 14px;
  flex-shrink: 0;
}
.cat-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cat-count-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gray-700);
  background: white;
  border: 1px solid var(--gray-300);
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.3;
}
.cat-tree-block:hover .cat-count-badge {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  border-color: rgba(255, 107, 0, 0.2);
}
.cat-toggle-btn {
  background: white;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  cursor: pointer;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 9px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-toggle-btn:hover,
.cat-toggle-btn.open {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.subcat-tree-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px 20px;
  background: white;
  border-top: 1px solid var(--gray-200);
}
.subcat-tree-list.hidden {
  display: none;
}
.subcat-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-700);
  font-weight: 500;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.subcat-check-label:hover {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.04);
  transform: translateX(2px);
}

/* Price Filter Range */
.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--dark);
  outline: none;
  background: var(--gray-100);
  transition: var(--transition);
}
.price-inputs input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}
.price-inputs span {
  color: var(--gray-500);
  font-weight: 500;
}
.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.price-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.price-chip:hover {
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  border-color: rgba(255, 107, 0, 0.2);
}
.price-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Products Content */
.products-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.products-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--gray-100);
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.products-top-left {
  font-size: 13px;
  color: var(--gray-700);
}
.products-top-left span {
  font-weight: 700;
  color: var(--dark);
}
.products-top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.search-bar-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.search-bar-wrap input {
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  width: 180px;
  color: var(--dark);
}
.search-bar-wrap .search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  transition: var(--transition);
  cursor: pointer;
}
.search-bar-wrap .search-btn:hover {
  background: var(--primary-dark);
}
.sort-dropdown select {
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: white;
  color: var(--dark);
  outline: none;
  cursor: pointer;
}
.sort-dropdown select:focus {
  border-color: var(--primary);
}

/* Main listing grid */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
}
.no-results i {
  font-size: 40px;
  color: var(--gray-300);
  margin-bottom: 12px;
  display: block;
}
.no-results h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

/* Collapsible filters trigger on mobile */
.mobile-filter-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: white;
  border: 1px solid var(--gray-300);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  margin-bottom: 15px;
}

/* ===========================
   RESPONSIVE
   =========================== */
/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .category-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-content h1 { font-size: 42px; }
  .mega-menu { min-width: 600px; }
  .mega-menu-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  body {
    padding-top: 70px !important;
  }

  .header-top-bar { display: none !important; }
  .header-bottom-nav { display: none !important; }
  .mega-trigger-wrap, .mega-trigger-btn { display: none !important; }
  
  .header-middle { padding: 8px 0; }
  .header-middle-wrap { gap: 10px; }
  
  .logo-img { height: 38px; }
  .logo-text .brand { font-size: 16px; }
  .logo-text .tagline { display: none; }

  .header-search { max-width: none; flex: 1; }
  .search-form { padding: 2px 3px 2px 10px; }
  .search-input { font-size: 12px; }
  .search-btn { padding: 7px 14px; font-size: 11px; }

  .header-actions { gap: 8px; }
  .action-text { display: none; }
  .action-icon { width: 34px; height: 34px; font-size: 14px; }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .hero-slider { height: 420px; }
  .hero-bg-img { object-position: center center; }
  .hero-slide { padding-bottom: 50px; }
  .hero-content h1 { font-size: 26px; line-height: 1.25; }
  .hero-content p { font-size: 12px; margin-bottom: 16px; max-width: 90%; }
  .slider-dots { bottom: 40px; }

  .category-strip-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px 4px;
  }
  .cat-strip-item {
    min-width: 0;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 6px 2px;
    background: transparent;
    border: none;
  }
  .cat-strip-text { text-align: center; }
  .cat-strip-text span { display: none; }
  .cat-strip-text h4 { font-size: 8px; line-height: 1.1; font-weight: 700; word-break: break-word; }
  .cat-strip-icon { width: 28px; height: 28px; font-size: 12px; margin-bottom: 0; border-radius: 6px; }
  .cat-strip-item::after { display: none; }

  .products-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .category-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-gallery { position: static; }

  /* Products Page Responsive */
  .products-page-grid { grid-template-columns: 1fr; gap: 15px; }
  .filter-sidebar { display: none; position: static; box-shadow: none; }
  .filter-sidebar.active { display: block; }
  .mobile-filter-trigger { display: flex; }
  .listing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 576px) {
  body {
    padding-top: 105px !important;
  }

  .header-middle-wrap {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .logo { order: 1; }
  .header-actions { order: 2; }
  .mobile-toggle { order: 3; }
  .header-search {
    order: 4;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 2px;
  }

  .hero-slider { height: 460px; }
  .hero-content { padding: 0 5px; }
  .hero-content h1 { font-size: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .category-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .whatsapp-btn { width: 54px; height: 54px; font-size: 24px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 14px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: left;
  }
  .footer-col h4::after {
    left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
  }
  .footer-payments {
    justify-content: center;
  }

  .listing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ==========================================================================
   MOBILE PRODUCT DETAIL & OVERFLOW FIXES
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.product-title {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 0 !important;
    margin-top: 8px !important;
    margin-bottom: 15px !important;
    font-size: 11.5px !important;
    overflow-x: hidden !important;
  }
  
  .breadcrumb .container {
    gap: 4px !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  .breadcrumb span.current-crumb,
  .breadcrumb span:last-child {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: inline-block !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    margin-top: 4px !important;
  }

  .product-detail {
    padding: 15px 0 30px !important;
  }

  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .gallery-main {
    position: relative !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 280px !important;
    max-height: 320px !important;
    padding: 15px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
  }

  .gallery-main img, #mainProductImg {
    position: relative !important;
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }

  .gallery-badge-new {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
  }

  .product-info-panel .product-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }

  .breadcrumb {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 0 !important;
    margin-bottom: 15px !important;
  }

  .breadcrumb a, .breadcrumb span {
    font-size: 12px !important;
  }

  .detail-price {
    font-size: 22px !important;
  }

  .installment-badge {
    font-size: 11.5px !important;
    padding: 10px 12px !important;
  }

  .product-specs {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .action-buttons-wrap {
    width: 100% !important;
  }

  .add-cart-btn.full-width-btn {
    width: 100% !important;
    padding: 14px !important;
    font-size: 14px !important;
  }

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

  .product-tabs {
    margin-top: 25px !important;
  }

  .tab-nav {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
  }

  .tab-panel {
    padding: 16px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
  }

  .header-search {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ==========================================
   SLIDING CART DRAWER & MODAL STYLES
   ========================================== */
.cart-drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
  z-index: 99998; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.cart-drawer-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: -450px; width: 100%; max-width: 420px;
  height: 100%; height: 100vh; height: 100dvh;
  background: #ffffff; z-index: 99999; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active { right: 0; }

.cart-drawer-header {
  flex-shrink: 0;
  padding: 16px 20px; background: #0f172a; color: #ffffff;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.cart-drawer-close { background: transparent; border: none; color: #94a3b8; font-size: 1.4rem; cursor: pointer; transition: color 0.2s; }
.cart-drawer-close:hover { color: #ffffff; }

.cart-drawer-body {
  flex: 1 1 auto;
  padding: 15px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-empty-state { text-align: center; padding: 40px 20px; color: #64748b; }
.cart-empty-state i { font-size: 3.5rem; color: #ff6b00; margin-bottom: 15px; }

.cart-item {
  display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #e2e8f0; align-items: center;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
.cart-item-details { flex: 1; }
.cart-item-title { font-weight: 700; font-size: 0.9rem; color: #1e293b; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { color: #ff6b00; font-weight: 800; font-size: 0.95rem; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-mini-btn { width: 26px; height: 26px; border-radius: 6px; border: 1px solid #cbd5e1; background: #f8fafc; font-weight: 700; cursor: pointer; }
.cart-item-remove { color: #ef4444; background: none; border: none; cursor: pointer; padding: 5px; font-size: 1rem; }

.cart-drawer-footer {
  flex-shrink: 0;
  padding: 15px 20px 25px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 100;
}
.cart-free-shipping-bar {
  background: #e0f2fe; color: #0369a1; padding: 8px 12px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; text-align: center; margin-bottom: 12px;
}
.cart-summary-row {
  display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 12px; color: #0f172a;
}
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00 0%, #e05d00 100%) !important;
  color: #ffffff !important;
  padding: 16px 12px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4) !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.btn-checkout:hover, .btn-checkout:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5) !important;
  color: #ffffff !important;
}

@media (max-width: 576px) {
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    right: -100% !important;
  }
  .cart-drawer.active {
    right: 0 !important;
  }
  .cart-drawer-footer {
    padding-bottom: max(25px, env(safe-area-inset-bottom)) !important;
  }
}

/* ==========================================
   CUSTOMER AUTH MODAL & GOOGLE BUTTON
   ========================================== */
.btn-google-auth {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; background: #ffffff; color: #334155; border: 1px solid #cbd5e1;
  padding: 12px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.05); margin-bottom: 15px;
}
.btn-google-auth:hover { background: #f8fafc; border-color: #94a3b8; }
.btn-google-auth img { width: 20px; height: 20px; }
.auth-divider { display: flex; align-items: center; text-align: center; color: #94a3b8; font-size: 0.8rem; margin: 15px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e2e8f0; }
.auth-divider::before { margin-right: .5em; }
.auth-divider::after { margin-left: .5em; }

/* ==========================================
   STANDALONE MODAL & FORM STYLES
   ========================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
}
.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.modal-dialog {
  position: relative;
  width: 100%;
  margin: 1.75rem auto;
  pointer-events: none;
  max-width: 500px;
  z-index: 1056;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-lg {
  max-width: 720px;
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border: none;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  outline: 0;
  overflow: hidden;
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1.5rem;
}
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  gap: 10px;
}
.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #64748b;
  background: transparent;
  border: 0;
  border-radius: 0.375rem;
  opacity: 0.7;
  cursor: pointer;
  font-size: 1.2rem;
}
.btn-close::before {
  content: "✕";
  font-weight: bold;
}
.btn-close:hover {
  opacity: 1;
}

/* Form Controls */
.form-control, .form-select {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1e293b;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #cbd5e1;
  appearance: none;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus, .form-select:focus {
  border-color: #ff6b00;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.form-label {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

/* ==========================================
   PROFESSIONAL GOOGLE AUTH BUTTON
   ========================================== */
.btn-google-auth-pro {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  background-color: #ffffff !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, Roboto, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s !important;
  box-shadow: 0 1px 3px rgba(60,64,67,0.08) !important;
  margin-bottom: 16px !important;
}

.btn-google-auth-pro:hover {
  background-color: #f8f9fa !important;
  border-color: #d2e3fc !important;
  box-shadow: 0 2px 6px rgba(60,64,67,0.15) !important;
  color: #174ea6 !important;
}

.btn-google-auth-pro svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* ==========================================
   ULTRA-PROFESSIONAL HEADER AUTH BUTTON
   ========================================== */
.btn-auth-header-pro {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 107, 0, 0.4) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.btn-auth-header-pro:hover {
  background: linear-gradient(135deg, #ff6b00 0%, #e05d00 100%) !important;
  border-color: #ff6b00 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-auth-header-pro i {
  font-size: 1.1rem !important;
  color: #ffb703 !important;
  transition: color 0.2s ease !important;
}

.btn-auth-header-pro:hover i {
  color: #ffffff !important;
}

/* Hide installment badges, rating stars & reviews across the site */
.product-stars, .installment-badge, .review-count, .product-installment-notice, .product-installment-bar {
  display: none !important;
}



