:root {
  --blue-950: #021b54;
  --blue-900: #03266f;
  --blue-800: #04379d;
  --blue-700: #0758d8;
  --blue-600: #0a75ff;
  --blue-500: #22a4ff;
  --cyan: #36d6ff;
  --green: #19c37d;
  /* Estado indisponivel. #dc2626 sobre o branco do card = 4.83:1,
     passa AA. Ver .product-stock.out / .modal-stock.out. */
  --red: #dc2626;
  --ink: #10224a;
  --muted: #667494;
  --line: #dce5f3;
  --soft: #f3f7fc;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 50, 114, 0.08);
  --shadow-md: 0 18px 48px rgba(7, 54, 145, 0.15);
  --shadow-lg: 0 30px 80px rgba(3, 38, 111, 0.24);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: #edf4ff;
  overflow-x: hidden;
}
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.is-hidden { display: none !important; }
.mobile-only { display: none; }

.ambient { position: fixed; inset: auto; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.ambient-one { width: 420px; height: 420px; background: rgba(34, 164, 255, .18); top: -180px; right: -100px; }
.ambient-two { width: 520px; height: 520px; background: rgba(7, 88, 216, .12); bottom: -260px; left: -180px; }

.circuit-panel { position: relative; isolation: isolate; overflow: hidden; }
.circuit-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  z-index: -1;
  background-image:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.35) 8.2% 8.4%, transparent 8.6% 100%),
    linear-gradient(0deg, transparent 0 16%, rgba(255,255,255,.28) 16.2% 16.4%, transparent 16.6% 100%),
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.72) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, rgba(255,255,255,.65) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 76%, rgba(255,255,255,.55) 0 2px, transparent 3px);
  background-size: 130px 130px, 170px 170px, 160px 160px, 190px 190px, 150px 150px;
}

.section-kicker, .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--blue-600); }
.section-kicker.light { color: #8bdcff; }

.unit-screen {
  min-height: 100vh;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 15%, rgba(77, 179, 255, .32), transparent 32%),
    linear-gradient(135deg, #eaf3ff 0%, #ffffff 46%, #dcecff 100%);
}
.unit-shell {
  width: min(1180px, 100%);
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.72);
  box-shadow: 0 32px 90px rgba(5, 45, 125, .2);
  backdrop-filter: blur(20px);
}
.brand-panel {
  padding: 72px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background:
    radial-gradient(circle at 18% 16%, rgba(42, 190, 255, .34), transparent 28%),
    linear-gradient(145deg, var(--blue-950), var(--blue-700));
}
.brand-panel::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; right: -180px; bottom: -180px;
  box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.025);
}
.unit-logo { width: min(430px, 90%); filter: brightness(0) invert(1); margin-bottom: 46px; }
.brand-panel .eyebrow { color: #8fdcff; }
.brand-panel h1 { font-size: clamp(38px, 4vw, 58px); line-height: 1.02; margin: 18px 0; letter-spacing: -.04em; max-width: 570px; }
.brand-panel p { max-width: 560px; color: #c9d9f4; font-size: 16px; line-height: 1.7; margin: 0; }
.trust-row { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.trust-row span { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #e8f4ff; font-size: 13px; }
.trust-row svg { color: #55d7ff; }
.unit-options { padding: 68px 54px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,250,255,.96)); }
.unit-options .section-kicker { margin-bottom: 18px; }
.unit-card {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: 18px;
  align-items: center;
  padding: 18px 18px 18px 20px;
  margin-bottom: 14px;
  border: 1px solid #dce7f7;
  border-radius: 20px;
  color: var(--ink);
  text-align: left;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: .22s ease;
}
.unit-card:hover { transform: translateY(-3px); border-color: #9ec9ff; box-shadow: var(--shadow-md); }
.unit-card-icon, .unit-card-arrow {
  display: grid; place-items: center; border-radius: 16px;
}
.unit-card-icon { width: 58px; height: 58px; color: white; background: linear-gradient(145deg, var(--blue-800), var(--blue-600)); box-shadow: 0 10px 24px rgba(7,88,216,.25); }
.unit-card-arrow { width: 38px; height: 38px; color: var(--blue-700); background: #edf5ff; }
.unit-card-copy { display: flex; flex-direction: column; gap: 5px; }
.unit-card-copy strong { font-size: 17px; }
.unit-card-copy small { color: var(--muted); font-size: 12px; }
.unit-footnote { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }

.app { min-height: 100vh; background: #f5f8fd; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(214,225,242,.9); }
.header-inner { height: 76px; max-width: 1540px; margin: 0 auto; padding: 0 26px; display: grid; grid-template-columns: 210px minmax(320px, 1fr) auto; gap: 28px; align-items: center; }
.brand-link img { width: 188px; height: 62px; object-fit: contain; }
.search-box { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #f1f5fb; border: 1px solid #e0e7f2; border-radius: 14px; transition: .2s ease; }
.search-box:focus-within { background: white; border-color: #79b8ff; box-shadow: 0 0 0 4px rgba(10,117,255,.09); }
.search-box svg { color: #6680a9; }
.search-box input { flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; min-width: 0; }
.search-box input::placeholder { color: #8b99b2; }
.search-box kbd { padding: 4px 7px; border: 1px solid #d8e0ed; background: white; border-radius: 7px; color: #8b99b2; font-size: 10px; box-shadow: 0 1px 0 #cfd8e6; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.unit-switch { height: 48px; min-width: 205px; padding: 0 12px; display: grid; grid-template-columns: 10px 1fr 18px; gap: 10px; align-items: center; border: 1px solid #e0e7f2; border-radius: 14px; color: var(--ink); text-align: left; background: white; }
.unit-switch > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.unit-switch small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.unit-switch strong { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.unit-switch > svg { width: 15px; transform: rotate(90deg); color: #8290a9; }
.unit-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,195,125,.12); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e0e7f2; border-radius: 13px; color: var(--blue-900); background: white; transition: .2s ease; }
.icon-btn:hover { color: var(--blue-600); border-color: #a9ccff; box-shadow: var(--shadow-sm); }
.cart-button { position: relative; }
.cart-button span, .mobile-nav i { position: absolute; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; top: -5px; right: -5px; border-radius: 10px; color: white; background: var(--blue-600); font-size: 9px; font-weight: 800; border: 2px solid white; }

.page-shell { max-width: 1540px; margin: 0 auto; display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.category-sidebar { position: sticky; top: 76px; align-self: start; height: calc(100vh - 76px); padding: 24px 16px 22px; border-right: 1px solid #dde6f2; background: white; overflow-y: auto; }
.sidebar-head { padding: 0 10px 15px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-head strong { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: #486184; }
.category-nav { display: flex; flex-direction: column; gap: 5px; }
.category-link { min-height: 46px; padding: 0 12px; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; color: #536583; border-radius: 12px; background: transparent; text-align: left; transition: .2s ease; }
.category-link svg { width: 18px; }
.category-link span { font-size: 12px; font-weight: 600; }
.category-link small { color: #99a5b9; font-size: 10px; }
.category-link:hover { background: #f2f6fc; color: var(--blue-700); }
.category-link.active { color: white; background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); box-shadow: 0 10px 24px rgba(7,88,216,.18); }
.category-link.active small { color: #dbeaff; }
.category-group { border-radius: 14px; }
.category-parent {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  gap: 10px;
  align-items: center;
  color: #536583;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  transition: .2s ease;
}
.category-parent > svg:first-child { width: 18px; }
.category-parent span { font-size: 12px; font-weight: 700; }
.category-chevron { width: 15px; transition: transform .2s ease; }
.category-parent:hover,
.category-group.open .category-parent { color: var(--blue-800); background: #edf5ff; }
.category-group.open .category-chevron { transform: rotate(90deg); }
.category-group.filtered .category-parent { color: var(--blue-800); font-weight: 800; }
.category-children {
  display: none;
  margin: 4px 0 8px 31px;
  padding-left: 10px;
  border-left: 1px solid #cddcf0;
}
.category-group.open .category-children { display: grid; gap: 2px; }
.category-child,
.category-all {
  min-height: 34px;
  padding: 7px 10px;
  color: #697994;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  font-size: 9.5px;
  line-height: 1.3;
}
.category-all { color: var(--blue-700); font-weight: 800; }
.category-child:hover,
.category-all:hover { color: var(--blue-800); background: #f1f6fd; }
.category-child.active,
.category-all.active { color: white; background: var(--blue-700); }
.sidebar-help { margin-top: 28px; padding: 19px; color: white; background: linear-gradient(145deg, var(--blue-950), var(--blue-700)); border-radius: 18px; }
.sidebar-help-icon { width: 39px; height: 39px; display: grid; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #65dcff; margin-bottom: 14px; }
.sidebar-help strong { display: block; font-size: 13px; }
.sidebar-help p { margin: 6px 0 13px; color: #c8daf5; font-size: 11px; line-height: 1.5; }
.sidebar-help .text-link { color: white; font-size: 10px; }

.main-content { min-width: 0; padding: 24px 28px 50px; }
.view { display: none; }
.active-view { display: block; }
.hero { min-height: 520px; padding: 58px 56px; display: grid; place-items: center; color: white; text-align: center; border-radius: 28px; background:
  radial-gradient(circle at 78% 18%, rgba(35,169,255,.42), transparent 30%),
  linear-gradient(135deg, #021c59 0%, #0644b7 68%, #0b72ef 100%);
  box-shadow: var(--shadow-lg);
}
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -130px; bottom: -230px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.025); }
.hero-center { position: relative; z-index: 2; width: min(760px, 100%); display: flex; flex-direction: column; align-items: center; }
.hero-main-logo { width: min(620px, 88%); max-height: 190px; object-fit: contain; filter: drop-shadow(0 22px 42px rgba(0,18,70,.28)); }
.authorized-partner {
  width: min(390px, 90%);
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wefix-hero-logo { width: min(320px, 88%); height: 82px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,18,70,.25)); }
.authorized-badge { margin-top: 6px; padding: 7px 12px 7px 9px; display: inline-flex; align-items: center; gap: 7px; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(1,30,94,.28); font-size: 8px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; backdrop-filter: blur(10px); }
.authorized-badge svg { width: 16px; height: 16px; flex: 0 0 auto; color: #5ecbff; }
.hero-whatsapp-button {
  margin-top: 22px;
  min-height: 42px;
  padding: 0 15px;
  color: #f3f9ff;
  border-color: rgba(154,215,255,.36);
  border-radius: 12px;
  background: rgba(43,145,255,.17);
  box-shadow: 0 10px 24px rgba(0,30,99,.12);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-whatsapp-button:hover { transform: translateY(-2px); background: rgba(59,157,255,.25); box-shadow: 0 14px 28px rgba(0,30,99,.18); }
.hero-whatsapp-button svg { width: 18px; height: 18px; stroke-width: 2.1; }
.primary-btn, .secondary-btn, .secondary-light-btn, .outline-btn, .filter-button {
  min-height: 47px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border-radius: 13px; font-weight: 700; font-size: 12px; transition: .2s ease;
}
.primary-btn { color: white; background: linear-gradient(135deg, var(--blue-600), #2da7ff); box-shadow: 0 10px 25px rgba(10,117,255,.26); }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(10,117,255,.3); }
.primary-btn.full { width: 100%; }
.secondary-btn { color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); }
.secondary-btn:hover { background: rgba(255,255,255,.15); }
.secondary-light-btn { color: var(--blue-950); background: white; white-space: nowrap; }
.outline-btn { color: var(--blue-700); background: white; border: 1px solid #b9d3f8; }
.outline-btn:hover { background: #edf5ff; }
.outline-btn.small { min-height: 38px; width: 100%; }

.brand-marquee { margin-top: 22px; overflow: hidden; border: 1px solid #dbe5f3; border-radius: 17px; background: white; box-shadow: var(--shadow-sm); }
.brand-marquee-track { width: max-content; display: flex; animation: brand-scroll 18s linear infinite; }
.brand-marquee-group { min-width: max-content; height: 84px; padding: 0 42px; display: flex; align-items: center; gap: 42px; }
.brand-marquee-group i { width: 5px; height: 5px; border-radius: 50%; background: #b7c8e2; }
.marquee-brand { width: 190px; height: 62px; display: inline-flex; align-items: center; justify-content: center; }
.marquee-brand img { width: 100%; height: 100%; object-fit: contain; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-marquee-track { animation-play-state: paused; } }

.section-block { padding-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.03em; }
.section-controls { display: flex; gap: 18px; align-items: center; }
.stock-legend { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.stock-legend i, .modal-stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,195,125,.1); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); background: transparent; font-size: 11px; font-weight: 800; }
.text-link svg { width: 15px; }
.text-link.centered { margin: 14px auto 0; display: flex; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-category { min-height: 136px; padding: 20px; text-align: left; border: 1px solid #dfe8f4; border-radius: 18px; color: var(--ink); background: white; box-shadow: var(--shadow-sm); transition: .2s ease; }
.quick-category:hover { transform: translateY(-4px); border-color: #98c6ff; box-shadow: var(--shadow-md); }
.quick-category > span { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue-900), var(--blue-600)); box-shadow: 0 9px 20px rgba(7,88,216,.23); }
.quick-category strong { display: block; font-size: 14px; }
.quick-category small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { position: relative; min-width: 0; padding: 13px; border: 1px solid #dfe8f4; border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(12, 49, 109, .06); transition: .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #a7cbfb; box-shadow: var(--shadow-md); }
.product-badge { position: absolute; z-index: 3; top: 22px; left: 22px; padding: 6px 8px; color: var(--blue-800); background: rgba(255,255,255,.9); border: 1px solid #d7e8ff; border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-visual { position: relative; height: 178px; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, #eef5ff, #dceaff); cursor: pointer; }
.product-visual::before, .mini-product::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.3), transparent 60%); }
.product-visual::after, .mini-product::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); filter: drop-shadow(0 18px 18px rgba(3,40,110,.22)); }
.product-visual.has-image { padding: 8px; background: #f4f7fb; }
.product-visual.has-image::before,
.product-visual.has-image::after { display: none; }
.product-visual.has-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.visual-glue::after { width: 42px; height: 118px; border-radius: 12px 12px 15px 15px; background: linear-gradient(90deg,#0f2f85,#2267e9 55%,#061b53); box-shadow: inset 0 0 0 5px rgba(255,255,255,.1); }
.visual-glue::before { background: radial-gradient(circle at 25% 20%, white, transparent 25%), linear-gradient(135deg,#eff6ff,#d8e8ff); }
.visual-tool::after { width: 112px; height: 46px; border-radius: 23px; background: linear-gradient(90deg,#122556,#0a75ff); box-shadow: -28px -26px 0 -14px #4daeff, 32px 28px 0 -16px #0a2d75; transform: translate(-50%,-50%) rotate(-12deg); }
.visual-display::after { width: 78px; height: 132px; border: 6px solid #0b2a6f; border-radius: 17px; background: linear-gradient(155deg,#2ad6ff,#0a75ff 42%,#031b52); box-shadow: inset 0 0 0 4px rgba(255,255,255,.2); transform: translate(-50%,-50%) rotate(7deg); }
.visual-battery::after { width: 88px; height: 128px; border-radius: 10px; background: linear-gradient(145deg,#111c36,#293861); box-shadow: inset 0 0 0 4px #65779e; transform: translate(-50%,-50%) rotate(-4deg); }
.visual-battery::before { background: radial-gradient(circle at 25% 20%, white, transparent 22%), linear-gradient(135deg,#f4f7fb,#d8e1ef); }
.visual-camera::after { width: 98px; height: 82px; border-radius: 20px; background: linear-gradient(145deg,#14224a,#0b62d5); box-shadow: inset 0 0 0 6px rgba(255,255,255,.12), 29px -19px 0 -22px #5ad9ff; }
.visual-flex::after { width: 120px; height: 54px; border-radius: 18px; background: linear-gradient(90deg,#8d5c0a,#e8ad31 55%,#59400c); transform: translate(-50%,-50%) rotate(-16deg); box-shadow: inset 0 0 0 4px rgba(255,255,255,.16); }
.visual-cleaning::after { width: 70px; height: 108px; border-radius: 12px 12px 18px 18px; background: linear-gradient(145deg,#edf8ff,#7bd3ff); border: 4px solid rgba(255,255,255,.8); box-shadow: 0 -26px 0 -18px #0c3e9b; }
.visual-case::after { width: 92px; height: 140px; border-radius: 20px; background: linear-gradient(145deg,#0e265f,#096de7); box-shadow: inset 0 0 0 8px rgba(255,255,255,.15); transform: translate(-50%,-50%) rotate(-8deg); }
.product-info { padding: 13px 4px 3px; }
.product-code { color: #7b8ba8; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.product-info h3 { min-height: 42px; margin: 7px 0 8px; font-size: 12px; line-height: 1.45; letter-spacing: -.01em; }
/* Disponibilidade: 9px era letra de rodape num dado que decide a compra
   (Samuel 2026-08-03) — subiu 40%, e a bolinha acompanhou pra nao virar
   sujeira ao lado do texto maior. 16px chegou a ser testado e ficou MAIOR que
   o nome do produto (12px), roubando a hierarquia do card. So DOIS estados:
   verde "Em estoque" ou vermelho "Indisponível" (`.out`) — o `.low` laranja
   de "Últimas unidades" saiu junto com o texto no _sp2_macros.html. */
.product-stock { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12.5px; font-weight: 700; }
.product-stock.out { color: var(--red); }
.product-stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product-buy { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { display: flex; flex-direction: column; }
.product-price small { color: var(--muted); font-size: 8px; }
.product-price strong { margin-top: 2px; font-size: 17px; color: var(--blue-900); }
.add-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--blue-800), var(--blue-600)); box-shadow: 0 8px 18px rgba(7,88,216,.22); }
.add-button:hover { transform: scale(1.05); }
/* ── PAR De/Por — o preco de tabela riscado ao lado do preco do cliente.
   So existe quando o cliente tem perfil de desconto E o lojista ligou o toggle
   naquele perfil (2026-09-16). Sem `--desconto`, o card sai byte-identico.

   ⚠️ 13px, e NAO herda `.product-price small` — que e 8px no desktop e 7px em
      <=720px, que e exatamente onde um preco secundario cairia por gravidade.
      Um preco a 7px e inutilizavel e ja violava a regua de 12px do projeto.
   ⚠️ COR: `var(--muted)`. NUNCA `.product-code` (#7b8ba8 = 3,44:1) — que e a
      escolha "natural" para um preco secundario e REPROVA AA. O `--muted` ja e
      o par do `<small>` na linha vizinha, entao o contraste nao muda.
   ⚠️ `[hidden]` PERDE para `display` de autor (bug-class ja paga 7x neste
      repo): o `<s>` do modal nasce `hidden` e sem a linha abaixo ele apareceria
      VAZIO, com o risco solto sobre o nada.
   ⚠️ `nowrap` + `tabular-nums`: a coluna util do card a 375px e ~165px, e
      "De R$ 12.999,00" quebrando em 2 linhas poe o risco cortando o vao entre
      elas. O par so e crivel alinhado.
   ⚠️ O rotulo fica DENTRO do `<s>` e por isso sai riscado junto — e correto:
      com o rotulo VISIVEL, o risco vira decoracao pura (fora do alcance de
      1.4.11) e quem carrega o significado e a palavra. */
.product-price--desconto .price-de,
.modal-price .price-de { display: block; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-de[hidden] { display: none; }
.price-rot { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.modal-price small.price-rot { font-size: 12px; color: var(--blue-900); }
.product-price--desconto strong, .modal-price strong { font-variant-numeric: tabular-nums; }
/* O bloco de preco mais largo pode espremer o botao de comprar, que ja mede
   39x39 em <=720px — no limite do alvo de toque de 24x24 (WCAG 2.5.8). */
.product-buy .add-button { flex: 0 0 auto; }
/* Texto so para leitor de tela. Mesmo padrao de `.pdsc-sr` e do cartao VIP —
   NUNCA um 3o. Sem cor: nao entra no gate de contraste. */
.price-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.promo-banner { margin-top: 44px; padding: 30px 32px; display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; color: white; border-radius: 22px; background: linear-gradient(125deg, var(--blue-950), var(--blue-700)); box-shadow: var(--shadow-md); }
.promo-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #57d6ff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.promo-icon svg { width: 28px; height: 28px; }
.promo-banner h2 { margin: 5px 0 5px; font-size: 21px; }
.promo-banner p { margin: 0; color: #c2d6f4; font-size: 11px; }

/* Faixa com IMAGEM do lojista: a arte toma o lugar do bloco inteiro (sem icone,
   sem texto, sem botao). Herda margin-top, raio e sombra de `.promo-banner` —
   so zera o que era do layout de texto.

   Sem altura fixa e sem `cover` de proposito: a arte e uma peca pronta COM
   TEXTO DENTRO, e cortar o que o lojista escreveu e uma falha que ele nao
   consegue diagnosticar olhando o site. */
.promo-banner--imagem { padding: 0; display: block; overflow: hidden; background: none; }
.promo-banner--imagem picture { display: block; }
.promo-banner--imagem img { display: block; width: 100%; height: auto; }
.partner-brand-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.partner-brand-card { min-height: 150px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid #dfe8f4; border-radius: 19px; background: white; box-shadow: var(--shadow-sm); }
.partner-brand-card > img { width: min(260px, 86%); height: 88px; object-fit: contain; }
.partner-brand-card small { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.partner-brand-card small svg { width: 15px; height: 15px; color: var(--blue-600); }
.trust-strip { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #dfe8f4; border-radius: 20px; background: white; box-shadow: var(--shadow-sm); overflow: hidden; }
.trust-strip > div { min-height: 115px; padding: 22px; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 13px; align-content: center; }
.trust-strip > div + div { border-left: 1px solid #e5ecf5; }
.trust-strip > div > span { grid-row: 1/3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--blue-700); background: #edf5ff; }
.trust-strip strong { font-size: 12px; }
.trust-strip small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }

.catalog-toolbar { padding: 16px 0 22px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.catalog-toolbar h1 { margin: 7px 0 5px; font-size: 34px; letter-spacing: -.04em; }
.catalog-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
/* BUSCA (06/09): na folha de pesquisa so o <select> "Ordenar por" fica na
   barra (titulo, contagem e "Filtros" seguem fora, decisao Samuel 30/07).
   Com um filho so, o `space-between` da regra acima o encostaria a
   ESQUERDA; aqui ele vai para a direita, onde ele sempre esteve. Sem cor:
   e so alinhamento, entao nao entra no contrato de tokens. */
.catalog-toolbar--busca { justify-content: flex-end; }
.catalog-actions { display: flex; gap: 10px; align-items: end; }
.select-wrap { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.select-wrap select, .account-panel-head select { height: 43px; min-width: 180px; padding: 0 36px 0 12px; border: 1px solid #dce5f1; border-radius: 12px; color: var(--ink); background: white; outline: none; }
.filter-button { color: var(--blue-800); background: white; border: 1px solid #dce5f1; }
.active-filters { min-height: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-chip { padding: 7px 10px; color: var(--blue-800); background: #eaf3ff; border: 1px solid #c5ddff; border-radius: 999px; font-size: 9px; font-weight: 700; }
.catalog-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 22px; }
.filter-panel { align-self: start; padding: 18px; border: 1px solid #dfe8f4; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.filter-group + .filter-group { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e8edf5; }
.filter-group strong { display: block; margin-bottom: 12px; font-size: 11px; }
.filter-group label { padding: 6px 0; display: flex; align-items: center; gap: 8px; color: #5d6d89; font-size: 10px; }
.filter-group label small { margin-left: auto; color: #9aa6b9; }
.filter-group input[type="checkbox"] { accent-color: var(--blue-600); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.price-inputs input { width: 100%; height: 38px; padding: 0 9px; border: 1px solid #dce5f1; border-radius: 10px; outline: 0; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.empty-state { padding: 80px 20px; display: grid; place-items: center; text-align: center; border: 1px dashed #bfd1e8; border-radius: 20px; background: white; }
.empty-state > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--blue-700); background: #edf5ff; }
.empty-state h3 { margin: 16px 0 5px; }
.empty-state p { color: var(--muted); margin: 0 0 16px; font-size: 11px; }

.checkout-view { max-width: 1220px; margin: 0 auto; padding-top: 10px; }
.back-link { color: var(--blue-700); background: transparent; font-size: 11px; font-weight: 700; }
.checkout-head { margin: 28px 0 22px; }
.checkout-head h1 { margin: 8px 0 8px; font-size: 34px; letter-spacing: -.04em; }
.checkout-head p { color: var(--muted); font-size: 12px; margin: 0; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 22px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 16px; }
.checkout-card, .order-summary { padding: 24px; border: 1px solid #dfe8f4; border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.checkout-card-head { display: flex; align-items: center; gap: 12px; }
.checkout-card-head > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, var(--blue-900), var(--blue-600)); font-size: 12px; font-weight: 800; }
.checkout-card-head div { display: flex; flex-direction: column; gap: 3px; }
.checkout-card-head strong { font-size: 14px; }
.checkout-card-head small { color: var(--muted); font-size: 10px; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.delivery-option { position: relative; min-height: 104px; padding: 17px; display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center; text-align: left; color: var(--ink); border: 1px dashed #a9bdd8; border-radius: 16px; background: #fbfdff; transition: .2s ease; }
.delivery-option:hover { border-color: var(--blue-600); }
.delivery-option.selected { border: 1px solid #2da6ff; background: linear-gradient(145deg,#eef8ff,#f9fcff); box-shadow: 0 0 0 4px rgba(10,117,255,.07); }
.delivery-option.selected::before { content: ""; position: absolute; inset: -4px; border: 2px dotted #42d8ff; border-radius: 19px; pointer-events: none; }
.delivery-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--blue-700); background: #e9f3ff; }
.delivery-option div { display: flex; flex-direction: column; gap: 4px; }
.delivery-option strong { font-size: 12px; }
.delivery-option small { color: var(--muted); font-size: 9px; }
.delivery-option i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: transparent; border: 1px solid #c6d3e4; }
.delivery-option.selected i { color: white; border-color: var(--green); background: var(--green); }
.delivery-option i svg { width: 13px; }
.delivery-note { margin-top: 17px; padding: 13px 15px; display: flex; gap: 10px; color: #526580; background: #f3f7fc; border-radius: 12px; }
.delivery-note svg { color: var(--blue-600); flex: 0 0 auto; }
.delivery-note strong { font-size: 10px; }
.delivery-note p { margin: 3px 0 0; font-size: 9px; }
.disabled-step { opacity: .78; }
.disabled-step .outline-btn { margin-top: 18px; }
.order-summary { position: sticky; top: 96px; }
.summary-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #e6edf6; }
.summary-head strong { font-size: 14px; }
.summary-head span { color: var(--muted); font-size: 10px; }
.summary-items { max-height: 210px; overflow: auto; }
.summary-item { padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid #edf1f6; }
.summary-item span { font-size: 9px; color: var(--muted); }
.summary-item strong { font-size: 10px; }
.summary-line { padding: 13px 0 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.summary-line strong { color: var(--ink); }
.summary-total { margin: 16px 0; padding-top: 16px; display: flex; justify-content: space-between; border-top: 1px solid #e6edf6; }
.summary-total span { font-size: 11px; font-weight: 700; }
.summary-total strong { color: var(--blue-900); font-size: 20px; }
.secure-note { display: flex; justify-content: center; gap: 6px; color: var(--muted); font-size: 8px; }
.secure-note svg { width: 13px; }

.account-view { max-width: 1210px; margin: 0 auto; }
.account-hero { padding: 30px 34px; display: flex; justify-content: space-between; align-items: center; color: white; border-radius: 22px; background: linear-gradient(125deg, var(--blue-950), var(--blue-700)); box-shadow: var(--shadow-md); }
.account-hero h1 { margin: 7px 0 5px; font-size: 30px; }
.account-hero p { color: #c4d8f5; font-size: 11px; margin: 0; }
.account-code { padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.1); font-weight: 800; }
.account-tabs { margin: 20px 0; padding: 6px; display: inline-flex; gap: 4px; border: 1px solid #dfe7f2; border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.account-tab { min-height: 40px; padding: 0 15px; display: flex; align-items: center; gap: 7px; color: var(--muted); border-radius: 10px; background: transparent; font-size: 10px; font-weight: 700; }
.account-tab svg { width: 16px; }
.account-tab.active { color: white; background: linear-gradient(135deg,var(--blue-900),var(--blue-600)); }
.account-panel { display: none; }
.account-panel.active { display: block; }
.account-panel-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.account-panel-head h2 { margin: 0 0 5px; font-size: 24px; }
.account-panel-head p { margin: 0; color: var(--muted); font-size: 10px; }
.order-card { padding: 20px; margin-bottom: 14px; border: 1px solid #dfe8f4; border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.order-card-top { display: grid; grid-template-columns: 110px 170px 1fr; gap: 20px; align-items: center; }
.order-card-top > div { display: flex; flex-direction: column; gap: 3px; }
.order-card-top small { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.order-card-top strong { font-size: 11px; }
.status-pill { justify-self: end; padding: 7px 10px; border-radius: 999px; font-size: 8px; font-weight: 800; }
.status-pill.processing { color: #a55b00; background: #fff4dd; }
.status-pill.delivered { color: #087648; background: #e0f8ed; }
.order-card-body { margin-top: 16px; padding-top: 16px; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid #e8eef6; }
.mini-product { position: relative; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; background: #edf4ff; }
.mini-product::after { transform: translate(-50%,-50%) scale(.35); }
.order-card-body div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.order-card-body div:nth-child(2) strong { font-size: 11px; }
.order-card-body div:nth-child(2) small { color: var(--muted); font-size: 9px; }
.order-card-body > strong { color: var(--blue-900); font-size: 13px; }
.order-progress { margin: 18px 0 5px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.order-progress span { height: 4px; border-radius: 4px; background: #dce5f0; }
.order-progress .done { background: var(--green); }
.order-progress .active { background: var(--blue-600); }
.order-card-footer { display: grid; grid-template-columns: repeat(4,1fr); color: var(--muted); font-size: 7px; }
.order-card-footer span:nth-child(3) { color: var(--blue-700); font-weight: 700; }
.profile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.profile-card { min-height: 140px; padding: 22px; display: flex; gap: 14px; border: 1px solid #dfe8f4; border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.profile-card > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--blue-700); background: #edf5ff; }
.profile-card div { display: flex; flex-direction: column; }
.profile-card small { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.profile-card strong { margin-top: 8px; font-size: 13px; }
.profile-card p { color: var(--muted); font-size: 9px; }
.statement-summary { padding: 22px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #dfe8f4; border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.statement-summary > div { display: grid; grid-template-columns: auto auto; gap: 6px 12px; align-items: center; }
.statement-summary small { grid-column: 1/-1; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.statement-summary strong { color: var(--blue-900); font-size: 25px; }
.statement-table { margin-top: 14px; border: 1px solid #dfe8f4; border-radius: 18px; background: white; overflow: hidden; box-shadow: var(--shadow-sm); }
.statement-row { min-height: 54px; padding: 0 18px; display: grid; grid-template-columns: 140px 1fr 120px 120px; align-items: center; border-bottom: 1px solid #edf1f6; font-size: 10px; }
.statement-row.head { min-height: 42px; color: var(--muted); background: #f5f8fc; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.statement-row strong { text-align: right; }
.statement-row .positive { color: var(--green); }

.site-footer { padding: 38px max(28px, calc((100vw - 1540px)/2 + 28px)); display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 30px; color: #d9e6fa; background: #041a4f; }
.site-footer img { width: 160px; filter: brightness(0) invert(1); }
.site-footer p { color: #9fb4d5; font-size: 10px; }
.site-footer > div { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: white; font-size: 11px; }
.site-footer a { color: #a9bddc; font-size: 9px; }
.site-footer .footer-link { width: fit-content; padding: 0; color: #a9bddc; background: transparent; font-size: 9px; text-align: left; }
.site-footer .footer-link:hover { color: white; }
.footer-copy { grid-column: 1/-1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7891b8; font-size: 8px; }
.mobile-nav { display: none; }

.overlay { position: fixed; inset: 0; z-index: 80; opacity: 0; visibility: hidden; background: rgba(1,18,52,.62); backdrop-filter: blur(5px); transition: .22s ease; }
.overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(430px, 94vw); height: 100vh; padding: 24px; display: flex; flex-direction: column; background: white; box-shadow: -25px 0 70px rgba(2,27,84,.24); transform: translateX(105%); transition: .26s ease; }
.cart-drawer.active { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #e6edf6; }
.drawer-head h2 { margin: 4px 0 0; font-size: 24px; }
.cart-items { flex: 1; overflow: auto; padding: 7px 0; }
.cart-item { padding: 14px 0; display: grid; grid-template-columns: 66px 1fr; gap: 12px; border-bottom: 1px solid #edf1f6; }
.cart-item-visual { position: relative; width: 66px; height: 66px; overflow: hidden; border-radius: 13px; background: #edf4ff; }
.cart-item-visual::after { transform: translate(-50%,-50%) scale(.4); }
.cart-item-copy { min-width: 0; }
.cart-item-copy h4 { margin: 0; font-size: 10px; line-height: 1.4; }
.cart-item-copy > span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.cart-item-bottom { margin-top: 9px; display: flex; justify-content: space-between; align-items: center; }
.cart-item-bottom strong { color: var(--blue-900); font-size: 12px; }
.qty-control { height: 32px; display: flex; align-items: center; border: 1px solid #d9e4f1; border-radius: 10px; overflow: hidden; }
.qty-control button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--blue-700); background: white; }
.qty-control button svg { width: 14px; }
.qty-control span { width: 28px; text-align: center; font-size: 10px; font-weight: 700; }
.cart-empty { flex: 1; display: grid; place-items: center; align-content: center; text-align: center; }
.cart-empty > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: var(--blue-700); background: #edf5ff; }
.cart-empty h3 { margin: 18px 0 5px; font-size: 17px; }
.cart-empty p { color: var(--muted); font-size: 10px; }
.cart-footer { padding-top: 17px; border-top: 1px solid #e6edf6; }
.cart-subtotal { display: flex; justify-content: space-between; }
.cart-subtotal span { color: var(--muted); font-size: 11px; }
.cart-subtotal strong { color: var(--blue-900); font-size: 19px; }
.cart-footer p { color: var(--muted); font-size: 8px; line-height: 1.5; }

.modal { position: fixed; z-index: 100; top: 50%; left: 50%; width: min(760px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; background: white; box-shadow: 0 35px 100px rgba(1,18,52,.4); opacity: 0; visibility: hidden; transform: translate(-50%,-46%) scale(.98); transition: .22s ease; }
.modal.active { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.product-modal-visual { min-height: 480px; border-radius: 24px 0 0 24px; background: linear-gradient(145deg,#edf5ff,#d6e8ff); }
.product-modal-visual::after { transform: translate(-50%,-50%) scale(1.7); }
.product-modal-visual.has-image { height: auto; padding: 30px; display: grid; place-items: center; background: #f4f7fb; }
.product-modal-visual.has-image::before,
.product-modal-visual.has-image::after { display: none; }
.product-modal-visual.has-image img { width: 100%; height: auto; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.product-modal-copy { padding: 46px 36px 34px; }
.product-modal-copy h2 { margin: 10px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
/* Mesmo aumento do card (Samuel 2026-08-03) — o detalhe do produto e a outra
   tela onde o cliente le a disponibilidade, e ela vinha em 9px tambem. */
.modal-stock { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12.5px; font-weight: 700; }
.modal-stock i { width: 8px; height: 8px; }
.modal-stock.out { color: var(--red); }
.modal-stock.out i { background: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.product-description { margin: 20px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.quality-box { padding: 14px; display: flex; flex-direction: column; gap: 4px; border: 1px solid #dce8f7; border-radius: 13px; background: #f6f9fd; }
.quality-box span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.quality-box strong { color: var(--blue-800); font-size: 12px; }
.quality-box small { color: var(--muted); font-size: 8px; }
.modal-buy-row { margin: 22px 0 16px; display: flex; align-items: end; justify-content: space-between; }
.modal-price { display: flex; flex-direction: column; }
.modal-price small { color: var(--muted); font-size: 8px; }
.modal-price strong { margin-top: 3px; color: var(--blue-900); font-size: 25px; }
.login-modal { width: min(430px, calc(100vw - 28px)); display: block; padding: 38px; text-align: center; }
.info-modal { width: min(560px, calc(100vw - 28px)); display: block; padding: 38px; }
.info-modal h2 { margin: 8px 0 18px; color: var(--blue-950); font-size: 27px; letter-spacing: -.03em; }
.info-body { display: grid; gap: 12px; }
.info-body p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.login-mark { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; color: white; background: linear-gradient(145deg,var(--blue-900),var(--blue-600)); box-shadow: 0 12px 30px rgba(7,88,216,.22); }
.login-mark svg { width: 26px; height: 26px; }
.login-modal h2 { margin: 8px 0 10px; font-size: 23px; letter-spacing: -.03em; }
.login-modal > p { margin: 0 auto 20px; max-width: 340px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.token-field { display: flex; flex-direction: column; gap: 7px; text-align: left; margin-bottom: 14px; }
.token-field span { color: var(--ink); font-size: 10px; font-weight: 700; }
.token-field input { height: 48px; padding: 0 13px; border: 1px solid #d9e4f1; border-radius: 12px; outline: 0; text-transform: uppercase; }
.token-field input:focus { border-color: #6ab0ff; box-shadow: 0 0 0 4px rgba(10,117,255,.08); }
.token-field small { color: var(--muted); font-size: 8px; }
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; min-width: 310px; padding: 14px 16px; display: flex; gap: 11px; align-items: center; border: 1px solid #dce8f6; border-radius: 15px; background: white; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(15px); transition: .22s ease; }
.toast.active { opacity: 1; visibility: visible; transform: translateY(0); }
.toast > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--green); }
.toast div { display: flex; flex-direction: column; gap: 2px; }
.toast strong { font-size: 11px; }
.toast small { color: var(--muted); font-size: 8px; }

@media (max-width: 1260px) {
  .header-inner { grid-template-columns: 180px minmax(250px,1fr) auto; gap: 15px; }
  .unit-switch { min-width: 165px; }
  .page-shell { grid-template-columns: 228px minmax(0,1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero { padding: 46px; }
  .hero h1 { font-size: 47px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
  .mobile-only { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; height: 68px; padding: 0 15px; gap: 9px; }
  .brand-link img { width: 144px; height: 48px; }
  .header-inner .search-box { grid-column: 1/-1; grid-row: 2; margin: 0 -15px; border-radius: 0; border-left: 0; border-right: 0; }
  .site-header { padding-bottom: 48px; }
  .unit-switch { display: none; }
  .page-shell { display: block; }
  .category-sidebar { position: fixed; z-index: 95; top: 0; left: 0; width: min(300px, 88vw); height: 100vh; transform: translateX(-105%); transition: .24s ease; box-shadow: 25px 0 70px rgba(2,27,84,.22); }
  .category-sidebar.active { transform: translateX(0); }
  .main-content { padding: 18px 16px 88px; }
  .hero { min-height: 520px; padding: 48px 34px; }
  .hero-main-logo { width: min(560px, 88%); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .site-footer { padding-bottom: 100px; }
  .mobile-nav { position: fixed; z-index: 55; bottom: 0; left: 0; right: 0; height: 67px; padding: 6px 14px calc(6px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,255,255,.96); border-top: 1px solid #dce5f1; backdrop-filter: blur(18px); }
  .mobile-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #7c8ba5; background: transparent; font-size: 8px; font-weight: 700; }
  .mobile-nav button.active { color: var(--blue-700); }
  .mobile-nav svg { width: 19px; height: 19px; }
  .mobile-nav i { top: 1px; right: calc(50% - 20px); font-style: normal; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; }
  .filter-panel.active { display: block; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .unit-screen { padding: 0; }
  .unit-shell { min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; }
  .brand-panel { min-height: 310px; padding: 44px 28px 38px; justify-content: flex-end; }
  .unit-logo { width: 240px; margin-bottom: 28px; }
  .brand-panel h1 { font-size: 34px; }
  .brand-panel p { font-size: 12px; }
  .trust-row { display: none; }
  .unit-options { padding: 34px 22px 42px; justify-content: flex-start; }
  .unit-card { min-height: 88px; grid-template-columns: 48px 1fr 34px; padding: 14px; }
  .unit-card-icon { width: 48px; height: 48px; border-radius: 14px; }
  .unit-card-arrow { width: 32px; height: 32px; }
  .hero { min-height: 480px; padding: 42px 21px; border-radius: 21px; }
  .hero-main-logo { width: min(430px, 96%); }
  .authorized-partner { width: min(330px, 94%); margin-top: 16px; }
  .wefix-hero-logo { width: min(280px, 88%); height: 72px; }
  .hero-whatsapp-button { margin-top: 18px; }
  .brand-marquee { margin-top: 14px; }
  .brand-marquee-group { height: 70px; padding: 0 28px; gap: 28px; }
  .marquee-brand { width: 145px; height: 50px; }
  .section-block { padding-top: 32px; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 22px; }
  .section-controls .stock-legend { display: none; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .quick-category { min-height: 120px; padding: 16px; }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-card { padding: 9px; border-radius: 15px; }
  .product-visual { height: 145px; }
  .product-info h3 { font-size: 10px; min-height: 43px; }
  .product-price strong { font-size: 14px; }
  .promo-banner { grid-template-columns: 48px 1fr; padding: 22px; }
  .promo-banner .secondary-light-btn { grid-column: 1/-1; width: 100%; }
  .promo-icon { width: 46px; height: 46px; }
  .promo-banner h2 { font-size: 17px; }
  /* Repete o `padding: 0` de proposito: a regra mobile de `.promo-banner`
     (padding: 22px, poucas linhas acima) vem DEPOIS do bloco de cima no arquivo
     e tem a MESMA especificidade (0,1,0), entao ganha dele por ordem. Sem esta
     linha o padding volta e emoldura a arte so no celular. */
  .promo-banner--imagem { padding: 0; }
  .partner-brand-grid { grid-template-columns: 1fr; gap: 10px; }
  .partner-brand-card { min-height: 112px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div + div { border-left: 0; border-top: 1px solid #e5ecf5; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 15px; }
  .catalog-actions { width: 100%; }
  .select-wrap { flex: 1; }
  .select-wrap select { width: 100%; min-width: 0; }
  .checkout-head h1 { font-size: 28px; }
  .delivery-options { grid-template-columns: 1fr; }
  .checkout-card, .order-summary { padding: 18px; }
  .account-hero { padding: 24px; }
  .account-hero h1 { font-size: 25px; }
  .account-code { display: none; }
  .account-tabs { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); }
  .account-tab { padding: 0 7px; justify-content: center; font-size: 8px; }
  .account-panel-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .order-card-top { grid-template-columns: 1fr 1fr; }
  .order-card-top .status-pill { grid-column: 1/-1; justify-self: start; }
  .order-card-body { grid-template-columns: 48px 1fr; }
  .order-card-body > strong { grid-column: 2; }
  .order-progress, .order-card-footer { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .statement-summary { align-items: stretch; flex-direction: column; gap: 14px; }
  .statement-row { grid-template-columns: 86px 1fr 90px; }
  .statement-row span:nth-child(3) { display: none; }
  .statement-row strong { font-size: 9px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1/-1; }
  .modal { grid-template-columns: 1fr; width: min(430px, calc(100vw - 18px)); }
  .product-modal-visual { min-height: 230px; border-radius: 20px 20px 0 0; }
  .product-modal-visual::after { transform: translate(-50%,-50%) scale(1.05); }
  .product-modal-visual.has-image { height: 230px; min-height: 230px; padding: 16px; }
  .product-modal-visual.has-image img { max-height: 198px; }
  .product-modal-copy { padding: 28px 22px 22px; }
  .login-modal { padding: 30px 22px; }
  .info-modal { padding: 30px 22px; }
  .toast { left: 12px; right: 12px; bottom: 80px; min-width: 0; }
}

@media (max-width: 390px) {
  .brand-link img { width: 122px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .product-visual { height: 132px; }
  .quick-category { min-height: 112px; }
}

/* Experiência mobile-first aprimorada */
body.panel-open { overflow: hidden; }
.mobile-only { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(10,117,255,.28);
  outline-offset: 2px;
}
.mobile-context-bar,
.mobile-category-strip,
.mobile-checkout-cta,
.filter-sheet-head,
.filter-sheet-actions { display: none; }
#filter-button { display: none; }
  .hero-main-logo { filter: drop-shadow(0 12px 24px rgba(0,20,70,.24)); }

@media (max-width: 980px) {
  .mobile-only { display: grid !important; }
  .site-header { padding-bottom: 0; }
  .header-inner .search-box { height: 48px; }
  .search-box kbd { display: none; }
  .mobile-context-bar {
    display: block;
    margin-top: 48px;
    padding: 6px 14px 7px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid #edf2f8;
  }
  .mobile-unit-switch {
    width: 100%;
    min-height: 34px;
    padding: 0;
    display: grid;
    grid-template-columns: 27px minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    color: var(--ink);
    background: transparent;
    text-align: left;
  }
  .mobile-unit-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    border-radius: 9px;
    background: #edf5ff;
  }
  .mobile-unit-icon svg { width: 15px; height: 15px; }
  .mobile-unit-copy { min-width: 0; display: flex; align-items: baseline; gap: 6px; }
  .mobile-unit-copy small { color: var(--muted); font-size: 8px; white-space: nowrap; }
  .mobile-unit-copy strong { overflow: hidden; color: var(--blue-950); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-unit-action { color: var(--blue-700); font-size: 9px; font-weight: 800; }
  .category-children { max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain; }
  .category-child,
  .category-all { min-height: 42px; font-size: 10.5px; }

  .mobile-category-strip {
    margin: -4px -16px 14px;
    padding: 3px 16px 7px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .mobile-category-strip::-webkit-scrollbar { display: none; }
  .category-pill {
    min-height: 38px;
    padding: 0 15px;
    flex: 0 0 auto;
    color: #5d6f8c;
    border: 1px solid #dfe7f2;
    border-radius: 999px;
    background: white;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(10,44,101,.05);
  }
  .category-pill.active {
    color: white;
    border-color: transparent;
    background: linear-gradient(135deg,var(--blue-900),var(--blue-600));
    box-shadow: 0 9px 20px rgba(7,88,216,.2);
  }

  #filter-button { display: inline-flex; }
  .filter-panel {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(82dvh, 720px);
    padding: 20px 20px calc(18px + env(safe-area-inset-bottom));
    display: block;
    overflow: auto;
    visibility: hidden;
    border: 0;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -25px 80px rgba(2,27,84,.28);
    transform: translateY(105%);
    transition: transform .26s ease, visibility .26s ease;
    pointer-events: none;
  }
  .filter-panel.active {
    display: block;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .filter-sheet-head {
    position: sticky;
    z-index: 2;
    top: -20px;
    margin: -20px -20px 6px;
    padding: 20px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #edf1f6;
  }
  .filter-sheet-head > div { display: flex; flex-direction: column; gap: 5px; }
  .filter-sheet-head strong { color: var(--blue-950); font-size: 21px; }
  .filter-sheet-actions {
    position: sticky;
    z-index: 2;
    bottom: calc(-18px - env(safe-area-inset-bottom));
    margin: 18px -20px calc(-18px - env(safe-area-inset-bottom));
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 10px;
    background: rgba(255,255,255,.98);
    border-top: 1px solid #e8eef6;
    box-shadow: 0 -12px 30px rgba(5,38,98,.08);
  }
  .filter-sheet-actions button { min-height: 46px; }

  .mobile-nav {
    height: calc(70px + env(safe-area-inset-bottom));
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(4,34,91,.08);
  }
  .mobile-nav button { isolation: isolate; min-height: 52px; border-radius: 16px; }
  .mobile-nav button::before {
    content: "";
    position: absolute;
    inset: 2px 7px;
    z-index: -1;
    opacity: 0;
    border-radius: 14px;
    background: #eaf4ff;
    transform: scale(.88);
    transition: .2s ease;
  }
  .mobile-nav button.active::before { opacity: 1; transform: scale(1); }
  .mobile-nav button.active { color: var(--blue-800); }
  .mobile-nav button.active svg { stroke-width: 2.4; }
  .mobile-nav i {
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    color: white;
    border: 2px solid white;
    border-radius: 999px;
    background: var(--blue-600);
  }

  .cart-drawer {
    width: min(430px, 100vw);
    height: 100dvh;
    padding: 22px 20px calc(18px + env(safe-area-inset-bottom));
  }
  .modal { max-height: calc(100dvh - 18px); }

  .mobile-checkout-cta {
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(82px + env(safe-area-inset-bottom));
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: auto minmax(190px,1fr);
    gap: 12px;
    align-items: center;
    background: rgba(255,255,255,.98);
    border-top: 1px solid #dce6f2;
    box-shadow: 0 -16px 36px rgba(4,34,91,.12);
    backdrop-filter: blur(18px);
  }
  .mobile-checkout-cta > div { display: flex; flex-direction: column; gap: 2px; }
  .mobile-checkout-cta small { color: var(--muted); font-size: 8px; white-space: nowrap; }
  .mobile-checkout-cta strong { color: var(--blue-950); font-size: 17px; white-space: nowrap; }
  .mobile-checkout-cta button { min-height: 50px; }
  .checkout-route .mobile-nav { display: none; }
  .checkout-route .header-inner .search-box,
  .checkout-route .mobile-context-bar { display: none; }
  .checkout-route .main-content { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .checkout-route .site-footer { display: none; }
}

@media (max-width: 720px) {
  .main-content { padding-top: 14px; }
  .hero { min-height: 470px; padding: 44px 18px; }
  .hero-main-logo { width: min(420px, 98%); }
  .product-card { padding: 10px; }
  .product-info { padding: 11px 3px 3px; }
  .product-code { font-size: 8px; }
  .product-info h3 { min-height: 46px; font-size: 10.8px; line-height: 1.42; }
  .product-stock { font-size: 11.8px; }
  .product-price small { font-size: 7px; }
  .product-price strong { font-size: 15px; }
  /* 12px e o PISO, nao o confortavel: a 375px sobram ~100px para o bloco de
     preco depois do botao, e "De R$ 12.999,00" a 13px nao cabe com folga. */
  .product-price--desconto .price-de { font-size: 12px; }
  .price-rot { font-size: 12px; }
  .add-button { width: 39px; height: 39px; border-radius: 12px; }
  .filter-button { min-height: 48px; }
  .catalog-actions { align-items: stretch; }
  .select-wrap select { height: 48px; }
  .checkout-head { padding-top: 4px; }
  .checkout-view .back-link { min-height: 38px; }
  .delivery-option { min-height: 98px; }
  .order-summary { margin-bottom: 8px; }
}

@media (max-width: 390px) {
  .mobile-context-bar { padding-left: 12px; padding-right: 12px; }
  .mobile-unit-copy small { display: none; }
  .main-content { padding-left: 12px; padding-right: 12px; }
  .mobile-category-strip { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .product-grid, .catalog-grid { gap: 8px; }
  .product-card { padding: 8px; }
  .product-info h3 { font-size: 10.2px; }
  .product-visual { height: 128px; }
  .mobile-checkout-cta { grid-template-columns: auto minmax(176px,1fr); gap: 9px; padding-left: 10px; padding-right: 10px; }
  .mobile-checkout-cta strong { font-size: 15px; }
  .mobile-checkout-cta button { padding-left: 12px; padding-right: 12px; font-size: 9px; }
}
