/* ============================================================
   SINCROTEL – Loja / style.css
   Design system idêntico ao portal institucional
   Azul #00558c / #0076a8 / Prata #c0c0c0 · Dark navy
   ============================================================ */

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

:root {
  --blue-1:    #00558c;
  --blue-2:    #0076a8;
  --blue-3:    #4ab3e8;
  --blue-deep: #001a2e;
  --blue-mid:  #002b47;
  --silver:    #c0c0c0;
  --silver-2:  #e8edf2;
  --white:     #ffffff;
  --text:      #e2eaf3;
  --text-muted:#8aacc8;
  --bg-dark:   #040d16;
  --bg-card:   rgba(0,85,140,0.08);
  --border:    rgba(0,118,168,0.25);
  --glow:      0 0 40px rgba(0,118,168,0.35);
  --glow-sm:   0 0 18px rgba(74,179,232,0.25);
  --radius:    12px;
  --radius-lg: 20px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --trans:     0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--blue-1); border-radius: 3px; }
::selection { background: var(--blue-2); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--blue-3); }
section { position: relative; overflow: hidden; }

/* ── Loader ── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: 16px;
}
.loader-s {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 900;
  color: var(--blue-3);
  text-shadow: 0 0 30px rgba(74,179,232,0.5);
}
.loader-bar {
  width: 60px; height: 3px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block; height: 100%;
  background: var(--blue-3);
  animation: loaderBar 1.2s ease-in-out infinite;
}
@keyframes loaderBar {
  0% { width: 0; margin-left: 0; }
  50% { width: 100%; margin-left: 0; }
  100% { width: 0; margin-left: 100%; }
}
.loader-text {
  font-family: var(--font-head);
  font-size: 1.1rem; letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
#navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(4,13,22,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img { border-radius: 8px; object-fit: contain; }
.logo-mark { width: 38px; height: 38px; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}
.logo-tag {
  font-size: 0.65rem; font-weight: 700;
  background: var(--blue-3);
  color: var(--bg-dark);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  margin-left: 6px;
  vertical-align: middle;
}

/* Busca */
.nav-search {
  flex: 1; max-width: 400px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,85,140,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 16px; height: 40px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav-search:focus-within {
  border-color: var(--blue-3);
  box-shadow: 0 0 0 3px rgba(74,179,232,0.15);
}
.nav-search svg { color: var(--text-muted); flex-shrink: 0; }
.nav-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-body);
  font-size: 0.9rem;
}
.nav-search input::placeholder { color: var(--text-muted); }
.search-clear {
  color: var(--text-muted); font-size: 0.8rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.search-clear.visible { opacity: 1; pointer-events: all; }

.nav-right {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
}

/* Carrinho */
.btn-cart {
  position: relative;
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  background: rgba(0,85,140,0.12);
  border: 1px solid var(--border);
  transition: background 0.25s, color 0.25s;
}
.btn-cart:hover { background: var(--blue-1); color: #fff; }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--blue-3); color: var(--bg-dark);
  font-size: 0.65rem; font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.cart-badge.pop { transform: scale(1.4); }

/* Login btn */
.btn-login {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.btn-login:hover {
  color: var(--white); border-color: var(--blue-2);
  background: rgba(0,118,168,0.1);
}
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Categorias pill nav */
.cat-nav {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex; gap: 6px;
  padding: 10px 24px;
  max-width: 1280px; margin: 0 auto;
  white-space: nowrap;
}
.cat-pill {
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.25s;
  background: rgba(0,85,140,0.08);
  white-space: nowrap;
}
.cat-pill:hover { color: var(--white); border-color: var(--border); }
.cat-pill.active {
  background: var(--blue-1);
  color: #fff;
  border-color: var(--blue-1);
  box-shadow: 0 0 12px rgba(0,85,140,0.4);
}

/* ══════════════════════════════════════════════════════════
   HERO LOJA
══════════════════════════════════════════════════════════ */
#loja-hero {
  min-height: 420px;
  display: flex; align-items: center;
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5; pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,118,168,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,118,168,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute; top: -100px; left: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,85,140,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -100px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,179,232,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.loja-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-3);
  background: rgba(74,179,232,0.1);
  border: 1px solid rgba(74,179,232,0.25);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .title-line { display: block; }
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 520px; margin-bottom: 32px;
}
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(0,85,140,0.4);
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.9; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,85,140,0.5);
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.2s;
  text-decoration: none;
}
.btn-whatsapp:hover { opacity: 0.9; transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   CATÁLOGO
══════════════════════════════════════════════════════════ */
#catalogo { padding: 40px 0 80px; }

.catalogo-toolbar {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.catalogo-count {
  font-size: 0.88rem; color: var(--text-muted);
}
.catalogo-count strong { color: var(--text); }
.select-sort {
  background: rgba(0,85,140,0.12);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s;
}
.select-sort:focus { border-color: var(--blue-3); }
.select-sort option { background: #001a2e; }

/* Grid */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Skeleton */
.produto-skeleton {
  height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(
    90deg,
    rgba(0,85,140,0.08) 0%,
    rgba(0,118,168,0.15) 50%,
    rgba(0,85,140,0.08) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Produto Card */
.produto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
}
.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
  border-color: var(--blue-2);
}
.produto-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(0,85,140,0.2), rgba(0,26,46,0.8));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.produto-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.produto-card:hover .produto-card-img img { transform: scale(1.05); }
.produto-card-img .img-placeholder {
  width: 60px; height: 60px;
  opacity: 0.2;
}
.produto-badge-esgotado {
  position: absolute; top: 10px; left: 10px;
  background: rgba(220,50,50,0.85);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.produto-badge-novo {
  position: absolute; top: 10px; right: 10px;
  background: var(--blue-3);
  color: var(--bg-dark);
  font-size: 0.7rem; font-weight: 800;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.produto-card-body {
  padding: 16px; flex: 1;
  display: flex; flex-direction: column;
}
.produto-categoria {
  font-size: 0.72rem; font-weight: 700;
  color: var(--blue-3); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 6px;
}
.produto-nome {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 6px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.produto-fab {
  font-size: 0.78rem; color: var(--text-muted);
  margin-bottom: 10px;
}
.produto-preco {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.produto-preco span {
  font-size: 0.9rem; font-weight: 400;
  color: var(--text-muted);
  margin-right: 4px;
}
.produto-card-actions {
  display: flex; gap: 8px;
}
.btn-add-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff;
  font-weight: 700; font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-add-cart:disabled {
  background: rgba(0,85,140,0.2);
  color: var(--text-muted);
  cursor: not-allowed; transform: none;
}
.btn-ver-mais {
  width: 40px; height: 40px;
  background: rgba(0,85,140,0.15);
  border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s;
}
.btn-ver-mais:hover { border-color: var(--blue-3); color: var(--blue-3); }

/* Estado vazio */
.produtos-empty {
  text-align: center; padding: 80px 24px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.produtos-empty svg { color: var(--text-muted); }
.produtos-empty h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); }
.produtos-empty p { color: var(--text-muted); }

/* Paginação */
.paginacao {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 40px; flex-wrap: wrap;
}
.pag-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,85,140,0.12);
  border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.pag-btn:hover { border-color: var(--blue-2); color: var(--white); }
.pag-btn.active {
  background: var(--blue-1); border-color: var(--blue-1);
  color: #fff; box-shadow: 0 0 12px rgba(0,85,140,0.4);
}
.pag-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════
   MODAL PRODUTO
══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2,8,16,0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: linear-gradient(145deg, #031424, #021020);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  background: rgba(0,85,140,0.15);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s;
}
.modal-close:hover { background: rgba(255,60,60,0.15); color: #ff6060; border-color: rgba(255,60,60,0.3); }

/* Conteúdo modal produto */
.modal-produto-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; padding: 32px;
}
@media (max-width: 600px) {
  .modal-produto-layout { grid-template-columns: 1fr; padding: 24px; }
}
.modal-img-wrap {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,85,140,0.2), rgba(0,26,46,0.9));
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.modal-img-placeholder { opacity: 0.15; }
.modal-info { display: flex; flex-direction: column; gap: 14px; }
.modal-categoria {
  font-size: 0.72rem; font-weight: 700;
  color: var(--blue-3); text-transform: uppercase;
  letter-spacing: 0.1em;
}
.modal-nome {
  font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 900;
  color: var(--white); line-height: 1.2;
}
.modal-fabricante { font-size: 0.82rem; color: var(--text-muted); }
.modal-preco {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 900;
  color: var(--white);
}
.modal-preco span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.modal-estoque {
  font-size: 0.82rem;
  display: flex; align-items: center; gap: 6px;
}
.estoque-ok { color: #4ade80; }
.estoque-low { color: #facc15; }
.estoque-zero { color: #f87171; }
.modal-desc {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.7;
}
.modal-especificacoes {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.modal-especificacoes h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue-3); margin-bottom: 8px;
}
.modal-especificacoes p { font-size: 0.88rem; color: var(--text-muted); }
.modal-qty {
  display: flex; align-items: center; gap: 12px;
}
.modal-qty-label { font-size: 0.82rem; color: var(--text-muted); }
.qty-controls {
  display: flex; align-items: center; gap: 0;
  background: rgba(0,85,140,0.15);
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.qty-btn:hover { background: var(--blue-1); color: #fff; }
.qty-num {
  width: 40px; text-align: center;
  font-weight: 700; color: var(--white);
  font-size: 0.95rem;
}
.btn-add-modal {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff; font-weight: 700; font-size: 1rem;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: opacity 0.25s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-add-modal:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-add-modal:disabled { background: rgba(0,85,140,0.2); color: var(--text-muted); cursor: not-allowed; transform: none; }

/* ══════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 380px; max-width: 100vw;
  height: 100vh; z-index: 1200;
  background: linear-gradient(180deg, #031424 0%, #021020 100%);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--white);
}
.cart-drawer-close {
  color: var(--text-muted); font-size: 1.1rem;
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cart-drawer-close:hover { background: rgba(255,60,60,0.15); color: #ff6060; }
.cart-items {
  flex: 1; overflow-y: auto; padding: 16px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cart-empty {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted);
  padding: 40px 0;
}
.cart-empty svg { color: var(--border); }

/* Cart item */
.cart-item {
  display: flex; gap: 12px;
  padding: 12px;
  background: rgba(0,85,140,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.cart-item-img {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0,85,140,0.15);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-nome {
  font-size: 0.88rem; font-weight: 600; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.cart-item-preco { font-size: 0.82rem; color: var(--text-muted); }
.cart-item-controls {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.cart-qty-btn {
  width: 24px; height: 24px;
  background: rgba(0,85,140,0.2);
  border: 1px solid var(--border);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 0.9rem;
  transition: background 0.2s;
}
.cart-qty-btn:hover { background: var(--blue-1); }
.cart-qty-num { font-size: 0.85rem; font-weight: 700; color: var(--white); min-width: 20px; text-align: center; }
.cart-item-total { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.cart-item-remove {
  position: absolute; top: 8px; right: 8px;
  color: var(--text-muted); font-size: 0.75rem;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #f87171; }

/* Cart footer */
.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-subtotal { display: flex; flex-direction: column; gap: 6px; }
.cart-subtotal-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; color: var(--text-muted);
}
.cart-subtotal-row.total-row {
  font-size: 1.1rem; font-weight: 800; color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 8px; margin-top: 4px;
}
.frete-calc {
  display: flex; gap: 8px;
}
.frete-calc input {
  flex: 1;
  background: rgba(0,85,140,0.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
  outline: none;
}
.frete-calc input:focus { border-color: var(--blue-3); }
.btn-frete {
  background: rgba(0,85,140,0.2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
  cursor: pointer; transition: all 0.25s; white-space: nowrap;
}
.btn-frete:hover { background: var(--blue-1); color: #fff; border-color: var(--blue-1); }
.btn-checkout {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff; font-weight: 800; font-size: 1rem;
  border-radius: 10px;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: opacity 0.25s, transform 0.2s;
}
.btn-checkout:hover { opacity: 0.9; transform: translateY(-1px); }
.cart-note {
  font-size: 0.72rem; color: var(--text-muted);
  text-align: center; line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   CHECKOUT MODAL
══════════════════════════════════════════════════════════ */
.modal-checkout-box {
  max-width: 520px;
}
.checkout-form {
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.checkout-form h3 {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 4px;
}
.checkout-form p.sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(0,85,140,0.12);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--blue-3); }
.form-group input::placeholder { color: var(--text-muted); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-resumo {
  background: rgba(0,85,140,0.1);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
  font-size: 0.85rem;
}
.checkout-resumo h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue-3); margin-bottom: 8px;
}
.resumo-row {
  display: flex; justify-content: space-between;
  color: var(--text-muted); margin-bottom: 4px;
}
.resumo-total {
  display: flex; justify-content: space-between;
  font-size: 1rem; font-weight: 800; color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 8px; margin-top: 6px;
}
.btn-pagar {
  padding: 14px 24px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff; font-weight: 800; font-size: 1rem;
  border-radius: 10px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.25s, transform 0.2s;
}
.btn-pagar:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-pagar:disabled { background: rgba(0,85,140,0.2); color: var(--text-muted); cursor: not-allowed; transform: none; }
.checkout-seguro {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 0.72rem; color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   TOASTS
══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9000;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600;
  min-width: 240px; max-width: 340px;
  animation: toastIn 0.35s ease;
  pointer-events: all;
  backdrop-filter: blur(10px);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}
.toast.success {
  background: rgba(20,40,20,0.95);
  border-color: rgba(74,222,128,0.3);
  color: #4ade80;
}
.toast.error {
  background: rgba(40,10,10,0.95);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
}
.toast.info {
  background: rgba(0,20,40,0.95);
  border-color: rgba(74,179,232,0.3);
  color: var(--blue-3);
}
.toast.out {
  animation: toastOut 0.3s ease forwards;
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(40px); }
}

/* ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════ */
#trust-bar {
  background: rgba(0,85,140,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-grid {
  display: flex; gap: 32px;
  flex-wrap: wrap; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.88rem;
}
.trust-item svg { color: var(--blue-3); flex-shrink: 0; }
.trust-item strong { color: var(--white); }

/* ══════════════════════════════════════════════════════════
   PEDIDO CONFIRMADO
══════════════════════════════════════════════════════════ */
.pedido-confirmado {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.8);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pedido-confirmado-box {
  background: linear-gradient(145deg, #031424, #021020);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 440px; width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(74,222,128,0.1);
}
.pc-icon { margin-bottom: 24px; }
.pc-icon svg { color: #4ade80; margin: 0 auto; }
.pedido-confirmado-box h2 {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 900;
  color: var(--white); margin-bottom: 12px;
}
.pedido-confirmado-box p { color: var(--text-muted); margin-bottom: 8px; }
.pc-pedido-id { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.pc-pedido-id strong { color: var(--blue-3); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
#footer { background: var(--blue-deep); }
.footer-top { padding: 60px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-slogan { font-size: 0.82rem; color: var(--blue-3); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(0,85,140,0.2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--blue-1); color: #fff; border-color: var(--blue-1); }
.footer-links h5 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-link-btn {
  font-size: 0.88rem; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  text-align: left; padding: 0;
  transition: color 0.25s;
  font-family: var(--font-body);
}
.footer-links a:hover, .footer-link-btn:hover { color: var(--blue-3); }
.footer-contato h5 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-contato address { display: flex; flex-direction: column; gap: 8px; }
.footer-contato p { font-size: 0.88rem; color: var(--text-muted); }
.footer-contato a { color: var(--blue-3); transition: opacity 0.25s; }
.footer-contato a:hover { opacity: 0.8; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.footer-credits { font-size: 0.72rem !important; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   FLOATING ELEMENTS
══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 500;
  display: flex; align-items: center; gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700; font-size: 0.85rem;
  padding: 12px 18px; border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

.back-top {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 500;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,85,140,0.2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-1); color: #fff; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-search.mobile-open { display: flex; position: absolute; top: 64px; left: 0; right: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--border); background: rgba(4,13,22,0.98); padding: 0 20px; height: 50px; z-index: 10; }
  .nav-toggle { display: flex; }
  .btn-login span { display: none; }
  .btn-login { padding: 8px; }
  .logo-text .logo-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .produtos-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  #loja-hero { min-height: 340px; padding: 60px 24px 40px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .trust-grid { gap: 20px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 12px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .modal-produto-layout { padding: 20px; }
  .checkout-form { padding: 24px; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
