/* ===================================================
   تم | TAM E-Commerce — styles.css
   Bootstrap 5 + Custom Design System
   Direction: RTL | Font: Cairo
=================================================== */

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

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --brand:       var(--brand);
  --brand-dark:  #134e8d;
  --bg-page:     #F8F9FB;
  --bg-card:     #ffffff;
  --text-dark:   #1A1A1A;
  --text-muted:  #6B7280;
  --border:      #F0F0F0;
  --yellow-deal: #FEF9C3;
  --green-wa:    #25D366;
  --radius-xl:   40px;
  --radius-lg:   24px;
  --radius-md:   16px;
  --radius-sm:   12px;
  --transition:  0.3s ease;
  --shadow-card: 0 20px 60px -15px rgba(27,101,166,0.12);
  --shadow-btn:  0 8px 24px rgba(27,101,166,0.25);
}

/* Dark Mode */
body.dark-mode {
  --bg-page:    #0F1115;
  --bg-card:    #15181E;
  --text-dark:  #F3F5F7;
  --text-muted: #9CA3AF;
  --border:     rgba(255,255,255,0.05);
  --nested-card: #212429;
}
body.dark-mode .bg-white,
body.dark-mode .card,
body.dark-mode .modal-content { background-color: #15181E !important; color: var(--text-dark); }
body.dark-mode .bg-light,
body.dark-mode .bg-gray-50 { background-color: #1A1D24 !important; }
body.dark-mode .text-dark { color: var(--text-dark) !important; }
body.dark-mode .order-id { color: var(--text-dark) !important;  background-color: #0F1115;}
body.dark-mode .menu-card { color: var(--text-dark) !important;  background-color: #15181E; border-color: #1d2025;}
body.dark-mode .active-card{background-color: #134e8d;}
body.dark-mode .border, body.dark-mode .border-top,
body.dark-mode .border-bottom { border-color: var(--border) !important; }
body.dark-mode .form-control, body.dark-mode .input-group-text {background-color: #212429; color: #fff !important; border-color: rgba(255,255,255,0.1);}
body.dark-mode .custom-card{background-color: #15181E;}
body.dark-mode .icon-input{ background-color: #212429 !important; color: #fff;}
body.dark-mode .custom-box{background-color: #15181E;}
body.dark-mode .accordion-item {background-color: transparent; border-color: rgba(255,255,255,0.05);}
body.dark-mode .accordion-button {background-color: transparent;color: oklch(70.7% 0.022 261.325);}
body.dark-mode .accordion-button:not(.collapsed) {background-color: transparent; color: #fff; box-shadow: none;}
body.dark-mode .accordion-body {background-color: transparent; color: #ddd;}
body.dark-mode .accordion-button::after {filter: brightness(0) invert(1);}
body.dark-mode .order-details-box{background-color: #15181E;}
body.dark-mode h3{color: #fff;}
body.dark-mode h6{color: #fff !important;}
body.dark-mode .order-header{border-color: #212429;}
body.dark-mode .order-section{border-color: #212429;}
body.dark-mode .normal-address{background-color: #212429; border-color: #212429;}
body.dark-mode .account-box{background-color: #212429; border-color: rgba(255,255,255,0.1);}
body.dark-mode .step:last-child .icon{background-color: #15181E; border-color: #212429;}
body.dark-mode .step:last-child .icon .point{background-color: #fff;}
body.dark-mode .product-card-details{background-color: #1A1D24; border-color: #212429;}
body.dark-mode .info-card{background-color: #1A1D24; border-color: #212429}
body.dark-mode .text-dark-mode{color: #9ca3af !important;}
body.dark-mode .contact-btn {background-color: #15181E !important; border-color: #212429;}
body.dark-mode .contact-icon{background-color: #15181E; border-color: #212429;}
body.dark-mode .contact-box{background-color: #1A1D24; border-color: #212429;}
body.dark-mode header,
body.dark-mode nav.tam-navbar { background-color: #15181E !important; }
body.dark-mode .info-content{background-color: #15181E; border-color: #212429;}
body.dark-mode .orders-box { background-color: #15181E !important; border-color: rgba(255,255,255,0.05) !important; }
body.dark-mode .order-card { background-color: #212429 !important; border-color: rgba(255,255,255,0.05); }
body.dark-mode .icon-box { background-color: #212429 !important; border-color: rgba(255,255,255,0.05); }
body.dark-mode .active-icon { background-color: #4984b8 !important; }
body.dark-mode .logout-btn  { background-color: #15181E; border-color: rgba(255,255,255,0.05); }
body.dark-mode .product-card  { background-color: #15181E; border-color: rgba(255,255,255,0.05); }
body.dark-mode .cart-drawer { background-color: #15181E; }
body.dark-mode .mega-menu { background-color: #0F1115 !important; }
body.dark-mode .toast-item { background-color: #15181E; color: #fff; }
body.dark-mode .notification-panel { background-color: #15181E; }
body.dark-mode .mobile-menu-panel { background-color: #15181E; }
body.dark-mode footer { background-color: #0F1115 !important; }
body.dark-mode .feature-title{ color: #0F1115 !important;}
body.dark-mode .nav-cat-item{ color: #ffffff ;}
body.dark-mode .user-name{ color: #ffffff ;}
body.dark-mode #liveActivity div{ color: #0F1115;}
body.dark-mode .marquee-set .brand-card .brand-name{ color: #0F1115 !important; }
body.dark-mode .special-header { color: white; }
body.dark-mode .bordered-btn { color: white;}

body.dark-mode .order-tracking-info,
body.dark-mode .form-check.active,
body.dark-mode .product-img-wrap,
body.dark-mode .product-images-section div ,
body.dark-mode .quantity-counter,
body.dark-mode .product-feature-points div,
body.dark-mode #cartShippingBanner,
body.dark-mode .cart-item
{
  background: var(--nested-card) !important;;
  border-color: #212429;
}
body.dark-mode .mobile-menu{color: #9CA3AF !important; }

body.dark-mode .cat-hero,
body.dark-mode .filter-sidebar,
body.dark-mode .sort-controls ,
body.dark-mode .cat-big-body , 
body.dark-mode .product-modal ,
body.dark-mode .product-main-image,
body.dark-mode .product-info-section,
body.dark-mode .product-overview,
body.dark-mode .rating-section,
body.dark-mode .tracking-search,
body.dark-mode .empty-state
{
  background: #15181E;
  border-color: #212429;
}

body.dark-mode .form-check-label , 
body.dark-mode .shared-p-lg-black , 
body.dark-mode .total-paid-title ,
body.dark-mode .cat-hero h1 ,
body.dark-mode .product-info-section h1,
body.dark-mode .product-feature-points div span,
body.dark-mode .empty-state h1
{ 
  color: white;
}

body.dark-mode .filter-chip,
body.dark-mode .coupon-input,
body.dark-mode .track-section .empty-state .colored-icon
{
  background: var(--nested-card);
  color: white;
}

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brand); color: #fff; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }

/* ─── Top Info Bar ──────────────────────────────── */
.top-bar {
  background: #121212;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 0;
}
.top-bar a, .top-bar span { color: #fff; transition: color var(--transition); }
.top-bar a:hover { color: var(--brand); }

/* ─── Main Header ───────────────────────────────── */
.tam-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tam-header.scrolled {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
body.dark-mode .tam-header.scrolled { background: rgba(15,17,21,0.85) !important; }

.tam-logo-text { font-size: 22px; font-weight: 900; color: var(--brand); line-height: 1; }
.tam-logo-sub { font-size: 8px; font-weight: 900; color: var(--text-muted); letter-spacing: 0.3em; text-transform: uppercase; }

/* Search */
.search-wrapper { position: relative; flex: 1; max-width: 480px; }
body.dark-mode .search-input{color: black;}
.search-input {
  background: #F3F4F6;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 42px 9px 14px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  width: 100%;
  outline: none;
  transition: all var(--transition);
  color: var(--text-dark);
}
.search-input:focus { border-color: rgba(27,101,166,0.2); background: #fff; }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #9CA3AF; pointer-events: none; }
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  z-index: 300;
  overflow: hidden;
  display: none;
}
.search-dropdown.show { display: block; }
body.dark-mode .search-dropdown.show { background-color: var(--nested-card); }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  margin: 4px;
}
body.dark-mode .search-result-item:hover{color: black;}
.search-result-item:hover { background: #EFF6FF; }
.search-result-img { width: 40px; height: 40px; background: #f3f4f6; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 6px; flex-shrink: 0; }
.search-result-img img { width: 100%; height: 100%; object-fit: contain; }
.trending-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
.trending-tag {
  padding: 7px 14px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  transition: all var(--transition);
}
.trending-tag:hover { background: #EFF6FF; color: var(--brand); }

/* Header Action Buttons */
.header-icon-btn {
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: #9CA3AF;
  position: relative;
}
.header-icon-btn:hover { background: #F9FAFB; }

.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  border: none;
}
.cart-btn:hover { background: var(--brand-dark); }

.badge-count {
  position: absolute;
  top: -8px; right: -8px;
  background: #f97316;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.user-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.user-btn:hover { background: #F9FAFB; border-color: var(--border); }

/* Notification Panel */
.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 290px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  z-index: 200;
  overflow: hidden;
  display: none;
  animation: dropIn 0.2s ease;
}
.notification-panel.show { display: block; }
.notif-item { padding: 14px 16px; display: flex; gap: 12px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition); }
.notif-item:hover { background: #F9FAFB; }
.notif-item:last-child { border-bottom: none; }
.notif-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ─── Navbar ────────────────────────────────────── */
.tam-navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: none;
}

.nav-categories { display: flex; align-items: center; }
.nav-cat-item {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  position: relative;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 5px;
  user-select: none;
}
.nav-cat-item::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  height: 2px;
  background: var(--brand);
  width: 0;
  transition: width var(--transition);
}
.nav-cat-item:hover, .nav-cat-item.active { color: var(--brand); }
.nav-cat-item.active::after, .nav-cat-item:hover::after { width: 100%; }

.all-cats-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-left: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  transition: all var(--transition);
}
.all-cats-btn:hover { background: #F9FAFB; }

/* Mega Menu */
.mega-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  z-index: 140;
  display: none;
}
.mega-menu-backdrop.show { display: block; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  box-shadow: 0 60px 100px -20px rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
  z-index: 150;
  display: none;
  animation: dropIn 0.2s ease;
}
.mega-menu.show { display: block; }

.mega-popular-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700;
  color: #6B7280;
  padding: 10px 0;
  cursor: pointer;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mega-popular-link:hover { color: var(--brand); }
.mega-brand-chip {
  padding: 16px;
  background: #F9FAFB;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  color: #374151;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.mega-brand-chip:hover { background: #fff; border-color: #BFDBFE; color: var(--brand); }
.mega-promo-card {
  background: #1A1A1A;
  border-radius: 48px;
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ─── Hero Slider ───────────────────────────────── */
.hero-section { padding: 16px; max-width: 1440px; margin: 0 auto; }

.hero-slider {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 460px;
  border: 4px solid #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 60px; width: 100%; height: 100%; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  color: var(--brand);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-title { font-size: clamp(28px, 4vw, 52px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; text-align: right; }
.hero-subtitle { font-size: clamp(13px, 1.5vw, 18px); color: #6B7280; margin-bottom: 28px; line-height: 1.6; padding-left: 25px;}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand); color: #fff;
  font-weight: 900; font-size: 16px;
  padding: 16px 40px;
  border-radius: var(--radius-lg);
  border: none; cursor: pointer;
  box-shadow: 0 20px 40px rgba(27,101,166,0.25);
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}
.hero-cta::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(to bottom right, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}
.hero-cta:hover { background: var(--brand-dark); transform: translateY(-2px); }
.hero-image-wrap { height: 400px; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.12)); }

/* Slider controls */
.slider-controls { position: absolute; bottom: 10px; left:  25px ; z-index: 20; display: flex; gap: 8px; }
.slider-btn {
  width: 38px; height: 38px;
  background: rgb(53 53 53 / 10%);
  backdrop-filter: blur(12px);
  border: 1px solid white;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: 18px;
}
.slider-btn:hover { background: #fff; color: #1A1A1A; }

.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 8px; align-items: center; }
.slider-dot { height: 4px; border-radius: 999px; cursor: pointer; transition: all 0.4s ease; background: rgba(255,255,255,0.3); width: 16px; }
.slider-dot.active { background: var(--brand); width: 36px; }

/* Side banners */
.side-banner {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  flex: 1;
  min-height: 180px;
}
.side-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.side-banner:hover img { transform: scale(1.08); }
.side-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px;
  color: #fff;
}
.side-banner-badge { background: var(--brand); font-size: 9px; font-weight: 900; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-block; margin-bottom: 10px; width: fit-content }
.side-banner h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; line-height: 1.2; }
.side-banner-link { font-size: 11px; font-weight: 900; color: var(--brand); display: flex; align-items: center; gap: 6px; letter-spacing: 0.15em; text-transform: uppercase; }

/* ─── Features Strip ────────────────────────────── */
.features-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { width: 50px; height: 50px; background: #F9FAFB; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.feature-item:hover .feature-icon { background: rgba(27,101,166,0.05); transform: scale(1.08); }
.feature-title { font-weight: 900; font-size: 13px; line-height: 1; margin-bottom: 3px; }
.feature-desc { font-size: 10px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.feature-sep { width: 1px; height: 36px; background: var(--border); }

/* ─── Section Headers ───────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 0 6px; }
.section-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  border-right: 4px solid var(--brand);
  padding-right: 14px;
  line-height: 1;
  text-transform: uppercase;
}
.section-subtitle { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-right: 18px; margin-top: 6px; }
.view-all-btn {
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.view-all-btn:hover { background: #EFF6FF; }

/* ─── Infinite Marquee (JS-driven, seamless) ────── */
/*
   Architecture: JS clones the original items once, giving us [A][A].
   JS animates translateX from 0 → -(halfWidth)px, then snaps back to 0.
   This produces a perfectly seamless infinite loop with no jump.
   Hover pauses via JS setting animation-play-state on the wrapper class.
*/
.marquee-outer {
  overflow: hidden;
  position: relative;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-outer:active { cursor: grabbing; }

/* The inner wrapper that JS will translateX */
.marquee-track {
  display: flex;
  width: max-content;           /* sized by content */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* marquee-set: each cloned set of items */
.marquee-set {
  flex-shrink: 0;
  display: flex;
}

/* ─── Brand Card ─────────────────────────────────── */
.brand-card {
  background: #fff;
  border-radius: 32px;
  padding: 10px 18px 10px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.07);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.brand-card:hover { box-shadow: 0 20px 50px -10px rgba(27,101,166,0.15); transform: translateY(-6px); }
.brand-logo { width: 70px; height: 70px; background: #F8F9FA; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; flex-shrink: 0; border: 1px solid var(--border); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: all 0.5s ease; }
.brand-card:hover .brand-logo img { filter: grayscale(0); opacity: 1; }
.brand-name { font-size: 15px; font-weight: 900; }
.brand-meta { font-size: 9px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; }

/* ─── Category Grid uses .marquee-outer / .marquee-track ───── */
.cat-card {
  width: 130px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all var(--transition);
  flex-shrink: 0;
}
.cat-card:hover { border-color: #BFDBFE; box-shadow: 0 8px 24px rgba(27,101,166,0.1); }
.cat-img { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; background: #F9FAFB; border: 1px solid var(--border); padding: 3px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform 0.5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-name { font-size: 14px; font-weight: 700; color: #374151; text-align: center; transition: color var(--transition); }
.cat-card:hover .cat-name { color: var(--brand); }

/* ─── Deals Section ─────────────────────────────── */
.deals-section {
  background: var(--yellow-deal);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 2px solid rgba(253,224,71,0.3);
  box-shadow: 0 20px 60px -10px rgba(234,179,8,0.1);
  position: relative;
  overflow: hidden;
}
.deals-section::before, .deals-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deals-section::before { top: -100px; right: -100px; width: 300px; height: 300px; background: rgba(253,224,71,0.2); filter: blur(80px); }
.deals-section::after { bottom: -80px; left: -80px; width: 250px; height: 250px; background: rgba(249,115,22,0.07); filter: blur(80px); }

.timer-box { width: 52px; height: 52px; background: #1A1A1A; color: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.timer-label { font-size: 9px; font-weight: 900; color: var(--text-muted); text-transform: uppercase; text-align: center; margin-top: 4px; }

/* ─── Product Card ──────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.5s ease, border-color var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover {
  box-shadow: 0 30px 70px -15px rgba(27,101,166,0.14);
  border-color: rgba(27,101,166,0.08);
}

.product-img-wrap {
  aspect-ratio: 1;
  background: #F9FBFF;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  transition: background var(--transition);
}
.product-card:hover .product-img-wrap { background: #fff; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08)); }
.product-card:hover .product-img-wrap img { transform: scale(1.1); }

/* Quick view button */
.quick-view-btn {
  position: absolute;
  bottom: 16px;
  left: 50%; transform: translateX(-50%) translateY(16px);
  background: #1A1A1A;
  color: #fff;
  padding: 9px 22px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 900;
  display: flex; align-items: center; gap: 7px;
  opacity: 0;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.product-card:hover .quick-view-btn { opacity: 1; transform: translateX(-50%) translateY(0); background: var(--brand); }

/* Product action buttons */
.product-actions { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 6px; }
.product-action-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(8px);
}
.product-card:hover .product-action-btn { opacity: 1; transform: translateX(0); }
.product-action-btn:hover { color: var(--brand); }
.product-action-btn.active-wish { background: #EF4444; color: #fff !important; }
.product-action-btn.active-compare { background: var(--brand); color: #fff !important; transition:all .3s;}
.product-action-btn.active-compare:hover{color: var(--brand); background-color: #fff;}
.product-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  padding: 5px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 5;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}
.product-card:hover .product-tag { opacity: 1; transform: translateX(0); }

.rating-badge { background: #FEFCE8; padding: 3px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.star-icon { color: #EAB308; font-size: 10px; }
.rating-val { font-size: 9px; font-weight: 700; color: #713F12; }

.product-name { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--text-dark); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color var(--transition); height: 36px; }
.product-card:hover .product-name { color: var(--brand); }

.stock-badge { font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.stock-low { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA; }
.stock-ok  { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

.price-old { font-size: 15px; color: #9CA3AF; text-decoration: line-through; font-weight: 700; }
.price-new { font-size: 20px; font-weight: 900; color: var(--text-dark); line-height: 1; }
.price-currency { font-size: 10px; font-weight: 900; color: var(--brand); text-transform: uppercase; }

.add-to-cart-btn {
  width: 52px; height: 52px;
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(27,101,166,0.2);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.add-to-cart-btn:hover { background: var(--brand-dark); transform: scale(1.1); }
.add-to-cart-btn:active { transform: scale(0.9); }

/* ─── Banners ───────────────────────────────────── */
.promo-banner {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  height: 220px;
  cursor: pointer;
}
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.promo-banner:hover img { transform: scale(1.08); }
.promo-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent); display: flex; flex-direction: column; justify-content: center; padding: 36px; color: #fff; }
.promo-banner h3 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.promo-banner p { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.promo-banner-btn { background: #fff; color: #1A1A1A; font-weight: 900; padding: 9px 22px; border-radius: 12px; font-size: 13px; border: none; cursor: pointer; transition: all var(--transition); display: inline-block; }
.promo-banner-btn:hover { background: var(--brand); color: #fff; }

/* ─── Cart Drawer ───────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: none;
  animation: fadeIn 0.2s ease;
}
.cart-overlay.show { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #fff;
  z-index: 501;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart-drawer.open { transform: translateX(0); }
.cart-item { display: flex; gap: 14px; background: #fff; padding: 8px; border-radius: 16px; transition: background var(--transition); }
.cart-item:hover { background: #F9FAFB; }
.cart-item-img { width: 80px; height: 80px; background: #F9FAFB; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid var(--border); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.qty-btn { width: 28px; height: 28px; background: #fff; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); color: #374151; font-size: 14px; }
.qty-btn:hover { background: #F9FAFB; }
.shipping-progress-bar { height: 6px; background: #fff; border-radius: 999px; overflow: hidden; border: 1px solid #DBEAFE; }
.shipping-progress-fill { height: 100%; background: linear-gradient(to left, var(--brand), #60A5FA); border-radius: 999px; transition: width 0.6s ease; }
.coupon-input , .icon-input { background: #F9FAFB; border: 1px solid var(--border); border-radius: 12px; padding: 11px 38px 11px 14px; font-family: 'Cairo', sans-serif; font-size: 13px; font-weight: 700; width: 100%; outline: none; transition: border var(--transition); }
.coupon-input:focus , .icon-input:focus { border-color: var(--brand); }
.checkout-btn {
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 16px;
  border-radius: 18px;
  width: 100%;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(27,101,166,0.2);
  transition: all var(--transition);
}
.checkout-btn:hover { background: var(--brand-dark); }

/* ─── Auth Modal ────────────────────────────────── */
.auth-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 600;
  display: none;
  animation: fadeIn 0.2s ease;
}
.auth-modal-overlay.show { display: flex; align-items: center; justify-content: center; }
.auth-modal {
  background: #fff;
  border-radius: 40px;
  padding: 40px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  position: relative;
  animation: scaleIn 0.2s ease;
}
.auth-tab { padding: 10px 24px; font-weight: 900; font-size: 14px; border-radius: 12px; cursor: pointer; transition: all var(--transition); }
.auth-tab.active { background: var(--brand); color: #fff; }
.auth-form-input {
  background: #F3F4F6;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  outline: none;
  transition: all var(--transition);
}
.auth-form-input:focus { border-color: var(--brand); background: #fff; }
.auth-submit-btn {
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 14px;
  border-radius: 14px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.auth-submit-btn:hover { background: var(--brand-dark); }

/* ─── Toast Notifications ───────────────────────── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-item {
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  min-width: 260px;
  animation: slideInRight 0.3s ease, fadeOut 0.5s ease 2.5s forwards;
  border: 1px solid var(--border);
  pointer-events: all;
}
.toast-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.toast-success .toast-icon { background: #F0FDF4; color: #16A34A; }
.toast-error   .toast-icon { background: #FEF2F2; color: #DC2626; }
.toast-info    .toast-icon { background: #EFF6FF; color: var(--brand); }

/* ─── Bottom Nav (mobile) ───────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 300;
  padding: 10px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
body.dark-mode .bottom-nav { background: rgba(15,17,21,0.85); }

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 56px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
}
.bottom-nav-btn span { font-size: 9px; font-weight: 900; color: #9CA3AF; transition: color var(--transition); }
.bottom-nav-btn svg { color: #9CA3AF; transition: color var(--transition); }
.bottom-nav-btn.active svg,
.bottom-nav-btn.active span { color: var(--brand); }

/* ─── Compare Bar ───────────────────────────────── */
.compare-bar {
  position: fixed;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A1A1A;
  color: #fff;
  border-radius: 20px;
  padding: 12px 24px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 250;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  font-size: 13px;
  font-weight: 700;
}

.compare-bar.show {
  display: flex;
}
.compare-btn{
  z-index: 3;
  background-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,0.9);
  transition: all .3s;
}
.compare-btn:hover{
  color: var(--brand);
  background-color: rgba(255,255,255,0.85);
}
/* ─── Back to Top ───────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--brand);
  z-index: 200;
  font-size: 20px;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
}
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--brand); color: #fff; }

/* ─── WhatsApp Floating ─────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  left: 15px;
  width: 58px; height: 58px;
  background: var(--green-wa);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 200;
  cursor: pointer;
  animation: pulseGlow 2s infinite;
  text-decoration: none;
  font-size: 26px;
}
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
.whatsapp-fab::before { content: ''; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.whatsapp-fab::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; background: #22C55E; border-radius: 50%; }
.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%; transform: translateY(-50%);
  background: #fff;
  color: #1A1A1A;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition);
  border: 1px solid var(--border);
  pointer-events: none;
}
.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; }

/* ─── Footer ────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid var(--border); }
.newsletter-banner {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 16px 28px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  flex: 1;
  min-width: 0;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { background: rgba(255,255,255,0.2); }
.newsletter-btn { background: #fff; color: var(--brand); font-weight: 900; font-size: 15px; padding: 16px 32px; border-radius: 18px; border: none; cursor: pointer; white-space: nowrap; transition: all var(--transition); flex-shrink: 0; }
.newsletter-btn:hover { background: #000; color: #fff; }
.footer-link { font-size: 13px; font-weight: 600; color: #6B7280; transition: color var(--transition); display: block; margin-bottom: 12px; background: none; border: none; cursor: pointer; text-align: right; }
.footer-link:hover { color: var(--brand); }
.footer-heading { font-weight: 900; font-size: 16px; border-right: 4px solid var(--brand); padding-right: 12px; margin-bottom: 24px; }
.footer-contact-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ─── Mobile Menu ───────────────────────────────── */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 110;
  display: none;
}
.mobile-overlay.show { display: block; }
.mobile-menu-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 80%;
  max-width: 300px;
  background: #fff;
  z-index: 111;
  padding: 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.mobile-menu-panel.open { transform: translateX(0); }
.mobile-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: #F9FAFB;
  border-radius: 14px;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.mobile-cat-item:hover { background: #EFF6FF; color: var(--brand); }

/* ─── Product Quick View Modal ──────────────────── */
.product-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 600;
  display: none;
  animation: fadeIn 0.2s ease;
}
.product-modal-overlay.show { display: flex; align-items: center; justify-content: center; padding: 20px; }
.product-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  animation: scaleIn 0.2s ease;
  position: relative;
}

/* ─── Global Loader ─────────────────────────────── */
#global-loader {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
body.dark-mode #global-loader { background: #0F1115; }
.loader-bar { width: 160px; height: 4px; background: #F3F4F6; border-radius: 999px; overflow: hidden; margin-top: 16px; }
.loader-fill { height: 100%; background: var(--brand); animation: loadFill 2s ease forwards; border-radius: 999px; }
@keyframes loadFill { 0% { width: 0%; } 100% { width: 100%; } }

/* ─── Keyframes ─────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { transform: translateX(-200%) rotate(45deg); } 100% { transform: translateX(200%) rotate(45deg); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; pointer-events: none; } }
@keyframes jiggle { 0%,90%,100% { transform: rotate(0); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(10deg); } 96% { transform: rotate(-10deg); } 98% { transform: rotate(10deg); } }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes jump {
  0% {
    transform: translateY(-12px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* ─── Utilities ─────────────────────────────────── */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.brand-accent-border { border-right: 4px solid var(--brand); }
.section-outer { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* Responsive */

.marquee-outer {
  direction: ltr;
}

.right-marquee{
  direction: rtl;
}

.icon-input-section{
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}
.icon-input-section .icon-input-wrapper{
  position: relative;
  flex: 1;
}
.icon-input-section .icon-input-wrapper i{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
}
.icon-input-section .icon-input-wrappe .icon-input{
  padding-right: 38px;
}

/* Shared styles */
.shared-p-xl {
  color: #99a1af;
  font-size: 16px;
  font-weight: 900;
}

.shared-p-lg {
  color: #99a1af;
  font-size: 14px;
  font-weight: 900;
}

.shared-p-md {
  color: #99a1af;
  font-size: 12px;
  font-weight: 900;
}

.shared-p-sm {
  color: #99a1af;
  font-size: 10px;
  font-weight: 700;
}

.shared-p-lg-blue {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.shared-p-lg-black {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
}

.colored-icon {
  background-color: var(--brand);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 900;
}

/* Shared styles */


/* Checkout Page  */
.stepper {
  position: relative;
  width: 60%;
  margin: auto;
}

.step-item {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 20px;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1f2a37;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-label {
  font-size: 14px;
  color: #6c757d;
}

.step-item.active .step-circle {
  background-color: var(--brand);
}

.step-item.active .step-label {
  color: var(--brand);
  font-weight: 600;
}

.step-line {
  flex: 0.7;
  height: 2px;
  background-color: #dee2e6;
  margin: 0 10px;
}

.step-item.completed .step-circle {
  background-color: var(--brand);
  color: white;
}

.step-item.completed .step-label {
  color: var(--brand);
}

.step-item.completed .step-number {
  display: none;
}

.step-item.completed .step-check {
  display: inline;
  font-size: 20px;
}

#stepperForm {
  margin-top: 2rem;
}

.step-section .form-wrapper {
  background: white;
  border: 1px solid #fdf3f4;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body.dark-mode .step-section .form-wrapper {
  background: #15181E;
}

.step-section>div:nth-child(1) .form-wrapper {
  padding: 3rem;
}

.step-section>div:nth-child(2) .form-wrapper {
  padding: 2rem;
}

.steps-section-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
}

.steps-section-title i {
  color: var(--brand);
  margin-left: 10px;
}

.checkout-form {
  margin: 2rem 0px;
  row-gap: 3rem;
}

.checkout-form label {
  display: block;
  color: #99a1af;
  font-size: 12px;
  margin: 0px 8px 8px 0px;
}

.checkout-form [type=tel] {
  text-align: right;
}

.step-button .btn {
  margin-right: 12px;
}

.order-summary .section-title {
  font-size: 20px;
  margin-bottom: 2rem;
}

.prev-btn {
  color: #99a1af;
  font-weight: 900;
  font-size: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.prev-btn:hover {
  color: var(--brand);
}

.form-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #ebe6e7;
  border-radius: 32px;
}

.form-check:hover {
  cursor: pointer;
}

.form-check label {
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.form-check i,
.customized-icon {
  background-color: #f6f3f4;
  color: #99a1af;
  border-radius: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-check i {
  font-size: 24px;
}

.form-check.active {
  border: 2px solid var(--brand);
  background: #fafcff;
}

.form-check.active .customized-icon {
  background: var(--brand);
}

.form-check.active i {
  background: var(--brand);
  color: #fff;
}

.customized-icon p {
  background: #fdc700;
  color: #1A1A1A;
  font-weight: 900;
  margin: auto;
  font-size: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.guarantee-section {
  background: #f6fafe;
  margin: auto;
  margin-top: 32px;
  padding: 16px;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid #eff6ff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.guarantee-section i,
.guarantee-section span {
  color: var(--brand);
  font-weight: 900;
}

.guarantee-section i {
  font-size: 14px;
}

.guarantee-section span {
  font-size: 10px;
}

.free-span {
  color: #00c951;
  font-size: 14px;
  font-weight: 900;
}

.bordered-btn {
  background: transparent;
  border: 2px solid #fbf9fa;
  color: #101828;
  font-weight: 900;
  padding: 16px 48px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: pointer;
}

.bordered-btn:hover {
  background: #fbf9fa;
}

.order-data-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-self: center;
  width: 90%;
}

.order-data-summary .bi-check-circle {
  color: #0dcc5a;
  background-color: #f0fdf4;
  box-shadow: 0 10px 15px -3px #dcfce7;
}

.order-data-summary .steps-section-title {
  font-size: clamp(24px, 4vw, 36px);
}

.order-tracking-info {
  width: 100%;
  background-color: #fbf9fa;
  border-radius: 32px;
  border: 1px solid #f6f3f4;
  padding: 32px;
  margin: 0px 0px 40px;
}

.order-tracking-info .row .shared-p-sm {
  margin: unset !important;
}

.total-paid-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px dashed #ebe6e7;
}

.total-paid-section .total-paid-title {
  font-weight: 900;
  color: #101828;
  font-size: 18px;
}

.total-paid-section .total-count {
  color: var(--brand);
  font-weight: 900;
  font-size: clamp(16px, 2.5vw, 24px);
}

/* Track Page */
.special-header {
  font-size: clamp(25px, 3vw, 48px);
  font-weight: 900;
  color: #101828;
}

.highlighted-word {
  color: var(--brand);
}

.track-section .track-title{
  margin-top: 32px;
  text-align: center;
  padding: 96px 32px;
}

.track-section .track-title .colored-icon{
  margin: auto;
  border-radius: 32px;
  margin-bottom: 24px;
}
.track-section .track-title p{
  font-weight: 600;
  margin-top: 16px;
}

.track-section .row{
  justify-content: center;
  gap: 32px;
}

.track-section .tracking-search {
  padding: 40px;
  border: 1px solid #f6f3f4;
  background-color: #fff;
  border-radius: 48px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  min-height: 450px;
}

.track-section .tracking-search .hero-cta {
  margin-top: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-section .tracking-search .shared-p-md{
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #fbf9fa;
}

.track-section .empty-state {
  min-height: 450px;
  padding: 48px;
  border: 1px dashed #ebe6e7;
  border-radius: 48px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.track-section .empty-state h1{
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  color: #101828;
  margin-top: 32px;
  margin-bottom: 16px;
}

.track-section .empty-state .colored-icon{
  color: #ebe6e7;
  background-color: #fbf9fa;
  width: 96px;
  height: 96px;
  font-size: 48px;
}

.track-section .tracking-result{

}

/* Account Page */
.order-details-box {
  background: #fff;
}

.order-header {
  gap: 24px;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f1f1f1;
}

.title-order {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  margin: 0;
  line-height: 1;
}

.subtitle {
  color: #9ca3af;
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
}

/* RIGHT BOX */
.delivery-box {
  background: var(--brand);
  color: #fff;
  padding: 16px 32px;
  border-radius: 24px;
  box-shadow: 0 5px 15px #fff;
  gap: 16px;
}

/* ICON */
.truck-icon {
  font-size: 26px;
}

/* TEXT */
.delivery-text {
  display: flex;
  flex-direction: column;
}

.delivery-text .label {
  font-size: 10px;
  font-weight: 900;
  color: #c7e0ff;
  letter-spacing: 2px;
}

.delivery-text .date {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}



/* CONTAINER */
.timeline {
  position: relative;
  margin-bottom: 80px;
}

/* الخط الطولي */
.timeline::before {
  content: "";
  position: absolute;
  right: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #f1f1f1;
}

/* STEP */
.step {
  position: relative;
  padding-right: 60px;
  /* pr-16 */
  margin-bottom: 40px;
  /* space-y-12 */
}

/* ICON BOX */
.step .icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  /* rounded-2xl */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #fff;
  border: 2px solid #eee;
}

/* ACTIVE STEP */
.step.active .icon {
  background: var(--brand);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(27, 101, 166, 0.3);
}


.step.active .icon::after {
  background: #fff;
}

/* CURRENT (اللي فيها animation) */
.step.current .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 4px solid #3b82f6;
  animation: pulse 1.5s infinite;
  opacity: 0.2;
}

/* ANIMATION */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* TEXT */
.step h6 {
  font-size: 16px;
  font-weight: 900;
  margin: 0;
  color: #111;
}

.step small {
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
}

/* آخر step (inactive) */
.step:last-child .icon {
  background: #fff;
  border: 2px solid #eee;
}

.step:last-child .icon .point {
  width: 10px;
  height: 10px;
  background-color: #eee;
  border-radius: 50%;
}

/* Product Details Page */
.product-images-section {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  max-width: 100%;
  overflow-x: scroll;
}

.product-images-section .product-thumb{
  width: 100%;
  cursor: pointer;
  object-fit: cover;
  height: 65px;
  width: 65px;
  transition: all 0.2s ease;
}

.product-images-section div {
  height: 85px;
  width: 85px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.product-images-section div.active {
  border: 2px solid var(--brand);
}

.product-main-image,.product-info-section{
  background: #fff;
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #f6f3f4;
  margin-top: 0px;
}
.product-main-image{
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px;
}
.product-main-image span{
  position: absolute;
  top: 5%;
  right: 2%;
  background: black;
  color: white;
  font-size: 10px;
  padding: 6px 16px;
  border-radius: 0.75rem;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  z-index: 2;
}

.product-info-section .category-badge{
  font-size: 9px;
  padding: 4px 12px;
  color: var(--brand);
  background-color: #eff6ff;
  border-radius: 15px;
  font-weight: 900;
}

.product-info-section .rating-badge{
  color: #f0b100;
  font-size: 12px;
  margin-right: 10px;
}

.product-info-section h1{
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  color: #101828;
  margin: 24px 0px 32px;
}

.product-info-section .old-price-badge{
  text-decoration: line-through;
  color: #9CA3AF;
  font-size: 17px;
  font-weight: 900;
}

.product-info-section .price-badge{
  color: var(--brand);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 900;
}
.product-info-section .discount-badge{
  color: white;
  background: #fb2c36;
  font-size: 11px;
  padding: 4px 12px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-radius: 0.5rem;
  font-weight: 900;
  display: inline-block;
  animation: jump 2s linear infinite;
}
.discount-badge-home{
  color: white;
  background: #fb2c36;
  font-size: 11px;
  padding: 4px 10px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-radius: 0.5rem;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 5px;
  /* animation: jump 2s linear infinite; */
}
.product-info-section .apply-quantity{
  margin-top: 32px;
  font-weight: 900;
}

.quantity-counter {
  background: #F3F5F7;
  width: fit-content;
  padding: 4px;
  border-radius: 16px;
  gap: 1rem !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
}

.zoom-container {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  text-align: center;
}

.zoom-image {
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.zoom-container:hover .zoom-image {
  transform: scale(1.5);
}

.whatsapp-order-btn {
  margin-top: 1rem;
  color: #fff;
  background: var(--green-wa);
  border: none;
  padding: 16px 48px;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
}
.whatsapp-order-btn:hover {
  background: #22c55e;
  color: white;
}
.wishlist-btn{
  color: #fb2c36;
  background: #fef2f2;
  border: 1px solid #ffe2e2;
  margin: 2rem 0px;
}

.wishlist-btn:hover{
  color: #fb2c36;
  background: #fef2f2;
}
.share-product-section{
  padding: 32px 0px 0px;
  margin: 32px 0px 0px;
  border-top: 1px solid #f6f3f4;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.share-product-section i{
  background: #fbf9fa;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  color: #99a1af;
  font-size: 18px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.share-product-section .bi-chat:hover{
  background-color: #00c951;
  color: #fff;
}
.share-product-section .bi-share:hover {
  background-color: #155dfc;
  color: #fff;
}

.product-features .card{
  padding: 20px;
  border-radius: 40px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  margin-top: 4rem;
}

.product-features .card:hover{
  box-shadow: 0 5px 41px 0 rgb(0 0 0 / 0.1), 0 5px 21px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
}

.product-features .card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.product-features .card i{
  width: 56px;
  height: 56px;
  font-size: 24px;
  background-color: #F3F5F7;
  color: var(--brand);
  transition: all 0.3s ease;
}

.product-features .card:hover i {
  background-color: var(--brand);
  color: white;
  transition: all 0.3s ease;
}

.product-features .card h4 {
  font-size: 16px;
  color: #1A1A1A;
  font-weight: 900;
}

.product-overview{
  padding: 46px;
  border-radius: 48px;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #fbf9fa;
  margin-top: 4rem;
}

#productDescription p{
  font-size: 18px;
  color: #99a1af;
  font-weight: 500;
  margin: 24px 0px 32px;
}

.product-feature-points div{
  background: #F9FBFF;
  padding: 20px;
  border-radius: 1rem;
  border: 1px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 15px;
}
.product-feature-points div i {
  font-size: 18px;
  color: var(--brand);
  font-weight: 900;
}
.product-feature-points div span{
  font-size: 12px;
  font-weight: 900;
  color: #1A1A1A;
}

.rating-section{
  background-color: var(--brand-dark);
  color: white;
  margin-top: 4rem;
  padding: 80px;
  border-radius: 56px;
}
.rating-section h4 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 900;
}

.rating-section .rate-reviews p{
  display: flex;
  flex-direction: column;
}
.rating-section .rate-reviews p span:first-child{
  font-size: 30px;
  font-weight: 900;
}
.rating-section .rate-reviews p span:last-child {
  font-size: 9px;
  color: #99a1af;
}
.rating-section .rate-reviews div{
  width: 1px;
  height: 40px;
  background-color: var(--border);
}

.rating-section .reviews-section{
  background-color: var(--brand);
  padding: 32px;
  border-radius: 36px;
  border: 1px solid var(--border);
}
.rating-section .reviews-section .bi{
  font-size: 12px;
}

.rating-section .reviews-section .shared-p-xl{
  color: #d1d5dc;
  font-weight: 500;
}
.name-section{
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 1.5rem;
}
.name-section .letter {
  color: #51a2ff;
  background-color: #273752;
  font-weight: 900;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.write-review-section{
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.write-review-section .btn{
  border-radius: 0.75rem;
}
.black-btn {
  color: white;
  background: var(--brand);
}
.black-btn:hover{
  color: white;
  background: var(--brand-dark);
}

#reviewModal h5{
  font-size: 24px;
  font-weight: 900;
}
#reviewModal .modal-header{
  border-bottom: unset !important
}
#reviewModal .colored-icon{
  color: #99a1af;
  width: 30px;
  height: 30px;
  font-size: 15px;
  background-color: #fbf9fa;
  border-radius: 1rem;
}
#reviewModal .shared-p-sm , #reviewModal #starRating{
  text-align: center;
}
#reviewModal .star-item{
  font-size: 30px;
}
#reviewModal label {
  color: #99a1af;
  font-size: 10px;
  font-weight: 700;
}
#reviewModal #submitReview {
  display: block;
  width: 100%;
}

/* Wishlist Page */
.wish-btn{
  z-index: 3;
}

.wishlist-title .page-title h1{
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 900;
}
.wishlist-title a{
  color: var(--brand);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wishlist-title a i{
  font-size: 20px;
  font-weight: 900;
}
.wishlist-card .remove-wish-btn{
  color: #fb2c36;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  z-index: 1;
  padding: 8px;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.wishlist-card .add-to-cart-btn{
  background-color: #F3F5F7;
  color: #1A1A1A;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border-radius: 1rem;
  font-size: 20px;
  font-weight: bold;
}

.empty-wishlist{
  padding: 80px;
  border: 1px dashed #ebe6e7;
  background: white;
  border-radius: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.empty-wishlist i{
  color: #ffc9c9;
  background: #fef2f2
}

.empty-wishlist h1{
  font-size: 24px;
  color: #1A1A1A;
  font-weight: 900;
}
.empty-wishlist p{
  font-size: 16px;
  color: #99a1af;
  font-weight: 400;
  margin: 0px 295px 40px;
  text-align: center;
}
/* Brands Drop-down */
#brandsDropdownNav .dropdown-toggle{
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all .3s;
  font-weight: 600 !important;
  color: #6B7280;
}
.header-menu-border{
  border-left: 1px solid var(--border);
}

.ContinueShopping{
  display: flex;
  justify-content: flex-end;
}

/* OTP Page */
#otp-form{
  direction: ltr;
  margin-bottom: 1.5rem !important;
  display: flex !important;  
  justify-content: center !important;
  gap: .5rem !important;
}

#otp-form input{
  width: 50px;
  height: 60px;
}

/* ── Category Hero ───────────────────────────── */
.cat-hero {
  background: white;
  padding: 32px 0 20px;
  position: relative;
  overflow: hidden;
  color: black;
}

.cat-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cat-hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cat-hero-title {
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}

.cat-hero-sub {
  font-size: 14px;
  color: #99a1af;
  font-weight: 700;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px 28px;
  text-align: center;
  min-width: 120px;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #99a1af;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ── Breadcrumb ──────────────────────────────── */
.tam-breadcrumb {
  padding: 12px 0 20px;
  font-size: 12px;
  font-weight: 700;
}

.tam-breadcrumb .section-outer {
  padding: 0px !important;
}

.tam-breadcrumb a {
  color: #9CA3AF;
}

.tam-breadcrumb a:hover {
  color: var(--brand);
}

.tam-breadcrumb span {
  color: var(--brand);
}

[type=tel]{
  direction: rtl;
}

.toggle-pass-icon{
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  cursor: pointer;
}

#subCatPills {
  width: 100%;
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 15px;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--brand) #f1f1f1;
}

#subCatPills::-webkit-scrollbar {
  height: 8px;
}

#subCatPills::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#subCatPills::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}











.compare-table{
    border-collapse: separate;
    border-spacing: 70px 50px;
    text-align: center;
    margin: auto;
    margin-top: 30px;
}

.compare-image-box {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  background: #f8fafc;
  border-radius: 28px;
  padding: 20px;
  transition: .3s;
}

.compare-image-box img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.compare-image-box:hover{
  transform:translateY(-4px);
}

.remove-compare-item{
  position:absolute;
  top:-8px;
  left:-8px;
  width:34px;
  height:34px;
  border:none;
  border-radius:12px;
  background:#ef4444;
  color:#fff;
  cursor:pointer;
  opacity:0;
  transform:scale(.8);
  transition:.25s;
  z-index:2;
}

.compare-image-box:hover .remove-compare-item{
  opacity:1;
  transform:scale(1);
}

.compare-product-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

.compare-product-title{
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  min-height:45px;
  max-width:220px;
}

.compare-cart-btn{
  border:none;
  width: auto;
  background:#1B65A6;
  color:#fff;
  padding:12px 18px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:8px;
  transition:.3s;
}

.compare-cart-btn:hover{
  transform:translateY(-2px);
}
#productModal{
  max-width: 100%;
  max-height:85vh;
  width: 100%;
  overflow:auto;
  padding:30px;
}
.product-modal-wrapper{
  max-width:100%;
  max-height:85vh;
  border-radius:36px;
  overflow:hidden;
  background:#fff;
}

.product-colors-section .color-badge{
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid #f1f1f1;
  cursor: pointer;
}