/* 
 * MediPharm Premium Stylesheet
 * Scent and tone: Professional, Trustworthy, Modern, and Medical-grade
 */

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

:root {
  /* Color Palette */
  --primary: hsl(166, 100%, 25%);         /* Deep Emerald/Teal */
  --primary-light: hsl(166, 60%, 94%);   /* Light Mint Accent */
  --primary-hover: hsl(166, 100%, 20%);
  --accent: hsl(24, 100%, 58%);           /* Warm Sunset Orange (CTA) */
  --accent-hover: hsl(24, 100%, 50%);
  --accent-light: hsl(24, 100%, 95%);
  --dark: hsl(215, 30%, 15%);             /* Deep Slate Navy (Text) */
  --dark-soft: hsl(215, 20%, 25%);
  --light: hsl(210, 20%, 98%);            /* Soft background */
  --white: hsl(0, 0%, 100%);
  --border: hsl(210, 14%, 90%);
  --border-light: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light);
}
::-webkit-scrollbar-thumb {
  background: hsl(166, 30%, 75%);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

/* Flex & Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 128, 96, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 128, 96, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 114, 43, 0.25);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 114, 43, 0.35);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: hsl(166, 60%, 88%);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-soft);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-phone-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-phone-link:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 128, 96, 0.15);
}

.nav-phone-link i {
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .nav-phone-link span {
    display: none;
  }
  .nav-phone-link {
    padding: 0.5rem;
    width: 34px;
    height: 34px;
    justify-content: center;
  }
}

.search-trigger, .cart-trigger {
  background: none;
  cursor: pointer;
  color: var(--dark);
  position: relative;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.search-trigger:hover, .cart-trigger:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
}

/* Search Dropdown Panel */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 99;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  gap: 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background-color: var(--light);
}

.search-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, var(--light) 60%);
  padding: 7rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--dark) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--dark-soft);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-badges {
  display: flex;
  gap: 2rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-soft);
}

.hero-badge-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
  transform: translateY(-5px) scale(1.01);
}

.hero-floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero-floating-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
}

.hero-floating-text h4 {
  font-size: 1rem;
  color: var(--dark);
}
.hero-floating-text p {
  font-size: 0.8rem;
  color: var(--dark-soft);
}

/* Category Section */
.category-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.category-icon svg {
  width: 30px;
  height: 30px;
}

.category-card h3 {
  margin-bottom: 0.75rem;
}

.category-card p {
  color: var(--dark-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.category-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.category-link:hover {
  gap: 0.5rem;
}

/* Product Card */
.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 3;
}

.product-image-container {
  background-color: var(--light);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  aspect-ratio: 1.2;
}

.product-image {
  max-height: 150px;
  object-fit: contain;
  transition: var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.product-rating svg {
  width: 14px;
  height: 14px;
  fill: #ffb800;
}

.product-rating span {
  font-size: 0.8rem;
  color: var(--dark-soft);
  font-weight: 500;
}

.product-price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
}

.product-price del {
  font-size: 0.9rem;
  color: var(--dark-soft);
  font-weight: 400;
  margin-left: 0.25rem;
}

.btn-cart-add {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cart-add:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Why Choose Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.why-us-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.why-us-icon-circle {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-icon-circle svg {
  width: 24px;
  height: 24px;
}

.why-us-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-us-text p {
  color: var(--dark-soft);
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  font-size: 20rem;
  font-family: 'Outfit', sans-serif;
  color: rgba(0, 128, 96, 0.05);
  top: -4rem;
  left: 2rem;
  line-height: 1;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-rating {
  margin-bottom: 1.5rem;
}
.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: #ffb800;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark-soft);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-meta h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.testimonial-meta p {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: hsl(166, 30%, 75%);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  color: var(--dark-soft);
  font-size: 0.95rem;
  transition: max-height 0.3s ease-out;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Page Banner */
.page-banner {
  background: radial-gradient(circle at 10% 80%, var(--primary-light) 0%, var(--white) 80%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-soft);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--primary);
  font-weight: 600;
}

/* About Us Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--dark-soft);
  font-weight: 600;
  text-transform: uppercase;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
  border: 2px solid var(--primary);
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--dark-soft);
}

/* Blogs Layout */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--dark-soft);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 128, 96, 0.25);
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.blog-img-container {
  position: relative;
  aspect-ratio: 1.6;
  background-color: var(--light);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--dark-soft);
  margin-bottom: 0.75rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-meta svg {
  width: 14px;
  height: 14px;
}

.blog-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--dark-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.blog-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.blog-link:hover {
  gap: 0.5rem;
}

/* Contact Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-info-details p {
  color: var(--dark-soft);
  font-size: 0.95rem;
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  background-color: var(--light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* User-valid styles */
.form-control:user-valid {
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Map Section */
.map-section {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-bg {
  background-color: #e5e9f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.map-placeholder-bg svg {
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-card {
  padding: 1.5rem;
  width: 300px;
  text-align: left;
}

/* Privacy Page Styling */
.privacy-content {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4rem;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p, .privacy-content ul {
  margin-bottom: 1.25rem;
  color: var(--dark-soft);
  font-size: 1rem;
}

.privacy-content ul {
  padding-left: 2rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

/* Interactive Pharmacist Chat Assistant Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chat-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--white);
  transition: var(--transition);
}

.chat-trigger-btn:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05) rotate(5deg);
}

.chat-trigger-btn svg {
  width: 28px;
  height: 28px;
  transition: var(--transition);
}

.chat-trigger-btn.active svg {
  transform: rotate(90deg);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 480px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: var(--transition);
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-pharmacist-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--white);
}

.chat-pharmacist-info h4 {
  color: var(--white);
  font-size: 0.95rem;
}
.chat-pharmacist-info p {
  color: var(--primary-light);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-end-btn {
  margin-left: auto;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.chat-end-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background-color: #4cd964;
  border-radius: 50%;
  display: inline-block;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  background-color: var(--light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-msg-received {
  background-color: var(--white);
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.chat-msg-sent {
  background-color: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-option-btn {
  background-color: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.chat-option-btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

.chat-input-area {
  padding: 1rem;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background-color: var(--light);
  font-size: 0.9rem;
}

.chat-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chat-send-btn:hover {
  background-color: var(--primary-hover);
}

/* Footer Section */
footer {
  background-color: var(--dark);
  color: hsl(210, 10%, 80%);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 0.25rem;
}

.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-newsletter p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.newsletter-btn {
  background-color: var(--primary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .why-us-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero {
    padding: 5rem 0 3rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 998;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .privacy-content {
    padding: 2rem;
  }
  
  .chat-window {
    width: calc(100vw - 2rem);
    height: 420px;
    right: -1rem;
    bottom: 75px;
  }
}

/* ==========================================================================
   Checkout Modal & Direct Payment Gateway System Styles
   ========================================================================== */
.checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkout-overlay.active .checkout-modal {
  transform: scale(1) translateY(0);
}

.checkout-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-header h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.checkout-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--dark-soft);
  cursor: pointer;
  transition: var(--transition);
}

.checkout-close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.checkout-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .checkout-body {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.checkout-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Cart items list inside modal */
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.checkout-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background-color: var(--light);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.checkout-item-details {
  flex-grow: 1;
}

.checkout-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.checkout-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}

.checkout-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.checkout-qty-btn {
  background-color: var(--light);
  border: none;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}

.checkout-qty-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.checkout-qty-val {
  padding: 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.checkout-item-remove {
  background: none;
  border: none;
  color: hsl(0, 70%, 60%);
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem;
}

.checkout-item-remove:hover {
  color: hsl(0, 80%, 50%);
  transform: scale(1.1);
}

.checkout-summary-box {
  background-color: var(--light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin-bottom: 0.75rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  border-top: 1px dashed var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Shipping and Billing Forms */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout-form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form-group.full-width {
    grid-column: span 1;
  }
}

.checkout-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-soft);
}

.checkout-input {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  background-color: var(--white);
  transition: var(--transition);
  color: var(--dark);
  font-family: inherit;
}

.checkout-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Payment Gateway Selector Rendering UI */
.payment-gateway-wrapper {
  margin-top: 1.5rem;
}

.payment-gateway-card-fields {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.gateway-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.gateway-badge.sandbox {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(0, 128, 96, 0.2);
}

.gateway-badge.production {
  background-color: hsl(0, 80%, 95%);
  color: hsl(0, 70%, 40%);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.stripe-card-input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-icon-group {
  display: flex;
  gap: 0.5rem;
  font-size: 1.4rem;
  color: var(--dark-soft);
  margin-bottom: 0.25rem;
}

.card-icon-group i.active {
  color: var(--primary);
}

/* Gold PayPal Button Styling */
.paypal-btn-simulated {
  background: linear-gradient(180deg, #ffc439 0%, #ffb700 100%);
  border: 1px solid #e2a100;
  border-radius: 4px;
  color: #111;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: background 0.2s ease;
}

.paypal-btn-simulated:hover {
  background: linear-gradient(180deg, #ffd35c 0%, #ffc439 100%);
}

.paypal-btn-simulated img {
  height: 20px;
}

/* Blue Razorpay Button Styling */
.razorpay-btn-simulated {
  background-color: #0b72e7;
  border: none;
  border-radius: 4px;
  color: var(--white);
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-shadow: 0 2px 4px rgba(11,114,231,0.2);
  transition: background-color 0.2s ease;
}

.razorpay-btn-simulated:hover {
  background-color: #0a66cf;
}

.razorpay-btn-simulated img {
  height: 18px;
}

/* Simulated Gateway Badge */
.simulated-gateway-notice {
  font-size: 0.8rem;
  color: var(--dark-soft);
  background-color: var(--light);
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.checkout-pay-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #006048 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  font-family: inherit;
}

.checkout-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

/* Secure Authorization Spinner Loader */
.checkout-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-loader-overlay.active {
  opacity: 1;
  visibility: visible;
}

.spinner-ring {
  width: 60px;
  height: 60px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

.checkout-loading-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.checkout-loading-subtext {
  font-size: 0.85rem;
  color: var(--dark-soft);
  text-align: center;
  max-width: 320px;
  line-height: 1.4;
}

/* Success Checkmark System */
.checkout-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2.5rem;
  text-align: center;
}

.checkout-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 128, 96, 0.15);
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.success-desc {
  color: var(--dark-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 450px;
  margin-bottom: 1.5rem;
}

.receipt-card {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  width: 100%;
  max-width: 400px;
  margin-bottom: 2rem;
  text-align: left;
  font-size: 0.85rem;
  color: var(--dark-soft);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.receipt-row.total {
  font-weight: 700;
  color: var(--dark);
  border-top: 1px dashed var(--border);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.receipt-row span:first-child {
  font-weight: 600;
  color: var(--dark);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scaleUp {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Voucher Discount System UI Styles */
.voucher-input-row .checkout-input {
  border-radius: var(--radius-sm);
  background-color: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.voucher-input-row .checkout-input:disabled {
  background-color: var(--light);
  color: var(--dark-soft);
  cursor: not-allowed;
  border-color: var(--border);
}

#checkout-voucher-message {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.4rem;
  display: none;
  animation: scaleUp 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
