/* Minha Árvore de Natal — tema da loja
   Paleta: pinheiro #0E3B2E · cranberry #B3122D · mel #E9A93B · neve #FFFDF9 · vinho #5A0E1E
   Fontes arredondadas: Fredoka (títulos) + Nunito (texto) */

:root {
  --pine: #0B4A36;
  --pine-2: #136148;
  --leaf: #1E8F5E;
  --pine-soft: #DDF0E4;
  --berry: #D0142F;
  --berry-dark: #A30F25;
  --wine: #5A0E1E;
  --honey: #FFB627;
  --honey-soft: #FFEFC9;
  --snow: #FFFBF5;
  --paper: #FFF3E2;
  --ink: #2A1A1A;
  --muted: #6b5757;
  --line: #f0dfcf;
  --ok: #17794a;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 14px 34px -16px rgba(90, 14, 30, .38);
  --font-title: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--snow);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--berry); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--pine); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--berry); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1.05rem var(--font-title); letter-spacing: .01em;
  padding: .85rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  box-shadow: 0 8px 18px -8px rgba(179, 18, 45, .7);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--berry-dark); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: var(--honey); --fg: var(--wine); box-shadow: 0 8px 18px -8px rgba(233, 169, 59, .9); }
.btn-gold:hover { background: #f3b94f; color: var(--wine); }
.btn-green { --bg: var(--pine); box-shadow: 0 8px 18px -8px rgba(14, 59, 46, .7); }
.btn-green:hover { background: var(--pine-2); }
.btn-ghost { --bg: transparent; --fg: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.btn-light { --bg: #fff; --fg: var(--pine); box-shadow: none; }
.btn-light:hover { background: var(--honey-soft); color: var(--pine); }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- aviso + header ---------- */
.announce { background: var(--wine); color: #ffe9bd; text-align: center; font-weight: 700; font-size: .92rem; padding: .5rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.25rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--pine); }

.logo-tile { position: relative; flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--berry); color: #fff; display: grid; place-items: center; font: 700 1.2rem var(--font-title); letter-spacing: -.02em; box-shadow: 0 8px 16px -8px rgba(208, 20, 47, .8); }
.logo-tile::after { content: ''; position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 3px var(--snow), 0 0 14px 2px rgba(255, 182, 39, .9); }
.brand-name { font: 600 1.25rem/1.05 var(--font-title); color: var(--pine); }
.brand-name small { display: block; font: 700 .72rem var(--font-body); color: var(--berry); }
.nav { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--pine); font-weight: 700; padding: .5rem .85rem; border-radius: 999px; }
.nav a:hover { background: var(--pine-soft); color: var(--pine); }
.cart-link { position: relative; background: var(--berry); color: #fff !important; padding: .55rem 1.1rem !important; }
.cart-link:hover { background: var(--berry-dark) !important; }
.cart-count { background: var(--honey); color: var(--wine); font: 700 .8rem var(--font-title); min-width: 1.4rem; height: 1.4rem; border-radius: 999px; display: inline-grid; place-items: center; margin-left: .35rem; padding: 0 .35rem; }
.search-form { display: flex; flex: 1; max-width: 340px; }
.search-form input { flex: 1; min-width: 0; border: 2px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; padding: .5rem 1rem; font: inherit; background: #fff; }
.search-form button { border: 2px solid var(--pine); background: var(--pine); color: #fff; border-radius: 0 999px 999px 0; padding: 0 1rem; cursor: pointer; font: 600 .95rem var(--font-title); }
.menu-toggle { display: none; }

/* ---------- alertas ---------- */
.flash { margin: 1rem auto; padding: .9rem 1.2rem; border-radius: var(--radius-sm); font-weight: 700; }
.flash-success { background: var(--pine-soft); color: var(--pine); }
.flash-error { background: #fde6e9; color: var(--berry-dark); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 85% 0%, #f2405a 0%, transparent 62%), radial-gradient(700px 400px at 0% 100%, #7a0c22 0%, transparent 70%), linear-gradient(135deg, #D0142F 0%, #A30F25 55%, #6B0F22 100%); }
.bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 224, 140, .95) 0%, rgba(255, 182, 39, .38) 46%, transparent 72%); animation: glow 4.5s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .2; transform: scale(.9); } 50% { opacity: .85; transform: scale(1.12); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 3.4rem 0 4rem; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; text-shadow: 0 4px 24px rgba(60, 0, 12, .35); }
.hero p.lead { font-size: 1.18rem; color: #ffe4e0; max-width: 33rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.hero-perks { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; padding: 0; margin: 0; list-style: none; color: #fff2cf; font-weight: 800; font-size: .96rem; }
.hero-perks li::before { content: '✓'; margin-right: .4rem; color: var(--honey); }

.countdown { display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); border-radius: 20px; padding: .6rem 1rem; margin-bottom: 1.3rem; }
.countdown > span { font-weight: 800; font-size: .95rem; color: #fff2cf; }
.cd { display: flex; gap: .5rem; }
.cd div { min-width: 54px; text-align: center; background: #fff; color: var(--berry); border-radius: 12px; padding: .25rem .4rem .3rem; }
.cd b { display: block; font: 700 1.45rem/1.1 var(--font-title); }
.cd small { display: block; font-size: .68rem; font-weight: 800; color: var(--muted); }

.hero-media { position: relative; justify-self: center; width: min(430px, 100%); }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 40px; border: 6px solid rgba(255, 255, 255, .92); box-shadow: 0 34px 60px -24px rgba(40, 0, 10, .75); transform: rotate(1.5deg); }
.tag-float { position: absolute; left: -6%; top: 7%; z-index: 2; background: var(--honey); color: var(--wine); font: 600 1rem/1.1 var(--font-title); padding: .85rem 1.1rem; border-radius: 20px; transform: rotate(-6deg); box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .55); text-align: center; }
.tag-float b { display: block; font-size: 1.8rem; }
.spot { position: relative; background: #fff; color: var(--ink); border-radius: 36px; padding: .9rem; box-shadow: 0 34px 60px -24px rgba(40, 0, 10, .75); transform: rotate(1.5deg); }
.spot-img { aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-body { padding: 1rem .5rem .4rem; }
.spot-kicker { display: inline-block; background: var(--honey); color: var(--wine); font: 600 .9rem var(--font-title); border-radius: 999px; padding: .15rem .8rem; margin-bottom: .5rem; }
.spot h2 { font-size: 1.35rem; margin-bottom: .3rem; }
@media (prefers-reduced-motion: reduce) { .bokeh i, .marquee-track { animation: none !important; } html { scroll-behavior: auto; } }

.marquee { background: var(--pine); color: #ffe3a3; overflow: hidden; white-space: nowrap; border-block: 3px solid var(--honey); }
.marquee-track { display: inline-flex; animation: slide 34s linear infinite; }
.marquee-track span { padding: .75rem 1.6rem; font: 600 1.05rem var(--font-title); }
.marquee-track span::after { content: '✦'; margin-left: 3.2rem; color: var(--honey); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: 3rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 1.3rem; text-decoration: none; background: linear-gradient(150deg, #E0233E, #8E0E23); box-shadow: var(--shadow); isolation: isolate; transition: transform .2s ease; }
.tile:nth-child(5n+2) { background: linear-gradient(150deg, #1E8F5E, #0B4A36); }
.tile:nth-child(5n+3) { background: linear-gradient(150deg, #FFC24D, #E98A00); color: var(--wine); }
.tile:nth-child(5n+4) { background: linear-gradient(150deg, #9A1530, #5A0E1E); }
.tile:nth-child(5n+5) { background: linear-gradient(150deg, #2aa86f, #136148); }
.tile:hover { transform: translateY(-4px); color: #fff; }
.tile:nth-child(5n+3):hover { color: var(--wine); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile.has-img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(40, 0, 10, .78), transparent 62%); }
.tile.has-img { color: #fff !important; }
.tile strong { display: block; font: 600 1.55rem/1.1 var(--font-title); }
.tile span { display: block; font-weight: 800; font-size: .9rem; opacity: .9; margin-top: .25rem; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease; }
.card:hover { transform: translateY(-4px); }
.card-img { display: block; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.card-img img { transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 1rem; font: 600 1.15rem/1.2 var(--font-title); color: rgba(255, 255, 255, .92); }
.ph-0 { background: linear-gradient(150deg, #E0233E, #8E0E23); }
.ph-1 { background: linear-gradient(150deg, #1E8F5E, #0B4A36); }
.ph-2 { background: linear-gradient(150deg, #FFC24D, #E98A00); color: var(--wine); }
.ph-3 { background: linear-gradient(150deg, #9A1530, #5A0E1E); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-cat { font-size: .85rem; color: var(--muted); font-weight: 700; }
.card-title { font: 600 1.08rem/1.25 var(--font-title); color: var(--pine); text-decoration: none; }
.card-title:hover { color: var(--berry); }
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .4rem; }
.price-now { font: 700 1.5rem var(--font-title); color: var(--berry); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.pix-note { font-size: .85rem; color: var(--ok); font-weight: 800; }
.badge { position: absolute; top: .8rem; left: .8rem; background: var(--berry); color: #fff; font: 600 .85rem var(--font-title); padding: .25rem .7rem; border-radius: 999px; z-index: 2; }
.badge.soldout { background: #555; }
.badge.few { background: var(--honey); color: var(--wine); left: auto; right: .8rem; }
.card form { margin-top: .6rem; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.perk { display: flex; gap: .9rem; align-items: flex-start; }
.perk .ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--honey-soft); display: grid; place-items: center; font-size: 1.5rem; }
.perk h3 { margin: 0 0 .15rem; font-size: 1.1rem; }
.perk p { margin: 0; color: var(--muted); font-size: .96rem; }

.region { background: var(--pine); color: #fff; border-radius: 32px; padding: 2.4rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.region h2 { color: #fff; }
.region p { color: #d8eadf; }
.region-box { background: rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.region-box h3 { color: var(--honey); }
.region-box ul { margin: 0; padding-left: 1.1rem; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font: 600 1.08rem var(--font-title); color: var(--pine); }
.faq details[open] summary { margin-bottom: .5rem; }

/* ---------- catálogo ---------- */
.page-head { background: var(--pine-soft); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .3rem; }
.page-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: .9rem; margin-bottom: .6rem; color: var(--muted); }
.crumbs a { color: var(--pine); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin: 1.5rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { text-decoration: none; padding: .4rem 1rem; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--pine); font-weight: 800; font-size: .95rem; }
.chip:hover, .chip.on { background: var(--pine); border-color: var(--pine); color: #fff; }
select, input, textarea { font: inherit; }
.select { border: 2px solid var(--line); border-radius: 999px; padding: .45rem 1rem; background: #fff; color: var(--ink); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .45rem .9rem; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 800; color: var(--pine); background: #fff; }
.pagination .active span, .pagination span[aria-current] { background: var(--pine); color: #fff; border-color: var(--pine); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- produto ---------- */
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; padding: 2rem 0 3rem; align-items: start; }
.product-photo { border-radius: 28px; overflow: hidden; background: var(--pine-soft); aspect-ratio: 1; box-shadow: var(--shadow); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.product-price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin: .5rem 0; }
.product-price .price-now { font-size: 2.3rem; }
.pix-box { background: var(--pine-soft); border-radius: var(--radius-sm); padding: .8rem 1rem; margin: .8rem 0 1.2rem; font-weight: 700; color: var(--pine); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--pine); border-radius: 50%; }
.qty input { width: 48px; text-align: center; border: 0; font: 700 1.05rem var(--font-title); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.desc { white-space: pre-line; color: #4b3a3a; }
.trust { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; color: var(--muted); font-size: .95rem; }
.trust li::before { content: '✔'; color: var(--ok); margin-right: .5rem; }

/* ---------- carrinho / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; padding: 2rem 0 3.5rem; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.panel + .panel { margin-top: 1.2rem; }
.panel h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--pine-soft); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-title { font: 600 1.05rem var(--font-title); color: var(--pine); text-decoration: none; }
.line-total { font: 600 1.15rem var(--font-title); color: var(--berry); text-align: right; }
.link-btn { background: none; border: 0; color: var(--berry); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.summary { position: sticky; top: 92px; }
.sum-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.sum-row.total { border-top: 2px dashed var(--line); margin-top: .5rem; padding-top: .8rem; font: 600 1.4rem var(--font-title); color: var(--berry); }
.sum-row.disc { color: var(--ok); font-weight: 800; }

.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; }
.f { grid-column: span 12; display: flex; flex-direction: column; gap: .3rem; }
.f.h1 { grid-column: span 2; } .f.h2 { grid-column: span 6; } .f.h3 { grid-column: span 4; } .f.h4 { grid-column: span 8; }
.f label { font-weight: 800; font-size: .95rem; color: var(--pine); }
.f input, .f select, .f textarea { border: 2px solid var(--line); border-radius: 14px; padding: .7rem .9rem; background: #fff; width: 100%; color: var(--ink); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 4px var(--pine-soft); }
.f .err, .err { color: var(--berry); font-size: .88rem; font-weight: 800; }
.f small { color: var(--muted); }

.choice { display: grid; gap: .6rem; }
.choice label.opt { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice label.opt:has(input:checked) { border-color: var(--pine); background: var(--pine-soft); }
.choice input[type=radio] { accent-color: var(--berry); width: 20px; height: 20px; }
.opt b { font-family: var(--font-title); color: var(--pine); font-weight: 600; }
.opt small { display: block; color: var(--muted); font-weight: 600; }
.opt .tagpix { background: var(--ok); color: #fff; border-radius: 999px; font: 600 .8rem var(--font-title); padding: .15rem .6rem; }
.ship-msg { margin-top: .7rem; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--honey-soft); color: var(--wine); font-weight: 700; }
.ship-msg.bad { background: #fde6e9; color: var(--berry-dark); }
.hidden { display: none !important; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; accent-color: var(--berry); width: 18px; height: 18px; }

/* ---------- pedido ---------- */
.order-hero { text-align: center; padding: 2.2rem 0 1rem; }
.order-code { display: inline-block; background: var(--honey-soft); color: var(--wine); font: 600 1.2rem var(--font-title); padding: .3rem 1rem; border-radius: 999px; }
.status-pill { display: inline-block; padding: .3rem .9rem; border-radius: 999px; font: 600 .95rem var(--font-title); background: var(--pine-soft); color: var(--pine); }
.status-pill.warn { background: var(--honey-soft); color: var(--wine); }
.status-pill.bad { background: #fde6e9; color: var(--berry-dark); }
.pix-card { text-align: center; }
.pix-card img { width: 240px; height: 240px; margin: .8rem auto; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow); }
.copybox { display: flex; gap: .5rem; align-items: stretch; margin-top: .6rem; }
.copybox textarea { flex: 1; border: 2px dashed var(--line); border-radius: 14px; padding: .6rem; font-size: .8rem; resize: none; height: 74px; background: var(--paper); word-break: break-all; }
.timeline { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0; }

/* ---------- texto de políticas ---------- */
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.notice { background: var(--honey-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--wine); font-weight: 600; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--wine); color: #f6dcd6; margin-top: 3rem; padding: 3rem 0 1.5rem; }
.site-footer a { color: #ffe9bd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--honey); font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-brand .brand-name, .footer-brand .brand-name small { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1.2rem; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; background: #25D366; color: #fff; border-radius: 999px; padding: .75rem 1.1rem; font: 600 1rem var(--font-title); text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); display: flex; gap: .5rem; align-items: center; }
.wa-float:hover { color: #fff; filter: brightness(.95); }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .product-grid, .cart-layout, .checkout-layout, .region { grid-template-columns: 1fr; }
  .tag-float { left: -4%; top: 5%; font-size: .9rem; }
  .tag-float b { font-size: 1.4rem; }
  .hero-media { width: min(300px, 80%); }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--snow); padding: .8rem 1.25rem 1.2rem; border-bottom: 1px solid var(--line); align-items: stretch; }
  .nav.open { display: flex; }
  .search-form { max-width: none; order: 3; flex-basis: 100%; }
  .header-row { flex-wrap: wrap; }
  .line { grid-template-columns: 70px 1fr; }
  .line-total { grid-column: 2; text-align: left; }
  .f.h1, .f.h2, .f.h3, .f.h4 { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr; }
  .region { padding: 1.5rem; }
  .card-body { padding: .8rem; }
  .price-now { font-size: 1.2rem; }
  .wa-float span { display: none; }
}

/* ---------- faixas de cor, passos, guia, CTA ---------- */
.band-red { background: linear-gradient(135deg, #D0142F, #8E0E23); color: #fff; }
.band-red h2 { color: #fff; }
.band-red .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px #fff; }
.band-red .btn-ghost:hover { background: #fff; color: var(--berry); }
.band-cream { background: var(--paper); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step { background: #fff; border-radius: 28px; padding: 1.6rem; box-shadow: var(--shadow); }
.step b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--berry); color: #fff; font: 700 1.5rem var(--font-title); margin-bottom: .8rem; }
.step:nth-child(2) b { background: var(--leaf); }
.step:nth-child(3) b { background: var(--honey); color: var(--wine); }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.size { border-radius: 26px; padding: 1.5rem; background: #fff; border: 2px solid var(--line); }
.size .h { font: 700 2.2rem/1 var(--font-title); color: var(--berry); margin-bottom: .4rem; }
.size h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.size p { margin: 0; color: var(--muted); font-size: .96rem; }
.cta-band { background: linear-gradient(120deg, #FFC24D, #FFB627 55%, #FF9F1C); color: var(--wine); border-radius: 36px; padding: 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--wine); margin: 0 0 .3rem; }
.cta-band p { margin: 0; font-weight: 700; }
.cta-band .btn { --bg: var(--wine); box-shadow: 0 10px 20px -10px rgba(90, 14, 30, .8); }

/* ---------- produto: galeria, CEP, barra no celular ---------- */
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 74px; border-radius: 16px; overflow: hidden; border: 3px solid transparent; padding: 0; cursor: pointer; background: var(--paper); }
.thumbs button.on { border-color: var(--berry); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cep-check { background: var(--paper); border-radius: var(--radius-sm); padding: .9rem 1rem; margin: 1rem 0; }
.cep-check form { display: flex; gap: .5rem; margin-top: .4rem; }
.cep-check input { flex: 1; min-width: 0; border: 2px solid var(--line); border-radius: 999px; padding: .5rem 1rem; background: #fff; }
.cep-check .res { margin-top: .5rem; font-weight: 800; }
.cep-check .res.bad { color: var(--berry-dark); }
.cep-check .res.good { color: var(--ok); }
.buybar { display: none; }
.freebar { background: var(--paper); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 800; color: var(--wine); }
.freebar .track { height: 10px; background: #fff; border-radius: 999px; overflow: hidden; margin-top: .5rem; }
.freebar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--honey)); border-radius: 999px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.contact-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 1.4rem; }
.contact-card h3 { margin-bottom: .3rem; }
.contact-card p { margin: 0; }
.err-page { text-align: center; padding: 4rem 1rem; }
.err-page .code { font: 700 6rem/1 var(--font-title); color: var(--berry); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.4rem 0 3rem; }
  .hero-media { width: min(340px, 86%); }
  .steps, .sizes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cd div { min-width: 46px; } .cd b { font-size: 1.2rem; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(0, 0, 0, .4); padding: .7rem 1rem; align-items: center; justify-content: space-between; gap: 1rem; }
  .buybar .price-now { font-size: 1.35rem; }
  body.has-buybar { padding-bottom: 76px; }
  body.has-buybar .wa-float { bottom: 88px; }
}

.product-grid > *, .hero-grid > *, .cart-layout > * { min-width: 0; }
.card-img { text-decoration: none; }
.spot-img { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .tile { aspect-ratio: 1; padding: 1rem; border-radius: 22px; }
  .tile strong { font-size: 1.2rem; }
  .tile span { display: none; }
}
