/* Previsões da Lara — área pública (mobile-first) */
:root {
  --yellow: #F8E7A0;
  --honey: #EFCB68;
  --honey-deep: #d9b04a;
  --cream: #FFF9EA;
  --white: #FFFFFF;
  --brown: #80694B;
  --text: #554B3F;
  --sage: #A9B79F;
  --sage-deep: #7f9374;
  --danger: #b4513f;
  --line: #efe3c0;
  --shadow: 0 10px 30px -12px rgba(128, 105, 75, .28);
  --shadow-sm: 0 4px 14px -6px rgba(128, 105, 75, .25);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--brown); line-height: 1.15; margin: 0 0 .4em; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--honey-deep); outline-offset: 2px; }
.muted { color: #8b7e6c; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fundo decorativo ---------- */
.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(248, 231, 160, .75), transparent 60%),
    radial-gradient(700px 500px at -10% 105%, rgba(169, 183, 159, .28), transparent 60%),
    var(--cream); }
.bg-decor .hex { position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34zm0 32L0 82V66m56 16L28 98' fill='none' stroke='%23EFCB68' stroke-opacity='.28' stroke-width='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%); }
.float-bee { position: absolute; opacity: .5; animation: drift 14s ease-in-out infinite; }
.float-bee.b1 { top: 12%; left: 6%; }
.float-bee.b2 { top: 62%; right: 5%; animation-duration: 18s; animation-delay: -6s; transform: scale(.8); }
.float-bee.b3 { bottom: 8%; left: 12%; animation-duration: 21s; animation-delay: -11s; transform: scale(.6); }
@keyframes drift {
  0%, 100% { translate: 0 0; rotate: -4deg; }
  25% { translate: 18px -14px; rotate: 5deg; }
  50% { translate: 36px 6px; rotate: -2deg; }
  75% { translate: 12px 16px; rotate: 4deg; }
}
.bee-wings { transform-origin: 32px 26px; animation: flap .22s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.78); } }

/* ---------- Estrutura ---------- */
.app { position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; padding: 0 16px 28px; }
.topbar { position: sticky; top: 0; z-index: 5; padding: 14px 0 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  background: linear-gradient(180deg, var(--cream) 70%, rgba(255, 249, 234, 0)); }
.topbar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); color: var(--brown); font-weight: 600; font-size: 1.05rem; }
.step-label { margin-left: auto; font-size: .82rem; color: #8b7e6c; font-weight: 700; letter-spacing: .02em; }
.progress { height: 8px; background: rgba(239, 203, 104, .28); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--honey), var(--honey-deep)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
main { flex: 1; display: flex; flex-direction: column; }

.screen { display: none; flex: 1; flex-direction: column; animation: enter .5s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active { display: flex; }
.screen.back { animation-name: enterBack; }
@keyframes enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes enterBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px; border: 1px solid rgba(239, 203, 104, .25); }
.screen-title { font-size: 1.65rem; margin-top: 8px; }
.screen-sub { color: #8b7e6c; margin-bottom: 20px; }

/* ---------- Boas-vindas ---------- */
.welcome { align-items: center; justify-content: center; text-align: center; padding: 28px 4px; }
.welcome .hero-bee { margin: 0 auto 6px; animation: hover 3.6s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(128, 105, 75, .18)); }
@keyframes hover { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.welcome .eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); font-weight: 800; margin-bottom: 10px; }
.welcome h1 { font-size: clamp(2.3rem, 9vw, 3.1rem); margin-bottom: 10px; }
.welcome .lead { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--brown); margin-bottom: 14px; }
.welcome .msg { max-width: 420px; margin: 0 auto 26px; }
.honey-drip { width: 100%; max-width: 280px; height: 18px; margin: 0 auto 16px; display: block; }
.flower { position: absolute; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 99px;
  border: 0; font-weight: 800; font-size: 1.02rem; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(180deg, var(--honey), #e6bd55); color: #4a3d28; box-shadow: 0 8px 18px -8px rgba(217, 176, 74, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover { box-shadow: 0 12px 22px -8px rgba(217, 176, 74, .95), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { background: transparent; color: var(--brown); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--white); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .spinner { width: 18px; height: 18px; border: 3px solid rgba(74, 61, 40, .25); border-top-color: #4a3d28; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
.actions .btn-primary { flex: 1; }
.actions .btn-ghost { padding: 0 20px; }

/* ---------- Campos ---------- */
.field { margin-bottom: 26px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label, .field legend { display: block; font-weight: 800; color: var(--brown); margin-bottom: 4px; font-size: 1.02rem; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hint { font-size: .85rem; color: #8b7e6c; margin-bottom: 10px; }
.input { width: 100%; min-height: 56px; padding: 0 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--cream); font-size: 1.1rem; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.input:focus { outline: 0; border-color: var(--honey); background: var(--white); box-shadow: 0 0 0 5px rgba(239, 203, 104, .25); }
.input.invalid, .invalid > .choices .choice { border-color: var(--danger); }
.error { display: none; color: var(--danger); font-size: .88rem; font-weight: 700; margin-top: 8px; }
.error.show { display: block; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.unit-input { position: relative; display: flex; align-items: stretch; gap: 8px; }
.unit-input .input { text-align: center; font-weight: 800; font-size: 1.5rem; font-family: var(--font-display); }
.unit-input .unit { position: absolute; right: 74px; top: 50%; transform: translateY(-50%); color: #9b8e7a; font-weight: 800; pointer-events: none; }
.stepper { width: 56px; min-height: 56px; border-radius: 16px; border: 2px solid var(--line); background: var(--white); color: var(--brown); font-size: 1.5rem; font-weight: 800; flex: none; }
.stepper:active { background: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cards de escolha ---------- */
.choices { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.choices.one { grid-template-columns: 1fr; }
.choices.three { grid-template-columns: 1fr 1fr 1fr; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 92px; padding: 14px 10px; border-radius: 18px; border: 2px solid var(--line); background: var(--white); color: var(--text);
  font-weight: 800; transition: transform .15s, border-color .2s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.choice small { display: block; font-weight: 600; color: #9b8e7a; font-size: .78rem; }
.choice:active { transform: scale(.97); }
.choice:hover { border-color: var(--honey); }
.choice[aria-pressed="true"] { border-color: var(--honey-deep); background: linear-gradient(180deg, #fffbe9, var(--yellow)); box-shadow: 0 8px 18px -10px rgba(217, 176, 74, .9); }
.choice[aria-pressed="true"]::after { content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--honey-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.choice.row { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; padding: 12px 16px; min-height: 68px; }
.choice .ico { width: 40px; height: 40px; flex: none; }
.choice.big { min-height: 150px; }
.choice.big svg { width: 84px; height: 84px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .18), inset 0 3px 5px rgba(255, 255, 255, .28), 0 2px 6px rgba(0, 0, 0, .12); }
.swatch.none { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #f1e7cc 4px, #f1e7cc 8px); border: 2px dashed var(--honey-deep); box-shadow: none; }
.eye { width: 44px; height: 28px; flex: none; }

/* ---------- Calendário ---------- */
.date-display { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border-radius: 16px;
  border: 2px solid var(--line); background: var(--cream); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; color: var(--brown); }
.date-display.empty { color: #b6a98f; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.cal { border: 2px solid var(--line); border-radius: 20px; padding: 12px; background: var(--white); user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--brown); }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--brown); font-size: 1.3rem; font-weight: 800; }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 800; color: #a89b86; padding: 4px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 50%; background: transparent; font-weight: 700; font-size: .98rem; color: var(--text); }
.cal-day:hover:not([disabled]) { background: var(--yellow); }
.cal-day[disabled] { color: #d5cab4; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--sage); }
.cal-day.sel { background: var(--honey-deep); color: #fff; box-shadow: 0 6px 12px -6px rgba(217, 176, 74, 1); }

/* ---------- Resumo ---------- */
.summary { list-style: none; margin: 0; padding: 0; }
.summary li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.summary li:last-child { border-bottom: 0; }
.summary .k { font-size: .8rem; color: #9b8e7a; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.summary .v { font-weight: 800; color: var(--text); word-break: break-word; }
.summary .grow { flex: 1; min-width: 0; }
.link-edit { border: 0; background: var(--cream); color: var(--brown); font-weight: 800; border-radius: 99px; padding: 8px 14px; font-size: .85rem; min-height: 38px; }
.link-edit:hover { background: var(--yellow); }

/* ---------- Mensagens finais ---------- */
.thanks { align-items: center; justify-content: center; text-align: center; padding: 30px 6px; }
.thanks .hero-bee { animation: hover 3.4s ease-in-out infinite; margin-bottom: 8px; }
.thanks h2 { font-size: 1.9rem; }
.thanks p { max-width: 400px; }
.thanks .big { font-family: var(--font-display); font-size: 1.25rem; color: var(--brown); }
.fall { position: fixed; top: -30px; z-index: 20; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); opacity: .9; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #554B3F; color: #fff; padding: 12px 20px; border-radius: 99px;
  font-weight: 700; box-shadow: var(--shadow); opacity: 0; transition: .3s; z-index: 30; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.alert { padding: 12px 14px; border-radius: 14px; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.alert-error { background: #fbe9e5; color: #8f3524; }
.alert-ok { background: #e8f1e3; color: #3f5f33; }
.alert-warn { background: #fff3d1; color: #7a5b13; }

.foot { text-align: center; font-size: .8rem; color: #a89b86; padding-top: 18px; }

/* ---------- Instalador ---------- */
.page-install { display: grid; place-items: start center; padding: 24px 16px; background: var(--cream); }
.install-card { width: 100%; max-width: 480px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; text-align: center; }
.install-card .stack { text-align: left; display: grid; gap: 16px; }
.install-card fieldset { border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px 16px; display: grid; gap: 12px; }
.install-card legend { font-weight: 800; color: var(--brown); padding: 0 6px; }
.install-card label { display: grid; gap: 5px; font-weight: 700; font-size: .92rem; }
.install-card input { min-height: 46px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--cream); }
.install-bee { display: grid; place-items: center; }

@media (min-width: 640px) {
  .app { padding-bottom: 48px; }
  .card { padding: 30px 30px; }
  .choices.three { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Início (escolha) ---------- */
.home-options { width: 100%; max-width: 420px; display: grid; gap: 14px; margin: 6px auto 0; text-align: left; }
.home-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 22px; background: var(--white); border: 2px solid rgba(239, 203, 104, .45);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.home-card:hover { border-color: var(--honey-deep); transform: translateY(-2px); }
.home-card:active { transform: scale(.98); }
.home-card.alt { background: linear-gradient(180deg, #fffdf3, var(--yellow)); }
.hc-ico { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--cream); display: grid; place-items: center; font-size: 1.9rem; }
.home-card.alt .hc-ico { background: rgba(255, 255, 255, .7); }
.hc-body { flex: 1; min-width: 0; }
.hc-body strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--brown); }
.hc-body small { display: block; color: #8b7e6c; font-size: .86rem; line-height: 1.35; }
.hc-go { font-size: 1.8rem; color: var(--honey-deep); font-weight: 800; }
.back-link { display: block; margin-top: 18px; color: #8b7e6c; font-weight: 700; text-decoration: none; font-size: .9rem; }
.back-link:hover { color: var(--brown); }

/* ---------- Loja de presentes ---------- */
.app.wide { max-width: 1060px; }
.shop { display: block; padding-bottom: 110px; }
.shop-head { text-align: center; padding: 22px 0 8px; position: relative; }
.shop-head .back-link { position: absolute; left: 0; top: 18px; margin: 0; }
.shop-head h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 4px 0 6px; }
.lead-text { max-width: 620px; margin: 0 auto 8px; color: #7b6f5e; }
.shop-tools { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 14px 0 10px; }
.shop-tools .input { min-height: 50px; font-size: 1rem; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 2px solid var(--line); background: var(--white); color: var(--brown); border-radius: 99px; padding: 8px 14px; font-weight: 800; font-size: .88rem; white-space: nowrap; min-height: 40px; }
.chip.on { background: var(--yellow); border-color: var(--honey-deep); color: #4a3d28; }
.result-line { font-size: .85rem; margin: 2px 4px 10px; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(239, 203, 104, .3); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--cream); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-emoji { font-size: 3.2rem; filter: drop-shadow(0 6px 6px rgba(128, 105, 75, .2)); }
.cat-fraldas { background: #fff3cf; } .cat-roupinhas { background: #fde6e1; } .cat-alimentacao { background: #e9f1e1; }
.cat-passeio { background: #e3eef4; } .cat-quarto { background: #ece6f3; } .cat-banho { background: #dff0f1; }
.cat-brinquedos { background: #fdebd2; } .cat-saude { background: #e6f1e8; } .cat-experiencias, .cat-livre { background: var(--yellow); }
.ribbon { position: absolute; top: 8px; left: 8px; background: var(--honey-deep); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.p-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-body h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 800; color: var(--text); margin: 0; line-height: 1.25; }
.p-desc { font-size: .8rem; color: #8b7e6c; margin: 0; flex: 1; line-height: 1.35; }
.p-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--brown); margin-top: 4px; }
.p-act { margin-top: 8px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .92rem; width: 100%; }
.qty { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--cream); border-radius: 99px; padding: 3px; width: 100%; max-width: 150px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--white); color: var(--brown); font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow-sm); }
.qty b { min-width: 24px; text-align: center; }
.product.free { border-style: dashed; border-color: var(--honey-deep); }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, calc((100vw - 1030px) / 2)) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 2px solid var(--honey); box-shadow: 0 -10px 30px -12px rgba(128, 105, 75, .4); animation: enter .4s both; }
.cart-bar strong { display: block; color: var(--brown); } .cart-bar span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(70, 50, 20, .45); z-index: 40; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; background: var(--cream); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; animation: sheetUp .35s cubic-bezier(.2, .9, .3, 1); max-width: 560px; margin: 0 auto; }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.sheet-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); color: var(--brown); font-size: 1rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.sheet-body { overflow-y: auto; padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 12px; align-content: start; }
.line { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 10px; align-items: center; background: var(--white); border-radius: 16px; padding: 10px; }
.l-ico { font-size: 1.7rem; text-align: center; } .l-mid strong { display: block; font-size: .9rem; line-height: 1.2; } .l-mid small { color: #9b8e7a; }
.l-sub { font-size: .9rem; min-width: 70px; text-align: right; color: var(--brown); }
.line .qty { width: auto; } .line .qty button { width: 32px; height: 32px; }
.free-box { background: var(--white); border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.free-box label { font-weight: 800; color: var(--brown); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; padding: 6px 4px; font-size: 1.05rem; }
.sum b { font-family: var(--font-display); font-size: 1.6rem; color: var(--brown); }
.area { padding: 12px 16px; min-height: 90px; resize: vertical; font-size: 1rem; }
.pix-top { text-align: center; } .pix-val { font-family: var(--font-display); font-size: 2.3rem; color: var(--brown); font-weight: 600; line-height: 1.1; }
.pix-qr { display: grid; place-items: center; background: #fff; border-radius: 20px; padding: 14px; border: 2px dashed var(--honey); }
.pix-qr img { width: 100%; max-width: 250px; height: auto; }
.pix-hint { text-align: center; font-size: .88rem; color: #7b6f5e; margin: 0; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; word-break: break-all; min-height: 0; }
.pix-ref { text-align: center; font-size: .8rem; color: #9b8e7a; margin: 0; }
.done { text-align: center; display: grid; gap: 10px; } .done-ico { font-size: 3.4rem; animation: hover 3s ease-in-out infinite; }
.sheet .field { margin: 0; } .sheet .field label { display: block; margin-bottom: 6px; }
.empty-shop { text-align: center; margin-top: 20px; display: grid; gap: 8px; justify-items: center; }
@media (min-width: 640px) {
  .shop-tools { grid-template-columns: 1fr 200px 200px; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .sheet { bottom: 50%; transform: translateY(50%); border-radius: 26px; max-height: 88vh; animation: fadeIn .25s; left: 50%; right: auto; width: 520px; margin-left: -260px; }
}
@media (min-width: 960px) { .products { grid-template-columns: repeat(4, 1fr); } }
