/* PrintYou — identidade: magenta, roxo, destaque amarelo sobre vermelho, polaroids inclinadas */
[hidden] { display: none !important; }
:root {
  --magenta: #d42e8f;
  --magenta-deep: #b0156d;
  --magenta-soft: #fde7f3;
  --blush: #fff5fa;
  --purple: #4a1464;
  --purple-2: #6c2a8c;
  --yellow: #ffd23f;
  --red: #e8412c;
  --ink: #2a1530;
  --ink-soft: #6a5672;
  --line: #f1d3e4;
  --white: #ffffff;
  --ok: #1f7a4d;
  --ok-soft: #e3f4ea;
  --warn: #8a5a00;
  --warn-soft: #fff4d6;
  --error: #b42318;
  --error-soft: #fde8e6;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 2px 4px rgba(74, 20, 100, .06), 0 12px 32px rgba(74, 20, 100, .10);
  --shadow-photo: 0 2px 3px rgba(0, 0, 0, .12), 0 8px 18px rgba(0, 0, 0, .14);
  --head: "Lexend", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blush); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
.kicker { font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-deep); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }
.mark { display: inline-block; background: var(--red); color: var(--yellow); padding: 0 .18em .04em; border-radius: 6px; transform: rotate(-1.5deg); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--head); font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--magenta-deep); color: var(--white); box-shadow: 0 6px 16px rgba(176, 21, 109, .28); }
.btn-primary:hover { background: #95105c; }
.btn-light { background: var(--white); color: var(--magenta-deep); }
.btn-light:hover { background: var(--magenta-soft); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-outline-dark { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* topo */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.45rem; color: var(--purple); letter-spacing: -.03em; }
.logo svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-family: var(--head); font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--magenta-deep); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--purple); background: var(--white); color: var(--purple); font-family: var(--head); font-weight: 600; }
.cart-btn .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--magenta); color: var(--white); font-size: .8rem; display: inline-grid; place-items: center; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* capa */
.hero { position: relative; overflow: hidden; background: var(--magenta); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 2px, transparent 2.5px); background-size: 22px 22px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 4.6rem); line-height: 1.02; margin: 14px 0 18px; }
.hero .kicker { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 48px; } }

/* seções */
section { padding: 64px 0; }
.section-head { display: grid; gap: 8px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--ink-soft); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.card h3 { font-size: 1.45rem; }
.card h3 span { color: var(--magenta-deep); }
.card .info { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--purple); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.note-send { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--purple); background: var(--magenta-soft); padding: 10px 12px; border-radius: var(--r-sm); }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choice legend { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px; border: 2px solid var(--line); border-radius: var(--r-sm); font-weight: 700; font-size: .92rem; background: var(--white); text-align: center; }
.seg input:checked + span { border-color: var(--magenta-deep); background: var(--magenta-soft); color: var(--magenta-deep); }
.seg input:checked + span::before { content: "✓"; }
.seg input:focus-visible + span { outline: 3px solid var(--purple-2); outline-offset: 2px; }
/* opções em blocos com preço final */
.seg.tiles span { flex-direction: column; gap: 2px; min-height: 60px; padding: 8px 6px; }
.seg.tiles span b { font-size: .95rem; }
.seg.tiles span small { font-weight: 700; font-size: .8rem; color: var(--ink-soft); }
.seg.tiles input:checked + span small { color: var(--magenta-deep); }
.seg.tiles input:checked + span::before { content: none; }
.seg.tiles input:checked + span b::before { content: "✓ "; }
.seg input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.price.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--magenta-deep); } }
/* caixa da legenda no card */
.legend-box { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--blush); border: 2px dashed var(--line); animation: drop .25s ease; }
.legend-box.done { border-style: solid; border-color: #bfe3cf; background: #f3fbf6; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.lg-preview { flex: none; width: 86px; background: var(--white); padding: 6px 6px 0; box-shadow: var(--shadow-photo); transform: rotate(-3deg); border-radius: 2px; }
.lg-pic { aspect-ratio: 1; background: #efe6d8; overflow: hidden; }
.lg-pic img { width: 100%; height: 100%; object-fit: cover; }
.lg-cap { display: block; font-family: var(--hand); font-size: 1rem; line-height: 1.1; color: #3b3340; text-align: center; padding: 4px 0 6px; min-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lg-info { display: grid; gap: 8px; min-width: 0; }
.lg-status { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.35; }
.legend-box.done .lg-status b { color: var(--ok); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .9rem; justify-self: start; }
/* painel das legendas */
.no-scroll { overflow: hidden; }
.sheet-root { position: fixed; inset: 0; z-index: 70; }
.sheet-bg { position: absolute; inset: 0; background: rgba(42, 21, 48, .5); opacity: 0; transition: opacity .2s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: var(--white); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(100%); transition: transform .22s ease; }
.sheet-root.open .sheet-bg { opacity: 1; }
.sheet-root.open .sheet { transform: none; }
@media (min-width: 720px) { .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; max-height: 86vh; border-radius: 24px; transform: translate(-50%, -46%); opacity: 0; transition: transform .22s ease, opacity .22s; } .sheet-root.open .sheet { transform: translate(-50%, -50%); opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.25rem; }
.sheet-head p { margin: 4px 0 0; font-size: .88rem; color: var(--ink-soft); }
.sheet-body { overflow: auto; padding: 16px 20px; display: grid; gap: 14px; }
.sheet-foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .95rem; }
.switch input { position: absolute; opacity: 0; }
.switch .sw { flex: none; width: 46px; height: 28px; border-radius: 999px; background: #e3d6de; position: relative; transition: background .2s; }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .sw { background: var(--magenta-deep); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--purple-2); outline-offset: 2px; }
.lg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lg-field { display: flex; align-items: center; gap: 10px; }
.lg-field .n { flex: none; min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--magenta-soft); color: var(--magenta-deep); font-family: var(--head); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.lg-field input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--blush); font-family: var(--hand); font-size: 1.3rem; color: #3b3340; }
.lg-field input::placeholder { font-family: var(--body); font-size: .9rem; color: #b9a8b3; }
.lg-field input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(212, 46, 143, .18); background: var(--white); }
.lg-meter { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink-soft); }
.lg-meter .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--magenta-soft); overflow: hidden; }
.lg-meter .bar i { display: block; height: 100%; width: 0; background: var(--magenta); transition: width .15s; }
.lg-meter .bar i.over { background: var(--error); }
.lg-meter .over { color: var(--error); }
#lg-err { margin: 0; color: var(--error); font-weight: 700; font-size: .9rem; }
/* aviso com ação */
.toast { display: flex; align-items: center; gap: 12px; width: max-content; }
.toast span { text-align: left; }
.toast-btn { background: var(--yellow); color: var(--purple); border: 0; border-radius: 999px; padding: 6px 14px; font-family: var(--head); font-weight: 700; font-size: .9rem; white-space: nowrap; flex: none; }
.card .actions { margin-top: auto; }
.card .actions .btn { width: 100%; }
.skel { border-radius: var(--r-lg); min-height: 460px; background: linear-gradient(90deg, #fbe3f0, #fff5fa, #fbe3f0); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.state { padding: 18px 20px; border-radius: var(--r-md); }
.state.error { background: var(--error-soft); color: var(--error); }

/* como funciona */
.how { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border-radius: var(--r-md); background: var(--blush); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--magenta); color: var(--white); font-family: var(--head); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; margin-top: 12px; }
.faq summary { min-height: 56px; display: flex; align-items: center; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--head); font-size: 1.4rem; color: var(--magenta-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* faixa e rodapé */
.band { background: var(--purple); color: var(--white); text-align: center; padding: 56px 0; }
.band h2 { font-size: clamp(2rem, 5vw, 3rem); }
.band p { color: rgba(255, 255, 255, .85); margin: 12px auto 24px; max-width: 46ch; }
footer.foot { background: #33103f; color: rgba(255, 255, 255, .82); padding: 32px 0 40px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 18px; } }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 8px; background: var(--white); padding: 3px; flex: none; }
.foot-brand b { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--white); }
.foot-lbl { display: block; font-family: var(--head); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.foot-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-family: var(--head); font-weight: 600; font-size: 1.05rem; text-decoration: none; letter-spacing: .01em; }
.foot-tel:hover { background: rgba(255, 255, 255, .18); }

/* carrinho */
.drawer-bg { position: fixed; inset: 0; z-index: 40; background: rgba(42, 21, 48, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100%); background: var(--blush); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--magenta-soft); color: var(--magenta-deep); font-size: 1.4rem; display: grid; place-items: center; }
.drawer-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
.lines { padding: 8px 20px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.line .thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--magenta); display: grid; place-items: center; color: var(--white); font-family: var(--head); font-weight: 700; font-size: .85rem; text-align: center; line-height: 1.1; }
.line .thumb.ima { background: #d9dde3; color: var(--purple); }
.line .name { font-weight: 800; }
.line .det { font-size: .86rem; color: var(--ink-soft); }
.line .lp { font-family: var(--head); font-weight: 700; color: var(--purple); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.1rem; color: var(--purple); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.empty { text-align: center; padding: 56px 0; color: var(--ink-soft); }
.empty .btn { margin-top: 12px; }
.drawer-foot { background: var(--white); border-top: 1px solid var(--line); padding: 18px 20px 22px; display: grid; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: .98rem; }
.sum-row.total { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--purple); }
.sum-row .muted { color: var(--ink-soft); }
.sum-row.discount { color: var(--magenta-dark, #b0156d); font-weight: 700; }
.coupon { display: grid; gap: 8px; margin: 0 20px 20px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.coupon label { font-weight: 700; font-size: .92rem; }
.coupon-row { display: flex; gap: 8px; margin-top: 6px; }
.coupon-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px; background: var(--white); }
.coupon-row input:focus { outline: none; border-color: #d42e8f; box-shadow: 0 0 0 3px rgba(212,46,143,.18); }
.coupon-row .btn { min-height: 44px; padding: 0 16px; }
.coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--blush); font-size: .94rem; }
.coupon-on b { color: #4a1464; letter-spacing: .03em; }
.link-btn { background: none; border: 0; padding: 6px 2px; color: #b0156d; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.coupon-msg { margin: 0; font-size: .9rem; }
.coupon-msg.bad { color: var(--error); }
.coupon-msg.good { color: #1f7a4d; }
.next { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--blush); font-size: .88rem; color: var(--ink-soft); }
.err { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--error-soft); color: var(--error); font-size: .92rem; }
.err::before { content: "⚠ "; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; transition: .2s; background: var(--purple); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 700; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* páginas internas */
.page-hero { background: var(--magenta); color: var(--white); padding: 40px 0 88px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 2px, transparent 2.5px); background-size: 22px 22px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 10px 0 10px; }
.page-hero .kicker { color: var(--yellow); }
.page-hero p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .92); }
.panel { position: relative; margin-top: -56px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); max-width: 760px; margin-inline: auto; }

/* passos do envio */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.stepper li { flex: 1; display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.stepper li::before { content: ""; height: 6px; border-radius: 999px; background: var(--line); }
.stepper li.on { color: var(--magenta-deep); }
.stepper li.on::before { background: var(--magenta); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .lbl { font-weight: 800; }
.field .req { color: var(--magenta-deep); }
.field .help { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--blush); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); outline: none; box-shadow: 0 0 0 4px rgba(212, 46, 143, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .ferr { margin: 0; color: var(--error); font-size: .88rem; font-weight: 700; }
.field .ferr::before { content: "⚠ "; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--magenta-soft); margin-bottom: 14px; }
.counter strong { font-family: var(--head); font-size: 1.3rem; color: var(--purple); }
.counter .bar { flex: 1; height: 10px; border-radius: 999px; background: var(--white); overflow: hidden; }
.counter .bar i { display: block; height: 100%; background: var(--magenta); width: 0; transition: width .2s; }
.counter.full .bar i { background: var(--ok); }
.picker { display: grid; place-items: center; gap: 8px; text-align: center; padding: 26px 16px; border: 2px dashed var(--magenta); border-radius: var(--r-md); background: var(--blush); }
.picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picker .help { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 16px; }
.thumb-item { margin: 0; position: relative; background: var(--white); padding: 6px 6px 20px; box-shadow: var(--shadow-photo); border-radius: 3px; }
.thumb-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb-item .n { position: absolute; left: 6px; bottom: 2px; font-family: var(--hand); font-size: 1rem; color: var(--ink-soft); }
.thumb-item .rm { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--white); background: var(--purple); color: var(--white); font-size: 1rem; display: grid; place-items: center; }
.thumb-item.up::after { content: "enviando…"; position: absolute; inset: 6px 6px 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .75); font-weight: 800; font-size: .8rem; color: var(--purple); }
.thumb-item.okd::after { content: "✓ enviada"; position: absolute; inset: 6px 6px 20px; display: grid; place-items: center; background: rgba(31, 122, 77, .55); color: var(--white); font-weight: 800; font-size: .8rem; }
.thumb-item.fail { outline: 3px solid var(--error); }
.progress { margin: 18px 0 0; }
.progress .bar { height: 12px; border-radius: 999px; background: var(--magenta-soft); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--magenta); transition: width .2s; }
.progress p { margin: 8px 0 0; font-size: .92rem; font-weight: 700; color: var(--purple); }
.callout { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); margin: 0 0 18px; font-size: .95rem; }
.callout.info { background: var(--magenta-soft); color: var(--purple); }
.callout.warn { background: var(--warn-soft); color: var(--warn); }
.callout.ok { background: var(--ok-soft); color: var(--ok); }
.btn-row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.summary-box { padding: 14px 16px; border-radius: var(--r-md); background: var(--blush); border: 1px solid var(--line); margin-bottom: 18px; font-size: .95rem; }
.summary-box b { color: var(--purple); }
.success { text-align: center; padding: 12px 0; }
.success .big { font-size: 3rem; }
.success h2 { margin: 6px 0 10px; }
.success p { color: var(--ink-soft); }
/* logo original */
.logo img { width: 38px; height: 38px; flex: none; display: block; }

/* banner rotativo da capa */
.carousel { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.carousel .frame { position: relative; background: var(--white); padding: 4% 4% 0; border-radius: 6px; box-shadow: 0 2px 3px rgba(0, 0, 0, .12), 0 18px 40px rgba(42, 21, 48, .28); transform: rotate(-2deg); }
.carousel .viewport { position: relative; aspect-ratio: 1; overflow: hidden; background: #efe6d8; }
.carousel .viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.carousel .viewport img.on { opacity: 1; }
.carousel .cap { margin: 0; padding: 10px 0 14px; font-family: var(--hand); font-size: 1.6rem; color: #3b3340; text-align: center; line-height: 1.1; }
.carousel .badge { position: absolute; right: -8px; top: -16px; z-index: 3; width: 100px; height: 100px; border-radius: 50%; background: var(--purple); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--head); font-weight: 700; font-size: .74rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; transform: rotate(12deg); box-shadow: var(--shadow-photo); }
.carousel .ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.carousel .arrow { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: transparent; color: var(--white); display: grid; place-items: center; }
.carousel .arrow:hover { background: rgba(255, 255, 255, .15); }
.carousel .dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .3s ease, background .3s ease; }
.carousel .dot[aria-current="true"] { width: 28px; background: var(--yellow); }
@media (max-width: 880px) { .carousel { max-width: 360px; } }

/* escolha do formato */
.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.choose a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 20px; border-radius: var(--r-md); color: var(--white); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.choose a small { font-family: var(--body); font-weight: 700; font-size: .85rem; opacity: .9; margin-left: 6px; }
.choose .c-pol { background: var(--magenta-deep); }
.choose .c-ima { background: var(--purple); }
.choose a:hover { filter: brightness(1.08); }
.shop-intro { padding-bottom: 0; }
.shop-sec.alt { background: #f6eefa; border-top: 1px solid #ead8f2; }
.shop-sec.alt .kicker { color: var(--purple-2); }

/* foto real do produto no card */
.card-photo { position: relative; height: 300px; background: #efe6d8; margin: 0; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.card-photo .count-badge { position: absolute; right: 14px; bottom: 14px; background: var(--yellow); color: var(--purple); font-family: var(--head); font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-photo); }
@media (max-width: 620px) { .card-photo { height: 260px; } }

/* barra de etapas do pedido */
.order-steps { background: var(--white); border-bottom: 1px solid var(--line); padding: 14px 0; }
.order-steps ol { list-style: none; margin: 0 auto; padding: 0 16px; max-width: 760px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; font-family: var(--head); font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.order-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.order-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta-soft); color: var(--ink-soft); }
.order-steps li.done { color: var(--ok); }
.order-steps li.done span { background: var(--ok); color: var(--white); }
.order-steps li[aria-current="step"] { color: var(--magenta-deep); }
.order-steps li[aria-current="step"] span { background: var(--magenta-deep); color: var(--white); box-shadow: 0 0 0 4px var(--magenta-soft); }
.pack-box { display: flex; align-items: center; gap: 14px; background: var(--magenta-soft); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 18px; }
.pack-box img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.pack-box .t { font-size: .88rem; color: var(--ink-soft); }
.pack-box strong { display: block; font-family: var(--head); font-size: 1.1rem; color: var(--purple); }
.btn-wide { width: 100%; min-height: 56px; font-size: 1.08rem; }
.how-send { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 12px; }
.how-send li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.how-send li b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta-soft); color: var(--magenta-deep); font-family: var(--head); font-size: .85rem; }

/* endereço pelo CEP no carrinho */
.addr { margin: 0 20px 14px; padding: 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.addr h3 { font-size: 1.05rem; margin-bottom: 12px; }
.addr .field { margin-bottom: 12px; gap: 4px; }
.addr .field label { font-weight: 700; font-size: .9rem; }
.addr .field input, .addr .field select { min-height: 46px; padding: 10px 12px; font-size: 16px; }
.addr .opt { font-weight: 600; color: var(--ink-soft); font-size: .82rem; }
.row-2.tight { gap: 0 10px; grid-template-columns: 1fr 1fr; }
.row-2.city-uf { grid-template-columns: 1fr 92px; }
.cep-field { margin-bottom: 8px !important; }
.cep-wrap { position: relative; }
.cep-wrap input { width: 100%; letter-spacing: .04em; }
.cep-spin { position: absolute; right: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; border: 3px solid var(--magenta); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.cep-msg { margin: 2px 0 0; font-size: .85rem; color: var(--ink-soft); }
.cep-msg a { color: var(--magenta-deep); font-weight: 700; }
.cep-msg.good { color: var(--ok); font-weight: 700; }
.cep-msg.bad { color: var(--error); }
.ship-hint { margin: 4px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--blush); font-size: .9rem; color: var(--purple); }
.ship-hint.local { background: var(--ok-soft); color: var(--ok); }
/* pedido identificado */
.order-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-md); background: var(--blush); border: 1px solid var(--line); margin-bottom: 18px; }
.order-card .t { display: block; font-size: .82rem; color: var(--ink-soft); }
.order-card strong { font-family: var(--head); font-size: 1.3rem; color: var(--purple); }
.pay { font-weight: 800; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }
.pay.ok { background: var(--ok-soft); color: var(--ok); }
.pay.wait { background: var(--warn-soft); color: var(--warn); }
.pay.bad { background: var(--error-soft); color: var(--error); }
.envios { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.envios li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: 700; }
.envios li small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .8rem; }
.envios .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta-soft); color: var(--magenta-deep); font-family: var(--head); font-size: .85rem; }
.envios li.now { border-color: var(--magenta-deep); background: var(--magenta-soft); }
.envios li.now .dot { background: var(--magenta-deep); color: var(--white); }
.envios li.done .dot { background: var(--ok); color: var(--white); }
.pack-title { font-size: 1.35rem; margin: 4px 0 6px; }
.pack-sub { margin: 0 0 16px; color: var(--ink-soft); }
.thumb-item .lgc { display: block; margin-top: 4px; font-family: var(--hand); font-size: 1rem; line-height: 1.1; color: #3b3340; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 14px; }
.lg-edit { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; background: var(--blush); }
.lg-edit summary { cursor: pointer; font-weight: 800; color: var(--purple); }
.contact-sum { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--blush); font-size: .92rem; }
.contact-edit { margin-top: 22px; }
.contact-edit .lbl { font-weight: 800; margin: 0 0 10px; }
.save-link { margin-top: 22px; padding: 14px 16px; border-radius: var(--r-md); background: var(--blush); border: 1px dashed var(--line); }
.save-link p { margin: 0 0 6px; font-size: .92rem; }
.save-link input { font-size: .85rem !important; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
