/* Provador — vitrine pública. CSS próprio, sem etapa de build. */
:root {
  --bg: #F5F3F0;
  --surface: #ECE8E3;
  --card: #FFFFFF;
  --ink: #1C1A17;
  --muted: #5E5850;
  --line: #DDD7CF;
  --line-strong: #CFC8BE;
  --accent: #7A5C3E;
  --accent-soft: #CDBBA0;
  --green: #0F7A40;
  --green-soft: #E3EFE6;
  --green-ink: #1E5A33;
  --red: #8A2F22;
  --red-soft: #FBF1EF;
  --amber-soft: #F6EAD7;
  --amber-ink: #5C3A10;
  --radius: 14px;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.01em; margin: 0; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.serif { font-family: var(--serif); font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow.mt { margin-top: 20px; }
.section { padding-block: 64px; }
.section-alt { background: var(--surface); }
.section-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); }
.btn:hover { color: var(--ink); background: rgba(28,26,23,.04); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.btn-dark:hover { background: #33302B; color: #fff; }
.btn-whatsapp { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.btn-whatsapp:hover { background: #0C6634; color: #fff; }
.btn-whatsapp-outline { border-color: var(--green); color: var(--green); font-weight: 600; }
.btn-whatsapp-outline:hover { color: var(--green); background: var(--green-soft); }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; color: var(--ink); font-size: 14px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--ink); text-decoration: none; position: relative; flex: 0 0 auto; }
.icon-btn.outline { border: 1px solid var(--line-strong); }
.icon-btn.dark { background: var(--ink); color: #fff; }
.badge-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.cart-btn { height: 44px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.cart-btn .count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); text-decoration: none; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"], .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.tag.dark { background: var(--ink); }

/* Topo */
.topbar { background: var(--ink); color: var(--bg); font-size: 13px; text-align: center; padding: 9px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 30; }
.header-row { display: flex; align-items: center; gap: 16px 28px; min-height: 76px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--ink); }
.brand-logo { max-height: 44px; width: auto; }
.header-search, .field-search { flex: 1 1 240px; max-width: 360px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 16px; height: 44px; background: var(--card); color: var(--muted); }
.header-search input, .field-search input { border: 0; outline: none; background: transparent; flex: 1; min-width: 0; font-size: 14px; color: var(--ink); }
.header-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; font-weight: 500; flex: 1 1 auto; justify-content: center; }
.header-nav a { text-decoration: none; padding: 12px 0; }
.header-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }

/* Menu mobile e gavetas */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28,26,23,.5); z-index: 60; }
.menu-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg); z-index: 61; display: flex; flex-direction: column; box-shadow: 12px 0 40px rgba(28,26,23,.18); }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px 20px; }
.menu-drawer .field-search { margin: 4px 20px 12px; max-width: none; flex: 0 0 auto; }
.menu-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.menu-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; }
.menu-link.small { justify-content: flex-start; border: 0; min-height: 46px; font-size: 15px; }
.menu-foot { padding: 16px 20px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.slide-in-left { animation: slideInLeft .2s ease-out; }
.slide-out-left { animation: slideInLeft .15s ease-in reverse; }
@keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: none; } }

/* Home */
.hero { padding-block: 56px 64px; }
.hero-title { text-align: center; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-sub { text-align: center; color: var(--muted); max-width: 520px; margin: 14px auto 0; }
.carousel { margin-top: 44px; position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; height: 460px; border-radius: 16px; background: var(--surface) center / cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; position: relative; overflow: hidden; }
.slide-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.slide-card strong { font-size: 16px; font-weight: 600; display: block; }
.carousel-controls { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; align-items: center; }
.dot-btn { width: 32px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot { display: block; height: 8px; width: 8px; border-radius: 999px; background: #BDB5AA; transition: width .2s; }
.dot.on { width: 28px; background: var(--accent); }
.arrow-btn { width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: #fff; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.arrow-btn[disabled] { background: transparent; color: #8F877D; border-color: var(--line); cursor: default; }
.cat-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.cat-grid h2 { flex: 1 1 280px; }
.cat-list { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 40px; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.pill-count { font-size: 12px; font-weight: 500; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 9px; letter-spacing: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 15px; }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { background: var(--bg); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps .num { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); }

/* Cards de produto */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 20px; }
.p-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; position: relative; }
.p-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.p-card:hover .p-media img { transform: scale(1.03); }
.p-media.soldout img { opacity: .55; }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(245,243,240,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.fav-btn.on { color: var(--accent); }
.fav-btn.on svg { fill: currentColor; }
.p-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.p-name { font-size: 15px; font-weight: 500; }
.p-price { display: flex; gap: 8px; align-items: baseline; }
.p-price strong { font-size: 15px; font-weight: 600; }
.p-price s { font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 4px; }
.swatch { width: 12px; height: 12px; border-radius: 999px; border: 1px solid #BDB5AA; display: inline-block; }
.placeholder-img { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 12px; font-size: 12px; color: var(--muted); }

/* Listagem com filtros */
.page-head { padding-block: 24px 8px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.page-title { font-size: clamp(40px, 5vw, 56px); line-height: 1; margin-top: 12px; }
.listing { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-block: 28px 80px; }
.filters { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 24px; }
.filters fieldset { border: 0; margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.filters legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.listing-main { flex: 999 1 560px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.select { height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 14px; background: var(--card); }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 48px; height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; font-weight: 500; }
.size-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-btn:disabled, .size-btn[aria-disabled="true"] { background: transparent; color: #8F877D; border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.size-btn[aria-disabled="true"] { cursor: pointer; }
.color-opt { min-height: 40px; border-radius: 10px; padding: 0 10px; display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid transparent; cursor: pointer; text-align: left; width: 100%; }
.color-opt[aria-pressed="true"] { background: var(--surface); border-color: var(--ink); }
.color-opt .swatch { width: 18px; height: 18px; }
.switch-row { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14px; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--green); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.empty-box { padding: 56px 24px; text-align: center; background: var(--surface); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.filters-toggle { display: none; }

/* Produto */
.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 48px; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; flex: 0 0 84px; }
.thumb { width: 84px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); padding: 0; background: var(--surface); cursor: pointer; }
.thumb[aria-current="true"] { border: 2px solid var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.main-photo { flex: 1; min-width: 0; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--surface); position: relative; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; }
.buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.buy h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; }
.price-lg { display: flex; gap: 12px; align-items: baseline; }
.price-lg strong { font-size: 26px; font-weight: 600; }
.option-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; display: block; }
.option-label span { font-weight: 400; color: var(--muted); }
.color-dot-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.color-dot-btn[aria-pressed="true"] { border: 2px solid var(--ink); }
.color-dot-btn .swatch { width: 30px; height: 30px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 52px; background: var(--card); }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-row .btn-dark { flex: 1 1 240px; }
.field-error { border: 1.5px solid var(--red); background: var(--red-soft); border-radius: 14px; padding: 14px; }
.error-text { color: var(--red); font-size: 13px; font-weight: 500; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.notice { border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.5; }
.notice-amber { background: var(--amber-soft); color: var(--amber-ink); }
.notice-neutral { background: var(--surface); }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.details summary { cursor: pointer; font-weight: 600; }
.details p { margin: 12px 0 0; color: var(--muted); white-space: pre-line; }

/* Sacola (gaveta) */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--bg); z-index: 61; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(28,26,23,.18); animation: slideInRight .2s ease-out; }
.cart-page { max-width: 640px; margin: 0 auto; padding-block: 24px 48px; }
.cart-head { padding: 20px 24px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 30px; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.cart-line { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-line.unavailable { border: 1.5px solid #E8C4BC; background: var(--red-soft); border-radius: 14px; padding: 12px; }
.cart-thumb { width: 84px; height: 108px; border-radius: 10px; background: var(--surface); overflow: hidden; flex: 0 0 auto; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-line .qty { height: 40px; }
.cart-line .qty button { width: 40px; font-size: 17px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sugg { background: var(--card); border: 1px solid #E3DED7; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sugg-thumb { width: 56px; height: 70px; border-radius: 8px; background: var(--surface); overflow: hidden; flex: 0 0 auto; }
.sugg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row strong { font-size: 22px; font-weight: 600; }

/* Modal de dados */
.modal-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-wrap .drawer-backdrop { z-index: 0; }
.modal { position: relative; z-index: 1; width: min(460px, 100%); background: var(--bg); border-radius: 20px; box-shadow: 0 24px 64px rgba(28,26,23,.3); padding: 28px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 32px); overflow-y: auto; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { height: 50px; border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 400; background: var(--card); border: 1px solid var(--line-strong); outline: none; }
.field input[aria-invalid="true"] { border: 1.5px solid var(--red); }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--ink); }

/* Páginas simples */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info-card { background: var(--bg); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.policy { white-space: pre-line; color: var(--muted); line-height: 1.7; }
.status-open { color: var(--green-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.status-open::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.state-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 64px 24px; }
.state-page .big { font-family: var(--serif); font-style: italic; font-size: 96px; line-height: .9; color: var(--accent); }
.confirm { max-width: 1080px; margin: 0 auto; padding: 48px 24px 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.confirm-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.confirm-aside { flex: 1 1 320px; min-width: 0; background: var(--card); border: 1px solid #E3DED7; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.check-circle { width: 64px; height: 64px; border-radius: 999px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.msg-box { background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 14px; white-space: pre-line; }
.card-box { background: var(--card); border: 1px solid #E3DED7; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.footer-info strong { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 32px; }
.fab-whatsapp { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 999px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(28,26,23,.25); z-index: 20; }
.fab-whatsapp:hover { color: #fff; }

.only-mobile { display: none !important; }

/* Responsivo */
@media (max-width: 900px) {
  .slide { flex-basis: calc((100% - 20px) / 2); }
  .header-nav { display: none; }
}
@media (max-width: 760px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: inline-flex !important; }
  .container { padding-inline: 16px; }
  .header-row { min-height: 64px; gap: 8px; }
  .brand { margin: 0 auto; }
  .header-actions { margin-left: 0; }
  .cart-btn .label { display: none; }
  .cart-btn { width: 44px; padding: 0; justify-content: center; position: relative; }
  .cart-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: 11px; border: 2px solid var(--bg); }
  .slide { flex-basis: 88%; height: 400px; }
  .section { padding-block: 44px; }
  .hero { padding-block: 36px 44px; }
  .product { gap: 24px; }
  .confirm { padding: 32px 16px 64px; gap: 24px; }
  .state-page { padding-inline: 16px; }
  .footer-bottom { flex-direction: column; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .p-name { font-size: 13px; }
  .filters { display: none; max-width: none; }
  .filters.open { display: flex; position: fixed; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto; background: var(--bg); z-index: 61; padding: 20px 16px 30px; border-radius: 20px 20px 0 0; }
  .filters-toggle { display: inline-flex; }
  .thumbs { display: none; }
  .gallery { flex-basis: 100%; }
  .main-photo { scroll-snap-type: x mandatory; }
  .modal-wrap { align-items: flex-end; padding: 0; }
  .modal { width: 100%; border-radius: 22px 22px 0 0; padding: 20px 16px 34px; }
  .cart-head, .cart-body, .cart-foot { padding-left: 16px; padding-right: 16px; }
  .buy-sticky { position: sticky; bottom: 0; background: var(--card); margin: 0 -16px; padding: 12px 16px 20px; border-top: 1px solid var(--line); z-index: 10; }
  .fab-whatsapp.hide-on-product { display: none !important; }
}

/* Banner do topo (carrossel) */
.banner-carousel { margin-top: 40px; position: relative; }
.banner-viewport { position: relative; aspect-ratio: 16 / 6; border-radius: 20px; overflow: hidden; background: var(--surface); }
.banner-slide { position: absolute; inset: 0; }
.banner-slide a, .banner-slide picture { display: block; width: 100%; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(245,243,240,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(28,26,23,.15); }
.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }
.banner-dots { display: flex; justify-content: center; margin-top: 12px; }
@media (max-width: 760px) {
  .banner-carousel { margin-top: 28px; margin-left: -16px; margin-right: -16px; }
  .banner-viewport { aspect-ratio: 16 / 9; border-radius: 0; }
  .banner-viewport.has-mobile { aspect-ratio: 4 / 5; }
  .banner-arrow { display: none; }
}

/* Galeria: bolinhas no celular e troca suave de foto por cor */
.photo-dots { position: absolute; bottom: 10px; left: 0; right: 0; justify-content: center; gap: 4px; }
.main-photo img, .p-media img { transition: opacity .2s; }

/* Páginas de texto (termos e privacidade) */
.legal { max-width: 820px; padding: 48px 24px 80px; line-height: 1.7; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 32px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal .notice { margin: 16px 0 8px; }
@media (max-width: 760px) {
  .legal { padding: 32px 16px 64px; }
}

