/* =========================================================
   Loja — visual clean / esportivo-premium
   ========================================================= */

:root {
  --bg: #ffffff;
  --soft: #f5f5f5;
  --soft-2: #ededed;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #707072;
  --line: #e5e5e5;
  --sale: #d33918;
  --ok: #128a3e;
  --danger: #d33918;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --maxw: 1920px;
  --header-h: 64px;
  --pill: 999px;
  --foto: 3 / 4;          /* proporção padrão de todas as fotos de produto */
  --foto-pos: center 25%; /* ponto de foco ao preencher o quadro */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Escala de títulos (todo o site usa só estes tamanhos) */
  --fs-hero: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);      /* título principal: 38px no celular → 76px */
  --fs-display: clamp(2rem, 1.2rem + 3.2vw, 3.75rem);   /* frases de impacto: 32px → 60px */
  --fs-title: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);     /* títulos de página de destaque: 32px → 44px */
  --fs-cat: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);      /* nomes de categoria: 22px → 30px */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .875em; }
.sr-only, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); }

/* Tipografia de impacto */
.display {
  font-family: var(--display); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: .9; letter-spacing: -.005em; margin: 0;
}
.eyebrow { display: block; font-size: .875rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--pill);
  font-size: 1rem; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent; position: relative;
  transition: background .2s, color .2s, border-color .2s, transform .15s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .35; pointer-events: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #4b4b4d; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft-2); }
.btn-outline { border-color: #cacacb; color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-block { display: flex; width: 100%; }
.btn-grow { flex: 1; }
.btn-sm { min-height: 36px; padding: 0 18px; font-size: .875rem; }
.btn-lg { min-height: 60px; font-size: 1.05rem; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; left: 50%; top: 50%; margin: -9px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-plain { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-plain:hover { color: var(--muted); }
.link-btn { font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; position: relative; transition: background .2s; flex: none; }
.icon-btn:hover { background: var(--soft-2); }

/* ---------- Logo ---------- */
.logo { --logo-h: 34px; display: inline-flex; align-items: center; flex: none; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: var(--logo-h, 34px); width: auto; max-width: min(200px, 40vw); object-fit: contain; }
.brand .brand-on-dark { display: none; }
.brand-text { font-family: var(--display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: calc(var(--logo-h, 34px) * .7); letter-spacing: .01em; white-space: nowrap; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  transition: transform .35s var(--ease), box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 1rem; font-weight: 500; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.search-pill { display: flex; align-items: center; gap: 6px; background: var(--soft); border-radius: var(--pill); padding: 0 6px 0 10px; height: 40px; width: 180px; transition: background .2s, width .35s var(--ease); }
.search-pill:hover { background: var(--soft-2); }
.search-pill:focus-within { width: 240px; background: var(--soft-2); }
.search-pill svg { flex: none; }
.search-pill input { border: 0; background: none; outline: none; width: 100%; font-size: .95rem; padding: 0 4px; }
.search-pill input::-webkit-search-cancel-button { display: none; }
.search-mobile, .menu-toggle { display: none; }
.cart-count {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; font-weight: 700; line-height: 1; pointer-events: none;
  transition: transform .3s var(--ease);
}
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateX(-50%) scale(1.6); } }

@media (max-width: 1100px) {
  .search-pill { width: 150px; }
  .nav a { padding: 8px 9px; font-size: .95rem; }
}
@media (max-width: 960px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nav, .search-pill { display: none; }
  .search-mobile, .menu-toggle { display: inline-grid; }
  :root { --header-h: 60px; }
  .logo { --logo-h: 30px; }
}

/* Barra de avisos */
.promo-bar { position: relative; background: var(--soft); text-align: center; height: 44px; overflow: hidden; }
.promo-bar p {
  position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 0 16px;
  font-size: .875rem; font-weight: 500; opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.promo-bar p.is-active { opacity: 1; transform: none; }

/* ---------- Menu (celular e tablet) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; transition: visibility 0s linear .5s; }
.drawer.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.42); opacity: 0; transition: opacity .45s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff;
  box-shadow: -24px 0 60px rgba(0,0,0,.12); outline: none; overflow: hidden;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h); padding: 0 16px 0 24px; border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
}
.drawer-logo { --logo-h: 26px; min-width: 0; }
.drawer-close {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%;
  background: var(--soft); color: var(--ink); cursor: pointer; transition: background .2s, transform .3s var(--ease);
}
.drawer-close:active { transform: scale(.92); }
.drawer-body { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 20px 24px 28px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #d6d6d6 transparent; }
.drawer-body::-webkit-scrollbar { width: 6px; }
.drawer-body::-webkit-scrollbar-thumb { background: #d6d6d6; border-radius: 6px; }

.drawer-search { display: flex; align-items: center; gap: 10px; margin-top: 16px; height: 48px; padding: 0 16px; border-radius: var(--pill); background: var(--soft); transition: background .2s, box-shadow .2s; }
.drawer-search:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.drawer-search svg { flex: none; color: var(--muted); }
.drawer-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; }
.drawer-search input::-webkit-search-cancel-button { display: none; }

.drawer-welcome { margin: 0; padding: 16px; border-radius: 16px; background: var(--soft); }
.drawer-welcome p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.drawer-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.drawer-auth .btn { width: 100%; }
.drawer-welcome .btn-outline { background: #fff; }
.drawer-user { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--soft); min-width: 0; }
.drawer-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.1rem/1 var(--display); }
.drawer-user-txt { display: grid; min-width: 0; line-height: 1.2; }
.drawer-user-txt small { color: var(--muted); font-size: .8rem; }
.drawer-user-txt strong { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-user-link { margin-left: auto; flex: none; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.drawer-nav { display: flex; flex-direction: column; margin-top: 18px; }
.drawer-nav a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 1.75rem);
  letter-spacing: -.015em; line-height: 1.1; text-transform: uppercase;
  opacity: 0; transform: translateX(24px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), color .2s;
}
.drawer-nav a span { min-width: 0; overflow-wrap: anywhere; }
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 140ms), calc(var(--i, 0) * 45ms + 140ms), 0s; }
.drawer-nav .dn-seta { flex: none; color: var(--muted); transition: transform .35s var(--ease), color .2s; }
.drawer-nav a:active .dn-seta { transform: translateX(6px); color: var(--ink); }
.drawer-nav a.is-active { color: var(--ink); }
.drawer-nav a.is-active::before { content: ""; position: absolute; left: -24px; top: 50%; width: 4px; height: 26px; margin-top: -13px; border-radius: 0 4px 4px 0; background: var(--ink); }
.drawer-nav a.is-sale { color: var(--sale); }
.drawer-nav a.is-sale .dn-seta { color: var(--sale); }
.drawer-nav a.is-sale.is-active::before { background: var(--sale); }

.drawer-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.drawer-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0;
  min-height: 92px; padding: 14px; border-radius: 16px; background: var(--soft);
  font-size: .92rem; font-weight: 600; line-height: 1.25; transition: background .2s, transform .25s var(--ease);
}
.drawer-tile:active { transform: scale(.97); }
.drawer-tile span { overflow-wrap: anywhere; }
.drawer-badge {
  position: absolute; top: 12px; right: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill);
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
}
.drawer-badge.is-empty { display: none; }

.drawer-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-social { display: flex; gap: 8px; }
.drawer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); transition: background .2s; }
.drawer-social svg { width: 18px; height: 18px; }
.drawer-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.drawer-legal a { padding: 4px 0; }

@media (hover: hover) {
  .drawer-close:hover { background: var(--soft-2); transform: rotate(90deg); }
  .drawer-nav a:hover .dn-seta { transform: translateX(6px); color: var(--ink); }
  .drawer-nav a.is-sale:hover .dn-seta { color: var(--sale); }
  .drawer-tile:hover, .drawer-social a:hover, .drawer-user:hover { background: var(--soft-2); }
  .drawer-legal a:hover { color: var(--ink); }
}
@media (max-width: 480px) {
  .drawer-panel { box-shadow: none; }
  .drawer-head { padding-left: 20px; padding-right: 12px; }
  .drawer-body { padding: 18px 20px 24px; }
  .drawer-foot { padding-left: 20px; padding-right: 20px; }
  .drawer-nav a.is-active::before { left: -20px; }
}
@media (max-width: 340px) {
  .drawer-tiles, .drawer-auth { grid-template-columns: minmax(0, 1fr); }
  .drawer-tile { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer-backdrop, .drawer-nav a { transition: none !important; }
  .drawer-nav a { opacity: 1; transform: none; }
}

/* ---------- Busca mobile ---------- */
.search-overlay {
  position: fixed; inset: 0 0 auto; z-index: 90; background: #fff; padding: 12px 0;
  transform: translateY(-105%); transition: transform .4s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.search-overlay.is-open { transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: var(--pill); padding: 0 18px; height: 48px; }
.search-form input { flex: 1; border: 0; background: none; outline: none; font-size: 1rem; min-width: 0; }
.search-form input::-webkit-search-cancel-button { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: var(--gutter); top: 76px; z-index: 120; width: min(380px, calc(100vw - 32px));
  background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 18px 50px -12px rgba(0,0,0,.25);
  display: grid; gap: 14px; font-size: .95rem;
  opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-show { opacity: 1; transform: none; pointer-events: auto; }
.toast-msg { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.toast-msg::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.toast.is-error .toast-msg::before { background-color: var(--danger); background-image: none; content: "!"; color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.toast .btn { min-height: 44px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 88px) 0 clamp(20px, 3vw, 48px); }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-kicker { font-size: 1rem; font-weight: 500; margin-bottom: 14px; }
.hero-title { font-size: var(--fs-hero); line-height: .95; max-width: 18ch; }
.hero-sub { max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.125rem); margin: 18px 0 28px; color: var(--ink-2); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-banner { display: block; margin-top: clamp(36px, 5vw, 72px); overflow: hidden; background: var(--soft); }
.hero-banner img { width: 100%; max-height: 82vh; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .hero-banner:hover img { transform: scale(1.02); } }

.hero-showcase { display: grid; gap: 12px; margin-top: clamp(36px, 5vw, 72px); }
.hero-showcase.count-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-showcase.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-item { display: block; min-width: 0; }
.showcase-media { display: block; position: relative; aspect-ratio: var(--foto); overflow: hidden; background: var(--soft); }
.hero-showcase.count-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.showcase-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos); transition: transform .8s var(--ease); }
@media (hover: hover) { .showcase-item:hover img { transform: scale(1.03); } }
.showcase-info { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-weight: 500; }
.showcase-info strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-info span { flex: none; }
@media (max-width: 760px) {
  .hero-showcase { display: none; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; padding: 0 16px; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(32px, 5vw, 80px) 0; }
.section-tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
.section-tools { display: flex; align-items: center; gap: 18px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.arrow:hover { background: var(--soft-2); }
.arrow:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 640px) { .arrows { display: none; } }

/* Trilho horizontal de produtos */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 46%; gap: 10px; } }

/* ---------- Grade e card de produto ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 12px; }
.products-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1800px) { .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .products-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .products-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .products-grid, .products-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; } }

.card { min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: var(--foto); overflow: hidden; background: var(--soft); border-radius: 4px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card-alt { opacity: 0; }
@media (hover: hover) { .card-media.has-alt:hover .card-alt { opacity: 1; } }
@media (hover: hover) { .card-media:not(.has-alt):hover img { transform: scale(1.03); } }
.card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; opacity: .12; --logo-h: 40px; }
.card-placeholder .brand img { max-width: 50%; margin: 0 auto; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.card-flag { font-size: .95rem; font-weight: 500; color: var(--sale); }
.card-flag.is-muted { color: var(--muted); }
.card-title { font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.4; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-cat { font-size: .95rem; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.price strong { font-weight: 500; }
.price s { color: var(--muted); font-size: .95em; }
.price .off { color: var(--ok); font-weight: 500; font-size: .95em; }
.price-lg { font-size: 1.125rem; margin-top: 16px; }
.price-lg .tag { display: none; }
@media (max-width: 760px) { .card-title, .card-cat, .card-flag { font-size: .875rem; } .price { font-size: .875rem; } }

/* ---------- Categorias ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat-card { display: block; min-width: 0; }
.cat-media { display: block; position: relative; aspect-ratio: var(--foto); overflow: hidden; background: var(--soft); border-radius: 4px; }
.cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos); transition: transform .9s var(--ease); }
@media (hover: hover) { .cat-card:hover .cat-media img { transform: scale(1.03); } }
.cat-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.cat-name { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: var(--fs-cat); line-height: 1; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; flex: none; }
.cat-link svg { transition: transform .3s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .cats-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .cats-grid::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; }
  .cat-info { padding-top: 10px; }
  .cat-link { font-size: .875rem; }
}

/* ---------- Frase de marca ---------- */
.statement { padding: clamp(64px, 10vw, 160px) 0; text-align: center; }
.statement .container { display: flex; flex-direction: column; align-items: center; }
.statement-title { font-size: var(--fs-display); line-height: .95; max-width: 20ch; }
.statement p { max-width: 54ch; color: var(--ink-2); margin: 24px 0 30px; font-size: 1.05rem; }

/* ---------- Vazio ---------- */
.empty { text-align: center; padding: clamp(48px, 8vw, 110px) 20px; max-width: 520px; margin: 0 auto; }
.empty h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 8px; }
.empty p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Vantagens + rodapé ---------- */
.perks { border-top: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk svg { width: 28px; height: 28px; flex: none; }
.perk strong { display: block; font-weight: 500; font-size: .95rem; }
.perk span { font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perk { flex-direction: column; align-items: flex-start; gap: 8px; } }


.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); transition: transform .3s var(--ease), background .2s;
  animation: popIn .6s 1.2s var(--ease) both;
}
.wa-float:hover { transform: scale(1.06); background: #25d366; }
@media (max-width: 960px) { .wa-float { display: none; } }
@keyframes popIn { from { transform: scale(0); } }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(16px, 2vw, 28px); }
.page-hero-sm { padding-bottom: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.015em; }

/* ---------- Loja ---------- */
.shop { padding: 24px 0 clamp(56px, 7vw, 100px); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-title { font-size: clamp(1.5rem, 2.2vw, 1.75rem); font-weight: 500; margin: 0; line-height: 1.2; }
.shop-title span { color: var(--muted); font-weight: 400; }
.select { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.select select {
  appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center no-repeat;
  padding: 8px 26px 8px 4px; font-weight: 500; cursor: pointer; outline: none;
}
.select select:focus-visible { outline: 2px solid var(--ink); }
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow-y: auto; }
.filters a { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-weight: 500; transition: color .2s; }
.filters a small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.filters a:hover { color: var(--muted); }
.filters a.is-active { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.filters hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; width: 100%; }
.filters .filter-check { justify-content: flex-start; gap: 10px; font-weight: 400; text-decoration: none !important; }
.filter-check i { width: 20px; height: 20px; border: 1.5px solid #cacacb; border-radius: 5px; transition: all .2s; }
.filter-check.is-active i { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--ink); }
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { position: static; flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 8px; max-height: none; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex: none; padding: 8px 16px; border-radius: var(--pill); background: var(--soft); gap: 6px; }
  .filters a.is-active { background: var(--ink); color: #fff; text-decoration: none; }
  .filters a.is-active small { color: #bbb; }
  .filters hr { display: none; }
  .filter-check i { display: none; }
}
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--pill); font-weight: 500; transition: background .2s; }
.pagination a:hover { background: var(--soft); }
.pagination a.is-active { background: var(--ink); color: #fff; }

/* ---------- Produto ---------- */
.product { padding: 24px 0 clamp(56px, 7vw, 100px); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; max-width: 1400px; margin: 0 auto; }
.gallery { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; position: sticky; top: 90px; }
.gallery-main { grid-column: 2; grid-row: 1; position: relative; }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; }
.gallery-thumbs button { aspect-ratio: var(--foto); overflow: hidden; border-radius: 6px; background: var(--soft); opacity: .6; transition: opacity .2s; position: relative; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button.is-active::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-track { --i: 0; --dx: 0px; display: flex; overflow: hidden; border-radius: 8px; touch-action: pan-y pinch-zoom; }
.gallery-slide { flex: 0 0 100%; margin: 0; transform: translate3d(calc(var(--i) * -100% + var(--dx)), 0, 0); transition: transform .38s var(--ease); will-change: transform; aspect-ratio: var(--foto); overflow: hidden; background: var(--soft); position: relative; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-empty { cursor: default; border-radius: 8px; }
.gallery-empty .card-placeholder { --logo-h: 56px; }
.gallery-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; padding-top: 8px; }
.gallery-zoom { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--pill); font-size: .875rem; font-weight: 500; transition: background .2s; }
.gallery-zoom:hover { background: var(--soft); }
.gallery-dots { display: none; gap: 6px; margin-right: auto; }
.gallery-dots button { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.25); transition: all .3s; }
.gallery-dots button.is-active { background: var(--ink); width: 18px; border-radius: 3px; }
.product-sticky { position: sticky; top: 90px; }
.product-title { font-size: clamp(1.5rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.product-cat { margin: 2px 0 0; font-weight: 500; }
.installments { color: var(--muted); font-size: .875rem; margin: 4px 0 36px; }
.sizes { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.sizes legend { font-weight: 500; margin-bottom: 12px; padding: 0; }
.size-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.size span { display: grid; place-items: center; height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.size:hover span { border-color: var(--ink); }
.size input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.size.is-out span { color: #c4c4c4; background: var(--soft); border-color: var(--soft); cursor: not-allowed; }
.size.is-out input { cursor: not-allowed; }
.stock-hint { min-height: 1.4em; font-size: .875rem; color: var(--sale); margin: 10px 0 0; font-weight: 500; }
.sizes.is-shake { animation: shake .35s; }
.sizes.is-shake legend { color: var(--danger); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn { min-height: 60px; font-size: 1.05rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); height: 60px; padding: 0 4px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; transition: background .2s; }
.qty button:hover { background: var(--soft); }
.qty input { width: 32px; border: 0; text-align: center; background: none; -moz-appearance: textfield; appearance: textfield; outline: none; font-weight: 500; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; }
.qty-sm button { width: 32px; height: 32px; }
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.125rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.accordion details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.accordion-body { padding: 0 0 24px; color: var(--ink-2); animation: fadeUp .4s var(--ease); }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--gutter)); position: static; }
  .gallery-main { grid-column: 1; }
  .gallery-track { border-radius: 0; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .gallery-bar { padding: 8px var(--gutter) 0; }
  .product-sticky { position: static; }
}

/* ---------- Tela cheia com zoom ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--gutter); flex: none; }
.lb-count { font-weight: 500; font-size: .95rem; }
.lb-stage { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lightbox.is-zoomed .lb-stage { cursor: grab; }
.lightbox.is-zoomed .lb-stage:active { cursor: grabbing; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; will-change: transform; -webkit-user-drag: none; pointer-events: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lightbox.is-zoomed .lb-prev, .lightbox.is-zoomed .lb-next, .lightbox.is-zoomed .lb-hint { opacity: 0; pointer-events: none; }
.lb-hint { text-align: center; color: var(--muted); font-size: .85rem; margin: 0; padding: 12px 16px 18px; flex: none; transition: opacity .2s; }
@media (max-width: 640px) { .lb-prev, .lb-next { display: none; } }

/* ---------- Alertas ---------- */
.alert { padding: 14px 18px; margin-bottom: 20px; border-radius: 12px; background: var(--soft); font-size: .95rem; }
.alert-ok { background: #e8f5ec; color: #0d5c2a; }
.alert-error { background: #fdece8; color: #a12a10; }

/* ---------- Sacola ---------- */
.cart, .checkout { padding-bottom: clamp(56px, 7vw, 100px); }
.cart-grid, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 72px); align-items: start; max-width: 1200px; }
.ship-progress { background: var(--soft); padding: 16px 20px; border-radius: 12px; margin-bottom: 8px; }
.ship-progress p { margin: 0 0 10px; font-size: .95rem; }
.bar { height: 4px; background: #dcdcdc; border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); border-radius: 2px; transition: width .8s var(--ease); }
.cart-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); border-radius: 6px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-name { font-weight: 500; }
.cart-name:hover { text-decoration: underline; }
.cart-info .muted { font-size: .95rem; }
.cart-unit { color: var(--muted); font-size: .95rem; }
.cart-actions { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.cart-total { font-weight: 500; }
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .cart-total { grid-column: 2; }
}
.summary { position: sticky; top: 90px; }
.summary h2 { font-size: 1.5rem; font-weight: 500; margin: 0 0 20px; }
.summary dl { margin: 0 0 24px; }
.summary dl div, .order-box dl div { display: flex; justify-content: space-between; padding: 6px 0; }
.summary dd, .order-box dd { margin: 0; }
.summary-total { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 12px; padding: 16px 0 !important; font-weight: 500; }
.summary .btn { min-height: 60px; }
.summary .btn + .btn { margin-top: 10px; }
.summary-items { list-style: none; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.summary-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 0; font-size: .95rem; }
.summary-thumb { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: 6px; }
.summary-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 6px; }

.summary-name small { display: block; color: var(--muted); }
@media (max-width: 960px) {
  .cart-grid, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}

/* ---------- Checkout ---------- */
.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.checkout-form legend { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; font-weight: 500; margin-bottom: 20px; padding: 0; }
.checkout-form legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; }
.col-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .875rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid #cacacb; background: #fff; padding: 0 16px; height: 56px; border-radius: 8px;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field small { color: var(--danger); font-size: .8rem; }
.field.has-error input { border-color: var(--danger); }
.field.is-loading input { background: linear-gradient(90deg, #fff, var(--soft), #fff) 0 0 / 200% 100%; animation: shimmer 1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } .field-spacer { display: none; } }
.pay-note { display: flex; gap: 14px; padding: 18px 20px; background: var(--soft); border-radius: 12px; font-size: .95rem; }
.pay-note svg { flex: none; }
.pay-note p { margin: 0; color: var(--ink-2); }

/* ---------- Pedido ---------- */
.order { padding-top: clamp(32px, 5vw, 64px); }
.order-success { text-align: center; margin-bottom: 36px; }
.order-success .page-title { margin: 18px 0 8px; }
.check-anim svg { width: 64px; height: 64px; margin: 0 auto; stroke: var(--ok); stroke-width: 2.5; }
.check-anim circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .6s var(--ease) forwards; stroke-linecap: round; stroke-linejoin: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.timeline { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { position: relative; text-align: center; font-size: .8rem; color: var(--muted); padding-top: 28px; }
.timeline li span { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--line); z-index: 1; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.is-done { color: var(--ink); font-weight: 500; }
.timeline li.is-done span, .timeline li.is-done::before { background: var(--ink); }
.timeline li.is-current span { box-shadow: 0 0 0 5px var(--soft-2); }
@media (max-width: 560px) { .timeline li { font-size: .66rem; } }
.pay-box, .order-box, .lookup { background: var(--soft); border-radius: 16px; padding: clamp(22px, 4vw, 36px); margin-bottom: 16px; }
.pay-box h2, .order-box h2 { font-size: 1.25rem; font-weight: 500; margin: 0 0 12px; }
.order-box h2:not(:first-child) { margin-top: 26px; }
.pix { display: flex; gap: 10px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.pix code { flex: 1; min-width: 0; padding: 14px 16px; background: #fff; border-radius: 8px; font-size: .95rem; word-break: break-all; }
.order-items { list-style: none; padding: 0; margin: 0 0 14px; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lookup .page-title { margin-bottom: 24px; }
.lookup .fields { margin-top: 8px; }

/* ---------- Cores ---------- */
.swatch { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--sw); flex: none; }
.swatch.is-light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatch-sm { width: 14px; height: 14px; }
.swatch-xs { width: 12px; height: 12px; vertical-align: -1px; }
.colorways { margin: 4px 0 26px; }
.colorways-label { margin: 0 0 12px; font-size: .95rem; }
.colorways-label strong { font-weight: 500; }
.colorways-list { display: flex; flex-wrap: wrap; gap: 10px; }
.colorway { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: box-shadow .2s; }
.colorway:hover { box-shadow: 0 0 0 1px #b5b5b5; }
.colorway.is-active { box-shadow: 0 0 0 2px var(--ink); }
.colorway.is-out .swatch { opacity: .35; }
.colorway.is-out::after { content: ""; position: absolute; width: 2px; height: 34px; background: #9a9a9a; transform: rotate(45deg); border-radius: 1px; }
.card-colors { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.card-colors .more { font-size: .78rem; color: var(--muted); margin-left: 2px; }
.filter-title { font-weight: 500; margin: 0 0 8px; }
.filter-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; }
.filters .filter-color { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 4px 0; font-size: .78rem; font-weight: 400; text-align: center; text-decoration: none !important; }
.filter-color .swatch { width: 28px; height: 28px; transition: box-shadow .2s; }
.filter-color.is-active .swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.filter-color.is-active span { font-weight: 600; }
@media (max-width: 960px) {
  .filter-title { display: none; }
  .filter-colors { display: contents; }
  .filters .filter-color { flex-direction: row; gap: 8px; font-size: .9rem; font-weight: 500; }
  .filter-color .swatch { width: 18px; height: 18px; }
  .filter-color.is-active .swatch { box-shadow: 0 0 0 2px #fff; }
}

/* ---------- Conta no cabeçalho ---------- */
.account-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-radius: var(--pill); font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background .2s; }
.account-btn:hover { background: var(--soft-2); }
@media (max-width: 1280px) { .account-btn span { display: none; } .account-btn { width: 40px; padding: 0; justify-content: center; } }
.alert-info { background: var(--soft); }
.u-hidden { display: none !important; }

/* ---------- Entrar / cadastro ---------- */
.auth { padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 110px); }
.auth-box { max-width: 460px; margin: 0 auto; }
.auth-box-wide { max-width: 620px; }
.auth-title { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: var(--fs-title); line-height: .95; margin: 0 0 10px; }
.auth-box > .muted { margin: 0 0 28px; }
.auth-form { display: grid; gap: 16px; margin-bottom: 24px; }
.auth-form .fields { margin-bottom: 4px; }
.auth-switch { text-align: center; color: var(--muted); margin: 8px 0 0; }
.auth-switch a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 84px; }
.pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: var(--pill); font-size: .8rem; font-weight: 500; color: var(--muted); }
.pass-toggle:hover { background: var(--soft); color: var(--ink); }
.field .hint { font-style: normal; font-size: .8rem; color: var(--muted); }
.field-error { color: var(--danger); font-size: .8rem; margin-top: -8px; }
.field-help { justify-content: flex-end; padding-bottom: 18px; }
.field-help a { font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.has-error span { color: var(--danger); }

/* ---------- Minha conta ---------- */
.account-flash { margin-top: 20px; }
.account { padding: 28px 0 clamp(56px, 7vw, 100px); }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
.account-card { background: var(--soft); border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.account-card-narrow { max-width: 720px; }
.account-card h2 { font-size: 1.25rem; font-weight: 500; margin: 0 0 18px; }
.account-card .fields { margin-bottom: 18px; }
.account-card .field input { background: #fff; }
.account-card .field input:disabled { background: transparent; color: var(--muted); }
.fields-1 { grid-template-columns: minmax(0, 1fr) !important; }
.form-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.address-card { background: var(--soft); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; border: 2px solid transparent; }
.address-card.is-main { border-color: var(--ink); background: #fff; }
.address-card p { margin: 10px 0 16px; color: var(--ink-2); font-size: .95rem; flex: 1; }
.address-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge { font-size: .72rem; font-weight: 600; background: var(--ink); color: #fff; padding: 3px 10px; border-radius: var(--pill); }
.address-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.link-danger:hover { color: var(--danger); }
.address-add { align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 180px; font-weight: 500; border: 2px dashed #d4d4d4; background: transparent; transition: border-color .2s, background .2s; }
.address-add span { font-size: 2rem; line-height: 1; font-weight: 300; }
.address-add:hover { border-color: var(--ink); background: var(--soft); }

/* ---------- Frete ---------- */
.ship-calc { margin-top: 28px; padding: 20px; border-radius: 14px; background: var(--soft); }
.ship-calc label { display: block; font-weight: 500; }
.ship-calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ship-calc-cep { font-size: .9rem; color: var(--muted); }
.ship-calc-cep strong { color: var(--ink); font-weight: 500; }
.ship-calc.has-cep [data-ship-row] { display: none; }
.ship-calc.has-cep .ship-list { margin-top: 0; }
.ship-calc:not(.has-cep) .ship-calc-cep { display: none; }
.ship-loading { margin: 0; font-size: .9rem; }
.field .hint.is-bad { color: var(--danger); }
.ship-calc-row { display: flex; gap: 8px; }
.ship-calc-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid #cacacb; border-radius: var(--pill); padding: 0 18px; background: #fff; outline: none; font-size: 1rem; }
.ship-calc-row input:focus { border-color: var(--ink); }
.ship-calc-row .btn { min-height: 44px; background: #fff; }
.ship-calc-row .btn.is-loading::after { border-color: rgba(0,0,0,.2); border-top-color: var(--ink); }
.ship-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ship-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; padding: 12px 14px; border-radius: 10px; animation: fadeUp .35s var(--ease); }
.ship-list strong { display: block; font-weight: 500; }
.ship-list small { color: var(--muted); }
.ship-list b { font-weight: 600; white-space: nowrap; }
.ship-error { color: var(--danger); margin: 12px 0 0; font-size: .9rem; }

/* ---------- Escolhas do checkout ---------- */
.who { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: var(--soft); border-radius: 12px; }
.who strong { display: block; font-weight: 500; }
.who .muted { font-size: .9rem; }
.choice-list { display: grid; gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice:hover { border-color: #b5b5b5; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.choice-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.choice-body strong { font-weight: 500; }
.choice-body .muted { font-size: .9rem; }
.choice-price { font-weight: 600; white-space: nowrap; }
.new-address { display: none; margin-top: 16px; }
.new-address.is-open { display: block; animation: fadeUp .35s var(--ease); }
.ship-wait { margin: 0; padding: 16px 18px; background: var(--soft); border-radius: 12px; }
.ship-wait.is-loading { background: linear-gradient(90deg, var(--soft), var(--soft-2), var(--soft)) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
.checkout-form .ship-error { padding: 16px 18px; background: #fdece8; border-radius: 12px; margin: 0; }

/* ---------- Animação ao rolar (sutil) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
}
.installments-space { height: 28px; }
.perks-grid.perks-1 { grid-template-columns: minmax(0, 1fr); }
.perks-grid.perks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perks-grid.perks-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .perks-grid.perks-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perks-grid.perks-1, .perks-grid.perks-2, .perks-grid.perks-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-title + .hero-actions { margin-top: 30px; }

/* ---------- Responsividade: nada pode passar da largura da tela ---------- */
.product-grid > *, .cart-grid > *, .checkout-grid > *, .shop-layout > *, .account-grid > *,
.cart-info, .order-main, .choice-body, .summary-name, .card-body { min-width: 0; }
.logo { min-width: 0; max-width: 100%; }
.logo .brand { max-width: 100%; }
.logo .brand img { max-width: 100%; }
.product-title, .card-title, .cart-name, .order-main strong, .summary-name { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .header-actions { gap: 0; }
  .header-actions .icon-btn, .account-btn { width: 38px; height: 38px; }
  .logo { --logo-h: 26px; }
  .buy-row { gap: 8px; }
  .qty { padding: 0; }
  .qty button { width: 34px; }
  .qty input { width: 26px; }
  .buy-row .btn { padding: 0 16px; font-size: 1rem; }
}

.gallery-track.is-dragging .gallery-slide { transition: none; }

/* Cards dentro de carrosséis não usam a animação de subir: o deslocamento criava
   uma rolagem vertical escondida e "travava" a rolagem da página no celular */
.rail > .reveal, .cats-grid > .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Página do produto: nome e preço antes da foto no celular + barra de compra ---------- */
.product-grid { grid-template-rows: auto 1fr; row-gap: 0; }
.product-head { grid-column: 2; grid-row: 1; min-width: 0; }
.product-head .installments { margin-bottom: 28px; }
.product-grid > .gallery { grid-column: 1; grid-row: 1 / span 2; }
.product-grid > .product-info { grid-column: 2; grid-row: 2; }
.buy-bar { display: none; }
@media (max-width: 900px) {
  .product { padding-top: 12px; }
  .product .crumbs { display: none; }
  .product-grid { grid-template-rows: none; gap: 14px; }
  .product-head, .product-grid > .gallery, .product-grid > .product-info { grid-column: 1; grid-row: auto; }
  .product-head .price-lg { margin-top: 10px; }
  .product-head .installments { margin: 2px 0 0; }
  .gallery-slide { aspect-ratio: auto; height: min(118vw, 56svh); }
  .product-info { padding-top: 6px; }
  .buy-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; z-index: 70;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    max-width: 480px; margin: 0 auto;
    padding: 6px 6px 6px 18px; border-radius: 999px;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.05);
    opacity: 0; transform: translateY(calc(100% + 24px)) scale(.98);
    transition: transform .45s var(--ease), opacity .3s;
    pointer-events: none;
  }
  .buy-bar.is-show { opacity: 1; transform: none; pointer-events: auto; }
  .buy-bar-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .buy-bar-info strong { font-weight: 600; font-size: .875rem; letter-spacing: -.01em; }
  .buy-bar-info span { font-size: .6875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar-info span.is-picked { color: var(--ink); animation: pickedIn .45s var(--ease); }
  @keyframes pickedIn { from { opacity: 0; transform: translateY(4px); } }
  .buy-bar .btn { flex: 0 1 auto; min-height: 40px; padding: 0 20px; font-size: .875rem; font-weight: 500; transition: background .2s, transform .15s; }
  .buy-bar .btn:active { transform: scale(.96); }
  .buy-bar .btn.is-loading::after { width: 16px; height: 16px; margin: -8px; }
  .product-page .site-footer { padding-bottom: 88px; }
}

/* ---------- Avaliações ---------- */
.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E");
  --s: 16px;
  display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px;
  background: linear-gradient(90deg, var(--ink) var(--pct, 0%), #d6d6d6 var(--pct, 0%));
  -webkit-mask: var(--star) 0 0 / var(--s) var(--s) repeat-x; mask: var(--star) 0 0 / var(--s) var(--s) repeat-x;
}
.stars-sm { --s: 12px; }
.stars-lg { --s: 20px; }
.card-rating { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.card-rating small { font-size: .78rem; color: var(--muted); }
.rating-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .875rem; color: var(--muted); }
.rating-link:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.reviews { padding: clamp(36px, 5vw, 72px) 0 0; }
.reviews .section-title .muted { font-weight: 400; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.reviews-summary { position: sticky; top: 90px; }
.rs-score { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rs-score strong { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 3.25rem; line-height: 1; }
.rs-score div { display: flex; flex-direction: column; gap: 6px; }
.rs-score span { font-size: .875rem; color: var(--muted); }
.rs-bars { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.rs-bars li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.rs-bars i { height: 6px; border-radius: 3px; background: var(--soft-2); overflow: hidden; }
.rs-bars b { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .8s var(--ease); }
.rs-bars li span:last-child { text-align: right; }
.rs-empty { color: var(--muted); margin: 0 0 18px; }
.rs-cta .small { margin: 10px 0 0; }

.review-form { display: none; background: var(--soft); border-radius: 16px; padding: clamp(18px, 3vw, 28px); margin-bottom: 28px; gap: 16px; }
.review-form.is-open { display: grid; animation: fadeUp .4s var(--ease); }
.review-form h3 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.review-form .field input, .review-form .field textarea { background: #fff; }
.review-form .form-actions { margin-top: 0; }
.review-form > .small { margin: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #cfcfcf; transition: color .15s, transform .15s; line-height: 0; }
.star-input label svg { fill: currentColor; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--ink); }
.star-input label:active { transform: scale(.9); }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.star-hint { order: -1; margin-left: 10px; font-size: .875rem; font-weight: 500; min-width: 80px; }
.photo-drop { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1.5px dashed #cacacb; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; font-size: .9rem; }
.photo-drop:hover { border-color: var(--ink); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop > span:first-of-type { display: inline-flex; align-items: center; gap: 8px; }
.photo-preview { display: flex; gap: 6px; }
.photo-preview img, .rp-edit img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.review-photos-edit { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-edit { display: grid; gap: 4px; font-size: .75rem; color: var(--muted); cursor: pointer; }
.rp-edit:has(input:checked) img { opacity: .3; }

.review-list { display: grid; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.review:first-child { padding-top: 4px; }
.review.is-more { display: none; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-date { font-size: .8rem; color: var(--muted); }
.review-title { font-size: 1rem; font-weight: 600; margin: 0 0 4px; overflow-wrap: anywhere; }
.review-text { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.review-photos { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.review-photo { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
@media (hover: hover) { .review-photo:hover img { transform: scale(1.06); } }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; font-size: .8rem; }
.review-meta strong { font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 500; }
[data-review-more] { margin-top: 20px; }
.reviews-none { margin: 4px 0 0; }
.photo-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 88vh; overflow: visible; }
.photo-dialog::backdrop { background: rgba(0,0,0,.75); }
.photo-dialog img { max-width: min(92vw, 720px); max-height: 88vh; border-radius: 12px; display: block; }
.photo-dialog .icon-btn { position: absolute; top: -48px; right: 0; background: #fff; }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .reviews-summary { position: static; }
  .rs-score strong { font-size: 2.75rem; }
}
.order-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; white-space: nowrap; }
.review-form .rp-edit span { display: inline-flex; align-items: center; gap: 5px; }
.review-form .rp-edit input[type=checkbox] { width: 16px; height: 16px; padding: 0; margin: 0; border-radius: 4px; accent-color: var(--ink); flex: none; }
.review-form .photo-drop input[type=file] { width: 100%; height: 100%; padding: 0; border: 0; }

/* ---------- Card de produto (repaginado) ---------- */
.card-media { border-radius: 6px; }
/* Esgotado: foto inteira e acinzentada, com selo; nada de foto sobreposta */
.card.is-out .card-media img { filter: grayscale(1) contrast(.9) brightness(1.06); }
.card.is-out .card-media::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.28); pointer-events: none; }
.card-esgotado {
  position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%);
  padding: 7px 14px; border-radius: var(--pill); white-space: nowrap;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.card.is-out .card-price strong { color: var(--muted); }
.card.is-out .card-off { background: #9a9a9a; }
@media (hover: hover) { .card.is-out .card-media:hover img { filter: grayscale(.6) contrast(.95) brightness(1.04); } }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 18px; margin-bottom: 6px; line-height: 1; }
.card-flag {
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-flag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sale); }
.card-flag.is-muted { color: var(--muted); }
.card-flag.is-muted::before { background: #c4c4c4; }
.card-rating { display: inline-flex; align-items: center; gap: 3px; margin: 0 0 0 auto; font-size: .75rem; font-weight: 600; color: var(--ink); }
.card-rating svg { fill: currentColor; }
.card-rating small { font-weight: 400; color: var(--muted); font-size: .72rem; margin-left: 1px; }
.card-title {
  font-size: .95rem; font-weight: 500; line-height: 1.35; margin: 0; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
@media (hover: hover) { .card:hover .card-title a { background-size: 100% 1px; } }
.card-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; min-height: 18px; }
.card-cat { font-size: .8rem; color: var(--muted); }
.card-sub .card-colors { display: inline-flex; align-items: center; gap: 3px; margin: 0; flex: none; }
.card-sub .card-colors .more { font-size: .7rem; color: var(--muted); margin-left: 2px; }
.card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; }
.card-price strong { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.card-price s { font-size: .78rem; color: var(--muted); }
.card-off { font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--ink); padding: 3px 7px; border-radius: 999px; line-height: 1; }
.card-media { transition: transform .35s var(--ease); }
.card:active .card-media { transform: scale(.985); }
@media (hover: hover) {
  .card-media:not(.has-alt):hover img { transform: scale(1.04); }
}
@media (max-width: 760px) {
  .card-body { padding-top: 10px; }
  .card-title { font-size: .875rem; }
  .card-cat { font-size: .75rem; }
  .card-price strong { font-size: .9rem; }
  .card-price { margin-top: 8px; }
  .card-flag { font-size: .6rem; letter-spacing: .12em; }
}

/* Cabeçalho das seções */
.section-title { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.link-arrow-plain { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.link-arrow-plain svg { transition: transform .3s var(--ease); }
.link-arrow-plain:hover svg { transform: translateX(4px); }
.link-arrow-plain span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
@media (max-width: 760px) {
  .card-price { gap: 3px 6px; }
  .card-price strong { flex-basis: 100%; }
  .card-off { font-size: .62rem; padding: 3px 6px; }
}

/* ---------- Redes sociais no rodapé ---------- */

/* Verificação humana (Cloudflare Turnstile) nos formulários */
.captcha { width: 100%; min-height: 65px; display: flex; justify-content: center; }
.captcha .ts-slot { width: 100%; display: flex; justify-content: center; }
.review-form .captcha, .checkout-form .captcha { justify-content: flex-start; }
.captcha-error { text-align: center; margin: -6px 0 0; }
.summary .captcha { margin-bottom: 12px; }

/* ---------- Pagamento online (Mercado Pago) ---------- */
.pay-mp { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -32px rgba(0,0,0,.25); }
.pay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pay-head h2 { margin: 0; }
.pay-total { font: 700 clamp(1.3rem, 1.1rem + 1vw, 1.7rem)/1 var(--sans); letter-spacing: -.02em; }
.pay-options { display: grid; gap: 10px; }
.pay-options form { margin: 0; }
.pay-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pay-opt:active { transform: scale(.99); }
.pay-opt:disabled { opacity: .6; cursor: progress; }
.pay-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.pay-opt-pix .pay-ico { color: #32bcad; background: #e8f8f6; }
.pay-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.pay-txt strong { font-size: 1rem; }
.pay-txt small { color: var(--muted); font-size: .84rem; }
.pay-go { flex: none; font-size: 1.2rem; color: var(--muted); transition: transform .2s; }
@media (hover: hover) {
  .pay-opt:hover { border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); }
  .pay-opt:hover .pay-go { transform: translateX(3px); color: var(--ink); }
}
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.pay-alt { margin: 14px 0 0; text-align: center; }
.pay-ok { display: flex; align-items: center; gap: 8px; }

.pix-live { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.pix-qr { width: 220px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: opacity .3s, filter .3s; }
.pix-qr img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.pix-body { min-width: 0; }
.pix-steps { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.pix-copia { margin: 0 0 12px; }
.pix-copia code { font-size: .78rem; max-height: 4.2em; overflow: hidden; line-height: 1.4; background: var(--soft); }
.pix-wait { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.6; }
.pix-wait strong { font-variant-numeric: tabular-nums; }
.pix-dot { display: inline-block; vertical-align: middle; margin: -2px 6px 0 0; width: 8px; height: 8px; border-radius: 50%; background: #e0a100; animation: pixPulse 1.4s ease-in-out infinite; }
@keyframes pixPulse { 50% { opacity: .3; transform: scale(.8); } }
.pix-done { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #e8f5ec; color: #0d5c2a; font-weight: 600; animation: pixIn .4s var(--ease); }
.pix-done span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .8rem; }
.pix-expired { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pix-expired p { margin: 0; color: var(--danger); font-weight: 600; font-size: .9rem; }
.pix-live.is-expired .pix-qr, .pix-live.is-paid .pix-qr { opacity: .35; filter: grayscale(1); }
@keyframes pixIn { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) {
  .pix-live { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .pix-qr { width: min(240px, 100%); }
  .pix-body { width: 100%; }
  .pix-copia { flex-direction: column; align-items: stretch; }
  .pix-copia .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pix-dot { animation: none; } }
.pix-live [hidden], .pay-mp [hidden] { display: none !important; }

/* Selo de frete grátis no produto */
.free-ship { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 5px 12px; border-radius: var(--pill); background: #e8f5ec; color: #0d5c2a; font-size: .84rem; font-weight: 600; }
.free-ship svg { flex: none; }

/* Pedido criado aguardando pagamento online */
.pay-hero-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff4dc; color: #a86d12; animation: pixIn .5s var(--ease); }
.pay-sub { margin: -6px 0 12px; font-size: .92rem; color: var(--ink-2); }
.pay-hero-ico.is-pix { background: #e8f8f6; color: #32bcad; }

/* ---------- Jurídico ---------- */
.legal-wrap { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; transition: background .2s, color .2s; }
.legal-nav a.is-active { background: var(--soft); color: var(--ink); font-weight: 600; }
.legal-doc { max-width: 760px; min-width: 0; color: var(--ink-2); line-height: 1.75; font-size: .98rem; overflow-wrap: anywhere; }
.legal-doc .page-title { margin: 0 0 18px; color: var(--ink); }
.legal-doc h2 { font-size: 1.22rem; font-weight: 600; color: var(--ink); margin: 36px 0 10px; }
.legal-doc h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 20px 0 6px; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.legal-doc strong { color: var(--ink); }
@media (hover: hover) { .legal-nav a:hover { background: var(--soft); color: var(--ink); } }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; }
  .legal-nav a { flex: none; background: var(--soft); }
}
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.35); animation: pixIn .35s var(--ease); transition: opacity .25s, transform .25s; }
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-leaving { opacity: 0; transform: translateY(10px); }
.cookie-bar p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--ink-2); flex: 1; min-width: 0; }
.cookie-bar p a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cookie-actions .btn { flex: 1; }
}

/* Arrependimento, aceite e privacidade */
.arrep summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.arrep[open] summary { margin-bottom: 10px; }
.arrep form { display: grid; gap: 12px; margin-top: 10px; }
.summary .aceite { margin: 14px 0 6px; font-size: .82rem; line-height: 1.5; }
.summary .aceite a, .check a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.aceite-erro { margin: 0 0 8px; font-size: .82rem; }
.danger-card { border: 1px solid #f3d0c8; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.privacy-links { margin-top: 14px; }
.privacy-links a { text-decoration: underline; }

/* Armadilha para robôs: campo fora da tela (pessoas não veem; leitores de tela ignoram) */
.hp-campo { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Minha conta: topo, abas e pedidos ---------- */
@keyframes accSobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes accAnel { from { transform: rotate(-90deg); opacity: 0; } to { transform: rotate(270deg); opacity: 1; } }
@keyframes accPulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,138,62,.45); } 60% { box-shadow: 0 0 0 7px rgba(18,138,62,0); } }
@keyframes accBarra { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.acc-hero { padding: clamp(28px, 4vw, 56px) 0 0; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.acc-hero-inner { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.acc-avatar {
  position: relative; display: grid; place-items: center; flex: none;
  width: clamp(64px, 8vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ink), #8a8a8a, var(--ink));
  padding: 3px; animation: accSobe .6s var(--ease) both;
}
.acc-avatar::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--line); }
.acc-avatar > span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--ink); color: #fff; border: 3px solid #fff;
  font: 800 clamp(1.5rem, 1rem + 1.6vw, 2.1rem)/1 var(--display);
}
.acc-hello { min-width: 0; }
.acc-kicker { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); animation: accSobe .6s .05s var(--ease) both; }
.acc-hello h1 { margin: 0; font: 800 clamp(2rem, 1.4rem + 2.6vw, 3.25rem)/1.02 var(--display); letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: anywhere; animation: accSobe .7s .1s var(--ease) both; }
.acc-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 12px 0 0; animation: accSobe .7s .18s var(--ease) both; }
.acc-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.acc-meta-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: accPulso 2s infinite; }

.acc-tabs {
  display: flex; gap: 6px; margin-top: clamp(22px, 3vw, 34px); padding: 5px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.04);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; animation: accSobe .7s .24s var(--ease) both;
}
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a {
  display: inline-flex; align-items: center; gap: 8px; flex: none; height: 42px; padding: 0 18px; border-radius: var(--pill);
  font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.acc-tabs a:active { transform: scale(.96); }
.acc-tabs a.is-active { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.acc-tabs .acc-tab-out { margin-left: auto; }
.account-flash { margin-top: 20px; }

.ord-filtros { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; animation: accSobe .6s .3s var(--ease) both; }
.ord-filtros::-webkit-scrollbar { display: none; }
.ord-filtros button {
  display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill);
  background: #fff; font: 600 .85rem/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.ord-filtros button b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--soft); font-size: .75rem; }
.ord-filtros button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ord-filtros button.is-active b { background: rgba(255,255,255,.18); }

.ord-lista { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ord-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 20px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  animation: accSobe .6s calc(.34s + var(--n, 0) * 60ms) var(--ease) both;
  transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.ord-card[hidden] { display: none; }
.ord-card:active { transform: scale(.99); }
.ord-card.st-cancelado { background: #fcfcfc; }
.ord-card.st-cancelado .ord-fotos img { filter: grayscale(1); opacity: .6; }

.ord-fotos { position: relative; width: 84px; height: 84px; flex: none; }
.ord-fotos img, .ord-sem-foto { position: absolute; width: 72px; height: 84px; border-radius: 12px; object-fit: cover; object-position: var(--foto-pos); background: var(--soft); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.ord-fotos-1 img { width: 84px; }
.ord-fotos-2 img:nth-child(1) { left: 0; transform: rotate(-4deg); } .ord-fotos-2 img:nth-child(2) { left: 14px; transform: rotate(3deg); }
.ord-fotos-3 img { width: 64px; height: 80px; top: 2px; }
.ord-fotos-3 img:nth-child(1) { left: 0; transform: rotate(-6deg); } .ord-fotos-3 img:nth-child(2) { left: 10px; } .ord-fotos-3 img:nth-child(3) { left: 20px; transform: rotate(6deg); }
.ord-sem-foto { display: grid; place-items: center; width: 84px; color: var(--muted); }

.ord-info { min-width: 0; display: grid; gap: 4px; }
.ord-topo { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ord-link { font: 800 1.05rem/1.2 var(--display); letter-spacing: -.005em; }
.ord-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* o cartão inteiro abre o pedido */
.ord-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--pill); font-size: .78rem; font-weight: 600; background: var(--soft); white-space: nowrap; }
.ord-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-pendente .ord-status { background: #fdf3e1; color: #9a5b00; }
.st-pendente .ord-status i { animation: accPulso 2s infinite; box-shadow: 0 0 0 0 rgba(154,91,0,.4); }
.st-pago .ord-status, .st-preparando .ord-status { background: #e8eefc; color: #1d4ed8; }
.st-enviado .ord-status { background: #f1ebfd; color: #6d28d9; }
.st-entregue .ord-status { background: #e5f4ea; color: var(--ok); }
.st-cancelado .ord-status { background: #fbe9e5; color: var(--danger); }
.ord-sub { margin: 0; font-size: .86rem; color: var(--muted); }
.ord-rastreio { margin: 2px 0 0; font-size: .82rem; color: var(--ink-2); }

.ord-progresso { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; max-width: 420px; }
.ord-progresso span { display: grid; gap: 6px; min-width: 0; }
.ord-progresso i { display: block; height: 4px; border-radius: 4px; background: var(--soft-2); overflow: hidden; position: relative; }
.ord-progresso .is-feito i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: accBarra .7s calc(.5s + var(--n, 0) * 60ms) var(--ease) both; }
.st-entregue .ord-progresso .is-feito i::after { background: var(--ok); }
.ord-progresso em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-progresso .is-atual em { color: var(--ink); }

.ord-lado { display: grid; justify-items: end; gap: 10px; text-align: right; }
.ord-total { font: 800 1.15rem/1 var(--display); white-space: nowrap; }
.ord-pagar { position: relative; z-index: 1; }
.ord-ver { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.ord-ver svg { transition: transform .3s var(--ease); }
.ord-vazio-filtro { padding: 28px 0; text-align: center; color: var(--muted); }

.acc-vazio { display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(40px, 6vw, 72px) 20px; border-radius: 20px; background: var(--soft); animation: accSobe .6s .3s var(--ease) both; }
.acc-vazio-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.acc-vazio h3 { margin: 8px 0 0; font: 800 1.4rem/1.1 var(--display); text-transform: uppercase; }
.acc-vazio p { margin: 0 0 10px; color: var(--muted); max-width: 360px; }

@media (hover: hover) {
  .acc-tabs a:not(.is-active):hover { background: var(--soft); color: var(--ink); }
  .ord-filtros button:not(.is-active):hover { border-color: var(--ink); }
  .ord-card:hover { border-color: #d4d4d4; box-shadow: 0 14px 36px rgba(0,0,0,.08); transform: translateY(-2px); }
  .ord-card:hover .ord-ver { color: var(--ink); }
  .ord-card:hover .ord-ver svg { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .acc-tabs { border-radius: 16px; }
  .acc-tabs a { height: 40px; padding: 0 14px; font-size: .88rem; }
  .ord-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
  .ord-fotos { width: 64px; height: 74px; }
  .ord-fotos img, .ord-sem-foto { width: 56px; height: 72px; border-radius: 10px; }
  .ord-fotos-1 img, .ord-sem-foto { width: 64px; }
  .ord-fotos-3 img { width: 50px; height: 66px; }
  .ord-lado { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
  .ord-progresso { max-width: none; }
}
@media (max-width: 400px) {
  .acc-hero-inner { align-items: flex-start; }
  .acc-tabs a span { display: none; }
  .acc-tabs a { width: 44px; padding: 0; justify-content: center; }
  .acc-tabs a.is-active { width: auto; padding: 0 14px; }
  .acc-tabs a.is-active span { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-hero *, .acc-tabs, .ord-filtros, .ord-card, .acc-vazio, .ord-progresso .is-feito i::after, .acc-meta-live i, .st-pendente .ord-status i { animation: none !important; }
}

/* ---------- Janelas (modal) da conta ---------- */
@keyframes modalEntra { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalFundo { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: auto; overscroll-behavior: contain; }
.modal[open] { animation: modalEntra .38s var(--ease) both; }
.modal::backdrop { background: rgba(17,17,17,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: modalFundo .3s ease both; }
.modal-box { position: relative; display: grid; gap: 14px; padding: 28px 26px 24px; }
.modal-box h2 { margin: 0; font: 800 1.45rem/1.1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.modal-box > p { margin: -6px 0 0; }
.modal-box .fields { margin: 4px 0 0; }
.modal-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); }
.modal-perigo .modal-ico { background: #fbe9e5; color: var(--danger); }
.modal-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.modal-acoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.modal-acoes .btn { width: 100%; }
body.modal-aberto { overflow: hidden; }

.acc-seguranca { display: grid; gap: 10px; align-content: start; }
.acc-seguranca h2 { margin-bottom: 4px; }
.acc-linha { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: #fff; min-width: 0; }
.acc-linha-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); }
.acc-linha-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.acc-linha-txt strong { font-size: .95rem; }
.acc-linha-txt span { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-linha .btn { flex: none; }
.acc-seguranca > p { margin: 4px 0 0; }
.acc-perigo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; grid-column: 1 / -1; }
.acc-perigo h2 { margin: 0 0 4px; }
.acc-perigo p { margin: 0; }
.acc-perigo-btn { color: var(--danger); border-color: #efc6bd; }

@media (hover: hover) {
  .modal-x:hover { background: var(--soft-2); transform: rotate(90deg); }
  .acc-perigo-btn:hover { background: #fbe9e5; border-color: var(--danger); }
}
@media (max-width: 520px) {
  /* No celular, a janela sobe de baixo, como nos aplicativos */
  .modal { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .modal-box { padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); }
  .acc-linha { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .modal[open], .modal::backdrop { animation: none; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: .875rem; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.ft-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.ft-marca { display: grid; gap: 10px; min-width: 0; max-width: 420px; }
.footer-logo { --logo-h: 30px; }
.ft-frase { margin: 0; color: var(--muted); line-height: 1.55; }
.ft-redes { display: flex; align-items: center; gap: 14px; }
.ft-redes-titulo { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ft-redes-lista { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-rede { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.ft-rede svg { width: 18px; height: 18px; }
.ft-rede:active { transform: scale(.92); }

.ft-colunas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: clamp(24px, 3vw, 36px) 0; }
.fcol { min-width: 0; }
.fcol-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; color: var(--ink); font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: left; cursor: default; }
.fcol-seta { display: none; }
.fcol-body { display: grid; grid-template-rows: 1fr; }
.fcol-links { min-height: 0; overflow: hidden; display: grid; gap: 2px; justify-items: start; }
.fcol-links a, .footer-link-btn { display: inline-block; padding: 5px 0; border: 0; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color .2s, transform .25s var(--ease); overflow-wrap: anywhere; }

.ft-legal { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.55; color: var(--muted); }
.ft-legal p { margin: 0; }
.ft-empresa { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ft-empresa strong { color: var(--ink-2); font-weight: 600; }
.ft-contato { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.ft-contato a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ft-nw { white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: var(--pill); font-weight: 600; font-size: .72rem; color: var(--ink-2); }

@media (hover: hover) {
  .ft-rede:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }
  .ft-rede-whatsapp:hover { background: #25d366; border-color: #25d366; }
  .ft-rede-instagram:hover { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); border-color: transparent; }
  .fcol-links a:hover, .footer-link-btn:hover { color: var(--ink); transform: translateX(3px); }
  .ft-contato a:hover { color: var(--ink); text-decoration-color: currentColor; }
}

/* Celular: colunas viram sanfonas (só o título aparece; toca para abrir) */
@media (max-width: 767px) {
  .site-footer { padding-top: 32px; }
  .ft-topo { align-items: center; padding-bottom: 20px; }
  .ft-redes-titulo { display: none; }
  .ft-rede { width: 38px; height: 38px; }
  .ft-colunas { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 0 8px; }
  .fcol { border-bottom: 1px solid var(--line); }
  .fcol-head { margin: 0; padding: 17px 2px; font-size: .78rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .fcol-seta { display: block; color: var(--muted); transition: transform .35s var(--ease); }
  .fcol.is-open .fcol-seta { transform: rotate(180deg); color: var(--ink); }
  .fcol-body { grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .fcol.is-open .fcol-body { grid-template-rows: 1fr; }
  .fcol-links { padding: 0 2px; visibility: hidden; transition: visibility 0s linear .4s; }
  .fcol.is-open .fcol-links { visibility: visible; transition-delay: 0s; }
  .no-js .fcol-links { visibility: visible; }
  .fcol-links > * { opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); }
  .fcol.is-open .fcol-links { padding-bottom: 14px; }
  .fcol.is-open .fcol-links > * { opacity: 1; transform: none; }
  .fcol.is-open .fcol-links > *:nth-child(2) { transition-delay: .03s; } .fcol.is-open .fcol-links > *:nth-child(3) { transition-delay: .06s; }
  .fcol.is-open .fcol-links > *:nth-child(4) { transition-delay: .09s; } .fcol.is-open .fcol-links > *:nth-child(n+5) { transition-delay: .12s; }
  .fcol-links a, .footer-link-btn { padding: 7px 0; font-size: .92rem; }
  .ft-legal { border-top: 0; padding-top: 16px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .no-js .fcol-body { grid-template-rows: 1fr; }
  .no-js .fcol-links > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .fcol-body, .fcol-links > *, .fcol-seta { transition: none !important; } }

/* ---------- Sacola ---------- */
@keyframes scSobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes scTique { 0% { transform: translateY(0); opacity: 1; } 40% { transform: translateY(-6px); opacity: 0; } 41% { transform: translateY(6px); } 100% { transform: none; opacity: 1; } }
@keyframes scBalanca { 0%, 100% { transform: translate(-50%, -50%) rotate(0); } 50% { transform: translate(-50%, -58%) rotate(-3deg); } }
@keyframes scFlutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.cart-page .cart { padding-top: 8px; }
.sc-topo { padding: clamp(22px, 3vw, 40px) 0 clamp(16px, 2vw, 24px); }
.sc-etapas { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .8rem; font-weight: 600; color: var(--muted); animation: scSobe .5s var(--ease) both; }
.sc-etapas li { display: flex; align-items: center; gap: 8px; }
.sc-etapas li + li::before { content: ""; width: clamp(16px, 4vw, 40px); height: 1px; background: var(--line); }
.sc-etapas span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-size: .7rem; }
.sc-etapas .is-atual { color: var(--ink); }
.sc-etapas .is-atual span { background: var(--ink); border-color: var(--ink); color: #fff; }
.sc-titulo { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; animation: scSobe .6s .05s var(--ease) both; }
.sc-titulo h1 { margin: 0; font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.1rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.sc-qtd { padding: 4px 12px; border-radius: var(--pill); background: var(--soft); font-size: .85rem; font-weight: 600; color: var(--ink-2); }

.sc-itens { min-width: 0; display: grid; gap: 14px; }
.sc-frete { padding: 16px 20px 18px; border-radius: 16px; background: var(--soft); animation: scSobe .6s .1s var(--ease) both; }
.sc-frete p { margin: 0 0 14px; font-size: .92rem; }
.sc-trilho { position: relative; height: 6px; border-radius: 6px; background: #dedede; }
.sc-trilho-barra { position: absolute; inset: 0 auto 0 0; width: var(--pct); border-radius: 6px; background: var(--ink); transition: width .8s var(--ease), background .4s; animation: scEnche 1.1s .3s var(--ease) both; }
@keyframes scEnche { from { width: 0; } }
.sc-caminhao { position: absolute; top: 50%; left: var(--pct); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.14); transform: translate(-50%, -50%); transition: left .8s var(--ease), color .4s; animation: scCaminho 1.1s .3s var(--ease) both, scBalanca 1.8s 1.5s ease-in-out infinite; }
@keyframes scCaminho { from { left: 0; } }
.sc-frete.is-gratis { background: #e7f4ec; }
.sc-frete.is-gratis .sc-trilho-barra { background: var(--ok); }
.sc-frete.is-gratis .sc-caminhao { color: var(--ok); left: calc(100% - 17px); }

.sc-lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-item {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  animation: scSobe .55s calc(.15s + var(--n, 0) * 70ms) var(--ease) both; transition: border-color .25s, box-shadow .35s var(--ease), opacity .35s, transform .35s var(--ease);
}
.sc-item.is-carregando { opacity: .6; pointer-events: none; }
.sc-item.is-saindo { opacity: 0; transform: translateX(-24px); }
.sc-foto { display: block; aspect-ratio: var(--foto); border-radius: 12px; overflow: hidden; background: var(--soft); }
.sc-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos); transition: transform .6s var(--ease); }
.sc-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-cabeca { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sc-nome { font-weight: 600; font-size: 1.02rem; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.sc-total { flex: none; font: 800 1.08rem/1.3 var(--display); white-space: nowrap; }
.sc-total.tique { animation: scTique .45s var(--ease); }
.sc-variacao { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); background: var(--soft); font-size: .78rem; font-weight: 500; color: var(--ink-2); }
.sc-unit { margin: 0; font-size: .86rem; color: var(--ink-2); }
.sc-unit s { color: var(--muted); margin-right: 2px; }
.sc-unit span { color: var(--muted); }
.sc-poucas { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .78rem; font-weight: 600; color: #b45309; }
.sc-poucas i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: accPulso 2s infinite; box-shadow: 0 0 0 0 rgba(180,83,9,.4); }
.sc-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.sc-qtd-form { height: 40px; background: #fff; }
.sc-remover { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--pill); font-size: .82rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.sc-remover:active { transform: scale(.96); }

.sc-resumo { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 28px); border-radius: 20px; background: var(--soft); animation: scSobe .6s .2s var(--ease) both; }
.sc-resumo h2 { margin: 0; font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.sc-resumo dl { display: grid; gap: 10px; margin: 0; }
.sc-resumo dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.sc-resumo dt small { color: var(--muted); font-size: .8rem; margin-left: 4px; }
.sc-resumo dd { margin: 0; text-align: right; }
.sc-gratis { color: var(--ok); font-weight: 700; }
.sc-total-geral { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid #dcdcdc; }
.sc-total-geral span { font-weight: 600; }
.sc-total-geral strong { font: 800 1.6rem/1 var(--display); letter-spacing: -.01em; }
.sc-parcelas { margin: -6px 0 0; text-align: right; font-size: .82rem; color: var(--muted); }
.sc-finalizar { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 58px; overflow: hidden; }
.sc-finalizar svg { transition: transform .3s var(--ease); }
.sc-finalizar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); }
.sc-continuar { justify-self: center; padding: 4px; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.sc-seguro { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid #dcdcdc; }
.sc-seguro p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; color: var(--muted); }
.sc-seguro svg { flex: none; color: var(--ok); }

.sc-vazio { display: grid; justify-items: center; gap: 10px; max-width: 520px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) 20px; text-align: center; animation: scSobe .6s var(--ease) both; }
.sc-vazio[hidden] { display: none; }
.sc-vazio-ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--soft); animation: scFlutua 3.2s ease-in-out infinite; }
.sc-vazio h2 { margin: 10px 0 0; font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; }
.sc-vazio p { margin: 0 0 14px; color: var(--muted); }
.sc-vazio-acoes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.sc-barra { display: none; }

@media (hover: hover) {
  .sc-item:hover { border-color: #d6d6d6; box-shadow: 0 12px 30px rgba(0,0,0,.06); }
  .sc-item:hover .sc-foto img { transform: scale(1.04); }
  .sc-remover:hover { background: #fbe9e5; color: var(--danger); }
  .sc-finalizar:hover svg { transform: translateX(4px); }
  .sc-finalizar:hover::after { left: 120%; }
  .sc-continuar:hover { text-decoration-color: currentColor; }
}
@media (max-width: 960px) {
  .sc-resumo { position: static; }
  .sc-barra {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px rgba(0,0,0,.06);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .sc-barra.is-visivel { transform: none; }
  .sc-barra small { display: block; font-size: .72rem; color: var(--muted); }
  .sc-barra strong { font: 800 1.25rem/1.1 var(--display); }
  .sc-barra .btn { min-width: 150px; }
  .cart-page .site-footer { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .sc-item { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .sc-nome { font-size: .95rem; }
  .sc-remover span { display: none; }
  .sc-remover { width: 36px; padding: 0; justify-content: center; }
  .sc-etapas { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-etapas, .sc-titulo, .sc-frete, .sc-item, .sc-resumo, .sc-vazio, .sc-vazio-ico, .sc-trilho-barra, .sc-caminhao, .sc-total.tique { animation: none !important; }
}
@media (max-width: 400px) {
  .sc-etapas { gap: 6px; flex-wrap: wrap; row-gap: 6px; }
  .sc-etapas li + li::before { width: 10px; }
}

/* ---------- Página inicial com mais vida ---------- */
@keyframes vitrineAnda { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Vitrine em movimento (abaixo do título, quando não há banner) */
.vitrine { position: relative; margin-top: clamp(32px, 4.5vw, 64px); overflow: hidden; padding: 6px 0 clamp(28px, 4vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.vitrine-trilho { display: flex; gap: clamp(10px, 1.2vw, 16px); width: max-content; animation: vitrineAnda 60s linear infinite; }
.vitrine:hover .vitrine-trilho { animation-play-state: paused; }
.vitrine-item { position: relative; flex: none; width: clamp(150px, 17vw, 250px); aspect-ratio: var(--foto); border-radius: 18px; overflow: hidden; background: var(--soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vitrine-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos); transition: transform .9s var(--ease); }
.vitrine-nome { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px 12px; border-radius: var(--pill); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }

/* Títulos das seções na fonte forte */
.home .section-title { font-family: var(--display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -.005em; line-height: 1; }

/* Cartões: cantos arredondados, sobe ao passar o mouse, botão "Ver produto" */
.card-media { border-radius: 14px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-ver { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translate(-50%, 10px); padding: 9px 18px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }

/* Categorias: nome sobre a foto, grade conforme a quantidade */
.cats-grid.cats-1 { grid-template-columns: minmax(0, 1fr); }
.cats-grid.cats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cats-grid .cat-media { border-radius: 18px; }
.cats-grid.cats-1 .cat-media, .cats-grid.cats-2 .cat-media { aspect-ratio: 4 / 5; }
.cats-grid .cat-media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.55)); pointer-events: none; transition: opacity .4s; }
.cats-grid .cat-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 2vw, 24px); color: #fff; }
.cats-grid .cat-name { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.cats-grid .cat-link { padding: 8px 14px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; }

@media (hover: hover) {
  .vitrine-item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
  .vitrine-item:hover img { transform: scale(1.05); }
  .vitrine-item:hover .vitrine-nome { opacity: 1; transform: none; }
  .card:hover .card-media { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
  .card:hover .card-ver { opacity: 1; transform: translate(-50%, 0); }
  .cats-grid .cat-card:hover .cat-media img { transform: scale(1.05); }
}
@media (max-width: 760px) {
  .cats-grid.cats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cats-grid.cats-2 .cat-info { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .cats-grid .cat-link { padding: 6px 11px; font-size: .76rem; }
  .vitrine-item { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vitrine-trilho { animation: none; }
  .vitrine { overflow-x: auto; overflow-y: hidden; }
}

/* Frete grátis acumulado */
.sc-acumulado { display: flex; justify-content: space-between; gap: 10px; margin: -6px 0 12px; font-size: .8rem; color: var(--muted); }
.sc-acumulado strong { color: var(--ink-2); }
.acc-meta .acc-meta-frete { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Cupom na sacola */
.sc-cupom { display: grid; gap: 8px; }
.sc-cupom-abrir summary { cursor: pointer; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #cfcfcf; list-style: none; }
.sc-cupom-abrir summary::-webkit-details-marker { display: none; }
.sc-cupom-campo { display: flex; gap: 8px; }
.sc-resumo dl div[hidden] { display: none; }
.sc-cupom-campo input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 .92rem/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.sc-cupom-campo input:focus { outline: none; border-color: var(--ink); }
.sc-cupom-campo .btn { height: 46px; min-height: 0; padding: 0 18px; background: #fff; }
.sc-cupom-ativo { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 12px; background: #fff; border: 1px dashed var(--ok); }
.sc-cupom-ativo.is-erro { border-color: var(--danger); }
.sc-cupom-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: var(--pill); background: #e7f4ec; color: var(--ok); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.sc-cupom-ativo.is-erro .sc-cupom-tag { background: #fbe9e5; color: var(--danger); }
.sc-cupom-info { flex: 1; min-width: 0; font-size: .8rem; color: var(--ink-2); }
.sc-cupom-ativo.is-erro .sc-cupom-info { color: var(--danger); }
.sc-cupom-x { flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 1.2rem; line-height: 1; color: var(--muted); transition: background .2s, color .2s; }
.sc-cupom-msg { margin: 0; font-size: .8rem; font-weight: 600; color: var(--danger); }
.sc-desconto dd { color: var(--ok); font-weight: 700; }
.sc-desconto small { padding: 1px 7px; border-radius: var(--pill); background: #e7f4ec; color: var(--ok) !important; font-weight: 700; }
@media (hover: hover) { .sc-cupom-x:hover { background: var(--soft); color: var(--ink); } }
.sum-desconto dd { color: var(--ok); font-weight: 700; }
.sum-desconto strong { padding: 1px 7px; border-radius: var(--pill); background: #e7f4ec; color: var(--ok); font-size: .78rem; }
.cupom-aviso { margin: 4px 0; padding: 10px 12px; border-radius: 10px; background: #fbe9e5; color: var(--danger); font-size: .8rem; line-height: 1.45; }
.cupom-aviso a { text-decoration: underline; }
.sc-cupom-campo input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 500; }
/* Itens do resumo não podem alargar a coluna (o campo do cupom tem largura mínima própria) */
.sc-resumo > *, .sc-cupom > * { min-width: 0; }
.sc-cupom-campo input { width: 100%; }

/* ---------- Aplicativo (instalar) ---------- */
[data-app-instalar][hidden] { display: none !important; }
.drawer-app { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.drawer-app img { width: 44px; height: 44px; border-radius: 11px; flex: none; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.drawer-app span { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.drawer-app strong { font-size: .95rem; }
.drawer-app small { font-size: .78rem; color: var(--muted); }
.drawer-app svg { flex: none; }
.ft-app { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 600 .85rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.app-aviso {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 75;
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.18); opacity: 0; transform: translateY(24px); transition: opacity .35s, transform .45s var(--ease);
}
.app-aviso.is-visivel { opacity: 1; transform: none; }
.app-aviso[hidden] { display: none; }
.app-aviso img { width: 48px; height: 48px; border-radius: 12px; flex: none; object-fit: cover; }
.app-aviso > div { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.app-aviso strong { font-size: .9rem; }
.app-aviso span { font-size: .78rem; color: var(--muted); }
.app-aviso .btn { flex: none; }
.app-aviso-x { position: absolute; top: -10px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 1rem; line-height: 1; color: var(--muted); box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.app-passos { justify-items: center; text-align: center; }
.app-passos-icone { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.app-passos ol { display: grid; gap: 12px; margin: 4px 0 8px; padding: 0; list-style: none; text-align: left; width: 100%; }
.app-passos li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--soft); font-size: .9rem; line-height: 1.4; }
.app-passos li svg { vertical-align: middle; }
.app-passo-n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 800; }
@media (hover: hover) {
  .drawer-app:hover { border-color: var(--ink); }
  .ft-app:hover { background: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .app-aviso { transition: none; } }
[data-app-instalar][aria-busy="true"] { opacity: .6; pointer-events: none; }
.app-guia { display: grid; gap: 8px; width: 100%; justify-items: center; }
.app-guia[hidden] { display: none; }
.app-guia-nota { margin: 0; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line); font-size: .82rem; line-height: 1.45; color: var(--muted); text-align: left; }

/* Botão "Baixar o app" no topo (ao lado da conta e da sacola) */
.app-btn { animation: app-btn-entra .55s var(--ease) both; }
.app-btn-txt { display: none; }
@keyframes app-btn-entra { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (min-width: 1180px) {
  .app-btn { display: inline-flex; align-items: center; gap: 7px; width: auto; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: var(--pill); font: 600 .85rem/1 var(--sans); white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
  .app-btn-txt { display: inline; }
}
@media (hover: hover) {
  .app-btn:hover { border-color: var(--ink); }
  @media (min-width: 1180px) { .app-btn:hover { background: var(--ink); color: #fff; } }
  /* Dica ao passar o mouse quando só o ícone aparece */
  @media (max-width: 1179px) {
    .app-btn::after { content: attr(data-dica); position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 .75rem/1 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5; }
    .app-btn:hover::after { opacity: 1; transform: translate(-50%, 0); }
  }
}
/* Telas bem estreitas: ícones do topo um pouco menores para caber o do app */
@media (max-width: 380px) {
  .header-actions .icon-btn, .header-actions .account-btn { width: 34px; height: 34px; }
  .header-actions svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .app-btn { animation: none; } }
@media (max-width: 340px) {
  .header-actions .icon-btn, .header-actions .account-btn { width: 31px; }
  .header-actions { margin-left: 8px; }
}
