/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--g0); color: var(--dark); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Variáveis ──────────────────────────────────────────────────────────── */
:root {
  --red:     #D4070E;
  --red-dk:  #a8050b;
  --red-lt:  #fff0f0;
  --yellow:  #E4CC24;
  --yellow-dk: #c9b41e;
  --dark:    #111111;
  --dark2:   #1f1f1f;
  --dark3:   #2d2d2d;
  --g0:      #f5f5f7;
  --g1:      #e8e8ec;
  --g2:      #d0d0d8;
  --g3:      #9898a4;
  --g4:      #666672;
  --white:   #ffffff;
  --green:   #2a9d5c;
  --wa:      #25D366;
  --wa-dk:   #1ebe5a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
  --r:       10px;
  --r-sm:    6px;
  --r-lg:    16px;
  --header-h: 105px;
  --catnav-h: 44px;
}

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Top Bar ────────────────────────────────────────────────────────────── */
.top-bar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.top-bar-inner {
  padding: 7px clamp(16px, 2.5vw, 48px);
  display: flex; align-items: center; gap: 20px;
  justify-content: flex-end;
}
.top-bar-item {
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.top-bar-item svg { flex-shrink: 0; opacity: .7; }
.top-bar-item a { color: inherit; transition: color .15s; }
.top-bar-item a:hover { color: var(--yellow); }
.top-bar-sep { color: rgba(255,255,255,.2); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
  background: var(--dark2);
  position: sticky; top: 0; z-index: 200;
  box-shadow: none;
  height: var(--header-h);
}
.header-inner {
  padding: 0 clamp(16px, 2.5vw, 48px);
  height: 100%;
  display: flex; align-items: center; gap: 20px;
}
.logo-link { flex-shrink: 0; display: flex; align-items: center; }
.logo { height: 95px; width: auto; }

.search-form {
  flex: 1;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-form:focus-within {
  background: rgba(255,255,255,.12);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(228,204,36,.15);
}
.search-form input {
  flex: 1; padding: 0 16px;
  border: none; outline: none;
  font-size: 14.5px; font-family: inherit;
  background: transparent; color: #fff;
  height: 44px;
}
.search-form input::placeholder { color: rgba(255,255,255,.45); }
.search-form button {
  padding: 0 18px;
  background: var(--red); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
  height: 44px;
}
.search-form button:hover { background: var(--red-dk); }
.btn-txt { display: inline; }

.header-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm); color: #fff; cursor: pointer;
  flex-shrink: 0; transition: background .15s;
}
.header-hamburger:hover { background: rgba(255,255,255,.18); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.header-whatsapp {
  display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  padding: 0 18px; height: 44px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.header-whatsapp:hover { background: var(--wa-dk); transform: translateY(-1px); }

.header-conta {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: #fff;
  padding: 0 14px; height: 38px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.2);
  white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.header-conta:hover { background: rgba(255,255,255,.22); }
.header-conta-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 640px) { .header-conta span { display: none; } .header-conta { padding: 0 10px; } }

/* ── Categoria nav ──────────────────────────────────────────────────────── */
.cat-nav {
  background: var(--red);
  position: sticky; top: var(--header-h); z-index: 190;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.cat-nav-inner {
  padding: 6px clamp(12px, 2vw, 40px);
  display: flex;
  flex-wrap: wrap;           /* quebra pra próxima linha quando não cabe */
  justify-content: center;   /* pills agrupadas no centro, sem espaçamento excessivo */
  gap: 4px;
  align-items: center;
}
.cat-pill {
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 12.5px; font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background .15s;
  display: flex; align-items: center; gap: 4px;
}
.cat-pill:hover { background: rgba(0,0,0,.12); color: #fff; }
.cat-pill.ativo { background: var(--yellow); color: var(--dark); }
.cat-count {
  font-size: 10px; font-weight: 700;
  background: rgba(0,0,0,.12); color: #fff;
  padding: 1px 6px; border-radius: 10px;
}
.cat-pill.ativo .cat-count { background: rgba(0,0,0,.12); color: var(--dark); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d0d12 0%, #1a0002 35%, #6b0205 70%, var(--red-dk) 100%);
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,7,14,.35) 0%, transparent 70%);
  top: -180px; right: -120px;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(228,204,36,.12) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}
.hero-inner {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.hero-inner > * { animation: fadeUp .6s ease both; }
.hero h1 {
  font-size: 52px; font-weight: 800; color: #fff;
  line-height: 1.12; margin-bottom: 18px;
  animation-delay: 0s;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.7);
  max-width: 500px; margin: 0 auto 28px;
  line-height: 1.65;
  animation-delay: .1s;
}
/* Badges de localização */
.hero-badges {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
  animation-delay: .2s;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  padding: 7px 14px; border-radius: 20px;
  font-size: 12.5px; font-weight: 600;
}
.hero-badge svg { opacity: .8; flex-shrink: 0; }
/* Botões CTA */
.hero-cta {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation-delay: .3s;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  background: #fff; color: var(--red);
  font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.hero-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  background: var(--wa); color: #fff;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 24px rgba(37,211,102,.25);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hero-btn-wa:hover { background: var(--wa-dk); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.35); }
/* Stats */
.hero-stats {
  display: flex; justify-content: center; align-items: center; gap: 0;
  animation-delay: .4s;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  backdrop-filter: blur(8px);
  padding: 20px 32px;
  max-width: 460px; margin: 0 auto;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 1;
}
.hero-stat strong {
  font-size: 26px; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat span { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .8px; }
.hero-stat-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0; margin: 0 24px;
}

/* ── Benefits strip ─────────────────────────────────────────────────────── */
.benefits {
  background: var(--white);
  border-bottom: 1px solid var(--g1);
  box-shadow: var(--shadow-sm);
}
.benefits-inner {
  padding: 0 clamp(16px, 2.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--g1);
  transition: background .15s;
}
.benefit-item:last-child { border-right: none; }
.benefit-item:hover { background: var(--g0); }
.benefit-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--red-lt);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.benefit-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.benefit-text strong { font-size: 13.5px; font-weight: 700; color: var(--dark); }
.benefit-text span { font-size: 12px; color: var(--g4); }

/* ── Page layout ────────────────────────────────────────────────────────── */
.page-wrap {
  padding: 24px clamp(16px, 2.5vw, 48px);
  display: flex; gap: 22px; align-items: flex-start;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar {
  width: 240px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: calc(var(--header-h) + var(--catnav-h) + 16px);
}
.sidebar-box {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g1);
  overflow: hidden;
}
.sidebar-title {
  font-size: 11px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 13px 15px 12px;
  background: var(--dark2);
  border-bottom: 2px solid var(--red);
  display: flex; align-items: center; gap: 7px;
}
.sidebar-title svg { opacity: .75; flex-shrink: 0; }
.sidebar-list {
  max-height: 520px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--g2) transparent;
}
.sidebar-list::-webkit-scrollbar { width: 3px; }
.sidebar-list::-webkit-scrollbar-track { background: transparent; }
.sidebar-list::-webkit-scrollbar-thumb { background: var(--g2); border-radius: 3px; }
.sidebar-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px 10px 16px;
  font-size: 13px; color: #555;
  transition: background .12s, color .12s, padding-left .14s;
  border-bottom: 1px solid var(--g0);
  border-left: 3px solid transparent;
}
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover {
  background: var(--g0); color: var(--dark);
  border-left-color: var(--g2); padding-left: 20px;
}
.sidebar-list li a.ativo {
  color: var(--red); font-weight: 700;
  background: var(--red-lt);
  border-left-color: var(--red);
  padding-left: 20px;
}
.sidebar-cnt {
  font-size: 10.5px; background: var(--g1);
  padding: 2px 8px; border-radius: 10px; color: #888; flex-shrink: 0;
}
.sidebar-list li a.ativo .sidebar-cnt {
  background: rgba(212,7,14,.12); color: var(--red); font-weight: 700;
}

.sidebar-limpar {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 11px; font-size: 12.5px; font-weight: 700;
  color: var(--red); background: var(--red-lt);
  border-top: 1px solid var(--g1);
  transition: background .15s, color .15s;
}
.sidebar-limpar:hover { background: var(--red); color: #fff; }
.sidebar-drawer-footer { display: none; }
.sidebar-wa-btn { display: none; }
.sidebar-store-info { display: none; }

/* Subcategory tree inside sidebar */
.sidebar-parent-row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--g0);
}
.sidebar-parent-item:last-child > .sidebar-parent-row { border-bottom: none; }
.sidebar-cat-link {
  display: flex; justify-content: space-between; align-items: center;
  flex: 1; min-width: 0;
  padding: 10px 6px 10px 16px;
  font-size: 13px; color: #555;
  transition: background .12s, color .12s, padding-left .14s;
  border-left: 3px solid transparent;
}
.sidebar-cat-link:hover { background: var(--g0); color: var(--dark); border-left-color: var(--g2); padding-left: 20px; }
.sidebar-cat-link.ativo { color: var(--red); font-weight: 700; background: var(--red-lt); border-left-color: var(--red); padding-left: 20px; }
.sidebar-cat-link.ativo .sidebar-cnt { background: rgba(212,7,14,.12); color: var(--red); font-weight: 700; }
.sidebar-expand-btn {
  flex-shrink: 0; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: #aaa; transition: color .15s;
}
.sidebar-expand-btn:hover { color: var(--dark); }
.sidebar-expand-btn svg { transition: transform .2s ease; }
.sidebar-expand-btn.open svg { transform: rotate(180deg); }
.sidebar-sub-list { list-style: none; background: var(--g0); border-bottom: 1px solid var(--g1); max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.sidebar-sub-list.open { max-height: 600px; }
.sidebar-sub-link {
  display: block;
  padding: 8px 14px 8px 30px;
  font-size: 12px; color: #666;
  border-left: 3px solid transparent;
  border-top: 1px solid rgba(0,0,0,.04);
  transition: color .12s, background .12s;
}
.sidebar-sub-link:hover { color: var(--dark); background: rgba(0,0,0,.05); border-left-color: var(--g2); }
.sidebar-sub-link.ativo { color: var(--red); font-weight: 700; background: var(--red-lt); border-left-color: var(--red); }

/* ── Conteúdo principal ─────────────────────────────────────────────────── */
.catalogo-main { flex: 1; min-width: 0; }

/* ── Sort bar ───────────────────────────────────────────────────────────── */
.sort-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--r);
  padding: 11px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g1);
  font-size: 13.5px; gap: 12px;
}
.sort-info { color: #555; min-width: 0; flex: 1; }
.sort-info strong { color: var(--dark); font-weight: 700; }
.sort-info em { color: var(--red); font-style: normal; font-weight: 600; }
.limpar-busca {
  color: var(--red); font-weight: 600; font-size: 12.5px; margin-left: 6px;
  display: inline-flex; align-items: center; gap: 3px;
}
.limpar-busca:hover { text-decoration: underline; }
.sort-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.paginacao-info { color: #999; font-size: 12px; white-space: nowrap; }
.sort-select {
  padding: 7px 10px;
  border: 1px solid var(--g2); border-radius: var(--r-sm);
  font-size: 12.5px; font-family: inherit;
  background: var(--white); color: var(--dark);
  cursor: pointer; outline: none;
  transition: border-color .15s;
}
.sort-select:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(212,7,14,.1); }

/* ── Grid de produtos ───────────────────────────────────────────────────── */
.produto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 14px;
}

.produto-card {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g1);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  cursor: pointer;
}
.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* link invisível que cobre todo o card (z-index: 1) */
.card-link {
  position: absolute; inset: 0; z-index: 1;
  border-radius: var(--r);
}

.card-img-wrap {
  position: relative;
  padding-top: 100%;       /* quadrado perfeito */
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--g1);
}
.card-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; padding: 8px;
  transition: transform .32s ease;
}
.produto-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Card overlay */
.card-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(30,10,10,.42);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-size: 13.5px; font-weight: 600;
  opacity: 0; transition: opacity .22s;
  letter-spacing: .2px;
  pointer-events: none; /* deixa cliques passarem para o card-link abaixo */
}
.produto-card:hover .card-overlay { opacity: 1; }

.badge-promo {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 4px 9px; border-radius: 20px; letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(212,7,14,.4);
}

.card-body {
  padding: 12px 13px 6px; flex: 1;
  display: flex; flex-direction: column;
}
.card-marca {
  font-size: 10px; font-weight: 700; color: var(--g3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}
.card-nome {
  font-size: 13px; font-weight: 600; color: var(--dark);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-ref { font-size: 11px; color: var(--g3); margin-top: 4px; }

.card-preco {
  margin-top: auto; padding-top: 10px;
  display: flex; flex-direction: column; gap: 1px;
}
.card-preco-de {
  font-size: 11px; color: var(--g3);
  text-decoration: line-through;
}
.card-preco-por {
  font-size: 17px; font-weight: 800; color: var(--dark); line-height: 1.2;
}
.card-preco-por.promo { color: var(--red); }
.card-sem-preco {
  font-size: 12px; color: var(--g3); font-style: italic; margin-top: 6px;
}

.card-footer {
  padding: 10px 12px 12px;
  display: flex; align-items: stretch; gap: 8px;
  border-top: 1px solid var(--g1);
  position: relative; z-index: 2;   /* fica acima do card-link */
}
.btn-cart-sm {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; padding: 0 6px;
  background: var(--red); color: #fff;
  border: none; border-radius: var(--r-sm);
  font-size: 11.5px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: background .15s;
}
.btn-cart-sm:hover { background: var(--red-dk); }
.btn-cart-sm.added { background: #22c55e; }

.btn-wa {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; padding: 0 6px;
  background: var(--wa); color: #fff;
  border-radius: var(--r-sm); font-size: 11.5px; font-weight: 700;
  white-space: nowrap; transition: background .15s;
}
.btn-wa:hover { background: var(--wa-dk); }

/* ── Vazio ──────────────────────────────────────────────────────────────── */
.vazio {
  grid-column: 1 / -1;
  text-align: center; padding: 80px 24px;
  color: #888; background: var(--white);
  border-radius: var(--r); border: 1px solid var(--g1);
}
.vazio-icone { font-size: 54px; margin-bottom: 16px; }
.vazio h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.vazio a { color: var(--red); font-weight: 600; }

/* ── Paginação ──────────────────────────────────────────────────────────── */
.paginacao {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  margin-top: 30px;
}
.pag-btn {
  padding: 8px 15px;
  background: var(--white); border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; color: var(--dark);
  box-shadow: var(--shadow-sm); border: 1px solid var(--g1);
  transition: all .15s;
}
.pag-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pag-btn.ativo { background: var(--red); color: #fff; border-color: var(--red); }

/* ── Mobile filter toggle ───────────────────────────────────────────────── */
.filtros-toggle {
  display: none;
  width: 100%; padding: 10px 16px;
  background: var(--white); border: 1px solid var(--g1);
  border-radius: var(--r); font-size: 13.5px; font-weight: 600;
  color: var(--dark); text-align: left; cursor: pointer;
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
  align-items: center; gap: 8px;
  transition: background .15s;
}
.filtros-toggle:hover { background: var(--g0); }
.filtros-toggle .close-txt { display: none; }
.filtros-toggle.aberta .open-txt { display: none; }
.filtros-toggle.aberta .close-txt { display: inline; }

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--g1);
}
.breadcrumb-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 9px 24px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; color: #888;
}
.breadcrumb-inner a { color: var(--red); font-weight: 500; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: var(--g2); }

/* ── Página de detalhe ──────────────────────────────────────────────────── */
.detalhe-wrap {
  max-width: 1400px; margin: 0 auto; padding: 28px 24px;
}
.produto-detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--g1);
  padding: 40px;
}

.detalhe-img-wrap {
  position: relative;
  background: var(--g0);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  min-height: 380px; overflow: hidden;
  border: 1px solid var(--g1);
}
.badge-grande {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 800;
  padding: 5px 14px; border-radius: 5px;
}
.detalhe-img {
  max-height: 440px; width: 100%;
  object-fit: contain; padding: 32px;
  transition: transform .4s;
}
.detalhe-img-wrap:hover .detalhe-img { transform: scale(1.04); }

.detalhe-marca {
  font-size: 11px; font-weight: 700; color: var(--g3);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.detalhe-nome {
  font-size: 24px; font-weight: 800; line-height: 1.3;
  color: var(--dark); margin-bottom: 16px;
}
.detalhe-meta {
  display: flex; flex-wrap: wrap; gap: 7px;
  font-size: 12px; color: #666;
  padding-bottom: 16px; border-bottom: 1px solid var(--g1); margin-bottom: 20px;
}
.detalhe-meta span {
  background: var(--g0); padding: 4px 10px; border-radius: 5px; border: 1px solid var(--g1);
}
.em-estoque {
  background: #e8f5e9 !important; color: var(--green) !important;
  font-weight: 700; border-color: #c8e6c9 !important;
}

.detalhe-preco-box {
  background: var(--g0);
  border-radius: var(--r);
  padding: 20px 22px; margin-bottom: 20px;
  border: 1px solid var(--g1);
}
.detalhe-preco-de {
  font-size: 13px; color: #999;
  text-decoration: line-through; margin-bottom: 2px;
}
.detalhe-preco-por {
  font-size: 34px; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  line-height: 1.1;
}
.detalhe-preco-por.promo { color: var(--red); }
.badge-promo-label {
  font-size: 11px; padding: 3px 10px;
  background: var(--red); color: #fff;
  border-radius: 5px; font-weight: 800;
}
.detalhe-economia {
  font-size: 13px; color: var(--green); font-weight: 600; margin-top: 8px;
}
.detalhe-atacado {
  font-size: 13px; color: #666; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--g1);
}

.detalhe-trust {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #555;
  background: var(--g0); padding: 8px 13px;
  border-radius: var(--r-sm); border: 1px solid var(--g1);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

.detalhe-acoes {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px;
}
.btn-wa-grande {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wa); color: #fff;
  padding: 17px; border-radius: var(--r);
  font-size: 16px; font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-wa-grande:hover { background: var(--wa-dk); transform: translateY(-1px); }
.btn-voltar {
  text-align: center; padding: 12px;
  background: var(--g0); color: #555;
  border-radius: var(--r); font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--g1); transition: background .15s, color .15s;
}
.btn-voltar:hover { background: var(--g1); color: var(--dark); }

.detalhe-obs {
  font-size: 13.5px; color: #555;
  border-top: 1px solid var(--g1);
  padding-top: 18px; line-height: 1.7;
}
.detalhe-obs h3 {
  font-size: 11px; color: var(--g3);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; margin-bottom: 8px;
}

/* ── Produtos Relacionados ──────────────────────────────────────────────── */
.relacionados {
  max-width: 1400px; margin: 0 auto; padding: 0 24px 40px;
}
.relacionados-title {
  font-size: 20px; font-weight: 800; color: var(--dark);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.relacionados-title::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(to right, var(--g1), transparent);
}
.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  margin-top: 60px;
}
.footer-top {
  padding: 56px clamp(16px, 2.5vw, 48px) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* Brand col */
.footer-brand {}
.footer-logo { height: 46px; opacity: .9; margin-bottom: 16px; }
.footer-brand p {
  font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background .15s, color .15s, border-color .15s;
}
.footer-social a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Links col */
.footer-links { display: flex; flex-direction: column; gap: 5px; }
.footer-links li a {
  font-size: 13.5px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
  padding: 4px 0;
  transition: color .15s, gap .15s;
}
.footer-links li a:hover { color: var(--yellow); gap: 10px; }
.arr { color: var(--red); font-weight: 700; }

/* Contact col */
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.6);
  line-height: 1.6;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }

/* WA col */
.footer-col p {
  font-size: 13.5px; color: rgba(255,255,255,.6);
  line-height: 1.7; margin-bottom: 18px;
}
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #fff;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700;
  transition: background .2s, transform .15s;
}
.footer-wa-btn:hover { background: var(--wa-dk); transform: translateY(-1px); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom-inner {
  padding: 16px clamp(16px, 2.5vw, 48px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* ── WhatsApp flutuante ─────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px;
  background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.7); }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); opacity: .6;
  animation: wa-pulse 2.2s ease-out infinite;
}

/* ── Scroll to top ──────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 998;
  width: 44px; height: 44px;
  background: var(--dark2); color: #fff; border: none;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s, background .15s;
  box-shadow: var(--shadow-md);
}
.scroll-top.visivel { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--red); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* ── 1200px ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .relacionados-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 1100px ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sidebar { width: 210px; }
  .benefits-inner { grid-template-columns: repeat(2, 1fr); }
  .benefit-item:nth-child(odd) { border-right: 1px solid var(--g1); }
  .benefit-item { border-right: none; border-bottom: 1px solid var(--g1); }
  .benefit-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── 900px ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cat-nav { position: static; }
  .page-wrap { padding: 14px; flex-direction: column; gap: 0; }
  .sidebar { width: 100%; position: static; display: none; }
  .sidebar.aberta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .sidebar.aberta .sidebar-box { flex: 1; min-width: 200px; }
  .filtros-toggle { display: flex; }
  .produto-detalhe { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .detalhe-wrap { padding: 16px; }
  .relacionados { padding: 0 16px 32px; }
  .relacionados-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .hero { padding: 64px 20px 56px; }
  .hero-stats { padding: 18px 28px; }
  .top-bar-inner { justify-content: center; gap: 14px; flex-wrap: wrap; }
}

/* ── 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 36px 20px 28px; }
  .footer-bottom-inner { justify-content: center; text-align: center; gap: 6px; }
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit-item { border-right: none; border-bottom: 1px solid var(--g1); }
  .benefit-item:nth-child(odd) { border-right: 1px solid var(--g1); }
  .benefit-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── 640px — Mobile ─────────────────────────────────────── */
@media (max-width: 640px) {

  /* Header: hamburger | logo centralizada | carrinho */
  .header { height: auto; }
  .header-inner {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 10px 12px 8px;
    gap: 0 8px;
  }
  .header-hamburger { display: flex; grid-column: 1; grid-row: 1; align-self: center; }
  .logo-link { grid-column: 2; grid-row: 1; display: flex; justify-content: center; align-self: center; }
  .logo { height: 61px; }
  .header-actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; align-self: center; }
  .header-whatsapp { display: none; }
  .header-cart { width: 40px; height: 40px; flex-shrink: 0; }
  .header-conta { height: 36px; padding: 0 10px; flex-shrink: 0; }
  .search-form {
    grid-column: 1 / -1; grid-row: 2;
    margin-top: 8px;
  }
  .search-form input { height: 42px; font-size: 14px; padding: 0 14px; }
  .search-form button { height: 42px; padding: 0 14px; }
  .btn-txt { display: none; }

  /* Remove transform do page-wrap para position:fixed do sidebar funcionar corretamente */
  .page-wrap, .page-wrap.reveal, .page-wrap.reveal.visible {
    transform: none !important;
    will-change: auto !important;
    opacity: 1 !important;
  }

  /* Sidebar: drawer fixo da esquerda */
  .sidebar {
    position: fixed !important;
    top: 0; left: 0; bottom: 0; right: auto !important;
    width: min(82vw, 310px) !important;
    height: 100% !important;
    z-index: 489;
    background: linear-gradient(180deg, #181820 0%, #13131a 100%);
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    transform: translateX(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 6px 0 50px rgba(0,0,0,.55);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .sidebar.aberta {
    transform: translateX(0) !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  /* Drawer header */
  .sidebar-mobile-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 16px 16px;
    background: linear-gradient(135deg, #1f1f2e 0%, #2a0002 60%, var(--red-dk) 100%);
    border-bottom: 2px solid var(--red);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }
  .sidebar-mobile-header::after {
    content: '';
    position: absolute; right: -20px; top: -20px;
    width: 90px; height: 90px;
    background: radial-gradient(circle, rgba(212,7,14,.3) 0%, transparent 70%);
    pointer-events: none;
  }
  .sidebar-mobile-title {
    display: flex; align-items: center; gap: 9px;
    color: #fff; font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    position: relative; z-index: 1;
  }
  .sidebar-mobile-title svg { opacity: .9; }
  .sidebar-close-btn {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px; color: rgba(255,255,255,.9); cursor: pointer;
    transition: background .15s, border-color .15s;
    position: relative; z-index: 1;
  }
  .sidebar-close-btn:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.3); }

  /* Drawer list items — dark theme */
  .sidebar-box {
    border-radius: 0 !important; box-shadow: none !important;
    border: none !important; background: transparent !important;
    flex-shrink: 0;
  }
  .sidebar-title { display: none; }
  .sidebar-list { max-height: none !important; }
  .sidebar-list li a {
    color: rgba(255,255,255,.72);
    border-bottom-color: rgba(255,255,255,.07) !important;
    border-left-color: transparent;
    padding: 13px 16px 13px 20px;
    font-size: 14px;
    transition: background .15s, color .15s, border-left-color .15s, padding-left .15s;
  }
  .sidebar-list li a:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
    border-left-color: rgba(212,7,14,.7) !important;
    padding-left: 26px;
  }
  .sidebar-list li a.ativo {
    background: rgba(212,7,14,.18) !important;
    color: #fff !important;
    font-weight: 700;
    border-left-color: var(--red) !important;
    padding-left: 26px;
  }
  .sidebar-cnt {
    background: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.5) !important;
    font-size: 10px; padding: 2px 7px; border-radius: 10px;
  }
  .sidebar-list li a.ativo .sidebar-cnt {
    background: var(--red) !important;
    color: #fff !important;
  }
  .sidebar-limpar {
    border-radius: 0; margin-top: auto;
    color: rgba(255,255,255,.65) !important;
    background: rgba(212,7,14,.12) !important;
    border-top-color: rgba(255,255,255,.08) !important;
    font-size: 13px;
    transition: background .15s, color .15s;
  }
  .sidebar-limpar:hover { background: var(--red) !important; color: #fff !important; }

  /* Drawer footer (WA + info) */
  .sidebar-drawer-footer {
    margin-top: auto; padding: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-direction: column; gap: 12px;
    flex-shrink: 0;
  }
  .sidebar-wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 16px; border-radius: 10px;
    background: var(--wa); color: #fff;
    font-size: 14px; font-weight: 700;
    transition: background .15s, transform .15s;
  }
  .sidebar-wa-btn:hover { background: var(--wa-dk); transform: translateY(-1px); }
  .sidebar-store-info {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; flex-wrap: wrap;
    font-size: 11.5px; color: rgba(255,255,255,.4);
  }
  .sidebar-store-info svg { opacity: .5; flex-shrink: 0; }

  /* Top bar oculta */
  .top-bar { display: none; }

  /* Cat nav mobile — pills menores, também quebram linha */
  .cat-nav-inner { padding: 5px 8px; gap: 4px; }
  .cat-pill { padding: 6px 10px; font-size: 11.5px; }

  /* Hero */
  .hero { padding: 44px 18px 36px; }
  .hero h1 { font-size: 26px; margin-bottom: 12px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-badges { gap: 8px; margin-bottom: 24px; }
  .hero-badge { font-size: 11.5px; padding: 6px 12px; }
  .hero-cta { gap: 10px; margin-bottom: 32px; }
  .hero-btn-primary, .hero-btn-wa { padding: 12px 20px; font-size: 14px; }
  .hero-stats { padding: 14px 20px; }
  .hero-stat strong { font-size: 20px; }
  .hero-stat span { font-size: 10px; }
  .hero-stat-sep { margin: 0 16px; height: 32px; }

  /* Benefits: 2×2 */
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit-item {
    padding: 14px 10px;
    border-right: none; border-bottom: 1px solid var(--g1);
    gap: 10px;
  }
  .benefit-item:nth-child(odd) { border-right: 1px solid var(--g1); }
  .benefit-item:nth-last-child(-n+2) { border-bottom: none; }
  .benefit-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .benefit-text strong { font-size: 12px; }
  .benefit-text span { font-size: 11px; }

  /* Filtros toggle: botão completo */
  .filtros-toggle {
    width: calc(100% - 24px); margin: 10px 12px 0;
    justify-content: center; padding: 10px;
    background: var(--white); border: 1px solid var(--g1);
    border-radius: var(--r-sm); font-size: 13px;
  }

  /* Carrosséis */
  .carrosseis-section { padding: 0 12px; margin-bottom: 4px; }
  .carrossel-bloco { margin-bottom: 28px; }
  .carrossel-titulo { font-size: 15px; }
  .cr-nav { display: none; }
  .cr-card { flex: 0 0 44vw; }
  .cr-body { padding: 6px 8px 4px; }
  .cr-nome { font-size: 11px; }

  /* Page wrap */
  .page-wrap { padding: 10px 12px 20px; }

  /* Sort bar */
  .sort-bar { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .sort-right { width: 100%; justify-content: space-between; }
  .sort-info { font-size: 12.5px; }

  /* Grid de produtos */
  .produto-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 8px 10px 4px; }
  .card-marca { font-size: 9px; }
  .card-nome { font-size: 12px; }
  .card-ref { font-size: 10px; }
  .card-preco-por { font-size: 15px; }
  .card-footer { padding: 8px 8px 10px; gap: 6px; }
  .btn-cart-sm { width: 32px; height: 32px; }
  .btn-wa { font-size: 11px; padding: 8px 4px; gap: 4px; }

  /* Paginação */
  .paginacao { gap: 4px; }
  .paginacao a, .paginacao span { padding: 8px 11px; font-size: 13px; }

  /* Related products */
  .relacionados { padding: 0 12px 24px; }
  .relacionados-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Footer */
  .footer-top { padding: 28px 14px 20px; gap: 22px; }
  .footer-bottom-inner { padding: 14px; flex-direction: column; gap: 4px; }
  .footer-wa-btn { width: 100%; justify-content: center; }

  /* WA flutuante e scroll-top */
  .wa-float { bottom: 20px; right: 14px; }
  .scroll-top { bottom: 20px; }

  /* Cart drawer */
  .cart-drawer { width: 100%; max-width: 100%; border-radius: 0; }

  /* Produto detail */
  .pd-grid { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .pd-trust { grid-template-columns: 1fr 1fr; }
  .pd-nome { font-size: 19px; }
  .pd-preco-por { font-size: 28px; }
  .pd-wrap { padding: 12px; }
  .pd-tab-btn { padding: 11px 12px; font-size: 12.5px; }

  /* Cart page */
  .cart-page { padding: 14px 12px 80px; }
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-summary-col { order: -1; }
  .cart-summary-box { position: static; }
  .cart-table-head { display: none; }
  /* Mobile cart row: flex-wrap layout */
  .cart-row {
    display: flex; flex-wrap: wrap; padding: 12px; gap: 0;
    position: relative;
    grid-template-columns: unset;
  }
  .cart-row-img { flex: 0 0 64px; margin-right: 10px; }
  .cart-row-img img { width: 64px; height: 64px; }
  .cart-row-info { flex: 1; min-width: 0; padding-right: 36px; }
  .cart-row-preco {
    flex: 0 0 100%; padding-left: 74px; padding-right: 36px;
    font-size: 13px; margin-top: 6px; box-sizing: border-box;
    grid-column: unset;
  }
  .cart-row-qty {
    flex: 0 0 100%; padding-left: 74px; margin-top: 8px;
    grid-column: unset;
    display: flex; align-items: center; gap: 8px;
  }
  .qty-btn { min-width: 34px; min-height: 34px; font-size: 17px; }
  .qty-input-inline { width: 42px; height: 34px; }
  .cart-row-sub { display: none; }
  .cart-row-rm {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px;
  }
  .cart-actions-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-col { display: none; }

  /* pd-trust mobile */
  .pd-trust { grid-template-columns: 1fr; }
}

/* ── 380px ──────────────────────────────────────────────── */
@media (max-width: 380px) {
  .produto-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card-nome { font-size: 11px; }
  .card-footer { gap: 5px; padding: 7px 7px 9px; }
  .cr-card { flex: 0 0 52vw; }
}

/* ══════════════════════════════════════════════════════════
   BOTTOM NAVIGATION — mobile only
══════════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: #fff;
  border-top: 1px solid var(--g1);
  box-shadow: 0 -3px 20px rgba(0,0,0,.10);
  height: 58px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-inner {
  display: flex; width: 100%; height: 100%; align-items: stretch;
}
.mobile-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px;
  background: none; border: none; cursor: pointer;
  color: var(--g4); font-size: 10px; font-weight: 600;
  text-decoration: none; line-height: 1;
  transition: color .15s;
  padding: 0;
  position: relative;
}
.mobile-nav-btn:hover,
.mobile-nav-btn.ativo { color: var(--red); }
.mobile-nav-btn.mnav-wa { color: var(--wa); }
.mobile-nav-btn.mnav-wa:hover { color: var(--wa-dk); }
.mnav-badge {
  position: absolute; top: 4px; left: calc(50% + 4px);
  right: auto !important;
  min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 800; border-radius: 9px;
  display: none; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

@media (max-width: 640px) {
  .mobile-nav { display: flex; }
}

/* ══════════════════════════════════════════
   CART — Header icon + badge
══════════════════════════════════════════ */
.header-cart {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  color: #fff; cursor: pointer;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.header-cart:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.25); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 800;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--dark2);
  transition: transform .15s;
}
.cart-badge.pulse { animation: badgePop .6s ease; }
@keyframes badgePop {
  0%,100%{transform:scale(1)} 40%{transform:scale(1.45)} 70%{transform:scale(.9)}
}

/* ══════════════════════════════════════════
   CART — Overlay + Drawer
══════════════════════════════════════════ */
/* Sidebar overlay (mobile drawer) */
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 488;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  display: block;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }
@media (min-width: 641px) { .sidebar-overlay { display: none; } }

/* Sidebar mobile header (close btn) */
.sidebar-mobile-header {
  display: none;
}

.cart-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 901;
  width: 380px; max-width: 95vw;
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 40px rgba(0,0,0,.18);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--g1);
  background: var(--dark2);
  color: #fff; flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 16px; font-weight: 700; }
.drawer-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1); color: #fff; border: none;
  border-radius: 50%; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.drawer-close:hover { background: rgba(255,255,255,.2); }

.cart-drawer-items {
  flex: 1; overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin; scrollbar-color: var(--g2) transparent;
}

.drawer-vazio {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px; gap: 12px; text-align: center;
  color: #aaa;
}
.drawer-vazio p { font-size: 14px; color: var(--g3); }
.drawer-vazio a {
  margin-top: 8px; padding: 10px 22px;
  background: var(--red); color: #fff;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 700;
  transition: background .15s;
}
.drawer-vazio a:hover { background: var(--red-dk); }

.drawer-item {
  display: flex; gap: 12px;
  padding: 12px; margin-bottom: 8px;
  background: var(--g0); border-radius: var(--r-sm);
  border: 1px solid var(--g1);
}
.drawer-item img {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border-radius: 6px; border: 1px solid var(--g1);
  flex-shrink: 0;
}
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-nome { font-size: 12.5px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 2px; }
.drawer-item-ref { font-size: 11px; color: var(--g3); }
.drawer-item-preco { font-size: 13px; font-weight: 700; color: var(--red); margin: 4px 0; }
.drawer-qty {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.qty-btn {
  width: 24px; height: 24px;
  background: var(--white); border: 1px solid var(--g2);
  border-radius: 4px; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s;
  color: var(--dark);
}
.qty-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.qty-val {
  min-width: 28px; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--dark);
}
.qty-rm {
  margin-left: auto;
  width: 24px; height: 24px;
  background: transparent; border: none;
  color: var(--g3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; transition: color .12s, background .12s;
}
.qty-rm:hover { color: var(--red); background: var(--red-lt); }

.cart-drawer-footer {
  border-top: 1px solid var(--g1);
  padding: 16px 20px;
  background: var(--white); flex-shrink: 0;
}
.drawer-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; margin-bottom: 12px; color: #555;
}
.drawer-total-row strong { font-size: 18px; color: var(--dark); }
.drawer-btn-ver {
  display: block; text-align: center;
  padding: 11px; margin-bottom: 8px;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 700;
  background: var(--dark); color: #fff;
  transition: background .15s;
}
.drawer-btn-ver:hover { background: var(--dark3); }
.drawer-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px;
  background: var(--wa); color: #fff; border: none;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.drawer-btn-wa:hover { background: var(--wa-dk); }

/* ══════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════ */
.cart-page {
  max-width: 1200px; margin: 0 auto;
  padding: 28px 24px 60px;
}
.cart-page-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.cart-page-header h1 { font-size: 26px; font-weight: 800; color: var(--dark); }
.cart-page-count {
  font-size: 13px; color: var(--g3); font-weight: 600;
  background: var(--g1); padding: 4px 12px; border-radius: 20px;
}
.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px; align-items: start;
}
.cart-items-col { }
.cart-table-head {
  display: grid;
  grid-template-columns: 72px 1fr 120px 140px 110px 40px;
  gap: 8px; align-items: center;
  padding: 10px 16px;
  background: var(--dark2); color: rgba(255,255,255,.8);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
}
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr 120px 140px 110px 40px;
  gap: 8px; align-items: center;
  padding: 14px 16px;
  background: var(--white); border: 1px solid var(--g1);
  border-top: none; transition: background .12s;
}
.cart-row:last-child { border-radius: 0 0 var(--r-sm) var(--r-sm); }
.cart-row:hover { background: var(--g0); }
.cart-row-img img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--g0); border-radius: 6px; border: 1px solid var(--g1);
}
.cart-row-nome { font-size: 13px; font-weight: 600; color: var(--dark); }
.cart-row-ref { font-size: 11px; color: var(--g3); margin-top: 2px; }
.cart-row-preco { font-size: 14px; font-weight: 700; color: var(--dark); }
.cart-row-qty {
  display: flex; align-items: center; gap: 6px;
}
.qty-input-inline {
  width: 44px; height: 28px; text-align: center;
  border: 1px solid var(--g2); border-radius: 4px;
  font-size: 13px; font-weight: 700;
  outline: none;
}
.qty-input-inline:focus { border-color: var(--red); }
.cart-row-sub { font-size: 14px; font-weight: 800; color: var(--red); }
.cart-row-rm {
  width: 32px; height: 32px;
  background: transparent; border: 1px solid var(--g1);
  border-radius: var(--r-sm); color: var(--g3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.cart-row-rm:hover { background: var(--red); color: #fff; border-color: var(--red); }
.cart-actions-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; flex-wrap: wrap; gap: 10px;
}
.cart-btn-continuar {
  font-size: 13px; font-weight: 600; color: var(--g4);
  display: flex; align-items: center; gap: 5px;
  transition: color .15s;
}
.cart-btn-continuar:hover { color: var(--red); }
.cart-btn-limpar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--g2);
  border-radius: var(--r-sm); background: var(--white);
  font-size: 12.5px; font-weight: 600; color: var(--g4);
  cursor: pointer; transition: all .15s;
}
.cart-btn-limpar:hover { border-color: var(--red); color: var(--red); }

/* Summary sidebar */
.cart-summary-box {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--g1); padding: 22px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.cart-summary-box h3 {
  font-size: 16px; font-weight: 800; color: var(--dark);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #555; margin-bottom: 10px;
}
.summary-row strong { color: var(--dark); font-weight: 700; }
.summary-ship .ship-info {
  font-size: 12px; color: var(--g3); font-style: italic;
}
.summary-divider { height: 1px; background: var(--g1); margin: 12px 0; }
.summary-total-row { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.total-big { font-size: 22px; font-weight: 800; color: var(--red); }
.summary-btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; margin-bottom: 10px;
  background: var(--dark); color: #fff; border: none;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.summary-btn-checkout:hover { background: var(--red); }
.summary-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; margin-bottom: 12px;
  background: var(--wa); color: #fff; border: none;
  border-radius: var(--r-sm); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.summary-btn-wa:hover { background: var(--wa-dk); }
.summary-note { font-size: 11px; color: var(--g3); text-align: center; line-height: 1.5; }

/* Vazio page */
.cart-vazio {
  text-align: center; padding: 80px 24px;
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--g1);
}
.cart-vazio h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 16px 0 8px; }
.cart-vazio p { color: var(--g3); margin-bottom: 24px; }
.btn-explorar {
  display: inline-flex; align-items: center;
  padding: 12px 28px; background: var(--red); color: #fff;
  border-radius: var(--r-sm); font-size: 14px; font-weight: 700;
  transition: background .15s;
}
.btn-explorar:hover { background: var(--red-dk); }

/* ══════════════════════════════════════════
   CHECKOUT FORM
══════════════════════════════════════════ */
.checkout-section {
  margin-top: 40px;
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--g1); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.checkout-title {
  font-size: 22px; font-weight: 800; color: var(--dark);
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 2px solid var(--red);
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.form-group input[type=text],
.form-group input[type=tel],
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--g2); border-radius: var(--r-sm);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: var(--g0);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,7,14,.08);
  background: #fff;
}
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--g1);
  border-radius: var(--r-sm); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.radio-opt:has(input:checked) { border-color: var(--red); background: var(--red-lt); }
.radio-opt input { accent-color: var(--red); }
.radio-opt span { font-size: 13.5px; font-weight: 600; }
.checkout-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; margin-top: 8px;
  background: var(--wa); color: #fff; border: none;
  border-radius: var(--r-sm); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .15s;
}
.checkout-submit:hover { background: var(--wa-dk); transform: translateY(-1px); }
.checkout-note {
  font-size: 12px; color: var(--g3); text-align: center;
  margin-top: 10px; line-height: 1.5;
}
.checkout-summary-col h3 {
  font-size: 15px; font-weight: 800; color: var(--dark);
  margin-bottom: 14px;
}
.ck-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #555; padding: 8px 0;
  border-bottom: 1px solid var(--g0);
}
.ck-item span:last-child { font-weight: 700; color: var(--dark); }

/* ══════════════════════════════════════════
   PRODUCT PAGE (pd-*)
══════════════════════════════════════════ */
.pd-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 28px 24px 48px;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--g1); padding: 36px;
  box-shadow: var(--shadow-sm);
}
/* Gallery */
.pd-gallery { display: flex; flex-direction: column; gap: 14px; }
.pd-img-box {
  position: relative;
  background: var(--g0); border-radius: var(--r);
  border: 1px solid var(--g1); overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.pd-main-img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 24px;
  transition: transform .4s ease;
}
.pd-img-box:hover .pd-main-img { transform: scale(1.06); }
.pd-img-zoom-hint {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.pd-img-box:hover .pd-img-zoom-hint { opacity: 1; }
.pd-badge-promo {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 5px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(212,7,14,.4);
}
.pd-share {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--g3);
}
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  transition: all .15s;
}
.share-wa { background: var(--wa); color: #fff; }
.share-wa:hover { background: var(--wa-dk); }
.share-copy { background: var(--g0); color: var(--g4); border: 1px solid var(--g1); cursor: pointer; }
.share-copy:hover { background: var(--g1); color: var(--dark); }

/* Info column */
.pd-info { display: flex; flex-direction: column; gap: 0; }
.pd-marca {
  font-size: 11px; font-weight: 700; color: var(--g3);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.pd-nome {
  font-size: 24px; font-weight: 800; color: var(--dark);
  line-height: 1.3; margin-bottom: 14px;
}
.pd-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--g1);
}
.pd-tag {
  font-size: 12px; padding: 4px 10px;
  background: var(--g0); border: 1px solid var(--g1);
  border-radius: var(--r-sm); color: #555;
}
.pd-tag-stock { background: #e8f5e9; color: #2a9d5c; border-color: #c8e6c9; font-weight: 700; }
.pd-tag-nostock { background: #fff3e0; color: #e65100; border-color: #ffe0b2; }

/* Price box */
.pd-preco-box {
  background: var(--g0); border-radius: var(--r);
  border: 1px solid var(--g1); padding: 18px 20px;
  margin-bottom: 20px;
}
.pd-preco-de {
  font-size: 13px; color: #aaa; text-decoration: line-through; margin-bottom: 4px;
}
.pd-preco-por {
  font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1.1; margin-bottom: 4px;
}
.pd-preco-por.promo { color: var(--red); }
.pd-economia {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--green); font-weight: 600; margin-top: 6px;
}
.pd-consulte { font-size: 15px; color: var(--g3); font-style: italic; }
.pd-atacado {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #666; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--g1);
}
.pd-atacado strong { color: var(--dark); }

/* Qty + actions */
.pd-acoes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pd-qty-row { display: flex; align-items: center; gap: 12px; }
.pd-qty-label { font-size: 13px; font-weight: 700; color: var(--dark); white-space: nowrap; }
.pd-qty-ctrl {
  display: flex; align-items: stretch;
  border: 1px solid var(--g2); border-radius: var(--r-sm); overflow: hidden;
}
.pd-qty-btn {
  width: 36px; height: 40px;
  background: var(--g0); border: none; cursor: pointer;
  font-size: 18px; font-weight: 700; color: var(--dark);
  transition: background .12s;
}
.pd-qty-btn:hover { background: var(--g1); }
.pd-qty-input {
  width: 52px; height: 40px; text-align: center;
  border: none; border-left: 1px solid var(--g2); border-right: 1px solid var(--g2);
  font-size: 15px; font-weight: 700; outline: none; background: #fff;
}
.pd-btn-cart {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; background: var(--dark); color: #fff; border: none;
  border-radius: var(--r-sm); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .15s;
}
.pd-btn-cart:hover { background: var(--red); transform: translateY(-1px); }
.pd-btn-cart:disabled { background: var(--g2); cursor: not-allowed; transform: none; }
.pd-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; background: var(--wa); color: #fff;
  border-radius: var(--r-sm); font-size: 15px; font-weight: 700;
  transition: background .15s;
}
.pd-btn-wa:hover { background: var(--wa-dk); }
.pd-btn-voltar {
  text-align: center; padding: 11px;
  background: var(--g0); color: #666;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  border: 1px solid var(--g1); transition: background .15s;
}
.pd-btn-voltar:hover { background: var(--g1); color: var(--dark); }

/* Trust */
.pd-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pd-trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--g0); border: 1px solid var(--g1); border-radius: var(--r-sm);
}
.pd-trust-item svg { color: var(--red); flex-shrink: 0; }
.pd-trust-item strong { display: block; font-size: 12px; color: var(--dark); }
.pd-trust-item span { font-size: 11px; color: var(--g3); }

/* Tabs */
.pd-tabs {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--g1); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pd-tab-nav {
  display: flex; border-bottom: 1px solid var(--g1);
  background: var(--g0);
}
.pd-tab-btn {
  padding: 14px 22px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--g4);
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  font-family: inherit;
}
.pd-tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.pd-tab-btn:hover { color: var(--dark); }
.pd-tab { padding: 24px 28px; }
.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pd-spec-table tr { border-bottom: 1px solid var(--g0); }
.pd-spec-table tr:last-child { border-bottom: none; }
.pd-spec-table th {
  width: 200px; padding: 12px 16px; text-align: left;
  font-weight: 700; color: #555; background: var(--g0);
  border-right: 1px solid var(--g1);
}
.pd-spec-table td { padding: 12px 16px; color: var(--dark); }
.pd-tab-text { font-size: 14px; color: #555; line-height: 1.75; }
.pd-tab-text p { margin-bottom: 12px; }
.pd-tab-text p:last-child { margin-bottom: 0; }
.pd-tab-text strong { color: var(--dark); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--r);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.15); color: #fff;
  border: none; font-size: 22px; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* Relacionados */
.pd-relacionados { margin-top: 40px; }
.pd-relacionados-titulo {
  font-size: 20px; font-weight: 800; color: var(--dark);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.pd-relacionados-titulo::after {
  content: ''; flex: 1; height: 2px; background: var(--g1);
}

/* ── Cart + produto detail 900px ─────── */
@media (max-width: 900px) {
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-summary-col { order: -1; }
  .cart-summary-box { position: static; }
  .pd-grid { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .pd-trust { grid-template-columns: 1fr 1fr; }
  .pd-nome { font-size: 20px; }
  .pd-preco-por { font-size: 28px; }
  .pd-wrap { padding: 16px; }
}

/* ===== BOTÃO CARRINHO NOS CARDS ===== */
.btn-cart-sm {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--g0); border: 1px solid var(--g1);
  border-radius: 8px; cursor: pointer;
  color: var(--g4); transition: background .18s, color .18s, border-color .18s;
}
.btn-cart-sm:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-cart-sm.added { background: #22c55e; color: #fff; border-color: #22c55e; }

/* ===== CARROSSÉIS ===== */
.carrosseis-section {
  padding: 0 clamp(16px, 2.5vw, 48px); margin-bottom: 8px;
}
.carrossel-bloco { margin-bottom: 40px; }
.carrossel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.carrossel-titulo {
  font-size: 18px; font-weight: 700; color: var(--dark);
  padding-left: 12px; border-left: 4px solid var(--red);
}
.carrossel-ver-todos {
  font-size: 13px; font-weight: 600; color: var(--red);
  text-decoration: none; white-space: nowrap;
}
.carrossel-ver-todos:hover { text-decoration: underline; }

.carrossel-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.cr-nav {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--g1); border-radius: 50%;
  cursor: pointer; color: var(--g4); transition: all .18s; z-index: 2;
}
.cr-nav:hover { background: var(--red); color: #fff; border-color: var(--red); }

.carrossel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth; padding: 4px 2px 8px;
  flex: 1;
}
.carrossel-track::-webkit-scrollbar { display: none; }

.cr-card {
  flex: 0 0 180px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--g1);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s; position: relative;
}
.cr-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.10); transform: translateY(-2px); }

.cr-badge-promo {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.cr-img-link { display: block; }
.cr-img-wrap {
  position: relative; padding-top: 100%; background: #fff; overflow: hidden;
}
.cr-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 8px;
}
.cr-body { padding: 8px 10px 4px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cr-marca { font-size: 10px; font-weight: 600; color: var(--txt3); text-transform: uppercase; margin: 0; }
.cr-nome {
  font-size: 12px; font-weight: 600; color: var(--txt1); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.cr-nome:hover { color: var(--red); }
.cr-preco { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.cr-preco-de { font-size: 11px; color: var(--txt3); text-decoration: line-through; }
.cr-preco-por { font-size: 14px; font-weight: 700; color: var(--dark); }
.cr-preco-por.promo { color: var(--red); }
.cr-sem-preco { font-size: 11px; color: var(--txt3); font-style: italic; }

.cr-footer {
  display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--g1);
  align-items: center;
}
.cr-btn-cart {
  flex: 1; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--red); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  font-size: 10.5px; font-weight: 700; white-space: nowrap;
  transition: background .15s;
}
.cr-btn-cart:hover { background: var(--red-dk); }
.cr-btn-cart.added { background: #22c55e; }

.cr-btn-wa {
  flex: 1; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--wa); color: #fff;
  border-radius: 6px; font-size: 10.5px; font-weight: 700;
  white-space: nowrap; transition: background .15s;
}
.cr-btn-wa:hover { background: var(--wa-dk); }

@media (max-width: 900px) {
  .carrosseis-section { padding: 0 14px; }
  .cr-card { flex: 0 0 158px; }
}

/* ══════════════════════════════════════════════════════════
   POLISH & VISUAL ENHANCEMENTS  (2026-05)
══════════════════════════════════════════════════════════ */

/* ── Page fade-in ───────────────────────────────────────── */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .28s ease; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }

/* ── Header: shadow on scroll ───────────────────────────── */
.header { transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 6px 40px rgba(0,0,0,.65); }

/* ── Benefits — elevação no hover + ícones maiores ──────── */
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  transition: background .2s, color .2s, transform .2s;
}
.benefit-item { transition: background .18s, transform .22s; }
.benefit-item:hover { background: #fafafa; transform: translateY(-3px); }
.benefit-item:hover .benefit-icon {
  background: var(--red);
  color: #fff;
}
.benefit-text strong { font-size: 14px; }
.benefit-text span   { font-size: 12.5px; }

/* ── Carousel cards: card-box por bloco ─────────────────── */
.carrosseis-section { padding-top: 6px; }
.carrossel-bloco {
  background: var(--white);
  border: 1px solid var(--g1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 18px;
  margin-bottom: 18px;
}
.carrossel-titulo {
  font-size: 19px;
  font-weight: 800;
}
.carrossel-ver-todos {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 5px 12px;
  border: 1px solid rgba(212,7,14,.3); border-radius: var(--r-sm);
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.carrossel-ver-todos:hover {
  background: var(--red); color: #fff; border-color: var(--red);
}
.cr-card { transition: box-shadow .22s, transform .22s, border-color .22s; }
.cr-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,.12);
  transform: translateY(-5px);
  border-color: var(--g2);
}

/* ── Product cards ──────────────────────────────────────── */
.produto-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.produto-card:active { transform: scale(.98) !important; }

/* Brilho sutil no hover */
.produto-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 55%);
  opacity: 0; transition: opacity .25s;
}
.produto-card:hover::after { opacity: 1; }

/* ── Buttons: press effect ──────────────────────────────── */
.btn-cart-sm:active, .btn-wa:active,
.hero-btn-primary:active, .hero-btn-wa:active,
.pag-btn:active, .footer-wa-btn:active { transform: scale(.96); }

.btn-wa { transition: background .15s, transform .15s; }
.btn-wa:hover { transform: translateY(-1px); }

/* ── Paginação ──────────────────────────────────────────── */
.paginacao { margin-top: 36px; gap: 6px; }
.pag-btn {
  padding: 9px 17px; min-width: 44px;
  text-align: center; font-size: 14px;
  transition: all .2s;
}
.pag-btn:hover:not(.ativo) {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(212,7,14,.22);
}
.pag-btn.ativo { box-shadow: 0 4px 14px rgba(212,7,14,.25); }

/* ── WA Float: tooltip label ────────────────────────────── */
.wa-float { overflow: visible; }
.wa-float-label {
  position: absolute;
  right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--dark2); color: #fff;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  padding: 7px 13px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.wa-float-label::after {
  content: '';
  position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--dark2);
}
.wa-float:hover .wa-float-label {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) { .wa-float-label { display: none; } }

/* ── Footer: borda accent + link hover suave ─────────────── */
.footer { border-top: 3px solid var(--red); }
.footer-links li a {
  transition: color .15s, padding-left .18s;
}
.footer-links li a:hover { padding-left: 5px; }

/* ── Trust items (página de produto) ────────────────────── */
.pd-trust-item {
  transition: border-color .15s, background .15s, transform .18s;
}
.pd-trust-item:hover {
  border-color: rgba(212,7,14,.3);
  background: var(--red-lt);
  transform: translateY(-2px);
}

/* ── Form: label destaque no foco ───────────────────────── */
.form-group { position: relative; }
.form-group label { transition: color .18s; }
.form-group:focus-within > label { color: var(--red); }
.form-group input, .form-group textarea {
  transition: border-color .2s, box-shadow .2s, background .2s;
}

/* Radio option hover lift */
.radio-opt { transition: border-color .15s, background .15s, transform .12s; }
.radio-opt:hover { transform: translateY(-1px); }

/* ── Sidebar: sem scroll interno (desktop) ──────────────── */
@media (min-width: 641px) {
  .sidebar-list { max-height: none; overflow-y: visible; }
}

/* ── Carrossel: mobile padding ──────────────────────────── */
@media (max-width: 640px) {
  .carrossel-bloco { padding: 14px 12px 10px; border-radius: var(--r); margin-bottom: 12px; }
}

/* ── Hero stats: melhor tipografia ─────────────────────── */
.hero-stat strong { letter-spacing: -.5px; }
.hero-stat span   { letter-spacing: 1px; }

/* ── Mobile nav: active indicator ──────────────────────── */
.mobile-nav-btn.ativo::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px;
  background: var(--red); border-radius: 2px;
}

/* ── Sort bar: melhor espaçamento ───────────────────────── */
.sort-bar { padding: 13px 20px; }
.sort-info { font-size: 14px; }

/* ── Breadcrumb: padding ligeiramente maior ──────────────── */
.breadcrumb-inner { padding: 11px 24px; }

/* ── Scroll-to-top: hover mais suave ────────────────────── */
.scroll-top { border-radius: var(--r-sm); }

/* ══════════════════════════════════════════════════════════
   SIDEBAR REDESIGN — ícones SVG profissionais (2026-05)
══════════════════════════════════════════════════════════ */

/* Largura maior */
.sidebar { width: 265px; }
@media (max-width: 1100px) { .sidebar { width: 220px; } }

/* Box sem overflow (para icon boxes não serem cortadas) */
.sidebar-box { overflow: visible; }

/* Título da sidebar */
.sidebar-title {
  padding: 13px 16px 12px;
  font-size: 10.5px; letter-spacing: 1.2px;
}

/* ── Item pai: pill arredondado, sem linhas ── */
.sidebar-parent-row {
  display: flex; align-items: stretch;
  margin: 2px 8px;
  border-radius: 10px;
  border: none;
  overflow: hidden;
  transition: background .16s;
}
.sidebar-parent-item:last-child > .sidebar-parent-row { border-bottom: none; }

.sidebar-cat-link {
  display: flex; align-items: center;
  flex: 1; min-width: 0;
  padding: 8px 6px 8px 10px;
  gap: 10px;
  font-size: 13px; font-weight: 600; color: #2a2a2a;
  border: none; border-left: none;
  transition: background .16s, color .16s, box-shadow .18s;
}
.sidebar-cat-link:hover {
  background: rgba(212,7,14,.07);
  color: var(--red);
  padding-left: 10px;
  border-left-color: transparent;
}
.sidebar-cat-link.ativo {
  background: rgba(212,7,14,.10);
  color: var(--red);
  font-weight: 700;
  padding-left: 10px;
  border-left-color: transparent;
}

/* ── Ícone container ── */
.sidebar-cat-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,7,14,.08);
  border: 1px solid rgba(212,7,14,.15);
  border-radius: 8px;
  color: rgba(212,7,14,.7);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.sidebar-cat-link:hover .sidebar-cat-icon {
  background: rgba(212,7,14,.15);
  border-color: rgba(212,7,14,.3);
  color: var(--red);
}
.sidebar-cat-link.ativo .sidebar-cat-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(212,7,14,.35);
}

/* ── Nome da categoria ── */
.sidebar-cat-name {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 13px;
}

/* Contador badge */
.sidebar-cat-link .sidebar-cnt {
  font-size: 10px;
  background: rgba(212,7,14,.09);
  padding: 2px 7px; border-radius: 10px;
  color: rgba(212,7,14,.75);
  flex-shrink: 0; font-weight: 700;
  transition: background .18s, color .18s;
}
.sidebar-cat-link:hover .sidebar-cnt,
.sidebar-cat-link.ativo .sidebar-cnt {
  background: rgba(212,7,14,.18); color: var(--red);
}

/* Botão expandir subcategorias */
.sidebar-expand-btn {
  flex-shrink: 0; width: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: rgba(212,7,14,.3);
  transition: color .15s, background .15s;
}
.sidebar-expand-btn:hover { color: var(--red); background: rgba(212,7,14,.06); }
.sidebar-expand-btn.open { color: var(--red); }
.sidebar-expand-btn svg { transition: transform .24s cubic-bezier(.4,0,.2,1); }
.sidebar-expand-btn.open svg { transform: rotate(180deg); }

/* ── Subcategorias: fundo cinza suave, itens alinhados à direita ── */
.sidebar-sub-list {
  background: #f9f9fb;
  border: none;
  border-radius: 8px;
  margin: 2px 8px 6px 8px;
  padding: 4px 0;
  max-height: 0; overflow: hidden;
  transition: max-height .28s cubic-bezier(.4,0,.2,1);
}
.sidebar-sub-list.open { max-height: 600px; }

.sidebar-sub-link {
  display: block;
  padding: 7px 16px 7px 14px;
  font-size: 12.5px; color: #555; font-weight: 500;
  text-align: right;
  border: none;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.sidebar-sub-link::before { display: none; }
.sidebar-sub-link:hover {
  color: var(--red);
  background: rgba(212,7,14,.07);
}
.sidebar-sub-link.ativo {
  color: var(--red); font-weight: 700;
  background: rgba(212,7,14,.10);
}

/* ── "Ver todos" dentro das subcategorias ── */
.sidebar-ver-todos {
  color: #aaa; font-size: 11.5px; font-weight: 400; font-style: italic;
  border-bottom: 1px solid rgba(0,0,0,.06);
  border-radius: 0;
  margin-bottom: 2px;
  padding-bottom: 8px;
}
.sidebar-ver-todos::before { display: none; }
.sidebar-ver-todos:hover { color: var(--red); background: rgba(212,7,14,.05); }
.sidebar-ver-todos.ativo { color: var(--red); font-style: normal; font-weight: 600; }

/* Anula borders herdados do seletor base .sidebar-list li a (maior especificidade) */
.sidebar-list .sidebar-cat-link,
.sidebar-list .sidebar-sub-link {
  border-bottom: none;
  border-left: none;
  border-top: none;
}

/* ── Limpar filtros: refinado ── */
.sidebar-limpar {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 14px; font-size: 12.5px; font-weight: 700;
  color: var(--red); background: var(--red-lt);
  border-top: 1px solid rgba(212,7,14,.12);
  transition: background .15s, color .15s;
}
.sidebar-limpar:hover { background: var(--red); color: #fff; }

/* ── Cat-nav pills: ícones SVG ── */
.cat-pill svg {
  width: 14px; height: 14px; flex-shrink: 0;
  opacity: .8; transition: opacity .15s;
}
.cat-pill:hover svg, .cat-pill.ativo svg { opacity: 1; }
.cat-pill.ativo svg { color: var(--dark); }

/* ── Desktop: sidebar fills viewport height + footer visível ── */
@media (min-width: 641px) {
  .sidebar {
    min-height: calc(100vh - var(--header-h) - var(--catnav-h) - 32px);
  }
  .sidebar-drawer-footer {
    display: flex; flex-direction: column; gap: 10px;
    padding: 14px 12px; margin-top: auto; flex-shrink: 0;
    border-top: 1px solid var(--g1);
  }
  .sidebar-wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 14px; border-radius: 8px;
    background: var(--wa); color: #fff;
    font-size: 12.5px; font-weight: 700;
    transition: background .15s, transform .15s;
  }
  .sidebar-wa-btn:hover { background: var(--wa-dk); transform: translateY(-1px); }
  .sidebar-store-info {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; flex-wrap: wrap;
    font-size: 10.5px; color: #aaa;
  }
  .sidebar-store-info svg { opacity: .45; flex-shrink: 0; }
}

/* ── Mobile drawer: ícones dark theme ── */
@media (max-width: 640px) {
  .sidebar-cat-icon {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.6) !important;
  }
  .sidebar-cat-link:hover .sidebar-cat-icon {
    background: rgba(212,7,14,.25) !important;
    border-color: rgba(212,7,14,.4) !important;
    color: #fff !important;
  }
  .sidebar-cat-link.ativo .sidebar-cat-icon {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(212,7,14,.5) !important;
  }
  .sidebar-cat-name { color: rgba(255,255,255,.8) !important; }
  .sidebar-cat-link:hover .sidebar-cat-name { color: #fff !important; }
  .sidebar-cat-link.ativo .sidebar-cat-name { color: #fff !important; font-weight: 700 !important; }
  .sidebar-cat-link .sidebar-cnt {
    background: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.5) !important;
  }
  .sidebar-cat-link.ativo .sidebar-cnt {
    background: rgba(255,255,255,.2) !important;
    color: #fff !important;
  }
  .sidebar-expand-btn { border-left-color: rgba(255,255,255,.08) !important; }
  .sidebar-sub-link { color: rgba(255,255,255,.6) !important; }
  .sidebar-sub-link:hover { color: #fff !important; background: rgba(255,255,255,.07) !important; }
  .sidebar-sub-link.ativo { color: #fff !important; background: rgba(212,7,14,.2) !important; }
  .sidebar-sub-link::before { color: rgba(255,255,255,.25) !important; }
  .sidebar-sub-link:hover::before,
  .sidebar-sub-link.ativo::before { color: var(--red) !important; }
  .sidebar-sub-list { background: rgba(0,0,0,.2) !important; border-color: rgba(255,255,255,.06) !important; }
}

/* ══════════════════════════════════════════════════════════
   CAT-NAV DROPDOWN (subcategorias no header)
══════════════════════════════════════════════════════════ */
.cat-pill-wrap { display: inline-flex; position: relative; }
.cat-pill-wrap .cat-pill {
  background: none; border: none; cursor: pointer;
  font-family: inherit;
}
.cat-pill-chevron {
  opacity: .75; flex-shrink: 0;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.cat-pill.drop-open { background: rgba(0,0,0,.22) !important; color: #fff !important; }
.cat-pill.drop-open .cat-pill-chevron { transform: rotate(180deg); opacity: 1; }

.cat-dropdown {
  display: none;
  position: fixed; z-index: 9800;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid var(--g1);
  padding: 6px;
  animation: dropIn .18s cubic-bezier(.4,0,.2,1);
}
.cat-dropdown.open { display: block; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cat-drop-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  font-size: 13px; font-weight: 500; color: #444;
  border-radius: 8px;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.cat-drop-item:hover { background: var(--g0); color: var(--dark); }
.cat-drop-item.ativo { color: var(--red); font-weight: 700; background: var(--red-lt); }
.cat-drop-all {
  font-weight: 700; color: var(--red);
  border-bottom: 1px solid var(--g1);
  border-radius: 8px 8px 0 0;
  padding-bottom: 11px; margin-bottom: 4px;
}
.cat-drop-all:hover { background: var(--red-lt); color: var(--red); }

/* ── Mais Vendidos: header diferenciado ── */
.mv-section { margin-bottom: 0; }
.mv-bloco { margin-bottom: 16px; }
.mv-header { margin-bottom: 16px; }
.mv-titulo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--dark);
  padding: 10px 16px;
  background: linear-gradient(135deg, #fff0f0 0%, #fff 60%);
  border-radius: 10px;
  border-left: 4px solid var(--red);
}
.mv-titulo svg { color: var(--red); flex-shrink: 0; }

/* ── Página Mais Vendidos ── */
.mv-page-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 28px 24px 48px;
}
.mv-page-header {
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.mv-page-title {
  display: flex; align-items: center; gap: 12px;
}
.mv-page-title h1 {
  font-size: 26px; font-weight: 800; color: var(--dark); margin: 0;
}
.mv-page-title svg { color: var(--red); flex-shrink: 0; }
.mv-page-sub { font-size: 14px; color: #888; }
.mv-volta {
  font-size: 13px; color: var(--red); font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px;
}
.mv-volta:hover { text-decoration: underline; }
.mv-grid { gap: 16px; }
.mv-vazio { padding: 60px; text-align: center; color: #888; font-size: 15px; }

/* Badge de ranking nos cards da página mais vendidos */
.mv-rank-badge {
  position: absolute; top: 8px; left: 8px; z-index: 4;
  background: var(--dark); color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 6px;
  letter-spacing: .5px;
}
.mv-rank-badge:nth-child(1) { background: #d97706; }

@media (max-width: 640px) {
  .mv-page-wrap { padding: 16px 12px 40px; }
  .mv-page-title h1 { font-size: 20px; }
}

/* ── Tela de sucesso do pedido (carrinho.php) ── */
.pedido-ok-box {
  text-align: center;
  padding: 48px 24px 56px;
  max-width: 500px;
  margin: 0 auto;
}
.pedido-ok-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #22c55e;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
}
.pedido-ok-box h2 {
  font-size: 24px; font-weight: 800; color: var(--dark); margin: 0 0 10px;
}
.pedido-ok-num {
  font-size: 22px; font-weight: 900; color: var(--red);
  letter-spacing: 1px; margin: 0 0 6px;
}
.pedido-ok-msg {
  color: #555; font-size: 14px; line-height: 1.6; margin: 0 0 28px;
}
.pedido-ok-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 13px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(37,211,102,.4);
  transition: transform .15s, box-shadow .15s;
}
.pedido-ok-wa:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(37,211,102,.5); }
.pedido-ok-voltar {
  display: block; margin-top: 16px;
  font-size: 13px; color: var(--red); font-weight: 600;
  text-decoration: none;
}
.pedido-ok-voltar:hover { text-decoration: underline; }
