/* MM Store — estilos base. Cores e tipos em variáveis no :root. */
:root {
  --creme: #F2EDE4;
  --tinta: #121110;
  --laranja: #FF5B1F;
  --laranja-escuro: #C2410C;
  --amarelo: #FFE59A;
  --salvia: #D5E3D8;
  --lilas: #E4DDF5;
  --verde: #0D3B35;
  --dourado: #D9B25F;
  --texto-2: #5C574F;
  --linha: #E3DCD0;
  --branco: #FFFFFF;
  --raio: 28px;
  --fonte: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --titulo: "Bricolage Grotesque", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--tinta); font-family: var(--fonte); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: 28px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* Tipografia */
.t-display { font-family: var(--titulo); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.t-h2 { font-family: var(--titulo); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; font-size: clamp(36px, 5vw, 56px); margin: 0; }
.t-num { font-family: var(--titulo); font-weight: 800; letter-spacing: -0.03em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.muted { color: var(--texto-2); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--tinta); cursor: pointer; background: transparent; }
.btn-tinta { background: var(--tinta); color: var(--branco); }
.btn-laranja { background: var(--laranja); border-color: var(--laranja); color: var(--tinta); font-weight: 700; }
.btn-branco { background: var(--branco); border-color: var(--branco); color: var(--tinta); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn:hover { filter: brightness(0.95); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--tinta); background: var(--branco); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--tinta); color: var(--branco); }
.tag { display: inline-block; background: var(--branco); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; }

/* Barra superior e cabeçalho */
.topbar { background: var(--tinta); color: #CFC8BA; font-size: 13px; border-bottom: 1px solid #2A2724; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 10px; }
.topbar strong { color: #FF7A45; font-weight: 600; }
.header { background: var(--tinta); color: var(--creme); }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-block: 18px; }
.logo { font-family: var(--titulo); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.055em; color: var(--creme); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--laranja); }
.nav { display: flex; gap: 2px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: #2A2724; }
.busca { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; background: var(--branco); border: 1.5px solid var(--branco); color: var(--tinta); border-radius: 999px; padding: 5px 5px 5px 18px; }
.busca input { flex: 1; border: 0; background: transparent; font-size: 15px; min-width: 0; outline: none; }
.busca button { border: 0; background: var(--laranja); color: var(--tinta); font-weight: 700; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 0 18px; min-height: 40px; cursor: pointer; }
.icones { display: flex; gap: 8px; }
.icone { position: relative; width: 46px; height: 46px; border-radius: 999px; background: #2A2724; color: var(--creme); display: grid; place-items: center; text-decoration: none; }
.contador { position: absolute; top: -2px; right: -2px; background: var(--laranja); color: var(--tinta); font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.contador:empty { display: none; }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 640px) { .header .wrap { display: grid; grid-template-columns: 1fr auto; } .busca { grid-column: 1 / -1; grid-row: 2; } }

/* Cartões de produto */
.grade-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.card-produto { background: var(--creme); border-radius: var(--raio); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.bg-branco .card-produto { background: var(--creme); }
.card-foto { position: relative; border-radius: 22px; height: 240px; display: grid; place-items: center; background: var(--branco); text-decoration: none; }
.card-foto img { height: 200px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.18)); }
.card-foto .sem-foto { font-size: 13px; color: var(--texto-2); text-align: center; padding: 16px; }
.card-foto .tag { position: absolute; left: 12px; top: 12px; }
.card-corpo { padding: 0 6px 4px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-nome { font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.35; }
.medidor-rotulo { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.medidor { height: 8px; background: var(--linha); border-radius: 99px; overflow: hidden; }
.medidor span { display: block; height: 100%; background: var(--tinta); border-radius: 99px; }
.card-rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.preco { font-family: var(--titulo); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.btn-mais { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--laranja); cursor: pointer; display: grid; place-items: center; }

/* Rodapé */
.rodape { background: var(--tinta); color: #CFC8BA; }
.rodape .wrap { padding-block: 64px 28px; }
.rodape-marca { font-family: var(--titulo); font-weight: 800; font-size: clamp(56px, 9vw, 96px); letter-spacing: -0.05em; line-height: .9; color: var(--creme); margin-bottom: 48px; }
.rodape-marca span { color: var(--laranja); }
.rodape-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; font-size: 14px; }
.rodape-cols div { display: flex; flex-direction: column; gap: 8px; }
.rodape-cols strong { color: var(--branco); font-weight: 600; }
.rodape-cols a { color: #CFC8BA; text-decoration: none; }
.rodape-fim { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2E2A26; font-size: 13px; }

/* Aviso flutuante */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200px); visibility: hidden; background: var(--tinta); color: var(--branco); padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .25s; z-index: 50; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
