:root {
  --paper: #f7f1e6; --card: #fffdf8; --ink: #2a2320; --muted: #6b5f57; --line: #e4d8c6;
  --amethyst: #6b4a8c; --amethyst-deep: #4e3468; --rose: #c98a8f; --gold: #a8803f; --ok: #2f6b4f; --bad: #9b2f2f;
  --radius: 14px; --shadow: 0 1px 2px rgba(42,35,32,.06), 0 6px 24px rgba(42,35,32,.07);
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1a1619; --card: #241f23; --ink: #f1e9df; --muted: #b9aca2; --line: #3a3238; --amethyst: #b597d6; --amethyst-deep: #d4c0ea; --rose: #e0a9ad; --gold: #d3ad6a; --ok: #7fc8a2; --bad: #ef9a9a;
    --shadow: 0 1px 2px rgba(0,0,0,.4); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.3rem; }
a { color: var(--amethyst); }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px 48px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; max-width: 1040px; margin: 0 auto; }
.brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand span { color: var(--muted); font-weight: 500; }
.wa { background: #1f7a4a; color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.hero { padding: 40px 0 28px; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.btn { display: inline-block; background: var(--amethyst-deep); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: 600 1rem Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; min-height: 44px; }
@media (prefers-color-scheme: dark) { .btn { color: #1a1619; } }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 24px 0; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 44px; background: var(--paper); }
.chips input { accent-color: var(--amethyst); }
.chips label:has(input:checked) { border-color: var(--amethyst); background: color-mix(in srgb, var(--amethyst) 12%, var(--card)); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.item .tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.item .name { font-weight: 600; }
.price { font-size: 1.25rem; font-weight: 600; color: var(--amethyst-deep); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
.product img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.files { font-size: .92rem; border-collapse: collapse; width: 100%; }
.files td { padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.files td:last-child { white-space: nowrap; color: var(--muted); }
details { margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.sheet { position: fixed; inset: 0; background: rgba(20,14,18,.55); display: flex; align-items: flex-end; justify-content: center; padding: 16px; z-index: 10; }
.sheet[hidden] { display: none; }
.sheet-inner { background: var(--card); border-radius: var(--radius); padding: 22px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; }
@media (min-width: 700px) { .sheet { align-items: center; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .95rem; }
.consent input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: var(--amethyst); }
.email { display: block; margin: 12px 0; font-size: .95rem; }
.email input { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); color: var(--ink); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.error { color: var(--bad); min-height: 1.2em; margin: 6px 0; }
.foot { border-top: 1px solid var(--line); padding: 20px 16px 32px; text-align: center; color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn.ghost { background: transparent; color: var(--amethyst-deep); border: 1px solid var(--amethyst); }
@media (prefers-color-scheme: dark) { .btn.ghost { color: var(--amethyst-deep); } }
.tabs { display: flex; gap: 8px; margin: 14px 0 10px; }
.tab { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 600 .95rem Inter, system-ui, sans-serif; cursor: pointer; min-height: 44px; }
.tab[aria-selected="true"] { border-color: var(--amethyst); background: color-mix(in srgb, var(--amethyst) 14%, var(--card)); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; min-height: 56px; }
.pick[aria-pressed="true"] { border-color: var(--amethyst); background: color-mix(in srgb, var(--amethyst) 14%, var(--card)); }
.pick .nm { font-weight: 600; }
.pick .sub { font-size: .8rem; color: var(--muted); font-style: italic; }
.pick .shop { font-size: .78rem; color: var(--ok); }
.tray { position: sticky; bottom: 0; background: var(--card); border-top: 1px solid var(--line); margin: 14px -22px -22px; padding: 12px 22px; border-radius: 0 0 var(--radius) var(--radius); }
.tray p { margin: 0 0 8px; }
.status-steps { list-style: none; padding: 0; margin: 12px 0; }
.status-steps li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.status-steps li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.status-steps li.done { color: var(--ink); }
.status-steps li.done::before { background: var(--ok); border-color: var(--ok); }
.status-steps li.now { color: var(--ink); font-weight: 600; }
.status-steps li.now::before { border-color: var(--amethyst); background: color-mix(in srgb, var(--amethyst) 40%, transparent); }
#preview { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; margin: 12px 0; }

[hidden] { display: none !important; }
