:root { --cream:#fcf7ef; --ink:#2a2130; --soft:#6d6272; --line:#eadfd3; --berry:#c2255c; --berry-dark:#9c1848; --pink:#fde3ec; --butter:#fdf2c9; --lilac:#efe6fb; --mint:#e3f1e2; color-scheme: light; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--cream); color: var(--ink); font: 17px/1.6 "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif; min-height: 100vh; background-image: radial-gradient(50% 40% at 90% 0%, var(--butter), transparent 70%), radial-gradient(45% 35% at 0% 100%, var(--pink), transparent 70%); background-attachment: fixed; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin: 34px 0 12px; }
em { font-style: italic; font-weight: 500; color: var(--berry); }
a { color: var(--berry); }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 26px 20px 120px; }
.narrow { max-width: 520px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; font-size: .92rem; }
.brand { font: italic 600 1.25rem Fraunces, serif; color: var(--ink); text-decoration: none; }
.card { background: #fff; border-radius: 26px; padding: 26px 22px; box-shadow: 0 16px 40px -18px rgba(42,33,48,.25); animation: up .6s ease both; }
.card + .card { margin-top: 16px; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
.btn { display: block; width: 100%; text-align: center; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--berry), var(--berry-dark)); color: #fff; font: 700 1.05rem "DM Sans", sans-serif; text-decoration: none; padding: 16px 22px; border-radius: 99px; margin-top: 18px; box-shadow: 0 10px 26px rgba(194,37,92,.3); transition: transform .2s, opacity .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn.ghost { background: none; color: var(--berry); box-shadow: none; border: 1.5px solid var(--berry); }
.btn.small { display: inline-block; width: auto; padding: 8px 16px; font-size: .9rem; margin: 0; box-shadow: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--berry); text-decoration: underline; cursor: pointer; }
label { display: block; font-size: .85rem; font-weight: 700; margin-top: 14px; }
input, textarea, select { width: 100%; font: inherit; color: inherit; padding: 13px 15px; margin-top: 5px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); }
input:focus, textarea:focus { outline: 2px solid var(--berry); outline-offset: 1px; }
.err { color: #b3261e; font-size: .92rem; margin-top: 12px; min-height: 1.2em; }
.muted { color: var(--soft); font-size: .92rem; }
.big { font: 600 2rem/1.1 Fraunces, serif; }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 99px; background: var(--butter); }
.pill.ok { background: var(--mint); } .pill.bad { background: var(--pink); }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
.prod { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px -18px rgba(42,33,48,.3); }
.prod img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--pink); }
.prod div { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod b { line-height: 1.25; }
.prod .btn { margin-top: auto; padding: 10px; font-size: .92rem; box-shadow: none; }
.prod.gone { opacity: .5; }
.prod .tipo { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); }
.ph { width: 100%; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--berry); background: var(--cream); }
.ph i { font-style: normal; font-size: 2.2rem; line-height: 1; opacity: .7; } .ph span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ph-0 { background: var(--butter); } .ph-1 { background: var(--pink); } .ph-2 { background: var(--lilac); } .ph-3 { background: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font: 700 .85rem "DM Sans", sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; }
.chip.on { background: var(--berry); border-color: var(--berry); color: #fff; }
#tags .chip { font-weight: 500; font-size: .8rem; padding: 5px 12px; }
.grid.locked { display: flex; flex-wrap: wrap; justify-content: center; max-width: 520px; margin-inline: auto; gap: 12px; }
.locked .prod { pointer-events: none; user-select: none; width: calc((100% - 24px) / 3); border-radius: 18px; } .locked .prod img { filter: blur(12px); transform: scale(1.25); } .locked .prod .ph { filter: blur(7px); }
.bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(252,247,239,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bar .btn { margin: 0 auto; max-width: 520px; }
dialog { border: 0; border-radius: 28px; padding: 26px 22px; width: min(520px, calc(100vw - 24px)); max-height: 90vh; color: var(--ink); background: var(--cream); }
dialog::backdrop { background: rgba(42,33,48,.5); backdrop-filter: blur(3px); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
td, th { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.stepper { list-style: none; padding: 0; display: flex; gap: 6px; counter-reset: st; margin-bottom: 26px; }
.stepper li { counter-increment: st; flex: 1; font-size: .78rem; font-weight: 700; line-height: 1.25; color: var(--soft); border-top: 4px solid var(--line); padding-top: 8px; }
.stepper li::before { content: counter(st) ". "; }
.stepper li.on { color: var(--berry); border-color: var(--berry); }
.stepper li.done { color: var(--ink); border-color: #9bc59a; } .stepper li.done::before { content: "✓ "; }
.legal { max-width: 680px; } .legal ul { padding-left: 1.2em; display: grid; gap: 8px; } .legal p + p, .legal ul + p { margin-top: 12px; }
.foot { text-align: center; color: #776d7c; font-size: .8rem; margin-top: 44px; } .foot a { color: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; } .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--berry); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
