/* ================================================
   WL MULTIMARCAS — Style v2.0
   ================================================ */
:root {
  --gold: #d4a935;
  --gold-dark: #a67c1f;
  --bg: #0a0a0a;
  --bg2: #111;
  --bg3: #1a1a1a;
  --text: #f5f5f5;
  --muted: #888;
  --border: rgba(212,169,53,0.15);
  --glass: rgba(255,255,255,0.04);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* --- TOPBAR --- */
.topbar { border-bottom: 1px solid var(--border); }
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 34px; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.74rem; color: var(--muted);
}
.topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar-left a, .topbar-frete {
  display: flex; align-items: center; gap: 5px;
  color: var(--muted); transition: 0.2s; white-space: nowrap;
}
.topbar-left a:hover { color: var(--gold); }

.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-login {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 0.74rem; transition: 0.2s; white-space: nowrap;
}
.topbar-login:hover { color: var(--gold); }

.cart-btn-mini {
  display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 0.9rem;
}
.cart-btn-mini:hover { color: var(--gold); }
.cart-btn-mini .cart-count {
  background: var(--gold); color: #000; border-radius: 999px;
  padding: 1px 7px; font-size: 0.68rem; font-weight: 900; min-width: 16px; text-align: center;
}

/* --- HEADER PRINCIPAL --- */
.header-main { padding: 16px 0; }
.header-main-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; color: var(--text);
}
.logo-img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.logo-text b { color: var(--gold); font-weight: 900; font-size: 1.2rem; }
.logo-text small {
  font-size: 0.62rem; color: var(--muted); font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}

.brands-strip { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brands-strip a {
  width: 46px; height: 30px; background: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px; overflow: hidden; transition: 0.2s;
}
.brands-strip a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.brands-strip img { height: 100%; width: 100%; object-fit: contain; }
.brands-strip-texto {
  width: 46px; height: 30px; background: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #111; font-size: 0.7rem; letter-spacing: 0.5px;
}

/* --- NAVEGAÇÃO --- */
.nav-bar { border-top: 1px solid var(--border); background: rgba(0,0,0,0.3); }
.nav-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 44px;
  display: flex; align-items: center; gap: 24px;
}
.nav-categorias { position: relative; flex-shrink: 0; }
.nav-categorias-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: #000; border: none;
  padding: 9px 16px; font-weight: 800; font-size: 0.8rem; border-radius: 6px;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.2s;
}
.nav-categorias-btn:hover { background: var(--gold-dark); }
.nav-categorias-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  min-width: 180px; box-shadow: var(--shadow); overflow: hidden; z-index: 10;
}
.nav-categorias-dropdown.aberto { display: block; }
.nav-categorias-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; font-size: 0.85rem; color: var(--text); transition: 0.2s;
}
.nav-categorias-dropdown a:hover { background: var(--glass); color: var(--gold); }

.nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  white-space: nowrap; padding: 8px 12px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted); transition: 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--glass); }

.nav-extra { display: flex; gap: 18px; flex-shrink: 0; }
.nav-extra a {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: 0.2s;
}
.nav-extra a:hover { color: var(--gold); }

/* ===== SEÇÃO DE MARCAS ===== */
.marcas-section {
  background: var(--bg); padding: 48px 24px 36px;
  border-bottom: 1px solid var(--border);
}
.marcas-grid {
  display: flex; justify-content: center;
  gap: 16px; flex-wrap: wrap; max-width: 900px; margin: 0 auto;
}
.marca-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 24px; min-width: 110px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; transition: 0.25s; text-decoration: none;
}
.marca-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(241,196,15,0.12);
}
.marca-card-logo {
  width: 80px; height: 44px;
  background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6px;
}
.marca-card-logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.marca-card-logo--texto {
  background: #111; color: var(--gold);
  font-size: 1.1rem; font-weight: 900; letter-spacing: 2px;
}
.marca-card span {
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  text-align: center; letter-spacing: 0.5px; text-transform: uppercase;
  transition: 0.2s;
}
.marca-card:hover span { color: var(--gold); }

.search-wrap {
  position: relative; display: flex; align-items: center;
  flex: 1; max-width: 420px;
}
.search-wrap input {
  width: 100%; background: var(--glass); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 44px 10px 16px;
  color: var(--text); font-size: 0.86rem;
  outline: none; transition: 0.25s;
}
.search-wrap input:focus { border-color: var(--gold); }
.search-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--gold); color: #000; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.search-btn:hover { background: var(--gold-dark); }

.user-area { position: relative; display: none; }
.user-area.visivel { display: block; }
.btn-perfil {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text); font-size: 0.82rem; font-weight: 600;
}
.btn-perfil i { color: var(--gold); }
.user-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 160px; box-shadow: var(--shadow);
}
.user-dropdown.ativo { display: block; }
.user-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: 0.875rem; transition: 0.2s;
}
.user-dropdown a:hover { background: var(--glass); color: var(--gold); }

/* ===== BUSCA ===== */
.search-results {
  position: fixed; top: 160px; left: 0; right: 0; z-index: 999;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  max-height: 55vh; overflow-y: auto; padding: 20px 24px;
}
.search-results-inner { max-width: 1280px; margin: 0 auto; }
.search-results h3 { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem; }

/* ===== HERO / CARROSSEL ===== */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  display: flex; align-items: center; justify-content: flex-start;
  opacity: 0; transition: opacity 0.9s ease; z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.4) 100%),
    linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 48%, rgba(0,0,0,0.05) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: left; padding: 0 6vw; max-width: 640px;
}
.hero-badge {
  display: inline-block; background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 3px; padding: 6px 14px; border-radius: 2px; margin-bottom: 22px;
}
.hero-title {
  font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(3.2rem, 8.5vw, 6.4rem); font-weight: 400;
  text-transform: uppercase;
  line-height: 1; letter-spacing: 1px; color: var(--text);
  text-shadow: 0 0 80px rgba(212,169,53,0.3);
  margin-bottom: 18px;
}
.hero-title b { color: var(--gold); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.65);
  margin-bottom: 34px; letter-spacing: 1px;
}

.btn-primary {
  padding: 14px 32px; background: var(--gold); color: #000;
  border-radius: 5px; font-weight: 800; font-size: 0.95rem;
  transition: 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,169,53,0.4); }

/* --- setas --- */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.35);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s; backdrop-filter: blur(6px);
}
.hero-arrow:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* --- bolinhas --- */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: 0.2s;
}
.hero-dot.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* --- brasão no rodapé do hero --- */
.hero-crest { position: absolute; bottom: 24px; left: 6vw; height: 52px; width: auto; z-index: 3; opacity: 0.9; }

/* --- carrossel com 1 slide só: some com setas/bolinhas --- */
.hero.hero-single .hero-arrow,
.hero.hero-single .hero-dots { display: none; }

/* ===== SELOS DE CONFIANÇA ===== */
.trust-bar { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 22px 20px; }
.trust-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 190px; }
.trust-item i { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.85rem; font-weight: 800; }
.trust-item span { display: block; font-size: 0.72rem; color: var(--muted); }

/* ===== SEÇÕES ===== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; font-weight: 900; margin-bottom: 6px; }
.section-header p { color: var(--muted); font-size: 0.95rem; }

/* ===== PRODUTOS ===== */
.produtos-section { padding: 80px 24px; max-width: 1280px; margin: 0 auto; }

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.produto {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: 0.3s;
}
.produto:hover {
  transform: translateY(-5px);
  border-color: rgba(241,196,15,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.produto-img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
}
.produto-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s;
}
.produto:hover .produto-img-wrap img { transform: scale(1.06); }

.ver-fotos {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.55); color: #fff; border: none;
  border-radius: 999px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: 0.2s; backdrop-filter: blur(6px);
}
.produto:hover .ver-fotos { opacity: 1; }
.ver-fotos:hover { background: var(--gold); color: #000; }

.produto-info { padding: 16px; }
.produto-nome { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; line-height: 1.3; }
.produto-preco {
  display: inline-block; background: rgba(241,196,15,0.1);
  color: var(--gold); font-weight: 800; font-size: 1rem;
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.produto-opcoes { display: flex; gap: 8px; margin-bottom: 12px; }
.produto-opcoes select,
.produto-opcoes input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); padding: 7px 10px;
  font-size: 0.84rem; outline: none; transition: 0.2s;
}
.produto-opcoes input { max-width: 68px; }
.produto-opcoes select:focus,
.produto-opcoes input:focus { border-color: var(--gold); }

.btn-add {
  width: 100%; padding: 11px; background: var(--gold); color: #000;
  border: none; border-radius: 10px; font-weight: 800; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: 0.2s;
}
.btn-add:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-add:active { transform: scale(0.98); }

/* ===== PAGAMENTO ===== */
.pagamento-section {
  background: var(--bg2); padding: 64px 20px; text-align: center;
  border-top: 1px solid var(--border);
}
.pagamento-icons {
  display: flex; justify-content: center; align-items: center;
  gap: 24px; flex-wrap: wrap; margin: 24px 0;
}
.pagamento-icons img { height: 38px; width: auto; object-fit: contain; opacity: 0.85; }
.frete-info { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

/* ===== WHATSAPP ===== */
.wpp-section {
  background: linear-gradient(135deg, #0a1f0d 0%, #122218 100%);
  padding: 80px 20px; text-align: center;
  border-top: 1px solid rgba(37,211,102,0.15);
}
.wpp-inner h2 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.wpp-inner p { color: rgba(255,255,255,0.55); margin-bottom: 30px; }
.btn-wpp-big {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 38px; background: #25d366; color: #fff;
  border-radius: 999px; font-weight: 800; font-size: 1.05rem; transition: 0.25s;
}
.btn-wpp-big:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.4); }

/* ===== FOOTER ===== */
.footer { background: #000; border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo { font-size: 1.15rem; font-weight: 700; }
.footer-logo b { color: var(--gold); font-weight: 900; }
.footer p { color: var(--muted); font-size: 0.82rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 1.2rem; transition: 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ===== SCROLL TOP ===== */
#scrollTopBtn {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--gold); color: #000; border: none;
  border-radius: 999px; width: 44px; height: 44px; font-size: 1rem;
  display: none; align-items: center; justify-content: center;
  z-index: 998; transition: 0.2s;
  box-shadow: 0 4px 20px rgba(241,196,15,0.4);
}
#scrollTopBtn.visivel { display: flex; }
#scrollTopBtn:hover { transform: translateY(-2px); }

/* ===== CART OVERLAY ===== */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 1099;
  backdrop-filter: blur(4px);
}
.cart-overlay.ativo { display: block; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed; top: 0; right: -440px; width: 400px; height: 100vh;
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 1100; display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -24px 0 60px rgba(0,0,0,0.6);
}
.cart-sidebar.aberto { right: 0; }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-header h3 {
  font-size: 1.05rem; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.cart-header h3 i { color: var(--gold); }
.cart-close {
  background: transparent; border: none; color: var(--muted);
  font-size: 1rem; padding: 6px 8px; border-radius: 8px; transition: 0.2s;
}
.cart-close:hover { color: var(--text); background: var(--glass); }

.cart-list { list-style: none; flex: 1; overflow-y: auto; padding: 14px; }
.cart-list::-webkit-scrollbar { width: 4px; }
.cart-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.cart-vazio { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-vazio i { font-size: 2.8rem; margin-bottom: 12px; display: block; opacity: 0.3; }
.cart-vazio p { font-size: 0.9rem; }

.cart-item-li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 10px; margin-bottom: 8px;
  background: var(--glass); border: 1px solid var(--border);
}
.cart-item-li img {
  width: 50px; height: 50px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-nome {
  font-size: 0.83rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-det { font-size: 0.73rem; color: var(--muted); margin-top: 2px; }
.cart-item-preco { font-size: 0.88rem; font-weight: 800; color: var(--gold); white-space: nowrap; }
.cart-item-remove {
  background: transparent; border: none; color: var(--muted);
  padding: 4px; border-radius: 6px; transition: 0.2s; flex-shrink: 0;
}
.cart-item-remove:hover { color: #ff5c5c; }

.cart-footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px; flex-shrink: 0;
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.9rem;
}
.cart-subtotal span { color: var(--muted); }

.frete-box {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.frete-box label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.cep-row { display: flex; gap: 6px; }
.cep-row input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); padding: 8px 10px;
  font-size: 0.88rem; outline: none; transition: 0.2s;
}
.cep-row input:focus { border-color: var(--gold); }
.cep-row button {
  background: var(--gold); color: #000; border: none;
  border-radius: 8px; padding: 8px 14px;
  font-weight: 800; font-size: 0.85rem; transition: 0.2s;
}
.cep-row button:hover { background: var(--gold-dark); }
.cep-row button:disabled { opacity: 0.6; cursor: not-allowed; }
#endereco-resultado small { font-size: 0.76rem; color: var(--muted); line-height: 1.4; }
#frete-resultado { font-size: 0.85rem; color: var(--text); }
#frete-resultado strong { color: var(--gold); }

.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(241,196,15,0.07); border-radius: 10px; padding: 12px 14px;
  border: 1px solid rgba(241,196,15,0.18);
}
.cart-total span { font-size: 0.85rem; color: var(--muted); }
.cart-total strong { font-size: 1.15rem; color: var(--gold); font-weight: 900; }

/* ===== SELETOR DE ENTREGA ===== */
.entrega-label {
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.entrega-tabs { display: flex; gap: 8px; }
.entrega-tab {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--bg3);
  border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: 0.2s; text-align: left;
}
.entrega-tab:hover { border-color: rgba(241,196,15,0.4); }
.entrega-tab.ativo { border-color: var(--gold); background: rgba(241,196,15,0.07); }
.entrega-tab i { font-size: 1.2rem; color: var(--muted); flex-shrink: 0; }
.entrega-tab.ativo i { color: var(--gold); }
.entrega-tab div { display: flex; flex-direction: column; gap: 1px; }
.entrega-tab span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.entrega-tab.ativo span { color: var(--text); }
.entrega-tab strong { font-size: 0.85rem; color: var(--gold); font-weight: 800; }

/* ===== SELETOR DE PAGAMENTO ===== */
.pagamento-box {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.pagamento-box label {
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pagamento-opcoes {
  display: flex; gap: 8px;
}
.pag-opcao {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 10px 6px;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: 0.2s;
}
.pag-opcao:hover { border-color: rgba(241,196,15,0.4); }
.pag-opcao.ativo {
  border-color: var(--gold);
  background: rgba(241,196,15,0.08);
}
.pag-opcao img { height: 22px; width: auto; object-fit: contain; }
.pag-opcao span { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.pag-opcao.ativo span { color: var(--gold); }
.pag-cards { display: flex; gap: 4px; align-items: center; }
.pag-cards img { height: 18px; }
.pag-icon { font-size: 1.3rem; color: var(--muted); }
.pag-opcao.ativo .pag-icon { color: var(--gold); }

.btn-checkout {
  width: 100%; padding: 14px; background: var(--gold); color: #000;
  border: none; border-radius: 12px; font-weight: 800; font-size: 0.95rem;
  transition: 0.2s;
}
.btn-checkout:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-clear {
  width: 100%; padding: 10px; background: transparent;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--muted); font-size: 0.82rem; transition: 0.2s;
}
.btn-clear:hover { border-color: #ff5c5c; color: #ff5c5c; }

/* ===== MODAL GALERIA ===== */
.modal {
  display: none; position: fixed; inset: 0;
  z-index: 2000; align-items: center; justify-content: center;
}
.modal.aberto { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
}
.modal-box {
  position: relative; z-index: 1;
  max-width: 480px; width: 90%; max-height: 88vh; overflow-y: auto;
  background: var(--bg2); border-radius: 20px;
  border: 1px solid var(--border); padding: 24px;
}
.fechar-modal {
  position: absolute; top: 14px; right: 14px;
  background: var(--glass); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s;
}
.fechar-modal:hover { border-color: var(--gold); color: var(--gold); }
.modal-conteudo { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.modal-conteudo img { width: 100%; border-radius: 10px; }

/* ===== MODAL CARTÃO ===== */
.modal-cartao-box {
  position: relative; z-index: 1;
  width: 90%; max-width: 520px; max-height: 92vh;
  background: var(--bg2); border-radius: 20px;
  border: 1px solid var(--border);
  overflow-y: auto;
}
.modal-cartao-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg2); z-index: 1;
}
.modal-cartao-header h3 {
  font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.modal-cartao-header h3 i { color: var(--gold); }
#cardPaymentBrick_container { padding: 20px; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .topbar-left { display: none; }
  .brands-strip { display: none; }
  .nav-links { display: none; }
  .nav-extra { display: none; }
  .nav-bar-inner { justify-content: center; }
}

@media (max-width: 768px) {
  .cart-sidebar { width: 100%; right: -100%; }
  .cart-sidebar.aberto { right: 0; }
  .hero-title { letter-spacing: -1px; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
  .hero-crest { height: 38px; }
  .logo-img { height: 32px; }
  .logo-text { font-size: 0.92rem; }
  .logo-text small { display: none; }
  .topbar-login span { display: none; }
  .topbar-inner { padding: 0 14px; }
  .header-main-inner { padding: 0 14px; gap: 14px; }
  .nav-bar-inner { padding: 0 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
