/* ================================================================
   catalogo/assets/css/catalogo.css
   CSS estático do frontend do catálogo.
   Cores, fontes e tamanhos dinâmicos vêm via CSS Variables
   definidas em sections/head.php como :root { --ch: ...; }
   ================================================================ */

/* ── Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #F9F9F9;
}

body.catalogo { background: #F9F9F9; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { padding: 0 !important; margin: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; margin: 0; }
h1 { font-size: 1.8rem; }
h2.section-title { font-size: 1.5rem; }

.cor_titulo { color: var(--cor-titulo); }

/* ── Bootstrap gutter override ─────────────────────────────────── */
.container { --bs-gutter-x: 0.4rem !important; }

/* ── Header ────────────────────────────────────────────────────── */
header { background: var(--ch); width: 100%; border-bottom: 1px solid rgba(0,0,0,.08); }

.catalog-header { padding: 10px; }

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.loja-info { display: flex; gap: 12px; align-items: center; }

.logo-loja-com-borda {
  width: var(--logo-size, 110px); height: var(--logo-size, 110px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.logo-loja-sem-borda {
  max-width: var(--logo-size, 120px);
  max-height: calc(var(--logo-size, 120px) * 0.75);
  width: auto; height: auto;
  object-fit: contain;
}

.loja-texto { max-width: 520px; }
.loja-texto h1, .loja-texto .loja-nome { font-size: 20px; margin: 0; }
.loja-nome { font-weight: 600; line-height: 1.2; }

.descricao { font-size: 13px; margin: 2px 0; }
/* Descrição da loja: trecho (2 linhas) + "ver mais" que abre modal */
.desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ch-text);
}
.desc-ver-mais {
  background: none; border: 0; padding: 0; margin: 0 0 2px;
  font-size: 13px; font-weight: 600; color: inherit;
  text-decoration: underline; cursor: pointer; opacity: .9;
  color: var(--ch-text);
}
.desc-ver-mais[hidden] { display: none; }
.desc-modal-topo { display: flex; align-items: center; gap: 16px; }
.desc-modal-logo {
  width: 72px; height: 72px; object-fit: contain; flex-shrink: 0;
  border-radius: 50%; border: 1px solid #e5e7eb; background: #fff;
}
.desc-modal-nome { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.desc-modal-linha { font-size: 14px; color: #57606a; display: flex; align-items: center; gap: 6px; }
.desc-modal-linha a { color: inherit; text-decoration: none; }
.desc-modal-linha a:hover { text-decoration: underline; }
.desc-modal-texto { font-size: 14px; line-height: 1.6; color: #1f2328; }



.loja-meta { font-size: 13px; font-weight: bold; color: var(--ch-text); }
.loja-meta span { margin-right: 10px; }

.loja-acoes { display: flex; gap: 8px; justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; }

/* Botões do header */
.btn-busca, .btn-menu {
  border: 1px solid rgba(0,0,0,.15);
  background: white;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: #666;
  height: 40px;
}
.btn-busca:hover, .btn-menu:hover { background: rgba(0,0,0,.05); }

.btn-seguir {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; font-size: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: var(--seguir-bg);
  color: var(--seguir-text);
  cursor: pointer;
  transition: all .2s ease;
  height: 40px;
}

.btn-seguir:hover { opacity: .85; }

/* Link "Comprar no Atacado" (headers 1, 2, 4, sidebar mobile) */
.btn-atacado {
  align-items: center; gap: 6px;
  padding: 8px 12px; font-size: 14px; font-weight: 500;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: var(--seguir-bg);
  color: var(--seguir-text);
  height: 40px;
  white-space: nowrap;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-atacado:hover { opacity: .85; color: var(--seguir-text); }
.sidebar-atacado {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 0 0; padding: 12px;
  border-radius: 10px;
  background: #f1f5f9; color: #1e293b;
  font-weight: 600; text-decoration: none;
}
.sidebar-atacado:hover { background: #e2e8f0; color: #1e293b; }

.btn-whats-contato {
  display: inline-flex; align-items: center; gap: 5px;
  background: #058101;
  color: #ffffff;
  border-radius: 20px;
  padding: 6px 12px;
  font-weight: 500;
  height: 40px;
}
.btn-whats-contato:hover { opacity: .9; }

.btn-cart {
  background: var(--wpp-bg) !important;
  color: var(--wpp-text) !important;
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-cart:hover { opacity: .9; }

.badge-cart-count {
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.badge-cart-count[data-zero="true"] { display: none; }

.btn-painel { border-radius: 20px; height: 40px;}

.hamburger {
  background: none; border: none;
  font-size: 35px; cursor: pointer;
  color: var(--ch-text);
  padding: 0px !important;
  height: 45px;
}
.hamburger:hover{
  background: none; border: none;
  color: var(--wpp-bg);
}

/* Overlay de busca */
.busca-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%); opacity: 0;
  transition: all .35s ease;
  z-index: 999;
}
.busca-overlay.ativa { transform: translateY(0); opacity: 1; }

.busca-container {
  display: flex; align-items: center; gap: 15px;
  width: 90%; max-width: 700px;
  border-bottom: 1px solid #ddd; padding: 10px;
}
.busca-container form { width: 90%; max-width: 700px; }
.busca-container input {
  width: 100%; flex: 1; border: none; outline: none;
  font-size: 18px; background: none;
}
.busca-container button {
  border: none; background: none; cursor: pointer; font-size: 20px; color: #666;
}

.backdrop { display: none; }

/* ── Topbar ─────────────────────────────────────────────────────── */
.top-bar {
  padding: 4px 0;
  background: var(--ctb);
  color: var(--ctb-text);
}
.top-bar a { color: var(--ctb-text); }

.topbar-wrapper {
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.topbar-swiper { width: 600px; overflow: hidden; }
.topbar-swiper .swiper-slide { text-align: center; white-space: nowrap; }
.topbar-nav {
  background: transparent; border: none;
  font-size: 18px; cursor: pointer; flex-shrink: 0;
  color: var(--ctb-text);
}

@media (max-width: 768px) {
  .topbar-swiper { width: 360px; }
  .topbar-nav { display: none; }
}

/* ── Barra de busca moderna ─────────────────────────────────────── */
.bar-busca-section {
  width: 100%;
  padding: 10px 0;
  background: var(--ch);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.bar-busca-form {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}
.bar-busca-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 30px;
  padding: 4px 6px 4px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .2s ease;
}
.bar-busca-input-wrap:focus-within {
  border-color: var(--cor-titulo, #333);
  box-shadow: 0 4px 12px rgba(0,0,0,.09);
}
.bar-busca-icon {
  font-size: 16px;
  color: #888;
  margin-right: 10px;
  flex-shrink: 0;
}
.bar-busca-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  padding: 6px 0;
}
.bar-busca-input::placeholder {
  color: #888;
}
.bar-busca-clear {
  color: #aaa;
  font-size: 16px;
  padding: 0 8px;
  transition: color .15s;
}
.bar-busca-clear:hover {
  color: #666;
}
.bar-busca-btn {
  background: var(--cor-titulo, #333);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
  flex-shrink: 0;
}
.bar-busca-btn:hover {
  opacity: .9;
}

@media (max-width: 576px) {
  .bar-busca-section { padding: 8px 10px; }
  .bar-busca-input-wrap { padding: 3px 5px 3px 12px; }
  .bar-busca-input { font-size: 13px; }
  .bar-busca-btn { padding: 5px 14px; font-size: 12px; }
}

/* ── Menu de categorias (Scroll Horizontal no Mobile para as 3 Opções) ── */
.bottom-bar {
  width: 100%;
}

/* ── Menu Tradicional ───────────────────────────────────────────── */
.menu-tradicional {
  background: var(--cm) !important;
  display: flex;
  align-items: center;
  overflow: hidden;         /* contém o scroll interno sem vazar */
}

.menu-tradicional .container {
  flex: 1 1 auto;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.menu-tradicional .container::-webkit-scrollbar { display: none; }

.menu-tradicional .categories {
  display: flex !important;
  flex-wrap: nowrap !important;
  list-style: none;
  margin: 0 auto;           /* centraliza quando cabe */
  padding: 0 8px;
  width: max-content;       /* encolhe ao tamanho real dos itens */
  gap: 0;
}

/* Cada item: não encolhe nunca */
.menu-tradicional .categories > li {
  flex: 0 0 auto !important;
  list-style: none;
}

/* Esconde sub-listas — tudo aparece no mesmo nível flat */
.menu-tradicional .categories > li > ul {
  display: none;
}

.menu-tradicional .categories a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--cm-link) !important;
  background: var(--cm-link-bg);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.menu-tradicional .categories a:hover {
  background: var(--cm-link-bg-hover);
  color: var(--cm-link-hover) !important;
}

/* ── Menu Tags / Grid ───────────────────────────────────────────── */
/* wrapper que segura as setas + a faixa de scroll */
.cs-bottom-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--cm) !important;
}

/* botões de seta — visíveis só em telas largas */
.menu-scroll-btn {
  display: none; /* oculto no mobile */
  flex: 0 0 auto;
  background: #FFF;
  border: none;
  color: var(--cm-link);
  font-size: 2rem;
  line-height: 1;
  padding: 0 10px;
  cursor: pointer;
  transition: opacity .2s;
  z-index: 2;
  margin: 0px 8px;
}
@media (min-width: 768px) {
  .menu-scroll-btn { display: block;
  color: var(--cm-link-bg);
  border:1px solid var(--cm-link-bg);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  }
  
}

.cs-bottom-bar {
  flex: 1 1 auto;
  background: var(--cm) !important;
  padding: 10px 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.cs-bottom-bar::-webkit-scrollbar { display: none; }

.menu-categorias-tags {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  padding: 4px 8px;
  margin: 0 auto;        /* centraliza quando cabe na tela */
  width: max-content;
  scroll-snap-type: x mandatory;
}
.menu-categorias-tags li {
  flex: 0 0 auto !important;
  scroll-snap-align: start;
}
.menu-categorias-tags a {
  display: inline-block; padding: 8px 14px; border-radius: 15px;
  font-size: .9rem; font-weight: 600;
  background: var(--cm-link-bg); color: var(--cm-link) !important;
  white-space: nowrap;
}
.menu-categorias-tags a:hover {
  background: var(--cm-link-bg-hover); transform: scale(1.03);
}
@media (max-width: 480px) {
  .menu-categorias-tags a { font-size: .85rem; padding: 7px 12px; }
}

/* ── Menu Instagram (stories) ───────────────────────────────────── */
/* Wrapper de scroll */
.menu-instagram-bar {
  flex: 1 1 auto;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.menu-instagram-bar::-webkit-scrollbar { display: none; }

.category-stories {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  padding: 6px 12px;
  margin: 0 auto;           /* centraliza quando cabe */
  width: max-content;       /* encolhe ao tamanho real dos itens */
  scroll-snap-type: x mandatory;
}

.category-item {
  flex: 0 0 auto !important;
  min-width: 70px;
  max-width: 80px;
  scroll-snap-align: start;
}
.category-img { display: flex; justify-content: center; }
.category-img img {
  width: 70px; height: 70px;
  border-radius: 50%; object-fit: cover;
  padding: 2px;
}
.category-name { font-size: 11px; display: block; text-align: center; margin-top: 3px; white-space: normal; }
.category-name a { color: var(--cm-link) !important; }
.category-name a:hover { color: var(--cm-link-hover) !important; }

/* Links de menu genérico */
.cor_menu_bg_link {
    background: var(--cm-link-bg) !important;
    color: var(--cm-link) !important;
    border-radius: 10px;
    /*border: 1px solid #E5E5E5; */
    padding: 5px;
}

.cor_menu_bg_link:hover {
    filter: brightness(0.9); /* Deixa 10% mais escuro no hover (use 1.1 para clarear) */
    cursor: pointer;
}
.category-item:hover {
  background: var(--cm-link-bg-hover) !important;
  color: var(--cm-link-hover) !important;
  border-radius: 10px;
}
.category-item:hover a{
  color: var(--cm-link-hover) !important;
}

/* ── Sidebar mobile ─────────────────────────────────────────────── */
.sidebar {
  position: fixed; top: 0; left: -100%;
  width: 80%; max-width: 320px; height: 100%;
  background: #fff; box-shadow: 2px 0 10px rgba(0,0,0,.15);
  z-index: 1050; transition: left .3s ease;
  display: flex; flex-direction: column;
}
.sidebar.active { left: 0; }

.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1040; opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.sidebar-header {
  display: flex; align-items: center; gap: 10px;
  padding: 1rem; border-bottom: 1px solid #eee;
}
.sidebar-header .search-box { flex: 1; position: relative; }
.sidebar-header .search-box input {
  width: 100%; border-radius: 30px; border: 1px solid #ddd;
  padding: 8px 40px 8px 14px; font-size: 14px;
}
.sidebar-header .search-box button {
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%); border: none; background: none; color: #777;
}

.close-sidebar {
  background: transparent; border: none;
  font-size: 2rem; color: #666; cursor: pointer;
}

.sidebar-content {
  flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
}
.sidebar-content::-webkit-scrollbar { width: 6px; }
.sidebar-content::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

.sidebar-title { font-size: 12px; text-transform: uppercase; color: #888; margin: 15px 0 10px; }

.sidebar-footer {
  font-size: 12px; color: #999; text-align: center;
  padding: 12px; border-top: 1px solid #eee; background: #fafafa;
}

.menu-container { position: relative; width: 100%; overflow: hidden; transition: height .3s ease; }
.menu-level { position: absolute; top: 0; left: 100%; width: 100%; transition: left .3s ease; }
.menu-level.active { left: 0; }
.menu-level.prev { left: -100%; }

.menu-back {
  display: flex; align-items: center; gap: 6px;
  border: none; background: none; font-size: 15px; color: #333;
  margin-bottom: 10px; cursor: pointer;
}

.sidebar-menu li { border-bottom: 1px solid #f1f1f1; }
.sidebar-menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 4px; text-decoration: none; color: #333;
}
.sidebar-menu li a:hover { background: #f6f6f6; padding-left: 10px; }

.menu-right { display: flex; align-items: center; gap: 10px; }
.menu-arrow { font-size: 14px; color: #999; }

/* ── Grid de produtos ───────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 8px;
  justify-content: center;
  /* mobile: 2 colunas por padrão */
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 265px), 1fr));
  }
  .offcanvas { --bs-offcanvas-width: 550px !important; }
}

/* Na página de categoria e busca (com sidebar): mobile 2 colunas, desktop 4 colunas */
.page-categoria .grid,
.page-busca .grid {
  justify-content: start;
  grid-template-columns: repeat(var(--grid-cols, 2), 1fr);
}
@media (min-width: 768px) {
  .page-categoria .grid,
  .page-busca .grid {
    grid-template-columns: repeat(var(--grid-cols, 4), 1fr);
  }
}

/* Modo lista */
.list { display: flex; flex-direction: column; gap: 6px; }

.produto-lista-item {
  padding: 10px; background: #fff; gap: 10px;
  border: 1px solid #f7f7f7; border-radius: 20px;
  display: flex; align-items: center;
}
.produto-lista-item:hover { background: #f7f7f7; border-color: #eee; }

.produto-lista-img {
  width: 100px !important; height: 100px !important;
  object-fit: cover; border-radius: 8px;
}
.produto-lista-info h4 { font-size: 16px; margin: 0; }
.produto-lista-acoes { display: flex; align-items: start; }

@media (max-width: 768px) {
  .produto-lista-img { width: 75px !important; height: 75px !important; }
}

/* ── Cards de produto ───────────────────────────────────────────── */
.btn-add-carrinho {
  background: var(--card-btn-bg) !important;
  color: var(--card-btn-text) !important;
  border-radius: 20px;
  border: 1px solid var(--card-btn-bg-hover);
  font-weight: bold;
}
.btn-add-carrinho:hover {
  background: var(--card-btn-bg-hover) !important;
  color: var(--card-btn-text-hover) !important;
}

.price { color: var(--price-color); font-size: var(--price-size); }
.price-de { color: #666; font-size: 14px; text-decoration: line-through; display: block; }

.text-parcelamento { font-size: 12px; color: #666; }

.produtoNome { font-size: 14px; line-height: 1.3; }

/* Badge de desconto */
.badge-desconto {
  position: absolute; top: 0; right: 0; margin: 8px;
  background: #e53935; color: #fff; font-size: 11px;
  font-weight: 700; padding: 2px 8px; border-radius: 20px;
}

/* ── Página de produto ──────────────────────────────────────────── */
.page-produto { background: #f9f9f9; padding: 5px; max-width: 1100px; margin: 10px auto;}
.container-produto { padding: 10px 20px; }

.product-attributes h1 { color: var(--titulo-color); font-size: var(--price-size); }
.product-attributes ul { margin-left: 30px !important; }

.product-title h1 { color: var(--titulo-color); }

/* ── Botão Curtir (ao lado do título) ──────────────────────────── */
.btn-curtir {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #c0c0c0;
  font-size: 18px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .1s;
  margin-top: 4px;
}
.btn-curtir:hover:not(:disabled) {
  color: #e53935;
  border-color: #e53935;
  transform: scale(1.1);
}
.btn-curtir.curtido,
.btn-curtir:disabled.curtido {
  color: #e53935;
  border-color: #e53935;
  background: #fff5f5;
  cursor: default;
}

.is_related {
  background: var(--ctb); color: var(--ctb-text);
  padding: 8px 20px;
}
.is_related #containerProdutos {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

.is_destaque, .is_promocao { padding-top: 10px; }

@media (max-width: 768px) {
  .page-produto { background: #fff; padding: 1px; }
  .product-title { margin-top: 20px; }
}

/* ── Sidebar de filtros (categoria) ────────────────────────────── */
.filtros-box { padding: 7px 10px; border: 1px solid #e5e5e5; border-radius: 5px; background:#FFF; }
.filtros-box h5 { font-size: 16px !important; }

.filtro-grupo { margin-bottom: 8px; }
.filtro-header { cursor: pointer; font-weight: 600; padding: 4px 0; }

.cat-item { padding: 3px 0; display: flex; }
.cat-item a { color: var(--ch-text) !important; }

.nivel-0 { font-weight: 600; color: #000 !important; }
.nivel-1 { padding-left: 15px; font-size: .95rem; color: #555 !important; }
.nivel-2 { padding-left: 30px; font-size: .9rem; color: #777 !important; }

.cat-right { display: flex; align-items: center; gap: 6px; }
.cat-count { font-size: 12px; color: #999; }
.cat-arrow { font-size: 12px; color: #bbb; }
.active-cat { color: #000; font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--cf-bg);
  color: var(--cf-text) !important;
  width: 100%;
  padding: 30px 0;
}
footer .text-muted { color: var(--cf-text) !important; }
footer a { color: var(--cf-text); }
footer a:hover { opacity: .8; }

.footer-logo { max-width: 120px; }
.footer-secure img { max-width: 100px; }

.feitocom { font-size: 16px; }
.feito-com { color: #0D74DF; font-weight: 600; }

/* ── Rating / Avaliações ─────────────────────────────────────────── */
.rating { font-size: 14px; }
.avatar-review {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 13px; font-weight: 700;
}

/* ── Swiper produto (galeria) ────────────────────────────────────── */
.product { display: flex; gap: 12px; }
.mySwiper { width: 80px; flex-shrink: 0; height: 550px; max-height: 90vh; }
@media (max-width: 768px) {
  .mySwiper { height: 400px; }
}

.mySwiper .swiper-slide { width: 80px; height: 80px; cursor: pointer; opacity: .6; border-radius: 6px; overflow: hidden; }
.mySwiper .swiper-slide-thumb-active { opacity: 1; border: 2px solid var(--ch); }
.mySwiper.swiper-hidden { display: none; }
.mySwiper2 { flex: 1; width: 0; min-width: 0; overflow: hidden; }
.mySwiper2 .swiper-slide { width: 100% !important; }
.mySwiper2 img {
  width: 100%;
  height: auto; /* width/height do HTML só reservam espaço; a proporção vem do aspect-ratio */
  aspect-ratio: var(--card-img-ratio, 1/1);
  object-fit: cover;
  border-radius: 8px;
}

.play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px; color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.6);
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
nav { padding: 0 5px; }

/* ── Botão CTA genérico ──────────────────────────────────────────── */
.btn-whats {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border: none;
}
.btn-whats:hover { opacity: .9; }

/* ── Home container ──────────────────────────────────────────────── */
.home-container { padding: 5px; margin: 0 auto; }
.home-container img { width: 100%; border-radius: 15px; }

/* ── Misc ────────────────────────────────────────────────────────── */
.text-parcelamento { font-size: .8rem; color: #666; }

/* Ferramentas de grid na listagem */
.tools-grid { font-size: 13px; }
.btn-grid { font-size: 18px; }
.btn-grid.active { color: var(--ch); }

/* Como funciona box */
.como-funciona-box { background: #f9f9f9; border-radius: 8px; padding: 12px 16px; }

/* Filtro offcanvas mobile */
.offcanvas-body { padding: 1rem; }

/* Texto de filtros ativos */
.filtros-ativos-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f0f0f0; border-radius: 20px;
  padding: 2px 10px; font-size: 12px; margin: 2px;
}

/* Seção depoimentos */
.secao-depoimentos { padding: 20px 0; }


/* ── Produto card (vitrine / lista) ─────────────────────────────── */
.produto-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.produto-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); transform: translateY(-2px); }

/* Vitrine */
.produto-card.vitrine .img-box { position: relative; overflow: hidden; }
.produto-card.vitrine .img-box img {
  width: 100%; aspect-ratio: var(--card-img-ratio, 1/1); object-fit: cover;
  transition: transform .3s ease;
}
.produto-card.vitrine:hover .img-box img { transform: scale(1.04); }
.produto-card.vitrine .info { padding: 8px 10px 10px; }
.produto-card.vitrine .produto-titulo {
  font-size: 13px; font-weight: 500; line-height: 1.35;
  /* altura fixa = 2 linhas exatas */
  height: calc(1.35em * 2);
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  color: #222; margin-bottom: 6px;
}
/* Área de preço: altura fixa (comporta preço simples ou De/Por na mesma linha) */
.produto-card.vitrine .preco {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap;
  margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--price-color);
  height: 1.4em; overflow: hidden;
}
.produto-card.vitrine .preco .old {
  font-size: 11px; color: #aaa;
  text-decoration: line-through; font-weight: 400;
  white-space: nowrap;
}
.produto-card.vitrine .preco .promo { color: var(--price-color); white-space: nowrap; }

/* Campos extras do card (categoria / atributo) */
.produto-card .card-extra {
  margin: 0 0 4px; font-size: 11px; line-height: 1.3; color: #888;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.produto-card .card-categoria { text-transform: uppercase; letter-spacing: .02em; }

/* Botão curtir sobre a imagem do card */
.btn-curtir-card {
  position: absolute; right: 6px; bottom: 6px; z-index: 3;
  width: 30px; height: 30px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
  color: #777; font-size: 15px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: color .15s, transform .1s;
}
.btn-curtir-card:hover:not(:disabled) { color: #e53935; transform: scale(1.1); }
.btn-curtir-card.curtido,
.btn-curtir-card:disabled.curtido { color: #e53935; cursor: default; }
.produto-card.lista .btn-curtir-card { width: 24px; height: 24px; font-size: 12px; right: 3px; bottom: 3px; }

/* Badge overlay no card vitrine */
.badge-overlay {
  position: absolute; top: 6px; left: 6px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; z-index: 2;
}

/* Etiqueta compacta: só o ícone; o texto abre no hover/foco */
.card-etiqueta {
  display: inline-flex; align-items: center; height: 24px;
  padding: 0 6px; font-size: 12px; line-height: 1;
  overflow: hidden; white-space: nowrap; cursor: default; outline: 0;
}
.card-etiqueta i { margin: 0 !important; font-size: 13px; }
.card-etiqueta .card-etiqueta-txt {
  max-width: 0; opacity: 0; margin-left: 0;
  transition: max-width .25s ease, opacity .2s ease, margin-left .25s ease;
}
.card-etiqueta:hover .card-etiqueta-txt {
  max-width: 120px; opacity: 1; margin-left: 5px;
}

/* Lista */
.produto-card.lista {
  display: flex; align-items: center; gap: 10px;
  border-radius: 12px; padding: 8px;
  border: 1px solid #f0f0f0;
}
.produto-card.lista a { display: flex; gap: 10px; width: 100%; }
.produto-card.lista .img-box { position: relative; flex-shrink: 0; width: 90px; height: 90px; border-radius: 8px; overflow: hidden; }
.produto-card.lista .img-box img { width: 100%; height: 100%; object-fit: cover; }
.produto-card.lista .info { flex: 1; }
.produto-card.lista h3 { font-size: 14px; font-weight: 500; line-height: 1.35; color: #222; margin-bottom: 4px; }
.produto-card.lista .preco { font-size: 14px; font-weight: 700; color: var(--price-color); margin: 0; }
.produto-card.lista .preco .old { font-size: 11px; color: #aaa; text-decoration: line-through; }

/* ── Props produto (disponibilidade, frete, etc) ────────────────── */
.props-produto { font-size: 13px; margin: 4px 0; display: flex; align-items: center; gap: 4px; }

/* ── Atributos do produto ────────────────────────────────────────── */
.attributes-bb {
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 12px;
  font-size: 16px;
}

/* ── Seções de home ──────────────────────────────────────────────── */
.secao { padding-top: 0px; }

.section-title {
    font-weight: 700;
    font-size: 1.8rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(34, 34, 34);
    margin: 1.5rem 0px;
}

.section-title.depoimentos { font-size: 1.4rem; }
.section-title.lancamentos { font-size: 1.4rem; }
.section-title.categoria   { font-size: 1.4rem; }

/* ====== ESTILO GERAL DAS SEÇÕES ====== */
.section-title {
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.5rem 0 1.5rem;
  color: #222;
}

/* ====== LINHA DECORATIVA ABAIXO DO TÍTULO ====== */
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, #ffb400);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ====== VERSÃO COLORIDA OPCIONAL POR SEÇÃO ====== */
.section-title.promocoes::after {
  background: linear-gradient(90deg, #ff0000, #ff6a00);
}
.section-title.lancamentos::after {
  background: linear-gradient(90deg, #007bff, #00c6ff);
}
.section-title.depoimentos::after {
  background: linear-gradient(90deg, #00b894, #55efc4);
}
.section-title.categoria::after {
  background: linear-gradient(90deg, #6c5ce7, #a29bfe);
}

/* ── Banners Swiper ──────────────────────────────────────────────── */
/* Banners lado a lado: altura fixa de 350px e largura proporcional à imagem
   (slidesPerView: 'auto'). Nada é cortado. */
.secao-banners .banner-slide {
  width: auto;
  max-width: 100%;
  height: auto;
  line-height: 0;
}
.banner-img {
  display: block;
  height: 350px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* ── Siga-nos ────────────────────────────────────────────────────── */
.secao-siganos .social-link {
  font-size: 3.5rem; color: #555;
  transition: color .2s ease, transform .2s ease;
}
.secao-siganos .social-link:hover { color: #111; transform: scale(1.12); }
.siganos-call { color: #666; font-size: 1.05rem; }

/* ── Produtos relacionados ───────────────────────────────────────── */
.produtos-relacionados { padding-bottom: 16px; }

/* ── Página institucional ────────────────────────────────────────── */
.pagina-conteudo { line-height: 1.75; font-size: 15px; }
.pagina-conteudo p { margin-bottom: 10px; }

/* ── Páginas legais (políticas estáticas) ────────────────────────── */
.pagina-legal {
  max-width: 780px;
  line-height: 1.8;
  font-size: 15px;
  color: #1f2328;
}
.pagina-legal p   { margin-bottom: 12px; }
.pagina-legal ul  { padding-left: 1.4rem; margin-bottom: 12px; }
.pagina-legal li  { margin-bottom: 6px; }
.pagina-legal a   { color: var(--ch); text-decoration: underline; }
.pagina-legal a:hover { opacity: .8; }

/* cabeçalho da página legal */
.legal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 8px;
}
.legal-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.legal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ch);
  color: var(--ch-text);
  font-size: 1.7rem;
  flex-shrink: 0;
}

/* seções h2 */
.pagina-legal h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2328;
}

/* caixa de contato no rodapé de cada política */
.legal-contact-box {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--ch);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
}

/* links de política no footer */
.footer-politicas {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 12px 0 4px;
  margin-top: 4px;
}
.footer-politicas a {
  font-size: 12px;
  opacity: .75;
  white-space: nowrap;
}
.footer-politicas a:hover { opacity: 1; }
.footer-politicas .separator {
  opacity: .35;
  margin: 0 6px;
}

/* ── Aside sidebar filtros ───────────────────────────────────────── */
.aside {
  font-size: 13px;
  min-width: 0;    /* evita overflow que quebra o layout no mobile */
  word-break: break-word;
}

/* ================================================================
   HEADERS 2 / 3 / 4
   Comuns: meta-item, dot-online, logo quadrado
   ================================================================ */

.meta-item {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ch-text);
}
.dot-online {
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366; display: inline-block; margin-right: 3px; vertical-align: middle;
}

/* Logo quadrado (Header 4) */
.logo-loja-quadrado {
  width: 72px; height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.45);
}

.h1-logo {
  width: var(--logo-size, 100px); height: var(--logo-size, 100px); margin-bottom: 10px;
}
/* quando sem borda, não forçar quadrado */
.h1-logo.logo-loja-sem-borda {
  width: auto; height: auto;
  max-width: var(--logo-size, 100px);
  max-height: calc(var(--logo-size, 100px) * 0.75);
}

.lbl-texto-cart{
  font-size: 14px;;
}

/* ── Header 2 — Centralizado ───────────────────────────────────── */
.header-2 {
  background: var(--ch);
  border-bottom: 1px solid rgba(0,0,0,.08);
  width: 100%;
}

.h2-wrapper {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 16px 16px;
}

.h2-logo-link { display: block; }

.h2-logo {
  width: var(--logo-size, 80px); height: var(--logo-size, 80px);
  margin-bottom: 10px;
}
/* quando sem borda, não forçar quadrado */
.h2-logo.logo-loja-sem-borda {
  width: auto; height: auto;
  max-width: var(--logo-size, 80px);
  max-height: calc(var(--logo-size, 80px) * 0.75);
}

.h2-name {
  font-size: 22px; font-weight: 600;
  color: var(--ch-text); margin: 0;
}

.h2-tagline {
  font-size: 14px; color: var(--ch-text); opacity: .75;
  margin: 4px 0 0;
}
@media (max-width: 768px) {
  .h2-tagline {
    text-align: center;
  }

}

.h2-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 8px 0 0; color: var(--ch-text); opacity: .7;
}

.h2-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 14px;
}

/* ── Header 3 — Minimalista (navbar de uma linha) ───────────────── */
.header-3 {
  width: 100%;
  background: var(--ch);
  border-bottom: 1px solid rgba(0,0,0,.09);
  position: sticky;
  top: 0;
  z-index: 100;
}

.h3m-bar { width: 100%; }

.h3m-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  height: auto;
  padding: 8px 12px;
}

/* Marca: logo + nome com padding seguro */
.h3m-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
}
.h3m-logo-img {
  max-height: var(--logo-size, 86px);
  width: auto;
  object-fit: contain;
}

/* Nav central */
.h3m-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: visible;   /* não cortar submenus absolutos */
  scrollbar-width: none;
}
.h3m-nav::-webkit-scrollbar { display: none; }

.h3m-link {
  font-size: 14px; font-weight: 500;
  color: var(--ch-text);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .15s, opacity .15s;
  text-decoration: none;
}
.h3m-link:hover { background: rgba(0,0,0,.06); }

/* Dropdown de subcategorias */
.h3m-dropdown { position: static; display: flex; align-items: center; }

.h3m-chevron { font-size: 11px; transition: transform .2s; }

/* Botão seta — abre/fecha o submenu ao clique */
.h3m-drop-btn {
  background: transparent;
  border: none;
  padding: 4px 4px 4px 0;
  cursor: pointer;
  color: var(--ch-text);
  display: flex; align-items: center;
  line-height: 1;
}
.h3m-drop-btn:hover { opacity: .7; }

.h3m-submenu {
  position: fixed;
  top: 99px;   /* altura do .h3m-inner */
  left: auto;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px 0;
  z-index: 200;
  list-style: none;
  margin: 0;
}
/* Fechado por padrão; JS remove a classe para abrir */
.h3m-submenu--fechado { display: none !important; }

.h3m-submenu li a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: #1f2328;
  text-decoration: none;
  white-space: nowrap;
}
.h3m-submenu li a:hover { background: #f5f5f5; }

/* Ícones de ação */
.h3m-actions {
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 0;
}

.h3m-icon-btn {
  background: transparent;
  border: none;
  color: var(--ch-text);
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  position: relative;
}
.h3m-icon-btn:hover { background: rgba(0,0,0,.07); }

/* Badge do carrinho */
.h3m-cart-btn {
  position: relative !important;
}
.h3m-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.h3m-cart-count:empty,
.h3m-cart-count[data-zero="true"] { display: none !important; }

/* Logo circular no minimalista: menor e com respiro */
.h3m-logo-img.logo-loja-com-borda {
  max-width: var(--logo-size, 76px) !important;
  max-height: var(--logo-size, 65px) !important;
  padding: 2px;
}
.h3m-logo-img.logo-loja-sem-borda {
  max-width: var(--logo-size, 100px);
  max-height: calc(var(--logo-size, 100px) * 0.75);
  width: auto !important;
  height: auto !important;
}

/* Botão seguir sobre fundo colorido */
.h4-btn-seguir {
  background: rgba(255,255,255,.18) !important;
  color: var(--ch-text) !important;
  border: 1px solid rgba(255,255,255,.4) !important;
}
.h4-btn-seguir:hover { background: rgba(255,255,255,.3) !important; }

.h4-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.h4-actions-bottom { display: flex; gap: 8px; align-items: center; }

/* ── Header 4 — Hero + Capa ─────────────────────────────────────── */
.header-4 { width: 100%; }

/* Banner */
.h4-banner {
  padding: 35px 0 2px;   /* padding-bottom grande para dar espaço ao logo que sai */
  position: relative;
  min-height: 160px;
  background: var(--ch);
}
/* Sem capa: banner menor */
.header-4:not(.header-4--capa) .h4-banner {
  padding: 20px 0 16px;
}

.h4-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.28);
}

.h4-content {
  position: relative; z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.h4-text { flex: 1; min-width: 0; }

/* Com capa (logo central): o texto ocupa só o espaço à esquerda do logo,
   quebrando em 2, 3 ou 4 linhas sem nunca passar por baixo dele */
@media (min-width: 769px) {
  .header-4--capa .h4-text {
    flex: 0 1 auto;
    max-width: calc(50% - var(--logo-size, 100px) / 2 - 16px);
  }
}

.h4-name {
  font-size: 22px; font-weight: 600;
  color: var(--ch-title); margin: 0;
}
.h4-name--capa {
  color: var(--ch-text);
}

.h4-tagline {
  font-size: 14px; color: var(--ch-text); opacity: .8; margin: 4px 0 0;
}

/* Desktop: ações agrupadas no canto direito */
.h4-actions-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.h4-act-left  { display: flex; align-items: center; gap: 6px; }
.h4-act-right { display: flex; align-items: center; gap: 6px; }

/* Mobile: ocupa toda a largura, esquerda vs direita */
@media (max-width: 767px) {
  .h4-actions-top {
    width: 100%;
    justify-content: space-between;
  }
}

/* Logo flutuante: centralizado, metade saindo para baixo do banner */
.h4-logo-float {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
}

/* Sem capa: logo centralizado na barra inferior */
.h4-logo-wrap {
  display: block;
  margin: 0 auto;
}

.h4-logo-img {
  width: var(--logo-size, 80px); height: var(--logo-size, 80px);
  display: block;
  margin: 0 auto;
}

/* Logo com borda circular estilo rede social */
.h4-logo-circle {
  width: var(--logo-size, 100px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.h4-bottom {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 0px 0;
}

/* Com capa: reserva a metade do logo que sai do banner (+ folga), para que
   ele não invada a barra de busca / conteúdo abaixo (desktop e mobile) */
.header-4--capa .h4-bottom {
  height: calc(var(--logo-size, 100px) / 2 + 8px);
  padding: 0;
  background: var(--ch);   /* mesma cor da barra de busca, sem emenda */
  border-bottom: 0;
}
/* Sem capa: centraliza tudo na barra inferior */
.header-4:not(.header-4--capa) .h4-bottom-inner {
  justify-content: center;
}

.h4-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── Responsividade headers 1/2/3/4 ───────────────────────────────── */
@media (max-width: 768px) {
  /* Oculta botão de busca no header no mobile pois já existe a barra de busca direta abaixo */
  .btn-busca, #abrirBusca {
    display: none !important;
  }
  /* Header 1 centralizado no mobile */
  .header-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .loja-info {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .loja-texto {
    text-align: center;
  }
  .loja-meta {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .loja-meta span {
    margin-right: 0;
  }
  .loja-acoes {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }

  /* Header 4 organizado no mobile */
  .h4-content { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .h4-actions-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .h4-act-left, .h4-act-right {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  /* Mobile: hambúrguer à esquerda, carrinho à direita, WhatsApp oculto */
  .h4-act-right { display: contents; }
  .h4-act-right .hamburger { order: -1; }
  .h4-act-right .btn-cart  { order: 1; }
  .header-4 .h4-act-left .btn-whats-contato { display: none; }

  /* Com capa no mobile: logo dentro do banner, centralizado entre menu e carrinho */
  .header-4--capa .h4-banner {
    padding: 12px 0;
    min-height: 0;
  }
  .header-4--capa .h4-actions-top {
    min-height: var(--logo-size, 100px);   /* a linha tem a altura do logo */
  }
  .header-4--capa .h4-logo-float {
    top: 12px;
    bottom: auto;
    transform: translateX(-50%);
  }
  /* Sem faixa reservada: some no mobile (o logo já está dentro do banner) */
  .header-4--capa .h4-bottom { display: none; }
  /* Texto e "Seguir" não cabem na linha do logo no mobile */
  .header-4 .h4-text,
  .header-4 .h4-btn-seguir { display: none !important; }

  .h4-bottom-inner { gap: 6px; justify-content: center; }
  .h4-meta { font-size: 11px; justify-content: center; }
  .h2-name { font-size: 18px; }

  /* Header 3 Minimalista no mobile */
  .h3m-inner { min-height: 56px; padding: 6px 10px; gap: 8px; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════
   COMPLEMENTOS — classes usadas por componentes/footer
   ═══════════════════════════════════════════════════════ */

/* Footer: links de redes sociais */
.footer-links-sociais { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; justify-content: center; }
.footer-links-sociais a { font-size: 20px; color: var(--cf-text); }
.footer-links-sociais a:hover { opacity: .75; }

/* Footer: bloco de rodapé */
.footer-bottom { font-size: 12px; color: var(--cf-text); }
.footer-info { font-size: 13px; }

/* Footer: imagem do selo seguro */
.footer-secure { opacity: .85; }

/* Classe adicionada ao footer quando há produto (adiciona padding inferior) */
.product-footer { padding-bottom: 20px; }

/* Seção de conteúdo HTML livre */
.home-secao-texto .conteudo-texto { line-height: 1.75; font-size: 15px; }
.home-secao-texto .conteudo-texto p { margin-bottom: 10px; }
.home-secao-texto .conteudo-texto img { border-radius: 8px; max-width: 100%; }

/* Review item */
.review-item { margin-bottom: 16px; }

/* Ícones de meios de pagamento */
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;}
.payment-icons img { height: 28px; width: auto; border-radius: 3px; }

/* Rating modal — estrelas interativas */
.rating-stars .bi { transition: color .15s; }

/* Badge customizado outline (etiquetas) */
.badge-outline-danger  { border: 1px solid #dc3545; color: #dc3545; background: #e6b7bc }
.badge-outline-primary { border: 1px solid #0d6efd; color: #0d6efd; background: #cbe0ff; }
.badge-outline-success { border: 1px solid #198754; color: #198754; background: #d5f8e8; }
.badge-outline-warning { border: 1px solid #ffc107; color: #856404; background: #f7e9bf; }

/* Página de produto — padding inferior mobile (evita que o footer tape o botão de compra) */
@media (max-width: 768px) {
  body.catalogo.page-produto-body { padding-bottom: 70px; }
}


.vendido-por-box{
  background:#f9f9f9;
  padding:10px;
  border-radius:15px;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--cor-titulo) !important;
  background-color: #FFF;
  padding: 10px;
  border-radius: 50%;
}

.secao-carrossel-prev,
.secao-carrossel-next {
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ── Carrossel das seções (destaques / lançamentos / promoções) ──────────── */

/* Wrapper externo: segura a posição das setas fora do clip */
.secao-carrossel-wrap {
  position: relative;
  padding: 0 28px;           /* abre espaço lateral para as setas */
}

/* O elemento .swiper clipa normalmente */
.secao-carrossel {
  overflow: hidden;
}

.secao-carrossel-slide {
  height: auto;              /* slides crescem conforme o conteúdo */
}

/* Setas posicionadas no wrapper, fora do clip do swiper */
.secao-carrossel-wrap .secao-carrossel-prev,
.secao-carrossel-wrap .secao-carrossel-next {
  top: 38%;
}

.secao-carrossel-wrap .secao-carrossel-prev {
  left: 0;
}

.secao-carrossel-wrap .secao-carrossel-next {
  right: 0;
}

/* No mobile, padding menor */
@media (max-width: 576px) {
  .secao-carrossel-wrap {
    padding: 0 22px;
  }
  .secao-carrossel-wrap .swiper-button-prev,
  .secao-carrossel-wrap .swiper-button-next {
    --swiper-navigation-size: 22px;
  }
}

/* ── Offcanvas Carrinho (novo layout) ──────────────────────────────────────── */
.off-cart {
  --bs-offcanvas-width: 380px;
  display: flex;
  flex-direction: column;
  font-family: var(--fonte, system-ui, sans-serif);
}

/* Header */
.off-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.off-cart-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2328;
  display: flex;
  align-items: center;
  gap: 8px;
}

.off-cart-badge {
  background: var(--btn-bg, #3b82d4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.off-cart-close {
  border: none;
  background: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.off-cart-close:hover { color: #1f2328; background: #f3f4f6; }

/* Body com scroll */
.off-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

/* ── Item do carrinho ───────────────────────────────────────────────────────── */
.off-cart-items .cart-item {
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
}
.off-cart-items .cart-item:last-child { border-bottom: none; }

/* Linha 1: Nome | − qtd + | subtotal | lixeira */
.cart-item-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cart-item-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1f2328;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controles de quantidade — tamanho fixo, nunca muda */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #f7f8fa;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2328;
  line-height: 1;
  flex-shrink: 0;
  transition: background .1s;
}
.cart-qty-btn:hover { background: #e5e7eb; }

.cart-qty-val {
  font-size: 13px;
  font-weight: 600;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Subtotal (direita da linha 1) */
.cart-item-subtotal {
  font-size: 13px;
  font-weight: 700;
  color: #1f2328;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Botão remover (lixeira) */
.cart-item-remove {
  border: none;
  background: none;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cart-item-remove:hover { color: #dc2626; }

/* Linha 2: preço unitário */
.cart-item-row2 {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
  padding-left: 0;
}

/* Label de variação (Tam. M · Cor Preta) */
.cart-item-variacao {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #57606a;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 1px 6px;
}

/* Estado vazio */
.off-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  color: #9ca3af;
}

.off-cart-empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
  color: #d1d5db;
}

.off-cart-empty p { font-size: 14px; margin: 0 0 16px; }

.off-cart-link {
  border: none;
  background: none;
  color: var(--btn-bg, #3b82d4);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Footer fixo */
.off-cart-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #fff;
}

.off-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.off-cart-total-label {
  font-size: 14px;
  color: #57606a;
  font-weight: 500;
}

.off-cart-total-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--price-color, #c82f05);
}

.off-cart-btn-checkout {
  width: 100%;
  padding: 13px 20px;
  background: var(--btn-bg, #3b82d4);
  color: var(--btn-text, #ffffff);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.off-cart-btn-checkout:hover  { opacity: .9; }
.off-cart-btn-checkout:active { transform: scale(.98); }
.off-cart-btn-checkout:disabled { opacity: .5; cursor: not-allowed; }

.off-cart-label {
  font-size: 11px;
  font-weight: 600;
  color: #57606a;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 3px;
  display: block;
}

.off-cart-form { margin-bottom: 12px; }

@media (max-width: 480px) {
  .off-cart { --bs-offcanvas-width: 100vw; }
}

.cattalogo-whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cattalogo-whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
}

.cattalogo-gerenciador-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #7c5cd8;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  text-decoration: none;
}

.cattalogo-gerenciador-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
  color: #ffffff;
  background: #6a48c9;
}

.cattalogo-gerenciador-float.with-wpp {
  bottom: 88px;
}

.page-pagina{
  max-width: 900px;
  margin: 20px auto;
}

.qtdCarrinho{
  margin-left: 5px;;
}

.container{
  --bs-gutter-x: .5rem !important;
}