/* =========================================================
   O BaratoMix — identidade visual
   Paleta: amarelo, azul, laranja, vermelho, branco · Montserrat
   ========================================================= */
:root {
  --yellow: #FFC400;
  --yellow-2: #FFD84D;
  --yellow-soft: #FFF6D1;
  --blue: #0B4FC4;
  --blue-2: #1663E6;
  --blue-dark: #0A2F86;
  --blue-ink: #0B2A6F;
  --orange: #FF8A00;
  --orange-2: #FF6A00;
  --red: #E5261F;
  --white: #fff;
  --ink: #14213D;
  --muted: #5D6679;
  --line: #E4E8F1;
  --bg: #F4F6FB;
  --card: #fff;
  --ml: #FFE600; --ml-ink: #2D3277;
  --amz: #131A22; --amz-ink: #FF9900;
  --shp: #EE4D2D;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 80, .06), 0 2px 8px rgba(16, 32, 80, .05);
  --shadow: 0 10px 30px -12px rgba(11, 42, 111, .25);
  --wrap: 1240px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); margin: 4px 0 0; font-size: 14px; }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 17px; height: 17px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--pill { border-radius: 999px; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 79, 196, .7); }
.btn--blue:hover { background: var(--blue-2); }
.btn--yellow { background: var(--yellow); color: var(--blue-ink); box-shadow: 0 8px 18px -8px rgba(255, 196, 0, .8); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(229, 38, 31, .7); }
.btn--orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 106, 0, .8); }
.btn--ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; min-width: 42px; padding: 0 9px; justify-content: center;
  border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14px;
}
.icon-btn:hover { background: #EEF2FA; }
.count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; line-height: 1; border: 2px solid #fff;
}

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.logo__img { height: 52px; width: auto; }
.logo__img--foot { height: 48px; }
.logo__icon { width: 46px; height: 46px; border-radius: 12px; }
.logo__word {
  position: relative; font-weight: 900; font-style: italic; font-size: 27px; letter-spacing: -.045em;
  color: var(--blue); padding-right: 4px; white-space: nowrap;
  background: linear-gradient(180deg, #1A5BE0 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo__o { margin-right: -.05em; }
.logo__word em {
  font-style: italic;
  background: linear-gradient(180deg, #FF9A00 0%, #F2400F 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo__swoosh { position: absolute; left: 28%; right: 0; bottom: -7px; width: 72%; height: 9px; overflow: visible; }
.logo__swoosh path { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.logo--light .logo__word { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.logo--light .logo__word em { background: none; -webkit-text-fill-color: var(--yellow); }

/* ---------- topo ---------- */
.topbar { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.topbar__row { display: flex; align-items: center; gap: 28px; height: 78px; }
.search {
  flex: 1; display: flex; height: 46px; max-width: 640px; margin: 0 auto;
  border: 2px solid #CBD4E6; border-radius: 10px; overflow: hidden; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 79, 196, .12); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-size: 14.5px; background: transparent; }
.search input::placeholder { color: #8A93A6; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { width: 56px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.search button:hover { background: var(--blue-2); }
.top-actions { display: flex; gap: 4px; }

.catbar { background: var(--blue); color: #fff; }
.catbar__row { display: flex; align-items: center; height: 46px; gap: 6px; }
.allcats { position: relative; }
.allcats__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 0; margin-right: 10px;
  font-weight: 700; font-size: 14px; color: #fff; border-right: 1px solid rgba(255, 255, 255, .18);
}
.allcats__menu {
  position: absolute; top: calc(100% + 6px); left: 0; width: 280px; background: #fff; color: var(--ink);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; z-index: 50;
}
.allcats__menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.allcats__menu a:hover { background: var(--bg); color: var(--blue); }
.allcats__menu img { width: 34px; height: 34px; border-radius: 8px; background: var(--bg); padding: 4px; }
.catbar__links { display: flex; gap: 2px; overflow: hidden; flex-wrap: nowrap; }
.catbar__links a {
  display: block; padding: 7px 13px; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap;
  color: rgba(255, 255, 255, .92);
}
.catbar__links a:hover, .catbar__links a.on { background: rgba(255, 255, 255, .14); color: #fff; }
.catbar__links a.on { box-shadow: inset 0 -3px 0 var(--yellow); }

/* ---------- hero (carrossel) ---------- */
#home { padding-top: 22px; }
.hero { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.slide {
  position: relative; flex: 0 0 100%; min-height: 340px; display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; padding: 40px 56px; overflow: hidden; isolation: isolate;
}
.slide__text { position: relative; z-index: 2; max-width: 560px; }
.slide h1, .slide h2 {
  font-weight: 900; font-style: italic; letter-spacing: -.035em; font-size: clamp(30px, 3.7vw, 50px); line-height: 1.02;
}
.slide p { font-size: 17px; font-weight: 500; margin: 16px 0 24px; max-width: 440px; }
.slide .kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.slide__art { position: relative; height: 290px; z-index: 1; }
.art { position: absolute; filter: drop-shadow(0 18px 18px rgba(11, 42, 111, .22)); }

.slide--yellow { background: radial-gradient(120% 140% at 85% 20%, #FFE066 0%, var(--yellow) 45%, #FFB800 100%); color: var(--blue-ink); }
.slide--yellow h1 { color: var(--blue); }
.slide--yellow::before {
  content: ""; position: absolute; inset: auto -10% -60% 35%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); z-index: 0;
}
.art--laptop { width: 64%; left: 22%; top: 2%; }
.art--phone { width: 26%; left: 46%; top: 30%; }
.art--headphone { width: 40%; left: 0; top: 30%; }
.art--fryer { width: 32%; right: 0; top: 26%; }
.pct-tag {
  position: absolute; left: 20%; bottom: 0; width: 76px; height: 76px; display: grid; place-items: center;
  background: linear-gradient(135deg, #FF4D2E, var(--red)); color: #fff; font-weight: 900; font-size: 40px; font-style: italic;
  border-radius: 18px; transform: rotate(-14deg); box-shadow: 0 14px 24px -10px rgba(229, 38, 31, .8); z-index: 3;
}
.pct-tag::after { content: ""; position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.spark, .slide--yellow::after {
  position: absolute; width: 60px; height: 60px;
  background:
    linear-gradient(var(--orange-2), var(--orange-2)) 50% 0 / 6px 22px no-repeat,
    linear-gradient(var(--orange-2), var(--orange-2)) 100% 60% / 22px 6px no-repeat;
}
.spark--a { right: 4%; top: -4%; transform: rotate(18deg); }
.slide--yellow::after { content: ""; left: 52%; top: 4%; transform: rotate(-30deg) scale(.7); }
.allcats__btn { white-space: nowrap; }
.coupon { margin-top: 2px; }

.slide--blue { background: radial-gradient(120% 140% at 80% 30%, #2A72FF 0%, var(--blue) 40%, var(--blue-dark) 100%); color: #fff; }
.slide--blue h2 span { display: block; color: var(--yellow); }
.slide--blue .kicker { color: var(--yellow); }
.podium { position: absolute; left: 22%; right: 14%; bottom: 0; height: 74px; border-radius: 50% / 34%; background: linear-gradient(#F4F6FB, #B9C3D8); }
.podium::before { content: ""; position: absolute; inset: 0 0 auto; height: 36px; border-radius: 50%; background: #fff; }
.art--solo { width: 52%; left: 26%; bottom: 34px; }
.burst {
  position: absolute; left: 0; top: 18%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: 18px; line-height: 1; transform: rotate(-12deg);
  clip-path: polygon(50% 0, 61% 12%, 77% 7%, 80% 23%, 95% 28%, 89% 43%, 100% 55%, 87% 65%, 90% 82%, 74% 82%, 66% 97%, 52% 88%, 38% 99%, 30% 84%, 13% 86%, 15% 70%, 0 60%, 11% 47%, 4% 31%, 20% 26%, 24% 9%, 40% 12%);
}
.burst b { font-size: 38px; font-style: italic; font-weight: 900; letter-spacing: -.04em; }

.slide--home { background: linear-gradient(110deg, #FFF8EA 0%, #FFEFD2 45%, #F7D9A8 100%); color: var(--blue-ink); }
.slide--home h2 { color: var(--blue); }
.art--sofa { width: 78%; right: 0; bottom: -4%; }
.art--lamp { width: 34%; left: 4%; top: 0; }

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .2s;
}
.hero:hover .hero__nav, .hero__nav:focus-visible { opacity: 1; }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }
.hero__dots { position: absolute; left: 56px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.hero__dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(11, 42, 111, .25); transition: width .25s, background .25s; }
.hero__dots button[aria-current="true"] { width: 28px; background: var(--blue); }
.slide--blue ~ .hero__dots button { background: rgba(255, 255, 255, .4); }

/* ---------- vantagens ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 0; }
.perks li {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--ink); line-height: 1.3;
}
.perks b { display: block; font-size: 14px; }
.perks .ic { width: 30px; height: 30px; color: var(--orange-2); stroke-width: 1.8; }

/* ---------- blocos ---------- */
.block { margin-top: 38px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.block__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.block__head--list { align-items: flex-end; }
.link-more { color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.link-more:hover { text-decoration: underline; }

/* ---------- categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px 10px 14px; text-align: center;
  transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat__img { width: 100%; aspect-ratio: 1.15; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #F6F8FD, #E7ECF6); }
.cat__img img { width: 74%; height: 74%; object-fit: contain; }
.cat:nth-child(6n+1) .cat__img { background: linear-gradient(160deg, #EEF3FF, #DCE6FF); }
.cat:nth-child(6n+2) .cat__img { background: linear-gradient(160deg, #FFF6E5, #FFE8BF); }
.cat:nth-child(6n+3) .cat__img { background: linear-gradient(160deg, #FFEFEA, #FFD9CF); }
.cat:nth-child(6n+4) .cat__img { background: linear-gradient(160deg, #EAF2FF, #D4E3FF); }
.cat:nth-child(6n+5) .cat__img { background: linear-gradient(160deg, #FFF3E1, #FFE0B2); }
.cat:nth-child(6n+6) .cat__img { background: linear-gradient(160deg, #EFF1F6, #DDE2EC); }
.cat span { font-weight: 700; font-size: 13.5px; line-height: 1.2; }

/* ---------- ofertas do dia (trilho) ---------- */
.deals { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, var(--blue-2)); border-radius: 22px; padding: 22px 22px 24px; color: #fff; }
.deals .block__head h2 { color: #fff; }
.deals__flash { width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); color: var(--blue-ink); display: grid; place-items: center; }
.deals__flash .ic { width: 20px; height: 20px; fill: currentColor; stroke-width: 1.5; }
.deals__ctrl { display: flex; align-items: center; gap: 8px; }
.deals__timer { font-variant-numeric: tabular-nums; font-weight: 800; background: rgba(255, 255, 255, .14); padding: 7px 12px; border-radius: 8px; font-size: 14px; letter-spacing: .04em; }
.deals__timer::before { content: "Termina em "; font-weight: 600; opacity: .8; letter-spacing: 0; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.round-btn:hover { background: var(--yellow); color: var(--blue-ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- filtros ---------- */
.list-tools { display: flex; gap: 10px; }
.select { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 4px 0 12px; height: 40px; color: var(--muted); }
.select select { border: 0; background: transparent; height: 100%; font-weight: 600; font-size: 14px; color: var(--ink); outline: 0; cursor: pointer; padding-right: 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; background: #fff;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: all .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- grade + card ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; overflow: hidden; transition: transform .18s, box-shadow .18s; color: var(--ink);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1; background: linear-gradient(170deg, #F8F9FC, #EDF1F8); display: grid; place-items: center; cursor: pointer; }
.card__media img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.card__media img.is-svg { mix-blend-mode: normal; }
.off {
  position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px;
  padding: 4px 8px; border-radius: 7px; letter-spacing: -.01em;
}
.ribbon { position: absolute; bottom: 10px; left: 10px; background: var(--yellow); color: var(--blue-ink); font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.fav {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); color: #9AA3B5; transition: transform .15s, color .15s;
}
.fav:hover { color: var(--red); transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--red); }
.fav[aria-pressed="true"] .ic { fill: var(--red); }
.fav .ic { width: 19px; height: 19px; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.store-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 3px 8px;
  border-radius: 6px; letter-spacing: .01em; text-transform: uppercase;
}
.store-pill--mercadolivre { background: var(--ml); color: var(--ml-ink); }
.store-pill--amazon { background: var(--amz); color: var(--amz-ink); }
.store-pill--shopee { background: var(--shp); color: #fff; }
.store-pill--magalu { background: #0086FF; color: #fff; }
.store-pill--aliexpress { background: #E43225; color: #fff; }
.store-pill--outra { background: #E9EDF5; color: var(--ink); }
.card__title {
  font-size: 13.5px; font-weight: 600; line-height: 1.35; margin: 0; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer;
}
.card__title:hover { color: var(--blue); }
.price { margin-top: auto; display: flex; flex-direction: column; gap: 1px; }
.price s { color: #8A93A6; font-size: 12.5px; font-weight: 500; }
.price strong { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--blue-ink); }
.price small { font-size: 12px; color: #10893E; font-weight: 700; }
.coupon {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 11.5px; font-weight: 800; color: var(--orange-2);
  border: 1.5px dashed var(--orange); background: #FFF6EC; border-radius: 6px; padding: 3px 8px;
}
.card__cta { margin-top: 8px; height: 40px; font-size: 14px; border-radius: 10px; width: 100%; }

/* trilho: cards brancos sobre azul */
.rail .card { box-shadow: none; }

/* ---------- vazio / mais ---------- */
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius); }
.empty img { margin: 0 auto 14px; opacity: .9; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); margin: 6px 0 18px; }
.more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- lojas ---------- */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.store-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.store-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-card__logo { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 18px; flex: none; }
.store-card b { display: block; font-size: 16px; }
.store-card span { color: var(--muted); font-size: 13px; }
.store-card .ic { margin-left: auto; color: var(--blue); }
.store-logo { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; flex: none; overflow: hidden; box-shadow: 0 2px 8px rgba(20,33,61,.12); }
.store-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-logo--text { padding: 6px; }
.store-card .store-logo--text, .store-logo--text { font-weight: 900; font-size: 15px; line-height: 1.1; text-align: center; color: inherit; }
.store-logo--sm { width: 38px; height: 38px; border-radius: 10px; }
.store-logo--sm.store-logo--text { font-size: 10px; }

/* ---------- social ---------- */
.social-cta {
  margin-top: 38px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; overflow: hidden;
  background: radial-gradient(120% 160% at 100% 0%, #FFE066 0%, var(--yellow) 50%, #FFB300 100%); border-radius: 22px; padding: 34px 40px;
}
.social-cta h2 { font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: -.03em; color: var(--blue); }
.social-cta p { margin: 10px 0 20px; font-weight: 500; color: var(--blue-ink); max-width: 480px; }
.social-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.social-cta__art { position: relative; height: 210px; }
.post {
  position: absolute; width: 190px; aspect-ratio: 1; border-radius: 16px; padding: 14px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; font-style: italic; letter-spacing: -.03em; line-height: .95;
}
.post b { font-size: 30px; font-weight: 900; }
.post i { font-size: 26px; font-weight: 900; }
.post img { position: absolute; width: 62%; right: -4%; bottom: -2%; }
.post--blue { background: linear-gradient(150deg, var(--blue-2), var(--blue-dark)); color: #fff; right: 170px; top: 8px; transform: rotate(-6deg); }
.post--blue i { color: var(--yellow); }
.post--yellow { background: #fff; color: var(--blue); right: 10px; top: 0; transform: rotate(5deg); border: 6px solid #fff; background: linear-gradient(160deg, #FFD84D, var(--yellow)); }
.post--yellow i { color: #fff; background: var(--red); align-self: flex-start; padding: 2px 8px 4px; border-radius: 6px; margin-top: 4px; font-size: 20px; }

/* ---------- rodapé ---------- */
.footer { margin-top: 56px; background: var(--blue-dark); color: rgba(255, 255, 255, .86); padding: 44px 0 calc(24px + var(--safe-b)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer li { margin: 8px 0; font-size: 14px; }
.footer a:hover, .linklike:hover { color: var(--yellow); }
.linklike { color: inherit; font-size: 14px; }
.footer__tag { margin: 14px 0 0; max-width: 320px; font-size: 14px; }
.footer__legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: rgba(255, 255, 255, .64); }
.footer__legal p { margin: 0 0 8px; }

/* ---------- modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 54, .55); backdrop-filter: blur(3px); animation: fade .2s; }
.modal__panel {
  position: relative; width: min(940px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto; margin: 24px auto;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); animation: pop .25s cubic-bezier(.2, .9, .3, 1.2);
  top: 50%; transform: translateY(-50%); margin-top: 0; margin-bottom: 0;
}
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd__media { position: relative; background: linear-gradient(170deg, #F8F9FC, #E9EEF7); display: grid; place-items: center; min-height: 420px; }
.pd__media img { width: 78%; max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.pd__media img.is-svg { mix-blend-mode: normal; }
.pd__info { padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.pd__info h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding-right: 30px; }
.pd__price s { color: #8A93A6; font-size: 15px; }
.pd__price strong { display: block; font-size: 36px; font-weight: 900; letter-spacing: -.04em; color: var(--blue-ink); line-height: 1.05; }
.pd__save { display: inline-block; background: #E9F8EF; color: #10893E; font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 7px; margin-top: 6px; }
.pd__desc { color: var(--muted); margin: 0; font-size: 14px; }
.pd__coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px dashed var(--orange); background: #FFF6EC;
  border-radius: 12px; padding: 10px 10px 10px 14px; font-weight: 800; color: var(--orange-2);
}
.pd__coupon small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.pd__actions { display: flex; gap: 10px; margin-top: 4px; }
.pd__actions .btn--orange { flex: 1; height: 52px; font-size: 16px; }
.pd__actions .icon-btn { width: 52px; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; }
.pd__actions .fav-big[aria-pressed="true"] { color: var(--red); }
.pd__actions .fav-big[aria-pressed="true"] .ic { fill: var(--red); }
.pd__safe { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 12px; }
.pd__safe .ic { color: #10893E; width: 20px; height: 20px; }
.pd__related { padding: 0 24px 24px; }
.pd__related h3 { font-size: 16px; margin: 6px 0 12px; }
.pd__related .rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; }
.pd__related .card { box-shadow: none; border: 1px solid var(--line); }

/* ---------- avaliação ---------- */
.rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); min-height: 17px; flex-wrap: wrap; }
.rating b { color: var(--ink); font-weight: 700; }
.rating--lg { font-size: 14px; gap: 7px; }
.rating--lg .stars { font-size: 17px; }
.stars { position: relative; display: inline-block; color: #D5DBE6; letter-spacing: 1px; line-height: 1; font-size: 13px; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--orange); white-space: nowrap; }
.dotsep { font-style: normal; opacity: .6; }

/* ---------- galeria + descrição (modal) ---------- */
.pd__gallery { position: relative; background: linear-gradient(170deg, #F8F9FC, #E9EEF7); display: flex; flex-direction: column; min-width: 0; }
.pd .pd__media {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 420px; background: none; flex: 1;
}
.pd .pd__media::-webkit-scrollbar { display: none; }
.pd .pd__media img { flex: 0 0 100%; width: 100%; height: 420px; max-height: none; object-fit: contain; padding: 28px; scroll-snap-align: center; background: #fff; mix-blend-mode: normal; }
.pd .pd__media img.is-svg { background: transparent; }
.off--lg { font-size: 16px; padding: 6px 10px; z-index: 2; }
.pd__count { position: absolute; bottom: 84px; right: 12px; z-index: 2; background: rgba(20, 33, 61, .7); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.pd__thumbs { display: flex; gap: 8px; padding: 10px 12px 12px; overflow-x: auto; scrollbar-width: none; }
.pd__thumbs button { flex: none; width: 58px; height: 58px; border-radius: 10px; background: #fff; border: 2px solid transparent; padding: 3px; }
.pd__thumbs button[aria-current="true"] { border-color: var(--blue); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pd__tags .pd__save { margin: 0; }
.pd__save--hot { background: #FFF1E3; color: var(--orange-2); }
.pd__about { padding: 22px 30px 8px; border-top: 1px solid var(--line); }
.pd__about h3 { font-size: 17px; margin-bottom: 12px; }
.pd__features { margin: 0 0 14px; display: grid; gap: 8px; }
.pd__features li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45; }
.pd__features li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #E9F8EF; color: #10893E; font-weight: 900; font-size: 11px; display: grid; place-items: center; }
.pd .pd__desc, .pd__about .pd__desc { white-space: pre-line; color: #3A4458; font-size: 14px; line-height: 1.6; margin: 0; }
.pd__desc.is-clamped { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.pd__about .link-more { margin: 8px 0 10px; }
.card .rating { margin-top: -2px; }

/* ---------- gaveta ---------- */
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(330px, 88vw); background: #fff; overflow: auto; padding: 16px 16px calc(24px + var(--safe-b));
  animation: slideIn .25s ease;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__head .logo__word { font-size: 21px; }
.drawer__label { margin: 18px 4px 8px; text-transform: uppercase; font-size: 11.5px; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.drawer__list a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; font-weight: 600; }
.drawer__list a:hover { background: var(--bg); }
.drawer__list img { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); padding: 5px; }
.drawer .btn { margin-top: 20px; }

/* ---------- instalar / toast ---------- */
.install-sheet {
  position: fixed; left: 12px; right: 12px; bottom: calc(76px + var(--safe-b)); z-index: 60; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 8px 10px 10px;
  box-shadow: 0 18px 50px -14px rgba(11, 42, 111, .45); animation: up .35s ease;
}
.install-sheet img { border-radius: 12px; }
.install-sheet div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.install-sheet b { display: block; font-size: 14px; }
.install-sheet span { color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 90;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- barra inferior ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 4px calc(6px + var(--safe-b)); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px -12px rgba(11, 42, 111, .2);
}
.tabbar a, .tabbar button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #6B7488; padding: 4px 0;
}
.tabbar .ic { width: 23px; height: 23px; }
.tabbar .on { color: var(--blue); }
.tabbar .on .ic { stroke-width: 2.4; }
.tabbar .count { top: 0; right: calc(50% - 22px); }

/* ---------- skeleton ---------- */
.skel { background: linear-gradient(90deg, #EEF1F7 0%, #F7F9FC 50%, #EEF1F7 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
.card.skel { min-height: 340px; box-shadow: none; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-46%) scale(.97); } }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }

.only-mobile { display: none !important; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .cats { grid-template-columns: repeat(7, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 34px 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .social-cta { grid-template-columns: 1fr; }
  .social-cta__art { display: none; }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd__actions .btn--orange { white-space: normal; text-align: center; line-height: 1.15; padding: 0 14px; min-width: 0; }
  .pd__media { min-height: 300px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; padding-bottom: calc(66px + var(--safe-b)); }
  .only-mobile { display: revert !important; }
  .chips.only-mobile { display: flex !important; }
  .tabbar.only-mobile { display: grid !important; }
  .only-desktop { display: none !important; }
  .wrap { padding: 0 14px; }

  .topbar__row { flex-wrap: wrap; height: auto; gap: 6px 4px; padding-top: 8px; padding-bottom: 10px; }
  .topbar__row .logo { flex: 1; justify-content: center; margin-right: 42px; }
  .topbar .logo__img { height: 40px; }
  .top-actions { position: absolute; right: 8px; top: 10px; }
  .top-actions a[aria-label="Favoritos"] { display: none; }
  .search { order: 3; flex-basis: 100%; height: 42px; margin: 0; }
  .search button { width: 48px; }
  .topbar { box-shadow: 0 2px 12px -6px rgba(11, 42, 111, .25); }

  #home { padding-top: 12px; }
  .hero { border-radius: 18px; }
  .slide { grid-template-columns: 1fr; padding: 22px 20px 34px; min-height: 0; }
  .slide p { font-size: 14px; margin: 8px 0 14px; }
  .slide h1, .slide h2 { font-size: 27px; }
  .slide__art { height: 170px; margin-top: 4px; order: 0; }
  .slide__text { text-align: left; }
  .slide .btn { height: 40px; font-size: 14px; }
  .hero__dots { left: 50%; transform: translateX(-50%); bottom: 12px; }
  .hero__nav { display: none; }
  .pct-tag { width: 52px; height: 52px; font-size: 28px; left: 4%; }
  .burst { width: 104px; height: 104px; font-size: 13px; }
  .burst b { font-size: 26px; }
  .art--solo { width: 46%; }

  .perks { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .perks li { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px; }
  .perks li:nth-child(4) { display: none; }
  .perks li span { font-size: 0; }
  .perks b { font-size: 12px; }
  .slide--yellow::after { display: none; }
  .slide__art { height: 150px; }
  .spark--a { top: -10%; }
  .perks .ic { width: 26px; height: 26px; }

  .block { margin-top: 26px; }
  .block__head h2 { font-size: 18px; }
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; gap: 10px; margin: 0 -14px; padding: 2px 14px 6px; }
  .cat { padding: 8px 8px 10px; gap: 6px; }
  .cat span { font-size: 11.5px; }

  .deals { border-radius: 18px; padding: 16px 0 18px; margin-left: -4px; margin-right: -4px; }
  .deals .block__head { padding: 0 14px; }
  .deals__timer::before { content: ""; }
  .deals__ctrl .round-btn { display: none; }
  .rail { grid-auto-columns: 46%; gap: 10px; padding: 2px 14px; scroll-padding: 0 14px; }

  .block__head--list { flex-wrap: wrap; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__body { padding: 10px 10px 12px; gap: 5px; }
  .card__title { font-size: 12.5px; }
  .price strong { font-size: 18px; }
  .card__cta { height: 38px; font-size: 13px; }
  .off { font-size: 12px; top: 8px; left: 8px; }
  .fav { width: 32px; height: 32px; }

  .stores { grid-template-columns: 1fr; gap: 10px; }
  .social-cta { padding: 24px 20px; border-radius: 18px; }
  .social-cta h2 { font-size: 23px; }

  .footer { margin-top: 36px; padding-top: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }

  .modal__panel { width: 100%; max-height: 92%; top: auto; bottom: 0; position: absolute; transform: none; border-radius: 22px 22px 0 0; animation: up .3s ease; }
  .pd .pd__media { min-height: 280px; }
  .pd .pd__media img { height: 280px; padding: 16px; }
  .pd__thumbs { display: none; }
  .pd__count { bottom: 12px; }
  .pd__about { padding: 16px 16px 4px; }
  .pd__info { padding: 18px 16px calc(18px + var(--safe-b)); }
  .pd__info h2 { font-size: 18px; }
  .pd__price strong { font-size: 30px; }
  .pd__related { padding: 0 0 24px; }
  .pd__related h3 { padding: 0 16px; }
  .pd__related .rail { grid-auto-columns: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- blog na home ---------- */
.home-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hblog { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.hblog:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hblog__img { aspect-ratio: 16 / 9; background: #f3f6fb; display: grid; place-items: center; }
.hblog__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.hblog__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.hblog__body small { color: var(--orange); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.hblog__body b { font-size: 16px; line-height: 1.3; color: var(--ink); }
.hblog__body span { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .home-blog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .home-blog { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; } .hblog { flex: 0 0 78%; scroll-snap-align: start; } }
