:root {
  --bg: #f8faf9;
  --bg-alt: #ffffff;
  --text: #1a2e1a;
  --text-light: #5a6d5a;
  --brand: #2d7a3a;
  --brand-light: #4a9c5a;
  --brand-dark: #1e5a28;
  --accent: #f0b429;
  --border: #e2e8e4;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
}
.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}
.links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.link {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 500;
  transition: all .2s;
}
.link:hover {
  background: var(--brand);
  color: white;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(45,122,58,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,122,58,.4);
  color: white;
}
.btn-cart {
  background: var(--accent);
  color: var(--text);
  border: none;
}
.btn-cart:hover { background: #e0a420; color: var(--text); }
.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
}
.btn-whatsapp:hover { background: #1fb855; color: white; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 50%, #fff8e1 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,122,58,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--brand-dark);
}
.hero-content h1 span { color: var(--brand); }
.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.hero-badge-text { font-weight: 600; font-size: 14px; }
.hero-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 200px;
  width: 100%;
}
.hero-image img:first-child { grid-column: span 2; height: 280px; }

/* Section */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all .3s;
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--bg);
}
.card-body { padding: 24px; }
.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}
.card-price-ask {
  font-size: 14px;
  color: var(--text-light);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.product-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-info .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 24px;
}
.product-info .description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}
.product-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.qty-input {
  width: 80px;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  text-align: center;
}
.qty-input:focus { border-color: var(--brand); outline: none; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all .3s;
}
.feature:hover { transform: translateY(-4px); }
.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}
.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature p { color: var(--text-light); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all .3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-video {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.contact-info {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-info h2 {
  font-size: 28px;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}
.contact-text h4 { font-weight: 600; margin-bottom: 4px; }
.contact-text p { color: var(--text-light); font-size: 14px; }
.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}
#map { width: 100%; height: 100%; }

/* Cart */
.cart-container { max-width: 900px; margin: 0 auto; }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.cart-header h1 { font-size: 32px; }
.cart-items { margin-bottom: 30px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.cart-item-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg);
}
.cart-item-info h3 { font-weight: 600; margin-bottom: 4px; }
.cart-item-info p { color: var(--text-light); font-size: 14px; }
.cart-item-qty {
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}
.cart-summary {
  background: var(--bg-alt);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.cart-empty {
  text-align: center;
  padding: 60px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}
.cart-empty p { color: var(--text-light); margin-bottom: 20px; }

/* Page Content */
.page-header {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-dark);
}
.page-content {
  background: var(--bg-alt);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: -30px;
  position: relative;
}
.page-content p {
  color: var(--text-light);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-brand { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.footer-desc { color: rgba(255,255,255,.7); line-height: 1.7; }
.footer h4 { margin-bottom: 20px; font-size: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: 14px;
}

/* Forms */
.input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--bg-alt);
  color: var(--text);
  transition: all .2s;
}
.input:focus { border-color: var(--brand); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-light);
}
.badge-success { background: #dcfce7; color: #166534; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: 36px; }
  .hero-image { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; }
  .links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-video { grid-column: span 2; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .cart-item-qty, .cart-item .btn { grid-column: span 2; justify-self: start; }
  .hero { padding: 40px 0; }
  .section { padding: 50px 0; }
  .page-content { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
}
