/* ---------- Estrutura ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 20px 40px; min-height: 60vh; }
.narrow { max-width: 620px; margin: 0 auto; }

.announcement { background: var(--text); color: var(--bg); text-align: center; font-size: 10.5px; letter-spacing: var(--track); text-transform: uppercase; padding: 9px 16px; position: relative; z-index: 31; }

/* Cabeçalho: transparente sobre o banner da página inicial, sólido no resto */
.topbar {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(84px, 1fr) minmax(0, auto) minmax(84px, 1fr); align-items: center;
  height: 58px; padding: 0 8px; background: var(--bg); border-bottom: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s;
}
.topbar .side { display: flex; align-items: center; }
.topbar .side.right { justify-content: flex-end; }
body.over-hero .topbar { position: fixed; left: 0; right: 0; background: transparent; color: #fff; border-color: transparent; }
body.over-hero.scrolled .topbar { background: var(--bg); color: var(--text); border-color: var(--line); }
body.over-hero .announcement { display: none; }
.brand { min-width: 0; overflow: hidden; justify-content: center; text-decoration: none; font-family: var(--font-heading); font-size: clamp(17px, 4.8vw, 24px); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; }
.brand img { max-height: 40px; width: auto; }
body.over-hero:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: inherit; text-decoration: none; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 7px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
body.over-hero:not(.scrolled) .count { background: #fff; color: #111; }

/* Menu lateral */
.drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 16, 12, .35); opacity: 0; transition: .3s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--bg); color: var(--text); transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); padding: 14px 24px 32px; overflow: auto; display: flex; flex-direction: column; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: flex-end; margin: 0 -12px 12px 0; }
#drawerCats a { display: block; padding: 10px 0; text-decoration: none; font-family: var(--font-heading); font-size: 28px; line-height: 1.15; }
.drawer-links { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.drawer-links a { text-decoration: none; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; }

/* ---------- Página inicial ---------- */
.slides { position: relative; height: 92svh; min-height: 520px; max-height: 900px; overflow: hidden; background: var(--soft); color: #fff; margin: 0 -20px; }
.slides .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides .track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
/* Véu escuro atrás do texto: forte embaixo (onde fica o texto), leve no resto, para qualquer foto ficar legível */
.slide::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(20,14,10,.82) 0%, rgba(20,14,10,.62) 32%, rgba(20,14,10,.3) 58%, rgba(20,14,10,0) 80%),
  linear-gradient(to bottom, rgba(20,14,10,.38), rgba(20,14,10,0) 22%),
  rgba(20,14,10,.12); }
@media (min-width: 900px) {
  .slide::after { background:
    linear-gradient(to right, rgba(20,14,10,.72) 0%, rgba(20,14,10,.45) 38%, rgba(20,14,10,0) 70%),
    linear-gradient(to top, rgba(20,14,10,.55), rgba(20,14,10,0) 50%),
    linear-gradient(to bottom, rgba(20,14,10,.38), rgba(20,14,10,0) 22%); }
}
.slides .caption { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.slides .caption .btn { text-shadow: none; }
.slides .caption { position: absolute; left: 24px; right: 24px; bottom: 48px; z-index: 2; max-width: 620px; }
.slides .caption .eyebrow { color: rgba(255,255,255,.85); }
.slides h1 { font-size: clamp(38px, 9vw, 76px); font-weight: 400; margin-bottom: 18px; }
.slides p { margin: 0 0 22px; max-width: 40ch; opacity: .92; }
.slides .btn { background: #fff; color: #111; border-color: #fff; }
.slides .bars { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 6px; width: 120px; }
.slides .bars span { flex: 1; height: 1.5px; background: rgba(255,255,255,.4); }
.slides .bars span.on { background: #fff; }

/* Sem foto de capa: abertura tipográfica */
.intro { padding: 64px 0 44px; }
.intro h1 { font-size: clamp(44px, 12vw, 96px); font-weight: 400; max-width: 10ch; margin-bottom: 20px; line-height: 1; }
.intro p { max-width: 34ch; color: var(--muted); margin: 0 0 28px; font-size: 16px; }

/* Faixa de categorias */
.cats { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding: 18px 20px; margin: 0 -20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.cats a.active, .cats a:hover { color: var(--text); border-color: var(--text); }

.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 52px 0 18px; }
.section-title h2 { font-size: clamp(26px, 6vw, 38px); margin: 0; }
.section-title .more { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.section-title select { width: auto; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-radius: 0; }

/* Vitrine que desliza */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 66%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 36%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 36px) / 4); } }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* Card de produto */
.pcard { position: relative; text-decoration: none; display: flex; flex-direction: column; }
.pcard .img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.pcard .img img.alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .pcard:hover .img img.alt { opacity: 1; } .pcard:hover .img img:only-of-type { transform: scale(1.03); } }
.pcard .tag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--text); color: var(--bg); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.pcard .tag.light { background: var(--bg); color: var(--text); }
.pcard .quick { position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); color: var(--text); border: 0; cursor: pointer; }
.pcard .quick svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pcard .info { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.pcard .name { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .dots { display: flex; gap: 5px; margin: 3px 0 1px; }
.pcard .dots .swatch { width: 10px; height: 10px; }
.price { font-size: 13.5px; font-weight: 500; }
.old { text-decoration: line-through; color: var(--muted); font-size: .92em; font-weight: 400; margin-left: 6px; }
.installments { font-size: 12px; color: var(--muted); }

/* Bloco editorial (foto grande + texto) */
.feature { position: relative; margin: 64px -20px 0; color: #fff; display: block; text-decoration: none; }
.feature img { width: 100%; height: 78svh; max-height: 820px; object-fit: cover; }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 50%); }
.feature .caption { position: absolute; left: 24px; right: 24px; bottom: 36px; z-index: 2; max-width: 560px; }
.feature h2 { font-size: clamp(32px, 8vw, 60px); font-weight: 400; margin-bottom: 10px; }
.feature p { margin: 0 0 18px; opacity: .9; }
.feature .eyebrow { color: rgba(255,255,255,.85); }
.feature .link { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Três informações da loja */
.note { margin: 64px 0 0; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 24px; }
@media (min-width: 760px) { .note { grid-template-columns: repeat(3, 1fr); } }
.note h3 { font-size: 21px; margin-bottom: 4px; }
.note p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Produto ---------- */
.pd { display: grid; gap: 4px; }
@media (min-width: 900px) { .pd { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-top: 28px; } .pd-info { position: sticky; top: 80px; } }
.gallery { margin: 0 -20px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .gallery { margin: 0; display: grid; gap: 8px; background: none; overflow: visible; } .gallery > * { flex: none; width: 100%; } }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 0; }
.gallery-dots span { width: 18px; height: 1.5px; background: var(--line); }
.gallery-dots span.on { background: var(--text); }
@media (min-width: 900px) { .gallery-dots { display: none; } }
.crumbs { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.crumbs a { text-decoration: none; }
.pd-head h1 { font-size: clamp(30px, 7vw, 44px); margin: 0 0 10px; }
.pd-price { display: flex; align-items: baseline; gap: 4px; }
.pd-price .price { font-size: 17px; }
.opt-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 26px 0 10px; color: var(--muted); }
.opt-label span { color: var(--text); letter-spacing: .02em; text-transform: none; font-size: 13px; margin-left: 4px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 52px; min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 9px; }
.opt.color { padding: 0 14px 0 8px; }
.opt.color .swatch { width: 22px; height: 22px; }
.opt.active { border-color: var(--text); box-shadow: inset 0 0 0 .5px var(--text); }
.opt.disabled { color: var(--muted); text-decoration: line-through; border-style: dashed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.1em; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.delivery { margin-top: 22px; padding: 4px 0 4px 16px; border-left: 2px solid var(--text); font-size: 13.5px; display: flex; flex-direction: column; gap: 2px; }
.delivery.order { border-left-color: var(--accent); }
.delivery b { font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.delivery .when { color: var(--muted); margin-top: 4px; }
.acc { border-top: 1px solid var(--line); margin-top: 30px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 18px; font-weight: 300; letter-spacing: 0; }
.acc details[open] summary::after { content: '−'; }
.acc .body { padding: 0 0 20px; font-size: 14px; color: color-mix(in srgb, var(--text) 82%, var(--bg)); }
.acc .body.pre { white-space: pre-line; }
.ship-calc .row input { min-height: 46px; padding: .7em .9em; border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; background: transparent; }
.ship-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ship-line:last-of-type { border-bottom: 0; }
.ship-line b { font-weight: 500; }
.ship-line small, .choice .grow small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.sticky-buy { position: sticky; bottom: 0; z-index: 5; margin: 20px -20px 0; padding: 12px 20px calc(12px + var(--safe-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 900px) { .pd .sticky-buy { position: static; margin: 24px 0 0; padding: 0; border: 0; background: none; backdrop-filter: none; } }

/* ---------- Sacola, checkout, pedidos ---------- */
.page-head { padding: 36px 0 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.page-head h1 { font-size: clamp(32px, 8vw, 48px); margin: 0; }
.citem { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.citem .thumb { width: 88px; flex: none; overflow: hidden; aspect-ratio: 4 / 5; }
.citem .thumb img, .citem .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.citem .thumb .ph span { display: none; }
.citem .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.citem .meta .top { display: flex; justify-content: space-between; gap: 8px; }
.citem .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 0; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.citem .qty button { width: 34px; height: 34px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.summary .total { font-size: 16px; font-weight: 500; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.summary h3, .card h3 { font-family: var(--font-body); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.empty { text-align: center; padding: 88px 0; }
.empty h2 { font-size: 30px; }
.handmade { margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.steps { display: flex; gap: 6px; margin: 24px 0 18px; }
.steps span { flex: 1; height: 1.5px; background: var(--line); }
.steps span.on { background: var(--text); }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; margin-bottom: 8px; font-size: 14px; }
.choice input { width: 18px; height: 18px; accent-color: var(--text); flex: none; }
.choice.on { border-color: var(--text); }
.choice .grow { flex: 1; }
.choice small { display: block; color: var(--muted); }
.choice strong { font-weight: 500; }
.entry-option { display: block; text-decoration: none; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; width: 100%; text-align: left; }
.entry-option strong { display: block; font-family: var(--font-heading); font-size: 25px; font-weight: 500; margin-bottom: 2px; }
.entry-option span { font-size: 13.5px; }
.pix-box { background: var(--soft); padding: 14px; word-break: break-all; font-size: 13px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin: 20px 0; }
.tabs button { flex: 1; border: 0; background: none; padding: 14px; cursor: pointer; color: var(--muted); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; border-bottom: 1.5px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--text); }
.order-card { display: block; text-decoration: none; }
.order-card .top { display: flex; justify-content: space-between; align-items: center; }
.back { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: none; border: 0; padding: 0; cursor: pointer; }
.badge.order { background: color-mix(in srgb, var(--accent) 22%, var(--bg)); }
.sim-banner { margin: 16px 0 0; padding: 12px 14px; background: #f3ead2; color: #5c4710; font-size: 12.5px; }
.fake-qr { width: 176px; height: 176px; margin: 0 auto; background: repeating-conic-gradient(var(--text) 0 25%, var(--surface) 0 50%) 0 0 / 22px 22px; opacity: .85; border: 10px solid var(--surface); outline: 1px solid var(--line); }
.pay-ok { padding: 12px 14px; background: #dfeadf; color: #2f5b34; font-size: 13px; }
.pay-fail { padding: 12px 14px; background: #f1dfdb; color: #8f2d22; font-size: 13.5px; }
.search-input { width: 100%; border: 0; border-bottom: 1px solid var(--text); background: none; font-family: var(--font-heading); font-size: 30px; padding: 10px 0; outline: none; border-radius: 0; }

/* ---------- Rodapé ---------- */
.footer { margin-top: 72px; background: var(--text); color: var(--bg); padding: 56px 20px calc(32px + var(--safe-bottom)); }
.footer > div { max-width: 1140px; margin: 0 auto; }
.footer .brandline { font-family: var(--font-heading); font-size: 34px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.footer .tagline { color: color-mix(in srgb, var(--bg) 65%, transparent); max-width: 34ch; margin: 0 0 36px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-size: 10.5px; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; margin: 0 0 14px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.footer a { display: block; text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer .legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); font-size: 11.5px; color: color-mix(in srgb, var(--bg) 55%, transparent); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: calc(18px + var(--safe-bottom)); z-index: 40; width: 50px; height: 50px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.16); border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); }
.wa-float svg { width: 23px; height: 23px; fill: currentColor; }
@media (max-width: 899px) { body.has-sticky .wa-float { display: none; } }
.pcard .quick.done { background: var(--text); color: var(--bg); }
main.narrow { max-width: 660px; }
@media (max-width: 420px) { .topbar { padding: 0 2px; } .topbar .icon-btn { width: 42px; } }
html, body { overflow-x: clip; }
@media (min-width: 900px) { .intro { padding: 110px 0 72px; } .intro h1 { max-width: 15ch; } }

/* ---------- Vantagens do perfil ---------- */
.perks { padding: 28px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.perk-list { display: grid; gap: 18px; margin: 6px 0 22px; }
@media (min-width: 760px) { main:not(.narrow) .perk-list { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.perk h3 { font-size: 22px; margin: 0 0 4px; }
.perk p { margin: 0; color: var(--muted); font-size: 14px; }
.perks .btn { min-width: 220px; }
.perks.me h3 { font-size: 26px; margin: 4px 0 2px; }
.perks.me p { margin: 6px 0 0; }
.progress { height: 2px; background: var(--line); margin: 16px 0 8px; }
.progress span { display: block; height: 100%; background: var(--text); }
.handmade a { text-underline-offset: 3px; }

/* ---------- Personalização ---------- */
.pers { margin-top: 26px; border: 1px solid var(--line); }
.pers-toggle { display: flex; gap: 12px; align-items: flex-start; padding: 16px; cursor: pointer; }
.pers-toggle input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--text); flex: none; }
.pers-toggle b { font-weight: 500; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; display: block; }
.pers-toggle small { color: var(--muted); font-size: 13px; }
#persBox { padding: 0 16px 16px; border-top: 1px solid var(--line); }
#persBox .opt-label:first-child, #persFields > .field:first-child { margin-top: 16px; }
.pers em, .gift-card em { font-style: normal; color: var(--muted); font-size: .92em; }
.pers .field small { display: block; margin-top: 4px; font-size: 11.5px; }
.pers-preview { margin: 16px 0 4px; height: 120px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--bg, transparent) 100%, transparent); background: var(--bg); border: 1px solid var(--line); }
.pers-preview[style*="--bg:#"] { background: var(--bg); }
.pers-preview .txt { position: relative; z-index: 1; font-family: var(--font-heading); font-size: 44px; letter-spacing: .08em; color: var(--ink); line-height: 1; }
.pers-preview .txt i { font-size: 13px; letter-spacing: var(--track); text-transform: uppercase; font-style: normal; color: var(--muted); font-family: var(--font-body); }
.pers-preview .sym { position: absolute; font-size: 104px; line-height: 1; color: var(--ink); opacity: .9; }
.pers-preview .sym + .txt { color: #fff; font-size: 34px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.gift-card { border-color: var(--text); }

/* ---------- Queima de estoque ---------- */
.clr-line { font-size: 12px; color: var(--accent); letter-spacing: .02em; }
.clr-box { margin-top: 14px; padding: 12px 14px; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.clr-box b { font-weight: 500; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; }

/* ---------- Níveis de cliente ---------- */
.levels { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 760px) { main:not(.narrow) .levels { grid-template-columns: repeat(3, 1fr); } }
.lvl { border: 1px solid var(--line); padding: 18px 18px 14px; position: relative; }
.lvl::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--lvl); }
.lvl h3 { font-size: 28px; margin: 2px 0 8px; }
.lvl ul, .perks.me ul { margin: 0; padding-left: 18px; color: color-mix(in srgb, var(--text) 82%, var(--bg)); font-size: 14px; }
.lvl li + li { margin-top: 4px; }
.lvl.on { border-color: var(--text); }
.lvl-1 { --lvl: #b0784a; } .lvl-2 { --lvl: #a7adb4; } .lvl-3 { --lvl: #c9a227; }
.perks.me .lvl-name { font-size: 34px; display: inline-block; border-bottom: 3px solid var(--lvl); padding-bottom: 2px; }
.perks.me details summary { cursor: pointer; color: var(--muted); }
.perks.me details .perks { border: 0; padding: 12px 0 0; margin: 0; }
.field > small.muted { display: block; margin-top: 5px; font-size: 12px; }

/* ---------- Exclusivos (peças únicas) ---------- */
.tag.excl { background: var(--text); color: var(--bg); }
.excl-box { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--text); display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.excl-box b { font-weight: 500; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; }
.excl-intro { max-width: 52ch; margin: -6px 0 24px; }
.excl-sold .pcard { opacity: .6; }

/* ---------- Painel do perfil ---------- */
.pf-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; }
.pf-head h1 { font-size: clamp(28px, 7vw, 40px); margin: 0; line-height: 1.1; }
.pf-head p { margin: 4px 0 0; }
.avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 22px; font-family: var(--serif, serif); border: 3px solid var(--line); }
.avatar.lvl-1 { border-color: #b0784a; } .avatar.lvl-2 { border-color: #a7adb4; } .avatar.lvl-3 { border-color: #c9a227; }
.ptabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 18px; padding: 0 20px 2px; border-bottom: 1px solid var(--line); }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs a { flex: 0 0 auto; padding: 10px 12px; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptabs a.on { color: var(--text); border-color: var(--text); }
.ptabs em { font-style: normal; display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--text); color: var(--bg); font-size: 10px; margin-left: 3px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); background: var(--surface, transparent); text-decoration: none; color: inherit; min-width: 0; }
.tile span { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.tile b { font-weight: 500; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile small { font-size: 12px; color: var(--muted); }
.lvl-tile { border-top: 3px solid var(--lvl, var(--line)); }
.lvl-tile.lvl-1 { --lvl: #b0784a; } .lvl-tile.lvl-2 { --lvl: #a7adb4; } .lvl-tile.lvl-3 { --lvl: #c9a227; }
.order-card { display: block; margin-bottom: 10px; text-decoration: none; color: inherit; }
.order-card .link { display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.oc-thumbs { display: flex; gap: 6px; margin: 10px 0 8px; align-items: center; }
.oc-thumbs img, .oc-thumbs span { width: 44px; height: 44px; object-fit: cover; background: var(--soft); }
.oc-thumbs em { font-style: normal; font-size: 12px; color: var(--muted); }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-item img, .mini-item .ph { width: 56px; height: 56px; object-fit: cover; background: var(--soft); flex: 0 0 56px; }
.mini-item a { color: inherit; }
.mini-total { display: flex; justify-content: space-between; padding-top: 12px; }
.hint-card { margin-top: 16px; }
.hint-card p { margin: 4px 0 10px; }
.small-empty { padding: 32px 0; }
#perksMe:not(:empty) { margin-top: 24px; }

/* Pedido mínimo (lembrancinhas) */
.min-line { font-size: 12px; color: var(--muted); }
.min-note { margin: 6px 0 0; }

/* ---------- Encomenda exclusiva ---------- */
.custom-steps { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; counter-reset: st; }
.custom-steps li { counter-increment: st; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.custom-steps li::before { content: counter(st); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--text); display: grid; place-items: center; font-size: 12px; }
.custom-steps b { font-weight: 500; }
.custom-steps span { font-size: 13px; color: var(--muted); }
.custom-lock { border-top: 3px solid #c9a227; }
.custom-cta { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; text-decoration: none; color: inherit; border-left: 3px solid #c9a227; }
.custom-req { margin-bottom: 10px; }
.custom-req .top { display: flex; justify-content: space-between; align-items: center; }
