:root {
  --green: #21be3a;
  --green-dark: #189c2f;
  --green-light: #e8f5e8;
  --green-badge: #4caf50;
  --green-badge-dark: #2e7d32;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --border: #e2e2e2;
  --black: #111;
  --header-h: 56px;
  --maxw: 1100px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ===== Announcement bar ===== */
.announcement-bar {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 34px;
}
.announcement-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-left: 100%;
  height: 34px;
  animation: marquee 16s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ===== Header ===== */
.site-header {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .icon-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 4px;
  display: flex;
  position: relative;
}
.site-header .logo {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--text); }

/* ===== Product layout ===== */
.product-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .product-main { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

/* ===== Gallery ===== */
.gallery-main {
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumbs button {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #f7f7f7;
  overflow: hidden;
  padding: 0;
}
.gallery-thumbs button.is-active { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Info column ===== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}
.stars { color: var(--green-badge-dark); letter-spacing: 1px; font-size: 14px; }

.product-title { font-size: 24px; font-weight: 700; margin: 0 0 12px; line-height: 1.3; }
.product-desc { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 16px; }
.product-desc strong { font-weight: 700; }

/* Price box */
.price-box { margin: 8px 0 20px; line-height: 1.25; }
.price-pix { color: var(--muted); font-size: 14px; }
.pix-badge {
  display: inline-block; background: var(--green-light); color: var(--green-badge-dark);
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px; vertical-align: 1px;
}
.price-main { font-size: 30px; font-weight: 700; color: #000; margin: 2px 0; }
.price-main .price-suffix { font-size: 14px; font-weight: 700; }
.price-12x { color: var(--muted); font-size: 14px; }
.price-each { font-size: 14px; font-weight: 700; color: #000; margin-top: 4px; }
.compare-at { text-decoration: line-through; color: var(--muted); font-size: 15px; margin-right: 8px; }

/* Kits / quantity breaks */
.kits-title {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 20px 0; position: relative;
}
.kits-title::before, .kits-title::after { content: ''; height: 1px; background: #ddd; flex: 1; }
.kits-title h3 { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; }

.kits-grid { display: flex; flex-direction: column; gap: 12px; }
.kit-card {
  position: relative;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  transition: all .15s ease;
  min-height: 60px;
  width: 100%;
  text-align: left;
}
.kit-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.kit-card.is-active { background: var(--green-light); border-color: var(--green-badge); }
.kit-qty { font-weight: 600; font-size: 16px; color: #1a1a1a; }
.kit-each { font-weight: 700; white-space: nowrap; font-size: 15px; }
.kit-card .kit-badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--green-badge);
  color: #fff; padding: 3px 14px; border-radius: 10px;
  font-size: 10px; font-weight: 700;
}

.kits-footer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 20px 0; position: relative;
}
.kits-footer::before, .kits-footer::after { content: ''; height: 1px; background: #ddd; flex: 1; }
.kits-footer h3 { margin: 0; font-size: 15px; font-weight: 700; white-space: nowrap; }

/* Quantity + add to cart */
.qty-row { display: flex; align-items: center; gap: 16px; margin: 20px 0 16px; }
.qty-label { font-size: 14px; font-weight: 600; }
.qty-stepper {
  display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
}
.qty-stepper button {
  background: none; border: none; width: 36px; height: 36px; font-size: 18px; color: var(--text);
}
.qty-stepper input {
  width: 40px; text-align: center; border: none; font-size: 15px; -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-add-cart {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  transition: background .15s ease;
}
.btn-add-cart:hover { background: var(--green-dark); }
.btn-add-cart:active { transform: scale(0.99); }

/* ===== Marketing sections ===== */
.section { padding: 48px 20px; max-width: var(--maxw); margin: 0 auto; }
.section-narrow { max-width: 760px; }
.section-title { text-align: center; font-size: 22px; font-weight: 700; margin: 0 0 32px; line-height: 1.4; }
.section-title .accent { color: var(--green); }

.hero-banner { text-align: center; padding: 40px 20px 8px; }
.hero-banner h2 { font-size: 22px; margin: 0; line-height: 1.4; }
.hero-banner .accent { color: var(--green); font-weight: 700; }

.benefits-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.benefits-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.benefits-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px;
}

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center;
}
.feature-icon {
  width: 48px; height: 48px; border: 2px solid var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--green);
}
.feature-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 10px; letter-spacing: 0.3px; }
.feature-card p { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

/* Usage / ingredients block */
.usage-block { background: #111; color: #fff; padding: 48px 20px; }
.usage-inner { max-width: var(--maxw); margin: 0 auto; }
.usage-eyebrow { text-align: center; font-size: 13px; letter-spacing: 1px; color: #ccc; margin-bottom: 4px; }
.usage-headline { text-align: center; font-size: 26px; font-weight: 800; margin: 0 0 28px; }

.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button {
  background: none; border: 1px solid #444; color: #ddd; border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
}
.tabs button.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.ingredient-item { max-width: 640px; margin: 0 auto 26px; }
.ingredient-item h3 { font-size: 16px; color: var(--green); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.ingredient-item .badge-new { background: #f4d03f; color: #111; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.ingredient-item p { font-size: 14px; color: #ccc; line-height: 1.6; margin: 0; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.nutrition-flex { display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin: 0 auto; }
@media (min-width: 700px) { .nutrition-flex { flex-direction: row; } }
.nutrition-table table { width: 100%; border-collapse: collapse; font-size: 13px; color: #eee; }
.nutrition-table th, .nutrition-table td { padding: 8px 6px; border-bottom: 1px solid #333; text-align: left; }
.nutrition-table thead th { text-align: center; font-size: 14px; border-bottom: 2px solid #fff; }
.nutrition-table .footnote { font-size: 11px; color: #999; padding-top: 12px; border-top: 2px solid #444; }
.nutrition-sugestao { font-size: 13px; color: #ccc; line-height: 1.6; }
.nutrition-sugestao p { margin: 0 0 10px; }

.composition-text { max-width: 640px; margin: 0 auto; font-size: 13px; color: #ccc; line-height: 1.7; }
.composition-text strong.green { color: var(--green); }
.composition-text p { margin: 0 0 14px; }

/* FAQ accordion */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { font-size: 20px; color: var(--muted); flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 4px 18px; font-size: 14px; color: #555; line-height: 1.7; white-space: pre-line; }

/* Reviews */
.reviews-summary { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 28px; }
.reviews-summary .avg { font-size: 15px; font-weight: 600; }
.reviews-summary .count { font-size: 13px; color: var(--muted); }
.review-card { border-top: 1px solid var(--border); padding: 18px 0; max-width: 700px; margin: 0 auto; }
.review-card .stars { display: block; margin-bottom: 6px; }
.review-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.review-meta .author { color: var(--text); font-weight: 600; }
.review-text { font-size: 14px; color: #444; line-height: 1.6; }
.btn-outline {
  display: block; margin: 0 auto 24px; background: var(--green); color: #fff; border: none;
  border-radius: 999px; padding: 12px 28px; font-size: 14px; font-weight: 700;
}

/* Newsletter */
.newsletter { background: var(--green); color: #fff; text-align: center; padding: 40px 20px; }
.newsletter h3 { font-size: 18px; margin: 0 0 8px; }
.newsletter p { font-size: 13px; margin: 0 0 20px; opacity: .9; }
.newsletter-form { display: flex; max-width: 380px; margin: 0 auto; background: #fff; border-radius: 999px; overflow: hidden; }
.newsletter-form input { flex: 1; border: none; padding: 12px 18px; font-size: 14px; outline: none; }
.newsletter-form button { background: none; border: none; padding: 0 18px; font-size: 18px; color: var(--green); }

/* Footer */
.site-footer { background: var(--green); color: #fff; padding: 32px 20px 24px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-about { font-size: 13px; line-height: 1.7; opacity: .95; margin-bottom: 24px; }
.footer-contact { font-size: 13px; line-height: 2; margin-bottom: 20px; }
.footer-contact a { text-decoration: underline; }
.footer-social { display: flex; gap: 16px; margin-bottom: 24px; font-size: 13px; }
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-payments span {
  background: #fff; color: var(--text); font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px;
}
.footer-copy { font-size: 12px; opacity: .85; }

/* Toast */
.toast {
  position: fixed; top: 20px; right: 20px; background: var(--green-badge); color: #fff;
  padding: 12px 18px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2);
  font-weight: 600; font-size: 14px; z-index: 999; transform: translateX(140%); transition: transform .3s ease;
}
.toast.is-visible { transform: translateX(0); }

/* ===== Cart drawer (mini-cart) ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 400px;
  background: #fff; z-index: 91; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-drawer-header h2 { margin: 0; font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.cart-drawer-badge {
  background: #111; color: #fff; font-size: 12px; font-weight: 700; border-radius: 50%;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
}
.cart-drawer-close { background: none; border: none; color: var(--text); padding: 4px; }

.cart-drawer-shipping { padding: 16px 20px 4px; flex-shrink: 0; }
.cart-drawer-shipping .msg { font-size: 13px; margin-bottom: 10px; }
.cart-drawer-shipping .msg strong { font-weight: 700; }
.cart-drawer-shipping .track { height: 6px; border-radius: 999px; background: #eee; overflow: hidden; }
.cart-drawer-shipping .fill { height: 100%; background: #111; border-radius: 999px; transition: width .3s ease; }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-drawer-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 60px 10px; }

.drawer-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.drawer-item:last-child { border-bottom: none; }
.drawer-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; background: #f5f5f5; flex-shrink: 0; }
.drawer-item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.drawer-item .title { font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.drawer-item .price { font-size: 14px; font-weight: 700; margin-top: auto; }
.drawer-item .remove-row { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.drawer-item .remove-btn { background: none; border: none; color: #999; padding: 2px; }
.drawer-item .remove-btn:hover { color: #c0392b; }
.drawer-item .qty-stepper { align-self: flex-start; margin-top: 8px; }
.drawer-item .qty-stepper button { width: 30px; height: 30px; font-size: 15px; }
.drawer-item .qty-stepper input { width: 30px; font-size: 14px; }

.cart-drawer-footer { border-top: 1px solid var(--border); padding: 18px 20px 22px; flex-shrink: 0; }
.cart-drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cart-drawer-total .curr { font-size: 11px; color: var(--muted); font-weight: 600; }
.cart-drawer-note { font-size: 12px; color: #6b7a99; margin: 0 0 16px; }
.cart-drawer-actions { display: flex; gap: 10px; }
.btn-view-cart, .btn-checkout {
  flex: 1; border-radius: 999px; padding: 13px; font-size: 14px; font-weight: 700; border: 1px solid transparent;
}
.btn-view-cart { background: #f2f2f2; color: var(--green-dark); }
.btn-view-cart:hover { background: #e8e8e8; }
.btn-checkout { background: var(--green); color: #fff; }
.btn-checkout:hover { background: var(--green-dark); }

@media (max-width: 480px) { .cart-drawer { max-width: 100%; } }

/* ===== Nav drawer (menu hambúrguer) ===== */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 100%; max-width: 320px;
  background: #fff; z-index: 91; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s ease;
  box-shadow: 8px 0 24px rgba(0,0,0,.15);
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.nav-drawer-header h2 { margin: 0; font-size: 19px; font-weight: 700; }
.nav-drawer-close { background: none; border: none; color: var(--text); padding: 4px; }

.nav-links { flex: 1; overflow-y: auto; padding: 12px 0; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  font-size: 15px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border);
}
.nav-link:hover { background: #f7f7f7; }

.nav-section-title {
  padding: 16px 20px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; color: var(--muted);
}
.nav-faq-link {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border);
}
.nav-faq-link:hover { background: #f7f7f7; }

@media (max-width: 400px) { .nav-drawer { max-width: 88%; } }
