/* SeoulPick · B2C storefront
   cream / rose-burgundy palette, mobile-first */

@font-face { font-family: "SP Serif"; src: url("fonts/pf-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "SP Sans"; src: url("fonts/latin-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SP Sans"; src: url("fonts/latin-SemiBold.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "SP Sans"; src: url("fonts/latin-Bold.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "SP Myanmar"; src: url("fonts/mm-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SP Myanmar"; src: url("fonts/mm-SemiBold.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "SP Myanmar"; src: url("fonts/mm-Bold.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --cream: #FAF8F5;
  --paper: #FFFFFF;
  --sand: #F2EBE3;
  --blush: #F5E6E6;
  --ink: #1E1A18;
  --ink-2: #4B4340;
  --muted: #8A7C77;
  --rose: #8B263E;
  --rose-2: #A6445A;
  --rose-ink: #6C1C2F;
  --line: #E9E0D7;
  --gold: #B79A67;
  --serif: "SP Serif", "Playfair Display", "Georgia", serif;
  --sans: "SP Sans", "SP Myanmar", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mm: "SP Myanmar", "SP Sans", system-ui, sans-serif;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --sh-1: 0 1px 2px rgba(30, 26, 24, .05), 0 6px 18px -8px rgba(30, 26, 24, .12);
  --sh-2: 0 2px 6px rgba(30, 26, 24, .06), 0 24px 48px -24px rgba(30, 26, 24, .22);
  --ease: cubic-bezier(.2, .7, .25, 1);
  --hdr: 62px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
section[id] { scroll-margin-top: calc(var(--hdr) + 8px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: clip;
}
body[data-lang="mm"] { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.sprite { display: none; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--blush); }

.eyebrow {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin: 0 0 14px;
}
.eyebrow.light { color: #E9C9CF; }

/* ---------------------------------------------------------------- strip */
.strip { background: var(--rose); color: #F7ECEA; }
.strip-in {
  max-width: 1240px; margin: 0 auto; padding: 7px clamp(14px, 4vw, 40px);
  font-size: 11.5px; letter-spacing: .02em; display: flex; align-items: center; gap: 8px;
  justify-content: center; text-align: center;
}
.strip-dot { width: 5px; height: 5px; border-radius: 50%; background: #E9C9CF; flex: none; }

/* ----------------------------------------------------------------- head */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 245, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px rgba(30, 26, 24, .5); }
.hdr-in {
  max-width: 1240px; margin: 0 auto; height: var(--hdr);
  padding: 0 clamp(14px, 4vw, 40px);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%; background: var(--rose); color: #FBEFEA;
  display: grid; place-items: center; font-family: var(--serif); font-size: 17px; line-height: 1;
  padding-bottom: 2px;
}
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--serif); font-size: 15.5px; letter-spacing: .16em; font-weight: 600; }
.brand-word small { font-size: 7.5px; letter-spacing: .42em; color: var(--muted); margin-top: 4px; }
.nav { display: none; gap: 26px; margin-left: 12px; font-size: 13px; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--rose); transition: right .35s var(--ease);
}
.nav a:hover::after { right: 0; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; background: rgba(30, 26, 24, .05); border-radius: 999px; padding: 2px; }
.lang-btn {
  font-size: 11px; padding: 5px 10px; border-radius: 999px; color: var(--muted);
  letter-spacing: .02em; transition: background .25s, color .25s;
}
.lang-btn.is-on { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.bag-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line); background: var(--paper); transition: transform .2s var(--ease), border-color .2s;
}
.bag-btn:hover { border-color: var(--ink); }
.bag-btn:active { transform: scale(.94); }
.bag-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--rose); color: #fff; font-size: 10.5px; font-weight: 600;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.bag-count.on { transform: scale(1); }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -10% -20% auto auto; width: 760px; height: 760px;
  background: radial-gradient(circle at 60% 40%, rgba(139, 38, 62, .11), transparent 62%);
  pointer-events: none;
}
.hero-in {
  max-width: 1240px; margin: 0 auto; padding: clamp(26px, 5vw, 64px) clamp(16px, 4vw, 40px) clamp(30px, 5vw, 56px);
  display: grid; gap: clamp(26px, 4vw, 48px); align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-title {
  margin: 0 0 18px; font-family: var(--mm); font-weight: 700;
  font-size: clamp(30px, 8.4vw, 56px); line-height: 1.28; letter-spacing: -.01em;
}
body[data-lang="en"] .hero-title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.04;
}
.hero-sub { margin: 0 0 26px; color: var(--ink-2); font-size: clamp(13.5px, 3.6vw, 16px); max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad); border-radius: 999px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .01em; border: 1px solid transparent; transition: transform .18s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--rose); color: #FDF3F0; box-shadow: 0 10px 24px -14px rgba(139, 38, 62, .9); }
.btn-solid:hover { background: var(--rose-ink); }
.btn-ghost { border-color: #DCCFC5; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-cream { background: #FBF1EC; color: var(--rose-ink); }
.btn-cream:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-sm { --pad: 10px 16px; font-size: 12.5px; }
.hero-stats {
  list-style: none; display: flex; gap: clamp(18px, 5vw, 38px); padding: 24px 0 0; margin: 26px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 3px; }
.hero-stats b { font-family: var(--serif); font-size: clamp(20px, 5vw, 26px); font-weight: 600; line-height: 1; }
.hero-stats span { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }

.hero-art { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 430px; justify-self: center; }
@media (min-width: 900px) { .hero-art { max-width: 520px; } }
.ha-card {
  position: absolute; margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: 0 26px 50px -30px rgba(60, 30, 35, .55);
  transition: transform .6s var(--ease);
}
.ha-card img { width: 100%; height: 100%; object-fit: cover; }
.ha-1 { width: 46%; left: 4%; top: 8%; transform: rotate(-6deg); z-index: 3; }
.ha-1 img { aspect-ratio: 4 / 5; }
.ha-2 { width: 40%; right: 2%; top: 0; transform: rotate(5deg); z-index: 2; }
.ha-2 img { aspect-ratio: 4 / 5; }
.ha-3 { width: 50%; right: 8%; bottom: 3%; transform: rotate(-2deg); z-index: 1; }
.ha-3 img { aspect-ratio: 4 / 5; }
.hero-art:hover .ha-1 { transform: rotate(-8deg) translateY(-6px); }
.hero-art:hover .ha-2 { transform: rotate(7deg) translateY(-3px); }
.hero-art:hover .ha-3 { transform: rotate(-1deg) translateY(4px); }
.ha-chip {
  position: absolute; left: 0; bottom: 16%; z-index: 5;
  background: var(--paper); border-radius: 999px; padding: 8px 14px 8px 10px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--sh-1);
  border: 1px solid var(--line);
}
.ha-chip span { background: var(--rose); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.ha-chip small { font-size: 10.5px; color: var(--ink-2); letter-spacing: .02em; }
.ha-seal {
  position: absolute; right: 2%; bottom: 0; width: 92px; height: 92px; z-index: 6;
  background: #FBF5F0; border-radius: 50%; box-shadow: var(--sh-1); color: var(--rose);
}
.ha-seal svg { width: 100%; height: 100%; }
.ha-seal text { font-size: 8.2px; letter-spacing: .18em; fill: var(--rose); font-family: var(--sans); font-weight: 600; }
.ha-seal circle { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.ha-seal .seal-tick { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .35); }
.marquee-track {
  display: flex; align-items: center; gap: 26px; padding: 15px 0; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee span { font-size: 12px; letter-spacing: .26em; color: var(--ink-2); font-weight: 500; }
.marquee i { color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- promise */
.promise { background: var(--paper); border-bottom: 1px solid var(--line); }
.promise-in {
  max-width: 1240px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px);
  display: grid; gap: 16px;
}
.pr-item { display: flex; gap: 11px; align-items: flex-start; }
.pr-item .ic { color: var(--rose); width: 19px; height: 19px; margin-top: 2px; }
.pr-item b { display: block; font-size: 12.5px; font-weight: 600; }
.pr-item span { display: block; font-size: 11.5px; color: var(--muted); }

/* ----------------------------------------------------------------- shelf */
.shelf { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px) 0; }
.sec-head { margin-bottom: 22px; }
.sec-head.center { text-align: center; }
.sec-title { margin: 0 0 8px; font-size: clamp(21px, 5.6vw, 30px); font-family: var(--mm); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
body[data-lang="en"] .sec-title { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.sec-sub { margin: 0; color: var(--muted); font-size: 13.5px; }
.tabs-wrap {
  position: sticky; top: var(--hdr); z-index: 30; margin: 0 calc(clamp(16px, 4vw, 40px) * -1);
  padding: 16px clamp(16px, 4vw, 40px);
  background: linear-gradient(var(--cream) 62%, rgba(250, 248, 245, 0));
}
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 9px 15px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .7); color: var(--ink-2);
  transition: background .25s, color .25s, border-color .25s, transform .18s var(--ease);
  white-space: nowrap;
}
.tab:hover { border-color: #CDBFB5; }
.tab:active { transform: scale(.97); }
.tab.is-on { background: var(--rose); border-color: var(--rose); color: #FBEFEA; }
.shelf-meta { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; margin: 8px 0 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.shelf-empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ------------------------------------------------------------------ card */
.card {
  position: relative; background: var(--paper); border-radius: var(--r-m); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: rise .5s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #DFD2C8; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; background: var(--sand); cursor: pointer; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-badge {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  color: var(--rose-ink); font-size: 9px; letter-spacing: .12em; font-weight: 700;
  padding: 4px 7px; border-radius: 5px; text-transform: uppercase;
}
.card-badge.premium { background: var(--rose); color: #FDF3F0; }
.card-off {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--rose); font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 999px; letter-spacing: .02em;
}
.card-body { padding: 11px 11px 12px; display: flex; flex-direction: column; gap: 3px; }
.card-brand { font-size: 9.5px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.card-name {
  font-size: 12.5px; font-weight: 600; line-height: 1.45; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em; cursor: pointer;
}
body[data-lang="mm"] .card-name { line-height: 1.6; min-height: 3.2em; }
.card-spec { font-size: 10.5px; color: var(--muted); }
.card-foot { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.card-price { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.card-price small { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.add-btn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: #fff;
  display: grid; place-items: center; flex: none;
  transition: transform .2s var(--ease), background .25s;
}
.add-btn .ic { width: 16px; height: 16px; stroke-width: 2; }
.add-btn:hover { background: var(--rose-ink); }
.add-btn:active { transform: scale(.9); }
.add-btn.done { background: #2F6B4F; }

/* --------------------------------------------------------------- creator */
.creator { margin-top: clamp(46px, 8vw, 92px); background: var(--rose); color: #FBF1EE; }
.creator-in {
  max-width: 1240px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px);
  display: grid; gap: 30px; align-items: center;
}
.creator-copy h2 { margin: 0 0 12px; font-family: var(--mm); font-weight: 700; font-size: clamp(20px, 5.2vw, 28px); line-height: 1.45; }
body[data-lang="en"] .creator-copy h2 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.creator-copy p { margin: 0 0 20px; color: #EFD3D6; font-size: 13.5px; max-width: 52ch; }
.code-form { display: flex; gap: 8px; max-width: 400px; }
.code-form input {
  flex: 1; min-width: 0; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px; padding: 12px 18px; color: #fff; font-size: 13.5px; letter-spacing: .08em;
  text-transform: uppercase;
}
.code-form input::placeholder { color: rgba(255, 255, 255, .5); text-transform: none; letter-spacing: 0; }
.code-form input:focus { outline: none; border-color: #F3D8D8; background: rgba(255, 255, 255, .18); }
.code-msg { min-height: 20px; margin: 10px 0 0; font-size: 12.5px; color: #F6DDE0; }
.code-msg.ok { color: #C8F0D8; }
.code-msg.err { color: #FFD3CF; }
.code-hint { font-size: 11.5px !important; color: #D9AEB5 !important; margin: 2px 0 0 !important; }
.creator-art { position: relative; min-height: 150px; }
.ca-tag {
  display: inline-flex; align-items: center; gap: 8px; background: #FBF1EE; color: var(--rose-ink);
  border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6);
}
.ca-tag .ic { width: 16px; height: 16px; }
.ca-line { height: 1px; background: rgba(255, 255, 255, .22); margin: 18px 0; }
.ca-price { display: flex; align-items: baseline; gap: 12px; }
.ca-price small { font-size: 10.5px; color: #D9AEB5; letter-spacing: .1em; text-transform: uppercase; }
.ca-price b { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.ca-price span { font-size: 12px; color: #EFD3D6; letter-spacing: .02em; }

/* ------------------------------------------------------------------- how */
.how { max-width: 1240px; margin: 0 auto; padding: clamp(46px, 8vw, 88px) clamp(16px, 4vw, 40px) 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.how-steps li { position: relative; padding: 20px 18px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.hs-n { font-family: var(--serif); font-size: 12px; color: var(--rose); letter-spacing: .16em; }
.how-steps b { display: block; margin: 8px 0 5px; font-size: 14.5px; }
.how-steps p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------- editorial */
.editorial { max-width: 1240px; margin: clamp(46px, 8vw, 92px) auto 0; padding: 0 clamp(16px, 4vw, 40px); }
.ed-in { display: grid; gap: 24px; align-items: center; background: var(--sand); border-radius: var(--r-l); overflow: hidden; }
.ed-fig { margin: 0; order: -1; }
.ed-fig img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.ed-copy { padding: 6px 22px 28px; }
.ed-copy h2 { margin: 0 0 10px; font-family: var(--mm); font-weight: 700; font-size: clamp(19px, 4.8vw, 26px); line-height: 1.45; }
body[data-lang="en"] .ed-copy h2 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.ed-copy p { margin: 0 0 18px; font-size: 13px; color: var(--ink-2); }

/* ------------------------------------------------------------------ foot */
.foot { margin-top: clamp(50px, 8vw, 90px); border-top: 1px solid var(--line); background: var(--paper); }
.foot-in {
  max-width: 1240px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 20px;
  display: grid; gap: 26px;
}
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-brand b { font-family: var(--serif); letter-spacing: .16em; font-size: 14px; }
.foot-brand p { margin: 0; font-size: 12px; color: var(--muted); max-width: 32ch; }
.foot-col { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.foot-col b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.foot-col a:hover { color: var(--rose); }
.foot-base {
  border-top: 1px solid var(--line); padding: 14px clamp(16px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 10.5px; color: var(--muted); max-width: 1240px; margin: 0 auto;
}

/* --------------------------------------------------------------- cartbar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  animation: barIn .35s var(--ease);
}
@keyframes barIn { from { transform: translateY(110%); } }
.cartbar-in {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  background: var(--rose); color: #FDF3F0; border-radius: 999px; padding: 9px 10px 9px 16px;
  box-shadow: 0 18px 40px -18px rgba(108, 28, 47, .8);
  transition: transform .2s var(--ease), background .25s;
}
.cartbar-in:active { transform: scale(.985); }
.cb-count { position: relative; display: grid; place-items: center; }
.cb-count .ic { width: 21px; height: 21px; }
.cb-count b {
  position: absolute; top: -6px; right: -8px; background: #FBF1EE; color: var(--rose-ink);
  font-size: 9.5px; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center;
}
.cb-mid { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.cb-mid b { font-size: 13.5px; }
.cb-mid small { font-size: 10.5px; color: #EBCBCF; }
.cb-go { margin-left: auto; display: flex; align-items: center; gap: 4px; background: #FBF1EE; color: var(--rose-ink); border-radius: 999px; padding: 9px 12px 9px 14px; font-size: 12px; font-weight: 600; }
.cb-go .ic { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- drawer */
.scrim {
  position: fixed; inset: 0; background: rgba(30, 22, 20, .42); z-index: 50;
  backdrop-filter: blur(2px); animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(440px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .42s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .3);
}
.drawer.is-open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.dr-head b { font-size: 15px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s; }
.icon-btn:hover { background: rgba(30, 26, 24, .06); }
.dr-body { flex: 1; overflow-y: auto; padding: 6px 18px 12px; }
.dr-foot { border-top: 1px solid var(--line); padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); }
.dr-empty { text-align: center; color: var(--muted); padding: 60px 10px; font-size: 13px; }
.dr-empty .btn { margin-top: 16px; }

.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci-img { border-radius: 8px; overflow: hidden; background: var(--sand); aspect-ratio: 4/5; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-mid { min-width: 0; }
.ci-brand { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ci-name { font-size: 12.5px; font-weight: 600; line-height: 1.4; margin: 2px 0 3px; }
.ci-spec { font-size: 10.5px; color: var(--muted); }
.ci-price { font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink-2); }
.qty button .ic { width: 12px; height: 12px; stroke-width: 2; }
.qty b { min-width: 20px; text-align: center; font-size: 12px; }
.ci-del { font-size: 10.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ci-del:hover { color: var(--rose); }
.dr-sug { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.dr-sug > p { margin: 0 0 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sg-list { display: grid; gap: 8px; }
.sg { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.sg img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; flex: none; }
.sg-mid { min-width: 0; flex: 1; }
.sg-mid b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-mid span { font-size: 11px; color: var(--muted); }
.sg-add { width: 28px; height: 28px; border-radius: 50%; background: var(--blush); color: var(--rose); display: grid; place-items: center; flex: none; }
.sg-add .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.dr-code { display: flex; gap: 6px; margin-bottom: 4px; }
.dr-msg { font-size: 11.5px; color: #2F6B4F; min-height: 16px; margin: 0 0 8px; }
.dr-msg.err { color: #B3261E; }
.dr-code input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px;
  background: var(--paper); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.dr-code input:focus { outline: none; border-color: var(--rose); }
.dr-code input::placeholder { text-transform: none; letter-spacing: 0; }
.dr-code .btn { --pad: 10px 15px; font-size: 12px; }
.sum { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; color: var(--ink-2); }
.sum-row.disc { color: #2F6B4F; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--ink); }
.sum-row span:last-child { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; }
.modal-scrim { position: absolute; inset: 0; background: rgba(30, 22, 20, .46); backdrop-filter: blur(3px); animation: fade .25s ease; }
.sheet {
  position: relative; background: var(--cream); width: 100%; max-height: 92dvh; overflow-y: auto;
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .35);
  animation: sheetIn .38s var(--ease);
}
@keyframes sheetIn { from { transform: translateY(24px); opacity: .6; } }
.sheet-x { position: absolute; right: 10px; top: 10px; z-index: 3; background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--cream); z-index: 2; }
.sheet-head b { font-size: 14.5px; }

/* product detail */
.p-detail { display: grid; }
.pd-media { background: var(--sand); display: flex; align-items: center; justify-content: center; }
.pd-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 720px) { .pd-media img { aspect-ratio: auto; height: auto; max-height: 72dvh; object-fit: contain; } }
.pd-body { padding: 20px 20px 26px; }
.pd-brand { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pd-name { margin: 6px 0 4px; font-family: var(--mm); font-weight: 700; font-size: clamp(19px, 5vw, 24px); line-height: 1.4; }
body[data-lang="en"] .pd-name { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.pd-spec { font-size: 12px; color: var(--muted); }
.pd-price { margin: 14px 0 2px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pd-price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.pd-code-note { font-size: 11.5px; color: var(--rose); }
.pd-sec { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-sec h4 { margin: 0 0 7px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pd-sec p { margin: 0; font-size: 13px; color: var(--ink-2); }
.pd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pd-tag { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: var(--blush); color: var(--rose-ink); }
.pd-authentic { display: flex; gap: 9px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 18px; }
.pd-authentic .ic { color: var(--rose); width: 17px; height: 17px; margin-top: 1px; }
.pd-authentic b { display: block; font-size: 12px; }
.pd-authentic span { font-size: 11px; color: var(--muted); }
.pd-buy { position: sticky; bottom: 0; background: linear-gradient(rgba(250, 248, 245, 0), var(--cream) 34%); padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; margin: 0 -20px -26px; }
.pd-buy .qty { background: var(--paper); height: 46px; }
.pd-buy .qty button { width: 34px; height: 44px; }
.pd-buy .btn { flex: 1; }

/* checkout */
.co { padding: 16px 18px calc(26px + env(safe-area-inset-bottom)); }
.co-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; margin-bottom: 12px; }
.co-label { margin: 0 0 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fl { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.fl:last-child { margin-bottom: 0; }
.fl > span { font-size: 11.5px; color: var(--ink-2); font-weight: 500; }
.fl input, .fl select, .fl textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: var(--cream);
  font-size: 14px; width: 100%; transition: border-color .2s, background .2s;
}
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--rose); background: #fff; }
.fl textarea { resize: vertical; min-height: 62px; }
.fl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint, .err { font-size: 10.5px; font-style: normal; }
.hint { color: var(--muted); }
.err { color: #B3261E; display: none; }
.err.on { display: block; }
.fl.invalid input, .fl.invalid select, .fl.invalid textarea { border-color: #D08B85; background: #FDF7F6; }
.fl.invalid .hint { display: none; }
.pay { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay:last-of-type { margin-bottom: 0; }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay-body { flex: 1; }
.pay-body b { display: block; font-size: 13px; }
.pay-body small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.pay-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #CDBFB5; flex: none; margin-top: 2px; display: grid; place-items: center; }
.pay.is-on { border-color: var(--rose); background: #FDF7F6; }
.pay.is-on .pay-dot { border-color: var(--rose); }
.pay.is-on .pay-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.code-inline { display: flex; gap: 8px; }
.code-inline input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; background: var(--cream); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.code-inline input::placeholder { text-transform: none; letter-spacing: 0; }
.co-sum { border: 1px dashed var(--line); border-radius: 12px; padding: 14px; margin: 14px 0; }
.co-fine { font-size: 10.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* receipt */
.sheet-r { max-height: 94dvh; }
.rc { padding: 30px 22px calc(26px + env(safe-area-inset-bottom)); }
.rc-mark { width: 52px; height: 52px; border-radius: 50%; background: #E9F2EC; color: #2F6B4F; display: grid; place-items: center; margin: 0 auto 14px; }
.rc-mark .ic { width: 26px; height: 26px; stroke-width: 2; }
.rc h3 { margin: 0 0 6px; text-align: center; font-size: 19px; font-family: var(--mm); }
body[data-lang="en"] .rc h3 { font-family: var(--serif); font-weight: 500; }
.rc .rc-sub { margin: 0 0 20px; text-align: center; font-size: 12px; color: var(--muted); }
.rc-id { text-align: center; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.rc-id b { display: block; font-size: 20px; letter-spacing: .04em; color: var(--ink); margin-top: 4px; font-weight: 700; }
.rc-items { margin: 20px 0 14px; border-top: 1px solid var(--line); }
.rc-item { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rc-item span:first-child { color: var(--ink-2); }
.rc-item span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-meta { display: grid; gap: 6px; font-size: 12px; color: var(--ink-2); margin-bottom: 18px; }
.rc-meta div { display: flex; justify-content: space-between; gap: 12px; }
.rc-meta b { font-weight: 600; }
.rc-actions { display: grid; gap: 8px; }
.rc-actions .btn { width: 100%; }
.rc-note { font-size: 11px; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(98px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px);
  background: var(--ink); color: #FBF6F2; padding: 10px 16px; border-radius: 999px; font-size: 12.5px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); z-index: 100; max-width: 86vw; text-align: center;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .6);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------- desktop */
@media (min-width: 720px) {
  .promise-in { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; }
  .co { padding: 22px 24px 30px; }
  .modal { align-items: center; }
  .sheet { border-radius: 22px; max-height: 90dvh; }
  .sheet-p { max-width: 940px; width: calc(100% - 48px); }
  .sheet-c { max-width: 620px; width: calc(100% - 48px); }
  .sheet-r { max-width: 520px; width: calc(100% - 48px); }
  .p-detail { grid-template-columns: 1.02fr 1fr; align-items: start; }
  .pd-media { position: sticky; top: 0; min-height: 420px; }
  .pd-body { padding: 30px 30px 30px; }
  .pd-buy { margin: 0 -30px -30px; padding: 18px 30px; }
  .cartbar { display: none; }
  .drawer { box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .35); }
}
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.05fr .95fr; }
  .hero-art { aspect-ratio: 1 / .86; }
  .creator-in { grid-template-columns: 1.15fr .85fr; }
  .ed-in { grid-template-columns: 1fr 1fr; }
  .ed-fig { order: 0; }
  .ed-fig img { aspect-ratio: 4 / 3.4; height: 100%; }
  .ed-copy { padding: 10px 44px 10px 8px; }
  .nav { display: flex; }
  .foot-in { grid-template-columns: 1.6fr 1fr 1.2fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
