:root {
  --green-dark: #2a4c13;
  --beige-light: #adab73;
  --green-medium: #8fa255;
  --green-olive: #5b6838;
  --neutral-bg: #f6f5ef;
  --text: #233021;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--neutral-bg);
  line-height: 1.5;
}

/* Shared header */
header {
  background: linear-gradient(90deg, var(--green-dark), var(--green-olive));
  color: white;
  padding: 20px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: transparent; display: grid; place-items: center; color: var(--green-dark); font-weight: 700; }
.brand-mark img { border-radius: 12px; }
.brand-title { font-size: 22px; font-weight: 700; letter-spacing: 0.6px; }
.brand-subtitle { font-size: 12px; opacity: 0.9; }
nav a { color: #fff; text-decoration: none; margin-left: 14px; font-weight: 600; opacity: 0.95; padding: 8px 14px; background: rgba(255,255,255,0.1); border-radius: 20px; }
nav a:hover { text-decoration: none; background: rgba(255,255,255,0.18); }

nav a { color: #fff; text-decoration: none; margin-left: 14px; font-weight: 500; opacity: 0.95; }
nav a:hover { text-decoration: underline; }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; padding: 24px 16px 40px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

/* Products section layout */
.products-section {
  padding: 0;
}

/* Grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { background: white; border-radius: 14px; overflow: hidden; position: relative; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.10); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #e8eadf; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms ease; }
.card:hover .card-media img { transform: scale(1.05); }
.quickview { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(42,76,19,0.0), rgba(42,76,19,0.75)); color: white; opacity: 0; transition: opacity 220ms ease; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.card:hover .quickview { opacity: 1; }
.quickview h4 { margin: 0; font-size: 16px; font-weight: 600; }
.quickview p { margin: 0; font-size: 12px; opacity: 0.95; }
.card-body { padding: 14px; display: grid; gap: 10px; }
.price { color: var(--green-dark); font-weight: 600; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d7dacb; border-radius: 10px; overflow: hidden; background: #fbfbf7; }
.qty button { background: transparent; border: 0; padding: 8px 10px; cursor: pointer; color: var(--green-olive); }
.qty input { width: 42px; text-align: center; border: 0; outline: 0; padding: 8px 6px; background: transparent; }

.btn { background: var(--green-medium); color: white; border: none; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; transition: filter 160ms ease, transform 160ms ease; }
.btn:hover { filter: brightness(0.95); }
.btn:active { transform: translateY(1px); }
.btn.alt { background: var(--green-dark); }
.btn.ghost { background: #e7eadc; color: var(--green-dark); }

/* Cart */
.cart { position: sticky; top: 84px; background: white; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); padding: 16px; }
.cart h3 { margin: 0 0 10px; }
.cart-list { display: grid; gap: 10px; margin-bottom: 12px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.cart-item-name { font-size: 14px; }
.cart-item-qty { font-size: 12px; color: #5f6b52; }
.cart-item-remove { background: transparent; border: none; color: #9aa58d; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; font-weight: 600; margin: 10px 0 14px; }
.cart-empty { color: #7f8a76; font-size: 14px; margin: 6px 0 12px; }
.divider { height: 1px; background: #ecefe4; margin: 8px 0; }

/* Mobile cart bar */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 12px; margin: 0 auto; width: min(640px, calc(100% - 24px)); display: none; background: white; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); padding: 10px 12px; align-items: center; justify-content: space-between; z-index: 200; }
.cart-bar .btn { padding: 10px 16px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: none; align-items: center; justify-content: center; z-index: 300; }
.modal { width: min(520px, calc(100% - 32px)); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 48px rgba(0,0,0,0.25); }
.modal-media { aspect-ratio: 4/3; background: #eef0e6; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 14px; display: grid; gap: 10px; }

/* Toasts */
.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 400; display: grid; gap: 8px; }
.toast { background: var(--green-dark); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

footer { text-align: center; padding: 24px; color: #6a745e; font-size: 13px; }

/* Hero Banner */
.hero-banner {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a3d0a 0%, #2a4c13 50%, #1a3d0a 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q30,10 40,20 Q50,30 60,20 Q70,10 80,20" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
  background-size: 200px 200px;
  background-position: 0 0, 100px 100px;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 60px 0;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  color: #f4e4a6;
  font-family: 'Playfair Display', serif;
}


.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-cta .btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 300ms ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.hero-cta .btn.alt {
  background: rgba(42, 76, 19, 0.9);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
}

.hero-cta .btn {
  background: rgba(143, 162, 85, 0.9);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .logo-symbol {
    width: 100px;
    height: 100px;
  }
  
  .logo-figure {
    width: 70px;
    height: 70px;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}
.sections { padding: 20px 16px 40px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }

/* Products section */
.products-header {
  margin-bottom: 32px;
}
.product-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.search-box input {
  transition: border-color 200ms ease, box-shadow 200ms ease;
  font-size: 14px;
}
.search-box input:focus {
  outline: none;
  border-color: var(--green-medium);
  box-shadow: 0 0 0 2px rgba(143, 162, 85, 0.2);
}
.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border: 1px solid #d7dacb;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 200ms ease;
}
.filter-btn:hover {
  border-color: var(--green-medium);
  background: #f8f9f4;
}
.filter-btn.active {
  background: var(--green-medium);
  color: white;
  border-color: var(--green-medium);
}

.products-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 24px; 
  margin-bottom: 32px;
}
@media (max-width: 900px) { 
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 20px; } 
}
@media (max-width: 560px) { 
  .products-grid { grid-template-columns: 1fr; 
  gap: 16px; } 
}

/* Clean Product Cards */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 300ms ease;
  border: 1px solid #f0f0f0;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--green-medium);
}

.product-image-container {
  position: relative;
  aspect-ratio: 1;
  background: #f8f9f4;
  overflow: hidden;
  cursor: pointer;
}
.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 76, 19, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms ease;
}
.product-image-container:hover .image-overlay {
  opacity: 1;
}
.zoom-icon {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 8px 0;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  transition: all 200ms ease;
}
.qty-btn:hover {
  border-color: var(--green-medium);
  background: #f8f9f4;
}

.qty-input {
  width: 50px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
}
.qty-input:focus {
  outline: none;
  border-color: var(--green-medium);
  box-shadow: 0 0 0 2px rgba(143, 162, 85, 0.2);
}

.add-to-cart-btn {
  background: var(--green-medium);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.add-to-cart-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.add-to-cart-btn:active {
  transform: translateY(0);
}
.btn-product {
  background: var(--green-medium);
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  transition: filter 160ms ease, transform 160ms ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.btn-product:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.btn-product:active {
  transform: translateY(0);
}

.btn-ghost {
  background: #e7eadc;
  color: var(--green-dark);
  border: 1px solid #d7dacb;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 160ms ease;
  font-size: 14px;
}
.btn-ghost:hover {
  background: #f0f2e8;
  border-color: var(--green-medium);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.product-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.3;
}
.product-description {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #627056;
  line-height: 1.4;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-actions .qty {
  align-self: flex-start;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.stagger-1 { transition-delay: 60ms; }
.reveal.stagger-2 { transition-delay: 120ms; }
.reveal.stagger-3 { transition-delay: 180ms; }
.reveal.stagger-4 { transition-delay: 240ms; }

/* Subtle hover tilt baseline to avoid jump */
.tilt { will-change: transform; transition: transform 160ms ease; transform-style: preserve-3d; }
.tilt:hover { transition-duration: 60ms; }

/* Testimonials section */
.testimonials-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 20px; 
  margin-bottom: 24px;
}
@media (max-width: 900px) { 
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } 
}
@media (max-width: 560px) { 
  .testimonials-grid { grid-template-columns: 1fr; } 
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.testimonial-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e8eadf;
  overflow: hidden;
  cursor: pointer;
}
.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms ease;
}
.testimonial-image:hover .image-overlay {
  opacity: 1;
}
.zoom-icon {
  font-size: 24px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-info {
  padding: 20px;
  display: grid;
  gap: 12px;
}
.testimonial-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
}
.testimonial-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #627056;
  margin-top: 4px;
}
.product-used {
  font-size: 14px;
  color: var(--green-olive);
  background: #f0f2e8;
  padding: 8px 12px;
  border-radius: 8px;
}
.testimonial-result {
  font-style: italic;
  color: #4a5a3a;
  line-height: 1.5;
}
.testimonial-result p {
  margin: 0;
  font-size: 14px;
}
.before-after {
  font-size: 13px;
  color: var(--green-dark);
  background: #e8f5e8;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

/* Product Modal */
.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.product-modal {
  position: relative;
  max-width: 800px;
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.product-modal-image {
  background: #f8f9f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal-product-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.product-modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-product-name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.modal-product-description {
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}
.modal-product-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
}
.modal-product-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  transition: all 200ms ease;
}
.modal-qty-btn:hover {
  border-color: var(--green-medium);
  background: #f8f9f4;
}
.modal-qty-input {
  width: 60px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
}
.modal-qty-input:focus {
  outline: none;
  border-color: var(--green-medium);
  box-shadow: 0 0 0 3px rgba(143, 162, 85, 0.2);
}
.modal-add-to-cart-btn {
  background: var(--green-medium);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.modal-add-to-cart-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}
.close-modal:hover {
  background: rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
  .product-modal-content {
    grid-template-columns: 1fr;
  }
  .product-modal-image {
    padding: 20px;
  }
  .product-modal-info {
    padding: 20px;
  }
  .modal-product-name {
    font-size: 20px;
  }
  .modal-product-price {
    font-size: 24px;
  }
}

/* Mobile tweaks */
@media (max-width: 560px) {
  .brand-title { font-size: 18px; }
  nav a { margin-left: 8px; padding: 6px 10px; font-size: 14px; }
  .hero { padding: 36px 12px 22px; }
  
  /* Product controls mobile */
  .product-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search-box input {
    width: 100%;
  }
  .filter-buttons {
    justify-content: center;
  }
  .filter-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .products-grid { gap: 12px; }
  .product-info { padding: 14px; gap: 10px; }
  .product-price { font-size: 18px; }
  .product-header h3 { font-size: 15px; }
  .product-description { font-size: 12px; }
  .btn-product, .btn-ghost {
    font-size: 13px;
    padding: 10px 12px;
  }
  
  .testimonials-grid { gap: 12px; }
  .testimonial-info { padding: 14px; gap: 10px; }
  .testimonial-header h3 { font-size: 16px; }
  .testimonial-meta { font-size: 11px; }
  .product-used { font-size: 12px; padding: 6px 10px; }
  .testimonial-result p { font-size: 13px; }
  .before-after { font-size: 12px; padding: 6px 10px; }
  /* Kit builder: stack fields */
  .kit-form { grid-template-columns: 1fr !important; }
}

/* Instagram section */
.instagram-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin-top: 20px;
}

.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eadf;
}

.instagram-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 16px;
}

.instagram-logo svg {
  color: #E4405F;
}

.follow-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.instagram-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: 1px solid #f0f0f0;
}

.instagram-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.post-image {
  position: relative;
  aspect-ratio: 1;
  background: #f8f9f4;
  overflow: hidden;
  cursor: pointer;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.instagram-post:hover .post-image img {
  transform: scale(1.05);
}

.post-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.likes, .comments {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-caption {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-timestamp {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}


@media (max-width: 768px) {
  .instagram-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .follow-btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* ======== ESTILO DE PRODUCTOS ACTUALIZADO ======== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 24px;
}

/* Responsivo para tablets e celulares */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* IMAGEM */
.product-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f6f6f6;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

/* CONTEÚDO */
.product-content {
  padding: 16px;
  text-align: center;
  flex: 1;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2e402b;
  margin-bottom: 8px;
}

/* REMOVE a descrição curta */
.product-description {
  display: none;
}

/* PREÇO */
.product-price {
  color: #1f421d;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.product-price::before {
  content: "(REF ";
}
.product-price::after {
  content: ")";
}

/* BOTÕES */
.product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn.detalles {
  background: #e6e6e6;
  color: #333;
}

.btn.detalles:hover {
  background: #d3d3d3;
  transform: scale(1.05);
}

.btn.comprar {
  background: #2e6a2c;
  color: #fff;
}

.btn.comprar:hover {
  background: #235421;
  transform: scale(1.05);
}

/* OVERLAY (texto de ver detalles sobre la imagen) */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 76, 19, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms ease;
}

/* Quando passar o mouse na imagem, mostra o overlay */
.product-image-container:hover .image-overlay {
  opacity: 1;
}

/* Corrige o bug do clique no botão Añadir */
.image-overlay {
  pointer-events: none;
}


/* ===== MODAL DE DETALLES ===== */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.25s ease;
}

.product-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: min(900px, 95%);
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.25s ease;
}

.product-modal-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  border: none;
  background: none;
  color: #444;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: #000;
}

/* Imagen del producto */
.product-modal-image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Información */
.product-modal-info {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-product-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2e402b;
  margin-bottom: 8px;
}

.modal-product-description {
  font-size: 0.95rem;
  color: #555;
  margin: 10px 0 16px;
  line-height: 1.5;
}

.modal-product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f421d;
  margin-bottom: 18px;
}

.modal-product-price::before {
  content: "(REF ";
}
.modal-product-price::after {
  content: ")";
}

/* Controles de cantidad y botón */
.modal-product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.modal-qty-btn {
  background: #f1f1f1;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  outline: none;
}

.modal-add-to-cart-btn {
  background: #2e6a2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.modal-add-to-cart-btn:hover {
  background: #235421;
  transform: scale(1.04);
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .product-modal-content {
    flex-direction: column;
    align-items: center;
  }
  .product-modal-image img {
    max-width: 220px;
  }
  .modal-product-name {
    font-size: 1.3rem;
    text-align: center;
  }
  .modal-product-description {
    text-align: center;
  }
  .modal-product-actions {
    justify-content: center;
  }
}

header nav a {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #f2f2f2;
  font-weight: 500;
  transition: all 0.25s ease;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* MOBILE ajuste */
@media (max-width: 480px) {
  header nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  header nav a {
    font-size: 14px;
    padding: 5px 10px;
  }
}

img {
  width: 100%;
  height: auto;
  max-width: 600px; /* ou o tamanho máximo que quiser */
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  img {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  img {
    max-width: 100%;
  }
}

.card-kit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 20px auto;
}

.img-kit {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 10px;
  margin: 10px;
}

.info-kit {
  flex: 1;
  min-width: 260px;
  padding: 10px 20px;
}

.info-kit h2 {
  font-size: 1.6rem;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.info-kit ul {
  list-style: none;
  padding: 0;
}

.info-kit ul li {
  margin: 5px 0;
  color: #444;
}

.precio {
  font-weight: 600;
  color: #2b7a0b;
  font-size: 1.3rem;
  margin-top: 10px;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 12px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
}

/* Responsivo */
@media (max-width: 768px) {
  .card-kit {
    flex-direction: column;
    text-align: center;
  }
  .img-kit {
    max-width: 90%;
  }
}
