﻿:root {
  --brand: #1b3a9c; /* azul del-rei */
  --brand-dark: #142b75;
  --brand-soft: #eef2fc;
  --ink: #141a2b;
  --muted: #667085;
  --line: #e6e9f0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --ok: #15803d;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--card);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.container { flex: 1; padding-top: 24px; padding-bottom: 56px; }

/* Barra e cabeçalho */
.topbar { background: var(--brand); color: #fff; text-align: center; font-size: 13px; padding: 7px 16px; letter-spacing: 0.01em; }
.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--brand); white-space: nowrap; }
.search { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--bg); }
.search:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.cart-button { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; cursor: pointer; white-space: nowrap; }
.cart-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); }
.icon-button { border: 0; background: transparent; font-size: 18px; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.icon-button:hover { background: var(--bg); }

/* Home */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--brand-soft); border-radius: 20px; padding: 48px 40px; margin-bottom: 16px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.03em; max-width: 16ch; }
.hero p { color: var(--muted); margin: 14px 0 0; max-width: 48ch; font-size: 17px; }
.hero .actions { margin-top: 24px; }
.hero .btn-ghost { background: var(--card); }
.hero-mark { width: clamp(120px, 20vw, 200px); height: auto; flex: none; }
.perks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perks li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; color: var(--muted); }
.perks strong { display: block; font-size: 15px; color: var(--ink); }

.page.page-wide { max-width: none; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; white-space: nowrap; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; align-items: start; }
.quote table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
.quote th, .quote td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote th:nth-child(n+2), .quote td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.quote .btn { margin-top: 12px; }
.quote.chosen { border-color: var(--brand); }
.price .per { font-size: 13px; font-weight: 500; color: var(--muted); }
.estimates { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; font-size: 14px; }
.estimates ul { margin: 8px 0; padding-left: 18px; }
.hours-total { margin-top: 10px; font-size: 15px; color: var(--muted); }
.hours-total strong { color: var(--ink); }
.campaign { border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-bottom: 32px; background: var(--card); }
.campaign-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.campaign-head h2 { font-size: 26px; letter-spacing: -0.02em; }
.campaign-head p { color: var(--muted); margin: 6px 0 0; max-width: 56ch; }
.campaign-head .eyebrow { margin-bottom: 8px; }
.badge.badge-campaign { left: auto; right: 10px; background: var(--ink); }

.services { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.services-head h2 { font-size: 26px; letter-spacing: -0.02em; }
.services-head p { color: var(--muted); margin: 6px 0 0; max-width: 56ch; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scroll-margin-top: 80px; }
.chip { flex: none; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; cursor: pointer; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.grid.loading { opacity: 0.5; transition: opacity 0.15s; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.pager .btn:disabled { opacity: 0.4; cursor: default; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-link { text-decoration: none; display: block; }
.thumb { background: var(--bg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 72px; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-weight: 600; font-size: 15px; }
.price { font-size: 20px; font-weight: 800; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 14px; font-weight: 400; margin-left: 6px; }
.lead-time { font-size: 13px; font-weight: 400; color: var(--muted); }
.card-body .btn { margin-top: auto; height: 40px; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* Produto */
.back { display: inline-block; margin-bottom: 16px; color: var(--muted); text-decoration: none; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.product .thumb { border-radius: var(--radius); font-size: 140px; }
.product .thumb img { object-fit: contain; background: #fff; }
.gallery { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gallery-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; cursor: pointer; }
.gallery-thumb.active { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-desc { white-space: pre-line; }
.product h1 { font-size: 28px; }
.product .price { font-size: 30px; margin: 12px 0; }
.product-desc { color: #374151; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--card); width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; font-size: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; font: 13px/1.4 ui-monospace, Consolas, monospace; }
.pix-qr { display: block; width: 220px; max-width: 100%; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 10px; }
.buy-row { display: flex; gap: 12px; align-items: flex-end; }
.buy-row .field { margin: 0; width: 90px; }
.buy-row .btn { flex: 1; }
.section-title { font-size: 20px; margin: 40px 0 16px; }
.info-list { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }

/* Carrinho */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--card); z-index: 30; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .thumb { font-size: 28px; border-radius: 10px; }
.line-name { font-weight: 600; font-size: 14px; }
.line-variant { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.line-side { text-align: right; font-weight: 700; font-size: 14px; }
.remove { display: block; margin-top: 6px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; margin-left: auto; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.sum-row.total { font-size: 18px; font-weight: 800; margin: 10px 0 14px; }
.cep-form { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; margin-bottom: 12px; }
.cep-form label { grid-column: 1 / -1; font-size: 13px; font-weight: 600; }
.cep-form input { min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.cep-form .btn { padding: 9px 14px; }
.ship-options { display: grid; gap: 6px; margin: 4px 0 8px; }
.ship-option { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; cursor: pointer; }
.ship-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.hint { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.free { color: var(--ok); font-weight: 700; }

/* Checkout e páginas */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 18px; margin-bottom: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { grid-template-columns: 2fr 1fr 1fr; }
.page { max-width: 720px; }
.page h1 { margin-bottom: 16px; }
.order-text { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 14px/1.5 ui-monospace, Consolas, monospace; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Rodapé e aviso */
.footer { background: var(--bg); border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.footer p { margin: 4px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 40; }

@media (max-width: 760px) {
  .product, .checkout { grid-template-columns: 1fr; }
  .row, .row-3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .thumb { font-size: 56px; }
  .hero { padding: 28px 20px; }
  .campaign { padding: 20px 14px; }
  .hero-mark { display: none; }
  /* no celular a busca desce para uma linha própria, com largura total */
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
  .logo { margin-right: auto; }
  .search { order: 3; flex-basis: 100%; }
  .topbar { font-size: 12px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .logo { font-size: 18px; }
}

/* Páginas institucionais (entrega, trocas, termos, privacidade, perguntas frequentes) */
.page.info .lead { font-size: 17px; color: var(--muted); margin-bottom: 8px; }
.page.info h2 { font-size: 18px; margin: 28px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.page.info ul { margin: 0 0 12px; padding-left: 20px; }
.page.info li { margin-bottom: 6px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq p { margin: 0; padding: 12px 16px; color: var(--muted); }
.info-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; }

/* Painel: visão geral */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 8px; }
.kpi { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 16px 18px; }
.kpi-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); }
.kpi-value { font-size: 28px; letter-spacing: -0.02em; }
.kpi-note { font-size: 13px; color: var(--muted); }
.overview-title { font-size: 16px; margin: 22px 0 10px; }
.todos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-bottom: 18px; }
.todo { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 10px 14px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.todo strong { font-size: 22px; color: var(--muted); min-width: 28px; }
.todo-on { border-color: var(--brand); color: var(--ink); }
.todo-on strong { color: var(--brand); }
.todo:disabled { cursor: default; }
.overview-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 12px; }
.overview-cols h2 { font-size: 16px; margin: 0 0 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.bar-fill { width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--brand); }
.meter { height: 12px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; margin-bottom: 10px; }
.meter div { height: 100%; background: var(--brand); border-radius: 999px; }
.ready { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }

/* Casa Kubbo Maison: a linha nobre, com visual próprio (letra com serifa, fundo creme, detalhes em dourado) */
:root { --maison-bg: #f7f3ec; --maison-ink: #2b2925; --maison-gold: #9c7a45; --maison-line: #e7dfd1; }
.maison-block, .maison-head { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; }
.maison-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; margin: 28px 0; padding: 32px; background: var(--maison-bg); border: 1px solid var(--maison-line); border-radius: var(--radius); color: var(--maison-ink); }
.maison-block[hidden] { display: none; }
.maison-eyebrow { font-family: system-ui, sans-serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--maison-gold); }
.maison-block h2, .maison-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; margin: 6px 0 10px; line-height: 1.05; }
.maison-block p, .maison-head p { font-size: 19px; line-height: 1.45; margin: 0 0 18px; max-width: 46ch; }
.btn-maison { background: var(--maison-ink); border-color: var(--maison-ink); color: #fff; font-family: system-ui, sans-serif; }
.maison-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.maison-mosaic a { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; }
.maison-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.maison-mosaic a:hover img:not([style]) { transform: scale(1.04); }
.maison-head { margin: 8px 0 18px; padding: 26px 28px; background: var(--maison-bg); border: 1px solid var(--maison-line); border-radius: var(--radius); color: var(--maison-ink); }
.grid-maison { gap: 22px; }
.card-maison { background: var(--maison-bg); border-color: var(--maison-line); }
.card-maison .card-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; font-weight: 600; color: var(--maison-ink); }
.maison-brand { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--maison-gold); margin-bottom: 2px; }
.badge-handmade { background: var(--maison-ink); color: #fff; }
.badge-inline { display: inline-block; margin: 2px 0 8px; padding: 2px 10px; border-radius: 999px; background: var(--maison-ink); color: #fff; font-size: 12px; font-weight: 600; }
.product-maison h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; color: var(--maison-ink); }
@media (max-width: 760px) { .maison-block { grid-template-columns: 1fr; padding: 22px; } }

/* Rodapé: contato, redes sociais e dados da empresa, um por linha */
#footer-contact { display: grid; gap: 6px; margin-top: 8px; }
#footer-contact a { color: inherit; text-decoration: none; }
#footer-contact a:hover { color: var(--brand); }
#footer-contact .social { display: flex; flex-wrap: wrap; gap: 14px; }
#footer-contact .social a { display: inline-flex; align-items: center; gap: 6px; }
#footer-contact .legal { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ícones da mão de obra: o quadro inteiro aparece, sem corte */
.thumb img[src$='.svg'] { object-fit: contain; background: #eef2fc; }

/* ===== Estrutura da página inicial (revisor de interface, aprovada pelo Mário em 21/10/2026) =====
   Regras: uma seção = um molde (cabeçalho + 4 itens); só a Maison tem visual próprio; verde-limão só na campanha;
   no máximo 1 botão azul cheio por seção; sem emoji em títulos; texto de apoio com 1 linha. */
:root { --r-lg: 16px; --r: 12px; --r-sm: 10px; --gap-section: 72px; --campaign: #c6f24e; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn { border-radius: var(--r-sm); font-weight: 600; }

.intro { padding: 32px 0 8px; }
.intro h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.025em; max-width: 24ch; margin: 0; }
.intro p { color: var(--muted); margin: 10px 0 0; font-size: 17px; max-width: 56ch; }
.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.assurances li::before { content: "✓"; color: var(--brand); margin-right: 6px; }

.nav-lines { display: flex; gap: 28px; overflow-x: auto; margin: 28px 0 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.nav-line { flex: none; min-height: 44px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.nav-line:hover, .nav-line[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }

.shelf, .services, .campaign, .maison-block { margin-top: var(--gap-section); }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.shelf-head h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.shelf-head p { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.link-more { flex: none; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.link-more::after { content: "→"; margin-left: 6px; }
.grid-shelf { grid-template-columns: repeat(4, 1fr); }
.line-head { margin: 24px 0 20px; } .line-head h1 { margin: 0; } .line-head p { color: var(--muted); margin: 6px 0 0; }
.back { border: 0; background: none; font: inherit; cursor: pointer; padding: 0; min-height: 44px; color: var(--muted); }
#category-head .maison-head { margin-top: 24px; }

/* cartão mais calmo */
.card { border-color: transparent; border-radius: var(--r); }
.thumb { border-radius: var(--r); }
.card-body { padding: 12px 4px 4px; gap: 6px; }
.card-name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.price { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-body .btn { height: 44px; background: var(--brand-soft); color: var(--brand); border-color: var(--brand-soft); }
.card-body .btn:hover { background: var(--brand); color: #fff; }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badges .badge { position: static; }

/* campanha: quadro branco, filete e etiqueta verde-limão, nada mais */
.campaign { padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--campaign); border-radius: var(--r-lg); background: var(--card); }
.campaign-tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--campaign); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.campaign .badge-campaign { display: none; }

.maison-block, .maison-head { border-radius: var(--r-lg); }

/* mão de obra em blocos compactos */
.services { padding-top: 0; border-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.service { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--card); }
.service:hover { border-color: var(--brand); }
.service-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--brand-soft); display: grid; place-items: center; overflow: hidden; }
.service-icon img { width: 48px; height: 48px; }
.service-text strong { display: block; font-weight: 600; font-size: 15px; }
.service-text small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.service-go { color: var(--brand); font-size: 22px; }
.services-foot { margin: 16px 0 0; font-size: 14px; color: var(--muted); } .services-foot a { color: var(--brand); }

@media (prefers-reduced-motion: reduce) { .maison-mosaic img { transition: none; } .maison-mosaic a:hover img:not([style]) { transform: none; } }

@media (max-width: 760px) {
  :root { --gap-section: 48px; }
  .intro { padding-top: 20px; } .intro p { font-size: 16px; }
  .shelf-head { align-items: flex-start; }
  .shelf-head p { display: none; }
  .grid-shelf { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .grid-shelf > * { scroll-snap-align: start; }
  .campaign { padding: 20px 16px; }
  .maison-mosaic { order: -1; }
  .services-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* Botão fixo do WhatsApp (todas as páginas) */
.whatsapp-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 18px rgba(16, 24, 40, 0.18); }
.whatsapp-float:hover { background: #18773f; color: #fff; }
@media (max-width: 600px) { .whatsapp-float span { display: none; } .whatsapp-float { padding: 12px; } }

/* Aviso de cookies (LGPD) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #d0d5dd; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(16, 24, 40, 0.16); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-bar p { margin: 0; flex: 1 1 280px; font-size: 0.92rem; }
.cookie-actions { display: flex; gap: 8px; }

/* Filtro de idade da linha Kids e etiqueta de idade no cartão (Mário, 22/10/2026) */
.age-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; }
.age-filter > span { font-size: 13px; font-weight: 700; color: var(--brand); margin-right: 2px; }
.age-chip { border: 1px solid #d6dcef; background: #fff; color: #1f2937; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.age-chip:hover { border-color: var(--brand); }
.age-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.age-tag { display: inline-block; align-self: flex-start; margin: 2px 0 4px; padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
/* Carrinho: foto e nome levam de volta ao produto */
.line-link { color: inherit; text-decoration: none; }
.line-link:hover .line-name, a.line-name:hover { text-decoration: underline; }
a.line-name { display: block; }
/* Página do produto: tamanho e cor em campos separados */
.variant-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .variant-pair { grid-template-columns: 1fr; } }

/* Tela de pagamento: voltar e corrigir */
.back-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--brand); }

