/* Global */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f3f6f1;
  color: #1a202c;
}

.page-body {
  min-height: 70vh;
}

/* Top bar & nav */
.top-bar {
  background: #22543d;
}

/* Navbar */
.navbar {
  background: #1a3d2b !important;
  border-bottom: 3px solid #d4a017;
  padding: 0.35rem 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo {
  height: 75px !important;
  width: 75px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #d4a017;
  padding: 3px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212,160,23,0.4), 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.navbar-logo:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 0 4px #d4a017, 0 8px 24px rgba(0,0,0,0.4);
}

.brand-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  border-left: 2px solid #d4a017;
  padding-left: 10px;
}

.nav-link {
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: 0.03em;
  padding: 0.4rem 1rem !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.2);
  color: #ffffff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Breadcrumb */
.breadcrumb-bar {
  background: #f8faf5;
  border-bottom: 1px solid #e2e8f0;
}

/* Hero section */
.hero-wrapper {
  margin-top: 1.5rem;
}
.hero {
  background: linear-gradient(135deg, #e3f5d7, #fef9e7);
  border-radius: 1.25rem;
  padding:3rem 2.5rem;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #22543d;
}
.hero-text {
  font-size: 1.05rem;
  color: #2d3748;
}

/* Product grid */
.product-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card img {
  object-fit: cover;
  height: 220px;
}
.product-card .card-body {
  padding: 0.9rem 1rem 1rem;
}
.product-card .card-title {
  font-size: 1rem;
  font-weight: 600;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Product detail */
.product-detail-img {
  border-radius: 1rem;
  max-height: 420px;
  object-fit: cover;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2f855a;
}

/* Cart table */
.table thead th {
  border-bottom-color: #cbd5e0;
}
.table tbody tr:last-child td {
  border-bottom: 1px solid #e2e8f0;
}

/* Buttons */
.btn-primary {
  background-color: #2f855a;
  border-color: #2f855a;
}
.btn-primary:hover {
  background-color: #276749;
  border-color: #276749;
}
.btn-outline-success {
  color: #2f855a;
  border-color: #c6f6d5;
  background-color: #f0fff4;
}
.btn-outline-success:hover {
  color: #1c4532;
  background-color: #c6f6d5;
}

/* Star Rating */
.stars {
  color: #f5a623;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.stars .empty {
  color: #ddd;
}

/* ── Mobile Responsive ── */
@media (max-width: 767px) {

  /* Top bar: hide email, show only tagline */
  .top-bar .container {
    justify-content: center !important;
  }
  .top-bar .container span:last-child {
    display: none;
  }

  /* Navbar: shrink logo */
  .navbar-logo {
    height: 48px !important;
    width: 48px;
  }
  .brand-title {
    font-size: 0.78rem;
    padding-left: 7px;
  }

  /* Hero: compact padding & smaller font */
  .hero {
    padding: 1.6rem 1.2rem;
    border-radius: 0.75rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-text {
    font-size: 0.9rem;
  }
  .hero .btn-lg {
    font-size: 0.9rem;
    padding: 0.45rem 1.1rem;
  }

  /* Product cards: shorter image */
  .product-card img {
    height: 150px;
  }
  .product-card .card-title {
    font-size: 0.85rem;
  }
  .product-price {
    font-size: 1rem;
  }
  .product-card .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.55rem;
  }

  /* Footer bottom bar: stack vertically */
  .site-footer .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  /* Floating chat button: smaller on mobile */
  a[href*="chat"] {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    bottom: 16px;
    right: 16px;
  }
}

/* Footer */
.site-footer {
  background: #0f2318;
  color: #e2e8f0;
}

.footer-link {
  color: #a0c4a8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #d4a017;
}

/* ── Section Headings ── */
.section-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1b5e20;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #d4a017;
  display: inline-block;
}

/* ── WhatsApp Button ── */
.whatsapp-btn {
  background: #25D366;
  color: #fff !important;
  border: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.whatsapp-btn:hover {
  background: #1ebe5d;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Combo Card ── */
.combo-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.combo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* ── Testimonial Card ── */
.testimonial-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-left: 4px solid #d4a017;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.testimonial-card p {
  color: #374151;
  line-height: 1.75;
}

/* ── Delivery Info Card ── */
.delivery-info-card {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px solid #a5d6a7;
  border-left: 5px solid #2e7d32;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
}

/* ── Price Variants ── */
.price-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.price-badge {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
}

/* ── Discount Badge ── */
.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e53935;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(229,57,53,0.4);
  z-index: 2;
}

/* ── Mobile tweaks for new elements ── */
@media (max-width: 767px) {
  .section-heading {
    font-size: 1.25rem;
  }
  .delivery-info-card {
    padding: 1rem 1.2rem;
  }
  .testimonial-card {
    padding: 1rem;
  }
  .price-badge {
    font-size: 0.65rem;
  }
}