/* O que a loja acrescentou ao design original (site.css): busca, catálogo com filtros,
   página de produto, sacola com quantidade, checkout e acompanhamento de pedido.
   Mesma linguagem: cantos retos, Manrope 800 nos títulos, rótulos pequenos em caixa alta, verde de destaque. */

/* ---------- base ---------- */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 700; }
.pular:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.story :focus-visible, footer :focus-visible, .page-head-escuro :focus-visible { outline-color: var(--green); }
body.sem-rolagem { overflow: hidden; }
main { display: block; min-height: 50vh; }
button { color: inherit; }
.icon-btn { min-width: 40px; min-height: 40px; justify-content: center; }

.btn { cursor: pointer; text-align: center; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn-verde, .btn.btn-verde { background: var(--green); border-color: var(--green); color: #1b2415; }
.btn-verde:hover, .btn.btn-verde:hover, .custom .btn:hover, .drawer-bottom .btn:hover { background: #7fd400; border-color: #7fd400; }
.btn-cheio { width: 100%; }
.text-link { display: inline-block; }
.text-link:hover { color: #4d9300; }

/* ---------- cabeçalho: busca ---------- */
.search-bar { border-top: 1px solid var(--line); background: #fcfbf7; padding: 14px 0; }
.search-bar .wrap { display: flex; gap: 10px; }
.search-bar input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid #cfd0c6; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.search-bar .btn { padding: 0 22px; }

/* ---------- home ---------- */
.hero-rotator { position: relative; }
.hero .hero-title { font: 800 clamp(48px, 5.3vw, 83px)/1.03 'Manrope', sans-serif; letter-spacing: -.075em; max-width: 720px; margin: 32px 0 24px; }
.hero .hero-title em { font-style: normal; color: #69b900; }
.hero-dots { position: absolute; left: max(34px, calc((100vw - 1252px) / 2)); bottom: 26px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 24px; border: 0; background: none; padding: 10px 0; }
.hero-dots button::before { content: ''; display: block; height: 3px; background: #b9bbb0; }
.hero-dots button.is-active::before { background: var(--ink); }
.ver-todos { margin: 34px 0 0; text-align: center; }
.vazio { color: #6c7068; font-size: 14px; }
.eyebrow-centro { justify-content: center; }
.custom-mais { margin: 26px 0 0 !important; }
.story-link { margin-top: 12px; color: #fff; }
.story-link:hover { color: var(--green); }
.category { transition: transform .2s; }
.category:hover { transform: translateY(-3px); }
.categories .category:nth-child(4) { background: #e6e9e1; }
.categories .category:nth-child(5) { background: #ece7de; }
.categories .category:nth-child(6) { background: #222922; color: #fff; }
.categories .category:nth-child(6) .illustration { color: #8fea00; text-shadow: 12px 12px 0 #3a4538; }
.newsletter-ok { margin-top: 14px; font-size: 13px; font-weight: 700; color: #2f4a12; }
.newsletter input { font-size: 16px; color: var(--ink); }
.newsletter button { min-height: 50px; }

/* ---------- card de produto ---------- */
.sem-foto { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8b8e84; }
.product-image > a { position: absolute; inset: 0; display: grid; place-items: center; }
.product-card.is-out img { filter: grayscale(.7); opacity: .7; }
.product-info h3 a:hover { color: #4d9300; }
.product-info .price { margin-top: 13px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font: 800 16px 'Manrope', sans-serif; letter-spacing: -.02em; }
.price s { font-size: 12px; color: #8b8e84; }
.price .consulta { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5c6157; }
.add { width: 42px; height: 42px; transition: background .15s; }

/* ---------- cabeça das páginas internas ---------- */
.page-head { background: #efeee8; padding: 46px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font: 800 clamp(32px, 4vw, 54px)/1.08 'Manrope', sans-serif; letter-spacing: -.06em; margin: 16px 0 0; overflow-wrap: anywhere; }
.page-desc { color: #666c63; font-size: 14px; line-height: 1.8; max-width: 560px; margin: 16px 0 0; }
.page-head .btn { margin-top: 26px; }
.page-head-escuro { background: #222922; color: #fff; border-bottom: 0; }
.page-head-escuro .page-desc, .page-head-escuro .trilha { color: #bbc2b8; }
.page-head-escuro .eyebrow { color: #b2bdad; }
.trilha { font-size: 11px; color: #6c7068; margin-bottom: 22px; letter-spacing: .03em; }
.trilha a { border-bottom: 1px solid transparent; }
.trilha a:hover { border-bottom-color: currentColor; }
.trilha span { font-weight: 700; }
.section-catalogo { padding: 46px 0 94px; }

/* ---------- catálogo com filtros ---------- */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 42px; align-items: start; }
.filtros-caixa > summary { list-style: none; font: 800 12px 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 2px solid var(--ink); pointer-events: none; }
.filtros-caixa > summary::-webkit-details-marker { display: none; }
.marca { background: var(--green); font-size: 9px; padding: 3px 7px; margin-left: 6px; letter-spacing: .08em; }
.filtro-grupo { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 20px 0; min-width: 0; }
.filtro-titulo { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; padding: 0; color: var(--ink); }
.filtro-grupo input[type=search], .faixa input { width: 100%; padding: 12px 13px; border: 1px solid #cfd0c6; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.opcao { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 7px 0; cursor: pointer; color: #454a42; }
.opcao input { width: 17px; height: 17px; accent-color: #5eb900; flex: none; margin: 0; }
.opcao span { flex: 1; }
.opcao small { color: #74786f; font-size: 11px; }
.faixa { display: flex; align-items: center; gap: 8px; }
.faixa span { color: #74786f; }
#filtrosForm .btn { margin-top: 22px; }
.limpar { margin-top: 18px; }
.catalog-barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.contagem { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5c6157; }
.ordenar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #5c6157; }
.ordenar select, .campo select { padding: 11px 34px 11px 13px; border: 1px solid #cfd0c6; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23202522' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 13px center; font: inherit; font-size: 14px; color: var(--ink); appearance: none; border-radius: 0; }
.products-3 { grid-template-columns: repeat(3, 1fr); }
.paginacao { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; font-size: 12px; color: #5c6157; }
.vazio-bloco { background: #fff; padding: 54px 30px; text-align: center; }
.vazio-bloco p { margin: 0 0 8px; font-size: 14px; color: #5c6157; }
.vazio-bloco p strong { font: 800 22px 'Manrope', sans-serif; letter-spacing: -.04em; color: var(--ink); }
.vazio-bloco .btn { margin-top: 20px; }

/* ---------- coleções ---------- */
.colecoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.colecao-card { background: #fff; display: flex; flex-direction: column; }
.colecao-foto { aspect-ratio: 4/3; background: #eeeae2; overflow: hidden; display: grid; place-items: center; }
.colecao-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.colecao-card:hover img { transform: scale(1.05); }
.colecao-texto { padding: 22px 20px 24px; }
.colecao-texto small { font-size: 10px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; color: #5c6157; }
.colecao-texto b { display: block; font: 800 24px 'Manrope', sans-serif; letter-spacing: -.05em; margin-top: 10px; }
.colecao-texto p { font-size: 12px; color: #6c7068; line-height: 1.7; margin: 10px 0 0; }

/* ---------- página de produto ---------- */
.section-pdp { padding: 34px 0 94px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pdp-foto { position: relative; background: #eeeae2; aspect-ratio: 10/11; overflow: hidden; display: grid; place-items: center; }
.pdp-foto img { width: 100%; height: 100%; object-fit: cover; }
.pdp-miniaturas { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp-miniaturas button { width: 78px; aspect-ratio: 10/11; padding: 0; border: 2px solid transparent; background: #eeeae2; overflow: hidden; }
.pdp-miniaturas button.is-active { border-color: var(--ink); }
.pdp-miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 110px; }
.pdp-info h1 { font: 800 clamp(30px, 3.4vw, 46px)/1.1 'Manrope', sans-serif; letter-spacing: -.06em; margin: 18px 0 14px; overflow-wrap: anywhere; }
.pdp-resumo { color: #5c6157; font-size: 15px; line-height: 1.7; margin-bottom: 22px; max-width: 520px; }
.pdp-preco { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pdp-preco strong { font: 800 30px 'Manrope', sans-serif; letter-spacing: -.04em; }
.pdp-preco s { color: #74786f; font-size: 15px; }
.pdp-preco small { flex-basis: 100%; color: #5c6157; font-size: 12px; }
.pdp-compra { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pdp-compra .btn { flex: 1; min-width: 220px; }
.pdp-aviso { font-size: 14px; color: #5c6157; background: #fff; padding: 14px 16px; border-left: 3px solid var(--ink); }
.pdp-duvida { margin-top: 6px; }
.qtd { display: inline-flex; border: 1px solid var(--ink); background: #fff; }
.qtd button { width: 44px; border: 0; background: none; font-size: 18px; }
.qtd button:hover { background: var(--green); }
.qtd input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 16px; background: none; color: var(--ink); appearance: textfield; -moz-appearance: textfield; }
.qtd input::-webkit-outer-spin-button, .qtd input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.pdp-fatos { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.pdp-fatos li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: #454a42; }
.pdp-fatos b { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; color: var(--ink); }
.pdp-descricao { margin-top: 30px; }
.pdp-descricao h2 { font: 800 18px 'Manrope', sans-serif; letter-spacing: -.03em; margin-bottom: 12px; }
.pdp-descricao p { font-size: 14px; line-height: 1.85; color: #454a42; max-width: 62ch; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.relacionados { margin-top: 94px; }

/* ---------- blocos, formulário, alertas ---------- */
.bloco { background: #fff; padding: 28px; margin: 0 0 18px; border: 0; min-width: 0; }
.bloco > legend, .bloco-titulo { font: 800 18px 'Manrope', sans-serif; letter-spacing: -.03em; margin: 0 0 18px; padding: 0; }
.bloco > legend { float: left; width: 100%; }
.bloco > legend + * { clear: both; }
.bloco p { font-size: 14px; line-height: 1.7; color: #454a42; }
.bloco p:last-child { margin-bottom: 0; }
.campo { margin-bottom: 16px; min-width: 0; }
.campo label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.campo input, .campo textarea, .campo select { width: 100%; padding: 14px; border: 1px solid #cfd0c6; background: #fff; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:focus-visible, .campo textarea:focus-visible, .campo select:focus-visible, .search-bar input:focus-visible, .filtro-grupo input:focus-visible { outline-offset: 0; border-color: var(--ink); }
.campo [aria-invalid=true] { border-color: #b3261e; }
.campo-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo-linha-rua { grid-template-columns: minmax(0, 1fr) 130px; }
.campo-curto { max-width: 260px; }
.opcional { font-weight: 400; color: #6c7068; }
.ajuda { display: block; font-size: 12px; color: #6c7068; margin-top: 6px; }
.erro { display: block; font-size: 12px; font-weight: 700; color: #b3261e; margin-top: 6px; }
.alerta { padding: 16px 18px; font-size: 14px; line-height: 1.6; margin-bottom: 18px; background: #fff; border-left: 4px solid var(--ink); }
.alerta strong { font-weight: 700; }
.alerta-erro { border-left-color: #b3261e; background: #fbeceb; color: #5f1410; }
.alerta-aviso { border-left-color: #c98a00; background: #fbf3dc; color: #4f3a00; }
.alerta-ok { border-left-color: #5eb900; background: #e9f6d3; color: #243a0c; }
.alerta a { border-bottom: 1px solid; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.opcoes-entrega { display: grid; gap: 10px; }
.entrega-opcao { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #cfd0c6; padding: 16px; cursor: pointer; }
.entrega-opcao:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.entrega-opcao input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #5eb900; flex: none; }
.entrega-opcao span { flex: 1; font-size: 14px; }
.entrega-opcao span b { display: block; }
.entrega-opcao span small { display: block; color: #6c7068; font-size: 12px; line-height: 1.5; margin-top: 4px; }
.entrega-opcao strong { font: 800 14px 'Manrope', sans-serif; white-space: nowrap; }
#endereco { margin-top: 20px; }
.checkout-nota { font-size: 12px; color: #6c7068; line-height: 1.7; margin: 16px 0 0; }
.checkout-nota a { border-bottom: 1px solid; }
.checkout-resumo { background: #fff; padding: 28px; position: sticky; top: 110px; }
.resumo-itens { list-style: none; padding: 0; margin: 0; }
.resumo-itens li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.resumo-itens li:first-child { padding-top: 0; }
.resumo-itens img, .mini-sem-foto { width: 56px; height: 63px; object-fit: cover; background: #eeeae2; flex: none; }
.resumo-itens div { flex: 1; min-width: 0; }
.resumo-itens strong { display: block; font-size: 13px; }
.resumo-itens small { display: block; color: #6c7068; font-size: 12px; margin-top: 4px; }
.resumo-preco { font-size: 13px; font-weight: 700; white-space: nowrap; }
.resumo-totais { margin: 16px 0 18px; }
.resumo-totais div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 13px; color: #454a42; }
.resumo-totais dd { margin: 0; font-weight: 700; }
.resumo-totais .total { border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 14px; color: var(--ink); }
.resumo-totais .total dt { font: 800 15px 'Manrope', sans-serif; }
.resumo-totais .total dd { font: 800 22px 'Manrope', sans-serif; letter-spacing: -.03em; }
.resumo-info { font-size: 12px !important; color: #6c7068 !important; line-height: 1.6; margin: 0 0 16px; }

/* ---------- pedido ---------- */
.pedido { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.etapas { list-style: none; margin: 0 0 18px; padding: 26px 28px; background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.etapas li { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 11px; font-weight: 700; color: #74786f; padding-right: 6px; }
.etapas li::before { content: ''; position: absolute; top: 13px; left: 28px; right: 0; height: 2px; background: #dcddd3; }
.etapas li:last-child::before { display: none; }
.etapa-ponto { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #cfd0c6; background: #fff; font-size: 11px; position: relative; z-index: 1; }
.etapas .feita, .etapas .atual { color: var(--ink); }
.etapas .feita .etapa-ponto, .etapas .atual .etapa-ponto { background: var(--green); border-color: var(--green); color: #1b2415; }
.etapas .feita::before { background: #5eb900; }
.pedido-pagar .btn { margin-top: 6px; }
.codigo { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .04em; user-select: all; }

/* ---------- texto longo e erro ---------- */
.texto-longo { max-width: 760px; }
.texto-longo h2 { font: 800 22px 'Manrope', sans-serif; letter-spacing: -.04em; margin: 38px 0 12px; }
.texto-longo h2:first-child { margin-top: 0; }
.texto-longo p { font-size: 15px; line-height: 1.85; color: #454a42; }
.texto-longo a { border-bottom: 1px solid; font-weight: 700; }
.texto-legal { font-size: 12px !important; color: #6c7068 !important; margin-top: 34px; }
.pagina-erro h1 { font: 800 clamp(34px, 5vw, 64px)/1.06 'Manrope', sans-serif; letter-spacing: -.065em; margin: 22px 0 16px; }
.pagina-erro p { color: #5c6157; font-size: 15px; line-height: 1.8; max-width: 480px; margin-bottom: 30px; }

/* ---------- sacola lateral ---------- */
.drawer { visibility: hidden; transition: transform .28s, visibility 0s .28s; height: 100dvh; }
.drawer.open { visibility: visible; transition: transform .28s, visibility 0s; }
.close { width: 44px; height: 44px; line-height: 1; }
.drawer-empty { color: #6c7068; font-size: 13px; line-height: 1.7; }
.drawer-aviso { font-size: 12px; background: #fbf3dc; color: #4f3a00; padding: 11px 13px; margin: 0 0 16px; line-height: 1.5; }
.drawer-item { align-items: flex-start; }
.drawer-item img, .drawer-item .mini-sem-foto { width: 70px; height: 79px; flex: none; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-info a { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; }
.drawer-item-info a:hover { color: #4d9300; }
.drawer-item-info small { display: block; color: #6c7068; margin-top: 4px; font-size: 12px; }
.drawer-item-acoes { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qtd-mini button { width: 34px; height: 34px; font-size: 16px; }
.qtd-mini output { width: 32px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.remover { border: 0; background: none; font-size: 11px; color: #6c7068; border-bottom: 1px solid; padding: 0 0 2px; }
.remover:hover { color: #b3261e; }
.drawer-item-total { font-size: 13px; font-weight: 700; white-space: nowrap; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.drawer-total strong { font: 800 22px 'Manrope', sans-serif; letter-spacing: -.03em; }
.drawer-list.carregando { opacity: .5; }

/* ---------- telas menores ---------- */
@media (max-width: 1000px) {
  .catalog { grid-template-columns: 1fr; gap: 22px; }
  .filtros-caixa { background: #fff; padding: 0 18px; }
  .filtros-caixa > summary { pointer-events: auto; cursor: pointer; padding: 16px 0; border-bottom: 0; display: flex; align-items: center; }
  .filtros-caixa > summary::after { content: '+'; margin-left: auto; font-size: 18px; font-weight: 400; }
  .filtros-caixa[open] > summary::after { content: '−'; }
  .filtros-caixa[open] { padding-bottom: 20px; }
  .filtros-caixa[open] > summary { border-bottom: 2px solid var(--ink); }
  .products-3 { grid-template-columns: repeat(2, 1fr); }
  .colecoes { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info, .checkout-resumo { position: static; }
  .checkout, .pedido { grid-template-columns: 1fr; }
  .checkout-resumo { order: -1; }
}
@media (max-width: 700px) {
  .hero .hero-title { font-size: clamp(43px, 10vw, 65px); margin: 24px 0 16px; }
  .hero-dots { left: 21px; bottom: auto; top: 18px; }
  .search-bar .btn span { display: none; }
  .page-head { padding: 32px 0 30px; }
  .section-catalogo { padding: 28px 0 62px; }
  .section-pdp { padding: 22px 0 62px; }
  .colecoes { grid-template-columns: 1fr; }
  .bloco, .checkout-resumo { padding: 20px 18px; }
  .campo-linha { grid-template-columns: 1fr; gap: 0; }
  .campo-linha-rua { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; }
  .campo-curto { max-width: none; }
  .etapas { grid-template-columns: 1fr; gap: 0; padding: 20px 18px; }
  .etapas li { flex-direction: row; align-items: center; gap: 14px; padding: 0 0 18px; font-size: 13px; }
  .etapas li:last-child { padding-bottom: 0; }
  .etapas li::before { top: 28px; bottom: 0; left: 13px; right: auto; width: 2px; height: auto; }
  .pdp-fatos li { grid-template-columns: 1fr; gap: 4px; }
  .relacionados { margin-top: 62px; }
  .drawer { padding: 20px 18px; }
  .newsletter form { max-width: none; }
  .paginacao { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .product-card:hover img, .colecao-card:hover img, .category:hover, .btn:hover { transform: none; }
}
