/* ============================================================
   CASAIUTILIDADE — Estilos Globais
   Visual 100% inspirado no Novari Oficial
   ============================================================ */

:root {
  --primary:       #E84C1B;
  --primary-dark:  #C73D14;
  --primary-light: #FFF3EE;
  --secondary:     #1C1C2E;
  --accent:        #FF8C42;
  --text:          #1A1A1A;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --border:        #E5E7EB;
  --border-light:  #F3F4F6;
  --bg:            #FFFFFF;
  --bg-alt:        #F9FAFB;
  --bg-dark:       #111827;
  --success:       #10B981;
  --star:          #F59E0B;
  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 32px rgba(0,0,0,.14);
  --header-h:      72px;
  --nav-h:         44px;
  --trans:         .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: var(--secondary); color: #fff;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
  pointer-events: auto;
  max-width: 320px;
}
.toast.success { background: var(--success); }
.toast.error   { background: #EF4444; }
@keyframes toastIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-svg { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-size: 18px; font-weight: 800; letter-spacing: -.5px;
  color: var(--secondary);
}
.logo-name span { color: var(--primary); }
.logo-tag { font-size: 9px; font-weight: 500; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; }

/* Search */
.header-search { flex: 1; max-width: 540px; }
.search-form { display: flex; align-items: center; background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: 9999px; overflow: hidden; transition: border-color var(--trans); }
.search-form:focus-within { border-color: var(--primary); }
.search-input {
  flex: 1; border: 0; background: transparent; padding: 0 16px;
  font-size: 14px; height: 44px; color: var(--text); outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  width: 44px; height: 44px; background: var(--primary); border: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background var(--trans); flex-shrink: 0;
}
.search-btn:hover { background: var(--primary-dark); }
.search-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.hdr-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 8px 12px; border: 0; background: transparent;
  border-radius: var(--radius-sm); transition: background var(--trans);
  color: var(--secondary); position: relative;
}
.hdr-btn:hover { background: var(--bg-alt); }
.hdr-btn svg { width: 22px; height: 22px; fill: currentColor; }
.hdr-btn span { font-size: 10px; font-weight: 600; white-space: nowrap; }
.hdr-badge {
  position: absolute; top: 4px; right: 8px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.hdr-badge[data-count="0"] { display: none; }

/* ============================================================
   NAV BAR
   ============================================================ */
.nav-bar {
  background: var(--secondary);
  height: var(--nav-h);
  position: sticky; top: var(--header-h); z-index: 800;
}
.nav-inner {
  display: flex; align-items: center; gap: 0;
  height: var(--nav-h); overflow-x: auto; scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex; align-items: center; height: var(--nav-h);
  padding: 0 16px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.85); white-space: nowrap;
  transition: color var(--trans), background var(--trans);
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: #fff; background: rgba(255,255,255,.07);
  border-bottom-color: var(--primary);
}
.nav-link.all-cats { color: var(--primary); cursor: pointer; }

/* ── Dropdown de Categorias (menu ☰ Categorias) ── */
.nav-bar .container { position: relative; }
.cat-menu {
  position: absolute; top: 100%; left: 20px; z-index: 940;
  width: min(340px, calc(100vw - 32px)); max-height: 72vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none;
}
.cat-menu.open { display: block; animation: catMenuIn .16s ease; }
@keyframes catMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.cat-menu-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-light); padding: 8px 12px 6px;
}
.cat-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--secondary); transition: background .15s, color .15s;
}
.cat-menu a:hover { background: var(--primary-light); color: var(--primary); }
.cat-menu a > span:first-child { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cat-menu a .cm-ico { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.cat-menu a .cm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-menu a .cm-count {
  background: var(--bg-alt); color: var(--text-muted);
  font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 9999px;
  min-width: 32px; text-align: center; flex-shrink: 0;
}
.cat-menu a:hover .cm-count { background: #fff; color: var(--primary); }
.cat-menu .cm-all { border-bottom: 1px solid var(--border-light); margin-bottom: 4px; padding-bottom: 12px; border-radius: 8px; }
.cat-menu .cm-all .cm-count { background: var(--primary); color: #fff; }

/* ============================================================
   ANNOUNCEMENT BAR (Ticker)
   ============================================================ */
.ticker-bar {
  background: var(--primary); color: #fff;
  height: 36px; overflow: hidden; position: relative;
}
.ticker-inner {
  display: flex; align-items: center; height: 36px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 0 40px;
}
.ticker-dot { width: 5px; height: 5px; background: rgba(255,255,255,.5); border-radius: 50%; }
@keyframes ticker { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mob-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px;
  border-radius: var(--radius-sm);
}
.mob-toggle span { display: block; width: 22px; height: 2px; background: var(--secondary); border-radius: 2px; transition: var(--trans); }

.mob-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 850;
}
.mob-overlay.open { display: block; }

.mob-menu {
  position: fixed; top: 0; left: -100%; width: 300px; height: 100%;
  background: var(--secondary); z-index: 860; overflow-y: auto;
  transition: left .3s ease;
  display: flex; flex-direction: column;
}
.mob-menu.open { left: 0; }
.mob-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mob-menu-title { color: #fff; font-size: 16px; font-weight: 800; }
.mob-close { background: transparent; border: 0; color: rgba(255,255,255,.7); font-size: 24px; padding: 4px; }
.mob-nav { flex: 1; padding: 12px 0; }
.mob-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--trans);
}
.mob-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.mob-nav-link svg { width: 18px; height: 18px; fill: currentColor; opacity: .7; }
.mob-footer {
  padding: 20px; border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: 12px; color: rgba(255,255,255,.4);
}
.mob-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff; border: 0; border-radius: 9999px;
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  width: 100%; margin-bottom: 12px; text-decoration: none;
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 950;
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
  height: 100%; background: #fff; z-index: 960;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); transition: right .3s ease;
}
.cart-sidebar.open { right: 0; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart-title svg { width: 22px; height: 22px; fill: var(--primary); }
.close-btn { background: var(--bg-alt); border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: var(--border); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 12px; color: var(--text-muted);
}
.cart-empty svg { width: 56px; height: 56px; fill: var(--border); }
.cart-empty h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.cart-empty p { font-size: 13px; text-align: center; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border-light);
}
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--primary); margin-top: 4px; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.qty-btn {
  width: 26px; height: 26px; border: 1.5px solid var(--border); border-radius: 6px;
  background: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--text-muted); font-size: 18px; background: transparent; border: 0; margin-left: auto; padding: 4px; }
.cart-item-remove:hover { color: var(--primary); }

.cart-foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.cart-subtotal .lbl { font-size: 14px; color: var(--text-muted); }
.cart-subtotal .val { font-size: 22px; font-weight: 800; color: var(--primary); }
.btn-checkout {
  display: block; width: 100%; padding: 14px;
  background: var(--primary); color: #fff;
  border: 0; border-radius: 9999px;
  font-size: 15px; font-weight: 800; text-align: center;
  transition: background var(--trans);
}
.btn-checkout:hover { background: var(--primary-dark); }
.btn-continue {
  display: block; width: 100%; padding: 10px;
  background: transparent; color: var(--text-muted);
  border: 0; font-size: 13px; text-align: center; margin-top: 8px;
}
.btn-continue:hover { color: var(--text); }

/* ============================================================
   HERO BANNER (Novari-style)
   ============================================================ */
.hero-wrap { background: var(--bg-alt); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 16px; padding: 16px 0;
}

.hero-main {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; min-height: 480px; background: var(--secondary);
  display: flex; align-items: flex-end;
  box-shadow: 0 18px 50px -20px rgba(12,20,40,.55);
}

/* ── Slides (controlados por main.js via classe .active) ── */
.hero-slide { position: absolute; inset: 0; display: none; overflow: hidden; }
.hero-slide.active { display: flex; animation: heroFade .7s ease; }
@keyframes heroFade { from { opacity: .35; } to { opacity: 1; } }
/* brilho/vinheta premium sobre cada slide */
.hero-slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, transparent 62%, rgba(0,0,0,.28) 100%);
}

/* ── Banner de IMAGEM pronta (carrossel das artes da loja) ── */
.hero-banner {
  position: relative; margin: 16px 0;
  aspect-ratio: 2 / 1; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 18px 50px -22px rgba(12,20,40,.45);
}
.hero-banner .hero-slide { position: absolute; inset: 0; display: none; }
.hero-banner .hero-slide.active { display: block; }
.hero-banner .hero-slide::after { content: none; } /* imagem já tem arte própria */
.hero-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-content {
  position: relative; z-index: 2; padding: 40px;
  background: linear-gradient(to right, rgba(255,243,237,.92) 0%, rgba(255,243,237,.6) 60%, transparent 100%);
  width: 60%;
}
.hero-logo-mark { margin-bottom: 16px; }
.hero-logo-mark svg { width: 36px; height: 36px; }
.hero-headline {
  font-size: 38px; font-weight: 800; line-height: 1.15;
  color: var(--secondary); margin-bottom: 12px;
}
.hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.5; max-width: 340px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  background: var(--primary); color: #fff; border: 0; border-radius: 9999px;
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  transition: background var(--trans);
}
.hero-cta:hover { background: var(--primary-dark); }
.hero-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Layout interno dos novos slides (hb = hero-banner) ── */
.hb-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 36px; gap: 16px; z-index: 2;
}
.hb-text {
  flex: 0 0 48%; display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
}
.hb-art {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 100%;
}
.hb-art svg {
  width: 100%; max-width: 350px; height: auto; max-height: 240px;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.35));
}

/* ── Card de foto de produto no banner (estilo premium) ── */
.hb-photo {
  position: relative;
  width: clamp(150px, 34%, 258px); aspect-ratio: 1 / 1;
  background: #fff; border-radius: 22px; padding: 16px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.35);
}
.hb-photo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.hb-photo-tag {
  position: absolute; top: -16px; right: -16px;
  min-width: 60px; height: 60px; padding: 0 8px; border-radius: 50%;
  background: #1C1C2E; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05;
  text-align: center;
  border: 3px solid #fff; transform: rotate(8deg);
  box-shadow: 0 10px 22px -6px rgba(0,0,0,.5);
}

/* ── Mosaico de produtos no banner (slides claros, estilo catálogo) ── */
.hb-collage {
  flex: 1; align-self: center;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 340px; margin-left: auto; padding: 8px 0;
}
.hb-tile {
  position: relative; background: #fff; border-radius: 16px; padding: 10px;
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1;
  box-shadow: 0 16px 30px -16px rgba(20,20,40,.28), 0 0 0 1px rgba(20,20,40,.05);
  transition: transform .2s, box-shadow .2s;
}
.hb-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 38px -16px rgba(20,20,40,.34); }
.hb-tile img { width: 100%; height: 100%; object-fit: contain; }
.hb-tile-chip {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(28,28,46,.92); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 9999px;
}
/* Slides claros: troca a vinheta escura por um brilho quente sutil */
.hero-slide.hero-light::after {
  background: radial-gradient(130% 90% at 100% 0%, rgba(232,76,27,.07), transparent 55%);
}
.hb-badge {
  display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800;
  padding: 5px 14px; border-radius: 9999px;
  letter-spacing: .08em; text-transform: uppercase; width: fit-content;
  margin-bottom: 6px; box-shadow: 0 6px 16px -4px rgba(0,0,0,.35);
}
.hb-headline {
  font-size: clamp(23px, 3.4vw, 40px); font-weight: 900;
  line-height: 1.1; margin: 0; letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.hb-sub {
  font-size: clamp(12px, 1.4vw, 14.5px); line-height: 1.55;
  max-width: 400px; margin: 4px 0 0;
}
.hb-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  width: fit-content; border-radius: 9999px; padding: 12px 26px;
  font-size: 13.5px; font-weight: 800; text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
  border: 0; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(0,0,0,.5);
}
.hb-cta:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,0,0,.55); }

/* Hero prev/next */
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(255,255,255,.8);
  border: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow);
  transition: background var(--trans);
}
.hero-prev:hover, .hero-next:hover { background: #fff; }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.25); cursor: pointer; transition: var(--trans); }
.hero-dot.active { background: var(--primary); width: 18px; border-radius: 3px; }

/* Hero Categorias Right */
.hero-cats { display: flex; flex-direction: column; gap: 10px; }
.hero-cat {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  transition: border-color var(--trans), box-shadow var(--trans);
  flex: 1;
}
.hero-cat:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(232,76,27,.12); }
.hero-cat-img {
  width: 56px; height: 56px; border-radius: 8px; object-fit: cover;
  background: var(--bg-alt); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.hero-cat-info { flex: 1; }
.hero-cat-name { font-size: 13px; font-weight: 700; color: var(--secondary); }
.hero-cat-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.hero-cat-icon { width: 28px; height: 28px; fill: var(--primary); flex-shrink: 0; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  width: 44px; height: 44px; background: var(--primary-light);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.trust-info h4 { font-size: 14px; font-weight: 700; color: var(--secondary); }
.trust-info p { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   SEÇÕES DE PRODUTOS
   ============================================================ */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 26px; font-weight: 800; color: var(--secondary); letter-spacing: -.5px;
}
.section-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.btn-see-all {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: transparent; border: 0; white-space: nowrap;
}
.btn-see-all svg { width: 16px; height: 16px; fill: currentColor; }
.btn-see-all:hover { color: var(--primary-dark); }

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Product Card (Novari-style) */
.product-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
  cursor: pointer; position: relative;
}
.product-card:hover {
  border-color: rgba(232,76,27,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card-img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--bg-alt);
}
.product-card-img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 16px; transition: transform .3s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 8px; border-radius: 6px;
  display: flex; align-items: center; gap: 4px;
  letter-spacing: .3px;
}
.product-badge svg { width: 10px; height: 10px; fill: currentColor; }
.product-badge-new {
  position: absolute; top: 10px; right: 10px;
  background: var(--secondary); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 4px;
}

.product-fav {
  position: absolute; bottom: 10px; right: 10px;
  width: 32px; height: 32px; background: rgba(255,255,255,.9);
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--trans);
}
.product-card:hover .product-fav { opacity: 1; }
.product-fav svg { width: 16px; height: 16px; fill: none; stroke: var(--text-muted); stroke-width: 1.5; }
.product-fav.active svg { fill: var(--primary); stroke: var(--primary); }

.product-card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-size: 14px; font-weight: 600; line-height: 1.3;
  color: var(--secondary); text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: auto; padding-bottom: 10px;
}
.product-price-wrap { text-align: center; margin-top: 8px; }
.product-price {
  font-size: 20px; font-weight: 800; color: var(--primary);
  display: block; line-height: 1;
}
.product-price-orig {
  font-size: 12px; color: var(--text-muted);
  text-decoration: line-through; margin-top: 2px; display: block;
}
.product-installments {
  font-size: 12px; color: var(--text-muted); margin-top: 4px; display: block;
}
.product-installments strong { font-weight: 700; color: var(--text); }
.product-free-ship {
  display: inline-block; margin-top: 6px;
  font-size: 11px; font-weight: 700; color: var(--success);
  background: #D1FAE5; padding: 2px 8px; border-radius: 4px;
}

.product-card-foot { padding: 0 16px 14px; }
.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 10px;
  background: var(--primary-light); color: var(--primary);
  border: 1.5px solid rgba(232,76,27,.2); border-radius: 9999px;
  font-size: 13px; font-weight: 700; transition: var(--trans);
}
.btn-add-cart:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-add-cart svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   SECTION BANNER (full-width)
   ============================================================ */
.sec-banner {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.sec-banner-txt h2 { font-size: 28px; font-weight: 800; color: #fff; }
.sec-banner-txt p { font-size: 15px; color: rgba(255,255,255,.8); margin-top: 6px; }
.sec-banner-cta {
  background: #fff; color: var(--primary);
  padding: 12px 28px; border-radius: 9999px;
  font-size: 14px; font-weight: 800; white-space: nowrap; flex-shrink: 0;
}
.sec-banner-cta:hover { background: var(--primary-light); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.depo-google-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  color: #5f6368; background: #f8f9fa; border: 1px solid #e8eaed; border-radius: 20px;
  padding: 3px 10px 3px 6px; margin-bottom: 10px;
}
.depo-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.depo-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.depo-stars svg { width: 16px; height: 16px; fill: var(--star); }
.depo-text { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.depo-foot { display: flex; align-items: center; gap: 12px; }
.depo-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--primary); flex-shrink: 0;
  overflow: hidden;
}
.depo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.depo-name { font-size: 14px; font-weight: 700; color: var(--secondary); }
.depo-loc { font-size: 12px; color: var(--text-muted); }
.depo-verified {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--success); margin-top: 3px;
}
.depo-verified svg { width: 12px; height: 12px; fill: currentColor; }

/* ============================================================
   SERVIÇOS GRID (ícones circulares)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.svc-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; color: var(--secondary);
}
.svc-circle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
  border: 1.5px solid var(--border);
}
.svc-item:hover .svc-circle { background: var(--primary-light); border-color: var(--primary); }
.svc-circle svg { width: 28px; height: 28px; }
.svc-label { font-size: 11px; font-weight: 600; line-height: 1.3; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--secondary); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.55);
  margin: 14px 0;
}
.footer-cnpj {
  font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.6;
}
.footer-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-logo-name span { color: var(--primary); }

.footer-col h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--trans); }
.footer-links a:hover { color: #fff; }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info li { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-contact-info strong { color: rgba(255,255,255,.85); }

.footer-badges {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.footer-badges-lbl { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.footer-trust-badges {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-seal {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55);
}
.trust-seal svg { width: 16px; height: 16px; fill: #10B981; flex-shrink: 0; }
.pay-badge {
  display: flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 10px; border-radius: 5px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  font-size: 11px; font-weight: 800; color: #fff;
}
.pay-badge.pix { color: #32BCAD; }
.pay-badge.visa { font-style: italic; letter-spacing: -1px; font-size: 13px; }
.mc-wrap { display: flex; gap: 0; }
.mc-c1 { width: 18px; height: 18px; background: #EB001B; border-radius: 50%; }
.mc-c2 { width: 18px; height: 18px; background: #F79E1B; border-radius: 50%; margin-left: -8px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.4); transition: color var(--trans); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6);
  transition: var(--trans);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   PÁGINAS INTERNAS (breadcrumb, hero)
   ============================================================ */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--border); }
.page-title { font-size: 28px; font-weight: 800; color: var(--secondary); }
.page-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   FILTROS (produtos)
   ============================================================ */
.filters-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0; flex-wrap: wrap;
}
.filter-count { font-size: 14px; color: var(--text-muted); margin-right: auto; }
.filter-select {
  border: 1.5px solid var(--border); border-radius: 9999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  background: #fff; color: var(--secondary); cursor: pointer;
  outline: none; transition: border-color var(--trans);
  appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 16px;
}
.filter-select:focus { border-color: var(--primary); }
.grid-toggle { display: flex; gap: 4px; }
.grid-btn {
  width: 36px; height: 36px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.grid-btn svg { width: 16px; height: 16px; fill: var(--text-muted); }
.grid-btn.active { border-color: var(--primary); background: var(--primary-light); }
.grid-btn.active svg { fill: var(--primary); }

/* Category chips */
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-chip {
  padding: 6px 16px; border: 1.5px solid var(--border);
  border-radius: 9999px; font-size: 13px; font-weight: 600; color: var(--text-muted);
  background: #fff; cursor: pointer; transition: var(--trans);
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.cat-chip.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 32px 0; }
.page-btn {
  width: 36px; height: 36px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: var(--trans);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================================
   PÁGINA DE PRODUTO
   ============================================================ */
.product-layout {
  display: grid; grid-template-columns: 1fr 480px; gap: 48px;
  padding: 40px 0 60px;
}

/* Gallery */
.gallery-main {
  position: relative; aspect-ratio: 1/1;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 20px; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: 1.5px solid var(--border);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); font-size: 18px;
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery-thumb.active { border-color: var(--primary); }

/* Product info */
.product-info {}
.product-info-title {
  font-size: 26px; font-weight: 800; color: var(--secondary);
  line-height: 1.25; margin-bottom: 12px;
}
.product-rating {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.rating-stars { display: flex; gap: 3px; }
.rating-stars svg { width: 18px; height: 18px; fill: var(--star); }
.rating-val { font-size: 14px; font-weight: 700; color: var(--secondary); }
.rating-count { font-size: 13px; color: var(--text-muted); }

.stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 4px 12px;
  border-radius: 9999px; margin-bottom: 20px;
}
.stock-badge.in-stock { background: #D1FAE5; color: #065F46; }
.stock-badge.low-stock { background: #FEF3C7; color: #92400E; }
.stock-badge.out { background: #FEE2E2; color: #991B1B; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.price-block { margin-bottom: 20px; }
.price-row { display: flex; align-items: center; gap: 12px; }
.price-main { font-size: 34px; font-weight: 800; color: var(--primary); }
.price-orig { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.price-badge {
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 800;
  padding: 4px 10px; border-radius: 8px;
  display: flex; align-items: center; gap: 4px;
}
.price-badge svg { width: 12px; height: 12px; fill: currentColor; }
.price-installments { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.price-pix {
  display: flex; align-items: center; gap: 8px;
  background: #D1FAE5; border-radius: var(--radius-sm);
  padding: 8px 14px; margin-top: 10px; font-size: 13px; font-weight: 600; color: #065F46;
}
.price-pix svg { width: 20px; height: 20px; fill: #32BCAD; }

/* Variants */
.variants-wrap { margin-bottom: 20px; }
.variant-label { font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-btn {
  padding: 6px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  background: #fff; color: var(--text); transition: var(--trans); cursor: pointer;
}
.variant-btn:hover { border-color: var(--primary); color: var(--primary); }
.variant-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* Qty + Add to cart */
.add-to-cart-wrap { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 9999px; overflow: hidden;
}
.qty-control button {
  width: 40px; height: 44px; background: transparent; border: 0;
  font-size: 20px; font-weight: 600; color: var(--text-muted);
  transition: color var(--trans);
}
.qty-control button:hover { color: var(--primary); }
.qty-control input {
  width: 48px; height: 44px; border: 0; text-align: center;
  font-size: 16px; font-weight: 700; color: var(--secondary); outline: none;
}
.btn-add-cart-lg {
  flex: 1; padding: 13px 24px;
  background: var(--primary); color: #fff; border: 0; border-radius: 9999px;
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--trans);
}
.btn-add-cart-lg:hover { background: var(--primary-dark); }
.btn-add-cart-lg svg { width: 20px; height: 20px; fill: currentColor; }
.btn-buy-now {
  display: block; width: 100%; padding: 13px;
  background: var(--secondary); color: #fff; border: 0; border-radius: 9999px;
  font-size: 15px; font-weight: 800; text-align: center;
  transition: background var(--trans);
}
.btn-buy-now:hover { background: #2D2D3E; }

.product-trust { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 16px 0; }
.product-trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.product-trust-item svg { width: 16px; height: 16px; fill: var(--success); }

/* Tabs */
.tabs { margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  color: var(--text-muted); background: transparent; border: 0;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: var(--trans);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }

/* ============================================================
   CARRINHO / CHECKOUT
   ============================================================ */
.cart-page-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 32px; padding: 40px 0 80px; align-items: start;
}
.cart-page-items { display: flex; flex-direction: column; gap: 16px; }
.cart-page-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 16px; padding: 20px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  align-items: center;
}
.cart-page-img { width: 100px; height: 100px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg-alt); padding: 8px; }
.cart-page-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cart-page-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.cart-page-remove { color: var(--text-muted); font-size: 14px; font-weight: 600; background: transparent; border: 0; }
.cart-page-remove:hover { color: var(--primary); }

.order-summary {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 130px;
}
.order-summary h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 1.5px dashed var(--border); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 800; color: var(--primary); }
.summary-row .label { color: var(--text-muted); }
.summary-row .free { color: var(--success); font-weight: 700; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; }
.coupon-input:focus { border-color: var(--primary); }
.btn-coupon { padding: 10px 16px; background: var(--secondary); color: #fff; border: 0; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; }

/* ============================================================
   BUSCA
   ============================================================ */
.search-hero { background: var(--bg-alt); padding: 40px 0; text-align: center; border-bottom: 1px solid var(--border); }
.search-hero-form {
  display: flex; max-width: 540px; margin: 20px auto 0;
  border: 1.5px solid var(--border); border-radius: 9999px; overflow: hidden;
  background: #fff;
}
.search-hero-form input {
  flex: 1; padding: 14px 20px; border: 0; font-size: 16px; outline: none;
}
.search-hero-form button {
  padding: 0 24px; background: var(--primary); color: #fff; border: 0;
  font-size: 14px; font-weight: 700;
}
.search-results-info { padding: 20px 0; font-size: 14px; color: var(--text-muted); }
.search-results-info strong { color: var(--secondary); }

/* ============================================================
   FAVORITOS
   ============================================================ */
.favorites-empty { text-align: center; padding: 80px 0; color: var(--text-muted); }
.favorites-empty svg { width: 64px; height: 64px; fill: var(--border); margin: 0 auto 16px; }
.favorites-empty h3 { font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }

/* ============================================================
   RASTREAMENTO
   ============================================================ */
.tracking-form-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; max-width: 560px;
  margin: 40px auto; text-align: center;
}
.tracking-form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.tracking-form-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.tracking-input-wrap { display: flex; gap: 8px; }
.tracking-input {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px; outline: none;
}
.tracking-input:focus { border-color: var(--primary); }
.btn-track {
  padding: 12px 24px; background: var(--primary); color: #fff;
  border: 0; border-radius: var(--radius); font-size: 14px; font-weight: 700;
}

.tracking-steps { display: flex; flex-direction: column; gap: 0; margin-top: 32px; position: relative; }
.tracking-steps::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.tracking-step { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; position: relative; }
.tracking-step-dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1; font-size: 16px;
}
.tracking-step.done .tracking-step-dot { background: var(--success); }
.tracking-step.active .tracking-step-dot { background: var(--primary); }
.tracking-step-info h4 { font-size: 14px; font-weight: 700; color: var(--secondary); }
.tracking-step-info p { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   UTILITÁRIOS GERAIS
   ============================================================ */
.btn-primary {
  display: inline-block; padding: 13px 28px;
  background: var(--primary); color: #fff;
  border: 0; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background var(--trans);
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

/* ============================================================
   PÁGINAS INSTITUCIONAIS
   ============================================================ */
.page-content { max-width: 780px; margin: 0 auto; padding: 48px 0; }
.page-content h2 { font-size: 22px; font-weight: 800; color: var(--secondary); margin: 28px 0 12px; }
.page-content h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.page-content p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 16px; }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content ul li { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 4px; }
.page-content a { color: var(--primary); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding: 48px 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--secondary); }
.form-input, .form-textarea, .form-select {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: var(--text); outline: none;
  transition: border-color var(--trans);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); }
.form-textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  padding: 14px; background: var(--primary); color: #fff;
  border: 0; border-radius: 9999px; font-size: 15px; font-weight: 800;
  transition: background var(--trans);
}
.btn-submit:hover { background: var(--primary-dark); }
.contact-info-card {
  background: var(--secondary); color: #fff;
  border-radius: var(--radius-lg); padding: 32px; align-self: start;
}
.contact-info-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 18px; }
.contact-info-item svg { width: 20px; height: 20px; fill: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-item div h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-info-item div p { font-size: 14px; color: rgba(255,255,255,.85); }

/* ============================================================
   ADMIN — Sidebar layout
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--secondary);
  display: flex; flex-direction: column; flex-shrink: 0;
  position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-head {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-logo { font-size: 16px; font-weight: 800; color: #fff; }
.admin-sidebar-logo span { color: var(--primary); }
.admin-sidebar-sub { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.admin-nav { padding: 12px 0; flex: 1; }
.admin-nav-section {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  padding: 16px 20px 6px;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.65); transition: var(--trans);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,.07); color: #fff;
  border-left-color: var(--primary);
}
.admin-nav-link svg { width: 17px; height: 17px; fill: currentColor; opacity: .7; }

.admin-main { margin-left: 240px; flex: 1; background: var(--bg-alt); min-height: 100vh; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-page-title { font-size: 20px; font-weight: 800; color: var(--secondary); }
.admin-topbar-right { display: flex; align-items: center; gap: 12px; }
.admin-user { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.admin-content { padding: 28px; }

/* Admin cards */
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.admin-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.admin-card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.admin-card-val { font-size: 26px; font-weight: 800; color: var(--secondary); }
.admin-card-lbl { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.admin-card-change { font-size: 12px; font-weight: 700; margin-top: 6px; }
.admin-card-change.up { color: var(--success); }
.admin-card-change.down { color: #EF4444; }

/* Admin table */
.admin-table-wrap {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 16px;
}
.admin-table-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.admin-table-head h3 { font-size: 16px; font-weight: 800; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 12px 20px; font-size: 12px;
  font-weight: 700; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .5px; background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 20px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--bg-alt); }
.status-badge {
  display: inline-flex; padding: 3px 10px; border-radius: 9999px;
  font-size: 12px; font-weight: 700;
}
.status-badge.pendente  { background: #FEF3C7; color: #92400E; }
.status-badge.pago      { background: #D1FAE5; color: #065F46; }
.status-badge.enviado   { background: #DBEAFE; color: #1E40AF; }
.status-badge.entregue  { background: #D1FAE5; color: #065F46; }
.status-badge.cancelado { background: #FEE2E2; color: #991B1B; }
.status-badge.ativo     { background: #D1FAE5; color: #065F46; }
.status-badge.inativo   { background: #F3F4F6; color: #6B7280; }

/* Admin buttons */
.btn-admin-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: var(--primary); color: #fff;
  border: 0; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700;
}
.btn-admin-primary:hover { background: var(--primary-dark); }
.btn-admin-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: #fff; color: var(--secondary);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 700;
}
.btn-admin-secondary:hover { background: var(--bg-alt); }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: var(--radius-sm); border: 0; cursor: pointer; font-weight: 600; }
.btn-sm.edit { background: #DBEAFE; color: #1E40AF; }
.btn-sm.del  { background: #FEE2E2; color: #991B1B; }
.btn-sm.view { background: #D1FAE5; color: #065F46; }

/* Admin form */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form-grid.full { grid-template-columns: 1fr; }
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-label { font-size: 13px; font-weight: 700; color: var(--secondary); }
.admin-form-input, .admin-form-select, .admin-form-textarea {
  padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text); outline: none;
}
.admin-form-input:focus, .admin-form-select:focus, .admin-form-textarea:focus { border-color: var(--primary); }
.admin-form-textarea { min-height: 100px; resize: vertical; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--secondary); color: rgba(255,255,255,.85);
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: 13px; flex: 1; }
#cookie-banner a { color: var(--primary); }
.cookie-btns { display: flex; gap: 10px; }
.btn-cookie-ok {
  padding: 8px 20px; background: var(--primary); color: #fff;
  border: 0; border-radius: 9999px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.btn-cookie-no {
  padding: 8px 16px; background: transparent; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.2); border-radius: 9999px; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cats { flex-direction: row; flex-wrap: wrap; }
  .hero-cat { flex: 1; min-width: calc(50% - 5px); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-page-layout { grid-template-columns: 1fr; }
  .depo-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; --nav-h: 40px; }
  .header-search { display: none; }
  .mob-toggle { display: flex; }
  .nav-link span { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.08); }
  .footer-col h4 { padding: 14px 0; cursor: pointer; display: flex; justify-content: space-between; }
  .footer-links-collapse { display: none; }
  .footer-links-collapse.open { display: flex; }
  .admin-sidebar { width: 220px; transform: translateX(-220px); transition: transform .3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 26px; }
  .hb-inner { padding: 0 24px; }
  .hb-text { flex: 1 1 60%; }
  .hb-art { opacity: .9; }
  .hb-art svg { max-width: 200px; max-height: 180px; }
  .sec-banner { flex-direction: column; text-align: center; }
  .depo-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content { width: 100%; background: linear-gradient(to top, rgba(255,243,237,.95) 0%, transparent 100%); padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-body { padding: 10px 12px; }
  .product-card-foot { padding: 0 12px 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 17px; }
  .hero-main { min-height: 300px; }
  .hb-inner { padding: 0 18px; }
  .hb-text { flex: 1 1 100%; }
  .hb-art, .hb-collage { display: none; }
  .footer-grid { gap: 0; }
  .admin-cards { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-sidebar { width: 100%; }
}
