/* =========================================================
   Conecta+ — estilos (inspirado no layout de marketplaces)
   Cores da marca: azul-marinho da logo + azul vivo
   ========================================================= */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1e6bff;
  --blue-2: #0a84ff;
  --cyan: #12a6ff;
  --bg: #eef1f5;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #6b7785;
  --line: #e2e7ee;
  --green: #00a650;
  --red: #e5383b;
  --orange: #f26b1d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .08), 0 4px 14px rgba(11, 31, 58, .06);
  --shadow-lg: 0 10px 30px rgba(11, 31, 58, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.45 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(30, 107, 255, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: 13px; }
.green { color: var(--green); }
.orange { color: var(--orange); }
.center { display: block; margin: 12px auto 0; }

/* ---------- Faixa superior ---------- */
.topstrip { background: var(--navy); color: #cfe0ff; font-size: 12.5px; }
.topstrip__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topstrip strong { color: #fff; }
.topstrip__right { display: flex; gap: 18px; }
.topstrip__right a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(11, 31, 58, .05); }
.header__in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 48px; width: auto; }
.hamb { display: none; font-size: 24px; width: 40px; height: 40px; border-radius: 8px; color: var(--navy); }

.search { flex: 1; display: flex; background: #fff; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 107, 255, .12); }
.search input { flex: 1; border: 0; padding: 11px 18px; outline: none; background: transparent; min-width: 0; }
.search button { width: 56px; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .15s; }
.search button:hover { background: var(--navy-2); }

.header__actions { display: flex; align-items: center; gap: 6px; }
.header__deliver { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); line-height: 1.25; margin-right: 10px; white-space: nowrap; }
.header__deliver strong { color: var(--navy); font-size: 13px; }
.hact { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--navy); transition: background .15s; }
.hact:hover { background: #eef3ff; }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ---------- Navegação ---------- */
.nav { border-top: 1px solid var(--line); background: #fff; }
.nav__in { display: flex; align-items: center; gap: 4px; height: 44px; }
.nav__cats { display: flex; overflow: hidden; }
.nav__link { padding: 0 12px; height: 44px; display: flex; align-items: center; font-size: 13.5px; color: #33475c; white-space: nowrap; }
.nav__link:hover { color: var(--blue); }
.nav__link--hot { color: var(--orange); font-weight: 600; }
.catmenu { position: relative; }
.catmenu__btn { height: 44px; padding: 0 14px 0 0; font-weight: 700; color: var(--navy); font-size: 14px; }
.catmenu__panel { position: absolute; top: 44px; left: 0; width: 300px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.catmenu.open .catmenu__panel, .catmenu:hover .catmenu__panel { display: block; }
.catmenu__panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.catmenu__panel a span { font-size: 20px; width: 26px; text-align: center; }
.catmenu__panel a:hover { background: #eef3ff; color: var(--blue); }
.catmenu__panel a.all { color: var(--blue); font-weight: 600; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; transition: transform .1s, background .15s, box-shadow .15s; }
.btn:hover { background: #0f56e0; }
.btn:active { transform: scale(.98); }
.btn--block { display: flex; width: 100%; margin-top: 10px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--soft { background: #e3edff; color: var(--blue); }
.btn--soft:hover { background: #d3e2ff; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px #c9d9ff; }
.btn--ghost:hover { background: #f1f6ff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eaf1ff; }
.btn--wa { background: #16a34a; }
.btn--wa:hover { background: #128a3e; }
.link { color: var(--blue); font-size: 13px; }
.link:hover { text-decoration: underline; }
.link--red { color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 340px; overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; color: #fff; }
.slide.on { opacity: 1; visibility: visible; }
.from-blue   { background: radial-gradient(120% 140% at 85% 20%, #2b7bff 0%, #0f3d91 45%, #0b1f3a 100%); }
.from-cyan   { background: radial-gradient(120% 140% at 85% 20%, #1ec8ff 0%, #0b6fb3 45%, #0b1f3a 100%); }
.from-violet { background: radial-gradient(120% 140% at 85% 20%, #7b5cff 0%, #3b2fa3 45%, #0b1f3a 100%); }
.slide__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.slide__txt { max-width: 520px; }
.slide h1 { font-size: 42px; letter-spacing: -.02em; margin-bottom: 12px; }
.slide p { font-size: 18px; opacity: .9; margin: 0 0 24px; }
.slide__art { width: 270px; height: 270px; border-radius: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); transform: rotate(4deg); margin-right: 60px; }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 72px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 30px; border-radius: 8px; opacity: 0; transition: opacity .2s; z-index: 2; }
.hero:hover .hero__nav { opacity: 1; }
.hero__nav--l { left: 10px; } .hero__nav--r { right: 10px; }
.hero__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: all .2s; }
.hero__dots button.on { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- Benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -34px; position: relative; z-index: 3; padding: 0; overflow: hidden; }
.benefits div { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.benefits div:last-child { border-right: 0; }
.benefits b { font-size: 14.5px; color: var(--navy); }
.benefits span { font-size: 12.5px; color: var(--muted); }

/* ---------- Seções ---------- */
.section { margin-top: 26px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.section__head h2 { font-size: 22px; color: var(--navy); font-weight: 700; }
.section__head a { color: var(--blue); font-size: 14px; font-weight: 600; }
.section__head a:hover { text-decoration: underline; }

.catgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.catcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.catcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--blue); }
.catcard__ic { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(140deg, #eaf2ff, #cfe0ff); display: grid; place-items: center; font-size: 28px; }

/* ---------- Carrossel de produtos ---------- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 218px; scroll-snap-align: start; }
.rail__btn { position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 70px; background: #fff; box-shadow: var(--shadow-lg); border-radius: 8px; font-size: 30px; color: var(--navy); z-index: 2; }
.rail__btn:hover { color: var(--blue); }
.rail__btn--l { left: -20px; } .rail__btn--r { right: -20px; }

/* ---------- Card de produto ---------- */
.card { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__img { aspect-ratio: 1; background: #f6f8fb; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; border-top: 1px solid var(--line); }
.card__title { font-size: 14px; line-height: 1.35; color: #2b3947; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card__title:hover { color: var(--blue); }
.card__loja { font-size: 11.5px; color: var(--muted); }
.card__loja b { color: #2b3947; font-weight: 600; }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-top: 4px; }
.card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pr { font-size: 24px; font-weight: 500; color: #111c28; letter-spacing: -.01em; }
.pr small { font-size: .55em; margin-right: 3px; vertical-align: .32em; font-weight: 500; }
.pr sup { font-size: .5em; vertical-align: .62em; margin-left: 1px; font-weight: 500; }
.pr--xl { font-size: 38px; }
.off { color: var(--green); font-size: 13px; font-weight: 700; }
.card__inst { font-size: 13px; color: var(--green); }
.card__inst b { font-weight: 600; }
.ship { font-size: 13px; color: var(--green); font-weight: 700; margin-top: 2px; }
.ship small { font-weight: 400; color: var(--muted); }
.card__rate { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.stars { --p: 0%; position: relative; font-size: 13px; letter-spacing: 1px; color: #d5dbe3; background: linear-gradient(90deg, #f5a623 var(--p), #d5dbe3 var(--p)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tag { align-self: flex-start; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .03em; }
.tag--top { background: var(--orange); color: #fff; }
.tag--deal { background: var(--blue); color: #fff; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); font-size: 19px; color: var(--muted); display: grid; place-items: center; transition: transform .15s, color .15s; }
.fav:hover { transform: scale(1.12); color: var(--blue); }
.fav.on { color: var(--red); }

/* ---------- Listagem ---------- */
.page { padding-top: 16px; padding-bottom: 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--blue); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: 130px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters h3 { font-size: 17px; color: var(--navy); }
.fgroup { padding: 12px 0; border-top: 1px solid var(--line); }
.fgroup h4 { font-size: 13.5px; margin-bottom: 8px; color: var(--navy); }
.fgroup li a { display: block; padding: 4px 0; font-size: 13.5px; color: #4a5a6b; }
.fgroup li a:hover, .fgroup li a.cur { color: var(--blue); font-weight: 600; }
.fgroup em { color: var(--muted); font-style: normal; }
.prange { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.prange input { width: 100%; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13.5px; cursor: pointer; }
.chk input { width: 16px; height: 16px; accent-color: var(--blue); }
.filters__toggle { display: none; }

.results__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results h1 { font-size: 22px; color: var(--navy); }
.results__ctrl { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.results__ctrl select { margin-left: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); }
.seg { display: flex; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.seg button { width: 38px; height: 36px; font-size: 16px; color: var(--muted); }
.seg button.on { background: var(--blue); color: #fff; }
.results__list--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.results__list--list { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card--list { flex-direction: row; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.card--list:hover { transform: none; box-shadow: none; background: #fafcff; }
.card--list .card__img { width: 200px; flex: none; aspect-ratio: 1; align-self: flex-start; }
.card--list .card__body { border-top: 0; padding: 18px 24px; justify-content: center; gap: 4px; align-items: flex-start; }
.card--list .card__title { font-size: 17px; min-height: 0; -webkit-line-clamp: 2; }
.card--list .fav { top: 12px; right: 14px; }
.card--list .btn { margin-top: 8px; }
.empty { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty__ic { font-size: 48px; }
.empty p { margin: 0 0 8px; color: var(--muted); }

/* ---------- Página do produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 320px; gap: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; align-items: start; }
.pdp__gallery { display: flex; gap: 12px; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 8px; }
.pdp__thumbs button { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); padding: 0; }
.pdp__thumbs button.on { box-shadow: 0 0 0 2px var(--blue); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__main { flex: 1; border-radius: var(--radius); overflow: hidden; background: #f6f8fb; aspect-ratio: 1; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pdp__loja { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.pdp__loja b { color: #2b3947; font-weight: 600; }
.pdp__info h1 { font-size: 23px; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pdp__price .off { font-size: 16px; }
.pdp__inst { color: var(--green); font-size: 15px; margin-top: 2px; }
.pdp__pix { font-size: 14px; margin-top: 4px; color: #33475c; }
.pdp__h { margin: 22px 0 8px; font-size: 17px; color: var(--navy); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 9px 12px; }
.specs th { width: 44%; background: #f3f6fa; font-weight: 600; color: #3a4b5d; }
.specs tr:nth-child(even) td { background: #fafbfd; }
.buybox { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 140px; }
.buybox__ship { font-size: 14px; line-height: 1.5; }
.cep { margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cep label { font-size: 13px; color: var(--muted); }
.cep > div:first-of-type { display: flex; gap: 8px; margin-top: 6px; }
.cep input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.cep__res { font-size: 13px; margin-top: 8px; }
.cep__res.ok { color: var(--green); } .cep__res.err { color: var(--red); }
.stock { font-size: 15px; margin-bottom: 8px; }
.qty { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.qty select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.buybox__perks { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #4a5a6b; }
.buybox__perks li { display: flex; gap: 8px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: #b9cbe6; margin-top: 50px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; font-size: 14px; }
.footer__logo { height: 54px; width: auto; margin-bottom: 12px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer li { padding: 4px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { margin: 0; max-width: 300px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 12.5px; text-align: center; }

/* ---------- Carrinho lateral ---------- */
.overlay { position: fixed; inset: 0; background: rgba(11, 31, 58, .5); z-index: 90; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 19px; color: var(--navy); }
.drawer__head button { font-size: 18px; width: 36px; height: 36px; border-radius: 50%; }
.drawer__head button:hover { background: var(--bg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); background: #fafbfd; }
.ci { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 78px; height: 78px; border-radius: 8px; object-fit: cover; flex: none; }
.ci__info { flex: 1; min-width: 0; }
.ci__info > a { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci__loja { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.ci__row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 4px; }
.qtybox { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; }
.qtybox button { width: 30px; height: 30px; font-size: 18px; color: var(--blue); }
.qtybox span { min-width: 26px; text-align: center; font-size: 14px; }
.tot { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.tot--big { font-size: 20px; font-weight: 700; color: var(--navy); margin: 4px 0; }
.freebar { margin-bottom: 12px; font-size: 13px; }
.freebar i { display: block; height: 6px; background: #e2e7ee; border-radius: 4px; margin-top: 6px; position: relative; overflow: hidden; }
.freebar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--green); border-radius: 4px; transition: width .3s; }
.freebar--ok { color: var(--green); font-weight: 600; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: 92vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybox { grid-column: 1 / -1; position: static; }
  .catgrid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .topstrip__mid, .topstrip__right, .header__deliver, .nav__cats, .nav__link--hot { display: none; }
  .hamb { display: block; }
  .header__in { gap: 8px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .logo { order: 2; margin-right: auto; }
  .logo img { height: 38px; }
  .header__actions { order: 3; }
  .search { order: 4; flex: 1 0 100%; }
  .hamb { order: 1; }
  .nav { border: 0; height: 0; }
  .nav__in { height: 0; padding: 0; }
  .catmenu__btn { display: none; }
  .catmenu__panel { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); border-radius: 0; padding: 70px 10px 20px; display: block; transform: translateX(-100%); transition: transform .28s; z-index: 100; overflow-y: auto; }
  .catmenu.open .catmenu__panel { transform: none; }
  .catmenu:hover .catmenu__panel { display: block; }

  .hero { height: 300px; }
  .slide h1 { font-size: 28px; } .slide p { font-size: 15px; margin-bottom: 18px; }
  .slide__art { width: 140px; height: 140px; margin-right: 0; border-radius: 20px; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .benefits div:nth-child(2) { border-right: 0; }
  .benefits div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rail__btn { display: none; }
  .rail .card { flex-basis: 170px; }
  .pr { font-size: 20px; }

  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters__toggle { display: inline-flex; }
  .card--list .card__img { width: 130px; }
  .card--list .card__body { min-width: 0; }
  .card--list .card__body { padding: 12px 14px; }
  .card--list .card__title { font-size: 14px; padding-right: 30px; }
  .card--list .btn { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; padding: 16px; }
  .pdp__gallery { flex-direction: column-reverse; }
  .pdp__thumbs { flex-direction: row; }
  .pdp__info h1 { font-size: 19px; }
  .pr--xl { font-size: 32px; }
}

@media (max-width: 520px) {
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .results__bar { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .results__list--grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   Conta, checkout, meus pedidos
   ========================================================= */
.red { color: var(--red); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--red { background: #dc2626; } .btn--red:hover { background: #b91c1c; }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.tag--out { background: #6b7785; color: #fff; }
.card--out .card__img img { filter: grayscale(1); opacity: .55; }
.pdp__desc { margin: 0 0 12px; color: #33475c; line-height: 1.6; }
.page__title { font-size: 26px; color: var(--navy); margin-bottom: 16px; }

/* status (etiquetas) */
.badge2 { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-amber { background: #fef3c7; color: #92400e; } .b-blue { background: #e0ecff; color: #1d4ed8; }
.b-cyan { background: #cffafe; color: #0e7490; } .b-green { background: #dcfce7; color: #166534; }
.b-red { background: #fee2e2; color: #b91c1c; } .b-gray { background: #e5e7eb; color: #4b5563; }

/* conta no cabeçalho */
.acct { position: relative; }
.acct__btn { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 10px; text-align: left; color: var(--navy); }
.acct__btn:hover { background: #eef3ff; }
.acct__ic { width: 36px; height: 36px; border-radius: 50%; background: #e6efff; display: grid; place-items: center; font-size: 18px; flex: none; }
.acct__ic--on { background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; font-weight: 700; font-size: 16px; }
.acct__t { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.acct__t small { font-size: 11.5px; color: var(--muted); }
.acct__t b { font-size: 13.5px; }
.acct__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 80; }
.acct__menu a, .acct__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.acct__menu a:hover, .acct__menu button:hover { background: #eef3ff; color: var(--blue); }
.acct__menu button { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; color: var(--red); }

/* modal da loja / checkout */
.cmodal { position: fixed; inset: 0; z-index: 150; background: rgba(11, 31, 58, .55); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow-y: auto; backdrop-filter: blur(2px); }
.cmodal__box { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); }
.cmodal__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cmodal__head h3 { font-size: 19px; color: var(--navy); }
.cmodal__head button { width: 34px; height: 34px; border-radius: 50%; font-size: 17px; }
.cmodal__head button:hover { background: var(--bg); }
.cmodal__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.cbox { background: #f6f8fc; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.cbox h4 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cwarn { background: #fff8e6; border-left: 4px solid #f59e0b; padding: 10px 12px; border-radius: 6px; font-size: 13.5px; margin-top: 8px; }
.cwarn--red { background: #fff1f1; border-color: var(--red); color: #7f1d1d; margin: 12px 0; }
.cwarn--info { background: #eef4ff; border-color: var(--blue); color: #1e3a5f; margin: 0 0 10px; }
.csum-loja { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.csum-loja:first-child { margin-top: 0; }
.csum-loja b { color: var(--navy); text-transform: none; letter-spacing: normal; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 9px 4px; cursor: pointer; }
.radio input { margin-top: 4px; accent-color: var(--blue); width: 17px; height: 17px; }
.radio small { display: block; color: var(--muted); font-size: 12.5px; }
.radio em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.csum { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; font-size: 13.5px; }
.csum--l { color: #4a5a6b; } .csum--l:first-child { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.csum--t { font-size: 18px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.cobs span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #33475c; } .cobs small { font-weight: 400; color: var(--muted); }
.cobs textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #d5dce6; border-radius: 9px; font: inherit; resize: vertical; outline: none; }
.cobs textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 107, 255, .12); }
.cpedlist { list-style: none; margin: 0 0 14px; padding: 10px 12px; background: #f6f8fc; border-radius: 8px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.cpedlist b { color: var(--blue); }

/* Meus pedidos */
.ords { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.ord { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.ord__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ord__head b { font-size: 17px; color: var(--navy); display: block; } .ord__head small { color: var(--muted); font-size: 12.5px; }
.track { list-style: none; display: flex; margin: 18px 0 8px; padding: 0; }
.track li { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 12px; color: var(--muted); position: relative; }
.track li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: #e2e7ee; }
.track li:first-child::before { display: none; }
.track li.done::before { background: var(--blue); }
.track i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #e2e7ee; color: #8593a3; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; }
.track li.done i { background: var(--blue); color: #fff; }
.track li.now { color: var(--navy); font-weight: 700; }
.track li.now i { box-shadow: 0 0 0 5px rgba(30, 107, 255, .18); }
.ord__msg { margin: 6px 0 12px; font-size: 14px; color: #33475c; text-align: center; }
.ord__msg:empty { display: none; }
.ord__items { border-top: 1px solid var(--line); }
.ord__it { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.ord__it img, .ord__ph { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #f0f3f8; flex: none; }
.ord__it span:not(.ord__ph) { flex: 1; min-width: 0; }
.ord__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.ord__tot b { font-size: 20px; color: var(--navy); margin-left: 6px; }

@media (max-width: 900px) {
  .acct__t { display: none; }
  .acct__btn { padding: 4px; }
  .track li { font-size: 10.5px; }
}
