/* Torra Serrana, loja de demonstração. Self-hosted Bricolage Grotesque (opsz 12-96, wght 200-800). */
@font-face {
  font-family: 'Torra Bricolage';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/site/fontes/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Torra Bricolage';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/site/fontes/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback faces sized to Bricolage's measured width at the sizes the shop uses (2026-11-20, Edge on Windows):
   at text sizes Bricolage is about 5% wider than Segoe UI and 4% wider than Arial; at large display sizes its
   optical size narrows it, so big desktop headings get their own fallback. The swap then barely moves anything. */
@font-face { font-family: 'Torra Reserva'; font-weight: 100 499; src: local('Segoe UI'), local('SegoeUI'); size-adjust: 105%; ascent-override: 88.6%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva'; font-weight: 500 900; src: local('Segoe UI Semibold'), local('SegoeUI-Semibold'); size-adjust: 105%; ascent-override: 88.6%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Roboto'; font-weight: 100 499; src: local('Roboto'), local('Roboto-Regular'); size-adjust: 104%; ascent-override: 89.4%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Roboto'; font-weight: 500 900; src: local('Roboto Medium'), local('Roboto-Medium'); size-adjust: 100%; ascent-override: 93%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Arial'; font-weight: 100 499; src: local('Helvetica Neue'), local('HelveticaNeue'), local('Arial'), local('ArialMT'); size-adjust: 104%; ascent-override: 89.4%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Arial'; font-weight: 500 900; src: local('Helvetica Neue Medium'), local('HelveticaNeue-Medium'), local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 100%; ascent-override: 93%; descent-override: 27%; line-gap-override: 0%; }
/* light headings fall back to Segoe UI Light; at 104% every page title breaks into the same number of lines as
   Bricolage 300 (measured 2026-11-20 on 7 pages at 11 widths from 760 to 1440 px), so the swap moves nothing */
@font-face { font-family: 'Torra Reserva Titulo'; font-weight: 100 349; src: local('Segoe UI Light'), local('SegoeUI-Light'); size-adjust: 104%; ascent-override: 89.5%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Titulo'; font-weight: 350 900; src: local('Segoe UI'), local('SegoeUI'); size-adjust: 102%; ascent-override: 91.2%; descent-override: 26.5%; line-gap-override: 0%; }
@font-face { font-family: 'Torra Reserva Titulo Arial'; src: local('Helvetica Neue'), local('HelveticaNeue'), local('Roboto'), local('Arial'), local('ArialMT'); size-adjust: 96%; ascent-override: 96.9%; descent-override: 28.1%; line-gap-override: 0%; }

:root {
  --nevoa: #F2F4F5;
  --nevoa-2: #E4E9ED;
  --nevoa-3: #D6DDE3;
  --papel: #FFFFFF;
  --tinta: #1A2230;
  --tinta-2: #4A5361;
  --tinta-3: #5E6775;
  --linha: rgba(26, 34, 48, .12);
  --linha-forte: rgba(26, 34, 48, .22);
  --serra: #1F2C3B;
  --serra-2: #2C3D50;
  --cereja: #B42F22;
  --cereja-escura: #942417;
  --bourbon: #E9B44C;
  --ok: #2D6A4F;
  --alerta: #8A5300;
  --foco: #B42F22;
  --raio-g: 28px;
  --raio-m: 20px;
  --raio-p: 14px;
  --sombra-1: 0 1px 2px rgba(26, 34, 48, .06), 0 4px 14px -4px rgba(26, 34, 48, .10);
  --sombra-2: 0 2px 4px rgba(26, 34, 48, .05), 0 14px 34px -10px rgba(26, 34, 48, .20), 0 34px 70px -30px rgba(26, 34, 48, .22);
  --fonte: 'Torra Bricolage', 'Torra Reserva', 'Torra Reserva Roboto', 'Torra Reserva Arial', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fonte-titulo: 'Torra Bricolage', 'Torra Reserva Titulo', 'Torra Reserva Titulo Arial', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --largura: 1200px;
  --margem: 18px;
  /* the sticky header: the studio strip (--nota-h, its real height, from loja.js) and the floating bar below it */
  --altura-topo: calc(var(--nota-h, 44px) + 67px);
}
@media (min-width: 760px) { :root { --margem: 32px; --altura-topo: calc(var(--nota-h, 44px) + 75px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--altura-topo); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--nevoa);
  color: var(--tinta);
  font: 400 17px/1.55 var(--fonte);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 8px; }
.visivel-leitor { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--papel); color: var(--tinta); padding: 12px 18px; border-radius: 999px; box-shadow: var(--sombra-2); font-weight: 600; }
.pular:focus { top: 12px; }

/* ---------- header: demo note + floating bar ---------- */
.topo { position: sticky; top: 0; z-index: 40; pointer-events: none; }
.aviso-demo { position: relative; z-index: 2; pointer-events: auto; }
.aviso-curto { display: inline; }
.aviso-longo { display: none; }
@media (min-width: 760px) { .aviso-curto { display: none; } .aviso-longo { display: inline; } }

.barra {
  position: relative; z-index: 1; pointer-events: auto;
  max-width: calc(var(--largura) + 2 * var(--margem) - 24px);
  margin: 8px auto 0; margin-inline: max(10px, calc((100% - var(--largura)) / 2));
  height: 58px; padding: 0 7px 0 16px;
  display: flex; align-items: center; gap: 8px;
  background: var(--serra); color: #fff; border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 12px 30px -10px rgba(15, 23, 33, .45), 0 3px 8px rgba(15, 23, 33, .16);
  --foco: #F2C35B;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
.topo.recolhido .barra { transform: translateY(calc(-100% - 14px)); opacity: 0; pointer-events: none; }
.marca {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding-right: 6px;
  text-decoration: none; font-size: 18.5px; font-weight: 620; letter-spacing: -.015em; white-space: nowrap;
  --marca-fundo: var(--serra);
}
.marca-icone { width: 27px; height: 27px; color: var(--bourbon); flex: none; }
.navegacao { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navegacao a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-size: 16px; font-weight: 520; color: #E8EDF2;
}
.navegacao a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.navegacao a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.navegacao .so-largo { display: none; }
@media (min-width: 900px) { .navegacao .so-largo { display: inline-flex; } .navegacao { gap: 4px; } }
.botao-carrinho {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px;
  padding: 0 14px 0 12px; border-radius: 999px; background: #fff; color: var(--tinta);
  text-decoration: none; font-size: 16px; font-weight: 600; margin-left: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  --foco: #F2C35B;
}
.botao-carrinho svg { width: 22px; height: 22px; flex: none; }
.botao-carrinho .rotulo-carrinho { display: none; }
@media (min-width: 560px) { .botao-carrinho .rotulo-carrinho { display: inline; } }
.contagem {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--cereja); color: #fff; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.contagem[data-zero] { background: var(--nevoa-2); color: var(--tinta-2); }
/* the narrowest phones (320 to 359 px): a tighter bar, so the cart count stays inside the screen */
@media (max-width: 359px) {
  .barra { gap: 4px; padding: 0 6px 0 12px; }
  .barra .marca { gap: 7px; padding-right: 2px; font-size: 17px; }
  .barra .marca-icone { width: 24px; height: 24px; }
  .navegacao a { padding: 0 9px; }
  .botao-carrinho { gap: 6px; margin-left: 0; padding: 0 9px 0 9px; }
}
.contagem.pulo { animation: pulo .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pulo { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }

/* ---------- layout ---------- */
.conteudo { display: block; min-height: 100vh; padding-bottom: 32px; }
.faixa { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }
.secao { padding: 56px 0; }
@media (min-width: 760px) { .secao { padding: 88px 0; } }
.secao-cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.secao-cabeca p { max-width: 560px; color: var(--tinta-2); margin-top: 10px; }
h1, .titulo-1 { font-weight: 300; font-size: clamp(38px, 9.4vw, 78px); line-height: 1.02; letter-spacing: -.032em; }
@media (min-width: 760px) { h1, .titulo-1 { font-family: var(--fonte-titulo); } }
h2, .titulo-2 { font-weight: 360; font-size: clamp(30px, 6.6vw, 50px); line-height: 1.06; letter-spacing: -.026em; }
h3, .titulo-3 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -.012em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--tinta-2); max-width: 600px; }
@media (min-width: 760px) { .lead { font-size: 20px; } }
.link-seta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--cereja); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- buttons ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 17px; font-weight: 620; line-height: 1.1; letter-spacing: -.005em; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.botao-principal {
  background: var(--cereja); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 22px -8px rgba(180, 47, 34, .65), 0 2px 5px rgba(26, 34, 48, .14);
}
.botao-principal:hover { background: var(--cereja-escura); }
.botao-principal:active { transform: translateY(1px) scale(.99); }
.botao-principal:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--nevoa), 0 0 0 6px var(--cereja), 0 10px 22px -8px rgba(180, 47, 34, .65); }
.botao-principal[disabled], .botao-principal[aria-disabled="true"] { background: var(--nevoa-3); color: var(--tinta-2); box-shadow: none; cursor: not-allowed; }
.botao-suave { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 2px rgba(26, 34, 48, .08), 0 8px 18px -8px rgba(26, 34, 48, .25); }
.botao-suave:hover { background: #F8FAFB; }
.botao-largo { width: 100%; }
.botao-texto { background: none; border: 0; padding: 0 6px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--tinta); }
.selos { display: flex; flex-wrap: wrap; gap: 8px; }
.selo { font-size: 14.5px; font-weight: 520; }

/* ---------- home hero ---------- */
.heroi { padding: 10px 0 8px; }
.heroi-grade { display: grid; gap: 16px; }
.heroi h1 { max-width: 10em; font-size: clamp(30px, 8.9vw, 66px); letter-spacing: -.024em; }
.heroi .lead { margin-top: 12px; }
.heroi-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.heroi-acoes .botao { min-width: 220px; }
.heroi .selos { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--linha-forte); gap: 4px 18px; }
.heroi .selo { font-size: 14px; }
/* the real photo of a hillside coffee farm, alone */
.vitrine { order: -1; height: 238px; border-radius: 22px; overflow: hidden; background: var(--nevoa-3); }
.vitrine picture, .vitrine img { display: block; width: 100%; height: 100%; }
.vitrine img { object-fit: cover; object-position: 50% 30%; }
@media (max-width: 374px) { .vitrine { height: 218px; } }
@media (max-width: 759px) { .heroi-acoes .botao { min-width: 240px; } }
@media (min-width: 760px) {
  .heroi { padding: 40px 0 24px; }
  .heroi-grade { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  /* the headline shares the width with the photo: it scales with the screen, so a tablet does not stack it in seven lines */
  .heroi h1 { max-width: 10.4em; font-size: clamp(30px, 5.6vw, 66px); }
  .vitrine { order: 0; height: 560px; border-radius: var(--raio-g); }
  .vitrine img { object-position: 50% 40%; }
}

/* ---------- brewing methods: an index of three links, set in type ---------- */
.metodos { list-style: none; border-top: 1px solid var(--linha-forte); }
.metodos li { border-bottom: 1px solid var(--linha-forte); }
.metodo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 18px 2px 20px; text-decoration: none; }
.metodo strong { font-size: 24px; font-weight: 450; line-height: 1.2; letter-spacing: -.015em; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.metodo:hover strong { text-decoration-color: var(--cereja); }
.metodo .metodo-texto { grid-column: 1 / -1; color: var(--tinta-2); font-size: 15.5px; line-height: 1.45; }
.metodo .contador { grid-column: 2; grid-row: 1; font-size: 15.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .metodo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 28px; padding: 26px 4px; }
  .metodo strong { font-size: 32px; font-weight: 400; letter-spacing: -.02em; }
  .metodo .metodo-texto { grid-column: 2; grid-row: 1; font-size: 17px; }
  .metodo .contador { grid-column: 3; font-size: 17px; }
}

/* ---------- the coffee list (home, catalogue, related), set like a wine list ----------
   name and who grew it, where and how high, process and roast, what it tastes like, the price of the smallest bag */
/* the columns follow the width of the list itself (home, catalogue beside the filters, related), not the screen */
.lista-produtos { list-style: none; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); overflow: hidden; container-type: inline-size; }
.produto-linha { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; padding: 16px 18px 17px; transition: background-color .15s ease; }
.produto-linha + .produto-linha { border-top: 1px solid var(--linha); }
.produto-linha:hover { background: var(--nevoa); }
/* the keyboard focus rings the whole row (where :has() exists; elsewhere the name's own ring stays) */
@supports selector(:has(a)) {
  .produto-linha:has(a:focus-visible) { outline: 3px solid var(--foco); outline-offset: -3px; }
  .pl-titulo a:focus-visible { outline: none; }
}
.pl-nome { grid-column: 1; grid-row: 1; min-width: 0; }
.pl-cabeca { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pl-titulo { font-size: 18px; font-weight: 620; line-height: 1.25; letter-spacing: -.012em; }
.pl-titulo a { text-decoration: none; }
.pl-titulo a::after { content: ''; position: absolute; inset: 0; } /* the whole row opens the product */
.pl-quem { margin-top: 2px; font-size: 14.5px; line-height: 1.35; color: var(--tinta-2); }
.pl-origem, .pl-notas, .pl-detalhes { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.4; }
.pl-origem { color: var(--tinta-2); }
.pl-origem span { display: block; }
/* price and stock note: on phones the price sits beside the name and a stock note ("1 kg esgotado") closes the row;
   on wider lists both stack in the price column */
.pl-valor { display: contents; }
.pl-preco { grid-column: 2; grid-row: 1; text-align: right; font-weight: 650; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-preco small { display: block; font-size: 13.5px; font-weight: 450; color: var(--tinta-2); }
.pl-aviso { grid-column: 1 / -1; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--alerta); }
.etiqueta { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--bourbon); color: var(--tinta); }
/* a medium list: name | where, how and the notes | price */
@container (min-width: 560px) {
  .produto-linha { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(6.5em, auto); align-items: baseline; gap: 4px 28px; padding: 20px 24px 21px; }
  .pl-titulo { font-size: 19px; }
  .pl-quem, .pl-origem, .pl-notas, .pl-detalhes { font-size: 15.5px; }
  .pl-nome { grid-row: 1 / span 2; }
  .pl-origem { grid-column: 2; grid-row: 1; }
  .pl-notas { grid-column: 2; grid-row: 2; }
  .pl-detalhes { grid-column: 2; grid-row: 1 / span 2; }
  .pl-valor { display: block; grid-column: 3; grid-row: 1 / span 2; text-align: right; }
  .pl-preco { font-size: 17px; }
  .pl-aviso { margin-top: 2px; }
}
/* a wide list, set like a wine list: name | where and how | the notes | price */
@container (min-width: 860px) {
  .produto-linha { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(6.5em, auto); padding: 22px 28px 23px; }
  .pl-titulo { font-size: 20px; }
  .pl-nome { grid-row: 1; }
  .pl-notas { grid-column: 3; grid-row: 1; }
  .pl-detalhes { grid-column: 2 / 4; grid-row: 1; }
  .pl-valor { grid-column: 4; grid-row: 1; }
}

/* ---------- grinds ---------- */
.moagens { list-style: none; display: grid; border-top: 1px solid var(--linha-forte); }
.moagem { padding: 18px 2px 20px; border-bottom: 1px solid var(--linha-forte); }
.moagem h3 { font-size: 18px; }
.moagem p { margin-top: 4px; max-width: 36em; font-size: 15.5px; line-height: 1.5; color: var(--tinta-2); }
@media (min-width: 900px) {
  .moagens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 0; }
  .moagem { padding: 20px 0 0; border-bottom: 0; border-top: 2px solid var(--tinta); }
  .moagem h3 { font-size: 20px; }
  .moagem p { margin-top: 8px; }
}
.nota-pequena { margin-top: 18px; font-size: 15.5px; color: var(--tinta-2); max-width: 640px; }

/* ---------- shipping box ---------- */
.frete-faixa { display: grid; gap: 22px; padding: 26px 20px; border-radius: var(--raio-g); background: var(--serra); color: #fff; --foco: #F2C35B; }
.frete-faixa h2 { color: #fff; }
.frete-faixa .lead { color: #D3DCE5; }
@media (min-width: 900px) { .frete-faixa { grid-template-columns: 1fr 1fr; padding: 48px; gap: 48px; align-items: start; } }
.cep-form { display: flex; gap: 8px; align-items: flex-end; }
.frete-faixa .campo label { color: #fff; }
.campo-cep { flex: 1; min-width: 0; }
.cep-form input { width: 100%; }
.cep-form .botao { min-height: 52px; padding: 0 20px; flex: none; }
.frete-resultado { margin-top: 14px; }
.frete-faixa .frete-resultado { color: #fff; }
.opcoes-frete { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.opcoes-frete li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--raio-p); background: rgba(255, 255, 255, .08); }
.frete-faixa .opcoes-frete li { background: rgba(255, 255, 255, .08); }
.opcoes-frete strong { font-weight: 620; }
.opcoes-frete .valor { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gratis { color: #9BE3B7; }
.dias-torra { display: grid; gap: 10px; margin-top: 18px; }
.dia { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: #D3DCE5; }
.dia strong { color: #fff; min-width: 74px; }

/* ---------- forms ---------- */
.campo { display: grid; gap: 6px; }
.campo label, .legenda { font-size: 15px; font-weight: 600; }
.campo .ajuda { font-size: 14px; color: var(--tinta-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--raio-p); border: 1.5px solid var(--linha-forte);
  background: var(--papel); color: var(--tinta); font-size: 17px; line-height: 1.3; -webkit-appearance: none; appearance: none;
}
select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--cereja); box-shadow: 0 0 0 4px rgba(180, 47, 34, .18); }
.frete-faixa input { border-color: transparent; }
.frete-faixa input:focus-visible { box-shadow: 0 0 0 4px rgba(242, 195, 91, .45); border-color: #F2C35B; }
[aria-invalid="true"] { border-color: var(--cereja) !important; }
.erro { display: flex; gap: 6px; align-items: flex-start; font-size: 14.5px; font-weight: 550; color: var(--cereja); }
.frete-faixa .erro { color: #FFB4A8; }
.erro:empty { display: none; }

/* pills (radio/checkbox) */
.pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.pilula { position: relative; display: inline-flex; }
.pilula input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pilula span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--papel); border: 1.5px solid var(--linha-forte); font-size: 15.5px; font-weight: 520; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pilula small { font-size: 13.5px; color: var(--tinta-2); font-weight: 450; }
.pilula input:checked + span { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.pilula input:checked + span small { color: #C9D2DC; }
.pilula input:focus-visible + span { outline: 3px solid var(--foco); outline-offset: 2px; }
.pilula input:disabled + span { opacity: .55; text-decoration: line-through; cursor: not-allowed; }
.pilula input:disabled { cursor: not-allowed; }

/* ---------- catalogue ---------- */
.cat-cabeca { padding: 20px 0 6px; }
.cat-cabeca h1, .pedido-cabeca h1 { font-size: clamp(36px, 8.6vw, 60px); }
.politicas { max-width: 1000px; }
.cat-cabeca .lead { margin-top: 10px; }
.cat-ferramentas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 10px; }
.botao-filtros { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--papel); font-weight: 600; box-shadow: var(--sombra-1); }
.botao-filtros svg { width: 20px; height: 20px; }
.ordenar { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ordenar label { font-size: 15px; color: var(--tinta-2); }
.ordenar select { min-height: 48px; width: auto; border-radius: 999px; padding: 0 40px 0 16px; font-size: 16px; }
.atalhos { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--margem) 12px; margin: 0 calc(-1 * var(--margem)); scrollbar-width: none; }
.atalhos::-webkit-scrollbar { display: none; }
.atalhos .pilula span { white-space: nowrap; }
.ativos { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.ativo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 14px; border-radius: 999px; border: 0; background: var(--nevoa-2); font-size: 15px; font-weight: 520; }
.ativo svg { width: 18px; height: 18px; }
.resultado-contagem { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.cat-grade { display: grid; gap: 28px; }
.cat-grade > * { min-width: 0; } /* the scrolling row of method pills must not widen the page on narrow phones */
.filtros-lateral { display: none; }
@media (min-width: 1000px) {
  .cat-grade { grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
  /* the filters are taller than a laptop screen: they scroll inside, so a pill reached with Tab is always in view */
  .filtros-lateral { display: block; position: sticky; top: calc(var(--altura-topo) + 12px); max-height: calc(100vh - var(--altura-topo) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 6px 10px 16px 6px; margin: -6px -10px 0 -6px; }
  .botao-filtros, .atalhos { display: none; }
}
.filtros fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.filtros legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 650; }
.filtros .pilula span { font-size: 15px; }
.filtros-acoes { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.vazio { padding: 40px 24px; border-radius: var(--raio-m); background: var(--papel); text-align: center; box-shadow: var(--sombra-1); }
.vazio p { color: var(--tinta-2); margin: 8px auto 16px; max-width: 420px; }
.folha { width: 100%; max-width: 560px; max-height: 88vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--nevoa); color: var(--tinta); box-shadow: 0 -20px 60px rgba(10, 16, 24, .3); }
.folha::backdrop { background: rgba(14, 21, 32, .5); }
.folha-cabeca { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 12px 20px; background: var(--nevoa); border-bottom: 1px solid var(--linha); }
.folha-cabeca h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.folha-corpo { padding: 18px 20px 8px; }
.folha-pe { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--nevoa); border-top: 1px solid var(--linha); }
.botao-fechar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--papel); box-shadow: var(--sombra-1); }
.botao-fechar svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) { .folha[open] { animation: folha .32s cubic-bezier(.2, .8, .2, 1); } }
@keyframes folha { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- product page ---------- */
.migalhas { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 15px; color: var(--tinta-2); padding: 14px 0 10px; }
.migalhas a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 550; color: var(--tinta); }
/* the buying column, then the coffee's sheet (beside it from 900 px, and it stays in view), then the rest */
.produto-grade { display: grid; gap: 18px; }
.produto-compra, .produto-mais { display: grid; gap: 18px; align-content: start; min-width: 0; }
.produto-mais { gap: 14px; }
.produto-titulo { font-size: clamp(38px, 9.4vw, 64px); }
.produto-sub { color: var(--tinta-2); font-size: 17px; line-height: 1.5; margin-top: 8px; }
.produto-notas { max-width: 28em; font-size: 19px; line-height: 1.45; }
.produto-ficha.caixa { padding: 22px 22px 10px; }
.produto-ficha.esqueleto { min-height: 520px; border-radius: var(--raio-m); }
.ficha-altitude { display: grid; gap: 6px; margin: 14px 0 18px; }
.ficha-altitude strong { font-family: var(--fonte-titulo); font-size: clamp(46px, 13vw, 72px); font-weight: 300; line-height: .95; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ficha-altitude span { font-size: 15.5px; color: var(--tinta-2); }
.ficha { display: grid; font-size: 15.5px; }
.ficha > div { display: grid; grid-template-columns: minmax(0, 8.4em) minmax(0, 1fr); gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--linha); }
.ficha dt { color: var(--tinta-2); }
.ficha dd { margin: 0; font-weight: 550; }
.ficha-lista { list-style: none; display: grid; margin-top: 12px; font-size: 16px; }
.ficha-lista li { padding: 12px 0; border-top: 1px solid var(--linha); }
@media (min-width: 900px) {
  .produto-grade { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "compra ficha" "mais ficha"; gap: 22px 56px; align-items: start; }
  .produto-compra { grid-area: compra; }
  .produto-mais { grid-area: mais; }
  .produto-ficha { grid-area: ficha; position: sticky; top: calc(var(--altura-topo) + 12px); }
  .produto-ficha.caixa { padding: 32px 36px 18px; }
  .produto-notas { font-size: 21px; }
}
.preco-bloco { display: grid; gap: 2px; }
.preco-grande { font-size: 36px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.preco-pix { font-size: 16px; color: var(--ok); font-weight: 600; }
.escolha legend, .escolha .legenda { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 650; }
.escolha { border: 0; padding: 0; margin: 0; }
.tamanhos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tamanhos .pilula span { width: 100%; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 6px 8px; border-radius: 18px; }
.tamanhos .pilula strong { font-size: 17px; font-weight: 650; }
.tamanhos .pilula small { font-size: 14px; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.moagens-escolha { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .moagens-escolha { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.moagens-escolha .pilula span { width: 100%; min-height: 52px; border-radius: 16px; justify-content: space-between; padding: 8px 14px; }
.indicado { font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #FBEDE6; color: var(--cereja-escura); }
.pilula input:checked + span .indicado { background: rgba(255, 255, 255, .16); color: #fff; }
.comprar { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; }
.comprar .botao { grid-column: 1 / -1; width: 100%; }
.comprar .estoque { line-height: 1.35; }
.quantidade { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; background: var(--papel); box-shadow: var(--sombra-1); }
.quantidade button { min-width: 48px; padding: 0 9px; height: 52px; border: 0; background: none; font-size: 14px; font-weight: 500; border-radius: 999px; display: grid; place-items: center; }
.quantidade button:disabled { color: var(--nevoa-3); cursor: not-allowed; }
.quantidade output, .quantidade span { min-width: 28px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.estoque { font-size: 15px; font-weight: 600; color: var(--ok); }
.estoque.pouco { color: var(--alerta); }
.estoque.zero { color: var(--cereja); }
.caixa { padding: 20px; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); }
.caixa h2, .caixa h3 { font-size: 20px; font-weight: 620; letter-spacing: -.01em; margin-bottom: 10px; }
.caixa .opcoes-frete li { background: var(--nevoa); }
.barras { display: grid; gap: 12px; }
.barra-xicara { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; font-size: 15.5px; }
.receita { font-size: 16.5px; line-height: 1.55; }
.receita-metodo { margin-bottom: 4px; font-weight: 650; }
.historia { font-size: 17px; line-height: 1.6; }
.produtor { margin-top: 12px; font-size: 15px; color: var(--tinta-2); }
.perguntas { display: grid; justify-items: start; gap: 8px; }
.perguntas .botao { min-height: 48px; padding: 0 18px; font-size: 15.5px; text-align: left; }

/* toast after adding to cart */
.aviso-carrinho {
  position: fixed; z-index: 45; left: 50%; top: calc(var(--altura-topo) + 6px); width: min(calc(100% - 24px), 460px);
  display: grid; gap: 12px; padding: 16px 14px 12px;
  border-radius: 22px; background: var(--papel); box-shadow: 0 24px 60px -12px rgba(14, 21, 32, .35), 0 2px 8px rgba(14, 21, 32, .1);
  transform: translateX(-50%);
}
.aviso-carrinho[hidden] { display: none; }
.aviso-carrinho p { padding: 0 4px; font-size: 15.5px; line-height: 1.35; }
.aviso-carrinho .acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.aviso-carrinho .acoes .botao { flex: 1 1 auto; min-height: 46px; font-size: 16px; padding: 0 14px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .aviso-carrinho:not([hidden]) { animation: descer .3s cubic-bezier(.2, .8, .2, 1); } }
@keyframes descer { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- cart ---------- */
.carrinho-grade { display: grid; gap: 22px; }
@media (min-width: 960px) { .carrinho-grade { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; } .resumo { position: sticky; top: calc(var(--altura-topo) + 12px); } }
.itens { list-style: none; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); }
.item { padding: 16px 18px 12px; }
.item + .item { border-top: 1px solid var(--linha); }
@media (min-width: 760px) { .item { padding: 18px 24px 14px; } }
.item-topo { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.item-nome { font-weight: 620; font-size: 17px; line-height: 1.25; text-decoration: none; }
.item-meta { font-size: 14.5px; color: var(--tinta-2); margin-top: 2px; }
.item-preco { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-base { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.item .quantidade { height: 44px; }
.item .quantidade button { min-width: 44px; height: 44px; }
.progresso { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); font-size: 15.5px; }
.progresso-trilho { height: 8px; border-radius: 999px; background: var(--nevoa-2); overflow: hidden; }
.progresso-trilho i { display: block; height: 100%; border-radius: 999px; background: var(--ok); transition: width .4s ease; }
.resumo { display: grid; gap: 16px; padding: 22px; border-radius: var(--raio-g); background: var(--papel); box-shadow: var(--sombra-2); }
.linhas { display: grid; gap: 10px; font-size: 16px; }
.linha { display: flex; justify-content: space-between; gap: 12px; }
.linha span:last-child { font-variant-numeric: tabular-nums; font-weight: 550; text-align: right; }
.linha.desconto span:last-child { color: var(--ok); }
.linha.total { padding-top: 12px; border-top: 1px solid var(--linha); font-size: 19px; font-weight: 650; }
.linha.total span:last-child { font-weight: 700; }
.radio-frete { list-style: none; display: grid; gap: 8px; }
.radio-frete label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border-radius: var(--raio-p); border: 1.5px solid var(--linha-forte); background: var(--papel); cursor: pointer; }
.radio-frete input { width: 20px; height: 20px; margin: 0; accent-color: var(--tinta); }
.radio-frete label:has(input:checked) { border-color: var(--tinta); box-shadow: 0 0 0 1px var(--tinta) inset; }
.radio-frete small { display: block; color: var(--tinta-2); font-size: 14px; }
.radio-frete .valor { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- checkout ---------- */
.passos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 20px; counter-reset: passo; }
.passos li { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--tinta-2); counter-increment: passo; }
.passos li::before { content: ''; height: 6px; border-radius: 999px; background: var(--nevoa-3); }
.passos li span::before { content: counter(passo) '. '; }
.passos li[data-estado="feito"]::before { background: var(--ok); }
.passos li[data-estado="atual"] { color: var(--tinta); }
.passos li[data-estado="atual"]::before { background: var(--cereja); }
.checkout-grade { display: grid; gap: 22px; }
@media (min-width: 960px) { .checkout-grade { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.etapa { display: grid; gap: 16px; padding: 22px 18px; border-radius: var(--raio-g); background: var(--papel); box-shadow: var(--sombra-1); }
@media (min-width: 760px) { .etapa { padding: 30px; } }
.etapa[hidden] { display: none; }
.etapa h2 { font-size: 26px; font-weight: 500; }
.campos-2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .campos-2 { grid-template-columns: 1fr 1fr; } .campos-2 .largo { grid-column: 1 / -1; } }
.aviso-dados { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--raio-p); background: #FFF6E3; color: #4A3608; font-size: 15px; line-height: 1.45; }
.aviso-dados svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.etapa-acoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.etapa-acoes .botao-principal { flex: 1 1 260px; }
.pagamentos { display: grid; gap: 10px; }
.pagamento { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: var(--raio-p); border: 1.5px solid var(--linha-forte); }
.pagamento input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tinta); }
.pagamento strong { display: block; font-weight: 650; }
.pagamento small { display: block; font-size: 14.5px; color: var(--tinta-2); margin-top: 2px; }
.pagamento:has(input:checked) { border-color: var(--tinta); box-shadow: 0 0 0 1px var(--tinta) inset; }
.pagamento.indisponivel { background: var(--nevoa); border-style: dashed; }
.pagamento.indisponivel strong { color: var(--tinta-2); }
.resumo-checkout summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; font-weight: 620; list-style: none; }
.resumo-checkout summary::-webkit-details-marker { display: none; }
.resumo-checkout summary svg { width: 20px; height: 20px; transition: transform .2s; }
.resumo-checkout[open] summary svg { transform: rotate(180deg); }
.mini-itens { list-style: none; display: grid; gap: 10px; margin: 12px 0 16px; }
.mini-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; font-size: 15px; }
.mini-item + .mini-item { padding-top: 10px; border-top: 1px solid var(--linha); }
.mini-item > span:last-child { font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap; }
.mini-item small { display: block; color: var(--tinta-2); font-size: 13.5px; }
.resumo-confirmado { font-size: 15.5px; color: var(--tinta-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 16px; border-radius: var(--raio-p); background: var(--nevoa); }
.resumo-confirmado strong { color: var(--tinta); }

/* ---------- order page ---------- */
.pedido-cabeca { padding: 20px 0 8px; }
.pedido-numero { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--papel); font-weight: 650; font-variant-numeric: tabular-nums; box-shadow: var(--sombra-1); margin-bottom: 14px; }
.pix { display: grid; gap: 18px; padding: 22px; border-radius: var(--raio-g); background: var(--papel); box-shadow: var(--sombra-2); }
@media (min-width: 760px) { .pix { padding: 30px; } }
.pix-valor { font-size: 32px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.codigo-pix { display: grid; gap: 8px; }
.codigo-pix code { display: block; padding: 12px 14px; border-radius: 12px; background: var(--nevoa); font: 500 14px/1.45 ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace; overflow-wrap: anywhere; color: var(--tinta); }
.pix-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.pago { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: var(--raio-m); background: #E5F2EA; color: #173D2B; font-weight: 600; }
.pago svg { width: 26px; height: 26px; flex: none; }
.linha-tempo { list-style: none; display: grid; gap: 0; }
.marco { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; }
.marco:last-child { padding-bottom: 0; }
.marco::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--nevoa-3); }
.marco:last-child::before { display: none; }
.marco .ponto { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--nevoa-3); background: var(--papel); display: grid; place-items: center; }
.marco .ponto svg { width: 15px; height: 15px; }
.marco[data-estado="feito"] .ponto { background: var(--ok); border-color: var(--ok); color: #fff; }
.marco[data-estado="feito"]::before { background: var(--ok); }
.marco[data-estado="agora"] .ponto { border-color: var(--cereja); box-shadow: 0 0 0 5px rgba(180, 47, 34, .14); }
.marco[data-estado="agora"] .ponto::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--cereja); }
.marco strong { display: block; font-weight: 650; font-size: 17px; }
.marco p { font-size: 15.5px; color: var(--tinta-2); margin-top: 2px; line-height: 1.45; }
.marco .quando { font-size: 14.5px; font-weight: 600; color: var(--tinta); margin-top: 2px; }

/* ---------- policies ---------- */
.politicas { display: grid; gap: 16px; }
.politica { padding: 24px 20px; border-radius: var(--raio-g); background: var(--papel); box-shadow: var(--sombra-1); }
@media (min-width: 760px) { .politica { padding: 36px 40px; } }
.politica h2 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 14px; }
.politica p + p { margin-top: 12px; }
.politica p { max-width: 45.5em; line-height: 1.6; }
.indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.indice a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--papel); text-decoration: none; font-weight: 550; box-shadow: var(--sombra-1); }
.tabela-frete { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15.5px; }
.tabela-frete caption { text-align: left; font-size: 14.5px; color: var(--tinta-2); padding-bottom: 8px; caption-side: bottom; padding-top: 10px; }
.tabela-frete th, .tabela-frete td { padding: 12px 8px; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
.tabela-frete th { font-weight: 650; font-size: 14.5px; color: var(--tinta-2); }
.tabela-frete td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabela-rolagem { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
@media (max-width: 559px) {
  .tabela-frete thead { display: none; }
  .tabela-frete tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
  .tabela-frete td { border: 0; padding: 0; }
  .tabela-frete td:first-child { grid-column: 1 / -1; font-weight: 620; }
  .tabela-frete td.num::before { content: attr(data-rotulo); display: block; font-size: 13.5px; color: var(--tinta-2); font-weight: 500; }
}

/* ---------- footer ---------- */
.rodape { margin-top: 8px; padding: 44px 0 calc(104px + env(safe-area-inset-bottom)); background: var(--nevoa-2); color: var(--tinta-2); border-top: 1px solid var(--linha); }
.rodape-grade { display: grid; gap: 24px; }
@media (min-width: 900px) { .rodape-grade { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.rodape .marca { color: var(--tinta); --marca-fundo: var(--nevoa-2); }
.rodape .marca .marca-icone { color: var(--serra); --marca-fundo: var(--bourbon); }
.rodape p { font-size: 15.5px; line-height: 1.55; margin-top: 8px; max-width: 28.7em; }
.rodape h2 { font-size: 16px; font-weight: 650; color: var(--tinta); margin-bottom: 4px; letter-spacing: 0; }
.rodape ul { list-style: none; }
.rodape li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--tinta); text-decoration: none; font-size: 16px; }
.rodape li a:hover { text-decoration: underline; }
.rodape .ficticio { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linha); font-size: 14.5px; color: var(--tinta-2); max-width: none; }
.rodape .ficticio a, .rodape .creditos-fotos a { color: var(--tinta); font-weight: 650; display: inline-flex; align-items: center; min-height: 44px; }
.rodape .creditos-fotos { margin-top: 0; font-size: 14.5px; color: var(--tinta-2); max-width: none; }

/* ---------- from the farm to the cup: real photos ---------- */
.caminho { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margem); padding: 4px var(--margem) 16px; margin: 0 calc(-1 * var(--margem)) 14px; scrollbar-width: none; overscroll-behavior-x: contain; counter-reset: caminho; }
.caminho::-webkit-scrollbar { display: none; }
.caminho-passo { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); overflow: hidden; counter-increment: caminho; }
.caminho-passo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--nevoa-2); }
.caminho-passo div { padding: 16px 18px 20px; }
.caminho-passo h3 { font-size: 19px; }
.caminho-passo h3::before { content: counter(caminho) '. '; color: var(--tinta-3); font-weight: 500; }
.caminho-passo p { margin-top: 6px; font-size: 15.5px; color: var(--tinta-2); line-height: 1.5; }
@media (min-width: 760px) {
  .caminho { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0 0 24px; gap: 20px; }
  .caminho-passo img { aspect-ratio: 4 / 5; }
  .caminho-passo div { padding: 20px 22px 24px; }
}

/* ---------- photo credits ---------- */
.creditos { list-style: none; display: grid; gap: 12px; margin: 22px 0 18px; max-width: 860px; }
.credito { padding: 20px; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); }
.credito h2 { margin-bottom: 8px; }
.credito p { font-size: 16px; line-height: 1.55; }
.credito a { font-weight: 600; }
.credito .nota-pequena { margin-top: 8px; font-size: 15px; }

/* ---------- misc ---------- */
.carregando { min-height: 60vh; }
/* room kept for the lists while the catalogue loads, so nothing jumps */
.prateleira:empty, #grade-cafes:empty { min-height: 1500px; }
@media (min-width: 760px) { .prateleira:empty { min-height: 970px; } #grade-cafes:empty { min-height: 1050px; } }
#grade-acessorios:empty { min-height: 650px; }
@media (min-width: 760px) { #grade-acessorios:empty { min-height: 450px; } }
#moagens:empty { min-height: 470px; }
@media (min-width: 900px) { #moagens:empty { min-height: 125px; } }
@media (max-width: 759px) { .ordenar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.dia span { flex: 1; }
.esqueleto { border-radius: var(--raio-m); background: linear-gradient(90deg, var(--nevoa-2), #EDF1F4, var(--nevoa-2)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .esqueleto { animation: brilho 1.4s linear infinite; } }
@keyframes brilho { to { background-position: -200% 0; } }
.compra-segura { display: grid; gap: 12px; }
@media (min-width: 900px) { .compra-segura { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.compra-segura article { padding: 22px 20px; border-radius: var(--raio-m); background: var(--papel); box-shadow: var(--sombra-1); }
.compra-segura h3 { font-size: 19px; margin-bottom: 8px; }
.compra-segura p { font-size: 15.5px; color: var(--tinta-2); line-height: 1.5; }
.sem-js { padding: 18px; margin: 18px 0; border-radius: var(--raio-p); background: #FFF6E3; color: #4A3608; }

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

.lista-produtos { border-radius: 0; box-shadow: none; border-block: 1px solid var(--linha); }
.pl-notas { font-weight: 600; color: var(--tinta); }
.pl-notas::first-letter { text-transform: uppercase; }
@container (max-width: 559px) {
  .produto-linha { padding: 18px 12px; gap: 5px 10px; }
  .pl-notas { grid-row: 2; }
  .pl-titulo { font-size: 20px; }
}
@container (min-width: 560px) and (max-width: 859px) {
  .pl-notas { grid-row: 1; }
  .pl-origem { grid-row: 2; }
}
@container (min-width: 860px) {
  .pl-notas { grid-column: 2; }
  .pl-origem { grid-column: 3; }
}
.produto-notas { font-family: var(--fonte-titulo); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; margin: 12px 0; }
.produto-sub { font-size: 16px; }
.produto-ficha.caixa { border-radius: 0; border-top: 2px solid var(--tinta); box-shadow: none; }
.ficha-altitude strong { font-size: clamp(32px, 6vw, 44px); }
.barra-xicara { grid-template-columns: 1fr auto; padding-bottom: 6px; border-bottom: 1px solid var(--linha); }
.barra-xicara strong { font-variant-numeric: tabular-nums; }
.pix { max-width: 52rem; }
@media (min-width: 375px) and (max-width: 559px) {
  .moagens-escolha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moagens-escolha .pilula span { flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: 7px 9px; font-size: 15px; white-space: nowrap; }
  .moagens-escolha .indicado { padding: 0; background: transparent; font-size: 12px; }
}

/* Faixa do Capi Studio: a nota de demonstração no topo, igual em todas as demonstrações (este mesmo bloco no fim da
   folha de estilo de cada uma). A cor, a letra e a ligação são as do Capi Studio (pme-ia/design.md e
   public/site/capi/tokens.css: --color-ink #1b110c, --color-on-ink #fbf7f2, texto pequeno 14 px peso 500, ligação peso
   650 sublinhada); o negócio fictício mantém a sua marca no resto da página. Não descarrega letra nenhuma (os números
   medidos de cada demonstração continuam certos): o Archivo só se usa se estiver instalado; senão a reserva local com as
   métricas do Archivo, a mesma que as páginas do estúdio mostram enquanto ele carrega. Tudo em ficheiro externo, nada
   inline: funciona sob style-src 'self'. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 98.4%;
  ascent-override: 87%;
  descent-override: 21%;
  line-gap-override: 0%;
}
.faixa-estudio {
  display: block;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  background: #1b110c;
  color: #fbf7f2;
  font-family: 'Archivo', 'Archivo Fallback', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 20px;
  text-align: center;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.faixa-estudio p { display: inline; margin: 0; padding: 0; font: inherit; color: inherit; }
/* The link's target is 44 px tall inside the strip (the strip grows to hold it, nothing overlaps the page) */
.faixa-estudio a {
  display: inline-block;
  margin: -12px -4px -12px 4px;
  padding: 12px 4px;
  color: #fbf7f2;
  font-weight: 650;
  white-space: nowrap;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: currentColor;
  transition: text-decoration-thickness 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faixa-estudio a:focus-visible { outline: 2px solid #fbf7f2; outline-offset: -2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .faixa-estudio a:hover { text-decoration-thickness: 2.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .faixa-estudio a { transition: none; }
}
