/* 
  Eden Eats - Premium Bespoke Styling
  Color Palette: Spicy Amber, Jaggery Gold, Fire Orange, Organic Forest Green
*/

:root {
  --primary: #2D6A4F;       /* Forest Green */
  --primary-dark: #1B4332;  /* Dark Forest Green */
  --primary-light: #D8F3DC; /* Light Green Tint */
  --accent: #E85D04;        /* Jaggery Orange */
  --accent-dark: #D00000;   /* Chilli Red */
  --accent-light: #FFBA08;  /* Turmeric Yellow */
  --bg-warm: #FAF8F5;       /* Warm Rice White */
  --text-dark: #2B2D42;     /* Charcoal Dark */
  --text-light: #8D99AE;    /* Slate Gray */
  --white: #FFFFFF;
  --black: #000000;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-headings);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

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

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* 1. Free Delivery Banner */
.delivery-banner {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 2. Header & Sticky Nav */
.main-header {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  font-size: 1.8rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
}
.logo-accent {
  color: var(--accent);
}

.navbar {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-headings);
  position: relative;
  padding: 8px 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%;
}

.admin-link {
  color: var(--accent);
}
.admin-link:hover {
  color: var(--accent-dark);
}
.admin-link::after {
  background-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 1.2rem;
  color: var(--primary-dark);
  transition: var(--transition);
}
.cart-trigger:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* 3. Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(45, 106, 79, 0.35);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 4. Why Choose Us */
.why-choose-us {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  padding: 40px 30px;
  border-radius: 12px;
  background-color: var(--bg-warm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 106, 79, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.benefit-card:hover .benefit-icon {
  background-color: var(--accent);
  color: var(--white);
  transform: rotate(5deg) scale(1.05);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 5. About Us */
.about-section {
  background-color: var(--bg-warm);
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #4A4E69;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--accent);
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 450px;
  width: 100%;
}

.floating-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 24px 30px;
  border-radius: 12px;
  max-width: 280px;
  box-shadow: var(--shadow-md);
}
.floating-accent-box p {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  color: var(--white);
}

/* 6. Shop Catalog & Product Cards */
.shop-section {
  background-color: var(--white);
}

.shop-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.search-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.search-bar input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--bg-warm);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.15);
  background-color: var(--white);
}
.search-bar i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
}

.category-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--white);
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover {
  background-color: var(--bg-warm);
  border-color: var(--primary);
}
.tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  min-height: 300px;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  font-size: 1.2rem;
  color: var(--primary);
}
.loading-spinner i {
  margin-right: 8px;
}

/* Product Card design */
.product-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-light);
}

/* Image Zoom and Hover */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

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

.product-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
  cursor: pointer;
}
.product-name:hover {
  color: var(--accent);
}

.product-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-size-selector {
  margin-bottom: 20px;
}
.size-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}
.size-options {
  display: flex;
  gap: 8px;
}
.size-radio {
  display: none;
}
.size-option-btn {
  flex: 1;
  padding: 8px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.size-radio:checked + .size-option-btn {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}
.price-label-text {
  font-size: 0.85rem;
  color: var(--text-light);
}
.product-price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Fallback SVG Icon Placeholder for missing image */
.product-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
  color: var(--primary);
  font-family: var(--font-headings);
  font-weight: 800;
}
.product-img-fallback i {
  font-size: 3rem;
  margin-bottom: 10px;
  opacity: 0.8;
}
.product-img-fallback span {
  font-size: 1rem;
  text-align: center;
  padding: 0 16px;
}

/* 7. Gallery Section */
.gallery-section {
  background-color: var(--bg-warm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.gallery-overlay p {
  color: var(--accent-light);
  font-size: 0.85rem;
}

/* 8. Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: var(--bg-warm);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: serif;
}

.rating-stars {
  color: var(--accent-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-comment {
  font-size: 0.95rem;
  color: #4A4E69;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.author-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.add-review-prompt {
  background-color: var(--primary-light);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto 0;
}
.add-review-prompt p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

/* 9. FAQ Section Accordion */
.faq-section {
  background-color: var(--bg-warm);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover {
  background-color: rgba(45, 106, 79, 0.03);
}
.faq-question i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 10. Contact Us & Map */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.contact-form-wrapper {
  background-color: var(--bg-warm);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrapper h3 {
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background-color: var(--white);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-status {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-status.success {
  color: var(--primary);
}
.form-status.error {
  color: var(--accent-dark);
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.info-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.store-phone {
  font-weight: 700;
  color: var(--primary);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-warm);
}

/* 11. Modals (Detail View, Reviews) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-warm);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.modal-close:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  min-height: 480px;
}

.modal-img-container {
  position: relative;
  background-color: var(--primary-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Interactive Image Zoom */
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.modal-img-container:hover .modal-img {
  transform: scale(1.5);
  cursor: zoom-in;
}

.zoom-helper {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 85vh;
}

.modal-badge {
  align-self: flex-start;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.modal-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.price-table-wrapper {
  margin-bottom: 24px;
}
.price-table-wrapper h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.price-table th, .price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.price-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.85rem;
}
.price-table tr:hover td {
  background-color: rgba(45, 106, 79, 0.02);
}

.modal-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.qty-btn {
  background: var(--bg-warm);
  border: none;
  width: 36px;
  height: 38px;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}
.qty-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.quantity-selector input {
  width: 44px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  background: none;
}

.modal-hotlinks {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}
.modal-hotlinks .btn {
  flex: 1;
}

.small-modal {
  max-width: 500px;
  padding: 30px;
}
.small-modal h3 {
  margin-bottom: 20px;
}

#rating-stars-select {
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.star-select.fa-solid {
  color: var(--accent-light);
}

/* 12. Cart Drawer & Overlay */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-warm);
}
.cart-drawer-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
}
.cart-close:hover {
  color: var(--accent-dark);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-light);
}
.cart-empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Cart Item card */
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background-color: var(--primary-light);
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}
.cart-item-price {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 0.95rem;
}
.cart-item-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}
.cart-item-remove:hover {
  color: var(--accent-dark);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--bg-warm);
}

.free-delivery-tracker {
  background-color: var(--white);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  border: 1px solid rgba(45, 106, 79, 0.15);
}
.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: #E9ECEF;
  border-radius: 10px;
  margin-top: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-light), var(--primary));
  width: 0%;
  transition: width 0.3s;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cart-summary strong {
  color: var(--accent-dark);
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-group {
  margin-bottom: 12px;
}
.address-group textarea {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
}

/* 13. Footer Section */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9rem;
  opacity: 0.75;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-links p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 14. Floating Sticky Actions */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-floating:hover {
  background-color: #128C7E;
  transform: translateY(-4px) scale(1.05);
}

/* Tooltip text */
.whatsapp-floating .tooltip-text {
  visibility: hidden;
  width: 140px;
  background-color: var(--text-dark);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 0;
  position: absolute;
  z-index: 1;
  right: 76px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.whatsapp-floating:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 15. Admin Panel Dashboard Specifics */
.admin-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h1 {
  color: var(--white);
  font-size: 1.5rem;
}
.admin-nav {
  display: flex;
  gap: 16px;
}
.admin-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.admin-nav-btn:hover, .admin-nav-btn.active {
  background-color: var(--accent);
}

.admin-body {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
}

.admin-panel-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 16px;
}

.admin-table-wrapper {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th, .admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.admin-table th {
  background-color: var(--bg-warm);
  font-weight: 700;
  color: var(--primary-dark);
}
.admin-table tbody tr:hover {
  background-color: rgba(45, 106, 79, 0.01);
}

.admin-product-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--primary-light);
}

.admin-action-btns {
  display: flex;
  gap: 8px;
}
.btn-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  color: var(--white);
  transition: var(--transition);
}
.btn-edit { background-color: var(--primary); }
.btn-edit:hover { background-color: var(--primary-dark); }
.btn-delete { background-color: var(--accent-dark); }
.btn-delete:hover { background-color: #A00000; }
.btn-resolve { background-color: #2D6A4F; }

.status-indicator {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-active { background-color: #D8F3DC; color: #2D6A4F; }
.status-disabled { background-color: #FFE5EC; color: #FB6F92; }
.status-unread { background-color: #FFF3CD; color: #856404; }
.status-read { background-color: #E2E3E5; color: #383D41; }

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* Form Styles for Admin Page Add/Edit Product Modal */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1002;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-modal.open {
  display: flex;
}
.admin-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .navbar.open {
    left: 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
  .modal-img-container {
    height: 250px;
  }
  .modal-details {
    padding: 24px;
  }
  
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
