/* Valentine Home: visual copiado do tema da Nuvemshop
   cor de destaque #570c1f, texto #333, títulos Montserrat 700, texto Arimo,
   faixa de cupom azul #3498db. */
:root {
  --accent: #570c1f;
  --fg: #333333;
  --bg: #ffffff;
  --line: rgba(51, 51, 51, 0.12);
  --muted: rgba(51, 51, 51, 0.7);
  --bar: #3498db;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Arimo', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--body-font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 32px 0 64px; }
.center { text-align: center; }
.section-title { font-size: 26px; text-align: center; margin: 8px 0 24px; }

/* faixa de cupom */
.announce { background: var(--bar); color: #fff; font-size: 14px; overflow: hidden; white-space: nowrap; padding: 8px 0; }
.announce-track { display: inline-flex; animation: vh-scroll 45s linear infinite; }
.announce-track span { padding: 0 48px; }
@keyframes vh-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

/* cabeçalho */
.head { background: var(--accent); color: #fff; }
.head-row { width: min(1200px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 0 8px; }
.head-right { justify-self: end; display: flex; gap: 8px; }
.icon-btn { position: relative; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; border-radius: 8px; line-height: 0; }
.icon-btn:hover, .icon-btn:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.icon-btn svg { width: 24px; height: 24px; }
.badge { position: absolute; top: 2px; right: 0; font: 700 11px/1 var(--body-font); background: #fff; color: var(--accent); min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }
.logo { display: block; text-decoration: none; text-align: center; }
.logo img { height: 64px; width: auto; }
.logo-fallback { font: italic 700 30px/1 var(--heading-font); color: #fff; }
.logo-fallback small { font-size: 16px; display: block; text-align: right; font-style: normal; }
.menu { display: flex; justify-content: center; gap: 32px; padding: 12px 16px 22px; flex-wrap: wrap; }
.menu a { color: #fff; text-decoration: none; font-size: 16px; padding: 4px 2px; }
.menu a:hover, .menu a:focus-visible { text-decoration: underline; outline: none; }
.search { width: min(560px, 100% - 32px); margin: 0 auto 12px; display: flex; gap: 8px; }
.search input { flex: 1; padding: 10px 12px; border: 0; border-radius: 6px; font: inherit; }
.search button { padding: 10px 16px; border: 1px solid #fff; background: transparent; color: #fff; border-radius: 6px; cursor: pointer; font: inherit; }

/* vitrine */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; }
.card-img { aspect-ratio: 1 / 1; background: #f3eeee; border-radius: 4px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 16px; margin: 12px 0 4px; }
.card .price { font-weight: 700; color: var(--accent); margin: 0 0 4px; }
.card .desc { font-size: 14px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.btn, .btn-outline { display: inline-block; font: 700 14px/1 var(--heading-font); padding: 13px 20px; border-radius: 4px; cursor: pointer; text-decoration: none; text-align: center; }
.btn { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn:hover:not(:disabled) { filter: brightness(1.15); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.status { text-align: center; color: var(--muted); min-height: 1.5em; margin-bottom: 16px; }
.status.error { color: #b3261e; }

/* contato */
.crumbs { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.page-title { text-align: center; font-size: 26px; }
.contact-lines { text-align: center; margin: 0 0 28px; display: grid; gap: 8px; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.form { width: min(520px, 100%); margin: 0 auto; display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: #fff; color: var(--fg); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* rodapé */
.foot { background: var(--accent); color: #fff; text-align: center; padding: 32px 16px 28px; }
.social { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; }
.social a { color: #fff; line-height: 0; padding: 6px; }
.social svg { width: 20px; height: 20px; }
.foot-menu { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; font-size: 15px; }
.foot-menu a { color: #fff; text-decoration: none; }
.foot-menu a:hover { text-decoration: underline; }
.pay { font-size: 14px; opacity: .9; margin-bottom: 14px; }
.copy { font-size: 14px; }

/* botão do WhatsApp e aviso de cookies */
.wa { position: fixed; right: 20px; bottom: 64px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 40; }
.wa svg { width: 30px; height: 30px; }
.cookies { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); font-size: 13px; padding: 12px 16px; text-align: center; z-index: 50; }
.cookies button { background: none; border: 0; padding: 0; margin-left: 10px; font: inherit; text-decoration: underline; cursor: pointer; color: var(--fg); }

/* carrinho */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 70; overflow-y: auto; padding: 20px; box-shadow: -8px 0 24px rgba(0, 0, 0, .2); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head h2 { margin: 0; font-size: 20px; }
.drawer h3 { font-size: 16px; margin: 20px 0 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line img, .line .ph { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: #f3eeee; }
.line .n { font-size: 14px; font-weight: 700; }
.line .p { font-size: 14px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; margin-top: 6px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; cursor: pointer; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.rm { background: none; border: 0; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.ship-opt { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.ship-opt input { accent-color: var(--accent); }
.ship-opt b { margin-left: auto; }
.totals { margin: 18px 0; display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; text-align: center; }
.empty { color: var(--muted); text-align: center; padding: 28px 0; }
body.noscroll { overflow: hidden; }

@media (max-width: 640px) {
  .logo img { height: 52px; }
  .menu { gap: 22px; }
  .wa { bottom: 84px; right: 14px; }
}
