/* =========================================================
   CASA LUMME — ESTILO (layout de loja)
   ========================================================= */
:root {
  --page: #f5f0eb;
  --surface: #ffffff;
  --ink: #2b2320;
  --ink-soft: #6b5f59;
  --line: #ebe2d9;
  --accent: #a9532f;          /* botões (contraste AA com branco) */
  --accent-hover: #8e4222;
  --accent-soft: #fbe9df;
  --link: #a9532f;
  --gold: #f7c873;
  --coral: #f19a72;
  --rose: #eea5b0;
  --green: #2f7d4f;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(43, 35, 32, .05), 0 6px 20px rgba(43, 35, 32, .07);
  --max: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hero-grad: linear-gradient(180deg, #f9cf7f 0%, #f4a774 38%, #ef9aa3 68%, rgba(245, 240, 235, 0) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }

/* ---------- Faixa de aviso ---------- */
.disclosure-bar { background: #2b2320; color: #f6ece4; font-size: 12.5px; text-align: center; padding: 6px 16px; }

/* ---------- Topo (cabeçalho + degradê) ---------- */
.top { background: var(--hero-grad); }
.top.compact { background: linear-gradient(180deg, #f9cf7f 0%, #f4a774 70%, #f1a08f 100%); padding-bottom: 4px; }

.site-header .header-row {
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: auto 1fr auto; padding: 14px 0 10px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: #3a2a22; line-height: 1; }
.logo-text em { font-style: italic; color: #8e3f22; font-weight: 500; }

.search { display: flex; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(80, 40, 20, .12); overflow: hidden; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 16px; font: inherit; font-size: 15px; color: var(--ink); background: transparent;
}
.search input::placeholder { color: #9a8e88; }
.search button { border: 0; background: transparent; padding: 0 14px; cursor: pointer; color: var(--ink-soft); border-left: 1px solid var(--line); }
.search button svg { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  color: #3a2a22; font-weight: 600; font-size: 14.5px; padding: 8px 10px; border-radius: 10px;
}
.icon-link:hover { background: rgba(255, 255, 255, .35); }
.icon-link svg { width: 24px; height: 24px; }
.badge-count {
  position: absolute; top: 2px; left: 24px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.badge-count.on { display: inline-flex; }

.nav-row { display: flex; align-items: center; gap: 4px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a {
  flex: none; text-decoration: none; color: #3a2a22; font-size: 15px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.nav-row a:hover { background: rgba(255, 255, 255, .4); }
.nav-row a[aria-current="page"] { background: #fff; box-shadow: 0 1px 4px rgba(80, 40, 20, .12); }

/* Celular: busca vai para a linha de baixo */
@media (max-width: 759px) {
  .site-header .header-row { grid-template-columns: 1fr auto; }
  .site-header .search { grid-column: 1 / -1; order: 3; }
  .icon-link .label { display: none; }
  .logo-text { font-size: 22px; }
}

/* ---------- Banner principal ---------- */
.hero { position: relative; padding: 14px 0 120px; }
@media (min-width: 760px) { .hero { padding: 20px 0 150px; } }
.slides { position: relative; min-height: 300px; }
.slide {
  position: absolute; inset: 0; display: grid; align-items: center; gap: 20px;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.slide.active { opacity: 1; visibility: visible; position: relative; }
@media (min-width: 860px) { .slide { grid-template-columns: 1fr 1fr; gap: 40px; } }
.slide-tag {
  display: inline-block; background: #fff; color: #8e3f22; font-weight: 800; font-size: 13px;
  padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(80, 40, 20, .12); margin-bottom: 14px;
}
.slide .slide-title {
  font-family: var(--sans); font-weight: 900; font-size: clamp(34px, 6vw, 58px); letter-spacing: -.02em;
  color: #fff; text-transform: uppercase; line-height: 1;
  text-shadow: 0 2px 0 rgba(142, 63, 34, .25), 0 6px 24px rgba(142, 63, 34, .25);
}
.slide p { color: #3a2a22; font-size: 18px; font-weight: 600; margin-top: 14px; max-width: 460px; }
.slide .btn { margin-top: 22px; }
.slide-art { display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.slide-art .art-img {
  background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(80, 40, 20, .18); padding: 10px;
  width: 30%; max-width: 170px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.slide-art .art-img:nth-child(2) { width: 38%; max-width: 210px; transform: translateY(-16px); }
.slide-art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 859px) { .slide-art { order: -1; } .slides { min-height: 470px; } }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .6); cursor: pointer; }
.dot[aria-current="true"] { background: #fff; width: 24px; border-radius: 999px; }

/* ---------- Cards de atalho (sobrepõem o banner) ---------- */
.shortcuts {
  display: grid; gap: 14px; margin-top: -100px; position: relative; z-index: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -120px; } }
.shortcut {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; text-decoration: none;
  transition: transform .2s ease;
}
.shortcut:hover { transform: translateY(-3px); }
.shortcut h3 { font-size: 16px; font-weight: 800; }
.shortcut .sc-icon { font-size: 40px; line-height: 1; width: 76px; height: 76px; border-radius: 50%; background: var(--page); display: flex; align-items: center; justify-content: center; }
.shortcut p { font-size: 13.5px; color: var(--ink-soft); }
.shortcut .sc-link { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--link); background: var(--accent-soft); padding: 7px 12px; border-radius: 8px; width: 100%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer; transition: background .15s ease; white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }
.btn svg { width: 16px; height: 16px; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.btn.is-disabled { background: var(--line); color: var(--ink-soft); pointer-events: none; }

/* ---------- Seções ---------- */
.section { padding: 36px 0 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); font-size: 15px; width: 100%; }
.link-more { font-weight: 700; color: var(--link); text-decoration: none; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.panel { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 18px; }
@media (min-width: 760px) { .panel { padding: 26px; } }

/* ---------- Categorias ---------- */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cat {
  border-radius: var(--radius); padding: 16px 14px 0; text-decoration: none; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px; min-height: 200px; transition: transform .2s ease;
}
.cat:hover { transform: translateY(-3px); }
.cat .cat-emoji { font-size: 26px; line-height: 1; }
.cat strong { font-size: 18px; font-weight: 800; }
.cat span { font-size: 13px; opacity: .85; line-height: 1.4; }
.cat .cat-img { margin-top: auto; align-self: flex-end; width: 62%; aspect-ratio: 1; background: #fff; border-radius: 14px 14px 0 0; padding: 8px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .06); }
.cat .cat-img img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Grade de produtos ---------- */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card {
  position: relative; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(43,35,32,.06), 0 14px 30px rgba(43,35,32,.12); }
.card-media { position: relative; aspect-ratio: 1; display: block; background: #fff; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--green); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px;
}
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #b9aaa2;
}
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn[aria-pressed="true"] { color: #e0485d; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-sub { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.price small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.card .btn { font-size: 14px; padding: 10px 12px; width: 100%; }

/* ---------- Ofertas especiais (combos) ---------- */
.combos { display: grid; gap: 14px; }
@media (min-width: 900px) { .combos { grid-template-columns: repeat(3, 1fr); } }
.combo { border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.combo:nth-child(1) { background: #fdeee3; }
.combo:nth-child(2) { background: #fbe6ea; }
.combo:nth-child(3) { background: #e9f0e5; }
.combo h3 { font-size: 19px; font-weight: 800; }
.combo > p { font-size: 14px; color: var(--ink-soft); }
.combo-items { display: grid; gap: 8px; }
.combo-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center;
  background: #fff; border-radius: 12px; padding: 8px 10px 8px 8px; text-decoration: none;
}
.combo-item img { width: 56px; height: 56px; object-fit: contain; }
.combo-item span { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.combo-item b { font-size: 14px; white-space: nowrap; }
.combo-item:hover span { text-decoration: underline; }
.combo-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-soft); margin-top: auto; }
.combo-total b { font-size: 20px; color: var(--ink); }

.deal-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(90deg, #2b2320, #5a3a2c); color: #fff; border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 16px;
}
.deal-strip strong { font-size: 20px; font-weight: 800; }
.deal-strip span { opacity: .85; font-size: 14px; display: block; }

/* ---------- Marcas ---------- */
.brands { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.brand {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none;
  transition: border-color .15s ease, transform .2s ease;
}
.brand:hover { border-color: var(--ink-soft); transform: translateY(-2px); }
.brand strong { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.brand span { font-size: 12px; color: var(--ink-soft); }

/* ---------- Faixa de confiança ---------- */
.trust { display: grid; gap: 12px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.trust-item .ti-emoji { font-size: 28px; line-height: 1; }
.trust-item strong { display: block; font-size: 15.5px; }
.trust-item span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Página de listagem (menu/busca/favoritos) ---------- */
.list-head { padding: 22px 0 6px; }
.list-head h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 900; color: #3a2a22; }
.list-head p { color: #3a2a22; font-size: 16px; margin-top: 6px; font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.result-count { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--ink-soft); box-shadow: var(--shadow); }
.empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Página de coleção (anúncio) ---------- */
.collection-hero { padding: 18px 0 26px; text-align: center; }
.collection-hero .slide-tag { margin-bottom: 12px; }
.collection-hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; color: #3a2a22; max-width: 820px; margin: 0 auto; letter-spacing: -.01em; }
.collection-hero p { color: #3a2a22; font-size: 17px; font-weight: 600; margin: 12px auto 0; max-width: 580px; }
.collection-meta { font-size: 13px; color: #4a3a32; margin-top: 12px; }
.picks { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 16px; }
.pick { background: #fff; border-radius: var(--radius-lg); display: grid; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 720px) { .pick { grid-template-columns: 300px 1fr; } }
.pick-media { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .pick-media { aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); } }
.pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pick-num {
  position: absolute; top: 14px; left: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px;
}
.pick-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 720px) { .pick-body { padding: 26px; } }
.pick-body h2 { font-size: 22px; font-weight: 800; }
.pick-body > p { color: var(--ink-soft); }
.pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pros li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.pros li::before { content: "✅"; font-size: 14px; line-height: 1.55; }
.pick-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pick-foot .btn { flex: 1 1 220px; }
.collection-end { text-align: center; padding: 32px 0 0; }
.collection-end p { color: var(--ink-soft); margin-bottom: 12px; }

/* ---------- Texto (privacidade) ---------- */
.prose { max-width: 760px; margin: 22px auto 0; }
.prose h1 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 900; margin-bottom: 6px; }
.prose h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.prose p, .prose li { color: #4a403b; }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 20px; }
.prose .updated { color: var(--ink-soft); font-size: 14px; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 48px; background: #fff; border-top: 1px solid var(--line); padding: 36px 0 26px; font-size: 14px; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-grid h4 { font-size: 14px; color: var(--ink); margin: 0 0 8px; font-weight: 800; }
.footer-grid p { line-height: 1.5; }
.footer-grid a { color: var(--link); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
