/* =========================================================
   ROTA IMPORTADOS — Design system
   Todas as cores, fontes, raios, sombras e tempos ficam aqui.
   ========================================================= */
:root {
  /* Marca */
  --navy: #001b50;      /* institucional */
  --royal: #0055cc;     /* menus, links, ícones, interação */
  --electric: #00b8ff;  /* detalhes tecnológicos */
  --yellow: #ffd500;    /* promoções e descontos */
  --orange: #ff8900;    /* ações comerciais */
  --green: #00b83f;     /* disponibilidade e confirmação */

  /* Neutras */
  --bg: #f5f8fc;
  --surface: #ffffff;
  --text: #172338;
  --muted: #64748b;
  --line: #e2e8f0;

  /* Derivadas */
  --royal-050: #eef4ff;
  --royal-100: #dce8fb;
  --orange-600: #e67a00;
  --green-050: #e7f8ed;
  --green-700: #00852e;
  /* Verde dos botões com texto/ícone branco (contraste ≥ 4.5:1) */
  --whats: #007a2b;
  --whats-hover: #00662a;
  --danger: #dc2626;
  --on-dark-muted: #b8c6e3;
  --navy-900: #00123a;

  /* Tipografia */
  --font-head: "Poppins", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;

  /* Formas */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(16, 37, 77, .06);
  --shadow: 0 4px 14px -4px rgba(16, 37, 77, .12);
  --shadow-lg: 0 16px 40px -12px rgba(16, 37, 77, .22);
  --focus: 0 0 0 3px rgba(0, 85, 204, .22);

  /* Espaçamentos */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;

  /* Movimento */
  --t: 180ms cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.muted { color: var(--muted); }
.container { width: min(1280px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Faixa superior ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: .8rem; font-weight: 500; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 34px; flex-wrap: wrap; padding: 4px 0; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: var(--on-dark-muted); transition: color var(--t); }
.topbar a:hover { color: #fff; }
.topbar__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }

/* ---------- Cabeçalho (azul-marinho, fixo na rolagem) ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: #fff;
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: 0 8px 24px -10px rgba(0, 18, 58, .55); }
.header__inner { display: flex; align-items: center; gap: var(--s-5); height: 80px; }

/* Logo oficial (img/logo.png, gerado a partir do arquivo original) */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 60px; width: auto; }
.header .logo { background: var(--surface); border-radius: var(--r); padding: 4px 10px; transition: box-shadow var(--t); }
.header .logo img { height: 56px; }
.header .logo:hover { box-shadow: 0 0 0 3px rgba(0, 184, 255, .35); }
.logo--footer { display: inline-flex; width: fit-content; background: var(--surface); border-radius: var(--r); padding: 8px 12px; }
.logo--footer img { height: 72px; }

/* Busca */
.search-wrap { position: relative; flex: 1; max-width: 720px; margin-inline: auto; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 2px solid transparent; border-radius: var(--r-pill);
  padding: 0 6px 0 18px; height: 50px; transition: border-color var(--t), box-shadow var(--t);
}
.search:focus-within { border-color: var(--electric); box-shadow: 0 0 0 4px rgba(0, 184, 255, .2); }
.search > svg { width: 20px; color: var(--muted); flex-shrink: 0; }
.search input { background: none; border: 0; outline: 0; width: 100%; min-width: 0; font-size: .98rem; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search__btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--royal); color: #fff; transition: background var(--t);
}
.search__btn:hover { background: #0048ad; }
.search__btn svg { width: 19px; }

/* Sugestões da busca */
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 45;
  background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; animation: fade .15s;
}
.sug { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); transition: background var(--t); }
.sug:hover, .sug[aria-selected="true"] { background: var(--royal-050); }
.sug img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); padding: 3px; }
.sug__txt { min-width: 0; }
.sug__txt b { display: block; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug__txt small { color: var(--muted); font-size: .78rem; }
.sug__price { font: 700 .92rem var(--font-head); color: var(--royal); white-space: nowrap; }
.sug__all { width: 100%; padding: 12px; font-weight: 600; font-size: .9rem; color: var(--royal); text-align: center; transition: background var(--t); }
.sug__all:hover { background: var(--royal-050); }
.sug__none { padding: 18px; color: var(--muted); font-size: .9rem; text-align: center; }

/* WhatsApp no cabeçalho */
.head-whats { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 6px 10px; border-radius: var(--r); transition: background var(--t); }
.head-whats:hover { background: rgba(255, 255, 255, .08); }
.head-whats svg { width: 30px; color: var(--green); }
.head-whats small { display: block; font-size: .72rem; color: var(--on-dark-muted); line-height: 1.2; }
.head-whats b { font-size: .92rem; font-weight: 600; line-height: 1.2; }

/* Carrinho */
.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, .1); display: grid; place-items: center;
  transition: background var(--t), transform var(--t);
}
.cart-btn:hover { background: rgba(255, 255, 255, .18); }
.cart-btn svg { width: 22px; fill: #fff; }
.cart-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--orange); color: var(--navy); font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--navy);
}
.icon-btn.menu-btn { display: none; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 44px; height: 44px; flex-shrink: 0; }
.menu-btn:hover { background: rgba(255, 255, 255, .18); }
.menu-btn svg { width: 22px; }

/* ---------- Barra de departamentos ---------- */
.nav { border-top: 1px solid rgba(255, 255, 255, .08); }
.nav__inner { display: flex; align-items: center; gap: var(--s-4); height: 48px; }
.dept { position: relative; flex-shrink: 0; }
.dept__btn {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--royal); color: #fff; font-weight: 600; font-size: .9rem; transition: background var(--t);
}
.dept__btn:hover, .dept__btn[aria-expanded="true"] { background: #0048ad; }
.dept__btn svg { width: 18px; color: currentColor; }
.dept__btn .dept__chev { width: 18px; transition: transform var(--t); }
.dept__btn[aria-expanded="true"] .dept__chev { transform: rotate(180deg); }
.dept__menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 45; width: 300px; max-height: 70vh; overflow: auto;
  background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 8px; animation: fade .15s;
}
.dept__menu ul { list-style: none; }
.dept__item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm); font-weight: 500; font-size: .92rem; transition: background var(--t), color var(--t);
}
.dept__item small { color: var(--muted); font-size: .78rem; background: var(--bg); border-radius: var(--r-pill); padding: 1px 8px; }
.dept__item:hover, .dept__item.active { background: var(--royal-050); color: var(--royal); }
.nav__links { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__link {
  display: block; white-space: nowrap; padding: 6px 12px; border-radius: var(--r-sm);
  color: var(--on-dark-muted); font-size: .9rem; font-weight: 500; transition: color var(--t), background var(--t);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.active { color: #fff; box-shadow: inset 0 -2px 0 var(--electric); border-radius: 0; }
/* Link "Ofertas" nos menus: amarelo das promoções */
.nav__link--promo { color: var(--yellow); font-weight: 700; }
.nav__link--promo:hover, .nav__link--promo.active { color: var(--yellow); }
.nav__link--promo.active { box-shadow: inset 0 -2px 0 var(--yellow); }
.promo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px #fff3a6; margin-right: 8px; vertical-align: 1px; }
.dept__item--promo, .menu__item--promo { font-weight: 700; color: var(--navy); }

/* ---------- Menu lateral (celular) ---------- */
.menu {
  position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(340px, 88%);
  background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  animation: slideL .22s;
}
@keyframes slideL { from { transform: translateX(-100%); } }
.menu__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--navy); }
.menu__head .logo { background: var(--surface); border-radius: var(--r); padding: 4px 8px; }
.menu__head .logo img { height: 46px; }
.menu__head .icon-btn { background: rgba(255, 255, 255, .1); border: 0; color: #fff; }
.menu__title { padding: 18px 20px 8px; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.menu__list { list-style: none; flex: 1; overflow: auto; padding: 0 10px; }
.menu__item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px;
  padding: 0 12px; border-radius: var(--r-sm); font-weight: 500; transition: background var(--t), color var(--t);
}
.menu__item small { color: var(--muted); font-size: .78rem; }
.menu__item:hover, .menu__item.active { background: var(--royal-050); color: var(--royal); }
.menu__foot { padding: 16px; border-top: 1px solid var(--line); }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.15); } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--r); font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t), color var(--t), transform var(--t);
}
.btn svg { width: 20px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
/* Laranja com texto azul-marinho: contraste 6.9:1 (branco no laranja ficava em 2.4:1) */
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 8px 18px -8px rgba(255, 137, 0, .7); }
.btn--secondary { background: var(--royal); color: #fff; }
.btn--secondary:hover { background: #0048ad; }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--royal); }
.btn--ghost:hover { border-color: var(--royal); background: var(--royal-050); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: var(--whats-hover); }
.btn--block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: background var(--t), border-color var(--t);
}
.icon-btn:hover { background: var(--royal-050); border-color: var(--royal-100); }
.link-btn { color: var(--muted); font-size: .85rem; text-decoration: underline; margin-top: 10px; }
.link-btn:hover { color: var(--royal); }

/* ---------- Destaque principal ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s-8) 0 calc(var(--s-7) + var(--s-5)); background: linear-gradient(160deg, var(--navy) 55%, #002a75 100%); color: #fff; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: center; position: relative; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 20px 0 16px; color: #fff; font-weight: 700; }
.grad { color: var(--yellow); }
.hero__sub { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.hero .btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero__stats { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stats b { display: block; font: 700 1.45rem var(--font-head); color: #fff; }
.hero__stats span { color: var(--on-dark-muted); font-size: .85rem; }

.hero__visual { position: relative; height: 420px; }
.hero__card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); padding: 0; cursor: pointer;
  background: var(--surface); border: 4px solid rgba(255, 255, 255, .9); transition: transform var(--t), border-color var(--t);
}
.hero__card:hover { transform: translateY(-4px); border-color: #fff; }
.hero__card img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.hero__tag {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .95); color: var(--text); text-align: left;
  box-shadow: var(--shadow-sm); font-size: .76rem;
}
.hero__tag b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hero__tag span { font: 700 .82rem var(--font-head); color: var(--royal); white-space: nowrap; }

/* Banners do painel (carrossel no lugar do destaque automático) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero--bn { padding: 0; }
.bn { position: relative; }
.bn__track { display: grid; }
.bn__slide { grid-area: 1 / 1; position: relative; min-width: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.bn__slide.is-on { opacity: 1; visibility: visible; }
.bn__inner { position: relative; z-index: 2; min-height: 440px; padding: var(--s-8) 0 calc(var(--s-7) + var(--s-4)); display: flex; align-items: center; }
.bn__inner--lado { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); }
.bn__txt { max-width: 620px; }
.bn__titulo { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 18px 0 14px; color: #fff; font-weight: 700; line-height: 1.1; }
.bn__titulo:first-child { margin-top: 0; }
.bn__txt .hero__actions { margin: 28px 0 0; }
.bn__visual { display: flex; justify-content: center; align-items: center; }
.bn__img { display: block; max-width: 100%; max-height: 380px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.bn--fundo .bn__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn--fundo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 27, 80, .9) 0%, rgba(0, 27, 80, .62) 45%, rgba(0, 27, 80, 0) 78%); }
.bn__arte { display: block; width: 100%; height: auto; }
/* Os cartões de diferenciais sobem sobre o fim do banner: a arte pronta termina antes deles */
.bn--imagem { padding-bottom: var(--s-6); display: flex; flex-direction: column; justify-content: center; }
.bn--fundo, .bn--lado { display: flex; flex-direction: column; justify-content: center; }
.bn__link { display: block; }
.bn__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.bn__ctrl {
  position: absolute; left: 50%; bottom: calc(var(--s-6) + 10px); transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 2px;
  padding: 4px 6px; border-radius: var(--r-pill); background: rgba(0, 27, 80, .6); backdrop-filter: blur(4px);
}
.bn__ctrl button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.15rem; line-height: 1; transition: background var(--t); }
.bn__ctrl button:hover { background: rgba(255, 255, 255, .16); }
.bn__ctrl .bn__pausa { font-size: .7rem; }
.bn__dots { display: flex; }
.bn__dot::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .5); transition: width var(--t), background var(--t); }
.bn__dot[aria-current]::before { width: 20px; background: var(--yellow); }
@media (max-width: 768px) {
  .bn__inner { min-height: 0; padding: var(--s-6) 0 calc(var(--s-7) + 10px); }
  .bn__inner--lado { grid-template-columns: 1fr; gap: var(--s-5); }
  .bn__img { max-height: 220px; }
  .bn--fundo .bn__inner { min-height: 380px; align-items: flex-end; }
  .bn--fundo::after { background: linear-gradient(0deg, rgba(0, 27, 80, .92) 35%, rgba(0, 27, 80, .35) 100%); }
  .bn__ctrl { bottom: calc(var(--s-6) + 6px); }
}
@media (prefers-reduced-motion: reduce) { .bn__slide { transition: none; } }

/* Atalhos de departamento no destaque principal */
.hero__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 32px; }
.hero__cats > span { color: var(--on-dark-muted); font-size: .85rem; margin-right: 2px; }
.hero__cats a {
  padding: 6px 14px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); transition: background var(--t), border-color var(--t), color var(--t);
}
.hero__cats a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.hero__card--a { width: 54%; height: 78%; left: 0; top: 11%; }
.hero__card--b { width: 42%; height: 47%; right: 0; top: 0; }
.hero__card--c { width: 42%; height: 47%; right: 0; bottom: 0; }

/* ---------- Diferenciais ---------- */
.perks { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--s-3); margin: calc(-1 * var(--s-6)) auto var(--s-6); position: relative; z-index: 1; }
.perks:empty { display: none; }
.perk {
  display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.perk span { font-size: 1.4rem; width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--royal-050); flex-shrink: 0; }
.perk b { display: block; font-size: .92rem; color: var(--navy); }
.perk small { color: var(--muted); }

/* ---------- Página inicial: departamentos, vitrines e marcas ---------- */
.home-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-7) 0 var(--s-8); margin-bottom: var(--s-7); }
.home-band:has(.home:empty) { display: none; }
.home { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
.home:empty { display: none; }

/* Marcador das vitrines comerciais: azul (padrão), laranja (destaques/lançamentos) e amarelo (ofertas) */
.shelf__head h2 { display: flex; align-items: center; gap: 10px; }
.shelf__head h2::before { content: ""; width: 5px; height: 1.1em; border-radius: 3px; background: var(--royal); }
.shelf--novo .shelf__head h2::before, .shelf--destaque .shelf__head h2::before { background: var(--orange); }
.shelf--promo .shelf__head h2::before { background: var(--yellow); }
.shelf--promo .shelf__head h2::after {
  content: "Preço reduzido"; font: 700 .7rem var(--font); text-transform: uppercase; letter-spacing: .04em;
  background: var(--yellow); color: var(--navy); padding: 4px 8px; border-radius: var(--r-sm);
}
.shelf__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: var(--s-4); }
.shelf__head h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
.shelf__all { color: var(--royal); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: color var(--t); }
.shelf__all:hover { color: var(--navy); text-decoration: underline; }

.depts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.dept-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: var(--s-4) var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dept-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--royal-100); }
.dept-card__img { width: 84px; height: 84px; border-radius: 50%; background: var(--royal-050); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.dept-card__img img { width: 72%; height: 72%; object-fit: contain; }
.dept-card__ini { font: 700 1.8rem var(--font-head); color: var(--royal); }
.dept-card b { font-size: .92rem; color: var(--navy); font-weight: 600; }
.dept-card small { color: var(--muted); font-size: .78rem; }

.shelf__wrap { position: relative; }
.shelf__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: -4px -2px -12px;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track > .card { scroll-snap-align: start; animation: none; }
.shelf__nav {
  position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--royal);
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background var(--t), border-color var(--t);
}
.shelf__nav:hover { background: var(--royal-050); border-color: var(--royal-100); }
.shelf__nav--prev { left: -18px; }
.shelf__nav--next { right: -18px; }

.brands__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy);
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.brand-chip small { color: var(--muted); font-weight: 500; font-size: .76rem; }
.brands__rest { margin-top: var(--s-2); }
.brand-chip:hover { border-color: var(--royal); color: var(--royal); box-shadow: var(--shadow-sm); }

/* ---------- Navegação estrutural (breadcrumb) ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .84rem; color: var(--muted); margin: var(--s-5) 0 var(--s-4); }
.crumbs li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: "›"; color: #94a3b8; }
.crumbs a { color: var(--royal); transition: color var(--t); }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Listagem (catálogo) ---------- */
.catalog { margin-bottom: var(--s-8); }
.catalog__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.catalog__title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.how h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.catalog__tools { display: flex; align-items: center; gap: 8px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.sort {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px;
  outline: 0; color: var(--text); transition: border-color var(--t), box-shadow var(--t);
}
.sort:hover { border-color: #cbd5e1; }
.sort:focus { border-color: var(--royal); box-shadow: var(--focus); }
.rates {
  display: inline-block; font-size: .85rem; color: var(--royal); margin-bottom: 16px; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--royal-050); border: 1px solid var(--royal-100); font-weight: 500;
}
.catalog__body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.catalog__main { min-width: 0; }

/* Filtros laterais */
.filters {
  position: sticky; top: 140px; max-height: calc(100vh - 156px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.filters__head { display: none; }
.filters__scroll { overflow: auto; padding: 4px 16px; }
.fgroup { border: 0; padding: 14px 0; margin: 0; }
.fgroup + .fgroup { border-top: 1px solid var(--line); }
.fgroup legend { float: left; width: 100%; font: 600 .9rem var(--font-head); color: var(--navy); padding: 0; margin-bottom: 8px; }
.fgroup legend + * { clear: both; }
.fgroup__list { display: grid; gap: 2px; max-height: 280px; overflow: auto; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--r-sm); cursor: pointer; font-size: .9rem; transition: background var(--t); }
.fopt:hover { background: var(--royal-050); }
.fopt input { accent-color: var(--royal); width: 16px; height: 16px; flex-shrink: 0; margin: 0; }
.fopt span { flex: 1; min-width: 0; }
.fopt small { color: var(--muted); font-size: .78rem; }
.fopt input:checked + span { color: var(--royal); font-weight: 600; }
.fopt--zero { opacity: .5; }
.fopt[hidden] { display: none; }
.fsearch {
  width: 100%; height: 38px; padding: 0 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: .88rem; outline: 0; transition: border-color var(--t), box-shadow var(--t);
}
.fsearch:focus { border-color: var(--royal); box-shadow: var(--focus); }
.fgroup__none { font-size: .85rem; color: var(--muted); padding: 6px 8px; }
.filters__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.filters__foot .link-btn { margin: 0; }
.filters__foot .btn { display: none; }
.filters-btn { display: none; height: 44px; padding: 0 16px; }
.filters-btn svg { width: 18px; }
.filters-btn__n { min-width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--royal); color: #fff; font-size: .72rem; display: grid; place-items: center; }

/* Filtros ativos */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--s-4); }
.active-filters:empty { display: none; }
.af {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--royal-050); border: 1px solid var(--royal-100); color: var(--royal); font-size: .85rem; font-weight: 500;
  transition: background var(--t), border-color var(--t);
}
.af:hover { background: var(--royal-100); border-color: var(--royal); }
.af span { font-size: .75rem; }
.af__clear { margin: 0; }

/* ---------- Card de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-4); }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  animation: in .25s both;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--royal-100); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); cursor: pointer; padding: var(--s-4); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t); }
.card:hover .card__media img { transform: scale(1.03); }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--r-sm);
  font-size: .72rem; font-weight: 700; background: var(--royal); color: #fff; letter-spacing: .01em;
}
.badge--off { left: auto; right: 10px; background: var(--yellow); color: var(--navy); }
.badge--out { background: #e2e8f0; color: #475569; }
.card--out .card__media img { filter: grayscale(1); opacity: .5; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.card__name {
  font: 600 .95rem/1.35 var(--font); color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.card__name a { transition: color var(--t); }
.card__name a:hover { color: var(--royal); }
.card__sku { font-size: .74rem; color: var(--muted); }

/* Disponibilidade real (verde = disponível) */
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--green-700); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.avail--low { color: #b45309; }
.avail--low::before { background: var(--orange); }
.avail--out { color: var(--muted); }
.avail--out::before { background: #cbd5e1; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.price b { font: 700 1.3rem var(--font-head); color: var(--royal); }
.price s { color: var(--muted); font-size: .85rem; }
.price small { color: var(--muted); font-size: .78rem; }
.price-alt { color: var(--muted); font-size: .8rem; }
.price-alt b { color: var(--ink, inherit); font-weight: 700; }
.price .price-de { flex-basis: 100%; margin-bottom: -6px; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; }
.card__actions { display: flex; gap: 8px; margin-top: 12px; }
.card__actions .btn { height: 42px; padding: 0 14px; font-size: .88rem; flex: 1; }
.card__actions .btn--ghost { flex: 0 0 42px; padding: 0; }
.card__actions .btn--ghost svg { width: 20px; color: var(--green-700); }
.card__actions .btn--wide { flex: 1; padding: 0 14px; }

.more { display: flex; justify-content: center; margin-top: 28px; }
.empty {
  text-align: center; padding: 48px 24px; color: var(--muted); display: grid; gap: 16px; justify-items: center;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r);
}
.empty b { color: var(--navy); font-size: 1.05rem; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Estados de carregamento (esqueletos) */
.sk { display: block; border-radius: var(--r); background: linear-gradient(90deg, #edf2f8 25%, #f6f9fd 50%, #edf2f8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.sk--card { aspect-ratio: 3 / 4.3; }
.sk--title { width: 220px; height: 28px; margin-bottom: 16px; }
.sk-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-4); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Como comprar ---------- */
.how { margin: var(--s-8) auto; }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: 24px; }
.step { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); margin-bottom: 14px;
  background: var(--royal-050); color: var(--royal); font: 700 1.05rem var(--font-head);
}
.step b { font: 600 1.08rem var(--font-head); color: var(--navy); }
.step p { color: var(--muted); margin-top: 6px; }

/* ---------- Rodapé ---------- */
.footer { padding: 44px 0 24px; background: var(--navy); color: #fff; }
.footer .muted { color: var(--on-dark-muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__inner p { margin-top: 10px; font-size: .9rem; }
.footer__links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer__links a { color: var(--on-dark-muted); transition: color var(--t); }
.footer__links a:hover { color: #fff; }
.footer__copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }

/* ---------- WhatsApp flutuante ---------- */
.float-whats {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whats); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 184, 63, .6); transition: transform var(--t), background var(--t);
}
.float-whats:hover { transform: scale(1.06); background: var(--whats-hover); }
.float-whats svg { width: 30px; }

/* ---------- Página de produto ---------- */
.product { margin-bottom: var(--s-8); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.pdp__gallery { position: sticky; top: 140px; }
.pdp__main {
  position: relative; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-sm);
}
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdp__thumb {
  width: 72px; height: 72px; padding: 6px; border-radius: var(--r-sm); background: var(--surface);
  border: 1px solid var(--line); transition: border-color var(--t);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumb:hover { border-color: var(--royal-100); }
.pdp__thumb.active { border: 2px solid var(--royal); }
.pdp__info {
  display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); box-shadow: var(--shadow-sm);
}
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.pdp__brand { color: var(--royal); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pdp__brand:hover { text-decoration: underline; }
.pdp__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.25; }
.pdp__price { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__price .price { padding-top: 0; }
.pdp__price .price b { font-size: 2rem; }
.pdp__price .price-alt { font-size: .9rem; margin-top: 4px; }
/* Oferta com prazo: contagem regressiva na página do produto */
.promo-timer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fff8d6; border: 1px solid var(--yellow); color: var(--navy); font-size: .9rem; }
.promo-timer b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.promo-timer small { flex-basis: 100%; color: var(--muted); font-size: .78rem; }
.pdp__block { display: grid; gap: 8px; justify-items: start; }
.pdp__btns { display: grid; gap: 10px; }
.pdp__btns .btn { height: 52px; font-size: 1rem; }
.pdp__note { font-size: .82rem; color: var(--muted); }
.pdp__extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.pdp__section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); }
.pdp__section h2 { font-size: 1.15rem; margin-bottom: 12px; }
.pdp__section p { color: var(--text); white-space: pre-line; }
.pdp__related { margin-top: var(--s-7); }
.pdp__facts { list-style: none; display: grid; gap: 12px; font-size: .92rem; }
.pdp__facts li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.pdp__facts li > span:first-child { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--royal-050); display: grid; place-items: center; font-size: .9rem; }

/* Barra fixa de compra (só no celular, quando os botões principais saem da tela) */
.pdp__bar { display: none; }
@media (max-width: 768px) {
  .pdp__bar:not([hidden]) {
    position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(16, 37, 77, .25); animation: barUp .2s;
  }
  .pdp__bar-price { flex: 1; min-width: 0; display: grid; }
  .pdp__bar-price small { color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp__bar-price b { font: 700 1.15rem var(--font-head); color: var(--royal); }
  .pdp__bar .btn { height: 46px; padding: 0 22px; }
  body.has-bar .float-whats { bottom: 86px; }
  body.has-bar .toast { bottom: 90px; }
}
@keyframes barUp { from { transform: translateY(100%); } }
.badge--inline { position: static; }
.pdp__main .badge--off { top: 14px; right: 14px; }

/* ---------- Overlay e carrinho ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 27, 80, .45); backdrop-filter: blur(2px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: .9rem; background: var(--surface); transition: border-color var(--t), background var(--t); }
.opt:hover { border-color: var(--royal); }
.opt.active { border-color: var(--royal); background: var(--royal-050); color: var(--royal); font-weight: 600; }
.label { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 40px; font-size: 1.1rem; color: var(--royal); transition: background var(--t); }
.qty button:hover { background: var(--royal-050); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: .92rem; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

.drawer {
  position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  animation: slide .22s; overflow-y: auto; overscroll-behavior: contain;
}
@keyframes slide { from { transform: translateX(100%); } }
/* O carrinho rola inteiro (itens + formulário); o título fica fixo no topo */
.drawer__head { position: sticky; top: 0; z-index: 1; background: var(--surface); display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.15rem; }
.drawer__items { flex: 1 0 auto; padding: 8px 20px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 60px 0; display: grid; gap: 14px; justify-items: center; }
.drawer__empty span { font-size: 3rem; }
.item { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item img { width: 68px; height: 68px; border-radius: var(--r-sm); object-fit: contain; background: var(--surface); border: 1px solid var(--line); padding: 4px; }
.item b { font-size: .9rem; display: block; font-weight: 600; }
.item small { color: var(--muted); display: block; }
.item .qty button { width: 36px; height: 36px; }
.item .qty span { min-width: 26px; font-size: .9rem; }
.item__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.item__rm { color: var(--muted); font-size: .78rem; text-decoration: underline; }
.item__rm:hover { color: var(--danger); }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line); text-align: center; background: var(--bg); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer__total b { font: 700 1.4rem var(--font-head); color: var(--royal); }
.checkout { display: grid; gap: 8px; text-align: left; }
.checkout input, .checkout textarea, .checkout select {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; outline: 0; resize: none; transition: border-color var(--t), box-shadow var(--t);
}
.checkout select { min-width: 0; color: var(--text); }
.checkout input:focus, .checkout textarea:focus, .checkout select:focus { border-color: var(--royal); box-shadow: var(--focus); }
.checkout .btn { margin-top: 4px; }
.cart-note { font-size: .8rem; margin: -6px 0 12px; text-align: left; }

/* Atalho "Pular para o conteúdo" (aparece só ao navegar com Tab) */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--surface); color: var(--royal); font-weight: 600; box-shadow: var(--shadow-lg);
  transform: translateY(-150%); transition: transform var(--t);
}
.skip:focus { transform: none; }
#main:focus, [tabindex="-1"]:focus { outline: none; box-shadow: none; }

/* Área de toque maior para links de texto (sem mudar o visual) */
.shelf__all, .pdp__brand, .af__clear { display: inline-block; padding: 10px 6px; margin: -10px -6px; }
.cart-note:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 140%);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); font-weight: 500; font-size: .92rem;
  box-shadow: var(--shadow-lg); transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), visibility .25s; pointer-events: none; white-space: nowrap;
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Responsivo (1440 · 1024 · 768 · 390 · 360) ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .icon-btn.menu-btn { display: grid; }
  .header__inner { gap: var(--s-4); }
  .head-whats { padding: 6px; }
  .head-whats span { display: none; }
  .catalog__body { grid-template-columns: minmax(0, 1fr); }
  .filters-btn { display: inline-flex; }
  /* Filtros viram painel lateral no celular/tablet */
  .filters {
    position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(340px, 88%); max-height: none;
    border-radius: 0; border: 0; box-shadow: var(--shadow-lg); transform: translateX(-105%); visibility: hidden;
    transition: transform .22s ease, visibility .22s;
  }
  .filters.open { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .filters__head h2 { font-size: 1.1rem; }
  .filters__scroll { flex: 1; }
  .filters__foot .btn { display: inline-flex; }
  .fgroup__list { max-height: none; }
  .fopt { min-height: 44px; }
  .pdp { gap: var(--s-4); }
  .pdp__gallery { top: 100px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .shelf__nav { display: none; }
}
@media (max-width: 560px) {
  .home { gap: var(--s-7); }
  .home-band { padding: var(--s-6) 0 var(--s-7); }
  .hero__cats { margin: -8px 0 24px; }
  .shelf__track { grid-auto-columns: calc(50% - 6px); gap: 12px; }
  .depts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dept-card { padding: 12px 6px; }
  .dept-card__img { width: 60px; height: 60px; }
  .dept-card b { font-size: .8rem; }
}
@media (max-width: 768px) {
  .how__steps { grid-template-columns: 1fr; }
  .header__inner { flex-wrap: wrap; height: auto; padding: 10px 0 12px; gap: 10px 12px; }
  .header .logo img { height: 46px; }
  .search-wrap { order: 3; max-width: none; flex-basis: 100%; }
  .search { height: 46px; }
  .head-whats { margin-left: auto; }
  .sug { grid-template-columns: 44px 1fr; }
  .sug__price { grid-column: 2; }
  .hero { padding: var(--s-6) 0 var(--s-7); }
  .catalog__head { flex-direction: column; align-items: stretch; }
  .catalog__tools .sort-wrap { flex: 1; min-width: 0; }
  .catalog__tools .sort-wrap span { display: none; }
  .catalog__tools .sort { flex: 1; min-width: 0; height: 44px; }
  .crumbs ol { margin: var(--s-4) 0 var(--s-3); }
  .crumbs [aria-current] { max-width: 24ch; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp__gallery { position: static; width: 100%; max-width: 480px; margin-inline: auto; }
  .pdp__main { padding: var(--s-4); }
  .pdp__info { padding: var(--s-4); }
  .pdp__price .price b { font-size: 1.7rem; }
  .pdp__extra { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
}
@media (max-width: 560px) {
  .grid, .sk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__media { padding: 10px; }
  .card__body { padding: 10px 12px 12px; }
  .card__name { font-size: .86rem; }
  .price b { font-size: 1.08rem; }
  .price-alt { font-size: .74rem; }
  .card__actions .btn { font-size: .82rem; padding: 0 8px; height: 44px; }
  .card__actions .btn--ghost { flex-basis: 44px; }
  .perks { gap: 8px; }
  .perk { padding: 12px; gap: 10px; }
  .perk span { width: 36px; height: 36px; font-size: 1.1rem; }
}
@media (max-width: 380px) {
  .logo img { height: 50px; }
  .perks { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
