/* SnapFit — loja.css */
:root {
  --preto: #0a0a0a;
  --branco: #ffffff;
  --cinza1: #f5f5f5;
  --cinza2: #e8e8e8;
  --cinza3: #999;
  --muted: #666;
  --verde: #00c853;
  --verde-dark: #009624;
  --laranja: #ff6b00;
  --laranja-dark: #cc5500;
  --texto: #1a1a1a;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --font: 'Sora', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--texto); background: var(--branco); font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--preto);
  border-bottom: 2px solid var(--laranja);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 64px;
}
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.logo-snap { color: var(--branco); }
.logo-fit  { color: var(--laranja); }
.main-nav { display: flex; gap: 1.5rem; flex: 1; }
.main-nav a {
  color: rgba(255,255,255,0.75); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover { color: var(--laranja); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: rgba(255,255,255,0.8); transition: color .2s, background .2s;
  position: relative;
}
.icon-btn:hover { color: var(--laranja); background: rgba(255,255,255,0.08); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--laranja); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* HERO BANNER */
.hero-banner {
  background: var(--preto);
  min-height: 480px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 50%, #1a0a00 100%);
}
.hero-accent {
  position: absolute; right: 0; top: 0;
  width: 55%; height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(255,107,0,0.12));
}
.hero-content { position: relative; z-index: 1; padding: 3rem 0; }
.hero-tag {
  display: inline-block;
  background: var(--laranja); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.3rem 0.8rem;
  border-radius: 3px; margin-bottom: 1.25rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--branco);
  line-height: 1.1; margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--laranja); }
.hero-content p {
  color: rgba(255,255,255,0.65); font-size: 1.05rem;
  max-width: 480px; margin-bottom: 2rem; line-height: 1.7;
}

/* BOTÕES */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; transition: .2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--laranja); color: #fff; border-color: var(--laranja); }
.btn-primary:hover { background: var(--laranja-dark); border-color: var(--laranja-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; }
.btn-dark { background: var(--preto); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.78rem; }

/* BANNER STRIP */
.banner-strip {
  background: var(--laranja); color: #fff;
  text-align: center; padding: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
}

/* SEÇÃO */
.section { padding: 3.5rem 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; }
.section-title { font-size: 1.4rem; font-weight: 700; }
.section-title span { color: var(--laranja); }
.ver-todos { font-size: 0.8rem; font-weight: 600; color: var(--laranja); letter-spacing: 0.06em; text-transform: uppercase; }
.ver-todos:hover { text-decoration: underline; }

/* GRID PRODUTOS */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* CARD PRODUTO */
.produto-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--branco);
  border: 1px solid var(--cinza2);
  transition: box-shadow .25s, transform .2s;
}
.produto-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.produto-img {
  aspect-ratio: 1/1; overflow: hidden;
  background: var(--cinza1); position: relative;
}
.produto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.produto-card:hover .produto-img img { transform: scale(1.04); }
.badge-promo {
  position: absolute; top: 10px; left: 10px;
  background: var(--laranja); color: #fff;
  font-size: 0.68rem; font-weight: 700; padding: 3px 8px;
  border-radius: 3px;
}
.produto-info { padding: 0.9rem; }
.produto-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cinza3); margin-bottom: 0.3rem; }
.produto-nome { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.produto-preco { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.preco-atual { font-size: 1.05rem; font-weight: 700; color: var(--texto); }
.preco-original { font-size: 0.8rem; color: var(--cinza3); text-decoration: line-through; }
.produto-card .btn { margin-top: 0.25rem; }

/* FILTROS / SIDEBAR */
.loja-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.sidebar { background: var(--cinza1); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 80px; }
.sidebar h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; margin-top: 1.25rem; }
.sidebar h3:first-child { margin-top: 0; }
.sidebar ul li { padding: 0.3rem 0; }
.sidebar ul li a { font-size: 0.88rem; color: var(--texto); transition: color .15s; }
.sidebar ul li a:hover, .sidebar ul li a.ativo { color: var(--laranja); font-weight: 600; }
.filtro-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; cursor: pointer; }
.filtro-check input { accent-color: var(--laranja); }

/* PÁGINA PRODUTO */
.produto-detalhe { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0; }
.galeria-principal { aspect-ratio: 1/1; background: var(--cinza1); border-radius: var(--radius); overflow: hidden; }
.galeria-principal img { width: 100%; height: 100%; object-fit: cover; }
.produto-titulo { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.produto-preco-grande { font-size: 1.8rem; font-weight: 700; color: var(--laranja); margin: 1rem 0; }
.produto-preco-grande small { font-size: 1rem; color: var(--cinza3); text-decoration: line-through; margin-left: 0.5rem; }
.opcao-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; display: block; }
.tamanhos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.tamanho-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--cinza2); border-radius: 6px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: .2s; background: var(--branco);
}
.tamanho-btn:hover, .tamanho-btn.ativo { border-color: var(--laranja); color: var(--laranja); }
.qty-input { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--cinza2); border-radius: 6px; overflow: hidden; margin-bottom: 1.25rem; width: fit-content; }
.qty-btn { width: 40px; height: 44px; background: var(--cinza1); border: none; font-size: 1.1rem; cursor: pointer; font-weight: 700; transition: background .15s; }
.qty-btn:hover { background: var(--cinza2); }
.qty-val { width: 50px; height: 44px; text-align: center; border: none; font-size: 1rem; font-weight: 600; outline: none; }
.info-entrega { background: #f0fff4; border: 1px solid #c3e6cb; border-radius: 6px; padding: 0.9rem 1rem; margin-top: 1.25rem; font-size: 0.85rem; color: #155724; }

/* CARRINHO */
.carrinho-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--cinza2); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--cinza1); }
.cart-item-nome { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.25rem; }
.cart-item-var { font-size: 0.78rem; color: var(--muted); }
.cart-item-preco { font-weight: 700; text-align: right; }
.cart-remove { background: none; border: none; color: var(--cinza3); cursor: pointer; font-size: 1.2rem; margin-top: 0.25rem; }
.cart-remove:hover { color: red; }
.resumo-box { background: var(--cinza1); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 80px; }
.resumo-linha { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.4rem 0; }
.resumo-linha.total { font-size: 1.1rem; font-weight: 700; border-top: 1.5px solid var(--cinza2); margin-top: 0.5rem; padding-top: 0.75rem; }
.frete-gratis { color: var(--verde-dark); font-size: 0.8rem; font-weight: 600; }

/* FORMULÁRIOS */
.form-card { background: var(--branco); border: 1px solid var(--cinza2); border-radius: var(--radius); padding: 2rem; max-width: 480px; margin: 2rem auto; }
.form-card h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--muted); letter-spacing: 0.04em; }
.form-control {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--cinza2); border-radius: 6px;
  font-size: 0.92rem; font-family: var(--font);
  transition: border-color .2s; background: var(--branco);
}
.form-control:focus { outline: none; border-color: var(--laranja); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-erro { background: #fff0f0; border: 1px solid #f5c6c6; color: #c00; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.85rem; margin-bottom: 1rem; }
.form-ok { background: #f0fff4; border: 1px solid #c3e6cb; color: #155724; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.85rem; margin-bottom: 1rem; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.8rem; color: var(--muted); padding: 0.75rem 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--laranja); }
.breadcrumb span { margin: 0 0.4rem; }

/* PAGINAÇÃO */
.paginacao { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.paginacao a, .paginacao span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1.5px solid var(--cinza2);
}
.paginacao a:hover { border-color: var(--laranja); color: var(--laranja); }
.paginacao .ativo { background: var(--laranja); color: #fff; border-color: var(--laranja); }

/* FOOTER */
.site-footer { background: var(--preto); color: rgba(255,255,255,0.7); padding: 3rem 0 0; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul li { padding: 0.25rem 0; }
.footer-col ul li a { font-size: 0.85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--laranja); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a { color: rgba(255,255,255,0.5); transition: color .2s; }
.social-links a:hover { color: var(--laranja); }
.payment-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2rem; padding: 1rem 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* CHECKOUT STEPS */
.checkout-steps { display: flex; gap: 0; margin-bottom: 2.5rem; }
.step { flex: 1; text-align: center; position: relative; }
.step::after { content: ''; position: absolute; top: 16px; left: 50%; right: -50%; height: 2px; background: var(--cinza2); z-index: 0; }
.step:last-child::after { display: none; }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin: 0 auto 0.4rem; position: relative; z-index: 1; background: var(--cinza2); color: var(--muted); }
.step.ativo .step-num { background: var(--laranja); color: #fff; }
.step.completo .step-num { background: var(--verde); color: #fff; }
.step-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.step.ativo .step-label { color: var(--laranja); }

/* ADMIN LINK */
.admin-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--preto); color: #fff; padding: 0.6rem 1.1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 300; opacity: 0.6; transition: opacity .2s; }
.admin-fab:hover { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .loja-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .carrinho-layout { grid-template-columns: 1fr; }
  .produto-detalhe { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0; background: var(--preto); padding: 2rem; gap: 1.25rem; z-index: 199; }
  .hero-banner { min-height: 360px; }
  .produtos-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
