@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset and Base Styles */
* {
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* custom color palette: fresh green + black + white */
:root {
  --fresh-green: #2c6e2f;
  --fresh-green-light: #4c9a2e;
  --fresh-green-soft: #e9f5e6;
  --dark-charcoal: #1f2a1e;
  --black-soft: #111111;
  --white-pure: #ffffff;
  --gray-light: #f8faf7;
  --gray-border: #e2e8e2;
  --shadow-sm:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  transition:
    background-color 0.3s,
    color 0.3s;
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1100;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.top-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact {
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.top-contact:hover {
  color: #4ade80;
}

.top-contact i {
  color: #4ade80;
  font-size: 14px;
}

/* =========================================================
   CENTER
========================================================= */

.top-center {
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-center i {
  color: #facc15;
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-top {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-top:hover {
  background: #4ade80;
  color: #111;
  transform: translateY(-2px);
}
/* end top bar */

/* Navbar Styles */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 60px;
  object-fit: contain;
}

.nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition:
    color 0.3s,
    border-bottom 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #28a745;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #28a745;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-item.active .nav-link {
  color: #28a745;
  font-weight: 600;
}

.nav-item.active .nav-link::after {
  width: 100%;
}

.form-inline {
  margin-left: 1rem;
}

.form-control {
  border: 1px solid #28a745;
  border-radius: 4px;
  padding: 0.5rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-control:focus {
  border-color: #218838;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  outline: none;
}

.btn-outline-success {
  color: #28a745;
  border-color: #28a745;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.btn-outline-success:hover {
  background-color: #28a745;
  color: #fff;
}

/* Sticky Navbar on Mobile with Slide-In Animation */
@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navbar-nav {
    text-align: center;
    padding: 0.5rem 0;
  }
  .nav-link {
    padding: 0.75rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.3s forwards;
  }
  .nav-link:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav-link:nth-child(2) {
    animation-delay: 0.2s;
  }
  .nav-link:nth-child(3) {
    animation-delay: 0.3s;
  }
  .nav-link:nth-child(4) {
    animation-delay: 0.4s;
  }
  .nav-link:nth-child(5) {
    animation-delay: 0.5s;
  }
  .form-inline {
    width: 100%;
    margin: 0.5rem 0;
  }
  .form-control {
    width: 100%;
  }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   NAVBAR CART
======================================== */

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f3d1f;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.cart-button:hover {
  background: #14532d;
  transform: translateY(-2px);
}

.cart-button i {
  font-size: 18px;
}

#cart-count,
#mobile-cart-count {
  background: #fff;
  color: #0f3d1f;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
}

/* ========================================
   MOBILE FLOATING CART - FIXED POSITIONING
======================================== */

/* Mobile cart button container */
.mobile-cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px; /* This pulls it to the right - we'll adjust this */
  z-index: 99999;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* To move it LEFT, reduce the 'right' value or use 'left' */
/* Option 1: Reduce the right value *
.mobile-cart-btn
    right: 80px;  /* Moves it left by 60px from the original 20px */

/* OR Option 2: Use a combination of right and left for more control */
/*
.mobile-cart-btn {
    right: auto;
    left: 20px;  /* This would put it on the left side */

/* Hide mobile cart button on desktop, show on mobile */
@media (min-width: 992px) {
  .mobile-cart-btn {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Ensure mobile cart button is visible on tablets and below */
@media (max-width: 991px) {
  .mobile-cart-btn {
    display: block !important;
    visibility: visible !important;
  }

  /* Adjust position for different screen sizes */
  @media (max-width: 576px) {
    .mobile-cart-btn {
      right: 70px; /* Even more left on very small screens */
      bottom: 15px;
    }
  }

  @media (min-width: 577px) and (max-width: 991px) {
    .mobile-cart-btn {
      right: 80px; /* Standard position on tablets */
    }
  }
}

/* Mobile cart trigger button */
.mobile-cart-trigger {
  width: 65px;
  height: 65px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f3d1f, #198754);
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-cart-trigger:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #14532d, #1e7e34);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mobile-cart-trigger:active {
  transform: scale(0.98);
}

.mobile-cart-trigger i {
  font-size: 28px;
}

/* FIXED: Cart count badge on mobile - now properly positioned and visible */
#mobile-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: white;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  z-index: 10;
}

/* Ensure the cart count is never hidden */
#mobile-cart-count:empty {
  display: none !important;
}

#mobile-cart-count:not(:empty) {
  display: flex !important;
}

/* end nav bar styles */

/* Scroll-to-Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #28a745;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 1000;
  cursor: pointer;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #218838;
}

.dark-mode .scroll-to-top {
  background-color: #4caf50;
}

.dark-mode .scroll-to-top:hover {
  background-color: #388e3c;
}
/* end scroll button code */

/* =========================================================
   PREMIUM HERO CAROUSEL
========================================================= */

#heroCarousel {
  position: relative;
}

.hero-image {
  height: 85vh;
  object-fit: cover;
  filter: brightness(0.75);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.35)
  );
}

/* Christmas Overlay */
.christmas-overlay {
  background: linear-gradient(
    to right,
    rgba(120, 0, 0, 0.75),
    rgba(0, 100, 0, 0.45)
  );
}

/* Caption */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 650px;
  z-index: 5;
}

/* Promo Badge */
.promo-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.sale-badge {
  background: #f59e0b;
}

.christmas-badge {
  background: #dc2626;
}

/* Title */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Text */
.hero-text {
  font-size: 1.2rem;
  color: #f3f4f6;
  margin-bottom: 30px;
  max-width: 500px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #22c55e;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-btn-primary:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-btn-outline:hover {
  background: #fff;
  color: #111;
}

/* Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60%;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(6px);
}

/* Indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
  background: #22c55e;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .hero-image {
    height: 70vh;
  }

  .hero-caption {
    left: 5%;
    right: 5%;
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-image {
    height: 60vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .promo-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .hero-btn-primary,
  .hero-btn-outline {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}
/* =========================================================
   CAROUSEL PROGRESS BAR
========================================================= */

.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 20;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: carouselProgress 5s linear infinite;
}

/* Animation */
@keyframes carouselProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Dark Mode */
body.dark-mode .carousel-progress {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .carousel-progress-bar {
  background: linear-gradient(90deg, #4ade80, #22c55e);
}
/* end carousel styles */

/* =========================================================
   PREMIUM FILTER SECTION
========================================================= */

.filter-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   TITLE
========================================================= */

.filter-title {
  font-weight: 700;
  margin-bottom: 18px;
  color: #111827;
}

/* =========================================================
   FILTER BUTTONS
========================================================= */

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-btn {
  border: none;
  background: #f3f4f6;
  color: #374151;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Hover */
.category-btn:hover {
  transform: translateY(-2px);
  background: #22c55e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

/* Active */
.category-btn.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

/* Icons */
.category-btn i {
  font-size: 14px;
}

/* =========================================================
   SEARCH
========================================================= */

.filter-search {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
}

.search-box {
  background: #fff;
  border-radius: 60px;
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.search-box i {
  margin-left: 15px;
  color: #22c55e;
  font-size: 15px;
}

/* Input */
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  padding: 12px;
  background: transparent;
  font-size: 0.95rem;
}

/* Button */
.search-box button {
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.search-box button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .filter-wrapper {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .filter-title {
  color: #fff;
}

body.dark-mode .category-btn {
  background: #1f2937;
  color: #d1d5db;
}

body.dark-mode .category-btn:hover {
  background: #22c55e;
  color: #fff;
}

body.dark-mode .search-box {
  background: #111827;
  border-color: #374151;
}

body.dark-mode .search-box input {
  color: #fff;
}

body.dark-mode .search-box input::placeholder {
  color: #9ca3af;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .filter-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 25px;
  }

  .filter-search {
    max-width: 100%;
  }

  .filter-buttons {
    justify-content: center;
  }

  .filter-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .category-btn {
    width: 100%;
    justify-content: center;
  }

  .search-box {
    flex-direction: column;
    border-radius: 24px;
    gap: 10px;
    padding: 15px;
  }

  .search-box button {
    width: 100%;
  }
}
/* end filter section styles */

/* =========================================================
   MOBILE FILTER TRIGGER
========================================================= */

.mobile-filter-trigger {
  display: none;
}

/* =========================================================
   MOBILE FILTER MODAL
========================================================= */

.mobile-filter-modal {
  border: none;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: #fff;
}

/* Modal positioning */

.modal-dialog-bottom {
  margin: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
}

/* =========================================================
   HEADER
========================================================= */

.mobile-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-filter-header h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.mobile-filter-header h5 i {
  color: #22c55e;
  margin-right: 6px;
}

.mobile-filter-header small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.75rem;
}

/* Close button */

.mobile-filter-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   SEARCH
========================================================= */

.mobile-filter-search {
  display: flex;
  gap: 8px;
  padding: 15px 20px;
}

.mobile-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 50px;
  padding: 0 15px;
}

.mobile-search-box i {
  color: #22c55e;
  margin-right: 8px;
}

.mobile-search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 11px 0;
  font-size: 0.85rem;
}

.mobile-search-btn {
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 0 17px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* =========================================================
   CATEGORIES
========================================================= */

.mobile-filter-categories {
  padding: 0 20px 15px;
}

.mobile-filter-categories h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
}

.mobile-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-category-btn {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.25s ease;
}

.mobile-category-btn i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-category-btn.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  color: #fff;
}

.mobile-category-btn.active i {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* =========================================================
   FOOTER
========================================================= */

.mobile-filter-footer {
  padding: 5px 20px 20px;
}

.mobile-done-btn {
  width: 100%;
  border: none;
  background: #111827;
  color: #fff;
  padding: 12px;
  border-radius: 50px;
  font-weight: 600;
}

.mobile-done-btn i {
  margin-right: 6px;
}

/* =========================================================
   MOBILE ONLY
========================================================= */

@media (max-width: 576px) {
  /* Hide the large desktop filter */
  .filter-wrapper {
    display: none;
  }

  /* Floating filter button */
  .mobile-filter-trigger {
    display: flex;
    position: fixed;
    right: 18px;
    bottom: 85px;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #22c55e, #16a34a);

    color: #fff;

    align-items: center;
    justify-content: center;

    gap: 0;

    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);

    z-index: 1050;

    transition: all 0.3s ease;
  }

  .mobile-filter-trigger:hover {
    transform: translateY(-3px);
  }

  .mobile-filter-trigger i {
    font-size: 18px;
  }

  /* Hide text initially */
  .mobile-filter-trigger span {
    display: none;
  }

  /* Modal */
  .modal-dialog-bottom {
    margin: 0;
  }
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .mobile-filter-modal {
  background: #111827;
}

body.dark-mode .mobile-filter-header {
  border-color: #374151;
}

body.dark-mode .mobile-filter-header h5 {
  color: #fff;
}

body.dark-mode .mobile-filter-header small {
  color: #9ca3af;
}

body.dark-mode .mobile-filter-close {
  background: #1f2937;
  color: #d1d5db;
}

body.dark-mode .mobile-search-box {
  background: #1f2937;
}

body.dark-mode .mobile-search-box input {
  color: #fff;
}

body.dark-mode .mobile-filter-categories h6 {
  color: #d1d5db;
}

body.dark-mode .mobile-category-btn {
  background: #1f2937;
  border-color: #374151;
  color: #d1d5db;
}

/* filter button section for small screens  */

/* product listing */
/* =========================================================
   SECTION HEADER
========================================================= */

.section-subtitle {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 15px;
}

.section-text {
  color: #6b7280;
  max-width: 650px;
  margin: auto;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

/* =========================================================
   IMAGE
========================================================= */

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

/* =========================================================
   BADGE
========================================================= */

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
}

/* =========================================================
   WISHLIST
========================================================= */

.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  z-index: 3;
  transition: 0.3s ease;
}

.wishlist-btn:hover {
  background: #ef4444;
  color: #fff;
}

/* =========================================================
   OVERLAY
========================================================= */

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* Quick View */
.quick-view-btn {
  border: none;
  background: #fff;
  color: #111;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.quick-view-btn:hover {
  background: #22c55e;
  color: #fff;
}

/* =========================================================
   BODY
========================================================= */

.product-body {
  padding: 24px;
}

/* Category */
.product-category {
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Title */
.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 12px 0;
  color: #111827;
}

/* Rating */
.product-rating {
  color: #f59e0b;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-rating span {
  color: #6b7280;
  margin-left: 5px;
}

/* Price */
.product-price {
  margin-bottom: 20px;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
}

/* =========================================================
   ADD TO CART
========================================================= */

.add-cart-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.add-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .section-title {
  color: #fff;
}

body.dark-mode .section-text {
  color: #9ca3af;
}

body.dark-mode .product-card {
  background: #111827;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .product-title {
  color: #fff;
}

body.dark-mode .current-price {
  color: #fff;
}

body.dark-mode .wishlist-btn {
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
}

body.dark-mode .quick-view-btn {
  background: #111827;
  color: #fff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* @media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }

  .product-image {
    height: 240px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .product-body {
    padding: 20px;
  }

  .product-image {
    height: 220px;
  }
} */

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }

  .product-image {
    height: 240px;
  }
}

/* =========================================================
   MOBILE - 2 PRODUCTS PER ROW
========================================================= */

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  /* Reduce the gap between the two columns */
  .row.g-4 {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 18px;
  }

  .product-card {
    border-radius: 16px;
  }

  /* Smaller product image for 2-column layout */
  .product-image {
    height: 150px;
    object-fit: cover;
  }

  /* Smaller badge */
  .product-badge {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  /* Smaller wishlist button */
  .wishlist-btn {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  /* Reduce card padding */
  .product-body {
    padding: 12px;
  }

  /* Category */
  .product-category {
    font-size: 0.68rem;
  }

  /* Product name */
  .product-title {
    font-size: 0.9rem;
    line-height: 1.25;
    margin: 7px 0;
  }

  /* Rating */
  .product-rating {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .product-rating span {
    font-size: 0.65rem;
  }

  /* Price */
  .product-price {
    margin-bottom: 10px;
  }

  .current-price {
    font-size: 0.95rem;
  }

  /* Add to cart button */
  .add-cart-btn {
    width: 100%;
    font-size: 0.75rem;
    padding: 8px 6px;
  }
}

/* end product listing styles */

/* =========================================================
   PREMIUM FOOTER
========================================================= */

.premium-footer {
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

/* =========================================================
   NEWSLETTER
========================================================= */

.footer-newsletter {
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
}

.newsletter-wrapper {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 30px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.3);
}

/* Badge */
.newsletter-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Text */
.newsletter-text h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

/* Form */
.newsletter-form {
  background: #fff;
  border-radius: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  min-width: 350px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  border-radius: 50px;
}

.newsletter-form button {
  border: none;
  background: #111827;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.newsletter-form button:hover {
  background: #000;
}

/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
  background: #0f172a;
  padding: 150px 0 70px;
  color: #d1d5db;
}

/* Brand */
.footer-brand h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-brand p {
  line-height: 1.8;
}

/* Titles */
.footer-title {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #22c55e;
  padding-left: 5px;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: #22c55e;
  transform: translateY(-3px);
}

/* Contact */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact i {
  color: #22c55e;
}

/* Payment */
.payment-methods {
  margin-top: 30px;
}

.payment-methods span {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.payment-icons {
  display: flex;
  gap: 18px;
  font-size: 2rem;
  color: #fff;
}

/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
  background: #020617;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .footer-main {
  background: #020617;
}

body.dark-mode .footer-bottom {
  background: #000;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .newsletter-wrapper {
    padding: 40px;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    width: 100%;
    min-width: auto;
  }

  .footer-bottom-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .newsletter-wrapper {
    padding: 30px 20px;
  }

  .newsletter-text h2 {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 24px;
    gap: 10px;
    padding: 15px;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-main {
    padding-top: 140px;
  }
}

/* end footer styles */

/* =========================
   ABOUT HERO
========================= */
.about-hero {
  background: linear-gradient(135deg, #0f3d1f, #000000);
  color: #fff;
  padding: 90px 20px;
}

.about-hero h1 {
  font-size: 42px;
  font-weight: 700;
}

.about-hero p {
  font-size: 18px;
  opacity: 0.85;
}

/* =========================
   STORY SECTION
========================= */
.about-story h2 {
  color: #0f3d1f;
  font-weight: 700;
}

.about-story p {
  color: #444;
  line-height: 1.7;
}

/* =========================
   STATS SECTION
========================= */
.stats-section {
  background: #0f3d1f;
  color: white;
  padding: 60px 0;
  margin-top: 40px;
}

.stat-box {
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.stat-box h2 {
  font-size: 36px;
  font-weight: bold;
}

.stat-box p {
  margin: 0;
  opacity: 0.85;
}

.stat-box:hover {
  transform: translateY(-5px);
}

/* =========================
   TEAM SECTION
========================= */
.team-section {
  background: #f9f9f9;
}

.team-card {
  background: #fff;
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #0f3d1f;
}

.team-card h5 {
  margin: 0;
  font-weight: 700;
  color: #0f3d1f;
}

.team-card p {
  margin: 0;
  color: #777;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
}
.section-title h4 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  letter-spacing: -0.3px;
}
.section-title .title-green {
  color: var(--fresh-green);
}
.section-title .divider {
  width: 70px;
  height: 4px;
  background: var(--fresh-green);
  margin: 1rem auto 0;
  border-radius: 4px;
}
.para-desc {
  max-width: 700px;
  font-size: 1.05rem;
  color: #4a5562;
  line-height: 1.6;
}

/* Hero About Section */
.about-hero {
  background: linear-gradient(105deg, #ffffff 0%, #f9fef7 100%);
  padding: 3rem 0 2rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.about-highlight {
  background: var(--fresh-green-soft);
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
  display: inline-block;
  font-weight: 600;
  color: var(--fresh-green);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.about-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--black-soft);
}
.about-hero h1 span {
  color: var(--fresh-green);
}
.about-lead {
  font-size: 1.2rem;
  color: #2d3e2c;
  margin: 1.5rem 0;
  line-height: 1.5;
}
.stats-badge {
  background: white;
  border-radius: 32px;
  padding: 0.5rem 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(44, 110, 47, 0.15);
  font-size: 0.9rem;
  font-weight: 500;
}
.stats-badge i {
  color: var(--fresh-green);
  margin-right: 8px;
}

/* Mission Cards */
.mission-card {
  background: white;
  border-radius: 32px;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.mission-card:hover {
  transform: translateY(-6px);
  border-color: var(--fresh-green-light);
  box-shadow: var(--shadow-md);
}
.icon-circle {
  width: 70px;
  height: 70px;
  background: var(--fresh-green-soft);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.icon-circle i {
  font-size: 2.2rem;
  color: var(--fresh-green);
}
.mission-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
}

/* Team Cards - two members design */
.team-card {
  background: #ffffff;
  border-radius: 36px;
  padding: 1.8rem 1.2rem 1.8rem;
  transition: all 0.25s ease-in-out;
  border: 1px solid rgba(44, 110, 47, 0.12);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--fresh-green);
  box-shadow: 0 25px 35px -12px rgba(44, 110, 47, 0.18);
}
.team-img-wrapper {
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
  position: relative;
}
.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}
.team-card:hover .team-img {
  transform: scale(1.02);
  border-color: var(--fresh-green-light);
}
.team-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}
.team-role {
  color: var(--fresh-green);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  background: var(--fresh-green-soft);
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.social-icon-team {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}
.social-icon-team a {
  background: #f1f5f1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark-charcoal);
  transition: 0.2s;
  text-decoration: none;
}
.social-icon-team a:hover {
  background: var(--fresh-green);
  color: white;
  transform: translateY(-2px);
}
/* end about page */

/* contact.php styles */
.contact-main {
  padding-top: 2rem;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f9fef7 100%);
  padding: 2rem 0 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--gray-border);
}

.contact-badge {
  background: var(--fresh-green-soft);
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
  display: inline-block;
  font-weight: 600;
  color: var(--fresh-green);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--black-soft);
  margin-bottom: 1rem;
}

.contact-hero h1 span {
  color: var(--fresh-green);
  position: relative;
}

.contact-lead {
  font-size: 1.1rem;
  color: #4a5562;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Info Cards */
.contact-info-wrapper {
  background: var(--gray-light);
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-border);
}

.info-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-charcoal);
}

.info-subtitle {
  color: #5a6b60;
  line-height: 1.5;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--fresh-green-soft);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.4rem;
  color: var(--fresh-green);
}

.info-details h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--dark-charcoal);
}

.info-details p {
  margin: 0;
  color: #5a6b60;
  line-height: 1.4;
}

.info-details a {
  color: #5a6b60;
  text-decoration: none;
  transition: color 0.2s;
}

.info-details a:hover {
  color: var(--fresh-green);
}

/* Social Connect */
.social-connect h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fresh-green);
  font-size: 1.2rem;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid var(--gray-border);
}

.social-link:hover {
  background: var(--fresh-green);
  color: white;
  transform: translateY(-3px);
}

/* Contact Form */
/* Contact Form Styles - Fixed */
.contact-form-wrapper {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 1rem;
}

.form-group-custom {
  margin-bottom: 1.2rem;
}

.form-group-custom label {
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.85rem;
}

.form-group-custom label i {
  color: var(--fresh-green);
  width: 20px;
  margin-right: 0.3rem;
}

.form-group-custom .required {
  color: #c23d2b;
  margin-left: 0.2rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 16px;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
  background: white;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--fresh-green);
  box-shadow: 0 0 0 0.2rem rgba(44, 110, 47, 0.1);
}

.form-control-custom::placeholder {
  color: #b0b8b5;
  font-size: 0.85rem;
}

select.form-control-custom {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%232c6e2f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 100px;
}

.btn-submit-contact {
  width: 100%;
  background: var(--fresh-green);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit-contact:hover {
  background: var(--fresh-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 110, 47, 0.3);
}

.form-note {
  text-align: center;
  color: #8a9a8f;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Alert Styles */
.alert {
  border-radius: 16px;
  border: none;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: #e9f5e6;
  color: #2c6e2f;
  border-left: 4px solid #2c6e2f;
}

.alert-danger {
  background: #fef2f0;
  color: #c23d2b;
  border-left: 4px solid #c23d2b;
}

.alert .btn-close {
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .btn-submit-contact {
    padding: 0.8rem 1.5rem;
  }
}

/* Map Section */
.map-section {
  background: var(--gray-light);
  padding: 3rem 0 4rem;
  margin-top: 2rem;
}

.map-badge {
  background: var(--fresh-green-soft);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  display: inline-block;
  font-weight: 600;
  color: var(--fresh-green);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.map-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0.8rem;
}

.map-title span {
  color: var(--fresh-green);
}

.map-subtitle {
  color: #5a6b60;
  max-width: 500px;
  margin: 0 auto;
}

.map-wrapper {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.directions-card {
  background: white;
  border-radius: 24px;
  padding: 1.2rem 1.8rem;
  margin-top: 1.5rem;
  border: 1px solid var(--gray-border);
}

.btn-map {
  background: transparent;
  border: 1.5px solid var(--fresh-green);
  color: var(--fresh-green);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}

.btn-map:hover {
  background: var(--fresh-green);
  color: white;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-badge {
  background: var(--fresh-green-soft);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  display: inline-block;
  font-weight: 600;
  color: var(--fresh-green);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-charcoal);
}

.faq-title span {
  color: var(--fresh-green);
}

.faq-card {
  background: var(--gray-light);
  border-radius: 24px;
  padding: 1.5rem;
  transition: all 0.2s;
  border: 1px solid var(--gray-border);
  height: 100%;
}

.faq-card:hover {
  transform: translateY(-5px);
  border-color: var(--fresh-green-light);
  box-shadow: var(--shadow-sm);
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: var(--fresh-green-soft);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.faq-icon i {
  font-size: 1.5rem;
  color: var(--fresh-green);
}

.faq-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-charcoal);
}

.faq-card p {
  color: #5a6b60;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

/* Alert Styles */
.alert {
  border-radius: 16px;
  border: none;
}

.alert-success {
  background: #e9f5e6;
  color: #2c6e2f;
}

.alert-danger {
  background: #fef2f0;
  color: #c23d2b;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-lead {
    font-size: 1rem;
  }

  .info-title,
  .form-title {
    font-size: 1.5rem;
  }

  .map-title,
  .faq-title {
    font-size: 1.6rem;
  }

  .contact-info-wrapper,
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .directions-card .row {
    text-align: center;
  }

  .btn-map {
    margin-top: 0.8rem;
  }
}

/* Bootstrap Icons and Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Poppins:wght@400;500;600;700;800&display=swap");

/* end contact.php styles */

/* Quick View Modal Styles */
.quick-view-modal .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quick-view-modal .modal-header {
  background: linear-gradient(
    135deg,
    var(--fresh-green) 0%,
    var(--fresh-green-dark) 100%
  );
  color: white;
  border: none;
  padding: 1rem 1.5rem;
}

.quick-view-modal .modal-header .modal-title {
  font-weight: 700;
  color: white;
}

.quick-view-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.quick-view-modal .modal-body {
  padding: 1.8rem;
}

.quick-view-image-wrapper {
  background: var(--gray-light);
  border-radius: 24px;
  padding: 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-view-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 16px;
  object-fit: contain;
}

.quick-view-category {
  display: inline-block;
  background: var(--fresh-green-soft);
  color: var(--fresh-green);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quick-view-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0.8rem;
}

.quick-view-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

.quick-view-rating span {
  color: #6c757d;
  margin-left: 0.5rem;
}

.quick-view-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fresh-green);
  margin: 1rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.quick-view-description {
  margin: 1rem 0;
}

.quick-view-description h6,
.quick-view-features h6 {
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.quick-view-description p {
  color: #5a6b60;
  line-height: 1.6;
  font-size: 0.9rem;
}

.quick-view-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-view-features li {
  padding: 0.4rem 0;
  color: #5a6b60;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-view-features li i {
  color: var(--fresh-green);
  width: 20px;
  font-size: 0.8rem;
}

.quick-view-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  overflow: hidden;
  background: white;
}

.qty-btn {
  width: 40px;
  height: 45px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--dark-charcoal);
}

.qty-btn:hover {
  background: var(--fresh-green);
  color: white;
}

.qty-input {
  width: 60px;
  height: 45px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
}

.qty-input:focus {
  outline: none;
}

.add-cart-btn-modal {
  flex: 1;
  background: var(--fresh-green);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-cart-btn-modal:hover {
  background: var(--fresh-green-dark);
  transform: translateY(-2px);
  color: #0f3d1f;
}

/* Quick View Overlay Button */
.quick-view-btn {
  background: white;
  color: var(--fresh-green);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.quick-view-btn:hover {
  background: var(--fresh-green);
  color: white;
  transform: scale(1.05);
}

/* Cancel/Close Button in Modal Footer */
.quick-view-modal .modal-footer {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.btn-cancel-modal {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cancel-modal:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Dark Mode Support */
.dark-mode .quick-view-modal .modal-footer {
  background: #1a1a2e;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .btn-cancel-modal {
  background: #444455;
  color: #eeeeee;
}

.dark-mode .btn-cancel-modal:hover {
  background: #555566;
}

/* Responsive */
@media (max-width: 768px) {
  .quick-view-modal .modal-body {
    padding: 1rem;
  }

  .quick-view-actions {
    flex-direction: column;
  }

  .quantity-selector {
    justify-content: center;
  }

  .quick-view-title {
    font-size: 1.2rem;
  }

  .quick-view-price {
    font-size: 1.4rem;
  }
}

/* end of quick view modal styles */

/* ==================================================
   ABOUT PAGE DARK MODE
================================================== */

.dark-mode .about-hero {
  background: linear-gradient(135deg, #101810, #0b0f0b);
  color: #f1f1f1;
}

.dark-mode .about-hero h1,
.dark-mode .about-hero h2,
.dark-mode .about-hero h3,
.dark-mode .about-hero h4 {
  color: #ffffff;
}

.dark-mode .about-hero p,
.dark-mode .about-lead {
  color: #cfcfcf;
}

/* ==================================================
   ABOUT STORY SECTION
================================================== */

.dark-mode .about-story {
  background: #121212;
}

.dark-mode .about-story h2 {
  color: #4ade80;
}

.dark-mode .about-story p {
  color: #c9c9c9;
}

/* ==================================================
   STATS SECTION
================================================== */

.dark-mode .stats-section {
  background: linear-gradient(135deg, #0b1a0f, #101010);
}

.dark-mode .stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.dark-mode .stat-box h2 {
  color: #4ade80;
}

.dark-mode .stat-box p {
  color: #d5d5d5;
}

/* ==================================================
   HIGHLIGHT BADGE
================================================== */

.dark-mode .about-highlight {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* ==================================================
   STATS BADGES
================================================== */

.dark-mode .stats-badge {
  background: #1c1c1c;
  color: #f1f1f1 !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .stats-badge i {
  color: #4ade80;
}

/* ==================================================
   MISSION / VALUES / VISION CARDS
================================================== */

.dark-mode .mission-card {
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode .mission-card:hover {
  transform: translateY(-6px);
  background: #202020;
}

.dark-mode .mission-card h3 {
  color: #ffffff;
}

.dark-mode .mission-card p {
  color: #cccccc;
}

/* ==================================================
   ICON CIRCLES
================================================== */

.dark-mode .icon-circle {
  background: linear-gradient(135deg, #198754, #14532d);
  color: white;
}

/* ==================================================
   WHY CHOOSE US SECTION
================================================== */

.dark-mode .value-badge {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.dark-mode .fresh-feature {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dark-mode .fresh-feature:hover {
  background: #202020;
}

.dark-mode .fresh-feature i {
  color: #4ade80;
}

.dark-mode .fresh-feature p {
  color: #d7d7d7;
}

.dark-mode .fresh-feature strong {
  color: #ffffff;
}

.dark-mode .text-muted {
  color: #bdbdbd !important;
}

/* ==================================================
   TEAM SECTION
================================================== */

.dark-mode .team-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dark-mode .team-card:hover {
  background: #202020;
  transform: translateY(-8px);
}

.dark-mode .team-card h4 {
  color: #ffffff;
}

.dark-mode .team-role {
  color: #4ade80;
}

.dark-mode .team-card p {
  color: #cfcfcf !important;
}

/* ==================================================
   TEAM SOCIAL ICONS
================================================== */

.dark-mode .social-icon-team a {
  background: #2a2a2a;
  color: #ffffff;
}

.dark-mode .social-icon-team a:hover {
  background: #198754;
  color: #ffffff;
}

/* ==================================================
   DIVIDER
================================================== */

.dark-mode .divider {
  background: linear-gradient(to right, #198754, #4ade80);
}

/* ==================================================
   TITLE COLORS
================================================== */

.dark-mode .title-green {
  color: #4ade80;
}

/* ==================================================
   IMAGES
================================================== */

.dark-mode .about-story img,
.dark-mode .team-img,
.dark-mode .about-hero img {
  filter: brightness(0.92) contrast(1.02);
}

/* ==================================================
   SECTION BACKGROUNDS
================================================== */

.dark-mode main {
  background: #111111;
}

.dark-mode body {
  background: #111111;
  color: #f5f5f5;
}

/* ==================================================
   SCROLLBAR
================================================== */

.dark-mode ::-webkit-scrollbar {
  width: 10px;
}

.dark-mode ::-webkit-scrollbar-track {
  background: #151515;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #2f2f2f;
  border-radius: 10px;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #198754;
}

/* ==================================================
   MOBILE IMPROVEMENTS
================================================== */

@media (max-width: 768px) {
  .dark-mode .mission-card,
  .dark-mode .team-card,
  .dark-mode .fresh-feature {
    border-radius: 18px;
  }
}

/* end of dark mode for about page */

/* ==================================================
   CONTACT PAGE DARK MODE
================================================== */

.dark-mode .contact-main {
  background: #111111;
  color: #f5f5f5;
}

/* ==================================================
   HERO SECTION
================================================== */

.dark-mode .contact-hero {
  background: linear-gradient(135deg, #101810, #0b0f0b);
  color: white;
}

.dark-mode .contact-hero h1,
.dark-mode .contact-hero h2 {
  color: #ffffff;
}

.dark-mode .contact-hero span {
  color: #4ade80;
}

.dark-mode .contact-lead {
  color: #cfcfcf;
}

/* ==================================================
   BADGES
================================================== */

.dark-mode .contact-badge,
.dark-mode .map-badge,
.dark-mode .faq-badge {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* ==================================================
   CONTACT INFO PANEL
================================================== */

.dark-mode .contact-info-wrapper {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.dark-mode .info-title,
.dark-mode .form-title,
.dark-mode .map-title,
.dark-mode .faq-title {
  color: #ffffff;
}

.dark-mode .map-title span,
.dark-mode .faq-title span {
  color: #4ade80;
}

.dark-mode .info-subtitle,
.dark-mode .map-subtitle {
  color: #c7c7c7;
}

/* ==================================================
   CONTACT INFO ITEMS
================================================== */

.dark-mode .info-item {
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.dark-mode .info-item:hover {
  background: #222222;
  transform: translateY(-4px);
}

.dark-mode .info-details h5 {
  color: #ffffff;
}

.dark-mode .info-details p,
.dark-mode .info-details a {
  color: #cccccc;
}

.dark-mode .info-details a:hover {
  color: #4ade80;
}

/* ==================================================
   ICONS
================================================== */

.dark-mode .info-icon {
  background: linear-gradient(135deg, #198754, #14532d);
  color: white;
}

/* ==================================================
   SOCIAL MEDIA
================================================== */

.dark-mode .social-connect h5 {
  color: #ffffff;
}

.dark-mode .social-link {
  background: #222222;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .social-link:hover {
  background: #198754;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==================================================
   MAP SECTION
================================================== */

.dark-mode .map-section {
  background: #111111;
}

.dark-mode .map-wrapper iframe {
  filter: grayscale(0.2) invert(0.92) contrast(0.9);
}

/* ==================================================
   DIRECTIONS CARD
================================================== */

.dark-mode .directions-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #dddddd;
}

.dark-mode .btn-map {
  background: linear-gradient(135deg, #198754, #14532d);
  color: white;
}

.dark-mode .btn-map:hover {
  background: #20a164;
  color: white;
}

/* ==================================================
   FAQ SECTION
================================================== */

.dark-mode .faq-section {
  background: #111111;
}

.dark-mode .faq-card {
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #dddddd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dark-mode .faq-card:hover {
  background: #202020;
  transform: translateY(-5px);
}

.dark-mode .faq-card h5 {
  color: #ffffff;
}

.dark-mode .faq-card p {
  color: #cfcfcf;
}

/* ==================================================
   FAQ ICONS
================================================== */

.dark-mode .faq-icon {
  background: linear-gradient(135deg, #198754, #14532d);
  color: white;
}

/* ==================================================
   SCROLLBAR
================================================== */

.dark-mode ::-webkit-scrollbar {
  width: 10px;
}

.dark-mode ::-webkit-scrollbar-track {
  background: #151515;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 10px;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #198754;
}

/* ==================================================
   MOBILE IMPROVEMENTS
================================================== */

@media (max-width: 768px) {
  .dark-mode .contact-info-wrapper,
  .dark-mode .contact-form-wrapper,
  .dark-mode .faq-card,
  .dark-mode .directions-card {
    border-radius: 20px;
  }
}
/* end of dark mode for contact.php */

/* add to cart modal */
/* Custom SweetAlert2 Styles for Add to Cart Popup */
.custom-add-to-cart-popup {
  border-radius: 32px !important;
  padding: 1.5rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.custom-add-to-cart-title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}

.custom-add-to-cart-confirm {
  background: linear-gradient(135deg, #2c6e2f 0%, #1e521f 100%) !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s !important;
}

.custom-add-to-cart-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(44, 110, 47, 0.3) !important;
}

.custom-add-to-cart-cancel {
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s !important;
}

.custom-add-to-cart-cancel:hover {
  transform: translateY(-2px) !important;
}

/* Remove spinner buttons from number input */
.custom-add-to-cart-popup input[type="number"] {
  -moz-appearance: textfield;
}

.custom-add-to-cart-popup input[type="number"]::-webkit-inner-spin-button,
.custom-add-to-cart-popup input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Animation for quantity buttons */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.qty-btn-animation {
  animation: pulse 0.2s ease;
}
/* end of add to cart modal */

/* Custom Login Popup Styles */
.custom-login-popup {
  border-radius: 32px !important;
  padding: 1.5rem !important;
  max-width: 450px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.custom-login-title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  padding-bottom: 0 !important;
}

.custom-login-confirm {
  background: linear-gradient(135deg, #2c6e2f 0%, #1e521f 100%) !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s !important;
  min-width: 140px !important;
}

.custom-login-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(44, 110, 47, 0.3) !important;
}

.custom-login-cancel {
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s !important;
  min-width: 140px !important;
}

.custom-login-cancel:hover {
  transform: translateY(-2px) !important;
}

/* Animation for the cart icon */
@keyframes bounceIcon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Dark Mode Support for Login Popup */
.dark-mode .custom-login-popup {
  background: #1a1a2e !important;
}

.dark-mode .custom-login-popup h4 {
  color: #ffffff !important;
}

.dark-mode .custom-login-popup p {
  color: #bbbbbb !important;
}

.dark-mode .custom-login-popup .benefits-box {
  background: #252540 !important;
}

.dark-mode .custom-login-popup .benefits-box p {
  color: #4c9a2e !important;
}

.dark-mode .custom-login-popup .benefits-box li {
  color: #cccccc !important;
}

.dark-mode .custom-login-cancel {
  background: #444455 !important;
  color: #eeeeee !important;
}

.dark-mode .custom-login-cancel:hover {
  background: #555566 !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .custom-login-popup {
    max-width: 90% !important;
    padding: 1rem !important;
  }

  .custom-login-confirm,
  .custom-login-cancel {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    min-width: 120px !important;
  }
}

/* end custom popup styles for not loggeg in */

/* ==================================================
   RESPONSIVE QUICK VIEW MODAL - MOBILE COMPACT
================================================== */

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
  .quick-view-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .quick-view-modal .modal-content {
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .quick-view-modal .modal-body {
    padding: 1rem;
  }

  /* Compact image on mobile */
  .quick-view-image-wrapper {
    padding: 0.5rem;
    border-radius: 16px;
  }

  .quick-view-image {
    max-height: 150px;
    width: auto;
    margin: 0 auto;
  }

  /* Smaller title on mobile */
  .quick-view-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  /* Compact price */
  .quick-view-price {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    padding: 0.3rem 0;
  }

  /* Smaller category badge */
  .quick-view-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.5rem;
  }

  /* Compact rating */
  .quick-view-rating {
    font-size: 0.8rem;
  }

  .quick-view-rating .rating-text {
    font-size: 0.7rem;
  }

  /* Compact quantity selector */
  .quantity-selector {
    height: 40px;
  }

  .qty-btn {
    width: 34px;
    height: 34px;
  }

  .qty-input {
    width: 45px;
    height: 34px;
    font-size: 0.9rem;
  }

  /* Compact add to cart button */
  .add-cart-btn-modal {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Modal footer */
  .quick-view-modal .modal-footer {
    padding: 0.75rem 1rem;
  }

  .btn-cancel-modal {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Collapsible sections for mobile */
  .mobile-collapsible {
    border-top: 1px solid var(--gray-border);
    padding-top: 0.8rem;
  }

  .collapsible-section {
    margin-bottom: 0.8rem;
  }

  .collapsible-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-light);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-charcoal);
    cursor: pointer;
    transition: all 0.2s;
  }

  .collapsible-btn i:first-child {
    color: var(--fresh-green);
  }

  .collapsible-btn i:last-child {
    margin-left: auto;
    transition: transform 0.2s;
  }

  .collapsible-btn.active i:last-child {
    transform: rotate(180deg);
  }

  .collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--gray-light);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0 1rem;
  }

  .collapsible-content.active {
    max-height: 300px;
    padding: 0.8rem 1rem;
  }

  .collapsible-content p {
    font-size: 0.8rem;
    color: #5a6b60;
    line-height: 1.5;
    margin: 0;
  }

  .collapsible-content ul {
    margin: 0;
    padding-left: 1.2rem;
  }

  .collapsible-content li {
    font-size: 0.8rem;
    color: #5a6b60;
    margin-bottom: 0.3rem;
  }

  .collapsible-content li i {
    margin-right: 0.5rem;
    color: var(--fresh-green);
  }
}

/* Dark mode support for collapsible sections */
.dark-mode .collapsible-btn {
  background: #252540;
  color: #e0e0e0;
}

.dark-mode .collapsible-content {
  background: #252540;
}

.dark-mode .collapsible-content p,
.dark-mode .collapsible-content li {
  color: #bbbbbb;
}

/* Extra small devices (up to 480px) */
@media (max-width: 480px) {
  .quick-view-modal .modal-body {
    padding: 0.8rem;
  }

  .quick-view-title {
    font-size: 1rem;
  }

  .quick-view-price {
    font-size: 1.1rem;
  }

  .quick-view-image {
    max-height: 120px;
  }

  .qty-btn {
    width: 30px;
    height: 30px;
  }

  .qty-input {
    width: 40px;
    height: 30px;
    font-size: 0.8rem;
  }

  .add-cart-btn-modal {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .collapsible-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .collapsible-content.active {
    padding: 0.6rem 0.8rem;
  }

  .collapsible-content p,
  .collapsible-content li {
    font-size: 0.7rem;
  }
}

/* Animation for collapsible sections */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.collapsible-content.active {
  animation: slideDown 0.3s ease-out;
}
/* end of compacted view for mobile */

/* ==================================================
   REDIRECT LOADING POPUP STYLES
================================================== */

.redirect-loading-popup {
  border-radius: 32px !important;
  padding: 1.5rem !important;
  max-width: 350px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Custom Spinner */
.custom-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: #2c6e2f;
  animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
  border-right-color: #4c9a2e;
  animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: #8bc34a;
  animation-delay: -0.15s;
}

.spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #2c6e2f;
  animation: pulse 1s ease infinite;
}

/* Progress Bar */
.redirect-progress {
  width: 100%;
  height: 4px;
  background: #e9f5e6;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2c6e2f, #4c9a2e, #8bc34a);
  border-radius: 4px;
  transition: width 1s linear;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Dark Mode Support */
.dark-mode .redirect-loading-popup {
  background: #1a1a2e !important;
}

.dark-mode .redirect-loading-popup p {
  color: #cccccc !important;
}

.dark-mode .redirect-progress {
  background: #333355;
}

/* Responsive */
@media (max-width: 576px) {
  .redirect-loading-popup {
    max-width: 280px !important;
    padding: 1rem !important;
  }

  .custom-spinner {
    width: 60px;
    height: 60px;
  }

  .spinner-icon {
    font-size: 22px;
  }
}
/* end redirect popup for not logged in user */
