/* ============================================================
   LANDING PAGE — Kit Bota Brutax (ré fiel do tema BoosterStore)
   ============================================================ */

:root {
  --primary-color: #30aa4c;
  --secondary-color: #000000;
  --btn-primary-bg-color: #38761d;
  --btn-primary-txt-color: #ffffff;
  --btn-secondary-bg-color: #38761d;
  --btn-secondary-txt-color: #ffffff;
  --btn-buy-bg-color: #38761d;
  --btn-buy-txt-color: #ffffff;
  --font-title-color: #222222;
  --font-text-color: #222222;
  --font-default-family: Poppins, sans-serif;
  --font-title-family: Poppins, sans-serif;
  --font-button-family: Poppins, sans-serif;
  --font-default-weight: 400;
  --font-base: 16px;
  --font-bold: 600;
  --font-title-weight: 600;
  --font-button-weight: 600;
  --btn-radius: 0.5em;
  --input-radius: 0.5em;
  --cards-radius: 0;
  --header-bg-color: #ffffff;
  --header-txt-color: #222222;
  --header-icons-color: #a77f2c;
  --header-border-color: #eee;
  --header-bar-bg-color: #ffffff;
  --header-bar-txt-color: #222222;
  --header-bar-icons-color: #a77f2c;
  --header-bar-border-color: #eee;
  --header-badge-bg-color: #222222;
  --header-badge-txt-color: #ffffff;
  --search-border-color: #e5e5e5;
  --search-bg-color: #ffffff;
  --search-txt-color: #222222;
  --search-btn-icon-color: #47b192;
  --menu-bg-color: #ffffff;
  --menu-txt-color: #444444;
  --menu-txt-hv-color: #47b192;
  --menu-border-color: #eee;
  --logo-size: 337px;
  --logo-size-mb: 196px;
  --header-cart-icon-size: 27px;
  --header-atend-icon-size: 32px;
  --header-track-icon-size: 32px;
  --header-login-icon-size: 32px;
  --prod-bl-bg-color: #ffffff;
  --prod-bl-txt-color: #222222;
  --prod-bl-flag-color: #30aa4c;
  --prod-bl-price-color: #30aa4c;
  --prod-bl-border-radius: 8px;
  --prod-det-price-color: #38761d;
  --prod-det-disc-tag-bg: #38761d;
  --prod-det-disc-tag-color: #ffffff;
  --prod-det-economia-bg: #000000;
  --prod-det-economia-color: #ffffff;
  --prod-det-btn-buy-icon-size: 20px;
  --prod-det-btn-whats-color: #2cd46b;
  --pix-color: #0ac0b3;
  --whats-color: #2cd46b;
  --grey-color: #eeeeee;
  --grey-color-dark: #e1e1e1;
  --grey-color-light: #fbfbfb;
  --font-light: #7c7c7c;
  --warning-color: #f4c10c;
  --shadow-1: rgba(0,0,0,.16) 0px 1px 4px;
  --footer-bg-color: #000000;
  --footer-tit-color: #ffffff;
  --footer-txt-color: #ffffff;
  --footer-hv-color: #47b192;
  --accent: #47b192;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-default-family);
  font-size: var(--font-base);
  font-weight: 400;
  color: var(--font-text-color);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }

.svg { display: inline-block; vertical-align: middle; }
svg { vertical-align: middle; }
svg.i-box   { width: 16px; height: 16px; }
svg.i-card  { width: 18px; height: 14px; }
svg.i-heart { width: 16px; height: 15px; }
svg.i-messages { width: 24px; height: 24px; }
svg.i-mail  { width: 18px; height: 18px; }
svg.i-user, svg.i-cart, svg.i-rastreio, svg.i-shield, svg.i-location, svg.i-clock { width: 24px; height: 24px; }
svg.i-star  { width: 16px; height: 16px; fill: #f3c218; }
svg.i-pix   { width: 22px; height: 22px; }
svg.i-search { width: 22px; height: 22px; }
svg.i-close { width: 18px; height: 18px; }
svg.i-exclamation { width: 26px; height: 26px; }

/* ============ GRID / LAYOUT ============ */.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.row > [class*="grid-"] { padding-left: 15px; padding-right: 15px; min-width: 0; }
.grid-12  { width: 100%; }
.grid-10  { width: 83.3333%; }
.grid-8   { width: 66.6666%; }
.grid-7   { width: 58.3333%; }
.grid-5   { width: 41.6666%; }
.grid-4   { width: 33.3333%; }
.grid-3   { width: 25%; }
.grid-2   { width: 16.6666%; }

/* Variantes responsivas do grid (como no core do tema): cada coluna
   com grid-(md|sm|xs)-12 vira largura total no respectivo breakpoint. */
@media (max-width: 1279px) {
  .grid-md-1  { width: 8.3333%; }
  .grid-md-2  { width: 16.6666%; }
  .grid-md-3  { width: 25%; }
  .grid-md-4  { width: 33.3333%; }
  .grid-md-5  { width: 41.6666%; }
  .grid-md-6  { width: 50%; }
  .grid-md-7  { width: 58.3333%; }
  .grid-md-8  { width: 66.6666%; }
  .grid-md-9  { width: 75%; }
  .grid-md-10 { width: 83.3333%; }
  .grid-md-11 { width: 91.6666%; }
  .grid-md-12 { width: 100%; }
}
@media (max-width: 1023px) {
  .grid-sm-1  { width: 8.3333%; }
  .grid-sm-2  { width: 16.6666%; }
  .grid-sm-3  { width: 25%; }
  .grid-sm-4  { width: 33.3333%; }
  .grid-sm-5  { width: 41.6666%; }
  .grid-sm-6  { width: 50%; }
  .grid-sm-7  { width: 58.3333%; }
  .grid-sm-8  { width: 66.6666%; }
  .grid-sm-9  { width: 75%; }
  .grid-sm-10 { width: 83.3333%; }
  .grid-sm-11 { width: 91.6666%; }
  .grid-sm-12 { width: 100%; }
}
@media (max-width: 767px) {
  .grid-xs-1  { width: 8.3333%; }
  .grid-xs-2  { width: 16.6666%; }
  .grid-xs-3  { width: 25%; }
  .grid-xs-4  { width: 33.3333%; }
  .grid-xs-5  { width: 41.6666%; }
  .grid-xs-6  { width: 50%; }
  .grid-xs-7  { width: 58.3333%; }
  .grid-xs-8  { width: 66.6666%; }
  .grid-xs-9  { width: 75%; }
  .grid-xs-10 { width: 83.3333%; }
  .grid-xs-11 { width: 91.6666%; }
  .grid-xs-12 { width: 100%; }
}
.mt-1 { margin-top: .5em; } .mt-2 { margin-top: 1em; } .mt-3 { margin-top: 1.5em; }
.pb-2 { padding-bottom: 1em; }
.d-none { display: none !important; }
.center { text-align: center; }
.align-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.title { font-weight: var(--font-bold); color: var(--font-title-color); }

/* ============ HEADER ============ */
/* Offset de âncoras: ao pular para uma seção (ex.: "64 avaliações"),
   o alvo para ABAIXO do header fixo, como no smoothScroll do tema.
   A altura é medida em script.js e aplicada em --header-h. */
[id] { scroll-margin-top: calc(var(--header-h, 90px) + 6px); }

.header.fixed { position: sticky; top: 0; z-index: 1000; }
/* Barra de avisos (carrossel vertical: 1 item por vez, troca animada) */
.header-bar { background: var(--header-bg-color); border-bottom: 1px solid var(--header-border-color); overflow: hidden; }
.header-bar-content { display: grid; justify-content: center; align-items: center; padding: 6px 0; }
.header-bar-item {
  grid-area: 1 / 1;
  display: flex; justify-content: center; align-items: center;
  gap: 7px; font-size: 0.8em; white-space: nowrap;
  opacity: 0; pointer-events: none;
}
/* Entra: desliza de baixo e aparece */
.header-bar-item.active {
  opacity: 1; pointer-events: auto;
  animation: bar-in .5s cubic-bezier(.25, .7, .3, 1) both;
}
/* Sai: desliza para cima e desaparece (fica visível acima do novo) */
.header-bar-item.leaving {
  opacity: 1; z-index: 2;
  animation: bar-out .35s ease-in both;
}
@keyframes bar-in {
  0%   { opacity: 0; transform: translateY(75%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes bar-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-75%); }
}
.header-bar-item-icon svg { color: var(--header-icons-color); }
@media (prefers-reduced-motion: reduce) {
  .header-bar-item.active, .header-bar-item.leaving { animation: none; }
}

.header-wrapper { background: var(--header-bg-color); border-bottom: 1px solid var(--header-border-color); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.header-content { display: flex; align-items: center; gap: 24px; padding: 12px 0; position: relative; }
.header-logo-wrp { display: flex; align-items: center; gap: 14px; flex: 0 1 auto; }
.header-logo img { width: 337px; height: 50px; object-fit: contain; }
.header-menu { margin-left: 6px; }
.header-menu ul { display: flex; gap: 22px; }
.header-menu a { color: var(--menu-txt-color); font-weight: 400; font-size: .95em; padding: 6px 0; }
.header-menu a:hover { color: var(--menu-txt-hv-color); }
.header-btns { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-button-wrp { position: relative; }
.header-button { display: flex; align-items: center; gap: 9px; }
.header-button-icon { color: var(--header-icons-color); }
.header-cart-btn .header-button-icon svg { width: var(--header-cart-icon-size); height: var(--header-cart-icon-size); }
.header-button-wrp-atendimento .header-button-icon svg { width: var(--header-atend-icon-size); height: var(--header-atend-icon-size); }
.header-login-btn .header-button-icon svg { width: var(--header-login-icon-size); height: var(--header-login-icon-size); }
.dropdown-cart-empty-icon svg { width: 26px; height: 26px; }
.header-button-title { font-size: .85em; color: var(--header-txt-color); line-height: 1.2; }
.badge { min-width: 18px; height: 18px; border-radius: 10px; background: #222; color: #fff; font-size: .65em; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

.dropdown-menu {
  position: absolute; top: 100%; right: 0; z-index: 1100;
  background: #fff; border: 1px solid var(--header-border-color);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 220px; padding: 8px 0; display: none;
}
.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: .9em; color: var(--menu-txt-color); }
.dropdown-item:hover { color: var(--menu-txt-hv-color); }
.dropdown-cart-empty { padding: 14px 16px; max-width: 250px; }
.dropdown-cart-empty-icon { color: var(--header-icons-color); margin-bottom: 6px; }
.dropdown-cart-empty-tit { font-weight: 600; font-size: .95em; }
.dropdown-cart-empty-txt { font-size: .85em; color: #666; }

/* Botão hambúrguer */
.menu-mobile-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 30px; background: none; border: 0; padding: 0; }
.menu-mobile-btn span, .menu-mobile-btn span:before, .menu-mobile-btn span:after {
  content: ""; display: block; width: 22px; height: 2px; background: #222; border-radius: 2px; position: relative; transition: .25s;
}
.menu-mobile-btn span:before { top: 5px; }
.menu-mobile-btn span:after { top: 10px; }

/* Menu mobile */
.menu-mobile-wrapper { position: fixed; inset: 0; z-index: 1400; display: none; }
.menu-mobile-wrapper.open { display: block; }
.menu-mobile-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.menu-mobile {
  position: absolute; top: 0; left: 0; bottom: 0; width: 84%; max-width: 340px;
  background: #fff; box-shadow: 4px 0 20px rgba(0,0,0,.2); transform: translateX(-100%); transition: transform .28s;
  display: flex; flex-direction: column; overflow-y: auto;
}
.menu-mobile-wrapper.open .menu-mobile { transform: translateX(0); }
.menu-mobile-header { padding: 14px; text-align: right; }
.menu-mobile-nav { flex: 1; }
.menu-mobile-nav li { border-bottom: 1px solid var(--header-border-color); }
.menu-mobile-nav li a { display: block; padding: 14px 18px; color: var(--menu-txt-color); font-size: .95em; }
.menu-mobile-nav li a:hover { color: var(--menu-txt-hv-color); }
.menu-mobile-footer { border-bottom: 0 !important; }
.menu-mobile-footer-in { padding: 18px; }
.menu-mobile-footer-tit { font-weight: 600; margin-bottom: 8px; }
.menu-mobile-footer-link { display: flex; align-items: center; gap: 8px; color: #444; font-size: .9em; }

/* Busca lateral */
.page-side-wrp { position: fixed; inset: 0; z-index: 1400; display: none; }
.page-side-wrp.open { display: block; }
.page-side-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
#search-side .page-side {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 380px;
  background: #fff; transform: translateX(100%); transition: transform .28s; padding: 18px;
}
.page-side-wrp.open .page-side { transform: translateX(0); }
.page-side-header { display: flex; align-items: flex-start; gap: 10px; }
.page-side-title-wrp { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--search-border-color, #e5e5e5); border-radius: var(--input-radius); padding: 0 10px; }
.search-side-input-wrp { flex: 1; }
.form-group { margin-bottom: 16px; }
.page-side-title-wrp .form-input { border: 0; outline: none; padding: 12px 0; border-radius: var(--input-radius); font-size: .95em; background: transparent; }
.page-side-close { background: none; border: 0; color: #222; padding: 8px; }

/* ============ BREADCRUMB ============ */
.breadcrumb-wrp { background: #f7f7f7; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0; font-size: .8em; color: #777; margin-bottom: 0 !important; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: #555; max-width: 480px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb li + li:before { content: "-"; margin-right: 8px; color: #bbb; }

/* ============ PÁGINA PRODUTO ============ */
.pag-section { padding: 20px 0 40px; }
.pag-prod-contents { align-items: flex-start; justify-content: center; }

/* --- Galeria --- */
.produto-fotos { margin-bottom: 30px; }
#carrosel-prod-foto-wrp { position: relative; }
.carrosel-produto { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.carrosel-produto .carousel-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ddd; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.08); transition: .2s;
}
.carousel-nav:hover { background: #f5f5f5; }
.carousel-nav.prev { left: 12px; }
.carousel-nav.next { right: 12px; }
.chev { width: 9px; height: 9px; border-top: 2px solid #444; border-right: 2px solid #444; display: block; }
.chev.left { transform: rotate(-135deg); margin-left: 3px; }
.chev.right { transform: rotate(45deg); margin-right: 3px; }
.produto-fotos-zoom-alert {
  position: absolute; bottom: 12px; right: 14px; z-index: 10;
  background: rgba(0,0,0,.55); color: #fff; font-size: .72em; padding: 5px 10px; border-radius: 20px; pointer-events: none;
  display: none;
}
.carrosel-produto-thumbs { display: block; }
.carrosel-produto-thumbs-track { display: flex; flex-direction: column; gap: 8px; }
.carrosel-produto-thumbs .carousel-item { cursor: pointer; }
.carrosel-produto-thumbs-foto {
  border: 1px solid var(--grey-color, #eee); border-radius: 6px; overflow: hidden; transition: .15s; background: #fff;
  cursor: pointer; padding: 0; display: block; flex: 0 0 auto;
}
.carrosel-produto-thumbs-foto img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.carrosel-produto-thumbs-foto:hover { border-color: rgba(0,0,0,.1); }
.carrosel-produto-thumbs-foto.active { border-color: var(--primary-color); }

/* --- Tabs --- */
.tabs { margin-bottom: 30px; }
.tabs-nav { display: flex; }
.tabs-nav-item {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 20px; border: 1px solid var(--grey-color, #eee); border-bottom-width: 3px;
  font-weight: var(--font-title-weight); font-size: 16px; line-height: 1.2; color: var(--font-title-color);
  cursor: pointer; transition: .3s ease-in-out;
}
.tabs-nav-item:not(:last-child) { border-right: none; }
.tabs-nav-item:first-child { border-top-left-radius: 8px; }
.tabs-nav-item:last-child { border-top-right-radius: 8px; }
.tabs-nav-item:not(.active):hover { color: var(--primary-color); }
.tabs-nav-item.active { border-bottom-color: var(--primary-color); cursor: default; }
.tabs-content { display: none; }
.tabs-content.active { display: block; }
.tabs-contents { padding: 20px; border: 1px solid var(--grey-color, #eee); border-top: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.pag-prod-desc { margin-top: 30px; }
.pag-prod-desc .text-formatted img { margin: 0; border-radius: 6px; }
.text-formatted::after { content: ""; clear: both; display: table; }
.pag-prod-avaliacoes { margin-top: 30px; }
.tabs.is-small .tabs-nav-item { padding: 10px 20px; font-size: 15px; }
.tabs.is-small .tabs-nav-item:first-child { border-top-left-radius: 4px; }
.tabs.is-small .tabs-nav-item:last-child { border-top-right-radius: 4px; }
.tabs.is-small .tabs-contents { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

/* --- Avaliações --- */
.prod-av-title-wrp { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.prod-av-title { font-weight: 600; font-size: 1.05em; }
.prod-av-resume {
  display: flex; align-items: center; padding: 20px;
  border-radius: 6px; border: 1px solid var(--grey-color, #eee);
}
.prod-av-resume-avg {
  flex-shrink: 0; width: 30%; display: flex; flex-direction: column;
  align-items: center; text-align: center; margin-right: 20px;
}
.prod-av-resume-avg-n { font-size: 36px; font-weight: bold; color: var(--font-title-color); margin-bottom: 5px; }
.prod-av-resume-avg-stars { margin-bottom: 10px; }
.prod-av-resume-avg-stars .star-rating { justify-content: center; }
.prod-av-resume-avg-stars .star-rating svg { width: 20px; height: 20px; }
.prod-av-resume-avg-desc { text-align: center; font-size: 14px; line-height: 1.2; color: #555; }
.prod-av-resume-list { flex: 1; }
.prod-av-resume-item { display: flex; align-items: center; font-size: 15px; line-height: 1; }
.prod-av-resume-item:not(:last-child) { margin-bottom: 10px; }
.prod-av-resume-item-tit { width: 93px; opacity: .8; }
.prod-av-resume-item-bar { flex: 1; display: flex; justify-content: flex-start; height: 6px; border-radius: 4px; background-color: var(--grey-color, #eee); overflow: hidden; }
.prod-av-resume-item-bar > span { display: block; height: 100%; background-color: #f4c10c; }
.prod-av-resume-item-qty { width: 30px; margin-left: 20px; opacity: .8; }
.star-rating { display: inline-flex; gap: 2px; }

/* Lista de avaliações (formato list) */
.prod-av-list { margin-top: 30px; border-top: 1px solid var(--grey-color, #eee); padding-top: 25px; }
.prod-av-list.empty { display: none; }
.prod-av-item { position: relative; display: flex; flex-direction: column; }
.prod-av-item:not(:last-child) { margin-bottom: 25px; }
.prod-av-item-stars { margin-bottom: 5px; }
.prod-av-item-stars .star-rating svg { width: 14px; height: 14px; }
.prod-av-item-title-wrp { display: flex; }
.prod-av-item-title { font-weight: var(--font-bold); font-size: 15px; }
.prod-av-item-date { margin-left: 15px; font-size: 15px; opacity: .7; }
.prod-av-item-text { font-size: 15px; opacity: .7; white-space: pre-line; }
.prod-av-item-images { display: flex; justify-content: flex-start; flex-wrap: wrap; }
.prod-av-item-images a { display: block; margin: 10px 13px 0 0; width: 100px; height: 100px; overflow: hidden; }
.prod-av-item-images a img { width: 100%; height: 100%; object-fit: cover; }
.prod-av-item-images a:hover { opacity: .8; }
.img.img-border { border: 1px solid var(--grey-color, #eee); }
.img.img-rounded { border-radius: 8px; }
.prod-av-empty { color: #7c7c7c; font-size: 14px; }
.prod-av-btn-load-wrp { margin-top: 20px; padding-top: 0; text-align: center; }
.prod-av-btn-load-wrp .btn { width: 250px; max-width: 100%; }

/* --- Coluna direita --- */
/* ============ COLUNAS DO PRODUTO ============ */
.pag-prod-left { padding-right: 20px; }
.pag-prod-right { position: sticky; top: 10px; }
.pg-card { background: #fff; border: 1px solid var(--grey-color, #eee); border-radius: 8px; margin-bottom: 22px; overflow: hidden; }
.pg-card-body { padding: 20px; }

/* Slot mobile do bloco de compra (preenchido via JS em telas < 1024px) */
.pag-prod-infos-mb { display: none; }
@media (max-width: 1023px) {
  .pag-prod-infos-mb { display: block; }
  .pag-prod-infos-mb .pag-prod-infos { margin-bottom: 30px; }
  .pag-prod-right { position: relative; top: initial; height: 0; min-height: 0; }
}

.prod-title-wrp { margin-bottom: 20px; }
.prod-title { font-size: 28px; line-height: 1.3; font-weight: var(--font-title-weight); }
.produto-det-stars { display: inline-flex; align-items: center; gap: 10px; margin-top: 5px; }
.produto-det-stars span { font-size: 14px; opacity: .7; }
.produto-det-stars:hover span { opacity: 1; }

.prod-precos { position: relative; margin-bottom: 20px; font-size: 16px; }
.prod-preco-old-wrp { display: flex; align-items: center; justify-content: flex-start; }
.prod-preco-old { font-size: 18px; font-weight: 400; text-decoration: line-through; opacity: .7; }
.prod-preco-new-wrp { position: relative; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
.prod-preco-new { font-size: 24px; font-weight: var(--font-title-weight); color: var(--prod-det-price-color); }
.prod-preco-discount {
  position: relative; display: inline-flex; align-items: center; text-align: center;
  margin-left: 20px; margin-top: -35px; height: 24px; padding: 0 8px;
  border-radius: 4px; background-color: var(--prod-det-disc-tag-bg);
  font-size: 14px; font-weight: var(--font-bold); line-height: 1; color: var(--prod-det-disc-tag-color);
}
.prod-preco-discount::before {
  content: ""; display: block; position: absolute; width: 0; height: 0;
  border-style: solid; border-color: rgba(0,0,0,0);
  border-right-color: var(--prod-det-disc-tag-bg);
  border-width: 12px 12px 12px 0; top: 0; left: -10px;
}
.prod-preco-parc { line-height: 1.2; }
.prod-preco-parc b { font-weight: var(--font-bold); }
.prod-preco-economia {
  position: relative; display: inline-flex; align-items: center; text-align: center;
  margin-top: 5px; padding: 6px 12px; border-radius: 6px;
  background-color: var(--prod-det-economia-bg);
  font-size: 14px; font-weight: var(--font-bold); line-height: 1;
  color: var(--prod-det-economia-color);
}
.prod-pay-desc { margin-top: 10px; font-size: .88em; }
.prod-pay-desc a { color: var(--accent); text-decoration: underline; }

.pd-disc-pix {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-start;
  padding: 10px 15px; background-color: #f5f5f5; border-radius: 8px;
  margin-bottom: 20px; font-size: 15px;
}
.pd-disc-pix-icon { flex-shrink: 0; width: 30px; margin-right: 10px; color: var(--pix-color, #0ac0b3); }
.pd-disc-pix-tit { font-size: 15px; }
.pd-disc-pix-tit b { font-size: 1.1em; }
.pd-disc-pix .badge.discount-percent {
  background-color: var(--pix-color, #0ac0b3); color: #fff;
  transform: scale(.85); transform-origin: left top;
}
.pd-disc-pix-txt { font-size: .9em; color: #222; }

.frete-d-wrp {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-start;
  padding: 10px 15px; background-color: #f5f5f5; border-radius: 8px;
  margin-bottom: 20px; font-size: 15px;
}
.frete-d-img { flex-shrink: 0; width: 50px; margin-right: 10px; }
.frete-d-img img { width: 100%; }
.frete-d-tit { font-weight: 600; font-size: 15px; }
.frete-d-txt { margin-top: 5px; font-size: .9em; color: #444; }

/* Atributos */
.produto-det-atributos { margin-bottom: 10px; }
.produto-det-atributo { width: 100%; }
.produto-det-atributos .form-label { font-size: 14px; }
.produto-det-atributos .form-label [data-opt-value] { color: var(--primary-color); }
.form-group-check-card .form-label { display: block; font-weight: 600; margin-bottom: 10px; }
.form-check-card { display: inline-block; position: relative; margin: 0 8px 8px 0; }
.form-check-card input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.form-check-card input + label {
  display: inline-block; position: relative; margin: 0;
  border: 1px solid #e1e1e1; border-radius: var(--input-radius); background: #fff;
  padding: 9px 16px; font-size: .85em; color: var(--font-title-color);
  cursor: pointer; transition: .2s; user-select: none;
}
.produto-det-atributos .form-check-card label:hover { border-color: var(--primary-color); color: var(--primary-color); }
.produto-det-atributos .form-check-card input:checked + label {
  border-color: var(--primary-color); background-color: var(--primary-color); color: #fff;
}
.size-options .form-check-card label { min-width: 40px; text-align: center; }

.produto-det-indisponivel { display: none; }
.produto-det-indisponivel.show { display: block; }
.produto-det-indisponivel-bl { display: flex; gap: 10px; align-items: center; background: #fdf0ef; border: 1px solid #f2cecb; color: #b3372e; border-radius: 8px; padding: 12px 14px; font-size: .85em; margin-top: 10px; }

/* Quantidade + botão */
.produto-det-qtde-btn { margin-bottom: 24px; }
.produto-det-quantidade, .produto-det-btn { width: 100%; }
.produto-det-quantidade .form-group { margin-bottom: 0; }
.number-spinner { display: flex; border: 1px solid #e1e1e1; border-radius: var(--btn-radius); overflow: hidden; width: 100%; height: 50px; }
.ns-btn { width: 40px; background: #fff; border: 0; position: relative; flex: 0 0 auto; }
.ns-btn:before, .ns-btn:after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 12px; height: 2px; background: #333; border-radius: 2px; transition: .2s; }
.ns-add:after { transform: translate(-50%,-50%) rotate(90deg); }
.ns-btn:hover:before, .ns-btn:hover:after { background-color: var(--primary-color); }
.ns-input { flex: 1; width: 100%; border: 0; text-align: center; font-size: 16px; font-weight: var(--font-bold); outline: none; min-width: 40px; border-left: 1px solid #eee; border-right: 1px solid #eee; }
.btn-buy { background: var(--btn-buy-bg-color); color: var(--btn-buy-txt-color); }
.produto-det-btn .btn { height: 50px; }
.produto-det-btn .btn svg { width: 20px; height: 20px; margin-right: 10px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--btn-primary-bg-color); color: var(--btn-primary-txt-color);
  font-weight: 600; font-size: .95em; padding: 13px 22px;
  border: 1px solid transparent; border-radius: var(--btn-radius); transition: .2s; line-height: 1.3;
}
.btn:hover { filter: brightness(1.08); }
.btn-grey { background: #fff; color: #555; border-color: #ddd; font-weight: 500; }
.btn-grey:hover { background: #f5f5f5; filter: none; }
.btn-full { width: 100%; }
.btn-buy { font-size: 1.05em; padding: 15px 10px; text-transform: none; }
.btn svg { width: 19px; height: 19px; }

/* Formas de pagamento (lateral) */
.prod-det-payment-forms { margin-top: 20px; text-align: center; }
.prod-det-payment-forms .pg-card-body { padding: 15px; }
.prod-det-payment-forms-tit { margin-bottom: 5px; font-size: 15px; }
.prod-det-payment-forms-tit b, .prod-det-payment-forms-tit strong { font-size: 1.1em; }
.prod-det-payment-forms-items { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.prod-det-payment-forms-items .img {
  display: inline-block; width: 45px; border-radius: 4px; padding: 1px 0;
  background-color: #fff; border: 1px solid rgba(0,0,0,.1); margin: 3px;
  display: flex; align-items: center; justify-content: center;
}
.prod-det-payment-forms-items .img img { width: 100%; }

/* Destaques (oculto no tema original) */
.prod-det-dest-wrp { display: none; margin-top: 20px; }

/* ============ RELACIONADOS ============ */.pag-prod-relacionados { padding: 34px 0 26px; border-top: 1px solid #f2f2f2; }
.home-title { font-size: 1.2em; text-align: center; margin-bottom: 26px; }
.carousel-prods { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scroll-padding: 0 10px; scrollbar-width: thin; }
.carousel-prods .carousel-item { flex: 0 0 228px; scroll-snap-align: start; }
.prod-bl-wrp { display: block; cursor: default; }
.prod-bl { border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; transition: .2s; height: 100%; display: flex; flex-direction: column; }
.prod-bl-wrp:hover .prod-bl { border-color: #ccc; box-shadow: 0 6px 16px rgba(0,0,0,.07); }
.prod-bl-img { position: relative; overflow: hidden; display: block; }
.prod-bl-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.prod-bl-flags { position: absolute; top: 10px; left: 10px; }
.prod-bl-flag { background: var(--bg-color); color: var(--txt-color); font-size: .7em; font-weight: 600; padding: 3px 9px; border-radius: 14px; }
.prod-bl-infos { padding: 12px 13px 14px; flex: 1; display: flex; flex-direction: column; }
.prod-bl-stars { display: inline-flex; margin-bottom: 5px; font-size: .72em; color: #888; }
.prod-bl-stars svg { width: 13px; height: 13px; }
.prod-bl-title { font-size: .78em; font-weight: 500; color: #333; margin-bottom: 8px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-bl-price .old { text-decoration: line-through; color: #aaa; font-size: .75em; display: block; }
.prod-bl-price .new { color: var(--prod-bl-price-color); font-weight: 700; font-size: 1.05em; }
.prod-bl-pix, .prod-bl-parc { display: flex; align-items: center; gap: 5px; font-size: .72em; color: #555; margin-top: 5px; }
.prod-bl-pix svg { width: 13px; height: 13px; color: var(--prod-bl-price-color); }
.prod-bl-parc svg { width: 15px; height: 12px; color: #888; }

/* ============ POPUP COMPRA (barra fixa) ============ */
.popup-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background-color: #fff; padding: 15px 0;
  box-shadow: 0 0 3px rgba(0,0,0,.26); font-size: 16px;
  visibility: hidden; transform: translateY(100%); transition: .3s ease-in-out;
}
.popup-buy.show { visibility: visible; transform: translateY(0); }
.popup-buy-content { display: flex; align-items: center; }
.popup-buy-infos { flex: 1; min-width: 0; text-align: left; margin-right: 15px; }
.popup-buy-title {
  font-size: .9em; font-weight: var(--font-title-weight); line-height: 1.2; margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: none;
}
.popup-buy-price { font-size: 16px; line-height: 1; }
.popup-buy-price-old { color: var(--font-light, #7c7c7c); text-decoration: line-through; font-size: .75em; margin-bottom: 3px; }
.popup-buy-price-new { font-size: 1.15em; font-weight: var(--font-title-weight); color: var(--prod-det-price-color); }
.popup-buy-price-parc { margin-top: 3px; font-size: .8em; color: var(--font-light, #7c7c7c); display: none; }
.popup-buy-price-parc b { font-weight: var(--font-bold); color: var(--prod-det-price-color); }
.popup-buy-btn { flex-shrink: 0; }
.popup-buy-btn .btn { white-space: nowrap; }

/* ============ MODAIS ============ */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; }
.modal.show { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal-wrapper {
  position: relative; z-index: 2; background: #fff; border-radius: 10px;
  max-width: 560px; margin: 50px auto; max-height: calc(100vh - 60px); overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 24px 26px 22px;
}
.modal.fade .modal-wrapper { animation: fadeIn .18s; }
.modal-center .modal-wrapper { top: 50%; transform: translateY(-50%); position: relative; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; background: none; color: #999;
}
.modal-close:before, .modal-close:after {
  content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 22px; background: #999; border-radius: 2px;
}
.modal-close:before { transform: rotate(45deg); }
.modal-close:after { transform: rotate(-45deg); }
.modal-close:hover:before, .modal-close:hover:after { background: #333; }
.modal-title { font-weight: 600; font-size: 1.1em; margin-bottom: 14px; }
.modal-footer { margin-top: 18px; }
.modal-alert .modal-wrapper { max-width: 400px; text-align: center; }
.modal-alert .modal-body { padding: 10px 0 0; }

.tabs-payment-methods .tabs-nav-item { display: flex; align-items: center; gap: 7px; }
.installments-list { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.installments-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .85em; padding: 9px 14px; border-bottom: 1px solid #f4f4f4; }
.installments-list li:last-child { border-bottom: 0; }
.payment-methods-price { text-align: center; font-size: 1.3em; }
.v-price-pix { color: #32bcad; font-weight: 700; }

/* Modal avaliação */
.star-rating.form-star-rating { display: inline-flex; flex-direction: row-reverse; }
.form-star-rating input { display: none; }
.form-star-rating label { font-size: 1em; cursor: pointer; padding: 0 3px; }
.form-star-rating label svg { width: 26px; height: 26px; fill: var(--grey-color-dark, #e1e1e1); }
.form-star-rating input:checked ~ label svg,
.form-star-rating label:hover svg,
.form-star-rating label:hover ~ label svg { fill: var(--warning-color, #f4c10c); }
.form-tip { color: #999; font-size: .85em; font-weight: 400; }
#form-avaliacao .form-input, #form-avaliacao textarea {
  border: 1px solid var(--grey-color-dark, #e1e1e1); border-radius: var(--input-radius);
  padding: 11px 13px; width: 100%; background: #fff; color: var(--font-text-color);
}
.form-input { width: 100%; border: 1px solid var(--search-border-color, #e5e5e5); border-radius: var(--input-radius); padding: 12px 14px; font-size: 16px; outline: none; background: #fff; color: var(--font-text-color); }
.form-group { margin-bottom: 16px; }
.form-label { font-weight: var(--font-bold); color: var(--font-text-color); }

/* Upload de foto (avaliação) */
.image-preview {
  width: 100px; height: 100px; position: relative; overflow: hidden;
  background-color: #fff; background-size: cover; background-position: center center;
  border-radius: 8px; border: 2px solid var(--grey-color-dark, #e1e1e1); color: #ecf0f1;
}
.image-preview input { position: absolute; inset: 0; opacity: 0; z-index: 10; width: 100%; cursor: pointer; }
.image-preview label {
  z-index: 5; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;
  width: 45px; height: 45px; color: #d5d5d5; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.image-preview label svg { width: 100%; height: 100%; }
.modal-avaliacao-alert { display: flex; gap: 12px; background: #fbf7ea; border: 1px solid #f0e6c8; border-radius: 8px; padding: 13px 15px; font-size: .8em; color: #6b5d2a; }
.modal-avaliacao-alert-icon { color: #caa63b; }

/* ============ FOOTER ============ */
/* ============ RODAPÉ (fiel ao tema) ============ */
.footer { position: relative; background: var(--footer-bg-color); margin-top: 40px; color: var(--footer-txt-color); font-size: 15px; overflow: hidden; }
.footer b, .footer strong { font-weight: var(--font-bold); }
.footer-wrp { padding: 60px 0 40px; }
.footer-content { row-gap: 30px; align-items: flex-start; justify-content: space-between; }
.footer-col { text-align: left; }
.footer-tit { position: relative; font-weight: var(--font-title-weight); font-size: 18px; line-height: 1.2; margin-bottom: 15px; color: var(--footer-tit-color); }
.footer-links li { margin-bottom: 9px; font-size: .85em; color: #b9b9b9; }
.footer-links li.item { display: flex; align-items: flex-start; justify-content: flex-start; }
.footer-links li.item svg { flex-shrink: 0; width: 1.15em; margin-top: 1px; margin-right: 5px; }
.footer-links li.item .md-text { line-height: 1.7; }
.footer-links a { display: flex; align-items: flex-start; justify-content: flex-start; gap: 5px; color: #b9b9b9; transition: .15s; }
.footer-links a svg { flex-shrink: 0; width: 1.15em; margin-right: 5px; }
.footer-links a:hover { color: var(--footer-hv-color); }
.footer-links svg { color: var(--footer-hv-color); }
.footer-links svg path { fill: currentColor; }
.footer-selos { display: flex; flex-direction: column; align-items: flex-start; }
.footer-selos li { width: 150px; }
.footer-selos li:not(:last-child) { margin-bottom: 10px; }
.footer-selos li a[href="#"] { cursor: default; }
.footer-selos img { width: 100%; height: auto; }
.footer-pagamentos { text-align: center; }
.footer-pagamentos-items { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer-pagamentos-items .img {
  display: inline-block; width: 50px; margin: 3px; padding: 3px 0;
  background-color: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 4px;
}
.footer-pagamentos-items .img img { width: 100%; display: block; }
.footer-bar {
  position: relative; border-top: 1px solid rgba(255,255,255,.14);
  background-color: rgba(0,0,0,.25); padding: 20px 0; font-size: .82em; color: #8a8a8a; text-align: center;
}
.footer .item { display: flex; align-items: flex-start; gap: 5px; }
.footer .item svg { flex-shrink: 0; width: 1.15em; margin-top: 1px; color: var(--footer-hv-color); }
.footer .item svg path { fill: currentColor; }

/* Collapse das colunas no mobile (accordion, como no tema) */
@media (max-width: 767px) {
  .footer { font-size: 14px; }
  .footer-wrp { padding: 40px 0; }
  .footer-mb-center { text-align: center; }
  .footer-selos { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; }
  .footer-selos li { width: 100px; margin-right: 10px; margin-bottom: 10px; }
  .footer-collapse {
    width: calc(100% - 20px); flex-basis: calc(100% - 20px); margin-left: 10px;
    border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding-bottom: 10px; overflow: hidden;
  }
  .footer-collapse > .footer-tit {
    position: relative; padding: 12px 15px; margin-bottom: 12px; cursor: pointer;
  }
  .footer-collapse > .footer-tit::after {
    content: ""; position: absolute; right: 14px; top: 16px; width: 8px; height: 8px;
    border-right: 1px solid var(--footer-tit-color); border-bottom: 1px solid var(--footer-tit-color);
    transform: rotate(-45deg); transition: .3s;
  }
  .footer-collapse.active > .footer-tit::after { top: 19px; transform: rotate(45deg); }
  .footer-collapse > .footer-col-content { display: none; padding: 0 15px; }
  .footer-collapse.active > .footer-col-content { display: block; padding-bottom: 5px; }
  .footer-collapse.footer-mb-center, .footer-collapse.footer-selos-col { border: none; padding: 0; width: 100%; flex-basis: 100%; margin-left: 0; }
  .footer-collapse.footer-selos-col > .footer-tit { padding: 0; cursor: default; }
  .footer-collapse.footer-selos-col > .footer-tit::after { display: none; }
  .footer-collapse.footer-selos-col > .footer-col-content { display: block; }
}

/* ============ LIGHTBOX ============ */
.lightbox { display: none; position: fixed; inset: 0; z-index: 1600; background: rgba(0,0,0,.92); }
.lightbox.show { display: block; }
.lightbox img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; }
.lb-close svg { width: 26px; height: 26px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; width: 44px; height: 44px; color: #fff; }
.lb-nav:hover { background: rgba(255,255,255,.15); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* ============ GO TOP ============ */
.go-top {
  position: fixed; right: 18px; bottom: 92px; z-index: 1100; width: 42px; height: 42px;
  border-radius: 50%; background: #222; border: 1px solid #444; cursor: pointer;
  opacity: 0; pointer-events: none; transition: .25s;
}
.go-top.show { opacity: .85; pointer-events: auto; }
.go-top span {
  display: block; width: 9px; height: 9px; border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: rotate(45deg); margin: 17px auto 0;
}
.go-top:hover { opacity: 1; }

/* ============ LOADER ============ */
.loader-container { position: fixed; inset: 0; z-index: 2000; display: none; background: rgba(255,255,255,.7); }
.loader-container.show { display: flex; }
.loader-wrapper { margin: auto; }
.loader {
  width: 42px; height: 42px; border: 3px solid rgba(0,0,0,.15); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Helper classes of original framework ---- */
.breadcrumb { margin-bottom: 0; }

/* Visibilidade por largura (como no tema original) */
@media (max-width: 1023px) {
  .header-menu { display: none; }
}
@media (min-width: 1024px) {
  .menu-mobile-btn, .header-search-btn-mb-wrp, #menu-mobile { display: none !important; }
}
@media (max-width: 767px) {
  .breadcrumb-wrp { display: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1023px) {
  .header-bar-content { padding: 5px 0; }
  .header-logo img { width: 196px; height: auto; }
  .header-button-wrp-atendimento, .header-login-btn { display: none; }
  .header-btns { gap: 16px; }

  .pag-prod-left, .pag-prod-right { width: 100%; }
  .carrosel-produto-thumbs-wrapper { width: 100%; order: 2; }
  .carrosel-produto-thumbs-track { flex-direction: row; overflow-x: auto; padding-bottom: 4px; gap: 8px; }
  .produto-fotos-row { display: flex; flex-direction: column; }
  .carrosel-produto-thumbs-track .carousel-item,
  .carrosel-produto-thumbs-track .carrosel-produto-thumbs-foto { flex: 0 0 65px; width: 65px; }
  .carrosel-produto-wrapper { order: 1; width: 100%; }

  .carousel-prods .carousel-item { flex: 0 0 190px; }
}

@media (max-width: 767px) {
  .header-bar-item-txt { font-size: .9em; }
  .header-bar-item-icon svg { width: 13px; }
  .header-content { padding: 10px 0; }
  .header-logo img { width: var(--logo-size-mb); height: auto; }
  .prod-title { font-size: 22px; }
  .produto-fotos-zoom-alert { display: block; }

  /* Resumo de avaliações empilhado (como no tema) */
  .prod-av-resume { flex-direction: column; align-items: flex-start; }
  .prod-av-resume-avg { flex-direction: row; width: 100%; margin-right: 0; }
  .prod-av-resume-avg-n { font-size: 42px; margin-bottom: 0; margin-right: 15px; }
  .prod-av-resume-avg-stars { margin-bottom: 5px; text-align: left; }
  .prod-av-resume-avg-stars .star-rating { justify-content: flex-start; }
  .prod-av-resume-avg-stars .star-rating svg { width: 16px; height: 16px; }
  .prod-av-resume-avg-desc { text-align: left; font-size: 13px; }
  .prod-av-resume-list { margin-top: 10px; width: 100%; }
  .prod-av-resume-item { font-size: 14px; }
  .prod-av-item-title { font-size: 15px; }
  .prod-av-item-date { font-size: 14px; }
  .prod-av-item-text { font-size: 14px; }
  .prod-av-item-images a { margin-right: 10px; }

  .modal-wrapper { margin: 20px auto; }
}

@media (min-width: 1024px) {
  .produto-det-quantidade { width: 33.33%; padding-right: 0 !important; }
  .produto-det-btn { width: 66.66%; margin-left: auto; padding-left: 15px; }
}
