:root {
  --bg: #fdf7fa;           /* blush white */
  --card: #ffffff;
  --ink: #3e3448;          /* soft plum-grey, readable on every pastel */
  --muted: #887c90;
  --line: #f1e3ec;
  --pink: #f8c8d8;         /* buttons */
  --pink-dark: #f2b0c6;
  --rose: #c25f86;         /* accent text */
  --lavender: #e7defa;
  --mint: #d8f1e5;
  --peach: #ffe2d1;
  --sky: #dbeefc;
  --butter: #fff2c4;
  --accent: var(--rose);
  --accent-soft: #fde9f1;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) radial-gradient(circle at 0% 0%, #fde3ee 0, transparent 38%) no-repeat, radial-gradient(circle at 100% 12%, #e9e1fb 0, transparent 34%) no-repeat; background-attachment: fixed; color: var(--ink); font: 15px/1.55 var(--sans); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253, 247, 250, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-size: 22px; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--accent); font-style: italic; font-weight: 500; }
.bag-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--lavender); }
.bag-link b { background: var(--pink); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }

/* hero */
.hero { padding: 42px 0 18px; text-align: center; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); letter-spacing: -.02em; }
.hero h1 em { color: var(--accent); font-weight: 500; }
.hero p { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.perk { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--pink); }
.perk:nth-child(2) { background: var(--mint); }
.perk:nth-child(3) { background: var(--sky); }
.perk:nth-child(4) { background: var(--peach); }

/* filters */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 8px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; white-space: nowrap; }
.chip.on { background: var(--lavender); color: var(--ink); border-color: #d6c9f4; font-weight: 600; }
.filters .sep { flex: none; width: 1px; background: var(--line); margin: 4px 4px; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 12px 0 48px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(194, 95, 134, .05); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(194, 95, 134, .14); }
.card .pic { aspect-ratio: 4 / 5; background: var(--line); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .info { padding: 10px 12px 12px; }
.card .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 2px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.card.gone .pic img { filter: grayscale(.7) opacity(.6); }
.tag { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lavender); color: var(--ink); }
.tag.hold { background: var(--butter); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* item page */
.item { display: grid; gap: 28px; padding: 24px 0 56px; }
@media (min-width: 820px) { .item { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.gallery .main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--pink-dark); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item h1 { font-size: clamp(28px, 5vw, 38px); }
.item .price { font-size: 26px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.back { display: inline-block; margin-top: 18px; color: var(--muted); }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font: 600 15px var(--sans); background: var(--pink); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--pink-dark); }
.btn.full { width: 100%; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--lavender); }
.btn.wa { background: #bff0cf; color: #1e5b34; }
.btn.wa:hover { background: #a6e8bc; }
.btn[disabled] { background: #ece6ee; color: var(--muted); cursor: not-allowed; }
.linkbtn { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
label { display: block; font-weight: 500; margin: 14px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: 15px var(--sans); background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 3px solid var(--accent-soft); border-color: var(--pink-dark); }
textarea { min-height: 84px; resize: vertical; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.error { background: #fde4e8; color: #8f2945; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.ok { background: var(--mint); color: #2f5a44; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }

/* bag + checkout */
.page { padding: 28px 0 56px; max-width: 760px; }
.page h1 { font-size: 34px; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines img { width: 64px; height: 80px; border-radius: 10px; object-fit: cover; flex: none; }
.lines .grow { flex: 1; min-width: 0; }
.totals { margin: 16px 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-family: var(--serif); font-size: 22px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; margin: 0; font-weight: 400; }
.option:has(input:checked) { border-color: var(--pink-dark); background: var(--accent-soft); }
.option input { margin-top: 4px; accent-color: var(--rose); }
.option .grow { flex: 1; }
.option b { font-weight: 600; }
.checkout { display: grid; gap: 24px; }
@media (min-width: 820px) { .checkout { grid-template-columns: 1.3fr 1fr; align-items: start; max-width: none; } .page.wide { max-width: none; } }

/* order page */
.bank { display: grid; gap: 8px; }
.bank div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: #faf5fd; border-radius: 10px; }
.bank span { color: var(--muted); }
.bank b { font-weight: 600; text-align: right; }
.copy { font-size: 12px; border: 0; background: var(--lavender); color: var(--ink); border-radius: 999px; padding: 3px 9px; cursor: pointer; margin-left: 6px; }
.ref { font-family: var(--serif); font-size: 28px; color: var(--accent); }
.steps { padding-left: 20px; }
.steps li { margin: 6px 0; }

footer.foot { background: linear-gradient(90deg, var(--accent-soft), var(--lavender), var(--mint)); border-top: 0; padding: 26px 0 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer.foot .logo { font-size: 18px; }
