/* =========================================================
   PéDireito — Folha de estilo principal
   Paleta inspirada na bandeira: verde escuro + amarelo + azul
   Tipografia: Geist (corpo) + Chivo Black (display), portadas
   da versão Shopify para garantir identidade premium consistente.
   ========================================================= */

/* Tipografia local (woff2 servido junto do site, sem dependência de Google Fonts) */
@font-face {
  font-family: "Geist";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../shop/fonts/geist_n4.6e27f20c83b0a07405328f98ff3b0be957c5d6d5.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../shop/fonts/geist_n7.d1a55eaf394973a6f8fe773d87de2e2f51331d2a.woff2") format("woff2");
}
@font-face {
  font-family: "Chivo";
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  src: url("../shop/fonts/chivo_n7.4d81c6f06c2ff78ed42169d6ec4aefa6d5cb0ff0.woff2") format("woff2");
}
@font-face {
  font-family: "Chivo";
  font-weight: 700 900;
  font-style: italic;
  font-display: swap;
  src: url("../shop/fonts/chivo_i7.0e5a75162c3ca7258edd3d59adf64e0fd118a226.woff2") format("woff2");
}

:root {
  --brasil-green: #229309;
  --brasil-green-dark: #146b00;
  --brasil-yellow: #F5C518;
  --brasil-blue: #002776;
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --danger: #d62828;
  --success: #1f8b4c;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.font-display {
  font-family: "Chivo", "Anton", "Bebas Neue", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brasil-green);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .site-header__inner { padding: 0 24px; } }

.site-header__left, .site-header__right { display: flex; align-items: center; gap: 12px; }
.site-header__logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .site-header__logo img { height: 40px; } }

.site-header__nav { display: none; gap: 22px; font-size: 14px; font-weight: 500; }
@media (min-width: 768px) { .site-header__nav { display: flex; } }
.site-header__nav a { padding: 4px 2px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { border-color: var(--brasil-yellow); }

.icon-btn {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 8px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  transition: background .2s;
  position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brasil-yellow);
  color: var(--brasil-green);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-count[hidden] { display: none; }

/* Menu mobile */
.mobile-menu-toggle { display: inline-grid; }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }
.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--brasil-green-dark);
  padding: 16px;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; padding: 10px 8px; border-radius: 8px; }
.mobile-menu a:hover { background: rgba(255,255,255,.08); }

/* Busca expansível */
.search-bar {
  background: var(--brasil-green-dark);
  padding: 12px 16px;
  display: none;
}
.search-bar.open { display: block; }
.search-bar__form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 8px 6px 18px;
}
.search-bar__form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: var(--fg);
  padding: 8px 0;
}
.search-bar__form button {
  background: var(--brasil-green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--brasil-yellow);
  overflow: hidden;
  padding: 10px 0;
}
.marquee--green { background: var(--brasil-green); }
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__item {
  font-family: "Chivo", "Anton", "Bebas Neue", Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 44px);
  color: var(--brasil-green);
  text-transform: uppercase;
  padding: 0 28px;
  letter-spacing: .01em;
}
.marquee--green .marquee__item { color: var(--brasil-yellow); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ===================== HERO ===================== */
.hero {
  background: var(--brasil-green);
  color: var(--brasil-yellow);
  padding: 32px 16px 48px;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding: 56px 24px 72px; } }
.hero__logo { height: 48px; width: auto; margin: 0 auto; }
@media (min-width: 768px) { .hero__logo { height: 64px; } }
.hero__eyebrow {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero__title {
  margin: 18px auto 0;
  max-width: 740px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: .95;
}
.hero__media {
  margin: 32px auto 0;
  max-width: 420px;
}
.hero__media img { width: 100%; height: auto; }
.hero__lede {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}
.hero__cta-row { margin-top: 36px; }
.hero__small {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brasil-yellow); outline-offset: 2px; }

.btn--primary { background: #000; color: #fff; }
.btn--primary:hover { background: #1f1f1f; }
.btn--green { background: var(--brasil-green); color: #fff; }
.btn--green:hover { background: var(--brasil-green-dark); }
.btn--yellow { background: var(--brasil-yellow); color: var(--brasil-green); }
.btn--ghost { background: transparent; color: var(--brasil-green); border-color: var(--brasil-green); }
.btn--ghost:hover { background: var(--brasil-green); color: #fff; }
.btn--full { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 18px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===================== SECTIONS ===================== */
.section { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--brasil-green);
  margin: 0 0 28px;
}
.section__sub { color: var(--muted); margin-top: -16px; margin-bottom: 28px; }

/* ===================== HOME HERO BANNER ===================== */
.home-banner {
  padding: 24px 16px;
}
.home-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.home-banner__inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card__media {
  aspect-ratio: 4 / 5;            /* retrato — padrão moda */
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  background: #f3f4f6;
  display: block;
}
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .4s ease, transform .6s ease;
}
.product-card__media .product-card__hover-img {
  opacity: 0;
}
.product-card:hover .product-card__media .product-card__hover-img { opacity: 1; }
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge svg { width: 12px; height: 12px; }
.badge--discount { background: var(--danger); color: #fff; }
/* (badge--free-shipping removido: regra antiga de frete grátis substituída
   pelo desconto progressivo de 20% acima de R$ 200) */
.badge--best-seller { background: #111; color: var(--brasil-yellow); }
.badge--new { background: var(--brasil-blue); color: #fff; }

.product-card__info { padding: 0 4px; }
.product-card__name { font-size: 15px; font-weight: 500; color: var(--brasil-green); margin: 0; }
@media (min-width: 768px) { .product-card__name { font-size: 17px; } }
.product-card__price-row { margin-top: 4px; font-size: 14px; }
.product-card__price { font-weight: 800; color: var(--fg); }
.product-card__compare { color: var(--muted); text-decoration: line-through; margin-left: 8px; font-weight: 500; }
.product-card__rating { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.product-card__rating .stars { display: inline-flex; }
.stars svg { width: 14px; height: 14px; color: var(--brasil-yellow); fill: var(--brasil-yellow); }
.stars svg.empty { fill: transparent; color: #d1d5db; }

/* ===================== FILTERS ===================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--brasil-green); }
.filter-chip.active { background: var(--brasil-green); border-color: var(--brasil-green); color: #fff; }
.filter-chip__count { opacity: .7; font-weight: 500; }

.filters__search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 8px 18px;
  border: 2px solid transparent;
}
.filters__search:focus-within { border-color: var(--brasil-green); background: #fff; }
.filters__search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; padding: 6px 0; }
.filters__search svg { width: 18px; height: 18px; color: var(--muted); }
.filters__sort {
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

/* ===================== PRODUCT DETAIL ===================== */
.product-detail { padding: 32px 0; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .product-detail__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

.gallery__main {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f3f4f6;
  display: grid;
  place-items: center;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery__thumb {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f3f4f6;
  padding: 0;
  cursor: pointer;
  opacity: .7;
  transition: all .15s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.active { border-color: var(--brasil-green); opacity: 1; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brasil-green); }
.breadcrumb__sep { margin: 0 8px; opacity: .6; }

.product-detail__title { font-size: clamp(28px, 4vw, 44px); color: var(--brasil-green); margin: 0; }
.product-detail__price-row { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-detail__price { font-size: 26px; font-weight: 800; }
.product-detail__compare { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.product-detail__installments { font-size: 13px; color: var(--muted); margin-top: 6px; width: 100%; }

.product-detail__rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.product-detail__rating a { color: var(--brasil-green); text-decoration: underline; }

.option-group { margin-top: 28px; }
.option-group__label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.option-group__value { font-weight: 400; color: var(--muted); margin-left: 6px; }
.size-list, .color-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 56px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.size-btn:hover { border-color: var(--brasil-green); }
.size-btn.active { background: var(--brasil-green); border-color: var(--brasil-green); color: #fff; }
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 2px;
  background: transparent;
}
.color-swatch__dot { width: 100%; height: 100%; border-radius: 999px; }
.color-swatch.active { border-color: var(--brasil-green); }

.quantity-row { margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.quantity-stepper button {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--fg);
}
.quantity-stepper button:hover { background: #f3f4f6; }
.quantity-stepper input {
  width: 48px;
  text-align: center;
  border: 0;
  outline: 0;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
}
.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-stepper input[type=number] { -moz-appearance: textfield; }

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.cta-row .btn { flex: 1; min-width: 200px; }

.product-description {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.product-description__heading {
  font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--brasil-green);
  letter-spacing: .03em;
  margin: 0 0 12px;
}
.product-description p { margin: 8px 0; }
.product-description__sig { font-weight: 700; margin-top: 18px !important; }
.product-description__cta { font-style: italic; }

.benefits {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.benefit {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}
.benefit svg { color: var(--brasil-green); width: 22px; height: 22px; flex-shrink: 0; }
.benefit strong { display: block; font-size: 13px; }
.benefit span { color: var(--muted); font-size: 12px; }

/* ===================== REVIEWS ===================== */
.reviews { padding: 48px 0 16px; }
.reviews__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.reviews__title { font-family: 'Anton', 'Bebas Neue', Impact, sans-serif; font-size: clamp(24px, 3.5vw, 36px); color: var(--brasil-green); margin: 0; letter-spacing: .03em; }
.reviews__summary { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.reviews__summary strong { color: var(--fg); }

.reviews__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.review-card__header { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.review-card__who { flex: 1; min-width: 0; }
.review-card__name { font-weight: 700; font-size: 14px; margin: 0; }
.review-card__meta { color: var(--muted); font-size: 12px; margin: 0; }
.review-card__text { margin-top: 14px; font-size: 14px; line-height: 1.55; }
.review-card__photo { margin-top: 14px; max-width: 220px; aspect-ratio: 1/1; border-radius: var(--radius); object-fit: cover; }

/* ===================== CART ===================== */
.cart { padding: 32px 0 64px; }
.cart__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) { .cart__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }

.cart__items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}
.cart-item__img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  background: #f3f4f6;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__info h3 { margin: 0; font-size: 15px; color: var(--brasil-green); }
.cart-item__meta { font-size: 12px; color: var(--muted); margin: 4px 0; }
.cart-item__price { font-weight: 700; font-size: 15px; }
.cart-item__controls { display: flex; align-items: center; gap: 12px; flex-direction: column; }
.cart-item__remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__remove:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty svg { width: 60px; height: 60px; color: var(--muted); margin: 0 auto 16px; }

.summary {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 90px;
  align-self: start;
}
.summary h2 { margin: 0 0 14px; font-size: 18px; }
.summary__row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.summary__row--total {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
}
.summary__cta { margin-top: 18px; }
.summary__note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ===================== FORMS ===================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field .required { color: var(--danger); }
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--border);
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brasil-green);
  box-shadow: 0 0 0 3px rgba(34,147,9,.12);
}
.field--invalid input,
.field--invalid select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 12px; margin-top: 2px; }
.field__hint { color: var(--muted); font-size: 12px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.form-grid .col-span-2 { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid .col-span-2 { grid-column: 1 / -1; } }
.form-grid .col-1-3 { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid .col-1-3 { grid-column: span 1; } }

.form-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}
.form-section h2 {
  font-size: 18px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section h2 .step {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brasil-green);
  color: #fff;
  font-size: 14px;
  display: grid;
  place-items: center;
}

/* ===================== CHECKOUT ===================== */
.checkout { padding: 28px 0 60px; }
.checkout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 980px) { .checkout__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; } }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.payment-option:hover { border-color: var(--brasil-green); }
.payment-option input[type="radio"] { accent-color: var(--brasil-green); }
.payment-option--active { border-color: var(--brasil-green); background: #f0fdf4; }
.payment-option__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  color: var(--brasil-green);
}
.payment-option__icon svg { width: 24px; height: 24px; }
.payment-option__label { font-weight: 700; font-size: 15px; }
.payment-option__desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.payment-details {
  background: #f9fafb;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.payment-details strong { color: var(--fg); }

.pix-mock {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}
.pix-mock__qr {
  width: 180px;
  height: 180px;
  background:
    linear-gradient(45deg, transparent 48%, #111 48% 52%, transparent 52%) center/24px 24px,
    linear-gradient(-45deg, transparent 48%, #111 48% 52%, transparent 52%) center/24px 24px,
    #fff;
  border: 4px solid #fff;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 2px #111;
}
.pix-mock__note { font-size: 13px; color: var(--muted); }

.card-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.card-grid .col-full { grid-column: 1 / -1; }

/* ===================== SUCCESS ===================== */
.success { padding: 60px 16px; text-align: center; }
.success__icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  background: #ecfdf5;
  color: var(--success);
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.success__icon svg { width: 44px; height: 44px; }
.success h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.success__order { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.success__card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
}
.success__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.success__row:last-child { border-bottom: 0; }
.success__row strong { font-weight: 700; }
.success__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--brasil-green);
  color: #fff;
  padding: 48px 0 24px;
  margin-top: 60px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand img { height: 56px; width: auto; }
.site-footer__tag { margin-top: 16px; font-size: 14px; max-width: 280px; opacity: .85; }
.site-footer__social { margin-top: 16px; display: flex; gap: 10px; }
.site-footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  transition: background .15s;
}
.site-footer__social a:hover { background: var(--brasil-yellow); color: var(--brasil-green); }
.site-footer__social svg { width: 18px; height: 18px; }

.site-footer h4 {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: .9;
}
.site-footer__list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer__list a { opacity: .85; transition: opacity .15s; }
.site-footer__list a:hover { opacity: 1; text-decoration: underline; }

.site-footer__newsletter input {
  width: 100%;
  border-radius: 999px;
  border: 0;
  padding: 12px 60px 12px 18px;
  font-size: 14px;
  background: rgba(255,255,255,.95);
  color: var(--fg);
}
.site-footer__newsletter { position: relative; }
.site-footer__newsletter button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--brasil-yellow);
  color: var(--brasil-green);
  display: grid;
  place-items: center;
}

.site-footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  font-size: 13px;
  opacity: .8;
}
.site-footer__bottom p { margin: 4px 0; }

/* =========================================================
   Exit Intent Modal — recuperação de abandono
   Disparado por back-guard.js. Inspirado no padrão usado por
   Shopify Wisepops/Privy: modal centralizado, contextual,
   com botão "sair" funcional (zero dark pattern).
   ========================================================= */
.exit-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0,12,40,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  display: flex;
  align-items: flex-end;       /* mobile: cresce de baixo (sheet) */
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity .25s ease;
  overscroll-behavior: contain;
}
@media (min-width: 640px) {
  .exit-modal-backdrop { align-items: center; padding: 16px; }
}
.exit-modal-backdrop.is-open { opacity: 1; }

.exit-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 460px;
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  border-radius: 22px 22px 0 0;  /* mobile: sheet com cantos só em cima */
  padding: 28px 22px 22px;
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,0.35);
  transform: translateY(40px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 640px) {
  .exit-modal {
    border-radius: 22px;
    padding: 32px 28px 24px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
    transform: translateY(20px) scale(.96);
  }
}
.exit-modal-backdrop.is-open .exit-modal {
  transform: translateY(0);
}
@media (min-width: 640px) {
  .exit-modal-backdrop.is-open .exit-modal { transform: translateY(0) scale(1); }
}

.exit-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  border: 0;
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.exit-modal__close:hover { background: rgba(0,0,0,0.1); }
.exit-modal__close svg { width: 16px; height: 16px; }

.exit-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--co-verde-soft);
  color: var(--co-verde);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.exit-modal__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--co-verde);
  animation: exit-dot-pulse 1.4s ease-in-out infinite;
}
@keyframes exit-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-modal-backdrop, .exit-modal { transition: none; }
  .exit-modal__dot { animation: none; }
}

.exit-modal__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 4.2vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--co-azul);
  letter-spacing: -0.015em;
}
.exit-modal__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #2d2d2d;
}
.exit-modal__lede strong { color: var(--co-azul); }

/* Mini-list do carrinho dentro do modal */
.exit-modal__cart {
  margin: 18px 0 6px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exit-modal__cart-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
}
.exit-modal__cart-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  display: grid;
  place-items: center;
}
.exit-modal__cart-img img { width: 100%; height: 100%; }
.exit-modal__cart-info p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exit-modal__cart-info p small { color: var(--muted); font-weight: 500; }
.exit-modal__cart-info strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--co-azul);
}
.exit-modal__cart-more {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Ações */
.exit-modal__actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exit-modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.exit-modal__cta--primary {
  background: var(--co-verde);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(34,147,9,0.45);
}
.exit-modal__cta--primary:hover { background: var(--co-verde-dark, #1c7a08); }
.exit-modal__cta--primary:active { transform: scale(.98); }
.exit-modal__cta--secondary {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  min-height: 40px;
  border-radius: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.exit-modal__cta--secondary:hover { color: var(--fg); }

/* Trust signal no rodapé */
.exit-modal__trust {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.exit-modal__trust svg {
  width: 14px;
  height: 14px;
  color: var(--co-verde);
}

/* ===================== TOAST ===================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in .3s ease;
  pointer-events: auto;
}
.toast--success { background: var(--brasil-green); }
.toast--error { background: var(--danger); }
.toast.hide { animation: toast-out .25s ease forwards; }
.toast svg { width: 18px; height: 18px; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px); }
}

/* ===================== ABOUT / POLICIES ===================== */
.prose { max-width: 740px; margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); color: var(--brasil-green); margin: 0 0 16px; font-family: 'Anton', sans-serif; letter-spacing: .03em; }
.prose h2 { font-size: 22px; color: var(--brasil-green); margin: 32px 0 12px; }
.prose p { margin: 12px 0; line-height: 1.7; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 6px 0; }

.about-hero {
  background: var(--brasil-green);
  color: var(--brasil-yellow);
  padding: 56px 16px;
  text-align: center;
}
.about-hero h1 { font-family: 'Anton', sans-serif; font-size: clamp(38px, 6vw, 64px); margin: 0; letter-spacing: .03em; }
.about-hero p { color: #fff; max-width: 600px; margin: 18px auto 0; font-size: 17px; }

/* ===================== UTILITIES ===================== */
.size-table {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.size-table img { width: 100%; height: auto; border-radius: var(--radius); }

/* Lazy-loaded image fade-in */
img[loading="lazy"] { transition: opacity .4s ease; }

/* Accessibility focus ring */
:focus-visible {
  outline: 3px solid var(--brasil-yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================================================
   v2 — Componentes adicionais inspirados na versão Shopify.
   ========================================================= */

/* Hero com vídeo de fundo (home) -------------------------- */
.hero--video {
  position: relative;
  overflow: hidden;
  isolation: isolate;             /* mantém o overlay sobre o vídeo */
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 75%, rgba(34,147,9,.85) 100%);
  z-index: -1;
}
.hero__tagline {
  font-family: "Chivo", "Anton", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
  text-transform: uppercase;
}
.hero__tagline span { display: block; }
.hero__tagline span:nth-child(2) { color: var(--brasil-yellow); }

/* Cart drawer (slide-in lateral) -------------------------- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 91;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,.18);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__title {
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0;
}
.cart-drawer__close {
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
}
.cart-drawer__close:hover { background: #f3f4f6; }
.cart-drawer__close svg { width: 18px; height: 18px; }
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer__empty { text-align: center; padding: 40px 0; color: var(--muted); }
.cart-drawer__empty p { margin-top: 6px; }
.cart-drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-drawer-item__img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}
.cart-drawer-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item__info h3 { margin: 0; font-size: 13px; line-height: 1.3; }
.cart-drawer-item__meta { font-size: 11px; color: var(--muted); margin: 2px 0; }
.cart-drawer-item__price { font-size: 13px; font-weight: 700; margin-top: 2px; }
.cart-drawer-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-top: 4px;
}
.cart-drawer-item__qty button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.cart-drawer-item__qty button svg { width: 12px; height: 12px; }
.cart-drawer-item__qty span { min-width: 22px; text-align: center; font-size: 12px; font-weight: 700; }
.cart-drawer-item__remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.cart-drawer-item__remove:hover { color: var(--danger); background: #fef2f2; }
.cart-drawer-item__remove svg { width: 14px; height: 14px; }
.cart-drawer__footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
  background: #fafafa;
}
.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
}
.cart-drawer__row--total {
  font-size: 16px;
  font-weight: 800;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.cart-drawer__actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.cart-drawer__note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.cart-drawer__progress {
  margin-top: 4px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.cart-drawer__progress span {
  display: block;
  height: 100%;
  background: var(--brasil-green);
  transition: width .4s ease;
}
.cart-drawer__progress-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

/* Sticky add-to-cart (página de produto) ------------------ */
.sticky-add-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
  padding: 10px 16px;
  display: none;
  z-index: 70;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.sticky-add-bar.visible {
  display: flex;
  transform: translateY(0);
}
.sticky-add-bar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.sticky-add-bar__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}
.sticky-add-bar__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sticky-add-bar__info { flex: 1; min-width: 0; }
.sticky-add-bar__name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.sticky-add-bar__price { font-size: 13px; color: var(--muted); }
.sticky-add-bar .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .sticky-add-bar__name { font-size: 12px; }
  .sticky-add-bar .btn { padding: 10px 14px; font-size: 13px; }
}

/* Search modal (full-screen overlay) ---------------------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(255,255,255,.98);
  display: none;
  padding: 24px 16px;
  overflow-y: auto;
}
.search-modal.open { display: block; animation: fade-in .2s ease; }
.search-modal__inner {
  max-width: 720px;
  margin: 0 auto;
}
.search-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px 8px 4px 20px;
}
.search-modal__header svg { width: 20px; height: 20px; color: var(--muted); }
.search-modal__input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 14px 0;
  font-size: 17px;
  font-family: inherit;
}
.search-modal__close {
  background: var(--brasil-green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.search-modal__results {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.search-modal__result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  transition: background .15s;
  border: 1px solid transparent;
}
.search-modal__result:hover { background: #f9fafb; border-color: var(--border); }
.search-modal__result-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}
.search-modal__result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-modal__result-info { flex: 1; }
.search-modal__result-name { font-weight: 600; font-size: 14px; margin: 0; }
.search-modal__result-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-modal__result-price { font-weight: 700; }
.search-modal__hint {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 60px;
}
.search-modal__suggestions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.search-modal__suggestion {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}
.search-modal__suggestion:hover { background: var(--brasil-green); color: #fff; border-color: var(--brasil-green); }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fly-to-cart (imagem voando para o ícone do carrinho) ---- */
.fly-to-cart {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 99;
  transition: all .8s cubic-bezier(.5, -0.3, .7, 1.5);
}
.fly-to-cart img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .fly-to-cart { display: none; }
}

/* Sutil zoom hover na galeria de produto ------------------ */
.gallery__main {
  cursor: zoom-in;
}
.gallery__main img {
  transition: transform .35s ease, transform-origin .1s ease;
}
.gallery__main--zoomed {
  cursor: zoom-out;
}
.gallery__main--zoomed img {
  transform: scale(1.6);
}

/* =========================================================
   Reels — seção de thumbs + viewer estilo Instagram/TikTok
   ========================================================= */

/* Seção de thumbs (na home) */
.reels-section { padding: 56px 0; }
.reels-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.reels-section__title {
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--brasil-green);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
}
.reels-section__sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .reels-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.reel-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  cursor: pointer;
  border: 0;
  padding: 0;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.reel-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.35);
}
.reel-thumb img,
.reel-thumb video,
.reel-thumb canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* Espaço de loading enquanto a thumb não foi extraída ainda */
.reel-thumb__loader {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(245,197,24,.25) 0%, transparent 60%),
    linear-gradient(135deg, #146b00, #229309 50%, #002776);
}
.reel-thumb__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: #fff;
}
.reel-thumb__play {
  align-self: flex-start;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #111;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: transform .2s ease;
}
.reel-thumb__play svg { width: 14px; height: 14px; margin-left: 2px; }
.reel-thumb:hover .reel-thumb__play { transform: scale(1.1); }
.reel-thumb__caption {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.reel-thumb__handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  opacity: .9;
}
/* Avatar real do perfil do Instagram dentro do handle do thumb */
.reel-thumb__handle img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  display: inline-block;
}

/* Viewer (overlay full-screen estilo Instagram) ----------- */
.reels-viewer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  align-items: center;
  justify-content: center;
  animation: viewer-in .35s cubic-bezier(.22, 1, .36, 1);
  overscroll-behavior: contain;
  touch-action: none;
}
.reels-viewer.open { display: flex; }
.reels-viewer__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reels-viewer__close:hover {
  background: rgba(255,255,255,.22);
  transform: scale(1.05);
}
.reels-viewer__close svg { width: 20px; height: 20px; }
.reels-viewer__counter {
  position: fixed;
  top: 26px;
  left: 24px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  z-index: 4;
}

/* Setas laterais (desktop) */
.reels-viewer__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reels-viewer__nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.06); }
.reels-viewer__nav[disabled] { opacity: .25; cursor: not-allowed; pointer-events: none; }
.reels-viewer__nav svg { width: 20px; height: 20px; }
.reels-viewer__nav--prev { left: max(16px, calc(50% - 360px)); }
.reels-viewer__nav--next { right: max(16px, calc(50% - 360px)); }
@media (max-width: 720px) {
  .reels-viewer__nav { display: none; }      /* no mobile, navegação por swipe */
}

/* Stage (palco) — vídeo central */
.reels-viewer__stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: min(85vh, 740px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  margin: 0 16px;
}
@media (max-width: 720px) {
  .reels-viewer__stage {
    max-width: none;
    width: 100%;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
}

/* Barra de progresso (estilo Stories — múltiplos segmentos) */
.reels-viewer__progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.reels-viewer__progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  overflow: hidden;
}
.reels-viewer__progress-bar span {
  display: block;
  height: 100%;
  background: rgba(255,255,255,.95);
  width: 0;
  transform-origin: left center;
  transition: width 80ms linear;
}
.reels-viewer__progress-bar.played span { width: 100%; }

/* Vídeo */
.reels-viewer__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
  z-index: 0;
}

/* Overlay com handle / caption / mute */
.reels-viewer__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;          /* só os botões internos pegam click */
  padding: 16px 16px 26px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%);
  z-index: 2;
}
.reels-viewer__header {
  position: absolute;
  top: 28px;
  left: 16px;
  right: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.reels-viewer__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #515bd4);
  padding: 2px;
  flex-shrink: 0;
}
.reels-viewer__avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #229309;
  overflow: hidden;
}
.reels-viewer__avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}
.reels-viewer__handle {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.reels-viewer__caption {
  pointer-events: none;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 320px;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.reels-viewer__mute {
  position: absolute;
  bottom: 100px;     /* acima da caption/CTA, no canto inferior direito */
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: auto;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4;
  transition: background .15s ease, transform .15s ease;
}
.reels-viewer__mute:hover { background: rgba(0,0,0,.75); transform: scale(1.05); }
.reels-viewer__mute svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  /* No mobile, o stage ocupa a tela toda; subo o botão pra ficar
     bem visível e longe da área de gesto de swipe. */
  .reels-viewer__mute { bottom: 130px; right: 16px; }
}

/* CTA na parte de baixo do vídeo */
.reels-viewer__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reels-viewer__cta svg { width: 14px; height: 14px; }

/* Indicador de pause grande (estado pausado) */
.reels-viewer__pause-icon {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}
.reels-viewer__stage.paused .reels-viewer__pause-icon { display: grid; }
.reels-viewer__pause-icon svg {
  width: 72px;
  height: 72px;
  color: rgba(255,255,255,.85);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

/* Slide enquanto o usuário arrasta (mobile) */
.reels-viewer__stage.dragging { transition: none; }

@keyframes viewer-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
.reels-viewer.closing { animation: viewer-out .25s ease forwards; }
@keyframes viewer-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.94); }
}

/* =========================================================
   Checkout v2 — estilo premium (cart expandido, brinde,
   frete, order bump) inspirado em Shopify Plus
   ========================================================= */

:root {
  --co-azul: #002776;
  --co-azul-soft: #eef2fa;
  --co-amarelo: #F5C518;
  --co-verde: #229309;
  --co-verde-soft: #e6f5e0;
}

/* Override do título do checkout para ser MUITO maior no mobile */
.checkout h1.section__title {
  font-size: clamp(26px, 5.5vw, 36px);
  margin-bottom: 12px !important;
}

/* Step card base — card branco com borda, sombra sutil */
.co-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
@media (min-width: 640px) {
  .co-card { padding: 24px; margin-bottom: 18px; }
}
.co-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.co-card__step {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--co-azul);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.co-card__title {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  margin: 0;
  color: var(--co-azul);
  letter-spacing: -0.01em;
}
.co-card__title-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0;
}

/* ---------- 1) Carrinho expandido ---------- */
.co-cart-list { display: flex; flex-direction: column; gap: 14px; }
.co-cart-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fcfcfd;
  align-items: start;
}
@media (min-width: 640px) {
  .co-cart-item { grid-template-columns: 110px 1fr; padding: 14px; }
}
.co-cart-item__img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
@media (min-width: 640px) {
  .co-cart-item__img { width: 110px; height: 110px; }
}
.co-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.co-cart-item__body { min-width: 0; }
.co-cart-item__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--co-azul);
  margin: 0 0 4px;
  line-height: 1.25;
}
.co-cart-item__desc { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 0 0 10px; }
.co-cart-item__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.co-size-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002776' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center / 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 32px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  min-height: 36px;
}
.co-size-select:focus { outline: 0; border-color: var(--co-azul); }
.co-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  min-height: 36px;
}
.co-qty-stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--co-azul);
}
.co-qty-stepper button svg { width: 14px; height: 14px; }
.co-qty-stepper button:disabled { opacity: 0.4; }
.co-qty-stepper input,
.co-qty-stepper span {
  width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--fg);
  border: 0;
  outline: 0;
  background: transparent;
}
.co-cart-item__remove {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
}
.co-cart-item__remove:hover { color: var(--danger); }
.co-cart-item__price-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.co-cart-item__price {
  font-size: 17px;
  font-weight: 800;
  color: var(--co-azul);
}
.co-cart-item__compare {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

/* ---------- 2) Brinde (gift) ---------- */
.co-gift {
  border: 2px solid var(--co-amarelo);
  background: #fffbe8;
  position: relative;
}
.co-gift::after {
  /* glow sutil */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(245,197,24,0);
  animation: gift-glow 3.5s ease-in-out infinite;
}
@keyframes gift-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); }
  50% { box-shadow: 0 0 0 6px rgba(245,197,24,0.18); }
}
@media (prefers-reduced-motion: reduce) {
  .co-gift::after { animation: none; }
}
.co-gift__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.co-gift__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-gift__badge {
  background: var(--co-verde);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}
.co-gift__title {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  color: var(--co-azul);
  margin: 0;
}
.co-gift__counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--co-amarelo);
  color: var(--co-azul);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}
.co-gift__counter svg { width: 14px; height: 14px; }
.co-gift__lede {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.co-gift__lede strong { color: var(--co-azul); font-weight: 800; }
.co-gift__section-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--co-azul);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 14px 0 10px;
}
.co-gift__section-label .current {
  color: var(--fg);
  font-weight: 700;
  text-transform: none;
}

/* Color swatches do brinde */
.co-gift-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .co-gift-colors { gap: 14px; } }
.co-gift-color {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
}
.co-gift-color:hover { transform: translateY(-2px); }
.co-gift-color.active {
  border-color: var(--co-verde);
  box-shadow: 0 0 0 3px rgba(34,147,9,0.15);
}
.co-gift-color__media {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--co-verde);
  display: grid;
  place-items: center;
}
.co-gift-color__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.co-gift-color__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--co-azul);
  padding: 8px 4px 4px;
  display: block;
}

/* Size pills do brinde */
.co-gift-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 640px) { .co-gift-sizes { grid-template-columns: repeat(6, 1fr); gap: 10px; } }
.co-gift-size {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--co-azul);
  cursor: pointer;
  min-height: 44px;
  transition: all .15s ease;
}
.co-gift-size:hover { border-color: var(--co-verde); }
.co-gift-size.active {
  background: var(--co-verde);
  color: #fff;
  border-color: var(--co-verde);
}

/* ---------- 4) Frete ---------- */
.co-shipping { display: flex; flex-direction: column; gap: 10px; }
.co-ship-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  position: relative;
}
.co-ship-option:hover { border-color: var(--co-azul); }
.co-ship-option--active {
  border-color: var(--co-azul);
  background: var(--co-azul-soft);
}
.co-ship-option input[type="radio"] { display: none; }
.co-ship-option__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--co-azul);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.co-ship-option__icon svg { width: 22px; height: 22px; }
.co-ship-option__body { flex: 1; min-width: 0; }
.co-ship-option__name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.co-ship-option__name strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--co-azul);
}
.co-ship-option__timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--co-amarelo);
  color: var(--co-azul);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.co-ship-option__timer svg { width: 12px; height: 12px; }
.co-ship-option__sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.35;
}
.co-ship-option__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--co-azul);
  text-align: right;
  flex-shrink: 0;
}
.co-ship-option__price.is-free {
  color: var(--co-verde);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
}
.co-shipping__note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.co-shipping__note strong { color: var(--co-azul); }

/* ---------- 5) Order bump ---------- */
.co-bump {
  border: 2px dashed var(--co-verde);
  background: linear-gradient(180deg, #fff 0%, #f4faf2 100%);
}
.co-bump__list { display: flex; flex-direction: column; gap: 10px; }
.co-bump-item {
  display: grid;
  grid-template-columns: 48px 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
@media (min-width: 640px) {
  .co-bump-item { grid-template-columns: 56px 96px 1fr; padding: 14px; }
}
.co-bump-item--active {
  border-color: var(--co-verde);
  background: var(--co-verde-soft);
}
.co-bump-item__toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--co-azul);
  background: #fff;
  color: var(--co-azul);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .15s ease;
}
.co-bump-item__toggle svg { width: 20px; height: 20px; }
.co-bump-item--active .co-bump-item__toggle {
  background: var(--co-verde);
  border-color: var(--co-verde);
  color: #fff;
}
.co-bump-item__img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
@media (min-width: 640px) {
  .co-bump-item__img { width: 96px; height: 96px; }
}
.co-bump-item__img img,
.co-bump-item__img svg { width: 100%; height: 100%; object-fit: contain; }
.co-bump-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--co-azul);
  line-height: 1.3;
  margin: 0;
}
.co-bump-item__price {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: var(--co-verde);
  margin-top: 4px;
}

/* =========================================================
   Reviews — depoimentos reais de clientes (homepage)
   ========================================================= */
.home-reviews {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #fffdf5 0%, transparent 100%);
}
.home-reviews__head {
  text-align: center;
  margin-bottom: 28px;
}
.home-reviews__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brasil-green);
  background: var(--co-verde-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.home-reviews__title {
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--brasil-green);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}
.home-reviews__sub {
  margin: 10px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}
.home-reviews__summary {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.06);
}
.home-reviews__summary strong { color: var(--co-azul); font-size: 17px; }
.home-reviews__summary .stars svg { width: 16px; height: 16px; }

/* Grid: 1 col mobile, 2 desktop. Scroll horizontal opcional no celular. */
.home-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .home-reviews__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .home-reviews__grid { grid-template-columns: repeat(4, 1fr); }
}

.home-review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px -8px rgba(0,18,60,0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-review:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(0,18,60,0.18);
}
.home-review__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
}
.home-review__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-review__verified {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(34,147,9,0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.home-review__verified svg { width: 11px; height: 11px; }

.home-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}
.home-review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-review__who {
  flex: 1;
  min-width: 0;
}
.home-review__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--co-azul);
  line-height: 1.2;
}
.home-review__meta {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.home-review__stars svg { width: 14px; height: 14px; }

.home-review__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}
.home-review__product {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--muted);
}
.home-review__product strong { color: var(--co-azul); }

/* ---------- Sticky CTA do Checkout (apenas mobile) ---------- */
.co-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -10px rgba(0,0,0,0.12);
  /* Anima entrada/saída: começa fora da tela, sobe quando ganha .is-visible. */
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.co-sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 720px) {
  /* Mobile checkout: o sticky vira parte do fluxo (visível conforme scroll) */
  body[data-page="checkout"] { padding-bottom: 92px; }
  body[data-page="checkout"] .co-sticky-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .co-sticky-cta { transition: none; }
}
.co-sticky-cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-sticky-cta__price { display: flex; flex-direction: column; min-width: 0; }
.co-sticky-cta__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.co-sticky-cta__price strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--co-azul);
  line-height: 1.1;
}
.co-sticky-cta__btn {
  flex: 1;
  min-height: 50px;
  border-radius: 14px;
  border: 0;
  background: var(--co-verde);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(34,147,9,0.4);
  transition: transform .12s ease;
}
.co-sticky-cta__btn:active { transform: scale(.98); }

/* ---------- Discount Bar (20% acima de R$ 200) ---------- */
.discount-bar {
  background: linear-gradient(180deg, #fffbe8 0%, #fff5cf 100%);
  border: 1.5px solid var(--co-amarelo);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.discount-bar--unlocked {
  background: linear-gradient(180deg, var(--co-verde-soft) 0%, #cdebc0 100%);
  border-color: var(--co-verde);
}
.discount-bar__text {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--co-azul);
  line-height: 1.4;
}
.discount-bar__text strong { color: var(--co-azul); }
.discount-bar--unlocked .discount-bar__text { color: #0e4a05; }
.discount-bar--unlocked .discount-bar__text strong { color: #0e4a05; }
.discount-bar__icon {
  display: inline-block;
  margin-right: 4px;
}
.discount-bar__track {
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.discount-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--co-amarelo) 0%, #FFC107 100%);
  border-radius: 999px;
  transition: width .4s cubic-bezier(.22, 1, .36, 1);
}
.discount-bar--unlocked .discount-bar__fill {
  background: linear-gradient(90deg, var(--co-verde) 0%, #2fae0e 100%);
}

/* ---------- 5b) Pagamento PIX único ---------- */
.co-pix-only {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--co-verde);
  background: var(--co-verde-soft);
  border-radius: 14px;
}
/* O ícone do PIX já tem cor própria (turquesa + branco); deixamos o
   container apenas como respiro com fundo branco e leve sombra. */
.co-pix-only__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border) inset, 0 2px 6px -2px rgba(0,0,0,0.06);
}
.co-pix-only__icon svg { width: 40px; height: 40px; display: block; }
.co-pix-only__body { flex: 1; min-width: 0; }
.co-pix-only__label {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--co-azul);
}
.co-pix-only__desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.co-pix-only__desc strong { color: var(--co-azul); }
.co-pix-only__total {
  font-size: 16px;
  font-weight: 900;
  color: var(--co-verde);
  white-space: nowrap;
}
@media (max-width: 480px) {
  /* No mobile mais estreito, quebra o total pra baixo do label
     e dá mais respiro pro card todo. */
  .co-pix-only { flex-wrap: wrap; }
  .co-pix-only__body { flex-basis: calc(100% - 70px); }
  .co-pix-only__total { width: 100%; text-align: right; margin-top: 4px; }
}

/* ---------- 6) Resumo final ---------- */
.co-summary-final {
  background: var(--co-azul);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
}
.co-summary-final h2 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .8;
}
.co-summary-final__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  opacity: .9;
}
/* IMPORTANTE: o atributo HTML `hidden` precisa vencer o `display: flex`
   acima — sem isso, linhas como "Adicionais" e "Desconto PIX" continuam
   visíveis mesmo quando hidden=true. */
.co-summary-final__row[hidden] { display: none !important; }
.co-summary-final__row--free strong { color: var(--co-amarelo); }
.co-summary-final__row--total {
  font-size: 22px;
  font-weight: 900;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 14px;
  margin-top: 10px;
  opacity: 1;
}
.co-finalize-btn {
  width: 100%;
  background: var(--co-amarelo);
  color: var(--co-azul);
  border: 0;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 900;
  padding: 18px 20px;
  cursor: pointer;
  margin-top: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .12s ease, box-shadow .12s ease;
  min-height: 56px;
}
.co-finalize-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.co-finalize-btn:active { transform: translateY(0); }
.co-summary-final__legal {
  font-size: 11px;
  text-align: center;
  margin-top: 10px;
  opacity: .8;
}
.co-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 14px;
  font-size: 11px;
  opacity: .85;
}
.co-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.co-trust-bar svg { width: 12px; height: 12px; }

/* Reels — viewport hint para o usuário deslizar (mobile only) */
@media (max-width: 720px) {
  .reels-viewer__hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255,255,255,.7);
    pointer-events: none;
    text-align: center;
    z-index: 3;
    animation: hint-pulse 2.5s ease-in-out infinite;
  }
  @keyframes hint-pulse {
    0%, 100% { opacity: .5; }
    50% { opacity: 1; }
  }
}

/* =========================================================
   Mobile polish — refinamento global mobile-first
   ========================================================= */

@media (max-width: 720px) {
  /* Tipografia mais legível para 35+ */
  body { font-size: 16px; line-height: 1.55; }
  .section { padding: 32px 0; }
  .section__title { font-size: clamp(26px, 7vw, 36px); }

  /* Touch targets — mínimo 44px (Apple HIG) em tudo clicável */
  .btn { min-height: 48px; padding: 13px 22px; font-size: 15px; }
  .btn--sm { min-height: 40px; padding: 9px 16px; font-size: 13px; }
  .btn--lg { min-height: 56px; padding: 17px 28px; font-size: 17px; }
  .icon-btn { min-width: 44px; min-height: 44px; padding: 10px; }

  /* Cards de produto com mais respiro */
  .product-card__name { font-size: 15px; }
  .product-card__price { font-size: 15px; }

  /* Forms com inputs maiores */
  .field input,
  .field select,
  .field textarea {
    padding: 14px 16px;
    font-size: 16px;            /* evita zoom do iOS */
    min-height: 48px;
  }
  .field label { font-size: 14px; }

  /* Hero pega mais espaço */
  .hero { padding: 32px 16px 40px; }
  .hero__small { font-size: 13px; }

  /* Headers menos largos */
  .site-header__inner { height: 56px; }
}

/* Acima de 480px ainda, garante respiração no mobile */
@media (min-width: 481px) and (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* iOS overscroll behavior — corrige bouncy weird */
html { overscroll-behavior-y: contain; }

/* =========================================================
   Modal PIX (gateway Mangofy) — QR + copia-e-cola + status
   ========================================================= */

.pix-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0,18,60,.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overscroll-behavior: contain;
}
.pix-modal-backdrop.open { display: flex; animation: pix-modal-in .25s ease; }
@keyframes pix-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pix-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.4);
  animation: pix-modal-slide .35s cubic-bezier(.22, 1, .36, 1);
  position: relative;
}
@keyframes pix-modal-slide {
  from { transform: translateY(30px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.pix-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.pix-modal__close:hover { background: rgba(0,0,0,.12); }
.pix-modal__close svg { width: 16px; height: 16px; }

.pix-modal__head {
  text-align: center;
  padding: 28px 24px 14px;
  background: linear-gradient(180deg, #f4f8ff 0%, transparent 100%);
}
.pix-modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--co-azul);
  letter-spacing: -0.01em;
}
.pix-modal__sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.pix-modal__total {
  display: inline-block;
  background: var(--co-azul);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-top: 10px;
}

.pix-modal__qr-wrap {
  display: grid;
  place-items: center;
  padding: 18px 24px;
}
.pix-modal__qr {
  width: 240px;
  height: 240px;
  border-radius: 18px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px -8px rgba(0,18,60,.15);
}
.pix-modal__qr img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.pix-modal__copy-wrap {
  padding: 0 24px 12px;
}
.pix-modal__copy-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--co-azul);
  margin: 0 0 6px;
}
.pix-modal__copy-box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
}
.pix-modal__copy-box input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 12px 14px;
  outline: 0;
  color: var(--fg);
  min-width: 0;          /* impede overflow no flex */
}
.pix-modal__copy-btn {
  background: var(--co-azul);
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-height: 44px;
}
.pix-modal__copy-btn:hover { background: #001752; }
.pix-modal__copy-btn.copied {
  background: var(--co-verde);
}
.pix-modal__copy-btn svg { width: 14px; height: 14px; }

.pix-modal__status {
  margin: 8px 24px 14px;
  padding: 12px 14px;
  background: #fff8e0;
  border: 1px solid #f5d769;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b5300;
}
.pix-modal__status .spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #e0c860;
  border-top-color: #6b5300;
  animation: pix-spin 0.9s linear infinite;
}
@keyframes pix-spin { to { transform: rotate(360deg); } }

.pix-modal__status--approved {
  background: var(--co-verde-soft);
  border-color: var(--co-verde);
  color: #0e4a05;
}
.pix-modal__status--approved .spinner { display: none; }
.pix-modal__status--error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.pix-modal__steps {
  list-style: none;
  margin: 4px 24px 18px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  display: grid;
  gap: 8px;
  counter-reset: pix-step;
}
.pix-modal__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.4;
}
.pix-modal__steps li::before {
  counter-increment: pix-step;
  content: counter(pix-step);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--co-azul);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.pix-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.pix-modal__footer .trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pix-modal__footer svg { width: 14px; height: 14px; }

.pix-modal__success-actions {
  padding: 0 24px 22px;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.pix-modal--approved .pix-modal__success-actions { display: flex; }
.pix-modal--approved .pix-modal__copy-wrap,
.pix-modal--approved .pix-modal__steps { display: none; }

/* Botão de submit em estado loading */
.co-finalize-btn.is-loading {
  opacity: .85;
  pointer-events: none;
  position: relative;
  color: transparent !important;
}
.co-finalize-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0, 39, 118, .25);
  border-top-color: var(--co-azul);
  border-radius: 50%;
  animation: pix-spin .8s linear infinite;
}

/* Recently viewed ----------------------------------------- */
.recently-viewed {
  margin-top: 64px;
}
.recently-viewed h2 {
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--brasil-green);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .01em;
}

