:root {
  --bg: #f5f2ed;
  --surface: #fbf9f6;
  --ink: #1f1c1a;
  --muted: #6f6861;
  --line: #e2dcd3;
  --beige: #d8cdbf;
  --beige-dark: #c5b6a3;
  --accent: #b8996b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(40, 30, 20, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
.section { padding: 72px 0; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 40px; }
.section-title small { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 4px; font-size: .92rem; font-weight: 500; transition: .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3a3430; }
.btn-light { background: var(--beige); color: var(--ink); }
.btn-light:hover { background: var(--beige-dark); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* Topbar / Header */
.topbar { background: var(--ink); color: #f1ece4; text-align: center; font-size: .8rem; padding: 8px 16px; letter-spacing: .02em; }
.topbar span { opacity: .4; margin: 0 6px; }
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { grid-column: 2; display: block; }
.logo img { height: 52px; width: auto; }
.header-icons { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--bg); }
.icon-btn svg, .trust svg, .steps svg, .socials svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; grid-column: 1; grid-row: 1; }
#cart-count { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
#cart-count[hidden] { display: none; }
.search-bar { display: flex; gap: 8px; padding-bottom: 14px; }
.search-bar[hidden] { display: none; }
.search-bar input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.nav { border-top: 1px solid var(--line); }
.nav .container { display: flex; justify-content: center; gap: 32px; }
.nav a { padding: 12px 0; font-size: .92rem; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover, .nav a.active { border-color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(100deg, #6e655c 0%, #8e857b 45%, #b9b0a5 100%); color: #fff; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,52,45,.85) 0%, rgba(60,52,45,.4) 50%, transparent 75%); }
.hero-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(-6deg); width: min(46%, 540px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-content { position: relative; max-width: 520px; padding: 80px 0; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero p { font-size: 1.05rem; opacity: .9; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.has-photo .hero-art { display: none; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: right center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.on { opacity: 1; }
.hero-dots { position: absolute; z-index: 2; right: 20px; bottom: 14px; display: flex; gap: 2px; }
.hero-dots button { height: 28px; min-width: 22px; padding: 0 4px; display: grid; place-items: center; }
.hero-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.hero-dots button.on::after { width: 22px; background: #fff; }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-dots button::after { transition: none; } }

/* Trust strip */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 24px; }
.trust div { display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.35; justify-content: center; }
.trust svg { width: 30px; height: 30px; flex: none; }
.trust small { display: block; color: var(--muted); }

/* Marcas */
.brands { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 40px; }
.brands a { color: #2b2724; opacity: .8; transition: .2s; white-space: nowrap; }
.brands a:hover { opacity: 1; transform: translateY(-2px); }
.b-lacoste { font-family: var(--sans); font-weight: 800; font-size: 1.4rem; letter-spacing: .04em; }
.b-visione { font-family: var(--sans); font-weight: 300; font-size: 1.45rem; letter-spacing: .22em; }
.b-nike { font-family: var(--sans); font-weight: 800; font-style: italic; font-size: 1.5rem; letter-spacing: .02em; }
.b-reserva { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; }
.b-reebok { font-family: var(--sans); font-weight: 800; font-style: italic; font-size: 1.45rem; }
.b-johnjohn { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: .2em; }

/* Cards de produto */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 18%; transition: .3s; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-img svg { transition: transform .4s; }
.card:hover .card-img { box-shadow: var(--shadow); }
.card:hover .card-img svg { transform: scale(1.08) rotate(-2deg); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: .7rem; padding: 3px 8px; border-radius: 3px; }
.card-body { padding: 14px 2px 12px; flex: 1; }
.card-brand { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card-title { display: block; font-weight: 500; margin: 2px 0 4px; }
.card-price { display: flex; gap: 8px; align-items: baseline; }
.card-price s { color: var(--muted); font-size: .85rem; }
.card-add { font-size: .82rem; padding: 9px 12px; }
.center { text-align: center; margin-top: 40px; }

/* Por que comprar */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.why h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: .92rem; max-width: 300px; margin: 0 auto; }
.why .num { font-family: var(--serif); font-size: 2.4rem; color: var(--beige-dark); line-height: 1; margin-bottom: 10px; }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial p { font-size: .93rem; margin-bottom: 12px; }
.testimonial cite { font-style: normal; font-size: .85rem; color: var(--muted); }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; counter-reset: s; }
.steps svg { width: 40px; height: 40px; margin: 0 auto 14px; stroke-width: 1.3; }
.steps h3 { font-family: var(--sans); font-size: .98rem; font-weight: 500; margin-bottom: 4px; }
.steps p { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: .2s; margin-left: 16px; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 4px 20px; color: var(--muted); }

/* CTA */
.cta { background: var(--beige); text-align: center; padding: 56px 0; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; }
.legal { max-width: 780px; padding-bottom: 72px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-address { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.cta-address a { text-decoration: underline; }
.store-address { font-style: normal; font-size: .85rem; margin-top: 14px; line-height: 1.6; }
.store-address strong { display: block; font-weight: 600; }
.store-address a { display: inline-block; margin-top: 4px; text-decoration: underline; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 48px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer .logo { display: inline-block; margin-bottom: 12px; }
.footer .logo img { height: 40px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a:hover { text-decoration: underline; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.socials { display: flex; gap: 14px; }
.socials svg { width: 20px; height: 20px; }
.payments { display: flex; gap: 8px; flex-wrap: wrap; }
.pay { height: 26px; min-width: 42px; padding: 0 8px; border: 1px solid var(--line); background: #fff; border-radius: 4px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .05em; }
/* logos oficiais (img/pagamentos); boleto não tem marca oficial: ícone de código de barras + nome */
.pay { height: 32px; min-width: 54px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pay img { display: block; width: auto; height: 12px; }
.pay.mc img { height: 20px; }
.pay.pix img { height: 18px; }
.pay.boleto { font-size: .72rem; font-weight: 600; letter-spacing: 0; color: #1f1c1a; }
.pay.boleto img { height: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 24px; font-size: .78rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.dev-credit { color: var(--muted); transition: color .2s; }
.dev-credit strong { font-weight: 600; letter-spacing: .02em; }
.dev-credit:hover { color: var(--ink); }
/* WhatsApp — botão flutuante com pulso */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; }
.wa-icon { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #2fe074, #1ebe5a); box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s;
  animation: wa-bounce 3.2s ease-in-out infinite; }
.wa-icon::before, .wa-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: wa-pulse 2s ease-out infinite; }
.wa-icon::after { animation-delay: 1s; }
.wa-icon svg { width: 32px; height: 32px; }
.wa-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ff3b30; border: 2px solid #fff;
  animation: wa-blink 1.2s ease-in-out infinite; }
.wa-bubble { background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 14px 14px 4px 14px; font-size: .82rem; line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); display: grid; animation: wa-bubble 12s ease-in-out infinite; transform-origin: right center; }
.wa-bubble strong { font-size: .9rem; }
.wa-float:hover .wa-icon { transform: scale(1.1); animation-play-state: paused; }
.wa-float:hover .wa-bubble { opacity: 1; transform: none; animation: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes wa-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@keyframes wa-bounce { 0%, 80%, 100% { transform: translateY(0); } 86% { transform: translateY(-8px); } 92% { transform: translateY(0); } 96% { transform: translateY(-4px); } }
@keyframes wa-bubble { 0%, 8% { opacity: 0; transform: translateX(10px) scale(.9); } 12%, 60% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateX(10px) scale(.9); } }

/* Botões verdes de WhatsApp */
.btn-wa { background: linear-gradient(145deg, #2fe074, #1ebe5a); color: #fff; font-weight: 600; position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .35); animation: wa-glow 2.2s ease-in-out infinite; }
.btn-wa svg { width: 20px; height: 20px; }
.btn-wa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: wa-shine 3s ease-in-out infinite; }
.btn-wa:hover { filter: brightness(1.05); transform: translateY(-1px); }
@keyframes wa-glow { 0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, .3); } 50% { box-shadow: 0 6px 28px rgba(37, 211, 102, .65); } }
@keyframes wa-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .wa-icon, .wa-icon::before, .wa-icon::after, .wa-dot, .btn-wa, .btn-wa::after { animation: none; }
  .wa-bubble { animation: none; opacity: 1; }
}

/* Toast */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 6px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 100; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Páginas internas */
.page-head { padding: 48px 0 24px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a:hover { text-decoration: underline; }

/* Catálogo */
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 80px; }
.filters { position: sticky; top: 140px; align-self: start; display: grid; gap: 26px; }
.filters h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: .9rem; padding: 3px 0; cursor: pointer; }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--ink); }
.filters input[type=range] { width: 100%; accent-color: var(--ink); }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.select { padding: 9px 12px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.catalog .grid { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.filter-toggle { display: none; }

/* Produto */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-bottom: 80px; }
.product-img { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 14%; position: relative; overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery { display: grid; gap: 12px; align-content: start; min-width: 0; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sold-out { color: #a33; font-weight: 500; margin-top: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.product-info h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 6px 0 14px; }
.product-price { font-size: 1.7rem; font-weight: 600; }
.product-price s { font-size: 1rem; color: var(--muted); font-weight: 400; margin-right: 8px; }
.product-info .desc { margin: 20px 0; color: #4a443f; }
.options { display: grid; gap: 10px; margin: 24px 0; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; background: #fff; transition: .2s; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.option input { margin-top: 4px; accent-color: var(--ink); }
.option small { display: block; color: var(--muted); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.qty button { width: 38px; height: 44px; font-size: 1.1rem; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.perks { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; font-size: .9rem; color: #4a443f; }
.perks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

/* Carrinho */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-bottom: 80px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-thumb { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 4/3; display: grid; place-items: center; padding: 12%; position: relative; overflow: hidden; }
.cart-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-family: var(--sans); font-size: .98rem; font-weight: 500; }
.cart-item .actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.remove { color: var(--muted); display: inline-flex; }
.remove svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.remove:hover { color: #a33; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 140px; }
.summary h2 { font-size: 1.3rem; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .93rem; }
.summary-total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.15rem; font-weight: 600; }
.checkout-form { display: grid; gap: 10px; margin: 18px 0; }
.checkout-form input, .checkout-form select { padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; width: 100%; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Conta do cliente e checkout */
.btn svg { width: 18px; height: 18px; flex: none; }
.account-btn { width: auto; min-width: 40px; padding: 0 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.account-btn #account-name:empty { display: none; }
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 48px 0 80px; }
.auth-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.auth-box h1 { font-size: 1.8rem; }
.auth-box .sub { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.auth-links { font-size: .88rem; color: var(--muted); text-align: center; }
.auth-links a { color: var(--ink); text-decoration: underline; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .field .label { font-size: .86rem; font-weight: 500; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field .error { font-size: .8rem; color: #a33; }
.field.has-error input, .field.has-error select { border-color: #a33; }
.cep-hint { align-content: end; padding-bottom: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-alert { padding: 11px 14px; border-radius: 6px; background: #f8e4e0; color: #8f3424; font-size: .88rem; }
.form-alert.ok { background: #e3f2e8; color: #2e6b45; }
.form-alert[hidden] { display: none; }
.checkout { display: grid; gap: 18px; margin-top: 18px; }
.checkout h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-top: 4px; }
.checkout .options { margin: 0; }
.checkout-login { display: grid; gap: 10px; margin-top: 18px; }
.checkout-note { font-size: .82rem; color: var(--muted); }
.file-drop { border: 1.5px dashed var(--beige-dark); border-radius: 8px; padding: 14px; background: #fff; display: grid; gap: 6px; font-size: .88rem; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 500; background: #eee; color: #555; white-space: nowrap; }
.st-novo { background: #fbf0d9; color: #8a5a00; }
.st-ok { background: #e3f2e8; color: #2e6b45; }
.st-prep { background: #e7eef7; color: #2c4a70; }
.st-done { background: #ece7df; color: #5a4f43; }
.st-cancel { background: #f8e4e0; color: #8f3424; }
.account { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-bottom: 80px; align-items: start; }
.panel-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.panel-box h2 { font-size: 1.25rem; }
.order-list { list-style: none; display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.order-row:hover { border-color: var(--ink); }
.order-row img, .order-row .ph { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.order-row strong { display: block; }
.order-row small { color: var(--muted); }
.order-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-bottom: 80px; align-items: start; }
.order-items { list-style: none; }
.order-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-items img, .order-items .ph { display: block; width: 72px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); margin-left: 6px; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline small { display: block; color: var(--muted); }
.success-box { background: #e3f2e8; border: 1px solid #c6e3cf; color: #234d33; border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; margin-bottom: 24px; }
.success-box h2 { font-size: 1.3rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.kv dt { color: var(--muted); }

/* Pagamento pela Rede: Pix com QR Code ou link para a página de pagamento da Rede, na página do pedido */
.pay-box { margin-bottom: 24px; border-color: var(--ink); }
.pix-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.pix-qr { display: block; width: 220px; height: 220px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.pix-info { display: grid; gap: 12px; min-width: 0; }
.pix-total { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.copy-row input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font: inherit; font-size: .8rem; color: var(--muted); }
.pay-wait { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.pay-wait .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pay-pulse 1.4s ease-in-out infinite; }
@keyframes pay-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pay-wait .dot { animation: none; } }
@media (max-width: 560px) {
  .pix-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pix-info { justify-items: stretch; }
}

/* Responsivo */
@media (max-width: 960px) {
  .account, .order-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .catalog .grid { grid-template-columns: repeat(2, 1fr); }
  .filters { position: static; display: none; grid-template-columns: repeat(2, 1fr); background: var(--surface); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
  .product, .cart { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hero-art { opacity: .35; width: 80%; right: -15%; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .topbar { font-size: .72rem; }
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .header-inner { height: 60px; }
  .logo img { height: 34px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-bubble { display: none; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav .container { flex-direction: column; gap: 0; }
  .nav a { border-bottom: 1px solid var(--line); }
  .nav a.active { border-color: var(--line); font-weight: 600; }
  .hero { min-height: 460px; }
  .why, .testimonials { grid-template-columns: 1fr; }
  .brands { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { align-items: flex-start; }
  .trust { grid-template-columns: 1fr 1fr; padding: 22px 16px; }
  .trust div { justify-content: flex-start; }
  .grid, .catalog .grid { gap: 14px; }
  .card-add { font-size: .75rem; padding: 8px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item > strong { grid-column: 2; }
}
