/* ==========================================================================
   Design System & Premium Styles - Field Fresh Premium
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --primary-green: #1b5329;       /* Deep rich agricultural forest green */
  --primary-light: #2b7a3f;       /* Medium green for accents and hover */
  --secondary-green: #84cc16;     /* Fresh lime green for badges and highlights */
  --secondary-light: #f7fee7;     /* Light lime background */
  --accent-orange: #f59e0b;       /* Golden yellow for ripe fruits & stars */
  --accent-orange-light: #fef3c7; /* Light gold background */
  --danger-red: #ef4444;          /* Red for out-of-stock badges and errors */
  --text-dark: #1c1917;           /* Almost black stone for headers */
  --text-muted: #57534e;          /* Muted stone for copy text */
  --text-light: #a8a29e;          /* Very light stone for helper text */
  --bg-cream: #fafaf9;            /* Soft warm white background */
  --bg-white: #ffffff;            /* Solid white */
  --border-color: #e7e5e4;        /* Soft border divider color */
  --border-radius: 16px;          /* Default card border radius */
  --border-radius-lg: 24px;       /* Large radius for hero cards */
  --border-radius-sm: 8px;        /* Small radius for tags/badges */
  --card-shadow: 0 10px 30px rgba(27, 83, 41, 0.04);
  --card-shadow-hover: 0 20px 40px rgba(27, 83, 41, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --max-width: 1240px;
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

button, input {
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-subtitle {
  color: var(--primary-green);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--secondary-green);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-desc {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.5);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 0.75rem 2rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(27, 83, 41, 0.2);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary-green);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(27, 83, 41, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 83, 41, 0.35);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}

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

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  color: var(--bg-white);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 34, 18, 0.75) 0%, rgba(20, 48, 24, 0.5) 60%, rgba(250, 250, 249, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  width: 100%;
  margin-bottom: 80px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(132, 204, 22, 0.25);
  border: 1px solid rgba(132, 204, 22, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary-green);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  animation: fadeInUp 0.8s ease forwards;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 13ch;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-title span {
  color: var(--secondary-green);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Category Grid overlapping Hero */
.category-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  padding-bottom: 2rem;
}

.category-bar {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(27, 83, 41, 0.06);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  border: 1px solid rgba(27, 83, 41, 0.05);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.5rem;
  border-radius: 16px;
  background-color: var(--bg-cream);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.category-card:hover {
  background-color: var(--secondary-light);
  border-color: rgba(132, 204, 22, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.1);
}

.category-icon-holder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.category-card:hover .category-icon-holder {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 6px 15px rgba(27, 83, 41, 0.08);
}

.category-icon-holder svg,
.category-icon-holder img {
  width: 32px;
  height: 32px;
}

.category-icon-holder img {
  border-radius: 50%;
  object-fit: cover;
}

.category-initials {
  color: var(--primary-green);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  overflow-wrap: anywhere;
}

/* Products Section */
.products-carousel {
  --carousel-visible: 4;
  --carousel-gap: 2rem;
  margin-bottom: 4rem;
}

.products-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.products-carousel .products-grid {
  display: flex;
  gap: var(--carousel-gap);
  margin-bottom: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

.products-carousel .product-card,
.products-carousel .catalog-card {
  flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible));
  min-width: 0;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(27, 83, 41, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary-green);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(132, 204, 22, 0.2);
}

.badge-out-of-stock {
  background-color: var(--danger-red) !important;
  color: #fff !important;
}

.badge-sale {
  background-color: var(--accent-orange) !important;
  color: var(--text-dark) !important;
}

.product-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.price-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-green);
}

.btn-buy {
  background-color: var(--primary-green);
  color: var(--bg-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(27, 83, 41, 0.15);
}

.btn-buy:hover {
  background-color: var(--secondary-green);
  color: var(--primary-green);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(132, 204, 22, 0.35);
}

.catalog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(27, 83, 41, 0.06);
  border-color: rgba(27, 83, 41, 0.1);
}

.catalog-card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.catalog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.catalog-card:hover .catalog-card-img {
  transform: scale(1.05);
}

.catalog-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(132, 204, 22, 0.9);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  z-index: 5;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.catalog-card-badge.pre-order {
  background-color: rgba(245, 158, 11, 0.9);
  color: var(--text-dark);
}

.catalog-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  min-height: 2.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.catalog-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-green);
}

.btn-catalog-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #2b4c3f;
  color: var(--bg-white);
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
}

.btn-catalog-buy:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Why We Are Different Section */
.why-diff {
  background-color: var(--bg-white);
}

.why-diff-layout {
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.safe-garden-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 550px;
  box-shadow: var(--card-shadow);
}

.safe-garden-card img {
  width: 100%;
  height: 100%;
}

.safe-garden-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, rgba(15, 34, 18, 0.9) 0%, rgba(15, 34, 18, 0.4) 70%, transparent 100%);
  color: var(--bg-white);
}

.safe-garden-badge {
  background-color: var(--accent-orange);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.safe-garden-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.safe-garden-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.why-diff-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-container {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
}

.video-thumb {
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 83, 41, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--bg-white);
  padding: 2rem;
}

.play-btn {
  width: 72px;
  height: 72px;
  background-color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
  border: none;
}

.play-btn:hover {
  transform: scale(1.15);
  background-color: #dc2626;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.6);
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.video-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.features-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-item-card {
  background-color: var(--bg-cream);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(27, 83, 41, 0.05);
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-item-card:hover {
  background-color: var(--secondary-light);
  transform: translateY(-4px);
  border-color: rgba(132, 204, 22, 0.3);
}

.feature-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--secondary-green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.feature-item-card:hover .feature-icon-wrapper {
  color: var(--primary-green);
}

.feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Stats Section Grid */
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.25rem;
}

.stat-number span {
  color: var(--secondary-green);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Farmer Success Profile Section */
.farmer-profile-section {
  background-color: var(--secondary-light);
  border-top: 1px solid rgba(132, 204, 22, 0.15);
  border-bottom: 1px solid rgba(132, 204, 22, 0.15);
}

.farmer-profile-layout {
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.farmer-profile-info {
  display: flex;
  flex-direction: column;
}

.farmer-profile-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.farmer-profile-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.farmer-profile-text p {
  margin-bottom: 1rem;
}

.farmer-profile-meta {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.farmer-meta-item {
  display: flex;
  flex-direction: column;
}

.farmer-meta-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.farmer-meta-lbl {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.farmer-profile-img-wrapper {
  position: relative;
}

.farmer-profile-img {
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(27, 83, 41, 0.1);
  border: 4px solid var(--bg-white);
  width: 100%;
  height: 480px;
}

.farmer-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--bg-white);
  padding: 1.25rem 2rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.farmer-badge-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-light);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.farmer-badge-title {
  font-weight: 700;
  font-size: 1rem;
}

.farmer-badge-desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Training Program Section */
.training-section {
  background-color: var(--bg-white);
}

.training-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.training-layout {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.training-column {
  display: flex;
  flex-direction: column;
}

.training-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}

.training-img-card img {
  width: 100%;
  height: 100%;
}

.training-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: var(--bg-white);
}

.training-img-tag {
  color: var(--secondary-green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.training-img-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.training-card-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  height: 380px;
}

.training-subcard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.training-subcard img {
  width: 100%;
  height: 100%;
}

.contract-card {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px;
  box-shadow: var(--card-shadow);
}

.contract-header {
  margin-bottom: 1.25rem;
}

.contract-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contract-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contract-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
}

.contract-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-green);
  font-weight: 700;
}

.contract-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contract-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

/* Customer Reviews */
.reviews-section {
  background-color: var(--bg-cream);
}

.reviews-layout {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.reviews-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.review-video-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.review-video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.review-video-thumb {
  position: relative;
  height: 180px;
  background-color: #000;
}

.review-video-thumb img {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.review-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition-fast);
}

.review-video-card:hover .review-play-btn {
  background-color: var(--secondary-green);
  color: var(--primary-green);
  transform: translate(-50%, -50%) scale(1.1);
}

.review-video-info {
  padding: 1rem;
}

.review-video-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.review-video-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

.chat-bubble-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(27, 83, 41, 0.03);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.chat-user-info {
  display: flex;
  flex-direction: column;
}

.chat-user-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--secondary-green);
  font-weight: 600;
}

.chat-bubble {
  max-width: 80%;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble-incoming {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble-outgoing {
  background-color: #e8f5e9;
  color: var(--primary-green);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  text-align: right;
  display: block;
}

/* Partners Section */
.partners-section {
  background-color: var(--bg-white);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.partners-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.partners-logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.85rem;
  color: #a8a29e;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo.brac { color: #d81b60; filter: none; opacity: 0.85; }
.partner-logo.ygap { color: #8bc34a; filter: none; opacity: 0.85; }
.partner-logo.bylc { color: #0288d1; filter: none; opacity: 0.85; }

/* Stories Section */
.stories-section {
  background-color: var(--bg-cream);
}

.stories-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.story-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(27, 83, 41, 0.02);
  transition: var(--transition-smooth);
}

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

.story-media {
  position: relative;
  height: 280px;
  background-color: #000;
}

.story-media img {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.story-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.5rem;
  box-shadow: 0 6px 15px rgba(239, 68, 68, 0.4);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.story-card:hover .story-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5);
}

.story-content {
  padding: 1.5rem;
}

.story-tag {
  color: var(--secondary-green);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.story-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.story-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Footer & Copyright styles */
footer {
  background-color: #15321b;
  color: #d1d5db;
  padding: 5rem 0 2rem;
  border-bottom: 5px solid var(--secondary-green);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg-white);
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--secondary-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--bg-white);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9ca3af;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--secondary-green);
  color: var(--primary-green);
  transform: translateY(-3px);
}

.footer-col-title {
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-green);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-link:hover {
  color: var(--secondary-green);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  color: var(--secondary-green);
  margin-top: 0.2rem;
}

.footer-contact-content strong {
  display: block;
  color: var(--bg-white);
}

.footer-payments-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
}

.payments-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.payment-logos {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.payment-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background-color: rgba(255,255,255,0.06);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #9ca3af;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.copyright-text {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Floating Elements */
.sticky-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.sticky-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .products-carousel {
    --carousel-visible: 3;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .why-diff-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .safe-garden-card {
    height: 400px;
  }
  .training-layout {
    grid-template-columns: 1fr 1fr;
  }
  .training-column:last-child {
    grid-column: span 2;
  }
  .training-img-card, .training-card-grid, .contract-card {
    height: 320px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1.25rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }

  .hero {
    min-height: 88dvh;
    padding-top: 120px;
    background-attachment: scroll;
    background-position: center top;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 96px;
  }

  .hero-tagline {
    font-size: 0.78rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
    line-height: 1.08;
    margin-bottom: 1rem;
    max-width: 12ch;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 34rem;
    margin-bottom: 2rem;
  }
  
  .category-bar-wrapper {
    margin-top: -60px;
  }
  
  .category-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-carousel {
    --carousel-visible: 2;
    --carousel-gap: 1rem;
  }
  
  .farmer-profile-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .farmer-profile-img-wrapper {
    order: -1;
  }
  
  .farmer-profile-img {
    height: 350px;
  }
  
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 86dvh;
    padding-top: 104px;
  }

  .hero-content {
    margin-bottom: 84px;
  }

  .hero-title {
    font-size: 2.35rem;
    max-width: 11ch;
  }

  .hero-tagline {
    width: fit-content;
    max-width: 100%;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-btns .btn {
    width: 100%;
    min-height: 48px;
  }
  
  .category-bar {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-carousel {
    --carousel-visible: 1;
  }
  
  .features-row {
    grid-template-columns: 1fr;
  }
  
  .review-video-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Single Product Direct Checkout Layout
   ========================================================================== */

.checkout-page-main {
  margin-top: 100px;
  background-color: var(--bg-cream);
  padding: 3rem 0 5rem;
}

.checkout-grid-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.checkout-left-col,
.checkout-right-col {
  min-width: 0;
}

.checkout-left-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checkout-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-prod-card,
.checkout-section-box {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.checkout-prod-card {
  padding: 2.5rem;
}

.checkout-section-box {
  padding: 2rem;
}

.checkout-prod-img-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.checkout-prod-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  background: #fdfbf7;
}

.checkout-product-gallery {
  margin-bottom: 2rem;
}

.checkout-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 84px));
  gap: 0.75rem;
  justify-content: center;
  margin-top: -1rem;
}

.checkout-gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.25rem;
  background: var(--bg-white);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
}

.checkout-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.checkout-gallery-thumb:hover,
.checkout-gallery-thumb:focus-visible,
.checkout-gallery-thumb.is-active {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(27, 83, 41, 0.08);
  outline: none;
}

.checkout-prod-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.checkout-prod-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-prod-bullets li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkout-prod-bullets li::before {
  content: "\2713";
  color: var(--primary-green);
  font-weight: 800;
}

.checkout-prod-bullets li.bullet-header {
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.checkout-prod-bullets li.bullet-header::before {
  content: "\2022";
  color: var(--danger-red);
}

.checkout-box-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-status-in-stock {
  background-color: var(--secondary-light);
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(132, 204, 22, 0.2);
}

.checkout-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.package-option-group,
.payment-selector-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.package-option-card,
.delivery-card,
.payment-card {
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.package-option-card {
  border-width: 2px;
}

.package-option-card input[type="radio"],
.delivery-card input[type="radio"],
.payment-card input[type="radio"] {
  accent-color: var(--primary-green);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex: 0 0 auto;
}

.package-option-card:hover,
.delivery-card:hover,
.payment-card:hover {
  border-color: var(--primary-green);
  background-color: rgba(27, 83, 41, 0.01);
}

.package-option-card.selected,
.delivery-card.selected,
.payment-card.selected {
  border-color: var(--primary-green);
  background-color: var(--secondary-light);
}

.package-option-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  flex-grow: 1;
  overflow-wrap: anywhere;
}

.stepper-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stepper-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  height: 38px;
}

.stepper-btn {
  background: var(--bg-cream);
  border: none;
  width: 38px;
  height: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.stepper-btn:hover {
  background: var(--border-color);
}

.stepper-input {
  width: 45px;
  height: 100%;
  border: none;
  border-left: 1.5px solid var(--border-color);
  border-right: 1.5px solid var(--border-color);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-price-display {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 700;
  text-align: right;
}

.stepper-price-display span {
  color: var(--primary-green);
  font-weight: 800;
  font-size: 1.25rem;
  margin-left: 0.25rem;
}

.checkout-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkout-box-header-icon {
  font-size: 1.25rem;
  color: var(--primary-green);
}

.checkout-box-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-full {
  grid-column: span 2;
}

.checkout-input,
.checkout-select,
.checkout-textarea {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
  background-color: var(--bg-white);
  font-family: inherit;
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
  border-color: var(--primary-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 83, 41, 0.06);
}

.checkout-textarea {
  resize: vertical;
  min-height: 80px;
}

.delivery-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.delivery-card,
.payment-card {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.checkout-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.summary-row.total-row {
  border-top: 1.5px dashed var(--border-color);
  padding-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.summary-row.total-row span {
  color: var(--primary-green);
}

.payment-subtext-alert {
  background-color: var(--secondary-light);
  border-left: 4px solid var(--primary-green);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.terms-warning-box {
  background-color: #fffbeb;
  border-left: 4px solid var(--accent-orange);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.terms-warning-box a,
.checkout-terms-checkbox a {
  color: var(--primary-green);
  text-decoration: underline;
}

.checkout-terms-checkbox {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-terms-checkbox input {
  accent-color: var(--primary-green);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex: 0 0 auto;
}

.btn-place-order {
  background-color: var(--primary-green);
  color: var(--bg-white);
  border: none;
  border-radius: 8px;
  width: 100%;
  min-height: 52px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(27, 83, 41, 0.2);
  transition: var(--transition-fast);
}

.btn-place-order:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 83, 41, 0.3);
}

.product-recommend-section {
  padding: 3rem 0 0;
}

.recommend-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.recommend-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.recommend-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.recommend-product-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.recommend-product-card:hover {
  border-color: rgba(27, 83, 41, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(27, 83, 41, 0.08);
}

.recommend-product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fdfbf7;
  overflow: hidden;
}

.recommend-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

.recommend-product-card:hover .recommend-product-image img {
  transform: scale(1.04);
}

.recommend-product-body {
  padding: 1rem;
}

.recommend-product-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.recommend-product-title a {
  color: inherit;
}

.recommend-product-price {
  color: var(--primary-green);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.recommend-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  border-radius: 8px;
  background: var(--secondary-light);
  color: var(--primary-green);
  font-size: 0.9rem;
  font-weight: 800;
}

.recommend-product-link:hover {
  background: var(--primary-green);
  color: var(--bg-white);
}

@media (max-width: 992px) {
  .checkout-grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .recommend-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .checkout-page-main {
    margin-top: 80px;
    padding: 2rem 0 4rem;
  }

  .checkout-prod-card,
  .checkout-section-box {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .checkout-form-grid,
  .delivery-options-row {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .stepper-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .stepper-price-display {
    text-align: left;
  }

  .summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .product-recommend-section {
    padding-top: 2rem;
  }

  .recommend-products-grid {
    grid-template-columns: 1fr;
  }
}
