/* ==========================================================================
   Renova Ecopeças — clone estático (1ª entrega)
   Temas: dark (home) e claro (catálogo/produto)
   Cores medidas pixel a pixel no site original.
   ========================================================================== */

:root {
  --green: #7eb536;          /* botão Todas as Categorias, links, dots */
  --green-price: #85bc41;    /* preço dos cards */
  --green-buy: #26ab25;      /* botão COMPRAR */
  --green-buy-page: #7eb536; /* botões da página de produto */
  --green-badge: #86bc40;    /* borda/glow BLACK RENOVA */
  --green-modal: #4ec430;    /* modal Fique atento */
  --dark-page: #262433;      /* fundo home / topbar dark */
  --dark-surface: #16141f;   /* cards, faixa de menu, footer dark */
  --dark-border: #282633;    /* borda dos cards dark */
  --strip-light: #656565;    /* faixa de categorias (tema claro) */
  --text: #3d4445;
  --text-sec: #656565;
  --cookie-blue: #00a1fc;
  --wa: #00e676;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Circular Std', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px; line-height: 1.5; color: var(--text); background: #fff;
}
body.theme-dark { background: var(--dark-page); }
img { border: 0; vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font-family: inherit; }
.container { max-width: 1246px; margin: 0 auto; padding: 0 8px; }

/* ============================ HEADER ============================ */
#topo { position: sticky; top: 0; z-index: 200; }
#topo .top {
  height: 83px; display: flex; align-items: stretch; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.theme-dark #topo .top { background: var(--dark-page); box-shadow: 0 0 2rem rgba(0,0,0,.5); }
.top-inner { width: 100%; max-width: 1440px; margin: 0 auto; display: flex; align-items: stretch; padding: 0 16px; }
.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; }
.links-menu { display: flex; align-items: center; gap: 34px; margin-left: 56px; }
.links-menu a {
  font-size: 15px; color: #656565; transition: color .15s;
  display: flex; align-items: center;
}
.links-menu a:hover { color: var(--green); }
.theme-dark .links-menu a { color: #c9c9d1; }
.theme-dark .links-menu a:hover { color: #fff; }
.top-links { margin-left: auto; display: flex; align-items: stretch; }
.header-favorites-btn, .link-central {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 0 20px; color: #656565; position: relative;
}
.header-favorites-btn svg { width: 26px; height: 26px; }
.header-favorites-btn span { font-size: 16px; font-weight: 600; }
.favorite-counter {
  position: absolute; top: 14px; left: 26px; background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.link-central img { width: 28px; height: 28px; filter: grayscale(1) brightness(.55); }
.theme-dark .header-favorites-btn, .theme-dark .link-central { color: #c9c9d1; }
.theme-dark .link-central img { filter: invert(1) opacity(.85); }
.link-cart { display: flex; }
.link-cart > a {
  display: flex; align-items: center; gap: 10px; padding: 0 26px;
  background: var(--green); color: #fff; font-size: 16px; font-weight: 700;
  transition: background .15s;
}
.link-cart > a:hover { background: #74a82f; }
.link-cart img { width: 26px; height: 24px; filter: brightness(0) invert(1); }

/* linha 2: Todas as Categorias + busca */
#topo .bottom { display: flex; align-items: center; background: transparent; }
.theme-dark #topo .bottom { background: var(--dark-page); }
.bottom-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; }
.all-departments {
  width: 240px; height: 75px; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 600; position: relative; flex-shrink: 0; cursor: pointer;
}
.all-departments img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.all-departments .caret { margin-left: 6px; font-size: 11px; opacity: .8; }
.dept-dropdown {
  position: absolute; top: 100%; left: 0; width: 262px; background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); border-radius: 0 0 6px 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 300;
  max-height: 430px; overflow-y: auto;
}
.all-departments:hover .dept-dropdown { opacity: 1; visibility: visible; transform: none; }
.dept-dropdown a {
  display: block; padding: 0 22px; line-height: 38px; font-size: 14px; color: #373737; white-space: nowrap;
}
.dept-dropdown a:hover { background: var(--green); color: #fff; }

.search { flex: 1; margin-left: 15px; position: relative; max-width: 945px; }
.search-key {
  width: 100%; height: 48px; border-radius: 6px; padding: 0 16px 0 48px;
  border: 1px solid #dcdcdc; background: #fff; color: var(--text); font-size: 15px; outline: none;
}
.search-key::placeholder { color: #999; }
.theme-dark .search-key { border-color: #595959; background: var(--dark-page); color: #fff; }
.theme-dark .search-key::placeholder { color: #8b8b93; }
.search-key:focus { border-color: var(--green); }
.search-button { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; color: #999; }
.search-button svg { width: 20px; height: 20px; }
.theme-dark .search-button { color: #8b8b93; }

/* faixa de categorias */
#menu-strip { background: var(--strip-light); }
.theme-dark #menu-strip { background: var(--dark-surface); }
#topo.fixed ~ #menu-strip { display: none; }
.menu-list { display: flex; }
.menu-list > li { flex: 1 1 0; min-width: 0; position: relative; }
.level1-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 82px; color: #fff; transition: background .15s; cursor: pointer;
  font-size: 13px; font-weight: 400; letter-spacing: -.5px;
}
.theme-dark .level1-link { color: #dcdce0; }
.level1-link:hover { background: rgba(255,255,255,.09); }
.level1-link img { width: 32px; height: 32px; object-fit: contain; }
.level1-link h2 {
  font-size: 13px; font-weight: 400; letter-spacing: -.5px; line-height: 1.05; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-width: 100%; padding: 0 4px;
}
.level2 {
  position: absolute; top: 100%; left: 0; width: 300px; background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.28); border-radius: 0 0 6px 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 300;
  max-height: 480px; overflow-y: auto;
}
.menu-list > li:nth-child(n+5) .level2 { left: auto; right: 0; }
.menu-list > li:hover .level2 { opacity: 1; visibility: visible; transform: none; }
.level2 h3 > a, .level2 a.level2-link {
  display: block; padding: 0 25px; line-height: 37px; font-size: 15px; color: #373737; font-weight: 400;
  white-space: nowrap;
}
.level2 a.level2-link:hover { background: var(--green); color: #fff; }

/* ============================ HERO SLIDER ============================ */
.hero { position: relative; height: 289px; overflow: hidden; background: #000; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; cursor: pointer;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background .15s;
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 5; }
.hero-dots button { width: 15px; height: 15px; border-radius: 50%; background: var(--green); opacity: .22; transition: opacity .2s; }
.hero-dots button.active { opacity: 1; }

/* ============================ MARCA STRIP ============================ */
.brands { background: var(--dark-page); overflow: hidden; }
.brands-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; height: 111px; position: relative; }
.brands-track { display: flex; align-items: center; overflow: hidden; flex: 1; }
.brand-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 111px; padding: 0 27px 0 34px; }
.brand-item img { max-height: 75px; width: auto; max-width: 150px; object-fit: contain; }
.brands-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 5;
}
.brands-arrow:hover { background: rgba(255,255,255,.25); }
.brands-arrow.prev { left: 14px; } .brands-arrow.next { right: 14px; }
.brands-arrow svg { width: 20px; height: 20px; }

/* ============================ TRUST STRIP ============================ */
.trust-strip {
  height: 85px; border-radius: 10px; background: var(--dark-surface);
  display: flex; margin-top: -1px; overflow: hidden;
}
.trust-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 10px; }
.trust-item img { height: 46px; width: 46px; object-fit: contain; }
.trust-item .txt { font-size: 13px; line-height: 1.35; color: #c9c9d1; text-align: left; }
.trust-item .txt span { font-weight: 700; color: #fff; display: block; }
.theme-dark .trust-item .txt strong { color: #fff; }

/* ============================ SHOWCASE (seções de produtos) ============================ */
.showcase-section { padding: 30px 0 8px; }
.showcase-title {
  font-size: 30px; font-weight: 400; line-height: 30px; letter-spacing: 0;
  color: #656565; padding: 0 30px; position: relative;
}
.theme-light-page .showcase-title { color: var(--text); }
.showcase-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--green); margin-top: 8px; border-radius: 2px; }

/* ============================ CARD DE PRODUTO ============================ */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 22px; }
/* home: geometria da seção real (h2@754, card@818 h429, pitch 459) */
.showcase-section .product-grid { gap: 30px; margin-top: 23px; }
.showcase-section .product-card { padding: 11px 11px 6px; min-height: 429px; }
.showcase-section .product-name { margin-top: 20px; line-height: 23px; min-height: 46px; }
.showcase-section .price-offer { margin-top: 10px; }
.showcase-section .price { margin-top: -2px; }
.showcase-section .installments { margin-top: 0; }
.showcase-section .card-actions { padding-top: 0; min-height: 54px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); column-gap: 30px; row-gap: 41px; }
.catalog-main .product-grid { margin-top: 10px; padding-top: 20px; }
.product-card {
  position: relative; background: #fefefe; border: 1px solid #eee; border-radius: 6px;
  display: flex; flex-direction: column; min-height: 360px; padding: 12px;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 1px 1px 16px rgba(0,0,0,.25); }
.theme-dark .product-card { background: var(--dark-surface); border-color: var(--dark-border); }
.product-media {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: visible;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-name {
  font-size: 16px; font-weight: 400; line-height: 16px; margin-top: 8px; color: #666;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px;
}
.product-name b { font-weight: 400; }
.theme-dark .product-name { color: #e8e8ec; }
.price-offer { text-align: center; font-size: 14px; color: #999; text-decoration: line-through; margin-top: 6px; }
.theme-dark .price-offer { color: #9f9f9f; }
.price { text-align: center; font-size: 24px; font-weight: 800; color: var(--green-price); margin-top: 2px; line-height: 1.1; }
.installments { text-align: center; font-size: 13px; color: #999; margin-top: 4px; line-height: 1.3; }
.theme-dark .installments { color: #c9c9d1; }
.card-actions { margin-top: auto; padding-top: 12px; min-height: 56px; }
.btn-buy {
  width: 100%; height: 42px; background: var(--green-buy); color: #fff; border-radius: 5px;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, opacity .2s;
  text-decoration: none; cursor: pointer;
}
a.btn-buy { color: #fff; }
.btn-buy:hover { background: #219a20; }
.btn-buy svg { width: 20px; height: 18px; }

/* botão Compre pelo WhatsApp — página de produto, abaixo do Comprar */
/* botão de compra via WhatsApp (produto + carrinho) */
.btn-wa, .btn-wa-buy {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; border-radius: 4px;
  background: #25d366; color: #fff; font-size: 16px; font-weight: 700;
  text-decoration: none; letter-spacing: .3px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, .35);
  transition: background .15s, transform .15s;
}
.btn-wa:hover, .btn-wa-buy:hover { background: #1fbf5b; color: #fff; }
.btn-wa:active, .btn-wa-buy:active { transform: scale(.98); }
.btn-wa svg, .btn-wa-buy svg { width: 26px; height: 26px; fill: #fff; }
.btn-comprar.btn-wa-buy { background: #25d366; text-decoration: none; }
.btn-comprar.btn-wa-buy:hover { background: #1fbf5b; }
/* badges */
.discount-badge {
  position: absolute; top: -7px; left: -17px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--green); color: var(--dark-surface); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; z-index: 3;
}

/* tema claro (catálogo/produto): cards retos, imagem 173px centralizada */
.theme-light .product-card { border-radius: 0; }
.theme-light .product-card:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.theme-light .product-card .product-media { width: 173px; height: 173px; aspect-ratio: auto; margin: 0 auto; }

/* ============================ BANNERS MÉDIOS ============================ */
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 34px 0 10px; }
.promo-banner {
  position: relative; height: 218px; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; background: #10131a;
}
.promo-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.promo-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,10,16,.88) 0%, rgba(8,10,16,.62) 45%, rgba(8,10,16,.18) 100%);
}
.promo-text { position: relative; z-index: 2; padding: 0 36px; max-width: 62%; }
.promo-text h3 { color: #fff; font-size: 27px; font-weight: 800; line-height: 1.15; }
.promo-text h3 em { font-style: normal; color: #fff; }
.promo-text p { color: #cfd3dc; font-size: 14px; margin-top: 8px; }
.promo-btn {
  display: inline-block; margin-top: 16px; padding: 12px 24px; border-radius: 4px;
  color: #fff; font-size: 14px; font-weight: 700; transition: filter .15s;
}
.promo-btn:hover { filter: brightness(1.15); }
.promo-btn.vinho { background: #7e1f3d; }
.promo-btn.navy { background: #1f3a7e; }

/* ============================ BUSQUE POR CATEGORIAS ============================ */
.cat-section { padding: 30px 0 40px; }
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 22px; padding: 0 30px; }
.cat-tile {
  background: #fff; border-radius: 8px; padding: 22px 12px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: 1px solid transparent; transition: border-color .15s, box-shadow .15s;
}
.cat-tile:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cat-tile img { width: 92px; height: 92px; object-fit: contain; }
.cat-tile h3 { font-size: 14px; font-weight: 700; color: #656565; line-height: 1.3; }

/* ============================ FOOTER ============================ */
footer.footer { background: var(--dark-surface); }
.categories-footer { padding: 42px 0 18px; }
.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 22px; }
.categories-footer-card-title a { color: #86bc40; font-size: 16px; font-weight: 400; }
.categories-footer-card-title a:hover { color: #a5d45c; }
.categories-footer-list li h3 a { color: #fff; font-size: 14px; font-weight: 400; line-height: 1.9; display: block; }
.categories-footer-list li h3 a:hover { color: #a5d45c; }
.subcategory-dropdown { display: none; }
.categories-footer-list li.see-more-item.open .subcategory-dropdown { display: block; }
.subcategory-dropdown li h4 a { color: #b9b9c0; font-size: 13px; line-height: 1.8; display: block; font-weight: 400; }
.subcategory-dropdown li h4 a:hover { color: #a5d45c; }
.see-more-toggle {
  display: inline-block; margin-top: 4px; color: #8b8b93; font-size: 12.5px; cursor: pointer;
}
.see-more-toggle:hover { color: #a5d45c; }

.newsletter {
  padding: 30px 0;
  background: url('../img/newsletter-background.png') center/cover no-repeat, #22301c;
  position: relative;
}
.newsletter .container { display: flex; align-items: center; gap: 40px; }
.newsletter .nl-icon { flex-shrink: 0; }
.newsletter .nl-icon img { width: 65px; height: 65px; }
.newsletter .nl-txt { color: #fff; font-size: 18px; line-height: 1.3; }
.newsletter .nl-txt strong { display: block; font-size: 36px; font-weight: 700; margin-bottom: 6px; }
.newsletter form { flex: 1; display: flex; margin-left: auto; max-width: 560px; }
.newsletter input[type=text] {
  flex: 1; height: 50px; border: 1px solid rgba(255,255,255,.28); border-right: 0;
  border-radius: 5px 0 0 5px; background: rgba(255,255,255,.12); color: #fff;
  padding: 0 16px; font-size: 14px; outline: none;
}
.newsletter input[type=text]::placeholder { color: rgba(255,255,255,.65); }
.newsletter input[name=name] { display: none; }
.newsletter button {
  width: 50px; height: 50px; border-radius: 0 5px 5px 0; background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.newsletter button svg { width: 22px; height: 22px; fill: var(--green); }

.foo-logo {
  padding: 38px 0; background: var(--dark-page); border-top: 3px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.foo-logo .left img { max-width: 178px; width: 100%; height: auto; }
.foo-logo .right img { height: 64px; width: auto; }

.foo-content { padding: 34px 0 26px; background: var(--dark-surface); }
.foo-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foo-cols h4 {
  font-size: 16px; font-weight: 700;
  color: #86bc40; margin-bottom: 14px;
}
.foo-cols a, .foo-cols p, .foo-cols li { color: #fff; font-size: 14px; line-height: 1.75; }
.foo-cols ul.contact li { margin-bottom: 4px; }
.foo-cols ul.contact a:hover { color: #a5d45c; }
.footer-phone-icon { display: inline-flex; vertical-align: -2px; margin-right: 7px; }
.footer-phone-icon svg { width: 15px; height: 15px; fill: #86bc40; }
.foo-cols ul.links-list li a { display: block; }
.foo-cols ul.links-list li a:hover { color: #a5d45c; }
.foo-cols ul.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.foo-cols ul.payments li {
  width: 95px; height: 50px; background: #f5f5f5; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.foo-cols ul.payments li img { height: 32px; width: 40px; object-fit: contain; }

.foo-copyright { background: #fff; padding: 26px 40px; text-align: center; }
.foo-copyright p { font-size: 13px; font-weight: 700; color: #656565; line-height: 1.6; }

/* ============================ COOKIES ============================ */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff;
  box-shadow: 0 -2px 14px rgba(0,0,0,.14); padding: 13px 40px;
  display: flex; align-items: center; gap: 30px; justify-content: space-between;
}
.cookie-bar.hidden { display: none; }
.cb-text { max-width: 830px; }
.cb-text b { font-size: 15px; color: #222; display: block; margin-bottom: 2px; }
.cb-text p { font-size: 13px; color: #555; line-height: 1.5; }
.cb-text a { text-decoration: underline; }
.cb-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cb-btn {
  background: var(--cookie-blue); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 4px; padding: 9px 15px; transition: filter .15s;
}
.cb-btn:hover { filter: brightness(1.1); }
.cb-settings { display: flex; align-items: center; gap: 6px; color: #333; font-size: 13px; }
.cb-settings svg { width: 18px; height: 18px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 895;
  height: 52px; padding: 0 20px 0 16px; border-radius: 30px; background: var(--wa);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 5px 16px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0,0,0,.42); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; flex-shrink: 0; }
.wa-label {
  color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* toast */
.toast {
  position: fixed; bottom: 112px; left: 50%; transform: translate(-50%, 16px);
  background: #222; color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 1200; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ MODAL "FIQUE ATENTO" ============================ */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(81,81,81,.5); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.popup-overlay.visible { display: flex; }
.popup-content {
  background: #fff; max-width: 700px; width: 92%; border-radius: 25px;
  padding: 34px 34px 32px; position: relative; max-height: 92vh; overflow-y: auto;
}
.popup-close { position: absolute; top: 16px; right: 20px; color: #979797; }
.popup-close svg { width: 22px; height: 22px; }
.popup-top { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 16px; }
.popup-top .sep { width: 1px; height: 46px; background: #222; }
.popup-top .porto-grp { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.popup-top .porto-grp small { font-size: 9px; font-weight: 700; color: #999; letter-spacing: 1px; }
.popup-top .porto-grp img { height: 34px; width: auto; }
.popup-images img.renova-pop { height: 56px; width: auto; }
.warning-wrap { width: 132px; height: 132px; margin: 0 auto 8px; background: #f2f1fa; border-radius: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(74,58,255,.07); }
.warning-wrap img { max-width: 118px; max-height: 118px; }
.popup-title { color: var(--green-modal); font-size: 36px; line-height: 46px; font-weight: 700; text-align: center; margin: 4px 0 14px; }
.popup-itens p { color: #6f6c90; font-size: 14.5px; line-height: 1.5; text-align: justify; letter-spacing: .3px; word-spacing: 2px; margin-bottom: 10px; }
.popup-itens p.p-bold { color: #605d7b; font-weight: 700; }
button.close-overlay {
  width: 100%; margin-top: 22px; height: 47px; border-radius: 50px; background: var(--green-modal);
  color: #fff; font-size: 17px; font-weight: 700; transition: filter .15s;
}
button.close-overlay:hover { filter: brightness(1.08); }

/* ============================ CATÁLOGO ============================ */
.page-main { padding-bottom: 60px; }
.breadcrumb { font-size: 16px; line-height: 20px; color: #656565; padding: 15px 0 0; }
.breadcrumb a { color: #656565; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { margin: 0 7px; color: #bbb; }
.breadcrumb .current { color: var(--text); }
h1.catalog-name { font-size: 25px; font-weight: 700; color: #3d4445; line-height: 50px; padding: 0; }
#main-catalog .container { margin-top: 10px; }
.catalog-layout { display: flex; gap: 18px; align-items: flex-start; margin-top: 10px; }
.sidebar { width: 278px; flex-shrink: 0; margin-left: 30px; }
.filter-box { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; padding: 0 20px; }
.filter-row {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 0;
  border-bottom: 1px solid #ececec; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer;
}
.filter-row:last-child { border-bottom: 0; }
.filter-row .chev { transition: transform .2s; display: flex; }
.filter-row .chev svg { width: 15px; height: 15px; }
.filter-row.open .chev { transform: rotate(180deg); }
.filter-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.filter-panel-inner { padding: 4px 0 16px; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--text-sec); cursor: pointer; }
.check-row input { accent-color: var(--green); width: 15px; height: 15px; cursor: pointer; }
.check-row .cnt { margin-left: auto; color: #aaa; font-size: 12.5px; }
.check-cols { columns: 2; column-gap: 18px; }
.range-row { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 14px; color: var(--text-sec); }
.range-row input { accent-color: var(--green); }
.catalog-main { flex: 1; min-width: 0; }
.toolbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 36px; flex-wrap: wrap;
  padding: 10px; margin-bottom: 10px;
  font-size: 14px; color: var(--text);
}
.toolbar label { font-weight: 600; }
.toolbar select {
  margin-left: 10px; margin-top: 3px; height: 38px; box-sizing: border-box;
  border: 1px solid #ccc; border-radius: 4px; background: #fff;
  padding: 0 10px; font-size: 14px; color: var(--text); outline: none; cursor: pointer;
}
.pagination { margin-top: 26px; }
.search-counter { font-size: 14px; color: var(--text-sec); }
.paginate-links { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.paginate-links .page-link, .paginate-links .page-current {
  min-width: 37px; height: 37px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: var(--text); padding: 0 6px;
}
.paginate-links .page-link:hover { border-color: var(--green); color: var(--green); }
.paginate-links .page-current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.paginate-links .dots { border: 0; color: #999; }

/* ============================ PRODUTO ============================ */
.product-detail { display: flex; gap: 42px; padding: 15px 0 30px; align-items: flex-start; }
.gallery { width: 575px; flex-shrink: 0; }
.gallery-main { position: relative; background: #fff; }
.gallery-main > img { width: 100%; max-height: 575px; object-fit: contain; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; aspect-ratio: 4 / 3.1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden;
}
.thumb:hover { border-color: #bbb; }
.thumb.active { border: 2px solid var(--green); }
.thumb img { max-width: 92%; max-height: 92%; object-fit: contain; }
.p-info { flex: 1; min-width: 0; }
.p-head { display: flex; align-items: flex-start; gap: 16px; }
.p-info h1 { flex: 1; font-size: 21px; line-height: 23px; margin-bottom: 15px; font-weight: 400; color: var(--text); }
.p-info h1 b { font-weight: 700; }
.p-icons { display: flex; gap: 16px; padding-top: 5px; }
.p-icons button { color: var(--green); display: flex; }
.p-icons button:hover { filter: brightness(.85); }
.p-icons svg { width: 25px; height: 25px; }
.saving { margin-top: 15px; font-size: 14px; color: #777; }
.saving b { color: var(--green); font-weight: 700; }
.old-price { margin-top: 5px; font-size: 16px; color: #999; }
.old-price s { text-decoration: line-through; }
.big-price { margin-top: 3px; display: flex; align-items: baseline; gap: 10px; }
.big-price .v { font-size: 38px; font-weight: 800; color: var(--green); line-height: 1.1; }
.big-price .vista { font-size: 13px; color: #999; }
.p-installments { margin-top: 6px; font-size: 15px; color: #777; }
.p-installments b { color: var(--text); }
.buy-row { margin-top: 22px; display: flex; gap: 14px; align-items: center; }
.qty {
  width: 72px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #ccc; border-radius: 4px; height: 49px; padding: 0 8px 0 16px;
}
#qty-val { font-size: 16px; }
.qty-arrows { display: flex; flex-direction: column; gap: 3px; }
.qty-arrows button { display: flex; color: var(--green); }
.qty-arrows svg { width: 12px; height: 7px; fill: var(--green); }
.btn-comprar {
  flex: 0 1 245px; height: 60px; background: var(--green-buy-page); color: #fff; border-radius: 4px;
  font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background .15s;
}
.btn-comprar:hover { background: #74a82f; }
.btn-comprar svg { width: 24px; height: 22px; }
.show-desc {
  display: inline-block; margin-top: 16px; color: var(--green); font-size: 14px;
  font-weight: 600; text-decoration: underline; cursor: pointer;
}
.frete-box { margin-top: 22px; border: 1px solid #e3e3e3; border-radius: 8px; padding: 16px 18px 18px; max-width: 560px; }
.frete-title { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--text); }
.frete-title svg { width: 22px; height: 22px; fill: var(--green); }
.frete-sub { font-size: 13px; font-weight: 700; color: #3d4445; margin: 10px 0 6px; }
.frete-form label { font-size: 13.5px; color: #3d4445; font-weight: 700; margin-right: 4px; }
.frete-form .nao-sei { color: #1e62c8; font-size: 12.5px; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.frete-form { margin-top: 12px; display: flex; gap: 10px; align-items: center; }
.frete-form input {
  flex: 1; height: 42px; border: 1px solid #ccc; border-radius: 4px; padding: 0 13px; font-size: 14px; outline: none;
  letter-spacing: 1.5px;
}
.frete-form input:focus { border-color: var(--green); }
.frete-form button {
  height: 42px; padding: 0 18px; background: var(--green-buy-page); color: #fff; border-radius: 4px;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.frete-form button:hover { background: #74a82f; }
.nao-sei { display: inline-block; font-size: 13px; color: #999; cursor: pointer; white-space: nowrap; }
.nao-sei:hover { color: var(--green); text-decoration: underline; }
/* resultado do simulador de frete (estilo do real) */
.frete-err { color: #c0392b; font-size: 13.5px; margin: 10px 0 0; }
.frete-para { font-size: 14.5px; color: #3d4445; margin: 0 0 8px; }
.shipping-result { position: relative; margin-top: 12px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; padding: 14px 14px 8px; }
.shipping-result .btn-close {
  position: absolute; top: 6px; right: 8px; background: none; border: none; color: #999;
  font-size: 16px; cursor: pointer; line-height: 1; padding: 4px 6px;
}
.shipping-result .btn-close:hover { color: #c0392b; }
.shipping-result table { width: 100%; border-collapse: collapse; }
.shipping-result th {
  text-align: left; font-size: 12.5px; color: #777; font-weight: 700;
  padding: 6px 8px; border-bottom: 1px solid #e3e3e3;
}
.shipping-result td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.shipping-result tr:last-child td { border-bottom: 0; }
.shipping-result .f-ico { width: 56px; text-align: center; }
.shipping-result .f-ico img { width: 44px; height: auto; max-height: 30px; object-fit: contain; }
.shipping-result .f-nome { font-size: 13.5px; color: #3d4445; white-space: nowrap; }
.shipping-result .f-val { text-align: center; font-size: 13.5px; color: var(--green); }
.shipping-result .f-prazo { font-size: 12.5px; color: #777; line-height: 1.5; }
@media (max-width: 760px) {
  .shipping-result { padding: 12px 10px 6px; }
  .shipping-result .f-nome { white-space: normal; }
}
.frete-result { margin-top: 10px; font-size: 14px; color: var(--text); }
.frete-result b { color: var(--green); }

/* relacionados */
.related { padding: 24px 0 8px; }
.related h3 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 18px; }
.related-viewport { position: relative; }
.related-scroll {
  display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px;
}
.related-scroll::-webkit-scrollbar { display: none; }
.mini-card {
  flex: 0 0 216px; background: #fefefe; border: 1px solid #eee; border-radius: 6px; padding: 10px;
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.mini-card:hover { box-shadow: 1px 1px 14px rgba(0,0,0,.2); }
.mini-media { height: 148px; display: flex; align-items: center; justify-content: center; }
.mini-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-name {
  font-size: 14px; line-height: 1.3; margin-top: 10px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px;
}
.mini-name b { font-weight: 700; }
.mini-price { font-size: 22px; font-weight: 800; color: var(--green); margin-top: 6px; line-height: 1.1; }
.mini-inst { font-size: 12.5px; color: #999; margin-top: 3px; line-height: 1.25; }
.mini-card .btn-buy { margin-top: auto; }
.mini-card .card-actions { padding-top: 10px; }
.rel-arrow {
  position: absolute; top: 45%; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.08); color: #555; display: flex; align-items: center; justify-content: center; z-index: 4;
}
.rel-arrow:hover { background: rgba(0,0,0,.16); }
.rel-arrow.prev { left: -8px; } .rel-arrow.next { right: -8px; }
.rel-arrow svg { width: 20px; height: 20px; }

/* tabs */
.tabs-bar { display: flex; gap: 10px; margin: 26px 0 -1px; padding-left: 8px; position: relative; z-index: 2; flex-wrap: wrap; }
.tabs-bar a {
  background: #fff; border: 1px solid #ddd; border-bottom-color: #ddd; border-radius: 6px 6px 0 0;
  padding: 12px 20px; font-size: 14.5px; font-weight: 600; color: #93bf5e; cursor: pointer;
}
.tabs-bar a.active { color: #5c9a2b; border-bottom-color: #fff; position: relative; }
.tab-panel {
  border: 1px solid #ddd; border-radius: 0 8px 8px 8px; background: #fff;
  padding: 30px 34px; min-height: 320px; display: none;
}
.tab-panel.active { display: block; }
.prodBox h3.box-title { font-size: 18px; font-weight: 800; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.spec-line { display: flex; padding: 5px 0; font-size: 14.5px; border-bottom: 1px dashed #eee; }
.spec-line .k { width: 220px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.spec-line .val { color: var(--text-sec); }
.prodBox p.body { font-size: 14.5px; color: var(--text-sec); line-height: 1.7; margin: 12px 0; }
.prodBox h4.sub { font-size: 16px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.checklist li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text-sec); line-height: 1.8; }
.checklist li b { color: var(--text); }
.checklist li::before {
  content: '✓'; position: absolute; left: 2px; top: 0; width: 19px; height: 19px; border-radius: 4px;
  background: #2f6fd0; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.attention li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-sec); line-height: 1.8; }
.attention li::before { content: '●'; position: absolute; left: 2px; color: #b02020; font-size: 11px; top: 2px; }
.pay-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-icons span { width: 95px; height: 50px; background: #f5f5f5; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.pay-icons img { height: 30px; width: auto; }
.no-reviews { color: #999; font-size: 14.5px; padding: 14px 0; }

/* ============================ RESPONSIVO ============================ */
/* ============================ PÁGINAS DE CONTEÚDO ============================ */
.page-static .page-content { margin: 0 15px; padding-top: 15px; min-height: 260px; }
.board_htm { font-size: 16px; color: #333; }
.board_htm .title-extra { font-size: 30px; font-weight: 400; color: #7eb536; margin: 5px 0 30px; line-height: 30px; }
.board_htm p { font-size: 15px; line-height: 1.55; color: #5a5a5a; margin: 8px 0 0; }
.board_htm b, .board_htm strong { font-weight: 700; }

.company-info { display: flex; gap: 25px; flex-wrap: wrap; padding: 10px 0; }
.company-details { flex: 1 1 420px; min-width: 300px; }
.company-details h1 { font-size: 32px; font-weight: 700; color: #333; margin: 0 0 25px; line-height: 1.2; }
.company-list { list-style: none; margin: 0; padding: 0; }
.company-list li { margin-bottom: 20px; }
.company-list h2 { font-size: 16px; font-weight: 700; color: #333; margin: 0 0 5px; }
.company-list address { font-style: normal; }
.company-list p { font-size: 16px; line-height: 1.45; color: #333; margin: 0; }
.company-list a { color: #7eb536; text-decoration: none; }
.company-list a:hover { text-decoration: underline; }
.company-map { flex: 1 1 420px; min-width: 300px; }
.company-map iframe { width: 100%; height: 302px; border: 0; display: block; }

/* ============================ CADASTRO ============================ */
.cad-wrap { max-width: 1140px; padding: 30px 0 70px; }
.cad-h1 { font-size: 26px; font-weight: 400; color: #3d4445; line-height: 26px; margin: 0; }
.sr-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cad-tabs { margin-top: 46px; }
.cad-tabs ul { display: flex; margin: 0; padding: 0; list-style: none; width: fit-content; }
.cad-tabs li { line-height: 0; }
.cad-tabs a { display: block; box-sizing: border-box; height: 37px; line-height: 35px; text-align: center; border: 1px solid #eee; background: #fff; color: #3d4445; font-size: 16px; text-decoration: none; white-space: nowrap; }
.cad-tabs li:first-child a { width: 156px; }
.cad-tabs li:last-child a { width: 166px; }
.cad-tabs li.aberta a { background: #9e9e9e; color: #fff; }
.cad-tabs li:not(.aberta) a { font-size: 15px; }
.cad-sec h2 { font-size: 24px; line-height: 24px; font-weight: 400; color: #3d4445; margin: 60px 0 10px; }
.cad-sec h2 + .cf { margin-top: 25px; }
.cf { margin-top: 15px; }
.cf label { display: block; font-size: 14px; font-weight: 400; color: #666; margin-bottom: 0; line-height: 20px; }
.cf label .o { color: #d9534f; }
.cf .hint { margin-left: 0; font-size: 14px; color: #666; white-space: nowrap; }
.cf input[type=text], .cf input[type=email], .cf input[type=tel], .cf input[type=password] {
  box-sizing: border-box; width: 100%; height: 34px; border: 2px inset rgb(118, 118, 118); border-radius: 0;
  background: #fff; font-size: 17px; font-family: inherit; color: #666; padding: 6px; margin-top: 3px;
}
.cf input:focus { outline: none; border-color: #7eb536; }
.cf.c-w-sm > input { width: 109px; }
.cf.c-w-tel > input { width: 142px; }
.cf.c-w-em > input { width: 359px; }
.cf.c-w-ie > input { width: 276px; }
.cf.c-w-md > input { width: 192px; }
.cf.c-w-lg > input { width: 299px; }
.cf.c-w-full > input { width: 443px; }
.inp-row { display: flex; align-items: center; }
.cf.c-w-md .inp-row input { width: 192px; }
.cf.c-w-tel .inp-row input { width: 142px; }
.inp-row .opcional { margin-left: 0; font-size: 14px; color: #666; white-space: nowrap; }
.cad-policy { font-size: 17px; line-height: 1; color: #666; margin: 20px 0 0; white-space: nowrap; }
.cad-policy a { color: rgb(0, 70, 255); text-decoration: none; }
.cad-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; font-size: 14px; font-weight: 400; color: #666; line-height: 20px; cursor: pointer; max-width: 800px; }
.cad-check input { width: 13px; height: 13px; margin: 4px 0 0; flex: none; }
.cad-btn-row { display: flex; justify-content: flex-end; align-items: center; margin-top: 30px; padding-right: 0; }
.btn-avancar { width: 200px; height: 57px; background: #3d4445; color: #fff; font-size: 20px; font-family: inherit; font-weight: 400; letter-spacing: normal; border: 0; border-radius: 0; text-transform: uppercase; cursor: pointer; }
.btn-avancar:hover { background: #565f60; }
.btn-avancar:disabled { opacity: .5; cursor: default; }

/* ============================ FAQ CATALOGO ============================ */
.faq-container { margin-top: 40px; }
.faq-header h2 { font-size: 24px; line-height: 33px; margin-top: 40px; color: #000; font-weight: 400; }
.faq-item { border-bottom: 1px solid #d9d9d9; padding: 10px 0; }
.faq-item.active { padding-bottom: 15px; }
.faq-question { width: 100%; padding: 10px 0; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; text-align: left; font-size: 16px; font-weight: 700; color: #000 !important; margin-bottom: 0; font-family: inherit; }
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .35s ease; }
.faq-item.active .faq-answer { opacity: 1; max-height: 1200px; }
.faq-answer { padding: 0 0 15px; font-size: 14px; color: #434343; line-height: 1.5; }
.faq-answer br { display: block; content: ""; }

/* ============================ DESCRIÇÃO SEO CATEGORIA ============================ */
.content-description { margin-bottom: 40px; }
.box-description { margin: 20px 0; max-height: 140px; overflow: hidden; position: relative; transition: max-height .4s ease; -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%); mask-image: linear-gradient(to bottom, black 30%, transparent 95%); }
.box-description.expanded { max-height: 1000px; -webkit-mask-image: none; mask-image: none; }
.box-description div * { margin-bottom: 10px; font-size: 14px; color: #777; line-height: 1.4em; }
.seemore { background-color: transparent; border: none; outline: none; display: inline-block; color: #0094ff; text-decoration: underline; font-size: 14px; line-height: 20px; cursor: pointer; padding: 0; margin-top: 10px; font-family: inherit; }

/* paginação: next/last */
.paginate-links .page-next a, .paginate-links .page-last a { text-decoration: none; }
.paginate-links .page-link:hover a { color: var(--green); }

/* ============================ E-COMMERCE: LOGIN / CONTA / CARRINHO / CHECKOUT ============================ */
/* badge de itens no carrinho do header */
.cart-count {
  position: absolute; top: 12px; right: 8px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 10px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-count.empty { background: #9a9a9a; }
.link-cart > a { position: relative; }

/* estrutura comum (padrão cadastro) */
.auth-main { padding: 30px 0 70px; }
.auth-wrap { max-width: 1140px; }
.auth-h1, .cart-h1 { font-size: 26px; font-weight: 400; color: #3d4445; margin: 0 0 24px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.auth-form, .auth-side { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 28px 30px; }
.auth-form h2, .auth-side h2 { font-size: 22px; font-weight: 400; color: #3d4445; margin: 0 0 18px; }
.auth-form label, .co-addr label, .co-login label, .rec-pass label {
  display: block; font-size: 14px; color: #555; margin-bottom: 14px;
}
.auth-form input, .co-addr input, .co-login input, .rec-pass input {
  display: block; width: 100%; height: 42px; margin-top: 6px; padding: 0 12px;
  border: 1px solid #d7d7d7; border-radius: 5px; font-size: 14px; color: #333; outline: none;
  background: #fff;
}
.auth-form input:focus, .co-addr input:focus, .co-login input:focus { border-color: var(--green); }
.auth-form .btn-comprar { width: 100%; margin-top: 6px; }
.auth-alt { margin: 14px 0 0; font-size: 13px; color: #999; }
.auth-side p { font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px;
  border: 2px solid var(--green); border-radius: 6px; background: #fff; color: var(--green);
  font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: all .15s;
}
.btn-ghost:hover { background: var(--green); color: #fff; }
.rec-pass { margin-top: 26px; padding-top: 20px; border-top: 1px dashed #e2e2e2; }
.rec-pass h3 { font-size: 15px; font-weight: 700; color: #3d4445; margin: 0 0 12px; }
.btn-link { background: none; border: none; color: var(--green); font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }

/* minha conta */
.acc-hello { font-size: 18px; color: #3d4445; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.acc-hello span { color: #888; font-size: 14px; }
.acc-logout { margin-left: auto; font-size: 13px; color: #c0392b; text-decoration: underline; }
.acc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.acc-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 24px 26px; }
.acc-card h3 { font-size: 17px; font-weight: 700; color: #3d4445; margin: 0 0 16px; }
.acc-data dl { margin: 0; }
.acc-data dt { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: .4px; margin-top: 12px; }
.acc-data dd { margin: 2px 0 0; font-size: 14px; color: #333; }
.acc-data .muted, .muted { color: #999; font-size: 13px; }
.acc-link { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--green); font-weight: 600; text-decoration: underline; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #999; padding: 8px 10px; border-bottom: 2px solid #eee; }
.acc-table td { padding: 12px 10px; border-bottom: 1px solid #f2f2f2; color: #333; }
.acc-table a { color: var(--green); font-weight: 600; }
.empty-cell { text-align: center; color: #999; padding: 30px 10px !important; }
.st { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.st-pg { background: #fff4d6; color: #9a6b00; }
.st-ok { background: #e4f7d6; color: #2e7d1a; }

/* carrinho */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #999; padding: 14px 12px; background: #fafafa; border-bottom: 1px solid #eee; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid #f2f2f2; vertical-align: middle; }
.c-img img { width: 84px; height: 84px; object-fit: contain; background: #fff; border: 1px solid #f0f0f0; border-radius: 6px; }
.c-name a { font-size: 15px; color: #3d4445; font-weight: 600; text-decoration: none; }
.c-name a:hover { color: var(--green); }
.c-ref { display: block; font-size: 12px; color: #999; margin-top: 4px; }
.c-unit { font-size: 14px; color: #777; white-space: nowrap; }
.c-sub b { color: var(--green); font-size: 16px; }
.c-qty { white-space: nowrap; }
.c-qty button {
  width: 30px; height: 30px; border: 1px solid #d7d7d7; background: #fff; border-radius: 5px;
  font-size: 16px; color: #555; cursor: pointer; vertical-align: middle;
}
.c-qty button:hover { border-color: var(--green); color: var(--green); }
.c-qty span { display: inline-block; min-width: 34px; text-align: center; font-size: 15px; font-weight: 700; color: #333; }
.c-rm button { background: none; border: none; color: #bbb; cursor: pointer; padding: 6px; }
.c-rm button:hover { color: #c0392b; }
.c-rm svg { width: 16px; height: 16px; }
.cart-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 24px; }
.keep-buy { font-size: 14px; color: #777; text-decoration: underline; }
.cart-sum { width: 360px; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 22px 24px; }
.cart-sum .sum-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #666; }
.cart-sum .sum-line.total { border-top: 2px solid #eee; margin-top: 8px; padding-top: 14px; font-size: 17px; color: #3d4445; }
.cart-sum .sum-line.total b { color: var(--green); font-size: 22px; }
.cart-sum .btn-comprar { width: 100%; margin-top: 14px; }
.cart-empty { text-align: center; padding: 80px 20px; background: #fff; border: 1px solid #eee; border-radius: 8px; }
.cart-empty svg { width: 72px; height: 64px; opacity: .35; margin-bottom: 18px; }
.cart-empty h1 { font-size: 24px; font-weight: 400; color: #3d4445; margin: 0 0 10px; }
.cart-empty p { font-size: 14px; color: #999; margin: 0 0 24px; }
.cart-empty .btn-comprar { display: inline-flex; padding: 14px 34px; }

/* checkout */
.co-steps { display: flex; gap: 6px; margin-bottom: 24px; }
.co-steps span {
  flex: 1; text-align: center; padding: 12px 0; font-size: 14px; font-weight: 600; color: #999;
  background: #f4f4f4; border-radius: 6px;
}
.co-steps span.on { background: var(--green); color: #fff; }
.co-body { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.co-main, .co-sum { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 26px 28px; }
.co-login p { font-size: 15px; color: #444; }
.co-login form { border: 1px solid #f0f0f0; border-radius: 8px; padding: 20px 22px; margin-top: 16px; }
.co-login h3, .co-addr h3, .co-pay h3, .co-sum h3 { font-size: 17px; font-weight: 700; color: #3d4445; margin: 0 0 14px; }
.co-login label input { max-width: 380px; }
.co-alt { font-size: 13px; color: #999; margin: 12px 0 0; }
.co-alt a { color: var(--green); text-decoration: underline; }
.co-cep { display: flex; gap: 10px; align-items: flex-end; }
.co-cep label { flex: 0 0 220px; margin-bottom: 0; }
.co-addr .co-row2 { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.co-addr .co-row2 label:last-child { }
.co-ship { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ship-opt, .pay-opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e2e2e2;
  border-radius: 6px; cursor: pointer; transition: border-color .15s, background .15s;
}
.ship-opt:hover, .pay-opt:hover { border-color: var(--green); }
.ship-opt input, .pay-opt input { accent-color: var(--green); width: 17px; height: 17px; }
.ship-opt .n, .pay-opt .n { flex: 1; font-size: 15px; color: #333; }
.ship-opt .n em, .pay-opt .n em { font-style: normal; color: #999; font-size: 13px; }
.ship-opt .v, .pay-opt .v { font-size: 15px; color: #555; }
.pay-opt .v b { color: var(--green); }
.co-nav { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.co-nav .back { font-size: 13px; color: #999; text-decoration: underline; }
.co-sum .sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: #666; }
.co-sum .sum-line.total { border-top: 2px solid #eee; margin-top: 8px; padding-top: 14px; font-size: 16px; color: #3d4445; }
.co-sum .sum-line.total b { color: var(--green); font-size: 20px; }
.co-done { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid #eee; border-radius: 8px; }
.co-done svg { width: 84px; height: 84px; margin-bottom: 16px; }
.co-done h1 { font-size: 26px; font-weight: 400; color: #3d4445; margin: 0 0 12px; }
.co-done p { font-size: 15px; color: #555; margin: 0 0 6px; }
.co-done-nav { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }

@media (max-width: 900px) {
  .auth-grid, .acc-grid, .co-body { grid-template-columns: 1fr; }
  .cart-foot { flex-direction: column; }
  .cart-sum { width: 100%; }
}

/* inputs ≥16px em toque: evita o zoom automático do iOS Safari */
@media (pointer: coarse) {
  input, textarea, select { font-size: 16px; }
  .cf input[type=text], .cf input[type=email], .cf input[type=tel], .cf input[type=password] { font-size: 16px; }
}

/* ============================ RESPONSIVO (fim do arquivo: overrides mobile) ============================ */
/* baseline mobile: sem flash de tap, sem zoom em input, toque imediato */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
button, a, [role=button], .btn-comprar, .btn-buy, .btn-ghost, .btn-avancar, .level1-link, .see-more-toggle {
  touch-action: manipulation;
}
button, [role=button], .tabs-bar a, .cad-tabs a { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.btn-comprar:active, .btn-buy:active, .btn-ghost:active, .btn-avancar:active, .link-cart > a:active { transform: scale(.97); }
/* em telas sem hover, desliga efeitos de hover que ficam presos após o tap */
@media (hover: none) {
  .product-card:hover { transform: none; box-shadow: none; }
  .btn-comprar:hover, .btn-ghost:hover { background: var(--green-buy); color: #fff; }
  .btn-buy:hover { background: var(--green-buy); }
}

@media (max-width: 1100px) {
  .links-menu { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .product-detail { flex-direction: column; }
  .gallery { width: 100%; }
  .catalog-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .foo-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* ---------- HEADER: empilha logo/ícones + busca full-width ---------- */
  .top-inner { flex-wrap: wrap; padding: 8px 12px; row-gap: 8px; }
  .logo { flex: 1; }
  .logo img { height: 38px; }
  .top-links { margin-left: auto; }
  .header-favorites-btn, .link-central { padding: 0 10px; gap: 1px; }
  .header-favorites-btn span { font-size: 11px; }
  .header-favorites-btn svg { width: 20px; height: 20px; }
  .link-central img { width: 22px; height: 22px; }
  .link-cart > a { padding: 0 12px; font-size: 12px; gap: 6px; }
  .link-cart img { width: 20px; height: 18px; }
  .cart-count { top: 6px; right: 2px; min-width: 15px; height: 15px; font-size: 10px; }
  .favorite-counter { top: 8px; left: 14px; min-width: 14px; height: 14px; font-size: 9px; }
  #topo .bottom { padding: 0; }
  .bottom-inner { flex-direction: column; padding: 0 12px 10px; gap: 8px; }
  .all-departments { width: 100%; height: 46px; font-size: 14px; }
  .search { margin-left: 0; max-width: 100%; }
  .search-key { height: 44px; }

  /* ---------- MENU STRIP: swipe horizontal ---------- */
  #menu-strip .menu-list { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #menu-strip .menu-list::-webkit-scrollbar { display: none; }
  .menu-list > li { flex: 0 0 auto; width: 88px; }
  .level1-link { height: 62px; gap: 3px; }
  .level1-link h2 { font-size: 10px; padding: 0 2px; }
  .level1-link img { width: 26px; height: 26px; }
  .menu-list > li:nth-child(n+5) .level2 { right: auto; left: 0; }
  /* no toque os dropdowns por hover não abrem e sua largura absoluta estoura a página */
  #menu-strip .level2 { display: none; }

  /* ---------- HOME ---------- */
  .hero { height: 200px; }
  .showcase-title { font-size: 22px; line-height: 26px; padding: 0 4px; }
  .showcase-section .product-grid { gap: 14px; margin-top: 14px; }
  .showcase-section .product-card { min-height: 0; padding: 8px 8px 6px; }
  .showcase-section .product-name { margin-top: 8px; line-height: 18px; min-height: 36px; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 0; }
  .card-actions { min-height: 0; }
  .btn-buy { height: 40px; font-size: 13px; }
  .promo-row { grid-template-columns: 1fr; gap: 14px; margin: 20px 0 10px; }
  .promo-banner { height: 150px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { flex-wrap: wrap; height: auto; }
  .trust-item { flex: 1 1 45%; justify-content: center; padding: 12px 8px; }
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 12px 18px; }

  /* ---------- CATÁLOGO ---------- */
  .toolbar { flex-direction: column; align-items: stretch; gap: 8px; justify-content: flex-start; }
  .toolbar label { margin: 0; }
  .toolbar select { width: 100%; max-width: 100%; margin-left: 0; flex: none; }
  .catalog-filters { max-width: 100%; }
  .sidebar { margin-left: 0; width: 100%; }
  .filter-box { max-width: 100%; box-sizing: border-box; }
  .catalog-main .product-grid { margin-top: 10px; padding-top: 10px; }
  .faq-card, .content-description { max-width: 100%; }

  /* ---------- PRODUTO ---------- */
  .gallery-main > img { max-height: 320px; }
  .thumbs .thumb img { width: 60px; height: 60px; }
  .buy-row { flex-wrap: wrap; }
  .qty { flex: 1; }
  .btn-comprar { flex: 2 1 100%; height: 48px; font-size: 16px; }
  .frete-form { flex-wrap: wrap; }
  .frete-form input { flex: 1 1 60%; }
  .p-info h1 { font-size: 19px; line-height: 24px; }
  .tabs-bar { flex-wrap: wrap; }
  .tabs-bar a { flex: 1 1 45%; text-align: center; padding: 10px 6px; }

  /* ---------- FOOTER ---------- */
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .categories-footer-card-title a { font-size: 14px; }
  .categories-footer-list li h3 a { font-size: 13px; line-height: 1.7; }
  .newsletter .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .newsletter .nl-icon img { width: 46px; height: 46px; }
  .newsletter .nl-txt strong { font-size: 24px; }
  .newsletter .nl-txt { font-size: 14px; }
  .newsler form, .newsletter form { max-width: 100%; margin-left: 0; width: 100%; }
  .foo-cols { grid-template-columns: 1fr; gap: 22px; }
  .foo-logo { flex-direction: column; gap: 14px; padding: 24px 0; }
  .foo-logo .left img { max-width: 140px; }
  .foo-logo .right img { height: 46px; }
  .foo-copyright p { font-size: 11px; line-height: 1.6; padding: 0 14px; }

  /* ---------- CADASTRO / LOGIN ---------- */
  .cad-wrap .cf.c-w-sm > input, .cad-wrap .cf.c-w-tel > input, .cad-wrap .cf.c-w-em > input,
  .cad-wrap .cf.c-w-ie > input, .cad-wrap .cf.c-w-md > input, .cad-wrap .cf.c-w-full > input,
  .cad-wrap .cf.c-w-md .inp-row input, .cad-wrap .cf.c-w-tel .inp-row input { width: 100%; }
  .cad-wrap .inp-row { flex-wrap: wrap; }
  .inp-row { flex-wrap: wrap; }
  .inp-row .hint, .inp-row .opcional { white-space: normal; font-size: 12px; display: block; width: 100%; margin-top: 2px; }
  .cad-policy { white-space: normal; }
  .cad-tabs ul { width: 100%; }
  .cad-tabs li { flex: 1; }
  .cad-tabs li a, .cad-tabs li:first-child a, .cad-tabs li:last-child a { width: 100%; font-size: 14px; }
  .cad-sec h2 { font-size: 20px; margin: 34px 0 10px; }
  .cad-wrap, .auth-wrap { padding: 18px 0 50px; }
  .cad-h1, .auth-h1, .cart-h1 { font-size: 21px; }
  .btn-avancar { width: 100%; max-width: 280px; height: 48px; }
  .auth-grid { grid-template-columns: 1fr; gap: 18px; }
  .auth-form, .auth-side { padding: 20px 16px; }
  .rec-pass { margin-top: 18px; }

  /* ---------- CARRINHO: tabela vira cartões empilhados ---------- */
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; box-sizing: border-box; }
  .cart-table thead { display: none; }
  .cart-table { border-radius: 8px; }
  .cart-table tr { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 2px 12px; padding: 12px; border-bottom: 1px solid #e8e8e8; }
  .cart-table tr:last-child { border-bottom: 0; }
  .c-img { grid-row: 1 / 4; }
  .c-img img { width: 96px; height: 96px; }
  .c-name a { font-size: 14px; }
  .c-unit, .c-sub { font-size: 13px; text-align: right; }
  .c-sub { grid-column: 2; }
  .c-qty { text-align: left; margin-top: 4px; }
  .c-rm { position: absolute; top: 8px; right: 8px; }
  .cart-foot { flex-direction: column; }
  .cart-sum { width: 100%; box-sizing: border-box; }
  .cart-empty { padding: 50px 18px; }

  /* ---------- CHECKOUT / CONTA ---------- */
  .co-body { grid-template-columns: 1fr; }
  .co-steps { flex-wrap: wrap; }
  .co-steps span { flex: 1 1 45%; font-size: 12px; padding: 10px 0; }
  .co-cep { flex-direction: column; align-items: stretch; gap: 0; }
  .co-cep label { flex: none; }
  .co-addr .co-row2 { grid-template-columns: 1fr; }
  .co-login label input { max-width: 100%; }
  .co-nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .co-nav .btn-comprar, .co-sum, .co-main { width: 100%; box-sizing: border-box; }
  .co-nav .btn-comprar, .auth-form .btn-comprar { flex: none; height: 48px; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-table { display: block; overflow-x: auto; }

  /* ---------- POPUP / MODAIS ---------- */
  .popup-title { font-size: 24px; line-height: 30px; }
  .wa-float { right: 12px; bottom: 12px; height: 46px; padding: 0 16px 0 13px; border-radius: 26px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-label { font-size: 13.5px; }
}
