/* ==========================================================================
   Importazo · Design system (tokens integrados con assets/brand/brand.css)
   ========================================================================== */

:root {
  --navy: var(--iz-tinta, #1A1433);
  --navy-2: #281F4D;
  --ink: var(--iz-tinta, #1A1433);
  --ink-2: #3A3354;
  --muted: #68627D;
  --line: #EAE2D7;
  --line-2: #D6CBBF;
  --bg: var(--iz-crema, #FFF6EC);
  --surface: var(--iz-blanco, #FFFFFF);
  --tile: #F6EFE6;

  --spark: var(--iz-naranja, #FF5A1F);
  --red: var(--iz-naranja-profundo, #C2410C);
  --red-dark: #9A3412;
  --red-soft: #FFEFE5;
  --blue: #9A3412;
  --blue-soft: #FFF2E8;
  --green: var(--iz-verde, #0B7A55);
  --green-dark: #075E41;
  --green-soft: #E5F5EE;
  --amber: #92400E;
  --amber-soft: #FEF3C7;
  --gold: var(--iz-amarillo, #FFC629);

  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(26, 20, 51, 0.06), 0 2px 8px rgba(26, 20, 51, 0.04);
  --sh-2: 0 10px 30px rgba(26, 20, 51, 0.1);
  --sh-3: 0 24px 64px rgba(26, 20, 51, 0.26);

  --font: var(--iz-font, "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  --wrap: 1240px;
  --header-h: 74px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 56px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 850; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 750; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }

.todo {
  padding: 0 6px; border-radius: 4px;
  background: #fff3bf; color: #7a4b00; font-weight: 700;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-weight: 750; font-size: 0.97rem; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(217, 30, 54, 0.25); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #050f22; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef1f5; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }

.link { color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.link-btn {
  padding: 0; border: 0; background: none; text-align: left;
  color: inherit; transition: color 0.2s ease;
}
.link-btn:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); line-height: 1.1; }

.search { position: relative; flex: 1; max-width: 560px; margin-inline: auto; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 16px 0 46px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--bg); font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.search input::placeholder { color: #94a3b8; }
.search input:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 29, 58, 0.1); }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80;
  margin: 0; padding: 8px; list-style: none;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh-2);
}
.suggest li a,
.suggest li button {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 8px; border: 0; border-radius: var(--r-sm);
  background: none; text-align: left;
}
.suggest li a:hover, .suggest li a[aria-selected="true"] { background: var(--bg); }
.suggest img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--tile); }
.suggest .s-name { font-size: 0.88rem; font-weight: 650; line-height: 1.3; }
.suggest .s-brand { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.suggest .s-price { font-weight: 800; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.suggest .s-all { display: block; padding: 10px 8px 4px; font-size: 0.85rem; font-weight: 700; color: var(--blue); }
.suggest .s-empty { padding: 12px; font-size: 0.88rem; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-weight: 650; font-size: 0.88rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.icon-btn:hover { border-color: var(--ink); }
.cart-btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.cart-btn:hover { background: #050f22; border-color: #050f22; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--r-pill); background: var(--red); color: #fff;
  font-size: 0.74rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.cart-count[data-empty="true"] { background: rgba(255, 255, 255, 0.22); }
.cart-btn.bump { animation: bump 0.45s ease; }
@keyframes bump { 30% { transform: scale(1.08); } 60% { transform: scale(0.97); } }

.cat-nav { position: relative; border-top: 1px solid var(--line); background: #FFFFFF; }
.cat-nav-inner {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 54px; padding-block: 4px; overflow: visible;
}
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 5px; }
.dept-nav-toggle,
.main-nav-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font-size: 0.88rem; font-weight: 750;
  line-height: 1; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.dept-nav-toggle {
  border-color: var(--navy); background: var(--navy); color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(26, 20, 51, 0.14);
}
.dept-nav-toggle:hover,
.dept-nav-toggle[aria-expanded="true"] { background: var(--navy-2); border-color: var(--navy-2); }
.dept-nav-chevron { transition: transform 0.18s ease; }
.dept-nav-toggle[aria-expanded="true"] .dept-nav-chevron { transform: rotate(180deg); }
.dept-nav-toggle-mobile { display: none; }
.nav-label-mobile { display: none; }
.main-nav-link:hover { background: var(--bg); color: var(--ink); }
.main-nav-link[aria-current="page"] { background: var(--navy); color: #FFFFFF; }
.main-nav-link.nav-offers {
  border-color: rgba(255, 90, 31, 0.22); background: rgba(255, 90, 31, 0.08); color: var(--red);
}
.main-nav-link.nav-offers:hover { border-color: rgba(255, 90, 31, 0.42); background: rgba(255, 90, 31, 0.14); }
.main-nav-link.nav-offers[aria-current="page"] { border-color: var(--red); background: var(--red); color: #FFFFFF; }

.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 24px; right: 24px; z-index: 90;
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF;
  box-shadow: 0 24px 60px rgba(26, 20, 51, 0.18), 0 4px 14px rgba(26, 20, 51, 0.08);
}
.mega-menu-main { min-width: 0; padding: 24px; }
.mega-menu-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.mega-menu-kicker {
  display: block; margin-bottom: 4px; color: var(--red);
  font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase;
}
.mega-menu-heading h2 { font-size: 1.28rem; }
.mega-menu-heading > a {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px;
  color: var(--ink-2); font-size: 0.82rem; font-weight: 750; white-space: nowrap;
}
.mega-menu-heading > a:hover { color: var(--red); }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mega-dept-link {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 11px;
  min-width: 0; min-height: 82px; padding: 12px;
  border: 1px solid transparent; border-radius: 13px; color: var(--ink);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.mega-dept-link:hover,
.mega-dept-link:focus-visible { border-color: var(--line); background: var(--bg); transform: translateY(-1px); }
.mega-dept-link[aria-current="page"] { border-color: rgba(255, 90, 31, 0.28); background: var(--red-soft); }
.mega-dept-icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--red-soft); color: var(--red);
}
.mega-dept-link:hover .mega-dept-icon { background: var(--navy); color: #FFFFFF; }
.mega-dept-copy { min-width: 0; }
.mega-dept-copy strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.mega-dept-copy small {
  display: -webkit-box; overflow: hidden; margin-top: 4px; color: var(--muted);
  font-size: 0.73rem; font-weight: 600; line-height: 1.3;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.mega-dept-arrow { color: var(--muted); transition: transform 0.18s ease, color 0.18s ease; }
.mega-dept-link:hover .mega-dept-arrow { color: var(--red); transform: translateX(2px); }
.mega-aside {
  display: flex; flex-direction: column; min-width: 0; padding: 24px 20px;
  border-left: 1px solid var(--line); background: linear-gradient(180deg, #FFF9F3 0%, #FFF4E8 100%);
}
.mega-aside-title {
  margin-bottom: 12px; color: var(--muted);
  font-size: 0.72rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase;
}
.mega-shortcuts { display: grid; gap: 7px; }
.mega-shortcuts a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 43px; padding: 9px 11px; border: 1px solid rgba(214, 203, 191, 0.82);
  border-radius: 11px; background: rgba(255, 255, 255, 0.78); color: var(--ink);
  font-size: 0.84rem; font-weight: 750;
}
.mega-shortcuts a:hover { border-color: var(--navy); background: #FFFFFF; }
.mega-shortcuts .mega-shortcut-offers { color: var(--red); }
.mega-shortcuts a[aria-current="page"] { border-color: var(--navy); box-shadow: inset 3px 0 var(--navy); }
.mega-trust {
  display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 16px 4px 2px;
  color: var(--green-dark);
}
.mega-trust svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 1px; }
.mega-trust strong,
.mega-trust small { display: block; }
.mega-trust strong { color: var(--ink); font-size: 0.82rem; }
.mega-trust small { margin-top: 2px; color: var(--muted); font-size: 0.72rem; line-height: 1.35; }

.mobile-dept-drawer {
  position: fixed; inset: auto 0 0; width: min(760px, 100%); max-height: min(82dvh, 720px); margin: 0 auto;
  overflow: hidden; border-radius: 22px 22px 0 0; background: #FFFFFF; box-shadow: var(--sh-3);
}
.mobile-dept-drawer[open] { display: block; animation: mobileDeptIn 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-dept-drawer::backdrop { background: rgba(18, 14, 36, 0.52); backdrop-filter: blur(3px); }
@keyframes mobileDeptIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-dept-sheet { display: flex; flex-direction: column; max-height: min(82dvh, 720px); }
.mobile-dept-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 14px; border-bottom: 1px solid var(--line);
}
.mobile-dept-kicker {
  margin-bottom: 2px; color: var(--red);
  font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase;
}
.mobile-dept-head h2 { font-size: 1.25rem; }
.mobile-dept-close {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink);
}
.mobile-dept-close:hover { border-color: var(--navy); background: #FFFFFF; }
.mobile-dept-scroll {
  overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px calc(18px + env(safe-area-inset-bottom));
}
.mobile-dept-list { display: grid; gap: 2px; }
.mobile-dept-link {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 11px;
  min-width: 0; min-height: 62px; padding: 8px 5px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-dept-link[aria-current="page"] { margin-inline: -4px; padding-inline: 9px; border-radius: 11px; background: var(--red-soft); }
.mobile-dept-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--red-soft); color: var(--red);
}
.mobile-dept-link strong,
.mobile-dept-link small { display: block; }
.mobile-dept-link strong { font-size: 0.91rem; line-height: 1.2; }
.mobile-dept-link small {
  overflow: hidden; margin-top: 3px; color: var(--muted);
  font-size: 0.73rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap;
}
.mobile-dept-arrow { color: var(--muted); }
.mobile-dept-shortcuts { display: grid; gap: 7px; margin-top: 14px; }
.mobile-dept-shortcuts > a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--bg); font-size: 0.84rem; font-weight: 750;
}
.mobile-dept-shortcuts > a[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.mobile-dept-shortcuts .mobile-shortcut-offers { color: var(--red); }
.mobile-dept-trust {
  display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 11px 12px;
  border-radius: 11px; background: var(--green-soft); color: var(--green-dark);
}
.mobile-dept-trust svg { width: 20px; height: 20px; flex-shrink: 0; }
.mobile-dept-trust strong,
.mobile-dept-trust small { display: block; }
.mobile-dept-trust strong { font-size: 0.8rem; }
.mobile-dept-trust small { color: var(--green-dark); font-size: 0.71rem; }

@media (max-width: 1024px) {
  .cat-nav-inner { min-height: 52px; padding-block: 4px; }
  .primary-nav { width: 100%; gap: 5px; }
  .dept-nav-toggle-desktop,
  .nav-under { display: none; }
  .dept-nav-toggle-mobile { display: inline-flex; order: 1; }
  .nav-offers { order: 2; }
  .nav-best { order: 3; }
  .dept-nav-toggle,
  .main-nav-link { min-height: 42px; padding-inline: 11px; font-size: 0.82rem; }
  .nav-label-desktop { display: none; }
  .nav-label-mobile { display: inline; }
  .mega-menu { display: none !important; }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .mobile-dept-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .mobile-dept-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-dept-trust { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  .primary-nav { gap: 4px; }
  .dept-nav-toggle,
  .main-nav-link { padding-inline: 8px; font-size: 0.78rem; }
  .dept-nav-toggle { gap: 5px; }
  .dept-nav-toggle > svg:first-child { width: 17px; height: 17px; }
  .dept-nav-chevron { width: 14px; height: 14px; }
  .mobile-dept-head { padding-inline: 14px; }
  .mobile-dept-scroll { padding-inline: 12px; }
}

/* ---------- Seções comuns ---------- */
main:focus { outline: none; }
.section { padding-block: clamp(40px, 5.5vw, 72px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
}
.section-sub { margin-top: 8px; max-width: 64ch; color: var(--muted); }
.see-all { font-weight: 750; color: var(--blue); white-space: nowrap; }
.see-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 92% -10%, rgba(217, 30, 54, 0.12), transparent 70%),
    radial-gradient(700px 400px at -5% 110%, rgba(29, 78, 216, 0.1), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1);
}
.hero-badge span:first-child {
  flex-shrink: 0; white-space: nowrap;
  padding: 3px 10px; border-radius: var(--r-pill); background: var(--navy); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { margin-top: 18px; max-width: 54ch; font-size: clamp(1rem, 1.35vw, 1.13rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none;
  font-size: 0.9rem; font-weight: 650; color: var(--ink-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--green); flex-shrink: 0; }

.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic-card {
  position: relative; overflow: hidden; display: block;
  border-radius: var(--r-lg); background: var(--tile); box-shadow: var(--sh-1);
  aspect-ratio: 1; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mosaic-card:nth-child(1) { transform: translateY(18px); }
.mosaic-card:nth-child(4) { transform: translateY(-18px); }
.mosaic-card:hover { box-shadow: var(--sh-2); }
.mosaic-card img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-tag {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: 700; line-height: 1.25;
}
.mosaic-tag strong { color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Benefícios ---------- */
.benefits { background: var(--navy); color: #fff; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding-block: 20px; margin: 0 auto; list-style: none; align-items: center;
}
.benefit { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding: 6px 10px; }
.benefit > div { min-width: 0; }
.benefit-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #ffd166;
}
.benefit strong { display: block; font-size: 0.92rem; }
.benefit span { display: block; font-size: 0.8rem; color: #b6c2d9; line-height: 1.35; }

/* ---------- Categorias ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.cat-tile {
  display: grid; gap: 10px; padding: 12px; height: 100%;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.cat-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: var(--tile); }
.cat-tile strong { font-size: 0.92rem; line-height: 1.25; }
.cat-tile span { display: block; font-size: 0.76rem; color: var(--muted); font-weight: 600; }

/* ---------- Grid de produtos ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 1060px) and (min-width: 721px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover, .card:focus-within { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; flex-wrap: nowrap; gap: 6px; max-width: calc(100% - 58px);
  pointer-events: none;
}
.card-badges .badge {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--navy); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3;
}
.badge.red { background: var(--red); }
.badge.green { background: var(--green); }
.badge.light { background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: var(--sh-1); }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 14px 16px; }
.card-brand { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--blue); }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.price { font-size: 1.2rem; font-weight: 850; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-old { font-size: 0.82rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-off {
  padding: 1px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green-dark);
  font-size: 0.74rem; font-weight: 800;
}
.card-msi { font-size: 0.78rem; color: var(--green-dark); font-weight: 650; }
.card-stock { margin-top: auto; padding-top: 8px; font-size: 0.76rem; font-weight: 650; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.card-stock.low { color: var(--amber); }
.card-stock.low .dot { background: #f59e0b; }
.card-stock.out { color: var(--muted); }
.card-stock.out .dot { background: var(--line-2); }
.card-add {
  position: relative; z-index: 2; margin-top: 10px; min-height: 42px; width: 100%;
  border: 1.5px solid var(--navy); border-radius: var(--r-pill); background: #fff;
  font-size: 0.86rem; font-weight: 750; color: var(--navy);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.card-add:hover { background: var(--navy); color: #fff; }
.card-add[data-added="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.card-add:disabled { border-color: var(--line-2); color: var(--muted); background: var(--bg); cursor: not-allowed; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 12px; background: var(--red-soft); color: var(--red); font-weight: 900;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 0.93rem; }

.why {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
  margin-top: 22px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
}
.why h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.why p { color: #c7d2e6; font-size: 0.95rem; }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: #e2e8f0; }
.why li svg { color: #ffd166; flex-shrink: 0; margin-top: 3px; }

/* ---------- Marcas ---------- */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-weight: 800; letter-spacing: -0.01em; color: var(--ink-2);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.brand-chip:hover { border-color: var(--navy); color: var(--navy); }
.brand-chip small { font-weight: 700; color: var(--muted); }

/* ---------- Garantias ---------- */
.guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.guarantee { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.guarantee-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.guarantee p { font-size: 0.9rem; color: var(--ink-2); }
.guarantee a { font-size: 0.86rem; }

/* ---------- FAQ / acordeão ---------- */
.faq-list details, .acc details { border-bottom: 1px solid var(--line); }
.faq-list summary, .acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-weight: 750; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .acc summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--line-2); border-radius: 50%; font-weight: 500; color: var(--ink-2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-list details[open] summary::after, .acc details[open] summary::after {
  content: "−"; background: var(--navy); border-color: var(--navy); color: #fff;
}
.faq-list details > div, .acc details > div { padding: 0 2px 20px; color: var(--ink-2); font-size: 0.95rem; }
.faq-list details > div p + p, .acc details > div p + p { margin-top: 10px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding-block: clamp(36px, 5vw, 56px); }
.newsletter h2 { color: #fff; }
.newsletter p { color: #b6c2d9; margin-top: 6px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input {
  flex: 1 1 240px; min-height: 48px; padding: 12px 20px;
  border: 1px solid #2b4370; border-radius: var(--r-pill); background: #10264a; color: #fff;
}
.newsletter-form input::placeholder { color: #8796b3; }
.newsletter-form input:focus { outline: none; border-color: #ffd166; }
.form-msg { flex-basis: 100%; min-height: 20px; font-size: 0.85rem; }
.form-msg.ok { color: #86efac; }
.form-msg.err { color: #fda4af; }
.newsletter small { display: block; flex-basis: 100%; color: #8796b3; font-size: 0.75rem; }
.newsletter small a { color: #c7d2e6; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #120E24; color: #C5BFD8; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand .brand-logo { height: 34px; width: auto; }
.footer-note { margin-top: 12px; font-size: 0.88rem; max-width: 38ch; color: #9E96B8; }
.site-footer h3 { margin-bottom: 14px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8A82A6; }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav a, .site-footer nav .link-btn { font-size: 0.9rem; color: #DDD8EC; }
.site-footer nav a:hover { color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.pay-badges li {
  padding: 4px 10px; border-radius: 6px; background: #211A3D; border: 1px solid #352B5E;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; color: #F5F2FF;
}
.pay-badges li.pb-visa { background: #1A1F71; border-color: #2B3399; }
.pay-badges li.pb-mc { background: #2B1A1F; border-color: #EB001B; color: #FFD7BA; }
.pay-badges li.pb-amex { background: #006FCF; border-color: #2889E0; }
.pay-badges li.pb-msi { background: rgba(255, 90, 31, 0.18); border-color: rgba(255, 90, 31, 0.45); color: #FFD6C4; }
.footer-legal {
  display: grid; gap: 6px; padding-block: 20px 26px; border-top: 1px solid #261E45;
  font-size: 0.8rem; color: #8A82A6;
}
.footer-legal a { text-decoration: underline; }

/* ---------- Listagem ---------- */
.page-head { padding-block: 28px 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 0.82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap;
  margin: 18px 0 22px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-size: 0.84rem; font-weight: 650; color: var(--ink-2); white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.select {
  min-height: 38px; padding: 6px 36px 6px 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 0.85rem; font-weight: 650; appearance: none;
}
.result-count { font-size: 0.85rem; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty {
  padding: 56px 24px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: #fff;
}
.empty h2 { font-size: 1.3rem; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Página de produto ---------- */
.pdp { padding-block: 20px 56px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + 60px); }

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.g-main { position: relative; grid-column: 2; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); }
.g-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; aspect-ratio: 1; overscroll-behavior-x: contain;
}
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.g-slide button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); box-shadow: var(--sh-1);
  color: var(--ink); transition: opacity 0.2s ease, transform 0.2s ease;
}
.g-nav:hover { transform: translateY(-50%) scale(1.06); }
.g-nav.prev { left: 12px; }
.g-nav.next { right: 12px; }
.g-nav:disabled { opacity: 0; pointer-events: none; }
.g-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  padding: 3px 10px; border-radius: var(--r-pill); background: rgba(15, 23, 42, 0.72); color: #fff;
  font-size: 0.76rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.g-zoom-hint {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem; font-weight: 700; color: var(--ink-2); pointer-events: none;
}
.g-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumb {
  flex-shrink: 0; width: 76px; height: 76px; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 12px; background: var(--tile); opacity: 0.72;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb:hover { opacity: 1; }
.g-thumb[aria-current="true"] { border-color: var(--navy); opacity: 1; }
.g-dots { display: none; justify-content: center; gap: 6px; margin-top: 10px; grid-column: 1 / -1; }
.g-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: width 0.2s ease, background-color 0.2s ease; }
.g-dots span.on { width: 20px; border-radius: 4px; background: var(--navy); }

.pdp-info { display: grid; gap: 16px; }
.pdp-brand { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.pdp-brand a:hover { text-decoration: underline; }
.pdp-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 850; }
.pdp-subtitle { margin-top: 6px; color: var(--ink-2); }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line); font-size: 0.76rem; font-weight: 700; color: var(--ink-2);
}
.pill.green { background: var(--green-soft); border-color: #bfe8d6; color: var(--green-dark); }
.pill.blue { background: var(--blue-soft); border-color: #c9d8fb; color: #1e3a8a; }

.price-box { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.price-row .price { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.price-row .price-old { font-size: 1rem; }
.price-save { margin-top: 4px; font-size: 0.88rem; font-weight: 750; color: var(--green-dark); }
.price-msi { margin-top: 6px; font-size: 0.9rem; color: var(--ink-2); }
.price-msi strong { color: var(--ink); }
.price-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 0; list-style: none; }
.price-methods li {
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-2);
}

.variant-group { display: grid; gap: 10px; }
.variant-label { font-size: 0.86rem; font-weight: 750; }
.variant-label span { font-weight: 600; color: var(--muted); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px 6px 8px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff;
  font-size: 0.86rem; font-weight: 650;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.variant-opt.no-swatch { padding-left: 14px; }
.variant-opt:hover { border-color: var(--ink); }
.variant-opt[aria-checked="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.variant-opt[data-out="true"] { color: var(--muted); text-decoration: line-through; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, 0.18); flex-shrink: 0; }

.stock-line { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--green-dark); }
.stock-line .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.stock-line.low { color: var(--amber); }
.stock-line.low .dot { background: #f59e0b; box-shadow: 0 0 0 4px var(--amber-soft); }
.stock-line.out { color: var(--muted); }
.stock-line.out .dot { background: var(--line-2); box-shadow: none; }

.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 180px; }
.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff; overflow: hidden;
}
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.15rem; }
.qty button:hover { background: var(--bg); }
.qty input {
  width: 44px; height: 46px; border: 0; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; background: none;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.delivery { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 10px; }
.delivery-head { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 0.92rem; }
.delivery-head svg { color: var(--blue); flex-shrink: 0; }
.delivery-form { display: flex; gap: 8px; }
.delivery-form input {
  flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums; letter-spacing: 0.08em;
}
.delivery-form input:focus { outline: none; border-color: var(--navy); }
.delivery-result { font-size: 0.88rem; color: var(--ink-2); }
.delivery-result strong { color: var(--green-dark); }

.trust-list { display: grid; gap: 10px; margin: 0; padding: 16px; list-style: none; border-radius: var(--r); background: var(--bg); }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.trust-list li svg { flex-shrink: 0; color: var(--navy); margin-top: 2px; }
.trust-list strong { color: var(--ink); }
.trust-list a { color: var(--blue); font-weight: 650; }

.pdp-details { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px; align-items: start; }
.acc { border-top: 1px solid var(--line); }
.acc summary { font-size: 1.05rem; padding-block: 20px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose h3 { margin: 18px 0 6px; font-size: 1rem; }
.highlights { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.highlights li { position: relative; padding-left: 28px; color: var(--ink-2); }
.highlights li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 19px; height: 19px;
  border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 0.7rem; font-weight: 900;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; color: var(--muted); font-weight: 650; }
.spec-table tr:nth-child(odd) { background: #fafbfc; }
.inbox { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.inbox li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.inbox li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--navy); flex-shrink: 0; }
.warranty-box { padding: 16px; border-radius: var(--r); background: var(--blue-soft); color: #1e3a8a; }
.warranty-box strong { display: block; font-size: 1.05rem; color: #172554; margin-bottom: 4px; }

.tab-list {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list [role="tab"] {
  flex-shrink: 0; padding: 12px 16px; margin-bottom: -1px;
  border: 0; border-bottom: 3px solid transparent; background: none;
  font-weight: 750; font-size: 0.95rem; color: var(--muted); white-space: nowrap;
}
.tab-list [role="tab"]:hover { color: var(--ink); }
.tab-list [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tab-panel { padding: 22px 2px 8px; }
.tab-panel .faq-list summary { font-size: 0.95rem; }

.side-card { position: sticky; top: calc(var(--header-h) + 60px); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: grid; gap: 14px; }
.side-card h3 { font-size: 1rem; }
.side-card .mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.side-card .mini img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--tile); }
.side-card .mini strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.side-card .mini span { font-weight: 850; font-variant-numeric: tabular-nums; }

.reviews { display: grid; gap: 12px; }
.review { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.review .stars { color: var(--gold); letter-spacing: 0.05em; }
.review footer { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-buy.show { transform: none; }
.sticky-buy .sb-price { display: grid; line-height: 1.2; }
.sticky-buy .sb-price strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sticky-buy .sb-price small { color: var(--muted); font-size: 0.74rem; }
.sticky-buy .btn { flex: 1; min-height: 46px; }

/* ---------- Páginas de informação ---------- */
.info-page { padding-block: 24px 64px; }
.info-card { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.info-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.info-card .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }
.info-card h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.info-card p, .info-card li { color: var(--ink-2); }
.info-card p + p { margin-top: 10px; }
.info-card ul, .info-card ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0 0; }
.info-card table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.9rem; }
.info-card th, .info-card td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-card th { background: var(--bg); font-weight: 750; }
.info-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.callout { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--blue); border-radius: 8px; background: var(--blue-soft); color: #1e3a8a; font-size: 0.92rem; }
.callout.warn { border-color: #f59e0b; background: var(--amber-soft); color: #7a4b00; }
.credit-list { display: grid; gap: 10px; margin-top: 14px; }
.credit { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.82rem; }
.credit img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--tile); }
.credit a { color: var(--blue); word-break: break-all; }

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: 100vw; max-height: 100vh; }
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgba(7, 19, 39, 0.55); backdrop-filter: blur(3px); }
.dialog-close {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 0.95rem;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.dialog-close:hover { background: var(--bg); transform: rotate(90deg); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Carrinho */
.cart-dialog {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); height: 100dvh;
  background: #fff; box-shadow: var(--sh-3); display: flex; flex-direction: column;
}
.cart-dialog[open] { animation: slideIn 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; }
.free-ship { padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 0.85rem; font-weight: 650; }
.free-ship .bar { height: 7px; margin-top: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), #22c55e); transition: width 0.35s ease; }
.cart-scroll { flex: 1; overflow-y: auto; padding: 4px 20px 12px; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tile); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-brand { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ci-name { font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.ci-name a:hover { color: var(--blue); }
.ci-var { font-size: 0.78rem; color: var(--muted); }
.ci-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.mini-qty button { width: 30px; height: 30px; border: 0; background: none; }
.mini-qty button:hover { background: var(--bg); border-radius: 50%; }
.mini-qty output { min-width: 24px; text-align: center; font-size: 0.85rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ci-remove { padding: 0; border: 0; background: none; font-size: 0.78rem; color: var(--muted); text-decoration: underline; }
.ci-remove:hover { color: var(--red); }
.ci-total { font-weight: 800; font-size: 0.92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-empty { display: grid; place-items: center; gap: 8px; padding: 56px 0; text-align: center; color: var(--muted); }
.cart-empty svg { color: var(--line-2); }
.upsell { margin-top: 18px; }
.upsell h3 { font-size: 0.86rem; margin-bottom: 10px; }
.upsell-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.upsell-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.upsell-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--tile); }
.upsell-item strong { display: block; font-size: 0.8rem; line-height: 1.3; }
.upsell-item span { font-size: 0.8rem; font-weight: 800; }
.upsell-item button { min-height: 34px; padding: 4px 12px; border: 1.5px solid var(--navy); border-radius: var(--r-pill); background: #fff; font-size: 0.78rem; font-weight: 750; color: var(--navy); }
.upsell-item button:hover { background: var(--navy); color: #fff; }
.cart-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.totals { display: grid; gap: 6px; margin: 0 0 12px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.totals .grand dt { color: var(--ink); font-weight: 800; }
.totals .grand dd { font-size: 1.25rem; font-weight: 850; }
.secure-note { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.75rem; color: var(--muted); }

/* Checkout */
.checkout-dialog {
  width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-3);
  display: flex; flex-direction: column; overflow: hidden;
}
.checkout-dialog[open] { animation: pop 0.22s ease; }
/* O form precisa ser flex-col e encolhível: é ele que garante que o
   rodapé (com o botão de pagar) nunca fique cortado — a área rolável
   encolhe e o co-foot fica sempre visível, mesmo com teclado aberto. */
#checkoutForm { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.co-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px; overscroll-behavior: contain; }
.co-foot { flex-shrink: 0; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.co-head h2 { font-size: 1.2rem; }
.co-steps { display: flex; gap: 8px; margin: 0; padding: 14px 22px; list-style: none; border-bottom: 1px solid var(--line); background: var(--bg); }
.co-steps li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 0.82rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.co-steps li span {
  display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid var(--line-2); border-radius: 50%; background: #fff; font-size: 0.72rem; font-weight: 850;
}
.co-steps li[aria-current="step"] { color: var(--ink); }
.co-steps li[aria-current="step"] span { background: var(--navy); border-color: var(--navy); color: #fff; }
.co-steps li[data-done="true"] { color: var(--green-dark); }
.co-steps li[data-done="true"] span { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.co-summary-box { margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.co-summary-box summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 0.88rem; font-weight: 750; cursor: pointer; list-style: none; }
.co-summary-box summary::-webkit-details-marker { display: none; }
.co-summary-box summary span:last-child { font-variant-numeric: tabular-nums; }
.co-lines { margin: 0; padding: 0 14px 12px; list-style: none; display: grid; gap: 8px; }
.co-lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 0.82rem; }
.co-lines img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--tile); }
.co-lines strong { font-variant-numeric: tabular-nums; }
.co-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.co-panel-title { font-size: 1.05rem; margin-bottom: 4px; }
.co-panel-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select {
  min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 0.93rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 29, 58, 0.1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.field select {
  appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { font-size: 0.76rem; font-weight: 700; color: var(--red-dark); }
.field-error:empty { display: none; }
.check { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; font-size: 0.88rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.privacy-mini { margin-top: 6px; font-size: 0.74rem; color: var(--muted); line-height: 1.5; }
.privacy-mini a { color: var(--blue); text-decoration: underline; }
.ship-estimate { margin-top: 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green-dark); font-size: 0.85rem; font-weight: 650; }
.ship-estimate:empty { display: none; }
.cc-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
}
.cc-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 11px; border-radius: 6px; border: 1.5px solid var(--line-2);
  background: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; color: var(--ink);
  transition: transform 0.16s ease, opacity 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cc-badge.visa { color: #1A1F71; }
.cc-badge.mastercard { color: #B91C1C; }
.cc-badge.amex { color: #006FCF; }
.cc-banner[data-detected] .cc-badge { opacity: 0.38; }
.cc-banner[data-detected] .cc-badge.active {
  opacity: 1; border-color: var(--navy); transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(26, 20, 51, 0.12);
}
.cc-only-tag {
  margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--red-soft); color: var(--red);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
}
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-detected { font-size: 0.75rem; font-weight: 800; color: var(--green-dark); }
.card-detected.invalid { color: var(--red-dark); }
.card-fields { padding-top: 4px; }

/* Historia band on home */
.story-band {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy) 0%, #2B2054 100%); color: #fff;
}
.story-band .eyebrow { color: var(--gold); }
.story-band h2 { color: #fff; margin-bottom: 10px; }
.story-band p { color: #DDD8EC; font-size: 0.98rem; }
.story-band p + p { margin-top: 10px; }
.story-card {
  padding: 22px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; gap: 12px;
}
.story-card img { height: 34px; width: auto; }
.story-card blockquote { margin: 0; font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1.35; }
.story-card small { color: #C5BFD8; font-size: 0.82rem; }
@media (max-width: 900px) {
  .story-band { grid-template-columns: 1fr; }
  .cc-only-tag { margin-left: 0; }
}
.co-legal { margin-top: 14px; font-size: 0.74rem; color: var(--muted); line-height: 1.5; }
.co-legal a { color: var(--blue); text-decoration: underline; }
.demo-note { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--amber-soft); color: #7a4b00; font-size: 0.76rem; font-weight: 650; }

/* Aviso de cifrado y errores del gateway */
.crypto-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--green-soft, #e7f5ee);
  color: #0b5c3c;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}
.crypto-note svg { flex-shrink: 0; margin-top: 1px; }
.co-gateway-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fdecea;
  color: #8f2119;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.45;
}
.co-gateway-error:empty { display: none; }

/* ===================== Verificación 3-D Secure ===================== */
.auth-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  border: 0;
  padding: 0;
  border-radius: var(--r-lg, 18px);
  background: var(--surface, #fff);
  box-shadow: 0 30px 70px rgba(12, 20, 40, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.auth-dialog[open] { animation: authIn 0.22s ease; }
@keyframes authIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.auth-dialog .co-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line, #e6e9ef);
}
.auth-dialog .co-head h2 { font-size: 1.02rem; margin: 0; }
.auth-secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1c4ed8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auth-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line, #e6e9ef);
}
.auth-status strong { display: block; font-size: 0.9rem; }
.auth-status p { margin: 3px 0 0; font-size: 0.8rem; color: var(--muted, #6b7280); line-height: 1.45; }
.auth-status[data-tone="rejected"] { background: #fdecea; }
.auth-status[data-tone="rejected"] strong { color: #8f2119; }

.auth-spinner {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 2.5px solid #cfd8e6;
  border-top-color: #1c4ed8;
  border-radius: 50%;
  animation: authSpin 0.9s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }

.auth-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 380px;
  background: #fff;
}
.auth-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  background: #fff;
}

.auth-note {
  margin: 0;
  padding: 10px 20px;
  border-top: 1px solid var(--line, #e6e9ef);
  background: #fbfcfe;
  font-size: 0.72rem;
  color: var(--muted, #6b7280);
  line-height: 1.45;
}

.auth-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line, #e6e9ef);
}
.auth-actions .btn { flex: 1; min-height: 42px; font-size: 0.85rem; }

@media (max-width: 560px) {
  .auth-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .auth-frame-wrap, .auth-frame-wrap iframe { min-height: 320px; }
  .auth-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-spinner { animation: none; }
}
.co-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.co-total { display: grid; line-height: 1.25; }
.co-total span { font-size: 0.74rem; color: var(--muted); font-weight: 700; }
.co-total strong { font-size: 1.3rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.co-total small { font-size: 0.74rem; color: var(--muted); }
.co-actions { display: flex; gap: 10px; }
.co-success { text-align: center; padding: 8px 0; }
.co-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 1.8rem; font-weight: 900; }
.co-success h3 { font-size: 1.35rem; margin-bottom: 6px; }
.co-success-sub { color: var(--muted); margin-bottom: 18px; }
.co-success-grid { margin: 0 0 20px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.co-success-grid > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.co-success-grid > div:last-child { border-bottom: 0; }
.co-success-grid dt { color: var(--muted); }
.co-success-grid dd { margin: 0; font-weight: 700; text-align: right; word-break: break-word; }
.co-success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; margin: 0; background: rgba(5, 12, 26, 0.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: pop 0.2s ease; }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lb-head .dialog-close { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.lb-count { font-weight: 700; font-variant-numeric: tabular-nums; color: #cbd5e1; }
.lb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; display: grid; place-items: center; padding: 0 56px; scroll-snap-align: center; overflow: auto; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; cursor: zoom-in; transition: transform 0.25s ease; }
.lb-slide.zoomed { place-items: start; }
.lb-slide.zoomed img { max-width: none; max-height: none; width: 200%; cursor: zoom-out; }
.lb-foot { padding: 10px 18px 18px; text-align: center; font-size: 0.75rem; color: #94a3b8; }
.lb-foot a { color: #cbd5e1; text-decoration: underline; }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb-nav.prev { left: 12px; }
.lb-nav.next { right: 12px; }

/* Pedidos */
.order-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 12px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.order-id { font-weight: 850; font-variant-numeric: tabular-nums; }
.order-status { padding: 3px 10px; border-radius: var(--r-pill); background: var(--green-soft); color: var(--green-dark); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.order-status.pending { background: var(--amber-soft); color: var(--amber); }
.order-meta { font-size: 0.82rem; color: var(--muted); }
.order-items { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 0.85rem; color: var(--ink-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 0.88rem; font-weight: 650; box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { padding: 6px 12px; border: 0; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 0.8rem; font-weight: 800; }

.noscript { position: fixed; inset: auto 16px 16px; z-index: 500; padding: 14px 20px; border-radius: var(--r); background: var(--red); color: #fff; font-weight: 700; text-align: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-details { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .mosaic-card:nth-child(1), .mosaic-card:nth-child(4) { transform: none; }
  .mosaic-tag { left: 6px; right: 6px; bottom: 6px; padding: 5px 7px; font-size: 0.68rem; flex-direction: column; align-items: flex-start; gap: 0; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .g-main { grid-column: 1; }
  .g-thumbs { display: none; }
  .g-dots { display: flex; }
  .sticky-buy { display: flex; }
  .pdp { padding-bottom: 96px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .wrap { padding-inline: 16px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .brand-tag { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .header-actions { margin-left: auto; }
  .icon-btn .label { display: none; }
  .icon-btn { padding: 0 12px; height: 42px; }
  .hero-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 1 1 auto; }
  .benefit { padding: 4px; }
  .benefit-icon { width: 36px; height: 36px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 0.86rem; }
  .price { font-size: 1.05rem; }
  .card-add { min-height: 38px; font-size: 0.8rem; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat-tile { padding: 8px; gap: 6px; }
  .cat-tile strong { font-size: 0.8rem; }
  .cat-tile span { display: none; }
  .guarantees { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .co-steps { padding: 12px 14px; gap: 6px; }
  .co-steps li { font-size: 0.72rem; gap: 5px; }
  .co-scroll { padding: 16px; }
  .co-foot { padding: 12px 16px; }
  .co-actions { width: 100%; }
  .co-actions .btn { flex: 1; }
  .toolbar { padding: 10px; }
  .lb-slide { padding: 0 8px; }
  .lb-nav { display: none; }
  .toast { left: 16px; right: 16px; transform: translateY(20px); justify-content: space-between; border-radius: var(--r); }
  .toast.show { transform: none; }
}

@media (max-width: 380px) {
  .product-grid { gap: 8px; }
  .brand-name { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .cat-nav, .newsletter, .site-footer, dialog, .toast, .sticky-buy, .card-add, .cookie-banner { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   V2 · Estudio blanco sin recortes, departamentos, pagos SVG, BIN, cookies
   y optimización móvil (360px / 390px)
   ========================================================================== */

/* Estudio blanco #FFFFFF + object-fit: contain (cero fotos recortadas) */
.card-media,
.g-main,
.g-slide,
.g-thumb,
.cart-thumb,
.dept-media { background: #FFFFFF; }

.card-media { border-bottom: 1px solid var(--line); }
.card-media img { object-fit: contain; background: #FFFFFF; padding: 10px; }
.card-media img.alt { background: #FFFFFF; }
.card:hover .card-media img { transform: scale(1.02); }
@media (hover: none) {
  .card:hover .card-media img.alt { opacity: 0; }
  .card:hover .card-media img { transform: none; }
}

.g-main { border: 1px solid var(--line); }
.g-slide img { object-fit: contain; background: #FFFFFF; padding: 12px; }
.g-thumb { border: 1.5px solid var(--line); background: #FFFFFF; opacity: 0.85; }
.g-thumb img { object-fit: contain; background: #FFFFFF; padding: 4px; }
.g-thumb[aria-current="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); opacity: 1; }

.cart-thumb { border: 1px solid var(--line); }
.cart-thumb img,
.upsell-item img,
.co-lines img,
.side-card .mini img,
.suggest img,
.credit img { object-fit: contain; background: #FFFFFF; padding: 3px; border: 1px solid var(--line); }

/* Hero mosaic: etiqueta estática DEBAJO de la imagen (nunca encima) */
.mosaic-card {
  display: flex; flex-direction: column; aspect-ratio: auto;
  border: 1px solid var(--line); background: #FFFFFF;
}
.mosaic-card img {
  width: 100%; height: auto; aspect-ratio: 1;
  object-fit: contain; background: #FFFFFF; padding: 12px;
}
.mosaic-tag {
  position: static; left: auto; right: auto; bottom: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 0; border-top: 1px solid var(--line);
  background: var(--surface); backdrop-filter: none;
  font-size: 0.8rem; font-weight: 700; line-height: 1.25;
}
.mosaic-name {
  min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Departamentos modernos */
.dept-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.dept-item { min-width: 0; }
.dept-card {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF;
  box-shadow: var(--sh-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dept-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--navy); }
.dept-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dept-icon {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px; background: var(--red-soft); color: var(--red);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dept-card:hover .dept-icon { background: var(--navy); color: #FFFFFF; }
.dept-count {
  padding: 4px 10px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line);
  font-size: 0.73rem; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dept-media {
  width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); border: 1px solid var(--line);
  overflow: hidden; display: grid; place-items: center; background: #FFFFFF;
}
.dept-media img {
  width: 100%; height: 100%; object-fit: contain; background: #FFFFFF; padding: 10px;
  transition: transform 0.3s ease;
}
.dept-card:hover .dept-media img { transform: scale(1.04); }
.dept-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.dept-copy { min-width: 0; }
.dept-title { font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.dept-sub { margin-top: 3px; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.dept-arrow {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--bg); color: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.dept-card:hover .dept-arrow { transform: translateX(3px); background: var(--red); color: #FFFFFF; }

/* Paginación y notas de IVA */
.card-tax { font-size: 0.75rem; color: var(--muted); font-weight: 650; }
.price-iva {
  padding: 2px 9px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 700; color: var(--muted);
}
.list-more {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; text-align: center;
}
.list-more-count { font-size: 0.85rem; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.list-more-btn { min-width: min(280px, 100%); }

/* Logos gráficos de tarjetas + slot BIN en #coCardNumber */
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pay-logos img { width: 44px; height: 28px; object-fit: contain; border-radius: 4px; }
.pay-msi-note {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(255, 90, 31, 0.18); border: 1px solid rgba(255, 90, 31, 0.42);
  font-size: 0.74rem; font-weight: 750; color: #FFD6C4;
}
.secure-logos { display: inline-flex; align-items: center; gap: 4px; }
.secure-logos img { width: 32px; height: 20px; object-fit: contain; border-radius: 3px; }
.price-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 0; }
.price-methods img { width: 42px; height: 26px; object-fit: contain; border-radius: 4px; box-shadow: 0 1px 2px rgba(26, 20, 51, 0.08); }

.cc-logo-chip {
  display: inline-flex; align-items: center; justify-content: center; padding: 3px;
  border-radius: 7px; border: 1.5px solid var(--line-2); background: #FFFFFF;
  transition: transform 0.16s ease, opacity 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cc-logo-chip img { width: 42px; height: 26px; object-fit: contain; }
.cc-banner[data-detected] .cc-logo-chip { opacity: 0.34; }
.cc-banner[data-detected] .cc-logo-chip.active {
  opacity: 1; border-color: var(--navy); transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26, 20, 51, 0.14);
}
.cc-msi-pill {
  margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-dark);
  font-size: 0.74rem; font-weight: 800; white-space: nowrap;
}
.card-input-wrap { position: relative; display: flex; align-items: center; }
.card-input-wrap input { width: 100%; padding-right: 60px; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.card-brand-slot {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; pointer-events: none;
}
.card-placeholder-icon { color: var(--muted); opacity: 0.65; }
.card-brand-img { width: 40px; height: 25px; object-fit: contain; border-radius: 4px; box-shadow: 0 1px 3px rgba(26, 20, 51, 0.12); }
.card-input-wrap[data-state="detected"] input { border-color: var(--green); }
.card-input-wrap[data-state="unsupported"] input { border-color: var(--red); background: #FFF8F6; }
.card-input-wrap[data-state="unsupported"] .card-placeholder-icon { color: var(--red); opacity: 1; }

/* Banner de cookies (LFPDPPP) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 350;
  max-width: 920px; margin-inline: auto;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
  box-shadow: var(--sh-3); padding: 18px 20px;
}
.cookie-inner { display: grid; gap: 14px; }
.cookie-title { font-weight: 850; font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; }
.cookie-desc { font-size: 0.84rem; color: var(--ink-2); line-height: 1.45; }
.cookie-desc a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.cookie-prefs {
  display: grid; gap: 10px; padding: 12px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line);
}
.cookie-pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer;
}
.cookie-pref-row strong { display: block; font-size: 0.85rem; color: var(--ink); }
.cookie-pref-row span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
.cookie-pref-row input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--navy); }
.cookie-always {
  flex-shrink: 0; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-dark); font-size: 0.72rem !important; font-weight: 800;
}
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* Responsivo móvil: tira horizontal de miniaturas en PDP y pantallas 360px / 390px */
@media (max-width: 960px) {
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dept-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .mosaic-tag {
    position: static; padding: 8px 10px; font-size: 0.76rem;
    flex-direction: row; align-items: center; gap: 6px;
  }
  .g-thumbs {
    display: flex; flex-direction: row; grid-column: 1; grid-row: 2;
    gap: 8px; overflow-x: auto; overflow-y: hidden; max-width: 100%;
    padding: 2px 2px 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .g-thumb { width: 64px; height: 64px; border-radius: 10px; scroll-snap-align: start; }
  .g-dots { display: none; }
}

@media (max-width: 720px) {
  input, select, textarea { font-size: 16px !important; }
  .card, .card-body { min-width: 0; }
  .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-msi { font-size: 0.73rem; line-height: 1.25; }
  .dept-grid { gap: 10px; }
  .dept-card { padding: 11px; gap: 9px; border-radius: var(--r); }
  .dept-media { aspect-ratio: 4 / 3; }
  .dept-title { font-size: 0.92rem; }
  .dept-sub { font-size: 0.74rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dept-top { align-items: flex-start; }
  .dept-count { min-width: 0; padding: 3px 7px; font-size: 0.68rem; line-height: 1.2; text-align: right; white-space: normal; }
  .dept-icon { width: 30px; height: 30px; border-radius: 8px; }
  .dept-arrow { width: 26px; height: 26px; }
  .sticky-buy .sb-price { min-width: 0; flex: 1; }
  .sticky-buy .sb-price small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex: 0 0 auto; padding-inline: 18px; }
  .cart-dialog,
  .checkout-dialog {
    position: fixed; inset: 0; margin: 0;
    width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
    border-radius: 0;
  }
  .co-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .cc-msi-pill { margin-left: 0; }
  .info-card table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cookie-banner {
    left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 calc(50% - 4px); }
}

@media (max-width: 390px) {
  .wrap { padding-inline: 12px; }
  .brand-logo { height: 28px; }
  .icon-btn { padding: 0 10px; height: 40px; }
  .hero-mosaic { gap: 8px; }
  .mosaic-card img { padding: 8px; }
  .mosaic-tag { flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 9px; }
}

/* ==========================================================================
   V3 · Vitrina estilo Polishop: destacado del hero, accesos rápidos,
   tarjetas con vista rápida, colección "En su empaque" y modal Quick View
   ========================================================================== */

/* ---------- Hero: copy + tarjeta destacada ---------- */
.hero-copy { min-width: 0; }
.hero-actions .btn svg { width: 16px; height: 16px; }
.hero-trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px;
  margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line-2);
}
.hero-trust-row .hero-points { margin: 0; }
.hero-pay { display: flex; align-items: center; gap: 6px; }
.hero-pay img { width: 42px; height: 26px; object-fit: contain; border-radius: 4px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(26, 20, 51, 0.1); }

.hero-spot {
  position: relative; min-width: 0; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF;
  box-shadow: 0 18px 50px -24px rgba(26, 20, 51, 0.35), var(--sh-1);
}
.spot-slide { display: flex; flex-direction: column; gap: 12px; animation: spotIn 0.45s ease both; }
.spot-slide[hidden] { display: none; }
@keyframes spotIn { from { transform: translateY(10px); } to { transform: none; } }
.spot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spot-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-dark); font-size: 0.74rem; font-weight: 800;
}
.spot-off, .spot-stock-pill {
  padding: 5px 11px; border-radius: var(--r-pill); font-size: 0.76rem; font-weight: 900; white-space: nowrap;
}
.spot-off { background: var(--red); color: #FFFFFF; letter-spacing: 0.02em; }
.spot-stock-pill { background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-weight: 750; }
.spot-media {
  display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); background: #FFFFFF; border: 1px solid var(--line);
}
.spot-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.4s ease; }
.spot-media:hover img { transform: scale(1.03); }
.spot-info { display: grid; gap: 4px; min-width: 0; }
.spot-brand { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.spot-title { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.2; }
.spot-title a { color: var(--ink); }
.spot-title a:hover { color: var(--red); }
.spot-sub {
  font-size: 0.88rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spot-price-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 14px; margin-top: 6px; }
.spot-prices { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.spot-prices strong { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.spot-prices s { font-size: 0.9rem; color: var(--muted); }
.spot-msi { font-size: 0.8rem; font-weight: 700; color: var(--green-dark); }
.spot-ctas { display: flex; gap: 8px; }
.spot-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.spot-arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #FFFFFF; color: var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.spot-arrow:hover { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.spot-dots { display: flex; align-items: center; gap: 6px; }
.spot-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2);
  transition: width 0.25s ease, background-color 0.25s ease;
}
.spot-dot[aria-selected="true"] { width: 24px; background: var(--red); }

/* ---------- Accesos rápidos ---------- */
.quick-strip { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.quick-strip-inner {
  display: flex; gap: 8px; overflow-x: auto; padding-block: 12px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.quick-strip-inner::-webkit-scrollbar { display: none; }
.qpill {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; scroll-snap-align: start;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #FFFFFF;
  font-size: 0.86rem; font-weight: 750; color: var(--ink); white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.qpill svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.qpill small {
  padding: 1px 7px; border-radius: var(--r-pill); background: var(--bg);
  font-size: 0.72rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums;
}
.qpill:hover { border-color: var(--navy); }
.qpill.hot { border-color: rgba(255, 90, 31, 0.45); background: rgba(255, 90, 31, 0.07); color: var(--red); }
.qpill.hot:hover { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.qpill.hot:hover svg, .qpill.hot:hover small { color: inherit; background: rgba(255, 255, 255, 0.22); }

/* ---------- Colección "En su empaque" ---------- */
.boxed-showcase {
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(11, 122, 85, 0.08), transparent 70%),
    linear-gradient(180deg, #FFFFFF, var(--bg));
  border-bottom: 1px solid var(--line);
}
.boxed-showcase .eyebrow { color: var(--green-dark); }

/* ---------- Tarjetas de producto (V3) ---------- */
.badge svg { flex-shrink: 0; }
.card-qv {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.96);
  color: var(--ink); box-shadow: var(--sh-1);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.18s ease, color 0.18s ease;
}
.card-qv:hover { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
@media (hover: hover) {
  .card-qv { opacity: 0; transform: translateY(-4px); }
  .card:hover .card-qv, .card:focus-within .card-qv { opacity: 1; transform: none; }
}
.card-photo-count {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 2px 8px; border-radius: var(--r-pill); background: rgba(26, 20, 51, 0.78);
  font-size: 0.68rem; font-weight: 750; color: #FFFFFF; pointer-events: none;
}
.card-cond { color: var(--green-dark); }
.card-sub {
  font-size: 0.78rem; color: var(--muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-msi strong { color: var(--ink); }
.card-save-inline { color: var(--red); font-weight: 800; }
.card-stock-wrap { margin-top: auto; padding-top: 8px; }
.card-stock-wrap .card-stock { margin-top: 0; padding-top: 0; }
.card-meter { height: 4px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: var(--line); }
.card-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #34D399); }

/* ---------- Modal Quick View ---------- */
.qv-dialog {
  width: min(960px, calc(100vw - 32px)); max-height: min(90vh, 780px);
  padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden;
  background: #FFFFFF; box-shadow: 0 30px 80px -20px rgba(15, 12, 30, 0.5);
}
.qv-dialog::backdrop { background: rgba(15, 12, 30, 0.55); backdrop-filter: blur(2px); }
.qv-dialog[open] { animation: qvIn 0.22s ease both; }
@keyframes qvIn { from { transform: translateY(14px) scale(0.98); } to { transform: none; } }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.qv-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-height: min(90vh, 780px); overflow-y: auto;
}
.qv-media { display: grid; gap: 10px; align-content: start; padding: 20px; border-right: 1px solid var(--line); background: #FFFFFF; }
.qv-main { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r); background: #FFFFFF; overflow: hidden; }
.qv-main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv-thumbs::-webkit-scrollbar { display: none; }
.qv-thumb {
  flex-shrink: 0; width: 60px; height: 60px; padding: 3px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #FFFFFF; opacity: 0.8;
  transition: border-color 0.16s ease, opacity 0.16s ease;
}
.qv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.qv-thumb[aria-current="true"] { border-color: var(--navy); opacity: 1; }
.qv-info { display: grid; gap: 10px; align-content: start; padding: 26px 24px 24px; min-width: 0; }
.qv-title { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; padding-right: 40px; }
.qv-sub { font-size: 0.92rem; color: var(--ink-2); }
.qv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 4px; }
.qv-price .price { font-size: 1.8rem; }
.qv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.qv-actions .btn { width: 100%; }
.qv-trust { display: grid; gap: 8px; margin: 4px 0 0; padding: 12px 14px; list-style: none; border-radius: var(--r); background: var(--bg); font-size: 0.84rem; color: var(--ink-2); }
.qv-trust li { display: flex; align-items: center; gap: 8px; }
.qv-trust svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-dark); }
.qv-more { font-size: 0.88rem; font-weight: 750; }

/* ---------- V3 responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-spot { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 720px) {
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 4px); min-width: 0; padding-inline: 12px; font-size: 0.86rem; }
  .hero-actions .btn:first-child { flex-basis: 100%; }
  .hero-trust-row { margin-top: 18px; padding-top: 14px; }
  .hero-spot { padding: 12px; }
  .spot-media { aspect-ratio: 4 / 3; }
  .spot-sub { display: none; }
  .spot-prices strong { font-size: 1.45rem; }
  .spot-ctas { width: 100%; }
  .spot-ctas .btn { flex: 1; }
  .card-sub { display: none; }
  .card-qv { width: 32px; height: 32px; top: 8px; right: 8px; }
  .card-qv svg { width: 14px; height: 14px; }
  .card-photo-count { left: 8px; bottom: 8px; }
  .card-msi { font-size: 0.74rem; }
  .card-stock { font-size: 0.72rem; }
  .qv-dialog { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .qv-body { grid-template-columns: minmax(0, 1fr); max-height: 94vh; }
  .qv-media { padding: 14px 14px 4px; border-right: 0; }
  .qv-main { aspect-ratio: 4 / 3; }
  .qv-info { padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); }
  .qv-title { padding-right: 0; }
}

/* Shell SEO estático: permanece útil si JavaScript no carga e é substituído
   pelo router assim que a aplicação inicia. */
.seo-shell { padding-block: 36px 56px; }
.seo-shell h1 { max-width: 22ch; }
.seo-shell-lead { max-width: 68ch; margin-top: 12px; color: var(--ink-2); }
.seo-crawl-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.seo-crawl-list a {
  display: block; height: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  color: var(--ink); font-weight: 700;
}
.seo-crawl-list a:hover { border-color: var(--navy); }
.seo-product-shell {
  display: grid; grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px); align-items: center; margin-top: 24px;
}
.seo-product-shell img {
  width: 100%; aspect-ratio: 1; object-fit: contain; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.seo-product-price { margin-top: 16px; color: var(--ink); font-size: 1.55rem; font-weight: 850; }
.seo-noscript {
  margin: 0; padding: 12px 18px; background: var(--amber-soft); color: var(--ink);
  font-weight: 700; text-align: center;
}
@media (max-width: 720px) {
  .seo-crawl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-product-shell { grid-template-columns: 1fr; }
}
