@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ==========================================================================
   Design System Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Brand Green Palette */
  --green-deep: #073b19;
  --green-primary: #0d5c2a;
  --green-hover: #127536;
  --green-light: #eaf5ee;
  --green-tint: #f2f9f4;
  --green-border: #c3e2cc;

  /* Accent & Warm Gold */
  --amber-primary: #d97706;
  --amber-light: #fef3c7;
  --amber-dark: #b45309;
  --amber-glow: rgba(217, 119, 6, 0.25);

  /* Earthy & Supporting Colors */
  --brown-earth: #78350f;
  --brown-light: #fef7ee;
  --blue-slate: #0369a1;
  --blue-light: #f0f9ff;
  --red-accent: #dc2626;

  /* Neutrals & Surfaces */
  --bg-main: #fcfbf7;
  --bg-card: #ffffff;
  --bg-card-alt: #f8faf6;
  --text-main: #142016;
  --text-muted: #536255;
  --text-light: #7e8f80;
  --border-light: #e5ece3;
  --border-subtle: #edf3eb;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 92, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(13, 92, 42, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(13, 92, 42, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -8px rgba(13, 92, 42, 0.18), 0 6px 16px -2px rgba(0, 0, 0, 0.06);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Noto Sans Tamil", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(13, 92, 42, 0.05);
  transition: var(--transition-smooth);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--green-tint);
  border: 1px solid var(--green-border);
  transition: var(--transition-smooth);
}

.header-phone:hover {
  background: var(--green-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.header-phone img {
  width: 22px;
  height: 22px;
}

.header-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-phone-text strong {
  font-size: 0.88rem;
  color: var(--green-deep);
  font-weight: 700;
}

.header-phone-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Header Cart Button */
.header-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-light);
  border: 1.5px solid var(--amber-primary);
  color: var(--amber-dark);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
  position: relative;
}

.header-cart-btn:hover {
  background: var(--amber-primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--amber-glow);
  transform: translateY(-2px);
}

.header-cart-badge {
  background: var(--green-deep);
  color: #fff;
  border-radius: var(--radius-full);
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-cart-btn:hover .header-cart-badge {
  background: #fff;
  color: var(--amber-dark);
}

/* Navigation Bar */
.nav-container {
  border-top: 1px solid var(--border-subtle);
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  position: relative;
}

.nav a:hover {
  color: var(--green-primary);
  background: var(--green-tint);
}

.nav a.active {
  color: var(--green-primary);
  background: var(--green-light);
  font-weight: 700;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--green-primary);
  border-radius: var(--radius-full);
}

/* Mobile Sidebar Drawer Elements (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--green-tint);
  border: 1.5px solid var(--green-border);
  color: var(--green-deep);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  line-height: 1;
}

.mobile-menu-toggle:hover {
  background: var(--green-light);
  color: var(--green-primary);
  transform: scale(1.05);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-nav-header,
.mobile-nav-footer,
.mobile-nav-backdrop,
.nav-icon {
  display: none;
}

body.mobile-nav-locked {
  overflow: hidden !important;
}

/* ==========================================================================
   Buttons & Core Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary,
.btn-dark {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 92, 42, 0.25);
}

.btn-primary:hover,
.btn-dark:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, var(--green-primary) 100%);
  box-shadow: 0 6px 20px rgba(13, 92, 42, 0.35);
  transform: translateY(-2px);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, var(--amber-primary) 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--amber-glow);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--amber-dark) 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transform: translateY(-2px);
}

.btn-light,
.white-btn {
  background: #fff;
  color: var(--green-deep);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover,
.white-btn:hover {
  background: var(--green-tint);
  border-color: var(--green-border);
  color: var(--green-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 1.5px solid var(--green-primary);
}

.btn-outline:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-brown {
  background: var(--brown-earth);
  color: #fff;
}

.btn-brown:hover {
  background: #92400e;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue-slate);
  color: #fff;
}

.btn-blue:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.wa-btn:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.green-btn {
  background: var(--green-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* ==========================================================================
   Section Headings & Typography
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-heading,
.heading {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-heading span,
.heading span {
  color: var(--amber-primary);
  margin: 0 8px;
  font-size: 1.2rem;
}

.section-heading h2,
.heading h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  display: inline-block;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-inline: auto;
  margin-top: 6px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 59, 25, 0.92) 0%, rgba(13, 92, 42, 0.85) 100%),
    url('assets/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 70px 0 80px;
  overflow: hidden;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.page-hero a {
  color: var(--amber-light);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-copy p {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #f1f7f2;
  margin-bottom: 24px;
}

.pill,
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-points-card,
.hero-points {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-point-item,
.hero-points span {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
}

.hero-point-item b,
.hero-points span b {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.hero-point-item small,
.hero-points span small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  display: block;
}

/* ==========================================================================
   Trust & Benefits Bar
   ========================================================================== */
.trust-strip,
.benefits,
.service-strip {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid,
.benefit-grid,
.service-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.trust-item,
.trust-grid>div,
.benefit-grid>div,
.service-strip>div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.trust-item:hover,
.trust-grid>div:hover,
.benefit-grid>div:hover,
.service-strip>div:hover {
  transform: translateY(-3px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-sm);
}

.trust-grid>div strong,
.benefit-grid>div b,
.service-strip>div b {
  display: block;
  font-size: 0.92rem;
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.25;
}

.trust-grid>div small,
.benefit-grid>div small,
.service-strip>div small {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   Category Navigation & Filter Tabs
   ========================================================================== */
.category-pills-bar,
.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.cat-pill,
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.cat-pill:hover,
.filter:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: var(--green-tint);
  transform: translateY(-2px);
}

.cat-pill.active,
.filter.active {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
  box-shadow: 0 4px 16px rgba(13, 92, 42, 0.25);
}

.cat-pill .count {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
}

.cat-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Search Box */
.search-wrapper,
label.search {
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
  display: block;
}

.search-input,
label.search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #fff;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.search-input:focus,
label.search input:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px var(--green-light);
}

.search-icon,
label.search span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Category Section Header */
.category-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}

.category-section-title h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-section-title span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Product Cards & Grid (5 Categories)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-border);
}

.product-card-img-wrapper,
.product-photo,
.pic {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f0;
}

.product-card-img-wrapper img,
.product-card>img,
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img-wrapper img,
.product-card:hover>img,
.product-card:hover .pic img {
  transform: scale(1.08);
}

.product-badge,
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-deep);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.product-badge.gold,
.badge.sale {
  background: var(--amber-primary);
}

.product-badge.fresh {
  background: #0284c7;
}

.product-category-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-deep);
  box-shadow: var(--shadow-sm);
}

.product-card-body,
.pbody,
.pinfo,
.product-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3,
.pbody h3,
.pinfo h3,
.product-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}

.product-card-body .tamil-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-highlights,
.product-copy ul {
  list-style: none;
  margin-bottom: 16px;
  flex: 1;
}

.product-highlights li,
.product-copy ul li {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-highlights li::before,
.product-copy ul li::before {
  content: "✓";
  color: var(--green-primary);
  font-weight: 800;
}

.product-price-row,
.pbody strong,
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.product-price,
.pbody strong,
.price-line {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-primary);
}

.product-price small,
.price-line .unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-actions,
.actions,
.buyrow {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.qty-control,
.quantity {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-main);
  height: 42px;
}

.qty-btn,
.qty,
.quantity button {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-primary);
  background: transparent;
  transition: var(--transition-fast);
}

.qty-btn:hover,
.qty:hover,
.quantity button:hover {
  background: var(--green-light);
}

.qty-val,
.actions span,
.quantity span {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-add-cart,
.add,
.cartadd {
  background: var(--green-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-add-cart:hover,
.add:hover,
.cartadd:hover {
  background: var(--green-hover);
  box-shadow: 0 4px 12px rgba(13, 92, 42, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Catalog Page Specifics (Sidebar + Filters)
   ========================================================================== */
.catalog,
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 40px;
}

.sidebar,
.catalog-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}

.side-card {
  margin-bottom: 24px;
}

.side-card h3,
.catalog-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-filter,
.side-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  margin-bottom: 4px;
  text-align: left;
}

.side-filter:hover,
.side-cat-btn:hover {
  background: var(--green-tint);
  color: var(--green-primary);
}

.side-filter.active,
.side-cat-btn.active {
  background: var(--green-light);
  color: var(--green-primary);
  font-weight: 700;
}

.side-filter b,
.side-cat-btn b {
  font-size: 0.78rem;
  background: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.price input[type="range"] {
  width: 100%;
  accent-color: var(--green-primary);
  margin: 10px 0;
}

.range-label,
.range-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.reset {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.reset:hover {
  background: var(--green-tint);
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.result-head,
.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.tools select,
#sort {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}

/* ==========================================================================
   Floating Cart Button
   ========================================================================== */
.floating-cart-launcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(13, 92, 42, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.floating-cart-launcher:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(13, 92, 42, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.floating-cart-icon {
  font-size: 1.4rem;
}

.floating-cart-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.floating-cart-badge {
  background: var(--amber-primary);
  color: #fff;
  border-radius: var(--radius-full);
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-cart-launcher.pulse-anim {
  animation: cartPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 12px rgba(217, 119, 6, 0.4);
  }

  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   Slide-in Cart Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100vw);
  background: #ffffff;
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  background: var(--green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-close {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.cart-drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  background: #fafbfa;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.cart-empty-state h4 {
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.cart-empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Cart Item Rows */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cart-item-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #eef3ee;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 2px;
}

.cart-item-info .cart-item-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  overflow: hidden;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-primary);
}

.cart-item-qty button:hover {
  background: var(--green-light);
}

.cart-item-qty span {
  width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-item-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-primary);
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 2px;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--red-accent);
}

/* Cart Summary & Order Form */
.cart-drawer-footer {
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cart-summary-row.grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-deep);
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.free-delivery-badge {
  background: var(--green-tint);
  border: 1px solid var(--green-border);
  color: var(--green-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Checkout Form Inside Drawer */
.checkout-form-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group label span {
  color: var(--red-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #fff;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-light);
}

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

.btn-email-order {
  width: 100%;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(13, 92, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-email-order:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, var(--green-primary) 100%);
  box-shadow: 0 8px 24px rgba(13, 92, 42, 0.4);
  transform: translateY(-2px);
}

.btn-drawer-back {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px;
}

.btn-drawer-back:hover {
  color: var(--green-primary);
}

/* ==========================================================================
   Order Confirmation Modal
   ========================================================================== */
.order-confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 35, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.order-confirm-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.order-confirm-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-confirm-modal.open .order-confirm-card {
  transform: scale(1);
}

.confirm-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-primary);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid var(--green-border);
}

.order-confirm-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.order-confirm-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.order-id-box {
  background: var(--green-tint);
  border: 1px dashed var(--green-primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.order-id-box strong {
  color: var(--green-deep);
  font-size: 1.1rem;
}

.order-receipt-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.order-receipt-table th {
  padding: 8px;
  background: var(--bg-main);
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.order-receipt-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.site-toast,
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green-deep);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.site-toast.show,
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Sections: Why, Delivery Steps, Story, Reviews, Location
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-grid>div {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.why-grid>div:hover {
  transform: translateY(-6px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
}

.why-grid strong {
  display: block;
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-top: 12px;
  margin-bottom: 6px;
}

.why-grid small {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  display: block;
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-border);
}

.step b {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(13, 92, 42, 0.3);
}

.step-icon {
  font-size: 2.2rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

.step strong {
  display: block;
  font-size: 1.02rem;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.step small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.arrow {
  font-size: 1.6rem;
  color: var(--green-border);
  font-weight: 800;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-grid article {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  position: relative;
}

.review-grid article::before {
  content: "“";
  font-size: 4rem;
  color: var(--green-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: serif;
  z-index: 0;
}

.review-grid article footer {
  margin-top: 16px;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Location Card */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.location-card,
.cta-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.cta-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.big-phone {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--amber-light);
  margin-bottom: 12px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.cow-badge img {
  width: 130px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stats>div {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.stats b {
  font-size: 1.5rem;
  display: block;
}

.stats strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber-light);
  display: block;
}

.stats span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.farm-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.value-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.value-grid article,
.highlight-grid article {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.value-grid article:hover,
.highlight-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
}

.highlight-grid article img {
  border-radius: var(--radius-md);
  height: 180px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */
.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px auto;
  max-width: 1100px;
}

.tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1.5px solid var(--border-light);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.tab.active {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

.gallery-grid-main,
.gallery,
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.gallery-card,
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img,
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img,
.card:hover img {
  transform: scale(1.06);
}

.gallery-card-body,
.cardbody {
  padding: 16px;
}

.gallery-card-body h3,
.cardbody h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.gallery-card-body p,
.cardbody p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2.2rem;
}

.lightbox #caption {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 14px;
  font-weight: 700;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-cards,
.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-cards article,
.contact-card-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-cards .round,
.contact-card-item .round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.layout,
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.panel,
.contact-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.panel h2,
.contact-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}

.faq button,
.faq-question {
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--green-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.faq div,
.faq-answer {
  display: none;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.faq div.open,
.faq-answer.open {
  display: block;
}

/* ==========================================================================
   Footer (All Pages)
   ========================================================================== */
.footer {
  background: var(--green-deep);
  color: #fff;
  padding: 60px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer h3 img {
  height: 104px;
  width: auto;
  margin-bottom: 14px;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--amber-light);
  transform: translateX(4px);
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social img {
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.social img:hover {
  opacity: 1;
  transform: scale(1.15);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Scroll To Top */
.to-top,
#top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--green-primary);
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.to-top.show,
#top.show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover,
#top:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-content,
  .intro-grid,
  .contact-grid,
  .layout,
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .catalog,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .catalog-sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Header Topbar */
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 10px;
  }

  .brand img {
    height: 58px;
    max-width: 140px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }

  .header-phone-text {
    display: none;
  }

  .header-phone {
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .header-phone img {
    width: 22px;
    height: 22px;
  }

  .header-cart-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .header-cart-badge {
    min-width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  /* Mobile Slide-in Sidebar Drawer */
  .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.28);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-top: none;
    border-right: 1px solid var(--border-light);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-container.open {
    transform: translateX(0);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 35, 16, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1045;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: block;
  }

  .mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Sidebar Header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
  }

  .mobile-nav-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:active {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
  }

  /* Sidebar Navigation Items */
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 16px;
    overflow-x: visible;
    flex: 1;
  }

  .nav a {
    padding: 13px 16px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
    white-space: normal;
  }

  .nav a:hover {
    background: var(--green-light);
    color: var(--green-primary);
    border-color: var(--green-border);
    transform: translateX(4px);
  }

  .nav a.active {
    background: var(--green-deep);
    color: #ffffff;
    border-color: var(--green-deep);
    box-shadow: 0 4px 14px rgba(16, 74, 34, 0.25);
  }

  .nav a.active::after {
    display: none;
  }

  .nav-icon {
    display: inline-block;
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
  }

  /* Sidebar Footer */
  .mobile-nav-footer {
    padding: 16px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav-wa {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #25D366;
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: transform 0.2s ease;
  }

  .mobile-nav-wa:hover,
  .mobile-nav-wa:active {
    transform: translateY(-2px);
  }

  .mobile-nav-wa img {
    width: 24px;
    height: 24px;
  }

  .mobile-nav-wa strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .mobile-nav-wa small {
    font-size: 0.76rem;
    opacity: 0.95;
  }

  .mobile-nav-loc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
    text-align: center;
    padding: 0 4px;
  }

  .hero-points-card,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-cart-launcher {
    bottom: 18px;
    right: 18px;
    padding: 12px 18px;
  }
}