@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* General Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Layout Utility */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 95%;
  position: relative;
  overflow: visible;
  /* Never clip absolute children like mega menu */
}

:root {
  --primary-green: #3ec35d;
  /* Vibrant Emerald Green */
  --hover-green: #059669;
}

/* Skeleton Pulse Animation */
@keyframes pulse {
  0% {
    opacity: 0.6;
    background-color: #f1f5f9;
  }

  50% {
    opacity: 1;
    background-color: #e2e8f0;
  }

  100% {
    opacity: 0.6;
    background-color: #f1f5f9;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* =====================================================
   1. TOP NAVBAR — Professional One-Line Design
   ===================================================== */
.top-navbar-new {
  background: #3ec35d;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

/* navbar-row = full-width flex container */
.navbar-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.main-logo-img {
  height: 105px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

/* Nav — takes remaining space, centered */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition:
    left 0.25s,
    right 0.25s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  left: 0;
  right: 0;
}

/* Top Action Buttons (Log In / Order) — right side */
.top-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.btn-login {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 7px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: flex;
}

/* Auth Visibility Helpers */
body.is-logged-in #navLoginBtn {
  display: none !important;
}

body.is-logged-in #navUserName,
body.is-logged-in #usbUserBtn {
  color: white !important;
}


.btn-place-order {
  background: white;
  color: #3ec35d;
  padding: 7px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
}

.btn-place-order:hover {
  background: #f0fff4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* 2. Secondary Header / Unified Search Bar - legacy classes kept for other pages */

.secondary-header-row {
  background: white;
  padding: 15px 5% 15px 5%;
  border-bottom: 1px solid #eee;
}

.secondary-flex {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

/* 🔥 Unified Search Bar Refined Styling */
.unified-search-bar {
  background: #f8f9fa;
  padding: 12px 5%;
  border-bottom: 1px solid #e9ecef;
}

.usb-inner {
  display: flex;
  gap: 15px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.usb-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: white;
  border: none !important;
  border-radius: 50px;
  padding: 2px 2px 2px 18px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.usb-search:focus-within {
  box-shadow: 0 6px 20px rgba(47, 170, 79, 0.15);
  border-color: var(--hover-green);
  transform: translateY(-1px);
}

.usb-search-icon {
  color: #888;
  font-size: 16px;
  margin-right: 12px;
}

.usb-input {
  border: none !important;
  outline: none !important;
  width: 100%;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background: transparent;
}

.usb-search-btn {
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 0 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(47, 170, 79, 0.2);
  height: 44px;
  margin: 2px;
}

.usb-search-btn i {
  font-size: 13px;
}

.usb-search-btn:hover {
  background: var(--hover-green);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(33, 140, 58, 0.3);
}

.usb-search-btn:active {
  transform: scale(0.98);
}

/* 📍 Location Field Styling */
.usb-location {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 100px;
  padding: 10px 20px;
  gap: 10px;
}

.usb-location-icon {
  color: var(--primary-green);
  font-size: 16px;
}

/* 🔍 Search Dropdown Results */
.search-dropdown-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  display: none;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #eee;
}

.search-dropdown-results.active {
  display: block;
  animation: slideUpFade 0.3s ease;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 15px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f8f9fa;
}

.search-result-item:hover {
  background: #f0fff4;
}

.search-result-item img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 6px;
  background: #f8f9fa;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.search-result-cat {
  font-size: 12px;
  color: #888;
}

.search-result-price {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 14px;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-field,
.location-field {
  border: 1.5px solid #3ec35d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 45px;
  background: white;
}

.search-field {
  flex: 1.5;
}

.location-field {
  flex: 1;
}

.search-field input,
.location-field input {
  border: none;
  outline: none;
  width: 100%;
  margin-left: 10px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  color: #333;
}

.search-field i {
  color: #555;
  font-size: 18px;
}

.location-field i {
  color: #3ec35d;
  font-size: 18px;
}

.btn-download-app-new {
  height: 45px;
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-download-app-new:hover {
  background: #218c3a;
}

.btn-download-app-new i {
  font-size: 18px;
}

.btn-user-cart-new {
  height: 45px;
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s;
  position: relative;
}

.btn-user-cart-new:hover {
  background: #218c3a;
}

.badge-new {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* 3. Categories Nav Line */
.categories-line {
  background: white;
  padding: 0 5%;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
  /* Positioning context for dropdown */
  overflow: visible;
  /* Must not clip the dropdown */
  z-index: 1 !important;
}

.cat-links-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 15px;
  padding: 8px 0;
}

.cat-links-row::-webkit-scrollbar {
  height: 6px;
}

.cat-links-row::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 10px;
}

.cat-links-row .nav-item {
  text-decoration: none;
  color: #333;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 5px;
}

.cat-links-row .nav-item:hover {
  color: #82c033;
}

.cat-links-row .nav-item i {
  transition: transform 0.3s ease;
}

.cat-links-row .nav-item:hover i {
  transform: rotate(180deg);
}

.search-bar-section {
  display: flex;
  padding: 16px 2%;
  gap: 16px;
  align-items: center;
}

.search-input-container,
.location-input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--primary-green);
  border-radius: 10px;
  padding: 8px 16px;
  background-color: white;
}

.search-input-container input,
.location-input-container input {
  border: none;
  outline: none;
  padding: 6px 10px;
  width: 100%;
  font-size: 16px;
  color: #333;
  font-family: inherit;
  font-weight: 500;
}

.search-input-container input::placeholder {
  color: #000;
  font-weight: 500;
}

.search-input-container .icon {
  color: #333;
  font-size: 18px;
}

.location-input-container .icon {
  color: var(--primary-green);
  font-size: 20px;
}

.btn-download {
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.btn-download:hover,
.btn-cart:hover,
.btn-view-all:hover {
  background-color: var(--hover-green);
}

.btn-view-all {
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s;
  text-transform: uppercase;
}

.btn-cart {
  display: none;
  /* Replaced by user-actions-group */
}

/* User Actions Group (Header Pill) */
.user-actions-group {
  background-color: var(--primary-green);
  color: white;
  border-radius: 50px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-icon-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.action-icon-btn:hover {
  transform: scale(1.1);
}

.action-icon-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4d4d;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary-green);
}

.action-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 300;
}

/* 3. Categories section */
.categories-section {
  padding: 12px 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #000;
}

.categories-section a {
  color: #000;
  text-decoration: none;
  text-transform: capitalize;
}

.categories-section a:hover {
  color: var(--primary-green);
}

/* 4. Hero Section (Premium UI) */
.premium-hero {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
    url("https://oforwfnazulpesdqovxf.supabase.co/storage/v1/object/public/images/assets/hero1_1779519450101.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 550px;
  position: relative;
  z-index: 1;
  /* Ensure it stays behind dropdowns */
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero-overlay-content {
  max-width: 800px;
}

.huge-hero-title {
  font-size: 80px;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.huge-hero-subtitle {
  font-size: 40px;
  font-weight: 700;
  color: #3ec35d;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
}

.hero-tagline {
  font-size: 22px;
  color: #f1f1f1;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-trust-features {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}

.hero-tagline-title {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.hero-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-list li {
  font-size: 17px;
  color: #f1f1f1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.hero-feature-list li i {
  color: #3ec35d;
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.mobile-hero-brand {
  display: none;
}

.new-branch-badge {
  position: absolute;
  bottom: 25px;
  /* Sits perfectly inside the bottom of the hero image */
  left: 4%;
  display: inline-block;
  background: #3ec35d;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(47, 170, 79, 0.5);
  margin: 0;
  z-index: 10;
}

.branch-badge {
  margin-left: 5%;
  background-color: #3ec35d;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(47, 170, 79, 0.5);
  animation: floating 3s ease-in-out infinite;
  cursor: default;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* 5. Slogan Banner */
.slogan-banner {
  background: #3ec35d;
  color: white;
  padding: 20px 5%;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

/* 6. Medical Services Section (After Hero) */
.services-section {
  padding: 80px 5% 40px;
  background-image: url("assets/doctor-hero.jpeg");
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.services-grid-wrapper {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.clinics-green-wrapper {
  background: #3ec35d;
  padding: 20px;
  border-radius: 30px;
  border: 4px solid #3ec35d;
  box-shadow: 0 10px 40px rgba(47, 170, 79, 0.4);
}

.premium-clinic-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border: 1px solid #ddd;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.premium-clinic-card:hover {
  transform: translateY(-10px);
}

.premium-clinic-img-wrapper {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.premium-clinic-img-wrapper img,
.premium-clinic-img-wrapper picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.premium-clinic-card:hover .premium-clinic-img-wrapper img,
.premium-clinic-card:hover .premium-clinic-img-wrapper picture img {
  transform: scale(1.05);
}

.premium-clinic-info {
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #194a28;
  color: white;
  min-height: 50px;
}

.premium-clinic-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.services-action-row {
  margin-top: 60px;
  display: flex;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

.pill-btn {
  background: #3ec35d;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border: 1px solid #289a44;
  box-shadow: 0 4px 10px rgba(47, 170, 79, 0.15);
  text-decoration: none;
  height: auto;
  line-height: normal;
}

.pill-btn.outline {
  background: #3ec35d;
  color: white;
}

.pill-btn:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 0 3px #ffffff,
    0 12px 25px rgba(47, 170, 79, 0.4);
  background: #218c3a;
  border-color: #218c3a;
}

/* Shop by Category Section */
.shop-by-category {
  padding: 60px 4%;
  background: #fff;
}

.category-container {
  max-width: 1300px;
  margin: 0 auto;
}

.cat-section-title {
  color: #3ec35d;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 25px;
  margin-left: 5px;
}

.category-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.category-card-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px 15px 25px;
  background: #ffffff;
  border: 2px solid #3ec35d;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 80px;
}

.category-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(47, 170, 79, 0.15);
}

.category-card-new img {
  max-height: 140px;
  width: auto;
  max-width: 55%;
  object-fit: contain;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

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

.category-info-new {
  flex: 1;
}

.category-info-new h3 {
  color: #111;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.category-info-new p {
  color: #888;
  font-size: 12px;
  font-weight: 600;
}

.otc-card {
  grid-column: 1 / 2;
}

.hero-category-buttons a:hover {
  color: var(--primary-green);
}

/* 5. After Hero Section */
.after-hero-section {
  background-image: url("https://oforwfnazulpesdqovxf.supabase.co/storage/v1/object/public/images/assets/after-hero/mainbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 2%;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clinics-container {
  width: 45%;
  /* Taking up the left side */
}

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

.clinic-card {
  background: white;
  border: 3px solid white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.clinic-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  filter: grayscale(80%) brightness(0.6);
  /* Muted state */
  transition: filter 0.4s ease;
}

.clinic-card:hover .clinic-image {
  filter: grayscale(0%) brightness(1);
  /* Bright on hover */
}

.clinic-label {
  background-color: #1b5e20;
  /* Darker green from the image labels */
  color: white;
  text-align: center;
  padding: 8px 5px;
  font-size: 14px;
  font-weight: 700;
}

.action-buttons-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 0 10px 0;
  gap: 20px;
}

.action-btn {
  flex: 1;
  background-color: #29a545;
  color: white;
  border: 3px solid #3ec35d;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 4px solid #fff;
  /* White inner space feel */
  outline-offset: -8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  background-color: #1b5e20;
  border-color: #1b5e20;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
}

.action-btn:active {
  transform: translateY(0);
}

.action-btn .icon {
  font-size: 24px;
}

/* 6. Middle Green Banner */
.middle-banner {
  background-color: #3ec35d;
  color: white;
  text-align: center;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 500;
}

/* 7. Shop by Category Section (Homepage) */
.shop-by-category {
  padding: 60px 2%;
  background-color: #fff;
}

.section-title {
  color: var(--primary-green);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 25px;
}

.category-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(47, 170, 79, 0.15);
  background-color: #f9fffb;
  border-color: var(--hover-green);
}

.category-card:hover .category-img {
  transform: scale(1.1) rotate(5deg);
}

.category-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 20px;
  transition: transform 0.4s ease;
}

.category-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000;
}

.category-info p {
  font-size: 14px;
  color: #666;
}

/* 8. Products Page Styles */
.products-hero {
  background-color: var(--primary-green);
  color: white;
  padding: 60px 2%;
  text-align: center;
}

.products-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.products-hero p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-search-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 5px;
  overflow: hidden;
}

.hero-search-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 25px;
  font-size: 16px;
}

.hero-search-container .btn-search {
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
}

/* Filter Section */
.filter-section {
  padding: 30px 2%;
  background: #f9f9f9;
}

.price-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.price-filter label {
  font-weight: 700;
  color: #333;
}

.price-filter input {
  width: 100px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.btn-apply-filter {
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
}

.category-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
  gap: 10px;
  white-space: nowrap;
}

.category-pills::-webkit-scrollbar {
  height: 6px;
}

.category-pills::-webkit-scrollbar-thumb {
  background-color: #3ec35d;
  border-radius: 10px;
}

.category-pills::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.pill {
  padding: 8px 20px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.pill:hover,
.pill.active {
  background-color: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 2%;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(47, 170, 79, 0.2);
}

.product-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateX(0);
}

.overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #3ec35d;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 170, 79, 0.25);
  font-size: 18px;
}

.overlay-btn:hover {
  background: linear-gradient(135deg, #37bc5a 0%, #29a345 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(47, 170, 79, 0.4);
}

.btn-add-cart {
  background: #3ec35d;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  color: var(--primary-green);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-info .old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Wishlist Icon */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background-color: white;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.wishlist-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Hide FontAwesome glyph */
.wishlist-btn i.fa-heart::before {
  display: none !important;
}

/* Use the actual heart image */
.wishlist-btn i.fa-heart {
  display: block;
  width: 100%;
  height: 100%;
  background: url("assets/wishlisthearimage/increase_its_qulaity_202604070302.png") center/100% no-repeat;
  mix-blend-mode: multiply;
}

/* Active/wishlisted state — filled heart */
.wishlist-btn.active i.fa-heart,
.wishlist-btn i.fa-solid.fa-heart {
  background-color: #efc8d8;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 40px 0 80px;
}

.page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #ddd;
}

.page-num.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.page-num:hover:not(.active) {
  background: #f0f0f0;
}

/* 9. Slider Container */
.slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.slider-container.horizontal {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 10px;
}

.slider-section {
  padding: 20px 2%;
  background-color: #fff;
}

.slider-section .section-title {
  margin-bottom: 20px;
}

/* Scrollable Grid */
.slider-container.horizontal .products-grid {
  flex: 1;
  overflow-x: hidden;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}

/* Fixed Width for Product Cards in Slider */
.slider-container.horizontal .products-grid .product-card {
  flex: 0 0 calc(16.66% - 16.66px);
  min-width: 190px;
  margin-bottom: 0;
}

.slider-container.horizontal .product-image-container {
  height: 180px;
}

.slider-container.horizontal .product-info {
  padding: 12px;
}

.slider-container.horizontal .product-title {
  font-size: 14px;
  height: 38px;
  margin-bottom: 8px;
}

.slider-container.horizontal .product-price {
  font-size: 15px;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

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

.slider-btn.prev {
  left: -10px;
}

.slider-btn.next {
  right: -10px;
}

/* 10. Cart Sidebar */
#cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 99999999 !important;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

#cart-sidebar.active {
  right: 0;
}

.cart-header {
  background-color: var(--primary-green);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.cart-items::-webkit-scrollbar {
  display: none;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
}

.cart-item-remove {
  color: #ff4d4d;
  cursor: pointer;
}

.cart-footer {
  padding: 25px;
  border-top: 2px solid #eee;
  background: #fcfcfc;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.btn-checkout {
  width: 100%;
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999998 !important;
  display: none;
}

#sidebar-overlay.active {
  display: block;
}

/* 11. Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 25px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

/* =========================================================
   PREMIUM PRODUCT DETAILS OVERHAUL (HEAVY UI)
   ========================================================= */

#product-details-container {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #2d3436;
}

.details-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 20px 80px -20px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 80px;
  padding: 70px;
  max-width: 1300px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.details-image {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbf9 100%);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  border: 1px solid #f0f0f0;
  min-height: 500px;
}

.authentic-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(47, 170, 79, 0.1);
  color: var(--primary-green);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(47, 170, 79, 0.2);
  z-index: 2;
}

.details-main-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

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

.info-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.details-category-path {
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.stock-status-pill {
  background: #f0fdf4;
  color: #166534;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  animation: pulseStatus 2s ease-out infinite;
}

@keyframes pulseStatus {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.details-title {
  font-family: "Outfit", sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.details-rating-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.rating-stars {
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.rating-value {
  color: #0f172a;
  font-weight: 800;
  margin-left: 8px;
}

.review-count {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.details-price-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 35px;
}

.details-price {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-green);
}

.details-old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 20px;
  font-weight: 600;
}

.details-description {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 50px;
  font-size: 17px;
  max-width: 90%;
  padding-bottom: 30px;
  border-bottom: 1px solid #f1f5f9;
}

.details-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-detail-add-cart,
.btn-detail-shop-now,
.btn-detail-wishlist {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Outfit", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-detail-add-cart {
  background: #0f172a;
  color: white;
  min-width: 160px;
}

.btn-detail-shop-now {
  background: var(--primary-green);
  color: white;
  min-width: 160px;
}

.btn-detail-wishlist {
  background: #f8fafc;
  color: #444;
  border: 1px solid #e2e8f0;
  min-width: 180px;
}

.btn-detail-add-cart:hover,
.btn-detail-shop-now:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.btn-detail-wishlist:hover {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fda4af;
}

/* Tabs System Stylings */
.details-tabs {
  margin-top: 100px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.tabs-header {
  display: flex;
  gap: 50px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 40px;
}

.tab-item {
  padding: 15px 0;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.tab-item.active {
  color: var(--primary-green);
}

.tab-item.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .details-card {
    flex-direction: column;
    padding: 40px;
    gap: 40px;
  }

  .details-title {
    font-size: 38px;
  }
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-green);
}

.tab-content {
  display: none;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

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

/* Ads Section */
.ads-banner-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 2%;
  max-width: 1400px;
  width: 100%;
  margin: 10px auto 40px auto;
}

.ad-card {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

/* 13. Our Clinic Services */
.clinic-services-section {
  padding: 40px 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 0 auto;
  background-color: #f8f9fa;
  /* Light neutral background */
}

.clinic-services-title {
  color: #3ec35d;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  margin-left: 20px;
}

.clinic-services-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2%;
}

.clinic-card {
  background: white;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: none;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.clinic-card:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.clinic-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
  filter: brightness(0.95);
  display: block;
}

.clinic-card .clinic-label {
  background: #2b563b;
  color: white;
  text-align: center;
  padding: 15px 16px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  border-radius: 0 0 30px 30px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 14. Brands Section */
.brands-section {
  padding: 20px 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 60px auto;
}

.brands-title {
  color: #3ec35d;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  margin-left: 5%;
}

.brands-grid {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 5%;
}

.brand-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #111;
  box-sizing: border-box;
  transition: all 0.3s ease;
  width: calc(20% - 15px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.brand-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ad-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(47, 170, 79, 0.4);
  border-color: var(--primary-green);
}

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

/* Form Modals */
.form-modal {
  max-width: 450px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.toast-notification.fade-out {
  opacity: 0;
  transform: translate(-50%, 30px);
  transition: all 0.5s;
}

/* 15. Medicine Brands */
.medicine-brands-section {
  padding: 20px 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 60px auto;
}

.med-brands-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2%;
}

.med-brand-card {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.med-brand-card img {
  max-width: 320px;
  max-height: 180px;
  object-fit: contain;
}

/* Footer Section */
.main-footer {
  background-color: var(--primary-green);
  color: white;
  padding: 50px 4%;
  font-size: 14px;
}

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

.footer-brand {
  flex: 2;
}

.footer-logo {
  max-height: 120px;
  width: auto;
  max-width: 320px;
  margin-bottom: 5px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 400px;
  font-size: 13px;
}

.footer-links-grid {
  flex: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-column p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 13px;
}

.footer-column ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- New Product Slider Styles (Recreated) --- */
.slider-container {
  position: relative;
  width: 100%;
}

.slider-container.horizontal {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Scrollable Grid */
.slider-container.horizontal .products-grid {
  flex: 1 !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 5px !important;
}

/* Fixed Width for Product Cards in Slider */
.slider-container.horizontal .products-grid .product-card {
  flex: 0 0 calc(25% - 15px) !important;
  min-width: 240px !important;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .slider-container.horizontal .products-grid .product-card {
    flex: 0 0 calc(33.333% - 13px) !important;
    min-width: 220px !important;
  }
}

@media (max-width: 768px) {
  .slider-container.horizontal .products-grid .product-card {
    flex: 0 0 calc(50% - 10px) !important;
    min-width: 180px !important;
  }
}

@media (max-width: 480px) {
  .slider-container.horizontal .products-grid .product-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
}

.slider-container.horizontal .product-image-container {
  height: 250px;
}

.slider-container.horizontal .product-info {
  padding: 12px;
}

.slider-container.horizontal .product-title {
  font-size: 15px;
  height: 40px;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.slider-btn.prev {
  left: -20px;
}

.slider-btn.next {
  right: -20px;
}

/* =========================================================
   PREMIUM UI OVERHAUL CSS
   ========================================================= */

/* Global Enhancements */
html {
  scroll-behavior: smooth;
}

/* 1. Header / Navigation Improvement */
.premium-header {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.premium-search {
  border: 2px solid var(--primary-green) !important;
  background: #ffffff !important;
  border-radius: 50px !important;
  padding: 4px 6px 4px 20px !important;
  transition: all 0.3s ease;
  width: 100%;
  height: 52px !important;
  box-shadow: 0 4px 15px rgba(47, 170, 79, 0.08) !important;
  display: flex;
  align-items: center;
}

.premium-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  background: transparent;
}

.premium-search:focus-within {
  box-shadow: 0 6px 20px rgba(47, 170, 79, 0.2) !important;
  transform: translateY(-1px);
}

.search-action-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 50px;
  height: 100%;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-action-btn:hover {
  background: #218c3a;
}

.search-icon-left {
  color: #888;
  margin-right: 12px;
  font-size: 17px;
}

.premium-mega-nav {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-bottom: none;
  padding: 15px 5%;
  position: relative;
  z-index: 50 !important;
}

.premium-mega-nav .cat-links-row {
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: #3ec35d #f1f1f1;
}

.premium-mega-nav .cat-links-row::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.premium-mega-nav .cat-links-row::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.premium-mega-nav .cat-links-row::-webkit-scrollbar-thumb {
  background: #3ec35d;
  border-radius: 10px;
}

.premium-mega-nav .cat-links-row::-webkit-scrollbar-thumb:hover {
  background: #218c3a;
}

.premium-mega-nav .nav-item {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.premium-mega-nav .nav-item:hover {
  background: rgba(47, 170, 79, 0.1);
  color: var(--primary-green);
}

.premium-mega-nav .nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-green);
  transition: width 0.3s ease;
  border-radius: 50px;
}

.premium-mega-nav .nav-item:hover::after {
  width: 60%;
}

/* 2. Announcement Marquee */
.marquee-container {
  background: #3ec35d;
  color: white;
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

  100% {
    transform: translateX(-100%);
  }
}

/* 3. Clinic Service Cards - Premium V2 Redesign */
.clinic-services-section {
  padding: 60px 0 80px;
  background: #f8fbf9;
}

.clinic-services-title {
  color: var(--primary-green);
  font-family: "Outfit", sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 45px;
  margin-left: 5%;
}

.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  /* Slightly wider gap for better spacing */
  padding: 0 4%;
  /* Wider spread for 'Acha size' */
  max-width: 1400px;
  margin: 0 auto;
}

.clinic-card-v2 {
  background: white;
  border: 3.5px solid white;
  border-radius: 24px;
  /* Slightly deeper corners for premium feel */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  height: 220px;
  /* Increased height for better presence */
}

.clinic-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(47, 170, 79, 0.22);
}

.clinic-card-v2 .clinic-img-wrap {
  height: 76%;
  width: 100%;
  overflow: hidden;
}

.clinic-card-v2 .clinic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.clinic-card-v2:hover .clinic-img-wrap img {
  transform: scale(1.1);
}

.clinic-label-v2 {
  height: 24%;
  background: #1a422e;
  /* Dark green banner */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 15px;
}

.clinic-label-v2 h4 {
  margin: 0;
  font-size: 15px;
  /* Scaled back up slightly */
  font-weight: 700;
  line-height: 1.2;
  color: white;
}

@media (max-width: 1200px) {
  .premium-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .premium-services-grid {
    grid-template-columns: 1fr;
  }

  .clinic-services-title {
    font-size: 28px;
    text-align: center;
    margin-left: 0;
  }

  .clinic-card-v2 {
    height: 280px;
  }
}

/* 4. Product Cards */
.premium-product-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.premium-product-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
  transform: translateY(-5px);
}

.premium-image-container {
  height: 240px;
  padding: 0;
  background: #ffffff;
  /* White so image borders blend seamlessly */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
}

.premium-image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* Covers entire block */
  transition: transform 0.4s ease;
}

.premium-product-card:hover .premium-image-container img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff4757;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.premium-product-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.premium-category {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
}

/* 12. Perfumes Section Styles */
.perfumes-section {
  padding: 60px 0 20px;
  background: #ffffff;
}

.perfumes-title {
  color: var(--primary-green);
  font-family: "Outfit", sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 35px;
  margin-left: 5%;
}

.perfumes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.perfume-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.perfume-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 170, 79, 0.15);
}

.perfume-img-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  aspect-ratio: 1 / 1.1;
  position: relative;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.perfume-card:hover .perfume-img-box {
  background: #ffffff;
}

.perfume-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.perfume-card:hover .perfume-img-box img {
  transform: scale(1.08);
}

.perfume-title-text {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
  padding: 0 4px;
}

.perfume-price-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 15px;
  padding: 0 4px;
}

.perfume-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 0 2px;
}

.btn-perfume-order {
  flex: 1;
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 12px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(47, 170, 79, 0.2);
  text-decoration: none;
}

.btn-perfume-order:hover {
  background: linear-gradient(135deg, #37bc5a 0%, #29a345 100%);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(47, 170, 79, 0.35);
}

.btn-perfume-order:active {
  transform: scale(0.95);
}

.btn-perfume-wishlist {
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.3s ease;
}

.btn-perfume-wishlist:hover {
  background: #fff1f2;
  border-color: #fda4af;
  color: #e11d48;
  transform: scale(1.05);
}

.btn-perfume-wishlist.active {
  background: #fff1f2;
  border-color: #fb7185;
  color: #e11d48;
}

/* 11.5 Cosmetics Section Styles */
.cosmetics-section {
  padding: 30px 0 30px;
  background: #ffffff;
}

.cosmetics-title {
  color: var(--primary-green);
  font-family: "Outfit", sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 35px;
  margin-left: 5%;
}

.cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.cosm-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.cosm-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(62, 195, 93, 0.15);
  border: 2px solid #3ec35d;
}

.cosm-img-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  aspect-ratio: 1 / 1.1;
  position: relative;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cosm-card:hover .cosm-img-box {
  background: #ffffff;
}

.cosm-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cosm-card:hover .cosm-img-box img {
  transform: scale(1.08);
}

.cosm-badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff4757 0%, #e84118 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
  letter-spacing: 0.5px;
}

.cosm-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ffa502 0%, #ff7f50 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 165, 2, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
}

.cosm-original-price {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 500;
}

.cosm-title-text {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
  padding: 0 4px;
}

.cosm-price-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 15px;
  padding: 0 4px;
}

.cosm-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 0 2px;
}

.btn-cosm-order {
  flex: 1;
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 12px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(47, 170, 79, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-cosm-order::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: none;
}

.btn-cosm-order:hover::after {
  animation: shimmer-btn 1.5s infinite;
}

@keyframes shimmer-btn {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.btn-cosm-order:hover {
  background: linear-gradient(135deg, #37bc5a 0%, #29a345 100%);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(47, 170, 79, 0.35);
}

.btn-cosm-order:active {
  transform: scale(0.95);
}

.btn-cosm-wishlist {
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.3s ease;
}

.btn-cosm-wishlist:hover {
  background: #fff1f2;
  border-color: #fda4af;
  color: #e11d48;
  transform: scale(1.05);
}

.btn-cosm-wishlist.active {
  background: #fff1f2;
  border-color: #fb7185;
  color: #e11d48;
}

.btn-cosm-wishlist i {
  font-size: 16px;
}

@media (max-width: 1200px) {

  .cosmetics-grid,
  .perfumes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {

  .cosmetics-grid,
  .perfumes-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none;
  }

  .cosm-card,
  .perfume-card {
    flex: 0 0 160px;
  }
}

.premium-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.premium-product-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  border-bottom: 1px dashed #e2e2e2;
  padding-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.price-action-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.premium-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green);
}

.premium-old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
  margin-top: 2px;
}

.premium-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.wishlist-btn-premium {
  background: #fcfcfc;
  color: #999;
  border: 1px solid #eee;
  border-radius: 50%;
  /* Make circular */
}

.wishlist-btn-premium.active,
.wishlist-btn-premium:hover {
  background: #fff0f0;
  color: #ff4757;
  border-color: #ff4757;
}

.cart-btn-text-premium {
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(47, 170, 79, 0.25);
}

.cart-btn-text-premium.icon-only {
  width: 40px !important;
  min-width: 40px;
  padding: 0 !important;
}

.cart-btn-text-premium i {
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cart-btn-text-premium:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #37bc5a 0%, #29a345 100%);
  box-shadow: 0 8px 20px rgba(47, 170, 79, 0.4);
}

.cart-btn-text-premium:active {
  transform: scale(0.95);
}

@media (max-width: 600px) {
  .action-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .cart-btn-text-premium {
    height: 30px;
    padding: 0 10px;
    font-size: 10px;
    gap: 4px;
  }
}

/* 6. Trusted Brands Auto-Slider */
.unified-brands-section {
  padding: 60px 0;
  background: #fcfcfc;
  overflow: hidden;
}

.premium-brands-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin-bottom: 40px;
}

.brands-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.brands-track {
  display: flex;
  width: calc(250px * 16);
  /* Estimate total width */
  animation: scroll-brands 30s linear infinite;
  gap: 30px;
}

.brand-card-premium {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #f5f5f5;
  padding: 15px;
}

.brand-card-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.brand-card-premium img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-card-premium:hover img {
  transform: scale(1.1);
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-230px * 8));
  }
}

/* 7. Footer Redesign */
/* =========================================================
   ULTRA-PREMIUM GREEN FOOTER (2026 BRAND REVAMP)
   ========================================================= */
.premium-footer {
  background: var(--primary-green);
  /* Solid brand-green background */
  padding: 50px 5% 30px;
  /* Reduced for more compact feel */
  color: white !important;
  border-top: none;
  position: relative;
  /* Anchoring for Floating Action Buttons */
}

.premium-footer .footer-container {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr;
  /* 3-column professional grid */
  gap: 60px;
  /* Reduced from 80px */
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Left Column: Brand & Mission */
.footer-brand-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Reduced from 30px */
}

.footer-logo-white {
  height: 180px;
  /* Dramatically increased to match reference photo */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Force white for green background */
}

.footer-mission-text {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  max-width: 450px;
  font-weight: 600;
}

/* Middle Column: Contact Info */
.footer-contact-new {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Reduced from 25px */
}

.footer-title-white {
  font-family: "Outfit", sans-serif;
  color: white;
  font-size: 19px;
  /* Slightly smaller for balance */
  font-weight: 800;
  margin-bottom: 20px;
  /* Reduced from 30px */
  position: relative;
  padding-bottom: 8px;
}

.footer-title-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: white;
  border-radius: 10px;
}

.contact-row-premium {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-size: 15px;
  font-weight: 600;
}

.contact-link-premium {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}

.contact-link-premium:hover .contact-row-premium {
  color: #4ade80;
}

.contact-row-premium i {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Right Column: Socials & Map */
.footer-location-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Reduced from 20px */
}

.social-strip-premium {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.social-strip-icon {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.social-strip-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Social Branding Colors */
.ss-fb {
  color: #1877f2;
}

.ss-ig {
  color: #e4405f;
}

.ss-tt {
  color: #000000;
}

.ss-yt {
  color: #ff0000;
}

.ss-wa {
  color: #25d366;
}

/* Redefined Map for Green Context */
.footer-map-premium-wrap {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.footer-map-premium-wrap iframe {
  width: 100%;
  height: 180px;
  /* Compact height */
  display: block;
}

.footer-copyright-white {
  text-align: center;
  margin-top: 50px;
  /* Reduced from 80px */
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .premium-footer .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .premium-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-mission-text {
    max-width: 100%;
  }
}

/* =========================================================
   ULTRA-MOBILE RESPONSIVENESS (340px - 480px)
   ========================================================= */

body {
  overflow-x: clip;
}

@media (max-width: 480px) {

  /* Top Header Optimization */
  .header-flex {
    flex-direction: column;
    gap: 15px;
    padding: 15px 5%;
  }

  .nav-links {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: 100vw;
    padding-bottom: 5px;
    justify-content: flex-start;
    gap: 15px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .top-buttons {
    width: 100%;
    justify-content: space-between;
  }

  /* Secondary Action Bar Wrap */
  .secondary-flex {
    flex-wrap: wrap;
    gap: 15px;
  }

  .premium-search {
    flex: 0 0 100%;
    padding: 4px 6px 4px 15px !important;
    height: 48px !important;
    margin-bottom: 5px;
  }

  .btn-download-app-new,
  .btn-user-cart-new {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px !important;
  }

  .search-action-btn {
    padding: 0 16px;
    font-size: 13px;
  }

  .search-icon-left {
    font-size: 15px;
    margin-right: 10px;
  }

  /* Mega Navigation Swipe */
  .premium-mega-nav .cat-links-row {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .premium-mega-nav .cat-links-row::-webkit-scrollbar {
    height: 3px;
  }

  .premium-mega-nav .cat-links-row::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {

  /* Safe Bounds for 340px width screens */
  .search-action-btn {
    padding: 0 12px;
    font-size: 12px;
  }

  .premium-search input {
    font-size: 12px;
  }

  .btn-download-app-new,
  .btn-user-cart-new {
    padding: 8px 10px;
    font-size: 12px !important;
  }

  /* Squeezing Card Internal Padding */
  .premium-product-info {
    padding: 15px 12px;
  }

  .premium-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .premium-clinic-card {
    padding: 15px;
  }

  /* Extreme Footer Compression */
  .premium-footer {
    padding: 40px 0 20px 0;
  }

  .premium-footer .footer-container {
    gap: 20px;
  }

  .premium-footer .footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
  }

  .social-icons-row {
    flex-wrap: wrap;
  }
}

/* =========================================================
   PROFESSIONAL AUTHENTICATION SYSTEM STYLES
   ========================================================= */

.auth-page-body {
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  background-image:
    radial-gradient(at 0% 0%, rgba(47, 170, 79, 0.05) 0, transparent 50%),
    radial-gradient(at 50% 0%, rgba(47, 170, 79, 0.03) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(47, 170, 79, 0.05) 0, transparent 50%);
}

.auth-container {
  width: 100%;
  max-width: 520px;
  /* Increased for professional feel */
  padding: 20px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.98);
  /* Slightly more opaque */
  backdrop-filter: blur(15px);
  border-radius: 28px;
  padding: 50px 45px;
  /* More breathing room */
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 25px 40px -10px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-logo-img {
  height: 125px;
  /* Upscaled for better visibility in Login/Signup */
  width: auto;
  margin-bottom: 25px;
  object-fit: contain;
  /* High-precision filter to match --primary-green (#3ec35d) */
  filter: invert(49%) sepia(34%) saturate(762%) hue-rotate(85deg) brightness(97%) contrast(92%);
}

.auth-title {
  font-family: "Outfit", sans-serif;
  font-size: 34px;
  /* Increased for bolder branding */
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.auth-subtitle {
  color: #64748b;
  font-size: 15px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.auth-input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-left: 4px;
}

.auth-input-group i {
  position: absolute;
  left: 16px;
  top: 42px;
  color: #94a3b8;
  font-size: 18px;
  transition: color 0.3s;
}

.auth-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(47, 170, 79, 0.1);
}

.auth-input:focus+i {
  color: var(--primary-green);
}

.btn-auth-submit {
  background: var(--primary-green);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-auth-submit:hover {
  background: var(--hover-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(47, 170, 79, 0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #64748b;
}

.auth-footer a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.auth-footer a:hover {
  text-decoration: underline;
  color: var(--hover-green);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card {
  animation: fadeInUp 0.5s ease-out forwards;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 30px 20px;
  }
}

/* =========================================================
   PREMIUM FOOTER MAP STYLES
   ========================================================= */
.footer-map-container {
  width: 100%;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  background: #111;
}

.footer-map-container:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 15px 40px rgba(47, 170, 79, 0.2);
}

.footer-map-container iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.1);
  /* Give it a slightly professional look */
  transition: filter 0.3s ease;
}

.footer-map-container:hover iframe {
  filter: grayscale(0);
}

.map-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.get-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--primary-green) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.3s ease;
}

.get-directions-link:hover {
  gap: 12px;
}

/* Global Floating Action Buttons (FABs) */
.footer-fab-link {
  position: fixed;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  z-index: 100;
}

#footer-call-fab {
  background: var(--primary-green, #3ec35d);
  color: white;
}

#footer-call-fab:hover {
  background: var(--hover-green, #218c3a);
  color: white !important;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

#footer-wa-fab {
  background: #25d366;
  color: white;
}

#footer-wa-fab:hover {
  background: #20ba5a;
  color: white !important;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.fab-left {
  left: 30px;
}

.fab-right {
  right: 30px;
}

@media (max-width: 768px) {
  .footer-fab-link {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 20px;
  }

  .fab-left {
    left: 20px;
  }

  .fab-right {
    right: 20px;
  }
}

/* =========================================================
   ULTIMATE MOBILE RESPONSIVENESS (NO DESKTOP IMPACT)
   ========================================================= */
@media (max-width: 850px) {

  /* Top Navbar */
  .top-navbar-new {
    flex-direction: column;
    height: auto;
    padding: 15px 5%;
    gap: 15px;
  }

  .logo-flex-container {
    gap: 12px;
  }

  .main-logo-img {
    height: 65px;
  }

  .brand-name-main {
    font-size: 26px;
  }

  .brand-tagline {
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* Scrollable Horizontal Nav Links */
  .top-navbar-new nav {
    width: 100%;
  }

  .nav-links {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
  }

  .nav-links::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .top-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Secondary Navbar */
  .secondary-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .premium-search {
    max-width: 100%;
  }

  .btn-download-app-new,
  .btn-user-cart-new {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Product Details Layout */
  .details-card {
    padding: 24px !important;
    gap: 24px !important;
    border-radius: 20px !important;
  }

  .premium-details-container {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .details-image img {
    max-height: 250px;
  }

  .details-title {
    font-size: 26px !important;
  }

  .details-actions {
    flex-direction: column;
  }

  .btn-detail-add-cart,
  .btn-detail-shop-now,
  .btn-detail-wishlist {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-logo-img {
    height: 85px;
  }

  .brand-name-main {
    font-size: 22px;
  }

  .brand-tagline {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .btn-login,
  .btn-place-order {
    padding: 10px 15px;
    font-size: 14px;
    flex: 1;
    text-align: center;
  }

  .top-buttons {
    gap: 10px;
  }
}

/* =============================================================
   COMPLETE RESPONSIVE OVERHAUL
   Mobile First: 320px → 767px | Tablet: 768px → 1024px
   ============================================================= */

/* ─── HAMBURGER MENU ─── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  z-index: 1100;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navbar row (logo + hamburger side by side on mobile) */
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Mobile menu overlay (clickable transparent backdrop) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* ─── TABLET (768px – 1024px) ─── */
@media (max-width: 1024px) {

  /* Navbar */
  .top-navbar-new {
    height: auto;
    padding: 12px 4%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-logo-img {
    height: 70px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .btn-login,
  .btn-place-order {
    padding: 9px 18px;
    font-size: 14px;
  }

  /* Secondary Header */
  .secondary-flex {
    flex-wrap: wrap;
    gap: 10px;
  }

  .premium-search {
    height: 46px !important;
  }

  /* Hero */
  .hero-section {
    height: 380px;
    background-size: cover;
  }

  .branch-badge {
    font-size: 18px;
    padding: 12px 22px;
  }

  /* Services */
  .services-section {
    padding: 30px 4% 50px;
    min-height: 450px;
    justify-content: flex-end;
  }

  .services-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-action-row {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
  }

  .pill-btn {
    font-size: 15px;
    padding: 16px 20px;
    flex: none;
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    height: auto;
  }

  /* Category grid */
  .category-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card-new img {
    max-height: 110px;
  }

  /* Cosmetics / Perfumes grids */
  .cosmetics-grid,
  .perfumes-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Clinic Services */
  .premium-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .premium-footer .footer-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  .footer-location-new {
    grid-column: 1 / -1;
  }

  /* Ads */
  .ads-banner-section {
    flex-direction: column;
  }

  .ad-card {
    width: 100%;
  }

  /* Product grid */
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
  }

  /* Product Details */
  .details-card {
    flex-direction: column !important;
    padding: 36px !important;
    gap: 30px !important;
  }

  .details-title {
    font-size: 32px !important;
  }

  .details-image {
    min-height: 300px !important;
  }

  /* Brands track */
  .brand-card-premium {
    width: 160px;
    height: 100px;
  }
}

/* ─── MOBILE (max 767px) ─── */
@media (max-width: 767px) {

  /* -------- NAVBAR -------- */
  .hamburger-btn {
    display: flex;
  }

  .top-navbar-new {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 12px 5%;
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 1060;
  }

  .navbar-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .main-logo-img {
    height: 55px;
  }

  /* Nav slides down from top on mobile */
  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      padding 0.3s ease;
  }

  .main-nav.mobile-open {
    max-height: 400px;
    padding-top: 12px;
  }

  .nav-links {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
    list-style: none;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 5px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: white !important;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  /* Top buttons slide-in with nav on mobile */
  .top-buttons {
    display: none;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    padding: 12px 0 4px;
  }

  .top-buttons.mobile-open {
    display: flex;
  }

  .top-buttons .btn-login,
  .top-buttons .btn-place-order {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 14px;
  }

  /* -------- SEARCH HEADER -------- */
  .secondary-flex {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .premium-search {
    width: 100%;
    max-width: 100%;
    height: 48px !important;
  }

  .btn-download-app-new,
  .btn-user-cart-new {
    width: auto !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .usb-inner {
    flex-direction: row;
    gap: 6px;
    padding: 0;
    width: 100%;
    align-items: center;
  }

  .usb-search {
    flex: 1;
    min-width: 0;
    padding: 2px 2px 2px 12px;
    height: 40px !important;
    overflow: hidden;
  }

  .usb-input {
    font-size: 13px;
    width: 100%;
  }

  .usb-search-btn {
    padding: 0 12px;
    font-size: 12px;
    height: 36px;
    gap: 5px;
  }

  .usb-search-btn span {
    display: none;
    /* Hide 'Search' text on mobile */
  }

  .usb-location {
    display: none;
    /* Hide location on mobile to save space */
  }

  /* -------- CATEGORIES NAV -------- */
  .premium-mega-nav {
    padding: 10px 0;
    overflow: visible !important;
    position: relative;
    z-index: 51 !important;
  }

  .premium-mega-nav .container {
    overflow: visible !important;
    padding: 0 4%;
  }

  .cat-links-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* CRITICAL FIX: Must be static so it doesn't trap the absolute dropdowns inside the overflow */
    position: static !important;
  }

  .cat-links-row::-webkit-scrollbar {
    display: none;
  }

  .nav-item-dropdown {
    position: static !important;
  }

  /* Attached Mobile Fix: Absolute relative to the whole category bar */
  .dropdown-content-simple {
    position: absolute !important;
    top: 100% !important;
    /* Immediately below the category bar */
    left: 4% !important;
    width: 92% !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    display: none;
    background: white !important;
  }

  .dropdown-content-simple::-webkit-scrollbar {
    display: none;
  }

  .nav-item-dropdown:hover .dropdown-content-simple {
    display: block !important;
  }

  /* Level 3: Nested vertically inside the dropdown */
  .nested-dropdown-content {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid #f1f1f1 !important;
    display: none;
    padding-left: 20px !important;
    background: #f9fafb !important;
  }

  .nested-dropdown:hover .nested-dropdown-content,
  .nested-dropdown:active .nested-dropdown-content {
    display: block !important;
  }

  /* Make sub-category chevrons more visible */
  .nested-dropdown>a {
    background: #f9fafb !important;
    font-weight: 600 !important;
  }

  .cat-links-row::-webkit-scrollbar {
    display: none;
  }

  .premium-mega-nav .nav-item {
    font-size: 13px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  /* -------- HERO (MOBILE) -------- */
  .premium-hero {
    height: 380px;
    padding: 0 4%;
    justify-content: flex-start;
    padding-top: 40px;
    align-items: flex-start;
  }

  /* -------- MOBILE HERO TEXT -------- */
  .hero-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .huge-hero-title {
    font-size: 36px;
    /* Reduced from 62px to prevent overflow */
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
  }

  .huge-hero-subtitle {
    font-size: 26px;
    font-weight: 700;
    color: #3ec35d;
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 4px;
  }

  .hero-tagline {
    font-size: 24px;
    color: #f1f1f1;
    margin: 10px 0 20px 0;
  }

  .new-branch-badge {
    position: absolute;
    bottom: 20px;
    left: 4%;
    font-size: 13px;
    padding: 10px 20px;
    margin: 0;
  }

  /* -------- MARQUEE -------- */
  .marquee-content {
    font-size: 13px;
  }

  /* -------- SERVICES SECTION -------- */
  .services-section {
    padding: 20px 3% 30px;
    min-height: 350px;
    background-position: center top;
    justify-content: flex-end;
  }

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

  .services-action-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }

  .pill-btn {
    font-size: 15px;
    padding: 16px 20px;
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    height: auto;
  }

  /* -------- SHOP BY CATEGORY -------- */
  .shop-by-category {
    padding: 30px 4%;
  }

  .cat-section-title {
    font-size: 22px;
  }

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

  .category-card-new {
    min-height: 70px;
    padding: 12px 15px;
    border-radius: 14px;
  }

  .category-card-new img {
    max-height: 80px;
  }

  .category-info-new h3 {
    font-size: 15px;
  }

  .category-info-new p {
    font-size: 11px;
  }

  /* -------- COSMETICS / PRODUCTS GRIDS -------- */
  .cosmetics-section {
    padding: 20px 0 10px;
  }

  .cosmetics-title,
  .perfumes-title {
    font-size: 24px !important;
    margin-bottom: 20px;
    margin-left: 4%;
  }

  .cosm-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px 4% !important;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
  }

  /* Hide slider buttons on mobile since we use grid now */
  [id^="btn-prev-dynamic-grid"],
  [id^="btn-next-dynamic-grid"],
  [id^="btn-prev-dynamic-top-selling"],
  [id^="btn-next-dynamic-top-selling"] {
    display: none !important;
  }

  .cosm-card {
    flex: none !important;
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    height: auto !important;
    min-height: 260px !important;
  }

  .cosm-img-box,
  .perfume-img-box {
    padding: 10px;
  }

  .cosm-title-text,
  .perfume-title-text {
    font-size: 12px;
    height: auto;
    min-height: 32px;
  }

  .cosm-price-text,
  .perfume-price-text {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .btn-cosm-order,
  .btn-perfume-order {
    flex: 1;
    height: 38px;
    font-size: 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .btn-cosm-wishlist,
  .btn-perfume-wishlist {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
  }

  /* -------- ADS BANNERS -------- */
  .ads-banner-section {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 4%;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
  }

  .ad-card {
    width: 100%;
    border-radius: 10px;
  }

  /* -------- CLINIC SERVICES -------- */
  .clinic-services-section {
    padding: 30px 0 40px;
  }

  .clinic-services-title {
    font-size: 22px;
    margin-left: 4%;
  }

  .premium-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 0 4%;
  }

  .clinic-card-v2 {
    height: 180px;
    border-radius: 16px;
  }

  .clinic-label-v2 h4 {
    font-size: 12px;
  }

  /* -------- BRANDS SLIDER -------- */
  .unified-brands-section {
    padding: 30px 0;
  }

  .premium-brands-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .brand-card-premium {
    width: 130px;
    height: 80px;
    padding: 10px;
  }

  /* -------- PRODUCTS PAGE -------- */
  .products-hero {
    padding: 35px 4%;
  }

  .products-hero h1 {
    font-size: 24px;
  }

  .products-hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-search-container {
    max-width: 100%;
  }

  .hero-search-container input {
    padding: 10px 15px;
    font-size: 14px;
  }

  .filter-section {
    padding: 20px 4%;
  }

  .price-filter {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  /* Global mobile overflow lock to prevent horizontal scrolling or right-side clipping */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .price-filter input {
    width: 80px;
  }

  .category-pills {
    gap: 8px;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .pill {
    font-size: 12px;
    padding: 6px 14px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 20px 4% !important;
  }

  .product-image-container {
    height: 180px !important;
  }

  .product-info {
    padding: 12px !important;
  }

  .product-title {
    font-size: 13px !important;
    height: auto !important;
    min-height: 36px;
    margin-bottom: 6px;
  }

  .product-price {
    font-size: 15px !important;
  }

  .product-category {
    font-size: 11px;
  }

  /* -------- PRODUCT DETAILS PAGE -------- */
  .details-card {
    flex-direction: column !important;
    padding: 20px !important;
    gap: 20px !important;
    border-radius: 16px !important;
    margin: 0 4%;
  }

  .details-image {
    min-height: 240px !important;
    padding: 30px !important;
    border-radius: 16px;
  }

  .details-main-img {
    max-height: 220px !important;
  }

  .details-title {
    font-size: 22px !important;
    letter-spacing: 0 !important;
  }

  .details-price {
    font-size: 28px !important;
  }

  .details-old-price {
    font-size: 16px !important;
  }

  .details-description {
    font-size: 14px !important;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .details-actions {
    flex-direction: column !important;
    gap: 10px;
  }

  .btn-detail-add-cart,
  .btn-detail-shop-now,
  .btn-detail-wishlist {
    width: 100% !important;
    min-width: unset !important;
    justify-content: center;
    font-size: 14px;
    height: 48px;
  }

  .details-tabs {
    margin-top: 40px !important;
    margin: 40px 4% 0;
  }

  .tabs-header {
    gap: 20px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tab-item {
    font-size: 14px;
    white-space: nowrap;
  }

  .info-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .authentic-badge {
    position: static;
    margin-bottom: 10px;
  }

  /* -------- FOOTER -------- */
  .premium-footer {
    padding: 35px 5% 80px;
  }

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

  .footer-logo-white {
    height: 100px;
  }

  .footer-mission-text {
    font-size: 13px;
    max-width: 100%;
  }

  .footer-title-white {
    font-size: 16px;
  }

  .contact-row-premium {
    font-size: 13px;
  }

  .footer-map-premium-wrap iframe {
    height: 150px;
  }

  .footer-copyright-white {
    margin-top: 30px;
    font-size: 12px;
  }

  /* FAB buttons smaller on mobile */
  .footer-fab-link {
    width: 46px;
    height: 46px;
    font-size: 20px;
    bottom: 15px;
  }

  .fab-left {
    left: 15px;
  }

  .fab-right {
    right: 15px;
  }

  /* -------- CART SIDEBAR -------- */
  #cart-sidebar {
    width: 100% !important;
    right: -100% !important;
  }

  #cart-sidebar.active {
    right: 0 !important;
  }

  /* -------- AUTH PAGES (Login/Signup) -------- */
  .auth-page-body {
    align-items: flex-start;
    padding-top: 30px;
  }

  .auth-container {
    padding: 15px;
  }

  .auth-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .auth-title {
    font-size: 26px;
  }

  .auth-logo-img {
    height: 90px;
  }

  /* -------- WISHLIST PAGE -------- */
  .container {
    padding: 30px 4%;
  }

  /* -------- PAGINATION -------- */
  .pagination {
    gap: 6px;
    padding: 20px 0 60px;
  }

  .page-num {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }

  /* -------- SLIDER BUTTONS HIDDEN MOBILE -------- */
  .slider-btn {
    display: none;
  }

  .slider-container.horizontal .products-grid {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .slider-container.horizontal .products-grid::-webkit-scrollbar {
    display: none;
  }

  .slider-container.horizontal .products-grid .product-card {
    flex: 0 0 calc(50% - 8px) !important;
    min-width: 160px !important;
  }
}

/* ─── EXTRA SMALL (max 420px) ─── */
@media (max-width: 420px) {
  .main-logo-img {
    height: 48px;
  }

  .branch-badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  /* Single column categories on very small phones */
  .cosmetics-grid,
  .perfumes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Single column products on very small phones */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

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

  .pill-btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  .category-grid-new {
    gap: 8px;
  }

  .cosm-title-text,
  .perfume-title-text {
    font-size: 11px;
  }

  .cosm-price-text,
  .perfume-price-text {
    font-size: 13px;
  }

  .details-title {
    font-size: 20px !important;
  }

  .details-price {
    font-size: 24px !important;
  }

  .search-action-btn {
    padding: 0 10px;
    font-size: 12px;
  }

  .premium-search input {
    font-size: 13px;
  }

  .btn-login,
  .btn-place-order {
    padding: 6px 10px;
    font-size: 12px;
  }

  .footer-logo-white {
    height: 80px;
  }

  .social-strip-premium {
    gap: 8px;
    padding: 6px 12px;
  }

  .social-strip-icon {
    font-size: 18px;
  }
}

/* =============================================================
   UNIFIED SEARCH BAR (New compact single-line header)
   ============================================================= */
.unified-search-bar {
  background: #ffffff;
  padding: 10px 5%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #eef2ef;
  position: relative;
  z-index: 200;
}

.usb-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Search and Location Fields */
.usb-search,
.usb-location {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #3ec35d;
  border-radius: 8px;
  padding: 0 15px;
  height: 44px;
  transition: box-shadow 0.3s ease;
}

.usb-search:focus-within,
.usb-location:focus-within {
  box-shadow: 0 0 0 3px rgba(47, 170, 79, 0.12);
}

.usb-search-icon {
  color: #555555;
  font-size: 16px;
  flex-shrink: 0;
  margin-right: 12px;
}

.usb-location-icon {
  color: #3ec35d;
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 12px;
}

.usb-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  font-weight: 500;
}

.usb-input::placeholder {
  color: #111;
  font-weight: 500;
}

/* Actions Group */
.usb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Base button */
.usb-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* App button */
.usb-app-btn {
  background: #3ec35d;
  color: white;
  padding: 0 20px;
  height: 44px;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.usb-app-btn:hover {
  background: #218c3a;
}

/* User & Cart Combined Group */
.usb-user-cart-group {
  display: flex;
  align-items: center;
  background: #3ec35d;
  height: 44px;
  border-radius: 8px;
  padding: 0 20px;
  gap: 15px;
  color: white;
}

.usb-user-cart-group i {
  font-size: 18px;
  transition: transform 0.2s;
}

.usb-user-cart-group i:hover {
  transform: scale(1.1);
}

.usb-user-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.usb-app-btn i {
  font-size: 15px;
}

/* Icon buttons (profile + cart) */
.usb-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #555;
  font-size: 17px;
  position: relative;
  border: 1.5px solid #eee;
  background: #fafafa;
}

.pill.active {
  background: #3ec35d;
  color: white;
  border-color: #3ec35d;
}

.sub-pill,
.tag-pill {
  border-radius: 8px !important;
}

.subcategory-header {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subcategory-header .vertical-bar {
  width: 3px;
  height: 18px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

.usb-icon-btn:hover {
  background: #f0fdf4;
  color: #3ec35d;
  border-color: #3ec35d;
  transform: translateY(-1px);
}

/* Cart badge */
.usb-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  pointer-events: none;
}

/* =============================================================
   NAVBAR + UNIFIED SEARCH BAR — RESPONSIVE
   ============================================================= */

/* ── Desktop (≥768px): everything in one horizontal row ── */
@media (min-width: 768px) {
  .top-navbar-new {
    flex-direction: row !important;
    height: 72px !important;
  }

  .navbar-row {
    flex-direction: row !important;
  }

  .main-nav {
    display: flex !important;
    max-height: none !important;
    overflow: visible !important;
    flex: 1;
    justify-content: center;
  }

  .nav-links {
    flex-direction: row !important;
  }

  .top-buttons {
    display: flex !important;
  }

  .hamburger-btn {
    display: none !important;
  }
}

/* ── Mobile (≤767px): hamburger layout ── */
@media (max-width: 767px) {
  .top-navbar-new {
    height: auto !important;
    padding: 10px 5% !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Row 1: Logo + Hamburger side by side */
  .navbar-row {
    flex-wrap: wrap;
    gap: 0 !important;
  }

  .brand-logo {
    flex: 1;
  }

  .main-logo-img {
    height: 48px;
  }

  /* Hamburger visible on mobile */
  .hamburger-btn {
    display: flex !important;
  }

  /* Nav links: hidden by default, slide down */
  .main-nav {
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    order: 10;
    /* go to next line */
  }

  .main-nav.mobile-open {
    max-height: 320px;
  }

  .nav-links {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
    padding: 8px 0 4px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px 4px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links a::after {
    display: none;
  }

  /* Top buttons: hidden, appear below nav when open */
  .top-buttons {
    flex: 0 0 100%;
    display: none !important;
    order: 11;
    padding: 8px 0 4px;
    gap: 10px;
  }

  .top-buttons.mobile-open {
    display: flex !important;
    justify-content: flex-start;
  }

  .top-buttons .btn-login,
  .top-buttons .btn-place-order {
    flex: 1;
    text-align: center;
    max-width: 160px;
  }

  /* Unified search bar on mobile - reduced size to fit perfectly */
  .unified-search-bar {
    padding: 8px 4%;
  }

  .usb-inner {
    gap: 8px;
  }

  /* Hide location input on mobile completely, as requested */
  .usb-location {
    display: none !important;
  }

  .usb-app-btn span {
    display: none;
  }

  .usb-app-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    font-size: 15px;
    justify-content: center;
  }

  .usb-search {
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .usb-input {
    font-size: 13px;
  }

  .usb-user-cart-group {
    height: 36px;
    padding: 0 12px;
    gap: 12px;
    border-radius: 8px;
  }

  .usb-user-cart-group i {
    font-size: 16px !important;
    display: inline-block !important;
    color: white !important;
  }

  .usb-app-btn i {
    font-size: 16px !important;
    display: inline-block !important;
    color: white !important;
  }

  .usb-search-icon {
    display: inline-block !important;
    font-size: 14px !important;
    color: #555 !important;
    margin-right: 8px !important;
  }

  .usb-user-divider {
    height: 18px;
  }

  /* Product action icons visibility fix */
  .cosm-actions button i,
  .perfume-actions button i,
  .btn-cosm-order i,
  .btn-cosm-wishlist i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px !important;
  }
}

/* ── Extra Small (≤420px) ── */
@media (max-width: 420px) {
  .usb-search-btn {
    display: none;
  }

  /* Very small - remove search text button */
  .usb-search {
    border-radius: 8px;
  }

  .usb-btn {
    border-radius: 8px;
  }
}

/* -------------------------------------------------------------
   DOCTORS PAGE STYLES
   ------------------------------------------------------------- */
.doctors-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  padding: 40px 0 20px;
  text-align: center;
  border-bottom: 1px solid #eef2ef;
}

.doctors-title-main {
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.doctors-subtitle {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.doctors-section-grid {
  padding: 30px 5% 80px;
  background: #ffffff;
}

.doctors-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-card-premium {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2ef;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.doctor-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(47, 170, 79, 0.1);
  border-color: var(--primary-green);
}

.doctor-img-box {
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
  position: relative;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid var(--primary-green);
}

.doctor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #3ec35d;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  border: 2px solid white;
}

.doctor-info h3 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #111;
}

.doctor-spec {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

.doctor-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #666;
}

.doctor-meta span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.whatsapp-doc-btn {
  width: 100%;
  background: #3ec35d;
  color: white;
  border: none;
  border-radius: 10px;
  height: 40px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-doc-btn:hover {
  background: #218c3a;
}

@media (max-width: 1024px) {
  .doctors-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .doctors-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .doctors-title-main {
    font-size: 28px;
  }

  .doctors-subtitle {
    font-size: 14px;
  }

  .doctors-section-grid {
    padding: 25px 5%;
  }
}

/* -------------------------------------------------------------
   PIXEL-PERFECT DVAGO CLONE (ELITE)
   ------------------------------------------------------------- */
.nav-item-dropdown {
  position: static;
}

.mega-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 600px;
  background: #ffffff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  padding: 0;
  z-index: 99999;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  display: flex;
  align-items: stretch;
  /* Children fill full height */
  overflow: hidden;
  /* Clip everything to panel height */
  height: 450px;
  /* Exactly 11 sidebar items tall */
  right: auto;

  /* Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

.nav-item-dropdown:hover .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sidebar — sets the panel height via its 11 items */
.mega-sidebar {
  width: 230px;
  min-width: 230px;
  background: #f7f8f9;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  /* Clip at panel boundary */
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
}

.mega-sidebar::-webkit-scrollbar {
  width: 4px;
}

.mega-sidebar::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.side-item {
  padding: 11px 15px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s;
  border-bottom: 1px solid #efefef;
  position: relative;
  flex-shrink: 0;
}

.side-item i.side-main-icon {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  color: #3ec35d;
  font-size: 1em;
  flex-shrink: 0;
}

.side-item:hover,
.side-item.active {
  background: #3ec35d;
  /* Bashir Sons brand green */
  color: #ffffff;
}

/* The Pointed Arrow Caret */
.side-item.active::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #3ec35d;
  z-index: 10;
}

.side-item:hover i.side-main-icon,
.side-item.active i.side-main-icon {
  color: #ffffff;
}

.side-item i.fa-chevron-right {
  font-size: 10px;
  opacity: 0.35;
  flex-shrink: 0;
}

.side-item:hover i.fa-chevron-right,
.side-item.active i.fa-chevron-right {
  opacity: 1;
}

/* Details pane — scrolls within the 450px panel height */
.mega-details-pane {
  flex: 1;
  padding: 0;
  background: #ffffff;
  overflow-y: auto;
  /* Scroll when items exceed 450px */
  overflow-x: hidden;
  border-radius: 0 10px 10px 0;
}

.mega-details-pane::-webkit-scrollbar {
  width: 5px;
}

.mega-details-pane::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.mega-details-pane::-webkit-scrollbar-thumb {
  background: #3ec35d;
  border-radius: 5px;
}

.mega-details-pane::-webkit-scrollbar-thumb:hover {
  background: #218c3a;
}

.details-content {
  display: none;
  animation: dvagoSlide 0.3s ease forwards;
}

.details-content.active {
  display: block;
}

@keyframes dvagoSlide {
  from {
    opacity: 0;
    transform: translateX(5px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.details-header {
  display: none;
  /* Removed for cleaner look matching image */
}

.details-grid {
  display: flex;
  flex-direction: column;
}

.details-grid a {
  font-size: 13px;
  color: #444;
  text-decoration: none;
  padding: 10px 18px;
  transition: all 0.15s;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  border-left: 3px solid transparent;
  /* For hover accent */
}

.details-grid a:hover {
  background: #3ec35d;
  /* Green background on hover */
  color: #ffffff;
  /* White text on hover */
  border-left-color: #1e8c40;
  /* Darker green left accent */
  padding-left: 22px;
  /* Subtle indent */
}

.mega-sub-header {
  padding: 8px 20px;
  background: #f7f8f9;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 1px solid #efefef;
}

@media (max-width: 900px) {
  .mega-menu-panel {
    width: calc(100vw - 20px) !important;
    left: 0 !important;
    height: 400px !important;
    border-radius: 0 0 10px 10px;
  }

  .mega-sidebar {
    width: 200px;
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .mega-menu-panel {
    flex-direction: column;
    height: auto;
  }

  .mega-sidebar {
    width: 100%;
    overflow-y: unset;
  }

  .mega-details-pane {
    display: none;
  }
}

/* =========================================================
   MEDICINE CATEGORY PAGE STYLES
   ========================================================= */

.medicine-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 5%;
}

.med-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #888;
  margin-bottom: 25px;
}

.med-breadcrumb a {
  color: #3ec35d;
  text-decoration: none;
  font-weight: 500;
}

.med-breadcrumb i {
  font-size: 10px;
}

.med-cat-header {
  margin-bottom: 30px;
}

.med-cat-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #2b563b;
  margin: 0;
  border-left: 5px solid #3ec35d;
  padding-left: 15px;
}

/* Horizontal Sub-Category Navigation */
.subcat-nav-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  overflow-y: visible;
  /* Try to allow vertical overflow */
  padding: 10px 5px 150px 5px;
  /* Large bottom padding to contain dropdowns */
  margin-bottom: -140px;
  /* Negative margin to offset the padding */
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.subcat-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.subcat-nav-item {
  flex-shrink: 0;
  position: relative;
}

.subcat-btn {
  padding: 10px 24px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.subcat-btn:hover,
.subcat-btn.active {
  background: #f0fdf4;
  border-color: #3ec35d;
  color: #3ec35d;
  box-shadow: 0 4px 12px rgba(47, 170, 79, 0.1);
}

/* Dropdown on Hover */
.subcat-dropdown {
  position: absolute;
  top: 50px;
  /* Adjusted to sit below the button */
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.subcat-nav-item:hover .subcat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.subcat-dropdown-item {
  padding: 10px 15px;
  font-size: 14px;
  color: #4b5563;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.subcat-dropdown-item:hover {
  background: #f8fafc;
  color: #3ec35d;
}

/* Product Grid Adjustments */
.med-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .med-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .med-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Simple Dropdown for Category Links */
.nav-item-dropdown.simple-dropdown {
  display: inline-block;
}

.dropdown-content-simple {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 240px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  padding: 0;
  top: auto;
  left: auto;
  border: 1px solid #e0e0e0;
}

.dropdown-content-simple::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #65a30d;
  z-index: 10;
}

/* Invisible bridge to fix hover gap */
.dropdown-content-simple::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.dropdown-content-simple a {
  color: #111;
  padding: 12px 18px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-content-simple a:last-child {
  border-bottom: none;
}

.dropdown-content-simple a:hover {
  background-color: #f9f9f9;
}

.simple-dropdown:hover .dropdown-content-simple {
  display: block;
  animation: fadeInDown 0.3s ease;
}

/* Level 3 Nested Dropdown */
.nested-dropdown {
  position: relative;
}

/* Fix bottom border for dropdown wrappers */
.nested-dropdown {
  border-bottom: 1px solid #f1f1f1;
}

.nested-dropdown:last-child {
  border-bottom: none;
}

.nested-dropdown>a {
  border-bottom: none !important;
}

.nested-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1001;
  padding: 0;
  border: 1px solid #e0e0e0;
}

/* Invisible bridge for horizontal hover gap */
.nested-dropdown::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  width: 15px;
  height: 100%;
  background: transparent;
  z-index: 1000;
}

.nested-dropdown:hover .nested-dropdown-content {
  display: block;
  animation: fadeInSide 0.2s ease;
}

@keyframes fadeInSide {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   PREMIUM DYNAMIC MEGA MENU STYLES
   ========================================================= */
.mega-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 600px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 15px 15px;
  z-index: 1000;
  flex-direction: row;
  overflow: hidden;
  border: 1px solid #eee;
  animation: fadeInMega 0.3s ease;
}

@keyframes fadeInMega {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item-dropdown {
  position: static;
}

.nav-item {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border-radius: 8px;
}

.nav-item-dropdown:hover .nav-item {
  background-color: #f1f8e9;
  color: #82c033;
}

/* Category indicator line */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #82c033;
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-item-dropdown:hover .nav-item::after {
  width: 60%;
}

.nav-item-dropdown:hover .mega-menu-panel {
  display: flex;
}

.mega-sidebar {
  width: 220px;
  background-color: #f8fafc;
  border-right: 1px solid #eee;
  padding: 10px 0;
}

.side-item {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s;
}

.side-item:hover,
.side-item.active {
  background-color: #82c033;
  color: white;
}

.side-main-icon {
  margin-right: 10px;
  font-size: 0.9em;
  opacity: 0.8;
}

.mega-details-pane {
  flex: 1;
  padding: 10px 0;
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.details-content {
  display: none;
}

.details-content.active {
  display: block;
}

.details-header {
  display: none;
  /* User wants it compact like the screenshot */
}

.details-grid {
  display: flex;
  flex-direction: column;
}

.details-grid a {
  padding: 12px 25px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.2s;
}

.details-grid a:hover {
  background-color: #f8fafc;
  color: #82c033;
  padding-left: 30px;
}

.details-grid a:last-child {
  border-bottom: none;
}

/* Custom Scrollbar for Details Pane */
.mega-details-pane::-webkit-scrollbar {
  width: 5px;
}

.mega-details-pane::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.mega-details-pane::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.mega-details-pane::-webkit-scrollbar-thumb:hover {
  background: #82c033;
}

/* --- PREMIUM UI COMPONENTS --- */
.cosm-card {
  background: white;
  border-radius: 24px;
  padding: 16px;
  border: 1px solid #eef2f6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cosm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #3ec35d;
}

.cosm-img-box {
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cosm-img-box img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cosm-card:hover .cosm-img-box img {
  transform: scale(1.08);
}

.cosm-title-text {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 45px;
}

.cosm-price-text {
  font-size: 18px;
  font-weight: 800;
  color: #3ec35d;
  font-family: "Outfit", sans-serif;
}

.cosm-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-cosm-wishlist,
.btn-cosm-order {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.btn-cosm-wishlist {
  background: #f1f5f9;
  color: #94a3b8;
  max-width: 44px;
}

.btn-cosm-wishlist.active {
  background: #fee2e2;
  color: #ef4444;
}

.btn-cosm-order {
  background: #3ec35d;
  color: white;
}

.btn-cosm-order:hover {
  background: #059669;
  transform: scale(1.05);
}

/* User Pill Lux */
.user-pill-lux {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 6px 6px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.user-pill-lux:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.user-pill-name {
  font-family: "Outfit", sans-serif;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.btn-logout-lux {
  width: 32px;
  height: 32px;
  background: white;
  color: #3ec35d;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-logout-lux:hover {
  background: #ef4444;
  color: white;
  transform: rotate(90deg);
}

/* =========================================================
   DYNAMIC LANDING SECTIONS — Premium & Responsive
   ========================================================= */

/* All sections (Top Selling, Deals, Dynamic) now use a horizontal slider layout */
.dynamic-section-header {
  margin-bottom: 30px;
  text-align: left;
  padding-left: 50px;
}

.slider-wrapper-responsive {
  position: relative;
  padding: 0 50px;
}

.cosmetics-grid,
.cosm-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  gap: 25px;
  margin-top: 10px;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cosmetics-grid::-webkit-scrollbar,
.cosm-grid::-webkit-scrollbar {
  display: none;
}

/* Dynamic slider sections (.cosm-grid) use flex from JS inline styles.
   Do NOT override display here — JS sets display:flex + overflow-x:auto */

/* Removed desktop grid columns to support unified slider layout */

@media (max-width: 768px) {
  .dynamic-section-header {
    padding-left: 4%;
    margin-bottom: 15px;
  }

  .slider-wrapper-responsive {
    padding: 0 4%;
  }

  .cosmetics-grid,
  .cosm-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    gap: 12px !important;
    padding: 15px 4% 30px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .cosmetics-grid::-webkit-scrollbar,
  .cosm-grid::-webkit-scrollbar {
    display: none !important;
  }

  .cosm-card {
    flex: none !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 16px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #f1f5f9 !important;
  }

  .hide-mobile-text {
    display: inline !important;
  }

  .btn-cosm-order {
    flex: 1 !important;
    height: 40px !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(62, 195, 93, 0.25) !important;
  }

  .btn-cosm-wishlist {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
  }

  .cosm-img-box {
    height: 140px !important;
    border-radius: 12px !important;
    padding: 8px !important;
  }

  .cosm-title-text {
    font-size: 13px !important;
    height: 36px !important;
    margin-top: 5px !important;
  }

  .cosm-price-text {
    font-size: 15px !important;
    margin-top: 5px !important;
  }

  .cosm-actions {
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .btn-cosm-order {
    flex: 1 !important;
    height: 38px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    padding: 0 10px !important;
  }

  .btn-cosm-wishlist {
    height: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 10px !important;
  }

  /* Show all button left alignment on mobile */
  [id^="btn-view-all-"] {
    width: 100% !important;
    text-align: left !important;
    padding-left: 15px !important;
    margin-top: -5px !important;
    padding-bottom: 25px !important;
  }

  [id^="btn-view-all-"] button {
    background: var(--primary-green) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
  }
}

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

  .cosm-card {
    padding: 10px;
  }
}

/* Premium Header for dynamic sections */
.cosmetics-title {
  position: relative;
  padding-left: 0;
  display: inline-block;
}

/* Spacing for sections */
.cosmetics-section {
  padding: 60px 0;
}

/* Hover effects for dynamic banners */
.banner-section img {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-section:hover img {
  transform: scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Checkout Button & Cart Summary Styles */
.whatsapp-checkout-btn {
  width: 100%;
  background: #25d366 !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  margin-top: 15px !important;
}

.whatsapp-checkout-btn:hover {
  background: #128c7e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.cart-summary-new {
  padding: 15px 0;
  border-top: 1px dashed #eee;
  margin-bottom: 10px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.cart-delivery-info-new {
  background: #f0fdf4;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #166534;
}

.cart-delivery-info-new div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cart-delivery-info-new div:last-child {
  margin-bottom: 0;
}

.cart-delivery-info-new i {
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

#checkout-products-summary {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

#checkout-products-summary::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}