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

/* --- GENERAL RESET & GLOBAL STYLING --- */
html {
  scroll-behavior: smooth; /* Enables elegant auto-scrolling transitions */
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f0f4f8; /* Premium, soft health-tech blue tint */
  margin: 0;
  padding: 20px;
  color: #333;
}

body.landing-body {
  padding: 0 !important;
  background-color: #f8fafc;
}

/* --- HEADER & HERO DESIGN --- */
.store-header {
  display: none !important;
}

body:not(.landing-body) .store-header {
  display: block !important;
}

.store-header h1 {
  color: #1a365d;
  margin-bottom: 6px;
  margin-top: 0;
}

.store-header p {
  color: #396bc3;
  font-size: 1rem;
  margin: 0 auto 12px auto;
  max-width: 600px;
  line-height: 1.4;
}

.logo-container {
  text-align: center;
  padding: 0;
  overflow: hidden; 
}

.site-logo {
  max-width: 280px; 
  height: auto;     
  display: block;
  margin: -35px auto;
  background: transparent;
}

body.landing-body .site-logo {
  margin: 0 auto 20px auto;
  max-width: 320px;
}

body.landing-body .store-header {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 30px 0 0 0;
  background: transparent;
  border: none;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .site-logo {
    max-width: 340px; 
    margin: -50px auto; 
  }
  .store-header {
    padding: 10px 20px 15px 20px;
  }
  
  body.landing-body .site-logo {
    max-width: 380px;
  }
  
  body.landing-body .store-header {
    padding: 40px 0 0 0;
  }
}

/* --- STICKY NAVIGATION ENGINE --- */
.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 150;
  background-color: #f8fafc; /* Matches the top header color */
  padding: 10px 20px;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  
  /* Counteracts the body's 20px padding to stretch fully across screen edges */
  margin-left: -20px; 
  margin-right: -20px;
  margin-bottom: 25px;
}

/* Minor cleanup tweaks for nested margins */
.search-container {
  margin: 0 auto 10px auto !important; 
}

.category-nav {
  margin: 0 auto !important;
}

/* Mobile Responsive adjustment for sticky positioning padding alignment */
@media (max-width: 768px) {
  .sticky-navbar {
    margin-left: -10px;
    margin-right: -10px;
    padding: 8px 10px;
    box-shadow: 0 8px 12px -10px rgba(0, 0, 0, 0.15);
  }
}
/* --- SEARCH BAR COMPONENT --- */
.search-container {
  max-width: 500px;
  margin: 5px auto 15px auto; 
  padding: 0 15px;
}

#product-search {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  outline: none;
  background-color: #ffffff;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

#product-search:focus {
  border-color: #2b6cb0; 
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.15); /* Premium ambient light aura */
}

/* --- HORIZONTAL CATEGORY NAVIGATION BAR --- */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px auto 5px auto;
  max-width: 650px;
  padding: 5px 15px;
  overflow-x: auto; /* Fluid swipe-to-scroll on touch viewports */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* Hide native desktop scrollbars on the mobile category slider block */
.category-nav::-webkit-scrollbar {
  display: none;
}

.category-btn {
  background-color: #ffffff;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-btn:hover {
  background-color: #edf2f7;
  color: #1a365d;
}

/* Active style designation highlighting the selected category */
.category-btn.active {
  background-color: #1a365d;
  color: #ffffff;
  border-color: #1a365d;
  box-shadow: 0 4px 10px rgba(26, 54, 93, 0.25);
}

/* --- DYNAMIC SECTION HOOKS --- */
.category-section {
  scroll-margin-top: 130px; /* Essential: Prevents header panels from swallowing title anchors on jump */
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.category-heading {
  font-size: 1.35rem;
  color: #1a365d;
  margin: 0 0 16px 10px;
  padding-left: 12px;
  border-left: 4px solid #2b6cb0; /* High contrast brand accent border */
  font-weight: 700;
}

/* --- PRODUCT DISPLAY GRID INTERFACE --- */
.product-grid {
  display: flex;
  flex-wrap: wrap;        
  justify-content: flex-start; 
  gap: 24px;              
  padding: 0 10px;
}

.product-card {
   background: #ffffff;
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
   display: flex;
   flex-direction: column;
   flex: 0 1 270px;
   transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
   position: relative;
   cursor: pointer;
   border: 2px solid transparent;
}

.product-card:hover {
   transform: translateY(-4px) scale(1.01);
}

.product-card.is-active {
   transform: translateY(-6px) scale(1.03);
   box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 10px 25px rgba(59, 130, 246, 0.2);
   border-color: #3b82f6;
}

.product-card img {
   width: 100%;
   height: 200px;
   object-fit: contain;
   padding: 12px;
   box-sizing: border-box;
   background-color: #ffffff;
   transition: transform 0.3s ease;
}

.product-card:hover img,
.product-card.is-active img {
   transform: scale(1.04);
}

.more-menu-wrapper {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.more-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.more-menu-btn:hover {
  background-color: #2b6cb0;
  border-color: #2b6cb0;
}

.more-menu-btn:hover svg {
  stroke: #ffffff;
}

.more-menu-btn svg {
  stroke: #4a5568;
  transition: stroke 0.2s ease;
  flex-shrink: 0;
}

.more-menu-btn .btn-text {
  max-width: 0;
  opacity: 0;
  display: inline-block;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.2s ease;
  vertical-align: middle;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4a5568;
  padding: 0;
  margin-left: 0;
}

.product-card.is-active .more-menu-btn {
  width: 170px;
  border-radius: 16px;
  justify-content: flex-start;
  padding-left: 6px;
}

.product-card.is-active .more-menu-btn svg {
  margin-right: 6px;
}

.product-card.is-active .more-menu-btn .btn-text {
  max-width: 140px;
  opacity: 1;
  padding: 2px 6px;
  margin-left: 2px;
}

.product-card.is-active .more-menu-btn:hover {
  background-color: #2b6cb0;
}

.product-card.is-active .more-menu-btn:hover .btn-text {
  color: #ffffff;
}

.product-card.is-active .more-menu-btn:hover svg {
  stroke: #ffffff;
}

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

.product-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: #2d3748;
  line-height: 1.3;
}

.product-condition {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 12px;
}

.product-price {
   font-size: 1.25rem;
   font-weight: 700;
   color: #1a365d; 
   margin-top: auto; 
   margin-bottom: 14px;
}

/* Button & Counter Controller Layout Rules */
.add-to-cart-btn {
  display: block;
  text-align: center;
  background-color: #2b6cb0; 
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.add-to-cart-btn:hover {
  background-color: #2c5282;
}

.add-to-cart-btn:active, .whatsapp-checkout-btn:active {
  transform: scale(0.98); /* Instant tactical click response */
}

.quantity-controller button:active {
  background-color: #e2e8f0 !important;
}

.qty-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #2d3748;
}

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

.qty-input {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #2d3748;
}

.qty-input:focus {
  outline: none;
  border-color: #2b6cb0;
}

/* --- FLOATING BANNER --- */
.cart-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #1a365d;
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(26, 54, 93, 0.35);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-banner:hover {
  transform: scale(1.05);
}

.cart-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-count {
  background-color: #e53e3e;
  color: white;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* --- SIDE SLIDE PANEL --- */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -360px; 
  width: 320px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.cart-sidebar.open {
  right: 0;
}

/* Sidebar Custom Precision Scrollbar */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto; 
  padding: 20px;
}

.cart-items-container::-webkit-scrollbar {
  width: 5px;
}
.cart-items-container::-webkit-scrollbar-track {
  background: #f8fafc;
}
.cart-items-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.empty-cart-msg {
  color: #718096;
  text-align: center;
  margin-top: 40px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.cart-item-details h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: #2d3748;
}

.cart-item-details span {
  font-size: 0.85rem;
  color: #4a5568;
  font-weight: 600;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.total-section {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #2d3748;
}

.whatsapp-checkout-btn {
  display: block;
  text-align: center;
  background-color: #25D366; 
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.whatsapp-checkout-btn:hover {
  background-color: #128C7E;
}

/* --- RESPONSIFICATION MEDIA BREAKPOINTS --- */
@media (min-width: 768px) {
  .site-logo {
    max-width: 340px; 
    margin: -50px auto; 
  }
  .store-header {
    padding: 10px 20px 15px 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px; 
  }

  .store-header {
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 15px 10px 8px 10px;
    margin-bottom: 15px;
  }

  .site-logo {
    max-width: 210px;
    margin: -25px auto; 
  }
  
  .category-nav {
    justify-content: flex-start;
    margin-top: 10px;
    padding-bottom: 8px;
  }
  
  .category-btn {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .category-section {
    scroll-margin-top: 175px;
    margin-bottom: 25px;
  }

  .category-heading {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  /* Secure Crisp Dual-Column Phone Display */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    flex: none;
    border-radius: 8px;
  }

  .more-menu-btn {
    width: 26px;
    height: 26px;
  }

  .more-menu-btn svg {
    width: 16px;
    height: 16px;
  }

  .product-card.is-active .more-menu-btn {
    width: 140px;
    border-radius: 12px;
    justify-content: flex-start;
    padding-left: 4px;
  }

.product-card.is-active .more-menu-btn .btn-text {
    max-width: 120px;
    opacity: 1;
    padding: 2px 4px;
    margin-left: 2px;
    color: #4a5568;
    background-color: transparent;
  }

.product-card.is-active .more-menu-btn:hover .btn-text {
    color: #ffffff;
    background-color: transparent;
  }

  .product-card img {
    height: 130px;
    padding: 8px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .product-condition {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .product-price {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .add-to-cart-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
  }
}

/* ==========================================================================
   GLOBAL NAVIGATION BAR (SHARED)
   ========================================================================== */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 75px;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.nav-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

body.dark .nav-logo-img {
  filter: brightness(1.1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2b6cb0;
  transition: width 0.2s ease;
}

.nav-links a:hover::after, .nav-links a.active-nav::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active-nav {
  color: #1a365d;
}

.nav-cta {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(43, 108, 176, 0.25);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, 0.35);
}

/* ==========================================================================
   LANDING HERO SECTION
   ========================================================================== */
.landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(85vh - 75px);
  padding: 140px 40px 80px 40px;
  background: radial-gradient(circle at 80% 20%, rgba(219, 234, 254, 0.5) 0%, rgba(248, 250, 252, 0.9) 70%), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.2" fill="%232b6cb0" fill-opacity="0.08"/></svg>');
  background-repeat: repeat;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.hero-badge {
  background-color: #eff6ff;
  color: #1e40af;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  border: 1px solid #dbeafe;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 36px 0;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  color: white !important;
  padding: 15px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(43, 108, 176, 0.3);
  transition: all 0.2s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(43, 108, 176, 0.45);
}

.hero-btn-secondary {
  background: white;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  padding: 15px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.hero-main-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-main-card-link:hover .hero-main-card {
  transform: translateY(-8px) !important;
}

.hero-main-card {
  background: white;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 2;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.hero-main-card:hover {
  transform: translateY(-5px);
}

.hero-main-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 16px;
  background-color: #f8fafc;
}

.hero-main-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.hero-main-card-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b6cb0;
  background-color: #eff6ff;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.hero-floating-badge-1 {
  position: absolute;
  top: 10%;
  left: -12%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-weight: 700;
  font-size: 0.88rem;
  color: #16a34a;
}

.hero-floating-badge-2 {
  position: absolute;
  bottom: 15%;
  right: -8%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a365d;
}

/* ==========================================================================
   BENEFITS / VALUE PROP SECTION
   ========================================================================== */
.benefits-section {
  padding: 100px 40px;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #f8fafc;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.03);
  border-color: #e2e8f0;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.icon-blue {
  background: #eff6ff;
  color: #2b6cb0;
}

.icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

.icon-purple {
  background: #faf5ff;
  color: #8b5cf6;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   PRODUCT CATEGORIES SHOWCASE
   ========================================================================== */
.categories-showcase {
  padding: 100px 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  height: 340px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.category-card img {
  position: absolute;
  top: 24px;
  left: 24px;
  width: calc(100% - 48px);
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
  background-color: #ffffff;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card-content {
  z-index: 2;
  background: linear-gradient(to top, white 85%, rgba(255,255,255,0) 0%);
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.category-card p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.category-card-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   HOW IT WORKS (STEPS)
   ========================================================================== */
.steps-section {
  padding: 100px 40px;
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: -20px;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.step-icon {
  width: 68px;
  height: 68px;
  background: #eff6ff;
  color: #2b6cb0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 4px solid white;
  box-shadow: 0 10px 20px rgba(43, 108, 176, 0.1);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.step-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
    CONTACT & LOCATION
    ========================================================================== */
.contact-landing {
  padding: 100px 40px;
  background: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  gap: 20px;
  background: #f8fafc;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
}

.contact-card-icon {
  font-size: 1.6rem;
  color: #2b6cb0;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.contact-card-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.contact-card-details p {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.contact-form-wrapper p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 28px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.form-group input, .form-group textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #2b6cb0;
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.12);
}

.form-submit-btn {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(43, 108, 176, 0.25);
  transition: all 0.2s ease;
  width: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(43, 108, 176, 0.35);
}

/* ==========================================================================
   COMMUNICATION METHOD TOGGLE
   ========================================================================== */
.comm-toggle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background-color: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.comm-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.comm-toggle {
  display: flex;
  gap: 8px;
  background-color: #ffffff;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.comm-toggle input[type="radio"] {
  display: none;
}

.comm-option {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
  background-color: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  user-select: none;
}

.comm-option:hover {
  background-color: #edf2f7;
  color: #1a365d;
}

.comm-toggle input[type="radio"]:checked + .comm-option {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

/* WhatsApp option accent - uses green (default) */
.comm-toggle #comm-whatsapp:checked + .whatsapp-option {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

/* Email option accent - uses blue */
.comm-toggle #comm-email:checked + .email-option {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
}

/* ==========================================================================
   GLOBAL SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 40px 40px 40px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 5px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  max-width: 320px;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  flex: 2 1 500px;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 160px;
}

.footer-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: white;
}

.footer-col p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.legal-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #cbd5e1;
}

.legal-separator {
  color: #475569;
  font-size: 0.75rem;
}

body.dark .legal-links a {
  color: #64748b;
}

body.dark .legal-links a:hover {
  color: #94a3b8;
}

body.dark .legal-separator {
  color: #334155;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS FOR LANDING
   ========================================================================== */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links-grid {
    justify-content: flex-start;
    gap: 40px;
    flex-grow: 1;
  }
}

@media (max-width: 768px) {
  .main-nav {
    padding: 0 20px;
    height: 65px;
  }
  
  .nav-links, .nav-cta {
    display: none; /* Keep simple on mobile; or use simple triggers */
  }
  
  .landing-hero {
    padding: 50px 20px;
  }
  
  .benefits-section, .categories-showcase, .steps-section, .contact-landing, .site-footer {
    padding: 50px 20px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* ==========================================================================
   CATALOG PAGE POLISH AND ADJUSTMENTS
   ========================================================================== */
body.catalog-body {
  padding: 0 !important;
  background-color: #f0f4f8;
}

body.catalog-body .store-header {
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-bottom: 1px solid #e2e8f0;
  padding: 30px 20px 20px 20px;
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
}

body.catalog-body .sticky-navbar {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 35px;
  padding: 15px 40px;
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

body.catalog-body #catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px 40px;
}

@media (max-width: 768px) {
  body.catalog-body .sticky-navbar {
    padding: 10px 15px;
  }
  body.catalog-body #catalog {
    padding: 0 15px 30px 15px;
  }
}

/* ==========================================================================
    DARK THEME SYSTEM (ACTIVE WHEN body.dark IS SET)
    ========================================================================== */
body.dark {
  background-color: #080b12;
  color: #e2e8f0;
}

body.dark.landing-body {
  background-color: #05080f;
}

body.dark.catalog-body {
  background-color: #05080f;
}

/* Nav styles */
body.dark .main-nav {
  background: rgba(11, 18, 32, 0.9);
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.dark .nav-links a {
  color: #a1b1c8;
}

body.dark .nav-links a:hover, body.dark .nav-links a.active-nav {
  color: #ffffff;
}

body.dark .nav-links a::after {
  background-color: #4f9cf5;
}

body.dark .nav-cta {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

body.dark .nav-cta:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Hero Section Dark Mode */
body.dark .landing-hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.3) 0%, rgba(5, 8, 15, 0.95) 75%), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.2" fill="%234f9cf5" fill-opacity="0.06"/></svg>');
  border-bottom: 1px solid #1e293b;
}

body.dark .hero-title {
  color: #ffffff;
}

body.dark .hero-title span {
  background: linear-gradient(135deg, #60a5fa, #a1c9fd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .hero-subtitle {
  color: #a1b1c8;
}

body.dark .hero-badge {
  background-color: #1a2436;
  color: #60a5fa;
  border-color: #334155;
}

body.dark .hero-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

body.dark .hero-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.4);
}

body.dark .hero-btn-secondary {
  background: #1a2436;
  color: #e2e8f0 !important;
  border-color: #334155;
}

body.dark .hero-btn-secondary:hover {
  background: #243044;
  border-color: #475569;
}

body.dark .hero-main-card {
  background: #151f32;
  border-color: #2d3a4d;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body.dark .hero-main-card img {
  background-color: #151f32;
}

body.dark .hero-main-card-title {
  color: #ffffff;
}

body.dark .hero-main-card-tag {
  background-color: #1e40af;
  color: #93c5fd;
}

body.dark .hero-floating-badge-1, body.dark .hero-floating-badge-2 {
  background: rgba(26, 36, 54, 0.95);
  border-color: #334155;
  color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body.dark .hero-floating-badge-1 {
  color: #4ade80;
}

body.dark .hero-floating-badge-2 {
  color: #60a5fa;
}

/* Benefits Section Dark Mode */
body.dark .benefits-section {
  background: #05080f;
}

body.dark .section-header h2 {
  color: #ffffff;
}

body.dark .section-header p {
  color: #a1b1c8;
}

body.dark .benefit-card {
  background: #151f32;
  border-color: #2d3a4d;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

body.dark .benefit-card:hover {
  border-color: #475569;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

body.dark .benefit-card h3 {
  color: #ffffff;
}

body.dark .benefit-card p {
  color: #a1b1c8;
}

body.dark .icon-blue {
  background: #1e40af;
  color: #93c5fd;
}

body.dark .icon-green {
  background: #065f46;
  color: #4ade80;
}

body.dark .icon-purple {
  background: #581c87;
  color: #c084fc;
}

/* Categories Showcase Dark Mode */
body.dark .categories-showcase {
  background: #080b12;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

body.dark .category-card {
  background: #151f32;
  border-color: #2d3a4d;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

body.dark .category-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

body.dark .category-card img {
  background-color: #ffffff;
}

body.dark .category-card-content {
  background: linear-gradient(to top, #151f32 85%, rgba(21, 31, 50, 0) 100%);
}

body.dark .category-card h3 {
  color: #ffffff;
}

body.dark .category-card p {
  color: #a1b1c8;
}

body.dark .category-card-link {
  color: #60a5fa;
}

/* How It Works (Steps) Dark Mode */
body.dark .steps-section {
  background: #05080f;
}

body.dark .step-number {
  color: #0f172a;
}

body.dark .step-icon {
  background: #1e40af;
  color: #93c5fd;
  border-color: #0f172a;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

body.dark .step-card h3 {
  color: #ffffff;
}

body.dark .step-card p {
  color: #a1b1c8;
}

/* Contact Section Dark Mode */
body.dark .contact-landing {
  background: #05080f;
}

body.dark .contact-card {
  background: #151f32;
  border-color: #2d3a4d;
}

body.dark .contact-card-icon {
  background: #0c111f;
  color: #60a5fa;
}

body.dark .contact-card-details h3 {
  color: #ffffff;
}

body.dark .contact-card-details p {
  color: #a1b1c8;
}

body.dark .contact-form-wrapper {
  background: #151f32;
  border-color: #2d3a4d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

body.dark .contact-form-wrapper h3 {
  color: #ffffff;
}

body.dark .contact-form-wrapper p {
  color: #a1b1c8;
}

body.dark .form-group label {
  color: #cbd5e1;
}

body.dark .form-group input, body.dark .form-group textarea {
  background: #0c111f;
  border-color: #334155;
  color: #ffffff;
}

body.dark .form-group input:focus, body.dark .form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

body.dark .form-submit-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

body.dark .form-submit-btn:hover {
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Footer Dark Mode */
body.dark .site-footer {
  background: #030508;
  border-top: 1px solid #1e293b;
}

/* ==========================================================================
    CATALOG PAGE DARK THEME OVERRIDES
    ========================================================================== */
body.dark.catalog-body {
  background-color: #05080f;
}

body.dark.catalog-body .store-header {
  background: linear-gradient(135deg, #0c111f, #151f32);
  border-bottom: 1px solid #1e293b;
  background-color: #0c111f;
}

body.dark.catalog-body .store-header h1 {
  color: #ffffff;
}

body.dark.catalog-body .store-header p {
  color: #60a5fa;
}

body.dark.catalog-body .store-header .logo-container {
  background: transparent;
  display: inline-block;
}

body.dark.catalog-body .site-logo {
  filter: brightness(1.1) contrast(1.1);
}

body.dark.landing-body .site-logo {
  filter: brightness(1.1) contrast(1.1);
}

body.dark.catalog-body .sticky-navbar {
  background-color: rgba(11, 18, 32, 0.95);
  border-bottom: 1px solid #1e293b;
}

body.dark.catalog-body #product-search {
  background-color: #151f32;
  border-color: #334155;
  color: #ffffff;
}

body.dark.catalog-body #product-search:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

body.dark.catalog-body .category-btn {
  background-color: #151f32;
  border-color: #334155;
  color: #cbd5e1;
}

body.dark.catalog-body .category-btn:hover {
  background-color: #334155;
  color: #ffffff;
}

body.dark.catalog-body .category-btn.active {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

body.dark.catalog-body .category-heading {
  color: #ffffff;
  border-left-color: #3b82f6;
}

body.dark.catalog-body .product-card {
  background: #151f32;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

body.dark.catalog-body .product-card:hover {
  box-shadow: 0 10px 15px rgba(0,0,0,0.4);
}

body.dark.catalog-body .product-info h3 {
  color: #ffffff;
}

body.dark.catalog-body .product-condition {
  color: #a1b1c8;
}

body.dark.catalog-body .product-price {
  color: #60a5fa;
}

body.dark.catalog-body .qty-btn {
  background: #334155;
  border: 1px solid #475569;
  color: #ffffff;
}

body.dark.catalog-body .qty-btn:hover {
  background: #475569;
}

body.dark.catalog-body .qty-input {
  background: #151f32;
  border: 1px solid #475569;
  color: #ffffff;
}

body.dark.catalog-body .qty-input:focus {
  border-color: #3b82f6;
}

body.dark.catalog-body .add-to-cart-btn {
  background-color: #3b82f6;
}

body.dark.catalog-body .add-to-cart-btn:hover {
  background-color: #2563eb;
}

/* More menu button dark mode */
body.dark.catalog-body .more-menu-btn {
  background-color: rgba(26, 36, 54, 0.9);
  border-color: #334155;
}

body.dark.catalog-body .more-menu-btn:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

body.dark.catalog-body .more-menu-btn svg {
  stroke: #a1b1c8;
}

/* Floating Banner */
body.dark.catalog-body .cart-banner {
  background-color: #3b82f6;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Cart Sidebar */
body.dark.catalog-body .cart-sidebar {
  background: #0c111f;
  border-left: 1px solid #1e293b;
}

body.dark.catalog-body .cart-item-details h4 {
  color: #ffffff;
}

body.dark.catalog-body .cart-item-details span {
  color: #a1b1c8;
}

body.dark.catalog-body .total-section {
  color: #cbd5e1;
}

body.dark.catalog-body .cart-sidebar-footer {
  background: #151f32;
  border-top: 1px solid #1e293b;
}
/* --- DESKTOP AND MOBILE REPAIRS --- */
.nav-hamburger, .nav-mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none !important;
  }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 10px;
  }
  .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #1a365d;
    transition: all 0.3s ease;
    border-radius: 3px;
  }
  body.dark .hamburger-line {
    background-color: #e2e8f0;
  }
  .nav-hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
  }
  .nav-hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
  }

  .nav-mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  body.dark .nav-mobile-menu {
    background: rgba(11, 18, 32, 0.98);
  }
  .nav-mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .nav-mobile-links li a {
    text-decoration: none;
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
  }
  body.dark .nav-mobile-links li a {
    color: #a1b1c8;
  }
  .nav-mobile-cta {
    margin: 20px auto 0;
    display: inline-block;
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
  }
}
.close-btn{
  background-color: #475569; /* Rich slate gray */
  color: #ffffff;            /* Crisp white */
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 20px;
  margin-top: 20px;
  font-weight: 800;
  font-size: 1.5rem;
}