/* Modern CSS Reset and Base Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #f43f5e;
  --accent-color: #8b5cf6;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-color: #334155;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --success-color: #4caf50;
  --error-color: #f44336;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  word-wrap: break-word;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Enhanced Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader {
  width: 80px;
  height: 80px;
  border: 4px solid var(--glass-border);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 4px solid transparent;
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  overflow: visible; /* allows scaled image to show fully */
}

.logo img {
  height: 40px; /* base height */
  transform: scale(4); /* zooms the image without affecting layout */
  transform-origin: left center; /* scales from the left side */
  transition: transform 0.3s ease; /* smooth scaling effect */
}

/* Optional: Responsive adjustment for smaller screens */
@media (max-width: 600px) {
  .logo img {
    transform: scale(3); /* reduce zoom on mobile */
  }
}

/* Dropdown styles for nav */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(60, 72, 88, 0.13);
  border-radius: 8px;
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

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

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.nav-links .dropdown-menu a:hover {
  background: #f4f8fd;
  color: #3a7afe;
}

/* Enhanced Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  background: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  padding: 0.75rem 5%;
  background: white;
  box-shadow: var(--shadow-md);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

.nav-icons {
  display: flex;
  gap: 1.5rem;
}

.nav-icons a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-icons a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Mobile Menu Button - Only visible on mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

/* Hello */
@media (max-width: 768px) {
  /* Stack the nav links vertically and slide in from right */
  .nav-links {
    position: fixed;
    top: 64px; /* adjust if navbar height differs */
    right: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

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

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
  }

  .nav-links a:hover {
    background: #f4f4f4;
    color: var(--primary-color);
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
  margin-top: 100px;
}

/* Banner image / Swiper section */
.hero-image {
  width: 100%;
  height: 90vh;
  position: relative;
  z-index: 1;
}

.hero-slider {
  width: 95%;
  height: 95%;
}

.swiper-wrapper,
.swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero content comes AFTER the image now */
.hero-content {
  padding: 3rem 1rem;
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-color);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* CTA Button remains same */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  animation: fadeInUp 1s ease-out 0.4s backwards;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Fade Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headers */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonials .section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials .section-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Swiper Styles */
.testimonial-slider {
  padding: 20px 0;
}

.testimonials .swiper-wrapper {
  display: flex;
  align-items: center;
}

.testimonials .swiper-slide {
  display: flex;
  justify-content: center;
}

/* Testimonial Card */
.testimonial-card {
  width: 250px;
  height: 250px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.testimonial-author {
  display: none; /* Hide author section as per request */
}

/* Swiper Pagination */
.swiper-pagination {
  margin-top: 1rem;
  position: relative;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  opacity: 0.5;
  margin: 0 5px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Categories Section */
.categories {
  padding: 5rem 5%;
  background: var(--light-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none; /* Prevents the pseudo-element from blocking the link */
}

.category-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.category-image {
  position: relative;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(0.9);
}

.category-card:hover .category-image img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1);
}

.category-content {
  padding: 2rem;
  text-align: center;
}

.category-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.category-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  position: relative; /* Added to ensure z-index works */
  z-index: 10; /* Ensure it's above other content */
}

.category-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* Featured Products */
.featured-products {
  padding: 5rem 5%;
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(0);
  animation: slideUp 0.6s ease forwards;
}

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

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}
.product-card:nth-child(5) {
  animation-delay: 0.5s;
}
.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.product-card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-price::before {
  content: "₹";
  font-size: 1.2rem;
  margin-right: 2px;
}

/* Testimonials */
.testimonials {
  padding: 5rem 5%;
  background: var(--light-color);
}

.testimonial-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: var(--transition);
  padding: 2rem;
  margin: 1rem;
  border-radius: 20px;
  animation: fadeIn 0.8s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 20px;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.newsletter p {
  color: #666;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #007bff;
  outline: none;
}

.newsletter-form button {
  padding: 12px 25px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background: #0056b3;
}

.subscribe-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  display: none;
  animation: fadeIn 0.5s ease;
}

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

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
  }
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 5rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/pattern.svg") repeat;
  opacity: 0.1;
  animation: float 20s linear infinite;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

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

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

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-link {
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  padding: 0;
  line-height: 1;
}

.social-link i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover i {
  transform: translate(-50%, -50%) scale(1.1);
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link.whatsapp::before {
  background: #25d366;
}

.social-link.instagram::before {
  background: #e1306c;
}

.social-link.facebook::before {
  background: #4267b2;
}

.social-link:hover::before {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.search-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  transform: translateY(20px);
  transition: var(--transition);
}

.search-overlay.active .search-container {
  transform: translateY(0);
}

.search-container input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.search-container input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Toast Notifications */
.toast {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  z-index: 1000;
  animation: slideIn 0.3s ease-in-out;
}

.toast-success {
  background-color: #4caf50;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

#successMessage {
  display: none;
  color: #4caf50;
  text-align: center;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(76, 175, 80, 0.1);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Contact Form Success Message */
.success-message {
  display: none;
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .hero-content {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .hero-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-icons {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    background: white;
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-icons.active {
    right: 0;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .category-card,
  .product-card {
    border-radius: 15px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Enhanced Add to Cart Button Styles */
.add-to-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.add-to-cart-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.add-to-cart-btn i {
  margin-right: 8px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.add-to-cart-btn:hover i {
  transform: scale(1.2);
}

/* Loading State */
.add-to-cart-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.add-to-cart-btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Success State */
.add-to-cart-btn.success {
  background: linear-gradient(45deg, #4caf50, #45a049);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.add-to-cart-btn.success i {
  transform: scale(1.2);
}

/* Error State */
.add-to-cart-btn.error {
  background: linear-gradient(45deg, #f44336, #e53935);
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: #e0e0e0;
  transform: scale(1.1);
}

.quantity-input {
  width: 50px;
  text-align: center;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quantity-input:focus {
  border-color: #ff6b6b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* Cart Badge Animation */
.cart-icon {
  position: relative;
}

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

/* Account Page Styles */

.account-container {
  max-width: 500px;
  margin: 120px auto;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.account-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
  flex: 1;
  padding: 15px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn.active {
  color: #333;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.account-form {
  display: none;
  animation: fadeIn 0.5s ease;
}

.account-form.active {
  display: block;
}

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

.account-form h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #333;
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #333;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #555;
}

.error-message {
  margin-top: 10px;
  color: #e74c3c;
  font-size: 14px;
}

.success-message {
  margin-top: 10px;
  color: #2ecc71;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .account-container {
    margin: 20px;
    padding: 20px;
  }

  .tab-btn {
    font-size: 16px;
    padding: 12px;
  }

  .account-form h2 {
    font-size: 24px;
  }

  .form-group input {
    padding: 10px 12px;
  }

  .submit-btn {
    padding: 12px;
  }
}

/* Styling the toggle buttons */
/* Styling the toggle buttons container */
.toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Shared button styles */
.form-toggle-btn {
  background-color: #4caf50; /* Initial green color */
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px; /* Curved, modern look */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  width: 200px; /* Uniform width for both login/signup */
  text-align: center;
}

.form-toggle-btn:hover {
  background-color: #45a049; /* Darker green on hover */
  transform: scale(1.05); /* Slight scale effect on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

/* Focus state for accessibility */
.form-toggle-btn:focus {
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 8px rgba(0, 47, 255, 0.6); /* Green outline on focus */
}

/* Button text swap for Login/Signup */
.form-toggle-btn span {
  font-weight: bold;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

/* When the button is in 'signup' state */
.form-toggle-btn.signup {
  background-color: #ff9800; /* Orange color for signup */
}

.form-toggle-btn.signup:hover {
  background-color: #fb8c00; /* Darker orange on hover */
}

/* Optionally, add an active state if you want to change the button when clicked */
.form-toggle-btn.active {
  background-color: #06474f; /* Green when active */
}

/* Footer Contact Links */
.footer-section .contact-link {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  width: 100%;
}

.footer-section .contact-link:hover {
  color: white;
  transform: translateX(5px);
}

.footer-section .contact-link i {
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.footer-section .contact-link:hover i {
  transform: scale(1.2);
}

.footer-section .contact-link[href^="https://www.google.com/maps"]:hover
{
  color: #4285f4;
}

.footer-section .contact-link[href^="tel:"]:hover {
  color: #34b7f1;
}

.footer-section .contact-link[href^="mailto:"]:hover {
  color: #ea4335;
}

/* Ensure links are clickable */
.footer-section .contact-link {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* Remove any styles that might be preventing clicks */
.footer-section p {
  margin: 0;
  padding: 0;
}

.footer-section .contact-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

Policy Section Styles .policy-section {
  padding: 6rem 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.policy-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.policy-section .section-title {
  text-align: center;
  color: #333;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.policy-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #4caf50;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.policy-content:hover {
  transform: translateY(-5px);
}

.policy-card {
  padding: 2.5rem;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.policy-card:last-child {
  border-bottom: none;
}

.policy-card:hover {
  background-color: #f8f8f8;
}

.policy-card h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-card h2 i {
  color: #4caf50;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.policy-card:hover h2 i {
  transform: scale(1.1);
}

.policy-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Policy Card List Styles */
.policy-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.policy-card ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  counter-reset: item;
}

.policy-card li {
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

/* Bullet points for unordered lists */
.policy-card ul li::before {
  content: "•";
  color: #4caf50;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Numbers for ordered lists */
.policy-card ol li {
  counter-increment: item;
}

.policy-card ol li::before {
  content: counter(item) ".";
  color: #4caf50;
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* Nested lists */
.policy-card ul ul,
.policy-card ol ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.policy-card ul ul li::before {
  content: "◦";
  color: #4caf50;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

.policy-card ol ol li::before {
  content: counter(item) ".";
  color: #4caf50;
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* Contact Links in Policy Cards */
.policy-card .contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.policy-card .contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #4caf50;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.8rem 1rem;
  background: #f8f8f8;
  border-radius: 8px;
  width: fit-content;
}

.policy-card .contact-link:hover {
  color: #45a049;
  transform: translateX(5px);
  background: #f0f0f0;
}

.policy-card .contact-link i {
  font-size: 1.2em;
  min-width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.policy-card .contact-link span {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.policy-card .contact-link:hover i {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .policy-section {
    padding: 4rem 0;
  }

  .policy-section .section-title {
    font-size: 2.2rem;
    padding: 0 1rem 1rem;
  }

  .policy-content {
    margin: 0 1rem;
  }

  .policy-card {
    padding: 1.5rem;
  }

  .policy-card h2 {
    font-size: 1.3rem;
  }

  .policy-card .contact-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* About Page Enhanced Styles */
.about-hero {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/about-bg.jpg") center/cover;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.png") repeat;
  opacity: 0.1;
  animation: float 20s linear infinite;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease, glow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.about-hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.3s backwards;
  opacity: 0.9;
}

.about-story {
  padding: 6rem 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.about-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.png") repeat;
  opacity: 0.05;
  animation: float 20s linear infinite;
}

.about-story-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.about-story-content:hover {
  transform: translateY(-5px);
}

.about-story h2 {
  color: #333;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  animation: fadeInLeft 1s ease;
}

.about-story h2 i {
  color: #4caf50;
  animation: pulse 2s infinite;
}

.about-story p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.what-we-offer {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.offer-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.offer-card:hover::before {
  opacity: 1;
}

.offer-card i {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.offer-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.offer-card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.offer-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

.our-vision {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f5f5, #e8f5e9);
  position: relative;
  overflow: hidden;
}

.vision-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.vision-content:hover {
  transform: translateY(-5px);
}

.vision-content h2 {
  color: #333;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  animation: fadeInUp 1s ease;
}

.vision-content h2 i {
  color: #4caf50;
  animation: pulse 2s infinite;
}

.vision-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.how-to-shop {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.step-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #4caf50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(360deg);
}

.step-card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

.why-choose-us {
  padding: 6rem 0;
  background: linear-gradient(135deg, #e8f5e9, #f5f5f5);
  position: relative;
  overflow: hidden;
}

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

.benefit-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card i {
  font-size: 2.5rem;
  color: #4caf50;
  min-width: 40px;
  transition: transform 0.3s ease;
}

.benefit-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.benefit-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefit-content p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Enhanced Animations */
@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 6rem 0;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.2rem;
  }

  .about-story-content,
  .vision-content {
    padding: 2rem;
  }

  .offer-grid,
  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .offer-card,
  .step-card,
  .benefit-card {
    padding: 2rem;
  }
}

/* Policy Pages Enhanced Styles */
.policy-hero {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/policy-bg.jpg") center/cover;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.png") repeat;
  opacity: 0.1;
  animation: float 20s linear infinite;
}

.policy-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.policy-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease, glow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.policy-hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.3s backwards;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.policy-section {
  padding: 6rem 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.policy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.png") repeat;
  opacity: 0.05;
  animation: float 20s linear infinite;
}

.policy-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.policy-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.png") repeat;
  opacity: 0.05;
  animation: float 20s linear infinite;
  border-radius: 20px;
}

.policy-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.policy-content:hover::before {
  opacity: 1;
}

.policy-section h2 {
  color: #333;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  animation: fadeInLeft 1s ease;
  position: relative;
}

.policy-section h2 i {
  color: #4caf50;
  animation: pulse 2s infinite;
}

.policy-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
}

.policy-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.policy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.policy-card:hover::before {
  opacity: 1;
}

.policy-card i {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.policy-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.policy-card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.policy-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* FAQ Styles */
.faq-section {
  padding: 6rem 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-section .section-title {
  text-align: center;
  color: #333;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.faq-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #4caf50;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}

.faq-question h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  flex: 1;
}

.faq-question i {
  color: #4caf50;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
  max-height: 1000px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 0;
  }

  .faq-section .section-title {
    font-size: 2.2rem;
    padding: 0 1rem 1rem;
  }

  .faq-container {
    margin: 0 1rem;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
  }

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

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

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-align: center;
  padding: 80px 0;
  margin-bottom: 40px;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s;
}

.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.info-header {
  text-align: center;
  margin-bottom: 40px;
}

.info-header h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h3 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-content a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.contact-form-card h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  transition: color 0.3s ease;
}

.contact-form-card:hover h2 {
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.contact-form-card:hover .form-group {
  transform: translateX(5px);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-form-card:hover .form-group label {
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.contact-form-card:hover .form-group input,
.contact-form-card:hover .form-group textarea {
  border-color: var(--primary-color);
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

.success-message {
  margin-top: 20px;
  padding: 15px;
  background: var(--success-color);
  color: white;
  border-radius: 8px;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease;
}

.map-section {
  margin-top: 60px;
}

.map-section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 60px 0;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-circle {
    margin-bottom: 15px;
  }
}

/* Cart Section Styles */
.cart-section {
  padding: 8rem 0 4rem;
  background-color: var(--gray-100);
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cart-items {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--success-color);
}

.cart-item-size {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  background: var(--gray-100);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.quantity-btn:hover {
  background: var(--gray-200);
}

.quantity-input {
  width: 50px;
  text-align: center;
  padding: 0.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
}

.remove-item {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  transition: color var(--transition);
}

.remove-item:hover {
  color: #cc0000;
}

.cart-summary {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 1.2rem;
}

.summary-details {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--gray-300);
}

.summary-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--gray-200);
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.shipping-message {
  text-align: center;
  padding: 0.75rem;
  margin: 1rem 0;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: all var(--transition);
}

.shipping-message.free-shipping {
  background: #e8f5e9;
  color: var(--success-color);
  font-weight: 500;
}

.payment-options {
  margin-bottom: 1.5rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.payment-method:hover {
  border-color: var(--success-color);
}

.payment-method input[type="radio"] {
  margin: 0;
}

.payment-method i {
  color: var(--success-color);
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--success-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition);
}

.checkout-btn:hover {
  background: #45a049;
}

.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-cart i {
  font-size: 4rem;
  color: var(--gray-200);
  margin-bottom: 1rem;
}

.empty-cart h2 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.empty-cart p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.continue-shopping {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--success-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color var(--transition);
}

/* Products Section Styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray-100);
  transition: filter var(--transition);
}

.product-card:hover .product-image {
  filter: brightness(0.95) saturate(1.1);
}

.product-info {
  padding: 20px 18px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--gray-100);
  transition: background-color var(--transition);
}

.product-info:hover {
  background-color: var(--light-color);
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 4px 0;
  transition: color var(--transition);
}

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

.product-price {
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 600;
}

.product-desc {
  color: var(--gray-300);
  font-size: 0.97rem;
  margin-bottom: 8px;
}

.add-to-cart-btn {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.add-to-cart-btn:hover,
.add-to-cart-btn:focus {
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-md);
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-300);
  font-weight: 400;
  font-size: 0.95rem;
  margin-left: 8px;
}

.discounted-price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Filters */
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 4px;
  gap: 16px;
}

.filter-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.filter-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.filter-select {
  padding: 10px 14px;
  font-size: 1.1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: white;
  color: var(--text-color);
  transition: border-color var(--transition);
  width: 220px;
  max-width: 100%;
}

.filter-select:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0 0;
}

.pagination-btn {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--primary-color);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition);
}

.pagination-btn.active,
.pagination-btn:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius);
  width: 80%;
  max-width: 800px;
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.modal .close-modal {
  font-size: 1.5rem;
  color: var(--primary-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: color var(--transition);
}

.modal .close-modal:hover {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cart-container {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    width: 100%;
    height: 200px;
  }

  .payment-method {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-btn {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cart-section {
    padding: 6rem 0 2rem;
  }

  .cart-item img {
    height: 150px;
  }

  .payment-method {
    padding: 0.5rem;
  }

  .checkout-btn {
    font-size: 0.9rem;
  }
}

/* Products Page Styles */
.products-section {
  background: transparent;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.products-section .container {
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 2rem;
}

.products-section .section-header {
  margin-bottom: 2.5rem;
}

.products-section .product-grid {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.products-section .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.5rem;
  background: #f1f5ff;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.07);
}

.products-section .page-btn,
.products-section .page-number-btn {
  background: #fff;
  color: var(--primary-color);
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.3rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.06);
}

.products-section .page-btn:disabled,
.products-section .page-number-btn:disabled {
  background: #e0e7ff;
  color: #bcd0fa;
  cursor: not-allowed;
}

.products-section .page-number-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.products-section .page-info {
  color: #2563eb;
  font-size: 1rem;
  margin-left: 1rem;
}

/* Toast Styles */
.toast-popup {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  background: #fff;
  color: #2563eb;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.13);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.toast-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Order Confirmation Styles */
.order-confirm-section {
  margin-top: 4.5rem;
  margin-bottom: 2.5rem;
  background: #f4f8fd;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(60, 72, 88, 0.07);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.order-confirm-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.order-summary,
.order-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(60, 72, 88, 0.1),
    0 1.5px 6px 0 rgba(60, 72, 88, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 340px;
  max-width: 420px;
  flex: 1 1 340px;
  transition: box-shadow 0.2s;
}

.order-summary:hover,
.order-form:hover {
  box-shadow: 0 12px 40px 0 rgba(60, 72, 88, 0.13),
    0 2px 8px 0 rgba(60, 72, 88, 0.1);
}

.order-summary h3,
.order-form h3 {
  margin-bottom: 1.7rem;
  color: #222;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.order-form .form-group {
  margin-bottom: 1.3rem;
}

.order-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.order-form input,
.order-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  font-size: 1.05rem;
  background: #f9fafd;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form input:focus,
.order-form select:focus {
  border-color: #3a7afe;
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 122, 254, 0.08);
}

.confirm-btn {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: white;
  border: none;
  border-radius: 7px;
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(60, 72, 88, 0.1);
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}

.confirm-btn:hover {
  background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
  box-shadow: 0 4px 16px 0 rgba(60, 72, 88, 0.13);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .order-confirm-container {
    flex-direction: column;
    align-items: center;
  }

  .order-summary,
  .order-form {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .order-summary,
  .order-form {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    min-width: 0;
  }

  .order-confirm-section {
    margin-top: 5rem;
    margin-bottom: 1.2rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .toast-popup {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .pagination {
    padding: 0.5rem 0.5rem;
    gap: 0.3rem;
  }
}

/* Confirmation Message */
.confirmation-message {
  display: none; /* Hidden by default */
  background-color: #4caf50; /* Green background */
  color: white;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
}

.confirmation-message .continue-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.confirmation-message .continue-btn:hover {
  background-color: #555;
}

/* === Mobile Optimized Cart Icon === */
/* Standard mobile styling for hamburger and cart icons */
@media (max-width: 768px) {
  .mobile-menu-btn,
  .cart-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 1rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu-btn {
    right: 4.5rem; /* Adjust gap between buttons */
    z-index: 1101;
  }

  .cart-icon {
    right: 1rem;
    z-index: 1100;
  }

  .mobile-menu-btn i,
  .cart-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
  }

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

  .search-icon,
  .account-icon {
    display: none !important;
  }
}
