/* =============================================================
   OVER TECH — estilos da loja
   Modo escuro é o padrão; modo claro via html[data-theme="light"]
   Cores de tema sazonal: --tema-1, --tema-2, --tema-topbar (definidas no <head>)
   ============================================================= */
:root {
  --roxo-principal: #8B2CF5;
  --roxo-escuro: #5B16B8;
  --roxo-claro: #C9A3FF;
  --preto-fundo: #0D0D12;
  --cinza-card: #17171F;
  --cinza-borda: #2A2A36;
  --branco: #FFFFFF;
  --verde-pix: #22C55E;
  --vermelho-promo: #EF4444;
  --amarelo-estrela: #FACC15;
  --azul-cupom: #2563EB;

  --tema-1: #8B2CF5; --tema-2: #5B16B8; --tema-topbar: #0D0D12; --tema-topbar-texto: #FFFFFF;

  /* tokens semânticos (escuro) */
  --bg: #0D0D12;
  --bg-2: #111118;
  --surface: #17171F;
  --surface-2: #1E1E28;
  --border: #2A2A36;
  --text: #FFFFFF;
  --text-2: #B9B9C8;
  --text-3: #8A8A9C;
  --price: #FFFFFF;
  --heading: #FFFFFF;
  --accent-text: #C9A3FF;
  --header-bg: #141419;
  --input-bg: #FFFFFF;
  --input-text: #111118;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --glow: 0 0 20px rgba(139, 44, 245, .25);

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --container: 1320px;
  --font-title: 'Poppins', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #F3F2F7;
  --bg-2: #F7F6FA;
  --surface: #FFFFFF;
  --surface-2: #F1EFF6;
  --border: #E4E1EC;
  --text: #17151D;
  --text-2: #4B4757;
  --text-3: #75707F;
  --price: #5B16B8;
  --heading: #17151D;
  --accent-text: #6D1FD6;
  --header-bg: #141318;
  --shadow: 0 1px 2px rgba(23, 21, 29, .06), 0 8px 24px rgba(23, 21, 29, .06);
  --glow: 0 10px 30px rgba(91, 22, 184, .16);
  --verde-pix: #15803D;
  --vermelho-promo: #E11D48;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-3); }
.green { color: var(--verde-pix); }
.red { color: var(--vermelho-promo); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--roxo-principal); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius-sm); padding: 11px 18px; font-weight: 700; font-family: var(--font-title);
  letter-spacing: .3px; transition: background .2s, transform .1s, box-shadow .2s; white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--roxo-principal); color: #fff; }
.btn-primary:hover { background: var(--roxo-escuro); box-shadow: var(--glow); }
.btn-green { background: var(--verde-pix); color: #06240f; }
.btn-green:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--roxo-principal); color: var(--accent-text); }
.btn-danger { background: transparent; border: 1px solid var(--vermelho-promo); color: var(--vermelho-promo); }
.btn-gray { background: #3A3A48; color: #E5E5EE; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 1.05rem; }
.btn-sm { padding: 7px 12px; font-size: .85rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 14px;
  font-weight: 800; font-size: .78rem; letter-spacing: .4px; color: #fff; white-space: nowrap;
}
.pill-red { background: var(--vermelho-promo); }
.pill-blue { background: var(--azul-cupom); }
.pill-green { background: #16A34A; }
.pill-purple { background: var(--roxo-principal); }
.pill-outline { border: 2px solid var(--roxo-principal); color: var(--accent-text); background: transparent; }
.pill-outline:hover { background: var(--roxo-principal); color: #fff; }

/* ---------- Faixa superior (barra utilitária) ---------- */
.topbar { background: var(--tema-topbar); color: var(--tema-topbar-texto); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar-rotator { position: relative; height: 20px; overflow: hidden; flex: 1; }
.topbar-rotator span { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: .5s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-rotator span.on { opacity: 1; transform: none; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a, .topbar-links button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; padding: 0; font-size: .8rem; opacity: .9; }
.topbar-links a:hover, .topbar-links button:hover { opacity: 1; color: var(--roxo-claro); }
.theme-ribbon { background: linear-gradient(90deg, var(--tema-1), var(--tema-2)); color: #fff; text-align: center; font-weight: 800; font-size: .82rem; padding: 6px 12px; letter-spacing: .5px; font-family: var(--font-title); }
.theme-ribbon .countdown-inline { margin-left: 8px; font-variant-numeric: tabular-nums; background: rgba(0,0,0,.35); border-radius: 6px; padding: 1px 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header.shrunk { box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.header-main { background: var(--header-bg); color: #fff; }
.header-main .container { display: flex; align-items: center; gap: 22px; height: 80px; transition: height .2s; }
.shrunk .header-main .container { height: 62px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; transition: height .2s; }
.shrunk .logo img { height: 36px; }
.search { flex: 1; max-width: 680px; position: relative; display: flex; }
.search input {
  flex: 1; height: 46px; border: 2px solid transparent; border-right: 0; background: var(--input-bg); color: var(--input-text);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 0 16px; font-size: .95rem; min-width: 0;
}
.search input:focus { outline: none; border-color: var(--roxo-principal); }
.search button { width: 52px; height: 46px; border: 0; background: var(--roxo-principal); color: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; display: grid; place-items: center; }
.search button:hover { background: var(--roxo-escuro); }
.search button .ic { width: 22px; height: 22px; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); z-index: 60; display: none; overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.search-suggest.open { display: block; }
.search-suggest h6 { margin: 0; padding: 10px 14px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.sg-item:hover, .sg-item.active { background: var(--surface-2); }
.sg-item img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.sg-item .sg-name { font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-item .sg-price { font-weight: 800; color: var(--verde-pix); font-size: .9rem; white-space: nowrap; margin-left: auto; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 14px 12px; }
.sg-chips a { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.sg-chips a:hover { border-color: var(--roxo-principal); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.h-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: none; border: 0; }
.h-icon:hover { background: rgba(255,255,255,.08); color: var(--roxo-claro); }
.h-icon .ic { width: 23px; height: 23px; }
.h-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--roxo-principal); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--header-bg); }
.h-user { display: flex; align-items: center; gap: 10px; color: #fff; padding: 6px 10px; border-radius: var(--radius-sm); position: relative; }
.h-user .ic { width: 30px; height: 30px; padding: 4px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; }
.h-user small { display: block; font-size: .75rem; opacity: .8; line-height: 1.2; }
.h-user strong { display: block; font-size: .85rem; line-height: 1.25; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.h-user:hover { background: rgba(255,255,255,.06); }
.dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: none; z-index: 70; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 6px; background: none; border: 0; text-align: left; font-size: .9rem; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: var(--accent-text); }
.dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.cart-btn {
  display: flex; align-items: center; gap: 10px; background: var(--roxo-principal); color: #fff; border-radius: var(--radius);
  padding: 8px 16px 8px 12px; min-width: 168px; position: relative; transition: background .2s, box-shadow .2s;
}
.cart-btn:hover { background: var(--roxo-escuro); box-shadow: var(--glow); }
.cart-btn .ic { width: 28px; height: 28px; }
.cart-btn strong { display: block; font-family: var(--font-title); font-size: .95rem; letter-spacing: 1px; line-height: 1.1; }
.cart-btn small { display: block; font-size: .76rem; opacity: .95; white-space: nowrap; }
.cart-wrap { position: relative; }
.mini-cart { width: 360px; right: 0; padding: 0; }
.cart-wrap:hover .mini-cart { display: block; }
.mini-cart-items { max-height: 330px; overflow-y: auto; padding: 8px; }
.mini-item { display: flex; gap: 10px; padding: 8px; border-radius: 8px; align-items: center; }
.mini-item img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.mini-item .mi-name { font-size: .82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item .mi-meta { font-size: .8rem; color: var(--text-3); }
.mini-item button { background: none; border: 0; color: var(--text-3); padding: 4px; margin-left: auto; }
.mini-item button:hover { color: var(--vermelho-promo); }
.mini-cart-foot { border-top: 1px solid var(--border); padding: 12px; display: grid; gap: 8px; }
.mini-cart-foot .row { display: flex; justify-content: space-between; font-weight: 700; }
.mini-empty { padding: 26px 16px; text-align: center; color: var(--text-3); }

/* ---------- Barra de menu (roxa) ---------- */
.menu-bar { background: var(--roxo-principal); color: #fff; }
.menu-bar .container { display: flex; align-items: stretch; height: 48px; gap: 0; }
.shrunk .menu-bar { display: none; }
.dept-btn { display: flex; align-items: center; gap: 10px; background: var(--roxo-escuro); border: 0; color: #fff; padding: 0 20px; font-weight: 800; font-family: var(--font-title); letter-spacing: .6px; font-size: .88rem; text-transform: uppercase; }
.dept-wrap { position: relative; display: flex; }
.menu-links { display: flex; align-items: center; flex: 1; overflow-x: auto; scrollbar-width: none; }
.menu-links::-webkit-scrollbar { display: none; }
.menu-links > a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 clamp(8px, 1vw, 14px); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.18); }
.menu-links > a:last-child { border-right: 0; }
.menu-links > a:hover { background: rgba(0,0,0,.15); }
.menu-links .pill { margin: 0 6px; padding: 5px 12px; }
.menu-links .pill:hover { filter: brightness(1.1); background: inherit; }
.menu-links .pill-red:hover { background: var(--vermelho-promo); }
.menu-links .pill-blue:hover { background: var(--azul-cupom); }
.menu-links .pill-green:hover { background: #16A34A; }
.new-tag { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); background: var(--vermelho-promo); color: #fff; font-size: .55rem; padding: 0 5px; border-radius: 4px; line-height: 1.4; }
.mega { position: absolute; top: 100%; left: 0; display: none; z-index: 65; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); min-height: 420px; }
.dept-wrap:hover .mega, .dept-wrap.open .mega { display: flex; }
.mega-list { width: 260px; padding: 8px 0; border-right: 1px solid var(--border); }
.mega-list > li { list-style: none; }
.mega-list ul { margin: 0; padding: 0; }
.mega-cat { display: flex; align-items: center; gap: 12px; padding: 10px 18px; font-size: .9rem; font-weight: 600; }
.mega-cat .ic { color: var(--roxo-principal); width: 20px; height: 20px; }
.mega-cat .chev { margin-left: auto; width: 14px; height: 14px; color: var(--text-3); }
.mega-cat:hover, .mega-cat.active { background: var(--surface-2); color: var(--accent-text); }
.mega-sub { width: 420px; padding: 18px 24px; display: none; }
.mega-sub.active { display: block; }
.mega-sub h4 { font-size: 1rem; margin-bottom: 12px; }
.mega-sub .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.mega-sub a { font-size: .88rem; color: var(--text-2); padding: 4px 0; }
.mega-sub a:hover { color: var(--accent-text); }
.mega-sub .see-all { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--accent-text); }

/* ---------- Mobile: header e menu lateral ---------- */
.only-mobile { display: none !important; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; pointer-events: none; transition: .25s; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--surface); z-index: 95; transform: translateX(-102%); transition: transform .28s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer.open + .drawer-backdrop, .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--header-bg); }
.drawer-head img { height: 34px; }
.drawer-body { overflow-y: auto; flex: 1; padding: 8px 0 30px; }
.drawer-body details summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-weight: 600; cursor: pointer; }
.drawer-body details summary::-webkit-details-marker { display: none; }
.drawer-body details summary .ic { color: var(--roxo-principal); }
.drawer-body details[open] summary { color: var(--accent-text); }
.drawer-body details a { display: block; padding: 8px 18px 8px 50px; color: var(--text-2); font-size: .92rem; }
.drawer-body .d-link { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-weight: 700; }
.drawer-body .d-title { padding: 14px 18px 6px; font-size: .72rem; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; }
.drawer-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 18px 12px; }

@media (max-width: 1440px) { .menu-links > a { font-size: .74rem; } .menu-links .pill { margin: 0 3px; padding: 5px 10px; } .dept-btn { padding: 0 14px; } }
@media (max-width: 1024px) {
  .h-user .h-user-text, .hide-tablet { display: none; }
  .cart-btn { min-width: 0; }
}
@media (max-width: 820px) {
  .only-mobile { display: flex !important; }
  .only-desktop { display: none !important; }
  .topbar-links .tl-text { display: none; }
  .header-main .container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .shrunk .header-main .container { height: auto; }
  .logo img { height: 36px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .shrunk .search { display: none; }
  .search input, .search button { height: 42px; }
  .menu-bar { display: none; }
  .cart-btn { padding: 8px 10px; }
  .cart-btn .cart-text { display: none; }
  .h-icon.fav-icon, .h-icon.support-icon { display: none; }
}

/* ---------- Seções e vitrines ---------- */
main { min-height: 50vh; }
.section { margin: 34px auto; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.35rem; text-transform: uppercase; color: var(--accent-text); font-weight: 800; letter-spacing: .4px; }
html:not([data-theme="light"]) .section-head h2 { color: var(--roxo-claro); }
.section-head h2 .ic { color: var(--tema-1); width: 26px; height: 26px; }
.section-head .pill-outline { font-size: .74rem; padding: 5px 14px; }
.section-head .sh-arrows { margin-left: auto; display: flex; gap: 8px; }
.arrow-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.arrow-btn:hover { border-color: var(--roxo-principal); color: var(--roxo-claro); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1200px) { .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 900px) { .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 46%; gap: 12px; } .section-head .sh-arrows { display: none; } }

/* ---------- Carrossel principal ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-2); }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); touch-action: pan-y; }
.hero-slide { flex: 0 0 100%; position: relative; aspect-ratio: 1920 / 430; max-height: 430px; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(13,13,18,.65); border: 0; color: #fff; display: grid; place-items: center; opacity: 0; transition: .25s; z-index: 2; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--roxo-principal); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 6px; border: 0; background: rgba(255,255,255,.55); padding: 0; transition: .3s; }
.hero-dots button.on { width: 28px; background: var(--roxo-principal); }
@media (max-width: 820px) { .hero-slide { height: auto; aspect-ratio: 4 / 3; } .hero-arrow { display: none; } }

/* ---------- Mosaico de banners ---------- */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mosaic a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mosaic a img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .wide { grid-column: 1 / -1; aspect-ratio: 1920 / 300; }
.mosaic .half { aspect-ratio: 800 / 300; }
@media (max-width: 640px) { .mosaic { grid-template-columns: 1fr; } .mosaic .wide { aspect-ratio: 16 / 5; } }

/* ---------- Cards "Monte o seu PC" ---------- */
.build-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.build-card { position: relative; display: flex; align-items: center; height: 112px; border: 1px solid var(--roxo-principal); border-radius: var(--radius); background: var(--surface); padding: 0 16px 0 112px; overflow: visible; transition: box-shadow .2s, transform .2s; margin-top: 18px; }
html[data-theme="light"] .build-card { background: #F1EEF8; }
.build-card:hover { box-shadow: var(--glow); transform: translateY(-2px); }
.build-card img { position: absolute; left: 8px; bottom: 6px; height: 128px; width: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.build-card small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: 1px; color: var(--text-2); }
.build-card strong { display: block; font-family: var(--font-title); font-size: 1.6rem; font-weight: 900; color: var(--roxo-principal); line-height: 1.05; font-style: italic; }
html:not([data-theme="light"]) .build-card strong { color: #A970FF; }
.build-card em { font-style: normal; font-size: .78rem; color: var(--text-3); }
@media (max-width: 1100px) { .build-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .build-card { height: 96px; padding-left: 92px; } .build-card img { height: 104px; } .build-card strong { font-size: 1.25rem; } .build-grid { gap: 10px; } }

/* ---------- Faixa de benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(139,44,245,.14); color: var(--roxo-claro); }
html[data-theme="light"] .benefit .ic { color: var(--roxo-escuro); }
.benefit strong { display: block; font-size: .88rem; line-height: 1.2; }
.benefit span { font-size: .76rem; color: var(--text-3); }
@media (max-width: 1100px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } .benefit:last-child { grid-column: 1 / -1; } }

/* ---------- Ofertas relâmpago ---------- */
.flash { background: linear-gradient(135deg, #1B0B33, #2A0F52 55%, #120821); border-radius: var(--radius-lg); padding: 18px; border: 1px solid #3B1A70; }
html[data-theme="light"] .flash { background: linear-gradient(135deg, #5B16B8, #8B2CF5); }
.flash .section-head h2 { color: #fff !important; }
.flash .section-head h2 .ic { color: var(--amarelo-estrela); animation: pulse 1.2s infinite; }
.countdown { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: .85rem; }
.countdown .cd-box { background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; min-width: 50px; padding: 4px 8px; text-align: center; font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown .cd-box small { display: block; font-size: .6rem; font-weight: 600; opacity: .7; letter-spacing: 1px; }
.countdown .sep { font-size: 1.4rem; font-weight: 800; }
.stock-bar { margin-top: 8px; }
.stock-bar .track { height: 7px; border-radius: 4px; background: rgba(127,127,140,.25); overflow: hidden; }
.stock-bar .fill { height: 100%; background: linear-gradient(90deg, #F97316, var(--vermelho-promo)); border-radius: 4px; }
.stock-bar span { display: block; font-size: .74rem; font-weight: 700; color: #F97316; margin-top: 3px; }
@keyframes pulse { 50% { transform: scale(1.18); } }

/* ---------- Card de produto ---------- */
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; height: 100%;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(139,44,245,.55); }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: .66rem; font-weight: 800; letter-spacing: .3px; color: #fff; }
.badge-off { background: var(--vermelho-promo); font-size: .78rem; padding: 3px 10px; }
.badge-frete { background: #16A34A; }
.badge-lanc { background: var(--roxo-principal); }
.badge-ultimas { background: #EA580C; }
.badge-flash { background: #111; color: var(--amarelo-estrela); border: 1px solid var(--amarelo-estrela); }
.fav-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #6B6B7B; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.fav-btn:hover { color: var(--roxo-principal); }
.fav-btn.on { color: #fff; background: var(--roxo-principal); }
.fav-btn.on .ic { fill: currentColor; }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: opacity .3s; }
.pcard-img img.alt { opacity: 0; }
.pcard:hover .pcard-img img.alt { opacity: 1; }
.pcard:hover .pcard-img img.has-alt { opacity: 0; }
.pcard-name { font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.5em; margin-bottom: 6px; }
.pcard-name:hover { color: var(--accent-text); }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--amarelo-estrela); }
.stars .ic { width: 14px; height: 14px; }
.stars .off { color: #4A4A58; }
html[data-theme="light"] .stars .off { color: #D9D5E3; }
.rating-line { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--text-3); min-height: 18px; margin-bottom: 6px; }
.price-old { font-size: .78rem; color: var(--text-3); text-decoration: line-through; min-height: 1.2em; }
.price-main { font-family: var(--font-title); font-size: 1.45rem; font-weight: 800; color: var(--price); line-height: 1.15; letter-spacing: -.3px; }
.price-pix { font-size: .76rem; color: var(--text-2); }
.price-pix b { color: var(--verde-pix); }
.price-parc { font-size: .76rem; color: var(--text-3); margin-top: 2px; min-height: 1.2em; }
.pcard-foot { margin-top: auto; padding-top: 10px; }
.pcard .btn { width: 100%; padding: 10px; font-size: .88rem; }
.pcard.out .pcard-img img:not(.alt) { filter: grayscale(.8); opacity: .6; }
.pcard.out:hover .pcard-img img.has-alt { opacity: .6; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1200px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; } .price-main { font-size: 1.2rem; } .pcard { padding: 9px; } }

/* ---------- Departamentos ---------- */
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 16px; }
.dept { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .84rem; font-weight: 600; }
.dept span.circ { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); transition: .25s; }
.dept span.circ .ic { width: 38px; height: 38px; color: var(--roxo-claro); }
html[data-theme="light"] .dept span.circ .ic { color: var(--roxo-principal); }
.dept:hover span.circ { border-color: var(--roxo-principal); box-shadow: var(--glow); transform: translateY(-3px); }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: .25s; position: relative; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(139,44,245,.35), transparent 70%); }
.svc-card:hover { border-color: var(--roxo-principal); box-shadow: var(--glow); transform: translateY(-3px); }
.svc-card .svc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--roxo-principal), var(--roxo-escuro)); color: #fff; margin-bottom: 14px; }
.svc-card .svc-ic .ic { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.svc-card p { font-size: .85rem; color: var(--text-2); margin: 0 0 14px; flex: 1; }
.svc-card .from { font-size: .76rem; color: var(--text-3); }
.svc-card .from b { display: block; font-size: 1.25rem; color: var(--verde-pix); font-family: var(--font-title); }
.svc-card .btn { margin-top: 12px; }
@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Avaliações (home) ---------- */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.review-card p { margin: 0; font-size: .88rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: .82rem; }
.review-card .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--roxo-principal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--verde-pix); font-size: .72rem; font-weight: 700; }
.verified .ic { width: 13px; height: 13px; }
.review-card .prod { font-size: .76rem; color: var(--accent-text); }

/* ---------- Marcas ---------- */
.brands-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brand-chip { display: grid; place-items: center; min-width: 150px; height: 70px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 18px; font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; letter-spacing: .5px; color: var(--text-2); }
.brand-chip img { max-height: 46px; width: auto; }
.brand-chip:hover { border-color: var(--roxo-principal); color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Newsletter / rodapé ---------- */
.newsletter { background: linear-gradient(120deg, var(--roxo-escuro), var(--roxo-principal)); color: #fff; border-radius: var(--radius-lg); padding: 26px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.newsletter p { margin: 4px 0 0; opacity: .9; font-size: .9rem; }
.newsletter form { display: flex; gap: 8px; margin-left: auto; flex: 1; max-width: 480px; min-width: 260px; }
.newsletter input { flex: 1; height: 46px; border-radius: var(--radius-sm); border: 0; padding: 0 14px; background: #fff; color: #111; min-width: 0; }
.newsletter .btn { background: #0D0D12; color: #fff; }
.site-footer { background: #000; color: #fff; margin-top: 50px; padding: 40px 0 20px; font-size: .88rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer a { color: #C8C8D4; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--roxo-claro); }
.footer-logo { height: 48px; width: auto; margin-bottom: 12px; }
.footer-about p { color: #A9A9B8; margin: 0 0 12px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1B1B24; padding: 0; }
.socials a:hover { background: var(--roxo-principal); color: #fff; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 6px; background: #15151C; border: 1px solid #2A2A36; border-radius: 8px; padding: 6px 10px; font-size: .8rem; font-weight: 700; }
.pay-methods .ic { color: var(--verde-pix); }
.secure-seal { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; border: 1px solid #2A6B3D; color: #86EFAC; border-radius: 8px; padding: 8px 12px; font-weight: 700; font-size: .8rem; }
.footer-bottom { border-top: 1px solid #1F1F29; margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8A8A9C; font-size: .8rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante e cookies ---------- */
.float-support { position: fixed; left: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; }
.float-support a { width: 60px; height: 60px; border-radius: 50%; background: #0D0D12; border: 2px solid var(--roxo-principal); box-shadow: 0 6px 20px rgba(139,44,245,.45); display: grid; place-items: center; overflow: hidden; transition: transform .2s; }
.float-support a:hover { transform: scale(1.07); }
.float-support a img { width: 70%; }
.float-support .wa-dot { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); }
.float-support .wa-dot .ic { width: 14px; height: 14px; }
.float-support .bubble { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); }
@media (max-width: 640px) { .float-support .bubble { display: none; } .float-support a { width: 52px; height: 52px; } }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--surface); border-top: 2px solid var(--roxo-principal); box-shadow: 0 -8px 30px rgba(0,0,0,.4); padding: 16px 0; display: none; }
.cookie-bar.show { display: block; }
.cookie-bar .container { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-bar p { margin: 0; flex: 1; min-width: 260px; font-size: .86rem; color: var(--text-2); }
.cookie-bar p a { color: var(--accent-text); text-decoration: underline; }
.cookie-bar .btns { display: flex; gap: 10px; }
.cookie-prefs { display: none; width: 100%; gap: 18px; flex-wrap: wrap; font-size: .86rem; }
.cookie-prefs.open { display: flex; }
.cookie-prefs label { display: flex; align-items: center; gap: 8px; }

/* ---------- Toasts / flash ---------- */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 200; display: grid; gap: 10px; width: min(92vw, 360px); }
.toast { display: flex; align-items: flex-start; gap: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-left: 4px solid var(--roxo-principal); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); animation: toastIn .3s; font-size: .9rem; }
.toast.success { border-left-color: var(--verde-pix); }
.toast.error { border-left-color: var(--vermelho-promo); }
.toast .ic { flex: none; margin-top: 2px; }
.toast.success .ic { color: var(--verde-pix); }
.toast.error .ic { color: var(--vermelho-promo); }
.toast a { color: var(--accent-text); font-weight: 700; }
.toast.hide { opacity: 0; transform: translateX(20px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }
.fly-dot { position: fixed; z-index: 300; width: 16px; height: 16px; border-radius: 50%; background: var(--roxo-principal); box-shadow: 0 0 12px var(--roxo-principal); pointer-events: none; transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

/* ---------- Breadcrumb / páginas ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--text-3); margin: 18px 0 14px; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb span.sep { opacity: .6; }
.page-title { font-size: 1.6rem; margin: 6px 0 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2, .card h3 { font-size: 1.1rem; }
.prose { color: var(--text-2); line-height: 1.7; }
.prose h2, .prose h3 { margin-top: 1.4em; color: var(--heading); }
.prose a { color: var(--accent-text); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px; }
.empty { text-align: center; padding: 50px 20px; color: var(--text-3); }
.empty .ic { width: 64px; height: 64px; color: var(--roxo-principal); opacity: .7; margin-bottom: 12px; }
.empty h3 { color: var(--text); }

/* ---------- Listagem (categoria/busca) ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 150px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 16px 16px; max-height: calc(100vh - 170px); overflow-y: auto; }
.filters h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 10px; color: var(--text); }
.filters label { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-2); padding: 3px 0; cursor: pointer; }
.filters label small { margin-left: auto; color: var(--text-3); }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--roxo-principal); width: 16px; height: 16px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range input[type="number"] { width: 100%; }
.range-slider { position: relative; height: 26px; margin: 8px 0 4px; }
.range-slider input[type="range"] { position: absolute; width: 100%; pointer-events: none; appearance: none; background: none; top: 6px; margin: 0; }
.range-slider input[type="range"]::-webkit-slider-thumb { pointer-events: auto; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--roxo-principal); border: 2px solid #fff; cursor: pointer; }
.range-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--roxo-principal); border: 2px solid #fff; cursor: pointer; }
.range-slider .rs-track { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--border); }
.range-slider .rs-fill { position: absolute; top: 13px; height: 4px; background: var(--roxo-principal); border-radius: 2px; }
.listing-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.listing-top .count { color: var(--text-3); font-size: .88rem; }
.listing-top select { margin-left: auto; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.subcats a { border: 1px solid var(--border); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.subcats a:hover { border-color: var(--roxo-principal); color: var(--accent-text); }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 26px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); padding: 0 10px; font-weight: 700; }
.pagination .on { background: var(--roxo-principal); border-color: var(--roxo-principal); color: #fff; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px); max-height: none; z-index: 96; border-radius: 0; transform: translateX(-102%); transition: transform .28s; }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Formulários ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.field label, .label { font-size: .84rem; font-weight: 600; color: var(--text-2); }
.input, select.input, textarea.input, .listing-top select {
  width: 100%; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-2); color: var(--text); padding: 0 12px; transition: border-color .2s, box-shadow .2s;
}
.listing-top select { width: auto; }
textarea.input { height: auto; min-height: 100px; padding: 10px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--roxo-principal); box-shadow: 0 0 0 3px rgba(139,44,245,.2); }
.input.invalid { border-color: var(--vermelho-promo); }
.field .err { color: #F87171; font-size: .8rem; }
.field .hint { color: var(--text-3); font-size: .78rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-2); margin: 8px 0 14px; cursor: pointer; }
.check input { accent-color: var(--roxo-principal); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.check a { color: var(--accent-text); text-decoration: underline; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--text-3); display: grid; place-items: center; }
.pw-meter { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin-top: 4px; }
.pw-meter span { display: block; height: 100%; width: 0; transition: .3s; border-radius: 3px; }
.pw-rules { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .76rem; color: var(--text-3); }
.pw-rules li::before { content: '○ '; }
.pw-rules li.ok { color: var(--verde-pix); }
.pw-rules li.ok::before { content: '✓ '; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin-bottom: 16px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.4); color: #FCA5A5; }
html[data-theme="light"] .alert-error { color: #B91C1C; }
.alert-info { background: rgba(139,44,245,.1); border-color: rgba(139,44,245,.4); color: var(--accent-text); }
.alert-success { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.4); color: #86EFAC; }
html[data-theme="light"] .alert-success { color: #15803D; }
.alert-warn { background: rgba(250,204,21,.1); border-color: rgba(250,204,21,.4); color: #FDE68A; }
html[data-theme="light"] .alert-warn { color: #92400E; }
.code-input { letter-spacing: 12px; font-size: 1.6rem !important; text-align: center; font-family: var(--font-title); font-weight: 800; height: 58px !important; }

/* ---------- Autenticação ---------- */
.auth-wrap { display: grid; place-items: center; padding: 40px 16px 60px; }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 680px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--text-3); margin: 0 0 22px; font-size: .9rem; }
.auth-links { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; margin: 4px 0 16px; }
.auth-links a, .link { color: var(--accent-text); font-weight: 600; }
.auth-alt { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--text-3); }
.auth-alt a { color: var(--accent-text); font-weight: 700; }

/* ---------- Página de produto ---------- */
.product-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.thumbs button { width: 76px; height: 76px; border: 2px solid var(--border); border-radius: 8px; background: #fff; padding: 4px; flex: none; }
.thumbs button.on, .thumbs button:hover { border-color: var(--roxo-principal); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.main-img { position: relative; aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 1px solid var(--border); }
.main-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .15s; }
.main-img.zooming img { transform: scale(2); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 150; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; } .lightbox .lb-next { right: 18px; top: 50%; }
.buy-box { position: sticky; top: 150px; }
.p-title { font-size: 1.45rem; line-height: 1.3; margin: 0 0 10px; color: var(--text); }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--text-3); margin-bottom: 14px; align-items: center; }
.p-meta b { color: var(--text-2); }
.p-meta a { color: var(--accent-text); }
.stock-ok { color: var(--verde-pix); font-weight: 700; }
.stock-low { color: #F97316; font-weight: 700; }
.stock-out { color: var(--vermelho-promo); font-weight: 700; }
.price-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.price-box .price-old { font-size: .9rem; }
.price-box .off-pill { display: inline-block; background: var(--vermelho-promo); color: #fff; font-weight: 800; border-radius: 999px; padding: 2px 10px; font-size: .78rem; margin-left: 8px; vertical-align: middle; }
.price-box .big { font-family: var(--font-title); font-size: 2.3rem; font-weight: 900; color: var(--price); line-height: 1.1; margin: 4px 0; letter-spacing: -.5px; }
.price-box .pix-line { font-size: .9rem; color: var(--text-2); }
.price-box .pix-line b { color: var(--verde-pix); }
.price-box .normal-line { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: .88rem; color: var(--text-2); }
.price-box .normal-line b { color: var(--text); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); height: 46px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; color: var(--text); display: grid; place-items: center; }
.qty button:hover { background: var(--surface-2); color: var(--accent-text); }
.qty input { width: 48px; text-align: center; border: 0; background: none; height: 100%; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 16px 0 10px; }
.buy-actions .full { grid-column: 1 / -1; }
.freight { margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.freight form { display: flex; gap: 8px; margin-top: 8px; }
.freight .input { height: 42px; }
.freight-result { margin-top: 10px; font-size: .88rem; }
.share { display: flex; gap: 8px; margin-top: 12px; align-items: center; font-size: .82rem; color: var(--text-3); }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; background: none; color: var(--text-2); font-size: .8rem; }
.share a:hover, .share button:hover { border-color: var(--roxo-principal); color: var(--accent-text); }
.carne-sim { margin-top: 10px; font-size: .86rem; }
.carne-sim summary { cursor: pointer; color: var(--accent-text); font-weight: 600; }
.carne-sim table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .82rem; }
.carne-sim td { padding: 5px 4px; border-bottom: 1px solid var(--border); }
.tabs { margin-top: 36px; }
.tab-btns { display: flex; gap: 4px; border-bottom: 2px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab-btns button { background: none; border: 0; padding: 12px 18px; font-weight: 700; color: var(--text-3); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; font-family: var(--font-title); }
.tab-btns button.on { color: var(--accent-text); border-bottom-color: var(--roxo-principal); }
.tab-panel { display: none; padding: 22px 0; }
.tab-panel.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.spec-table th { width: 34%; color: var(--text-3); font-weight: 600; background: var(--surface); }
.rating-summary { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; margin-bottom: 20px; }
.rating-summary .avg { text-align: center; }
.rating-summary .avg b { display: block; font-size: 3rem; font-family: var(--font-title); line-height: 1; }
.rbar { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; font-size: .82rem; color: var(--text-3); }
.rbar .track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rbar .fill { height: 100%; background: var(--amarelo-estrela); }
.review { border-bottom: 1px solid var(--border); padding: 16px 0; }
.review .r-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; }
.review p { margin: 8px 0 0; color: var(--text-2); }
.review img.r-photo { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; margin-top: 10px; cursor: zoom-in; }
.store-reply { margin-top: 10px; background: var(--surface); border-left: 3px solid var(--roxo-principal); padding: 10px 12px; border-radius: 6px; font-size: .86rem; }
.store-reply b { color: var(--accent-text); }
.question { border-bottom: 1px solid var(--border); padding: 14px 0; font-size: .9rem; }
.question .q { font-weight: 700; }
.question .a { color: var(--text-2); margin-top: 6px; padding-left: 14px; border-left: 2px solid var(--roxo-principal); }
@media (max-width: 960px) {
  .product-page { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .rating-summary { grid-template-columns: 1fr; }
}

/* ---------- Carrinho ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 24px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.cart-line .cl-name { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.cart-line .cl-name:hover { color: var(--accent-text); }
.cart-line .cl-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.cart-line .cl-actions button.link-btn { background: none; border: 0; color: var(--text-3); font-size: .8rem; padding: 0; display: inline-flex; gap: 4px; align-items: center; }
.cart-line .cl-actions button.link-btn:hover { color: var(--accent-text); }
.cart-line .cl-price { text-align: right; }
.cart-line .cl-price b { display: block; font-family: var(--font-title); font-size: 1.15rem; }
.cart-line .warn { color: #F97316; font-size: .78rem; font-weight: 600; }
.summary { position: sticky; top: 150px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; color: var(--text-2); }
.summary .row b { color: var(--text); }
.summary .row.discount b { color: var(--verde-pix); }
.summary .total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 1.05rem; }
.summary .total b { font-family: var(--font-title); font-size: 1.6rem; }
.summary .pix-total { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: .86rem; }
.summary .pix-total b { color: var(--verde-pix); font-size: 1.1rem; }
.coupon-form { display: flex; gap: 8px; margin: 12px 0; }
.coupon-form .input { text-transform: uppercase; height: 42px; }
.coupon-msg { font-size: .82rem; margin-top: -4px; margin-bottom: 8px; }
.coupon-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(34,197,94,.12); border: 1px dashed var(--verde-pix); color: var(--verde-pix); border-radius: 8px; padding: 4px 10px; font-weight: 800; font-size: .82rem; }
.coupon-tag button { background: none; border: 0; color: inherit; padding: 0; display: grid; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) { .cart-line { grid-template-columns: 70px 1fr; } .cart-line img { width: 70px; height: 70px; } .cart-line .cl-price { grid-column: 2; text-align: left; } }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 0; margin: 10px 0 24px; counter-reset: step; }
.steps li { list-style: none; flex: 1; position: relative; text-align: center; font-size: .8rem; font-weight: 700; color: var(--text-3); padding-top: 42px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: grid; place-items: center; font-family: var(--font-title); z-index: 1; color: var(--text-3); }
.steps li::after { content: ''; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--border); }
.steps li:first-child::after { display: none; }
.steps li.done, .steps li.on { color: var(--text); }
.steps li.done::before { content: '✓'; background: var(--verde-pix); border-color: var(--verde-pix); color: #06240f; }
.steps li.on::before { background: var(--roxo-principal); border-color: var(--roxo-principal); color: #fff; }
.steps li.done::after, .steps li.on::after { background: var(--roxo-principal); }
.ck-step { display: none; }
.ck-step.on { display: block; }
.addr-options { display: grid; gap: 10px; margin-bottom: 14px; }
.addr-opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; font-size: .88rem; color: var(--text-2); }
.addr-opt:has(input:checked) { border-color: var(--roxo-principal); background: rgba(139,44,245,.07); }
.addr-opt input { accent-color: var(--roxo-principal); margin-top: 3px; }
.addr-opt b { color: var(--text); }
.pay-options { display: grid; gap: 12px; }
.pay-opt { border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; display: block; }
.pay-opt:has(input:checked) { border-color: var(--roxo-principal); background: rgba(139,44,245,.07); }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }
.pay-opt .po-head { display: flex; align-items: center; gap: 12px; }
.pay-opt .po-head input { accent-color: var(--roxo-principal); width: 18px; height: 18px; }
.pay-opt .po-head .ic { width: 28px; height: 28px; color: var(--roxo-claro); }
.pay-opt .po-head b { font-size: 1rem; }
.pay-opt .po-head small { display: block; color: var(--text-3); font-size: .8rem; }
.pay-opt .po-extra { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pay-opt:has(input:checked) .po-extra { display: block; }
.pay-opt .po-badge { margin-left: auto; background: rgba(34,197,94,.15); color: var(--verde-pix); font-weight: 800; font-size: .76rem; border-radius: 999px; padding: 3px 10px; }
.map-box { height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin: 8px 0; display: none; }
.map-box.show { display: block; }
.review-list { font-size: .9rem; }
.review-list .rl-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.review-list img { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 6px; }
.ck-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }

/* ---------- Pix ---------- */
.pix-page { max-width: 760px; margin: 0 auto; }
.pix-card { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; }
.pix-qr { background: #fff; border-radius: var(--radius); padding: 12px; border: 4px solid var(--roxo-principal); }
.pix-qr img { width: 100%; }
.pix-amount { font-family: var(--font-title); font-size: 2.2rem; font-weight: 900; color: var(--verde-pix); }
.pix-code { display: flex; gap: 8px; margin: 12px 0; }
.pix-code input { flex: 1; font-family: ui-monospace, monospace; font-size: .76rem; }
.pix-timer { display: inline-flex; align-items: center; gap: 8px; background: rgba(250,204,21,.12); color: var(--amarelo-estrela); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pix-steps { counter-reset: s; padding: 0; margin: 14px 0 0; font-size: .88rem; color: var(--text-2); }
.pix-steps li { list-style: none; position: relative; padding: 4px 0 4px 32px; }
.pix-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--roxo-principal); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
@media (max-width: 720px) { .pix-card { grid-template-columns: 1fr; } .pix-qr { max-width: 280px; margin: 0 auto; } }

/* ---------- Linha do tempo (rastreio) ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 20px 0; }
.tl-step { position: relative; text-align: center; padding: 0 4px; }
.tl-step .tl-ic { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--border); color: var(--text-3); }
.tl-step .tl-ic .ic { width: 24px; height: 24px; }
.tl-step::before { content: ''; position: absolute; top: 25px; right: 50%; width: 100%; height: 4px; background: var(--border); }
.tl-step:first-child::before { display: none; }
.tl-step.done .tl-ic { background: var(--roxo-principal); border-color: var(--roxo-principal); color: #fff; }
.tl-step.done::before { background: var(--roxo-principal); }
.tl-step.current .tl-ic { box-shadow: 0 0 0 6px rgba(139,44,245,.25); animation: glowPulse 2s infinite; }
.tl-step b { display: block; font-size: .8rem; }
.tl-step small { font-size: .72rem; color: var(--text-3); }
@keyframes glowPulse { 50% { box-shadow: 0 0 0 10px rgba(139,44,245,.12); } }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .tl-step { display: grid; grid-template-columns: 52px 1fr; gap: 12px; text-align: left; align-items: center; }
  .tl-step .tl-ic { margin: 0; }
  .tl-step::before { top: auto; bottom: 50%; right: auto; left: 24px; width: 4px; height: calc(100% + 14px); }
}
.status-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: .76rem; font-weight: 800; background: rgba(139,44,245,.15); color: var(--accent-text); white-space: nowrap; }
.status-chip.AGUARDANDO_PAGAMENTO { background: rgba(250,204,21,.15); color: #EAB308; }
.status-chip.ENTREGUE { background: rgba(34,197,94,.15); color: var(--verde-pix); }
.status-chip.CANCELADO { background: rgba(239,68,68,.15); color: #F87171; }
.status-chip.SAIU_PARA_ENTREGA, .status-chip.EM_ROTA { background: rgba(59,130,246,.15); color: #60A5FA; }

/* ---------- Minha conta ---------- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; margin-top: 20px; }
.account-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; position: sticky; top: 150px; }
.account-nav .hello { padding: 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.account-nav .hello small { color: var(--text-3); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: .9rem; font-weight: 600; width: 100%; background: none; border: 0; text-align: left; color: var(--text-2); }
.account-nav a:hover, .account-nav button:hover { background: var(--surface-2); color: var(--text); }
.account-nav a.on { background: rgba(139,44,245,.14); color: var(--accent-text); }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; align-items: center; }
.order-row:hover { border-color: var(--roxo-principal); }
.order-row .thumbs-row { display: flex; gap: 6px; margin-top: 8px; }
.order-row .thumbs-row img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: .9rem; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-card b { display: block; font-family: var(--font-title); font-size: 1.5rem; }
.stat-card span { color: var(--text-3); font-size: .82rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: #4A4A58; font-size: 1.8rem; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amarelo-estrela); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { color: var(--text-3); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.table-wrap { overflow-x: auto; }
@media (max-width: 900px) { .account { grid-template-columns: 1fr; } .account-nav { position: static; display: flex; overflow-x: auto; } .account-nav .hello { display: none; } .account-nav a, .account-nav button { white-space: nowrap; width: auto; } .stat-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; } }

/* ---------- Monte seu PC ---------- */
.builder { display: grid; grid-template-columns: 260px 1fr 320px; gap: 20px; align-items: start; }
.b-steps { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; position: sticky; top: 150px; }
.b-steps button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; background: none; border: 0; text-align: left; font-weight: 600; color: var(--text-2); font-size: .9rem; }
.b-steps button .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .78rem; flex: none; }
.b-steps button.on { background: rgba(139,44,245,.14); color: var(--accent-text); }
.b-steps button.done .num { background: var(--verde-pix); color: #06240f; }
.b-steps button small { display: block; font-weight: 400; font-size: .74rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.b-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.b-opt { cursor: pointer; }
.b-opt.chosen { border-color: var(--verde-pix); box-shadow: 0 0 0 2px var(--verde-pix); }
.b-summary { position: sticky; top: 150px; }
.b-summary .b-line { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.b-summary .b-line span:first-child { color: var(--text-3); }
.b-summary .b-line span:last-child { text-align: right; }
.compat-note { font-size: .82rem; margin-bottom: 12px; }
@media (max-width: 1100px) { .builder { grid-template-columns: 1fr; } .b-steps, .b-summary { position: static; } .b-steps { display: flex; overflow-x: auto; } .b-steps button { width: auto; white-space: nowrap; } }

/* ---------- Serviços (página) ---------- */
.svc-hero { background: radial-gradient(circle at 80% 20%, rgba(139,44,245,.45), transparent 50%), linear-gradient(135deg, #120A22, #0D0D12); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; color: #fff; margin: 20px 0 26px; }
.svc-hero h1 { color: #fff; font-size: 2rem; }
.svc-hero p { color: #D4D4E2; max-width: 640px; }
.svc-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.svc-detail .svc-card ul { margin: 0 0 14px; padding-left: 18px; font-size: .86rem; color: var(--text-2); }
.svc-detail .svc-card .deadline { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--text-3); margin-bottom: 8px; }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--text-3); font-size: .88rem; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--roxo-principal); color: var(--accent-text); }
.dropzone .ic { width: 32px; height: 32px; color: var(--roxo-principal); }
.file-list { font-size: .82rem; color: var(--text-2); margin-top: 8px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 60px 16px; }
.notfound .big404 { font-family: var(--font-title); font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, #fff, var(--roxo-principal)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
html[data-theme="light"] .notfound .big404 { background: linear-gradient(135deg, var(--roxo-escuro), var(--roxo-principal)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-card { height: 360px; }
.sk-line { height: 90px; margin-bottom: 10px; }

/* =============================================================
   Decorações dos temas sazonais (leves; desligáveis)
   ============================================================= */
.deco-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.deco-layer i { position: absolute; top: -40px; display: block; animation: fall linear infinite; opacity: .85; font-style: normal; }
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }
.deco-neve i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.8); }
.deco-confete i { width: 8px; height: 12px; border-radius: 2px; }
.deco-morcegos i { animation-name: batFly; top: auto; font-size: 22px; }
@keyframes batFly { 0% { transform: translate(-10vw, 0) scale(.8); } 50% { transform: translate(50vw, -6vh) scale(1); } 100% { transform: translate(110vw, 3vh) scale(.8); } }
.deco-ovos i, .deco-coracoes i { font-size: 18px; }
.deco-neon { position: fixed; inset: 0; pointer-events: none; z-index: 39; box-shadow: inset 0 0 60px rgba(176,38,255,.18); }
.bandeirinhas { height: 26px; background:
  conic-gradient(from 135deg at 50% 0, #F59E0B 0 90deg, transparent 0) 0 0 / 24px 26px repeat-x,
  conic-gradient(from 135deg at 50% 0, #DC2626 0 90deg, transparent 0) 12px 0 / 24px 26px repeat-x;
  opacity: .95; }
.gorro { position: absolute; width: 26px; height: 22px; margin-left: -6px; margin-top: -14px; transform: rotate(-18deg); }
.logo { position: relative; }
.logo .gorro { left: 8px; top: 4px; }
html.no-anim *, html.no-anim *::before, html.no-anim *::after { animation: none !important; transition: none !important; }
html.no-anim .deco-layer { display: none; }
@media (prefers-reduced-motion: reduce) { .deco-layer { display: none; } * { animation-duration: .01ms !important; } }

/* ---------- Impressão (páginas da loja) ---------- */
@media print {
  .site-header, .site-footer, .float-support, .chatw, .cookie-bar, .toasts, .deco-layer, .topbar, .theme-ribbon { display: none !important; }
  body { background: #fff; color: #000; }
}


/* =============================================================
   v2 — visual moderno (estilo loja de hardware, fotos reais)
   ============================================================= */
:root { --header-bg: #141318; --radius: 12px; }
body { letter-spacing: -.005em; }

/* ---- Cabeçalho: bloco escuro único, menu na mesma cor (como Terabyte) ---- */
.topbar { background: #0E0D12; color: #C9C6D3; border-bottom: 1px solid #1F1D26; }
.topbar .container { min-height: 30px; }
.header-main { background: var(--header-bg); }
.header-main .container { height: 76px; }
.search input { border-radius: 10px 0 0 10px; height: 48px; font-size: .95rem; }
.search button { border-radius: 0 10px 10px 0; height: 48px; }
.cart-btn { border-radius: 12px; padding: 9px 16px 9px 12px; }
.menu-bar { background: var(--header-bg); border-bottom: 3px solid var(--roxo-principal); }
.menu-bar .container { height: 52px; align-items: center; gap: 4px; }
.dept-wrap { height: 100%; align-items: center; }
.dept-btn { background: #24222C; border-radius: 10px; height: 38px; padding: 0 16px; text-transform: none; font-size: .9rem; letter-spacing: 0; font-weight: 700; }
.dept-btn:hover { background: #2E2B38; }
.menu-links > a { border-right: 0; height: 38px; border-radius: 8px; padding: 0 12px; color: #EDEBF3; font-weight: 700; font-size: .82rem; letter-spacing: .2px; }
.menu-links > a:hover { background: rgba(255,255,255,.07); color: #fff; }
.menu-links .pill { border-radius: 8px; padding: 8px 14px; font-size: .78rem; margin: 0 2px; }
.menu-links > a:has(.pill) { padding: 0 2px; }
.menu-links > a:has(.pill):hover { background: none; }
.pill-red { background: #F43F5E; }
.pill-blue { background: #2563EB; }
.pill-green { background: #16A34A; }
.new-tag { top: -3px; }
.mega { top: calc(100% + 3px); border-radius: 0 0 12px 12px; }

/* ---- Banners com foto + texto ---- */
.bnr { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #1B1922; color: #fff; isolation: isolate; }
.bnr picture, .bnr img { display: block; width: 100%; height: 100%; }
.bnr img { object-fit: cover; transition: transform .6s ease; }
.bnr.has-text::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(14,13,18,.88) 0%, rgba(14,13,18,.62) 38%, rgba(14,13,18,.05) 72%); }
.bnr-text { position: absolute; z-index: 1; left: max(24px, calc((100% - var(--container)) / 2 + 24px)); top: 50%; transform: translateY(-50%); max-width: min(560px, 80%); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bnr-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: #D9C2FF; }
.bnr-title { font-family: var(--font-title); font-weight: 900; font-style: italic; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.bnr-sub { font-size: clamp(.92rem, 1.3vw, 1.08rem); color: #E7E4EF; max-width: 46ch; }
.bnr-cta { margin-top: 6px; background: var(--roxo-principal); color: #fff; font-weight: 800; font-family: var(--font-title); padding: 12px 22px; border-radius: 10px; font-size: .95rem; }
.bnr:hover .bnr-cta { background: #7A1FE6; }
.hero { background: #141318; }
.hero-slide { aspect-ratio: auto; height: clamp(300px, 34vw, 460px); max-height: none; }
.hero-dots button { background: rgba(255,255,255,.5); }
.mosaic { gap: 14px; }
.mosaic > div { border-radius: 14px; overflow: hidden; }
.mosaic .wide { grid-column: 1 / -1; aspect-ratio: auto; height: clamp(170px, 17vw, 240px); }
.mosaic .half { aspect-ratio: auto; height: clamp(150px, 16vw, 230px); }
.mosaic .bnr-text { left: 28px; gap: 6px; }
.mosaic .bnr-title { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.mosaic .bnr-cta { padding: 9px 16px; font-size: .85rem; }
.mosaic .bnr:hover img, .svc-photo:hover img { transform: scale(1.04); }
@media (max-width: 820px) {
  .hero-slide { height: 420px; }
  .bnr.has-text::after { background: linear-gradient(0deg, rgba(14,13,18,.92) 0%, rgba(14,13,18,.55) 55%, rgba(14,13,18,.1) 100%); }
  .bnr-text { top: auto; bottom: 46px; transform: none; left: 20px; right: 20px; max-width: none; }
  .mosaic .bnr-text { bottom: 18px; }
}

/* ---- Monte o seu PC (com foto) ---- */
.build-grid { gap: 14px; }
.build-card { height: 128px; margin-top: 0; padding: 0 0 0 20px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; justify-content: space-between; box-shadow: var(--shadow); }
html[data-theme="light"] .build-card { background: var(--surface); }
.build-card:hover { border-color: var(--roxo-principal); transform: translateY(-2px); }
.build-card img { position: static; height: 100%; width: 46%; object-fit: cover; filter: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.build-card small { font-size: .74rem; letter-spacing: .04em; font-weight: 700; color: var(--text-3); }
.build-card strong { font-size: 1.7rem; color: var(--roxo-principal); font-style: italic; font-weight: 900; }
html:not([data-theme="light"]) .build-card strong { color: #B987FF; }
.bc-text { display: flex; flex-direction: column; }

/* ---- Benefícios ---- */
.benefits { box-shadow: var(--shadow); border-radius: 14px; padding: 18px 20px; }
.benefit .ic { background: rgba(139,44,245,.1); color: var(--roxo-principal); }

/* ---- Títulos de seção ---- */
.section { margin: 40px auto; }
.section-head h2 { font-size: 1.3rem; color: var(--heading); letter-spacing: 0; }
html:not([data-theme="light"]) .section-head h2 { color: #fff; }
.section-head h2 .ic { color: var(--roxo-principal); }
.section-head .pill-outline { background: var(--roxo-principal); color: #fff; border-color: var(--roxo-principal); border-radius: 8px; padding: 6px 12px; font-size: .72rem; }
.section-head .pill-outline:hover { background: var(--roxo-escuro); }
.arrow-btn { background: var(--surface); box-shadow: var(--shadow); border-color: var(--border); }

/* ---- Card de produto ---- */
.pcard { border: 1px solid var(--border); border-radius: 14px; padding: 12px; box-shadow: none; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: rgba(139,44,245,.4); }
.pcard-img { border-radius: 10px; background: #fff; }
.pcard-img.photo { background: #EDEBF2; }
.pcard-img.photo img { object-fit: cover; padding: 0; }
.badge { border-radius: 6px; padding: 3px 8px; }
.badge-off { background: var(--vermelho-promo); }
.fav-btn { width: 34px; height: 34px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.pcard-name { font-weight: 600; font-size: .86rem; -webkit-line-clamp: 2; min-height: 2.7em; }
.price-main { font-size: 1.38rem; }
.pcard .btn { border-radius: 10px; }
.main-img.photo { background: #EDEBF2; }
.main-img.photo img { object-fit: cover; padding: 0; }
.thumbs button img { object-fit: cover; }

/* ---- Serviços com foto ---- */
.svc-photo { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.svc-photo:hover { border-color: var(--roxo-principal); box-shadow: var(--glow); }
.svc-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.svc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.svc-body strong { font-family: var(--font-title); font-size: 1.05rem; }
.svc-desc { font-size: .84rem; color: var(--text-2); flex: 1; }
.svc-price { font-size: .78rem; color: var(--text-3); }
.svc-price b { color: var(--verde-pix); font-size: 1rem; }
.svc-card .svc-ic { box-shadow: none; }

/* ---- Ofertas relâmpago ---- */
.flash { background: #17141F; border: 0; border-radius: 16px; padding: 20px; }
html[data-theme="light"] .flash { background: #1C1626; }
.flash .pcard { background: #fff; border-color: transparent; }
.flash .pcard-name { color: #17151D; }
.flash .price-main { color: #5B16B8; }
.flash .price-pix, .flash .price-parc { color: #4B4757; }
.flash .price-pix b { color: #15803D; }

/* ---- Marcas, newsletter, rodapé ---- */
.brand-chip { box-shadow: var(--shadow); }
.newsletter { background: #1C1626; }
.site-footer { background: #0E0D12; }
.float-support a { background: #141318; }

/* ---- Formulários e cartões em modo claro ---- */
html[data-theme="light"] .input { background: #fff; }
html[data-theme="light"] .card { box-shadow: var(--shadow); }
.btn { border-radius: 10px; }

/* modo escuro continua disponível no botão sol/lua */
html:not([data-theme="light"]) .pcard-img.photo, html:not([data-theme="light"]) .main-img.photo { background: #23212B; }
.btn-green { background: #16A34A; color: #fff; }
.btn-green:hover { background: #15803D; filter: none; }

/* =============================================================
   Chat de atendimento (site + painel)
   ============================================================= */
.chatw { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; }
.chatw .bubble { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); cursor: pointer; }
@media (max-width: 640px) { .chatw .bubble { display: none; } }
.chatw-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--roxo-principal); background: #0D0D12; box-shadow: 0 6px 20px rgba(139,44,245,.45); display: grid; place-items: center; cursor: pointer; transition: transform .2s; padding: 0; }
.chatw-fab:hover { transform: scale(1.06); }
.chatw-fab img { width: 68%; border-radius: 50%; }
.chatw-ic { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; background: var(--roxo-principal); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); }
.chatw-ic .ic { width: 13px; height: 13px; }
.chatw-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--vermelho-promo); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.chatw.open .bubble { display: none; }
.chatw-panel { position: fixed; right: 18px; bottom: 90px; width: 370px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 120px)); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; z-index: 90; animation: chatwIn .2s ease-out; }
.chatw-panel[hidden] { display: none !important; }
@keyframes chatwIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chatw-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, #1B0B33, #5B16B8); color: #fff; }
.chatw-head img { width: 36px; height: 36px; border-radius: 50%; background: #0D0D12; padding: 4px; }
.chatw-head div { flex: 1; min-width: 0; line-height: 1.25; }
.chatw-head b { display: block; font-size: .95rem; }
.chatw-head small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: #E4D4FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatw-online { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-pix); flex: none; }
.chatw-hbtn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chatw-hbtn:hover { background: rgba(255,255,255,.22); }
.chatw-hbtn .ic { width: 17px; height: 17px; }
.chatw-start { padding: 16px; overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.chatw-start p { margin: 0 0 4px; color: var(--text-2); font-size: .9rem; }
.chatw-start .field { margin: 0; }
.chatw-room { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chatw-room[hidden] { display: none !important; }
.chatw-msgs, .chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
.msg { max-width: 82%; padding: 8px 11px 6px; border-radius: 14px; font-size: .9rem; line-height: 1.4; word-wrap: break-word; }
.msg .msg-body { white-space: pre-wrap; }
.msg .msg-author { display: block; font-size: .72rem; font-weight: 700; color: var(--accent-text); margin-bottom: 2px; }
.msg .msg-time { display: block; font-size: .68rem; opacity: .7; margin-top: 3px; text-align: right; }
.msg.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--roxo-principal); color: #fff; border-bottom-right-radius: 4px; }
.msg.me .msg-author { color: #EBDDFF; }
.msg.sys { align-self: center; max-width: 92%; background: transparent; color: var(--text-3); font-size: .78rem; text-align: center; padding: 2px 8px; }
.msg-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; margin-top: 4px; }
.msg-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; background: #0002; }
.chatw-compose { border-top: 1px solid var(--border); padding: 8px; background: var(--surface); }
.chatw-row { display: flex; align-items: flex-end; gap: 6px; }
.chatw-row textarea { flex: 1; resize: none; border: 1px solid var(--border); border-radius: 20px; padding: 9px 14px; font: inherit; font-size: .9rem; background: var(--input-bg); color: var(--input-text); max-height: 120px; outline: none; }
.chatw-row textarea:focus { border-color: var(--roxo-principal); }
.chatw-attach, .chatw-send { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; }
.chatw-attach { background: var(--surface-2); color: var(--text-2); }
.chatw-send { background: var(--roxo-principal); color: #fff; }
.chatw.sending .chatw-send { opacity: .6; pointer-events: none; }
.chatw-attach .ic, .chatw-send .ic { width: 19px; height: 19px; }
.cc-previews { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-previews:not(:empty) { margin-bottom: 8px; }
.cc-thumb { position: relative; width: 56px; height: 56px; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.cc-thumb button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--vermelho-promo); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .chatw { right: 14px; bottom: 14px; }
  .chatw-panel { right: 8px; left: 8px; width: auto; max-width: none; bottom: 80px; height: calc(100vh - 100px); }
  .chatw-fab { width: 54px; height: 54px; }
}
/* enquanto o aviso de cookies está aberto, o botão do chat sobe para não ficar por baixo */
body:has(.cookie-bar.show) .chatw { bottom: 96px; }
@media (max-width: 640px) { body:has(.cookie-bar.show) .chatw { bottom: 190px; } }

/* Over Tech: banners sem cortes em qualquer largura (incluindo mobile). */
.hero-slide, .hero-slide .bnr, .hero-slide picture { height: auto !important; max-height: none !important; aspect-ratio: auto !important; }
.hero-slide { align-self: flex-start; }
.hero-slide .bnr img, .mosaic .bnr img { display: block; width: 100%; height: auto !important; object-fit: contain !important; transform: none !important; }
.hero-slide .bnr picture, .mosaic .bnr picture { display: block; width: 100%; height: auto; }
.mosaic .wide, .mosaic .half { height: auto !important; aspect-ratio: auto !important; }
.mosaic .bnr { height: auto; }
@media(max-width:820px) { .hero-slide { height: auto !important; aspect-ratio: auto !important; } }
/* Decorações sazonais: camada visual sem interação. */
.season-ornaments { position: fixed; inset: 0; z-index: 41; pointer-events: none; overflow: hidden; }
.season-ornaments .web { position: absolute; top: 0; width: clamp(75px, 12vw, 170px); opacity: .8; }
.season-ornaments .web.left { left: 0; }
.season-ornaments .web.right { right: 0; transform: scaleX(-1); }
.season-ornaments .spider { position: absolute; top: 0; font-size: 25px; animation: spiderDrop 9s ease-in-out infinite; }
.season-ornaments .spider::before { content: ''; position: absolute; width: 1px; height: 95px; background: #c9c3bd; bottom: 80%; left: 50%; }
.season-ornaments .spider.one { left: 8%; }
.season-ornaments .spider.two { right: 9%; animation-delay: -4s; }
@keyframes spiderDrop { 0%,100% { transform: translateY(-60px); } 45%,65% { transform: translateY(110px); } }
.season-ornaments .lights { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-around; }
.season-ornaments .bulb { width: 11px; height: 18px; border-radius: 50%; background: #ffd34d; box-shadow: 0 0 14px #ffd34d; animation: xmasGlow 2.2s ease-in-out infinite alternate; }
.season-ornaments .bulb:nth-child(3n) { background: #ff5a5a; box-shadow: 0 0 14px #ff5a5a; animation-delay: -.8s; }
.season-ornaments .bulb:nth-child(3n + 1) { background: #59e9a1; box-shadow: 0 0 14px #59e9a1; animation-delay: -1.5s; }
@keyframes xmasGlow { from { opacity: .4; } to { opacity: 1; } }
.season-ornaments .tree { position: absolute; bottom: 12px; left: 12px; font-size: clamp(42px, 5vw, 75px); filter: drop-shadow(0 0 8px #ffd34d); }
.season-ornaments .sleigh { position: absolute; top: 12%; left: 0; white-space: nowrap; font-size: clamp(24px, 3vw, 42px); animation: sleighFly 32s linear infinite; }
@keyframes sleighFly { 0%, 65% { transform: translateX(-120vw); } 100% { transform: translateX(120vw); } }
@media(max-width:700px) { .season-ornaments .tree { font-size: 36px; } .season-ornaments .spider { font-size: 18px; } }
@media(prefers-reduced-motion:reduce) { .season-ornaments .spider, .season-ornaments .sleigh, .season-ornaments .bulb { animation: none !important; } .season-ornaments .sleigh { display: none; } }
html.no-anim .season-ornaments { display: none; }
@media print { .season-ornaments { display: none !important; } }
