:root {
  --bg: #fbf5ef;
  --bg-2: #f5e9e1;
  --surface: #ffffff;
  --ink: #2a1a22;
  --muted: #7a6770;
  --line: #eadbd3;
  --rose: #d94f76;
  --rose-deep: #b8395f;
  --rose-ink: #ffffff;
  --blush: #fbe3e9;
  --peach: #ffd9c7;
  --gold: #c08a3e;
  --gold-soft: #f6e7cf;
  --ok: #2f8a5b;
  --danger: #c0392b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(42, 26, 34, .04), 0 10px 30px -12px rgba(120, 50, 70, .18);
  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
@media (min-width: 760px) { body { padding-bottom: 0; } }
a { color: var(--rose-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font: inherit; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(251, 245, 239, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.logo .logo-bag { height: 0.85em; width: auto; margin-right: 6px; align-self: center; transform: translateY(-2px); }
.logo { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 31px; letter-spacing: .07em; color: #a0616a; line-height: 1; display: flex; align-items: center; }
.logo em { color: inherit; font-style: normal; }
.logo .dot { display: none; }
.nav { display: none; gap: 4px; }
.nav a { color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.nav a.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 760px) { .nav { display: flex; margin-left: auto; } }
.lang { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { border: 0; background: transparent; font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; letter-spacing: .04em; }
.lang button.active { background: var(--ink); color: #fff; }

/* ---------- bottom tab bar (phones) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; font-weight: 600; padding: 4px 0; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--rose-deep); }
.tabbar .scan-bubble { width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: #fff; box-shadow: 0 8px 20px -6px rgba(217, 79, 118, .6); border: 4px solid var(--bg); }
.tabbar .scan-bubble svg { stroke: #fff; }
@media (min-width: 760px) { .tabbar { display: none; } }

main { max-width: 1080px; margin: 0 auto; padding: 8px 16px 32px; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
.display em { font-style: italic; color: var(--rose); }
h1.display { font-size: clamp(38px, 10vw, 64px); }
h2.display { font-size: clamp(28px, 6.5vw, 40px); }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--muted); margin: 14px 0 0; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; cursor: pointer; font-size: 16px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 14px 20px; border-radius: 999px; white-space: nowrap; transition: transform .1s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--rose); color: var(--rose-ink); border-color: var(--rose); box-shadow: 0 10px 24px -10px rgba(217, 79, 118, .7); }
.btn.primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.wa { background: #25d366; border-color: #25d366; color: #083d1f; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 20px 0 8px; display: grid; gap: 28px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 40px 0 24px; } }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero .ctas .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .hero .ctas .btn { flex: 0 0 auto; } }
.flag { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.flag i { width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(#fcd116 0 50%, #003893 50% 75%, #ce1126 75%); display: inline-block; }

.hero-art { position: relative; max-width: 440px; width: 100%; margin: 8px auto 0; padding: 0 12px; box-sizing: border-box; }
.hero-art .hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(160, 97, 106, .18); pointer-events: none; user-select: none; }
.float {
  position: absolute; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow);
  padding: 10px; width: 132px; animation: bob 6s ease-in-out infinite;
}
.float .fimg { aspect-ratio: 1; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.float .fimg img { width: 100%; height: 100%; object-fit: contain; }
.float .fname { font-size: 12px; font-weight: 600; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float .fprice { font-size: 12px; color: var(--rose-deep); font-weight: 700; }
.float.f1 { left: -6px; top: 46%; transform: rotate(-6deg); width: 112px; }
.float.f2 { right: -6px; top: 18%; transform: rotate(5deg); animation-delay: -2s; width: 112px; }
.float.f3 { left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-2deg); animation-delay: -4s; white-space: nowrap; }
.float.pill { width: auto; padding: 10px 14px; font-size: 13px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.float.pill b { color: var(--ok); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 28px 0 8px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust > div { display: flex; gap: 12px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.trust svg { width: 36px; height: 36px; flex: 0 0 36px; padding: 7px; border-radius: 10px; background: var(--blush); stroke: var(--rose-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust b { display: block; font-size: 14px; }
.trust span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { margin-top: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-style: italic; font-size: 64px; line-height: 1; color: var(--blush); position: absolute; right: 14px; top: 6px; }
.step h3 { position: relative; margin-top: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; position: relative; }

/* ---------- search + chips ---------- */
.searchbar { position: relative; margin-bottom: 14px; }
.searchbar svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.searchbar input { padding-left: 46px; border-radius: 999px; height: 52px; }
.searchbar .scan-mini { position: absolute; right: 6px; top: 6px; bottom: 6px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 700; padding: 0 16px; font-size: 14px; cursor: pointer; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px; margin: 0 -16px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; display: flex; flex-direction: column; padding: 8px; color: inherit; box-shadow: var(--shadow); transition: transform .15s; }
.card:active { transform: scale(.985); }
.card .img { overflow: hidden; aspect-ratio: 1; background: linear-gradient(180deg, #fff 0%, #fbf1ee 100%); border-radius: 14px; display: grid; place-items: center; padding: 12px; position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card .body { padding: 10px 6px 6px; }
.card .brand { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.card .name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin-top: 2px; }
.price-cop { font-weight: 800; font-size: 17px; margin-top: 8px; letter-spacing: -.01em; }
.price-usd { font-size: 12px; color: var(--muted); }
.noimg { color: var(--muted); font-size: 13px; }

.empty { text-align: center; color: var(--muted); padding: 36px 16px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty .display { color: var(--ink); font-size: 24px; margin-bottom: 6px; }

/* ---------- request banner ---------- */
.ask {
  margin-top: 44px; border-radius: 28px; padding: 28px 22px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, #f08aa5 0%, #d94f76 45%, #9e2f55 100%);
}
.ask::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.12); right: -80px; bottom: -90px; }
.ask .display { font-size: clamp(28px, 7vw, 40px); color: #fff; }
.ask .display em { color: var(--gold-soft); }
.ask p { opacity: .92; margin: 10px 0 20px; max-width: 30em; position: relative; }
.ask .row { position: relative; z-index: 1; }
.ask .btn { background: #fff; color: var(--rose-deep); border-color: #fff; }

footer.foot { margin-top: 48px; padding: 24px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
footer.foot .logo { font-size: 20px; }

/* ---------- forms ---------- */
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--blush); }
textarea { min-height: 88px; resize: vertical; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin: 14px 0 6px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.row { display: flex; gap: 8px; align-items: center; }
.row > * { flex: 1; }
.row .btn { flex: 0 0 auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }

/* ---------- scanner ---------- */
.scan-hero { text-align: center; padding: 12px 0 18px; }
.scanner-wrap { position: relative; border-radius: 26px; overflow: hidden; background: #1c1117; aspect-ratio: 4 / 3; margin-bottom: 12px; box-shadow: var(--shadow); }
.scanner-wrap .reader { width: 100%; height: 100%; }
.scanner-wrap .reader { position: relative; }
.scanner-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanner-wrap .aim { position: absolute; left: 7%; right: 7%; top: 25%; bottom: 25%; border: 3px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 0 0 999px rgba(28,17,23,.35); pointer-events: none; }
.scanner-wrap .aim::after { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px; background: var(--rose); box-shadow: 0 0 12px 2px var(--rose); }
.torch { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; cursor: pointer; }
.torch svg { width: 20px; height: 20px; fill: #fff; }
.torch.on { background: #ffd54a; }
.torch.on svg { fill: #2a1a22; }
.scanner-idle { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; padding: 16px;
  background: radial-gradient(90% 90% at 50% 20%, #4a2335 0%, #1c1117 70%); }
.scanner-idle .frame { width: 64%; max-width: 280px; aspect-ratio: 2 / 1; margin: 0 auto 18px; border-radius: 16px; position: relative;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 3px, transparent 3px 7px, rgba(255,255,255,.85) 7px 8px, transparent 8px 13px); opacity: .35; }
.scanner-idle .frame::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 2px; background: var(--rose); box-shadow: 0 0 16px 2px var(--rose); animation: sweep 2.4s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { top: 10%; } 50% { top: 90%; } }
.scanner-idle p { opacity: .8; font-size: 14px; margin: 12px 0 0; }

.result { display: flex; gap: 14px; align-items: center; }
.result .thumb { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.result .thumb img { width: 100%; height: 100%; object-fit: contain; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e3f4ea; color: var(--ok); }
.tag.warn { background: var(--gold-soft); color: #8a5a17; }

/* ---------- sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 40; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 34, .45); animation: fade .2s; }
.sheet-body {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto;
  background: var(--bg); border-radius: 28px 28px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; animation: up .25s cubic-bezier(.2,.8,.2,1);
}
.sheet-body::before { content: ""; display: block; width: 42px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 14px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet-body .pimg { background: linear-gradient(180deg, #fff, #fbf1ee); border-radius: 22px; display: grid; place-items: center; height: 280px; padding: 16px; margin-bottom: 16px; overflow: hidden; }
.sheet-body .pimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sheet-body .ptitle { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; margin: 4px 0 10px; }
.sheet-body .price-cop { font-size: 28px; margin: 0; }
.perks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.perks li::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8395f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

#toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  opacity: 0; transition: .2s; pointer-events: none; z-index: 60; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 760px) { #toast { bottom: 24px; } }
.spacer { height: 12px; }

/* ---------- admin (kept simple) ---------- */
.admin h1 { font-family: var(--display); font-weight: 500; }
.tabs { display: flex; gap: 6px; margin: 8px 0 16px; overflow-x: auto; }
.tabs button { flex: 0 0 auto; white-space: nowrap; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.markups { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.markups .chip { padding: 6px 12px; font-size: 13px; }
.margin { font-size: 14px; color: var(--muted); margin-top: 8px; }
.margin b { color: var(--ok); }
.margin b.neg { color: var(--danger); }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.item .thumb { width: 56px; height: 56px; flex: 0 0 56px; background: #fff; border-radius: 10px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.item .meta { flex: 1; min-width: 0; }
.item .meta .t { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .meta .s { font-size: 13px; color: var(--muted); }
.item.off { opacity: .55; }

/* photo-of-a-list review */
.list-row .thumb.big { width: 84px; height: 84px; flex: 0 0 84px; cursor: pointer; margin: 0; }
.pick { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; }
.pick-img { flex: 0 0 56px; height: 56px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 3px; cursor: pointer; }
.pick-img img { width: 100%; height: 100%; object-fit: contain; }
.pick-img.on { border-color: var(--rose); }
.post-bar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); z-index: 5; }
@media (min-width: 760px) { .post-bar { bottom: 0; } }
.list-row > div { min-width: 0; }
.list-row input, .list-row select { min-width: 0; }

.scanner-wrap[data-open-scan] { cursor: pointer; }

/* full-screen scanner */
body.scanning { overflow: hidden; }
.scanfs { position: fixed; inset: 0; z-index: 100; background: #000; overflow: hidden; }
.scanfs video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.scanfs-aim { position: absolute; left: 8%; right: 8%; top: 32%; height: 22%; pointer-events: none; }
.scanfs-aim i { position: absolute; width: 34px; height: 34px; border: 4px solid rgba(255,255,255,.95); }
.scanfs-aim i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scanfs-aim i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.scanfs-aim i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.scanfs-aim i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.scanfs.hit .scanfs-aim i { border-color: #4ade80; }
.scanfs-top { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 12px; align-items: center; padding: max(16px, env(safe-area-inset-top)) 18px 0; }
.rb { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rb svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rb.light { background: #fff; color: #111; width: 64px; height: 64px; }
.rb.dark { background: rgba(40,40,40,.7); color: #fff; }
.rb.dark.on { background: #ffd54a; color: #111; }
.scanfs-hint { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: 15px; background: rgba(0,0,0,.45); padding: 8px 14px; border-radius: 999px; max-width: 86%; text-align: center; transition: background .2s; }
.scanfs-hint.flash { background: var(--rose); }
.scanfs-zoom { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom)); display: flex; gap: 14px; padding: 8px; background: rgba(40,40,40,.55); border-radius: 999px; }
.scanfs-zoom button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(20,20,20,.85); color: #fff; display: grid; place-items: center; cursor: pointer; }
.scanfs-zoom svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.scanfs-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 28px calc(28px + env(safe-area-inset-bottom)); }
.shutter { width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 5px; cursor: pointer; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.shutter:active span { background: #ddd; }

.claims { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.claims span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #e3f4ea; color: var(--ok); }
.ingr { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ingr summary { font-weight: 700; cursor: pointer; }
.ingr p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shot-img { aspect-ratio: 3 / 4; border: 2px dashed var(--line); border-radius: 14px; display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; background: #fff; color: var(--muted); font-weight: 700; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- product compare slider ---------- */
.cmp { position: relative; height: min(64vh, 420px); border-radius: 22px; overflow: hidden; margin-bottom: 16px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--bg-2); }
.cmp-photo { position: absolute; inset: 0; background: linear-gradient(180deg, #fff, #fbf1ee); clip-path: inset(0 calc(100% - var(--pos)) 0 0); display: flex; align-items: center; justify-content: center; padding: 18px; }
.cmp-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.cmp-info { position: absolute; inset: 0; background: var(--blush); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 8px; padding: 22px 22px 22px 34%; }
.cmp-top { position: absolute; top: 16px; right: 20px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 500; letter-spacing: .07em; color: #a0616a; display: flex; align-items: flex-end; gap: 4px; }
.cmp-top img { height: 22px; width: auto; }
.cmp-top em { color: inherit; font-style: normal; }
.cmp-brand { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cmp-name { font-family: var(--display); font-size: 20px; line-height: 1.15; color: var(--ink); }
.cmp-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.cmp-chips span { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--rose-deep); }
.cmp-ingr { font-size: 12px; color: var(--muted); line-height: 1.4; }
.cmp-price { font-size: 26px; font-weight: 700; color: var(--ink); }
.cmp-stamp { font-size: 12px; font-weight: 700; color: var(--rose-deep); border: 1.5px solid var(--rose); border-radius: 999px; padding: 5px 11px; }
.cmp-ship { font-size: 12px; color: var(--muted); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 .5px rgba(42,26,34,.12); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(42,26,34,.18); }
.cmp-handle span::before, .cmp-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; translate: 0 -50%; }
.cmp-handle span::before { left: 6px; border-right-color: var(--rose); }
.cmp-handle span::after { right: 6px; border-left-color: var(--rose); }
.cmp-hint { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.85); padding: 5px 11px; border-radius: 999px; pointer-events: none; transition: opacity .3s; }
.cmp.touched .cmp-hint { opacity: 0; }
.cmp.nudge .cmp-photo { transition: clip-path .55s cubic-bezier(.4,0,.2,1); }
.cmp.nudge .cmp-handle { transition: left .55s cubic-bezier(.4,0,.2,1); }

/* ---------- bag ---------- */
.top-right { display: flex; align-items: center; gap: 10px; }
.bag-btn { position: relative; width: 42px; height: 42px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.bag-btn img { width: 36px; height: auto; display: block; transform-origin: 50% 90%; pointer-events: none; }
.bag-mouth { position: absolute; left: 18%; top: 29%; width: 50%; height: 7px; border-radius: 50%; background: #8f3550; box-shadow: inset 0 2px 3px rgba(0,0,0,.35); transform: scaleY(0); transition: transform .22s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
.bag-btn.open .bag-mouth { transform: scaleY(1); }
.bag-btn.open img { transform: scale(1.08, .95); transition: transform .22s; }
.bag-count { position: absolute; top: -2px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; border: 2px solid var(--bg); box-sizing: content-box; line-height: 1; }
.bag-btn.has .bag-count { display: flex; }
.bag-fly { position: fixed; z-index: 80; pointer-events: none; overflow: hidden; background: #fff; border-radius: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(42,26,34,.18); }
.bag-fly img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.bag-list { display: grid; gap: 10px; margin: 6px 0 14px; }
.bag-row { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.bag-thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; background: linear-gradient(180deg, #fff, #fbf1ee); display: grid; place-items: center; overflow: hidden; }
.bag-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.bag-info { flex: 1; min-width: 0; }
.bag-brand { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.bag-name { font-size: 15px; line-height: 1.25; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bag-price { font-weight: 700; font-size: 15px; margin-top: 2px; }
.bag-qty { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 3px; }
.bag-qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface); font-size: 18px; line-height: 1; color: var(--ink); cursor: pointer; }
.bag-qty span { min-width: 16px; text-align: center; font-weight: 700; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.bag-total b { font-size: 24px; }

/* ---------- gifts ---------- */
.gift-band { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; background: var(--blush); border-radius: 28px; padding: 26px 22px; margin: 8px 16px 28px; overflow: hidden; }
.gift-band .display { font-size: clamp(28px, 7vw, 40px); margin: 0 0 10px; }
.gift-band .display em { color: var(--rose); }
.gift-band p { margin: 0 0 16px; color: var(--ink); max-width: 46ch; }
.gift-band-art { position: relative; display: flex; justify-content: center; }
.gift-band-art img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(160,97,106,.18); }
.spark { position: absolute; color: var(--gold); font-size: 22px; animation: twinkle 2.4s ease-in-out infinite; }
.spark.s1 { top: 6%; left: 58%; }
.spark.s2 { bottom: 14%; left: 30%; font-size: 15px; animation-delay: 1.1s; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7); } }
@media (min-width: 760px) { .gift-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 36px 40px; max-width: 1100px; margin-left: auto; margin-right: auto; } .gift-band-art img { max-width: 380px; } }
.gift-hero { position: relative; }
.gift-hero-bag { width: 84px; height: auto; display: block; margin: 0 auto 8px; transform: rotate(-6deg); }
.gift-hero .display em { color: var(--rose); }
.gift-form { max-width: 560px; margin-left: auto; margin-right: auto; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick .chip { font-size: 14px; padding: 8px 14px; }
.pick .chip.active { background: var(--rose); border-color: var(--rose); color: #fff; }
.pick-err { color: #c0392b; font-size: 13px; min-height: 0; margin-top: 4px; }
.pick-err:empty { display: none; }
.gift-you { font-family: var(--display); font-size: 22px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-top: 18px; }
label.check input { width: 20px; height: 20px; accent-color: var(--rose); }
.gift-link { display: block; text-align: center; font-weight: 700; color: var(--rose-deep); background: var(--blush); border-radius: 14px; padding: 12px; margin: 0 0 14px; font-size: 14px; }
@media (max-width: 520px) { .hero-art .float.f1, .hero-art .float.f2 { width: 96px; padding: 8px; } .hero-art .float .fname { font-size: 11px; } }

/* ---------- faq ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; margin-bottom: 10px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--rose); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item h3 { font-size: 16px; font-weight: 700; margin: 0; }
.faq-item p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.seo-fallback { max-width: 720px; margin: 24px auto; padding: 0 16px; }
.seo-fallback h1 { font-family: var(--display); font-weight: 500; font-size: 30px; }
.seo-fallback h3 { font-size: 16px; margin: 18px 0 4px; }

.contact-form { max-width: 560px; margin-left: auto; margin-right: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-link { color: var(--rose-deep); font-weight: 700; }
