/* MagicHobiBox — storefront styles */
:root {
  --bg: #FBF8FC;
  --paper: #FFFFFF;
  --satin: #F6E4E3;
  --satin-deep: #EBCFCE;
  --ribbon: #B79BDB;
  --ribbon-deep: #8F6CC0;
  --ribbon-tint: #F1EAFA;
  --plum: #4B2A5F;
  --plum-deep: #34183F;
  --ink: #2A1936;
  --ink-2: #5E4C6C;
  --line: #E8DFEE;
  --gold: #C8963E;
  --kraft: #D3AE87;
  --kraft-deep: #A27A55;
  --ok: #2F7A57;
  --err: #B3261E;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-ui: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Script", cursive;
  --wrap: 1240px;
  --gut: 20px;
  --r-lid: 32px;
  --r-photo: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 440;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0;
  color: var(--plum-deep);
}
h1 { font-size: clamp(2.45rem, 1.55rem + 3.7vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.8rem); }
h3 { font-size: 1.28rem; font-variation-settings: "SOFT" 100, "opsz" 36; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ribbon-deep); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--ribbon-tint); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: not-allowed; }
.link { color: var(--plum); font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--ribbon-deep); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--plum); color: #F4ECF8; font-size: .86rem; text-align: center; }
.topbar p { margin: 0; padding: 8px var(--gut); }
.topbar .more { display: none; }
@media (min-width: 600px) { .topbar .more { display: inline; } }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 252, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.wordmark { font-family: var(--f-ui); font-size: 1.45rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark .wl { font-weight: 300; }
.wordmark .wb { font-weight: 600; }
.wordmark .ti { position: relative; }
.wordmark .ti::after {
  content: ""; position: absolute; left: 50%; top: -0.14em; width: .3em; height: .3em; transform: translateX(-50%);
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0 -10C1.2 -3 3 -1.2 10 0C3 1.2 1.2 3 0 10C-1.2 3 -3 1.2 -10 0C-3 -1.2 -1.2 -3 0 -10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0 -10C1.2 -3 3 -1.2 10 0C3 1.2 1.2 3 0 10C-1.2 3 -3 1.2 -10 0C-3 -1.2 -1.2 -3 0 -10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wordmark .wb .ti::after { width: .34em; height: .34em; top: -0.17em; }
.main-nav { display: none; }
.main-nav a { text-decoration: none; font-weight: 450; color: var(--ink-2); padding: 8px 2px; border-bottom: 1.5px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--ribbon); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--plum); cursor: pointer; }
.icon-btn:hover { background: var(--ribbon-tint); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
@media (min-width: 960px) {
  .main-nav { display: flex; gap: 26px; margin-right: 18px; }
  .menu-btn { display: none; }
  .wordmark { font-size: 1.6rem; }
}
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 22px var(--gut); display: none; flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav a { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: 1.9rem; color: var(--plum-deep); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero: the gift box lid ---------- */
.hero { padding: 14px 0 0; }
.lid {
  position: relative; overflow: hidden; border-radius: var(--r-lid);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .16 0 0 0 0 .37 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 1px 0 rgba(75, 42, 95, .05), 0 30px 60px -40px rgba(75, 42, 95, .35), inset 0 0 0 1px rgba(75, 42, 95, .06);
  padding: 34px 22px 0;
  --rx: calc(100% - 40px);   /* where the vertical ribbon runs */
  --rb: 118px;               /* horizontal ribbon: distance from the lid bottom */
  --rw: 28px;                /* ribbon width */
}
.hero-copy { position: relative; z-index: 3; padding-right: 46px; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy .lead { font-size: 1.06rem; color: var(--ink-2); max-width: 46ch; margin: 18px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photos { position: relative; z-index: 2; height: 330px; margin-top: 30px; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 8px 8px 32px; border-radius: 5px; box-shadow: 0 18px 40px -18px rgba(52, 24, 63, .45), 0 2px 6px rgba(52, 24, 63, .08); }
.polaroid img { width: 100%; height: auto; object-fit: cover; border-radius: 2px; background: var(--satin); }
.polaroid figcaption { position: absolute; left: 12px; right: 12px; bottom: 5px; font-family: var(--f-hand); font-size: 1.15rem; color: var(--ink-2); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid.p1 { width: 64%; left: -1%; top: 34px; transform: rotate(-4deg); }
.polaroid.p1 img { aspect-ratio: 760 / 700; }
.polaroid.p2 { width: 44%; right: 7%; top: 0; transform: rotate(5deg); }
.polaroid.p2 img { aspect-ratio: 3 / 4; }
.ribbon { position: absolute; z-index: 4; pointer-events: none; }
.ribbon-v { top: 0; bottom: 0; left: var(--rx); width: var(--rw); transform: translateX(-50%);
  background: linear-gradient(90deg, #9f82cb 0%, #c7b1e8 30%, #b195da 55%, #9a7cc8 80%, #b59bdc 100%);
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, .25), inset -2px 0 0 rgba(66, 34, 96, .12); }
.ribbon-h { left: 0; right: 0; height: var(--rw); bottom: var(--rb);
  background: linear-gradient(180deg, #9f82cb 0%, #c7b1e8 30%, #b195da 55%, #9a7cc8 80%, #b59bdc 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(66, 34, 96, .12); }
.bow { position: absolute; z-index: 5; width: 112px; height: 112px; left: var(--rx); bottom: calc(var(--rb) + var(--rw) / 2); transform: translate(-50%, 50%); pointer-events: none; overflow: visible; filter: drop-shadow(0 6px 8px rgba(66, 34, 96, .25)); }
.tag-wrap { position: absolute; z-index: 3; left: var(--rx); bottom: calc(var(--rb) + var(--rw) / 2); width: 0; height: 0; pointer-events: none; }
.tag { position: absolute; top: -4px; right: 30px; width: 104px; transform-origin: 70% 0; transform: rotate(7deg); }
.tag-card { position: relative; background: linear-gradient(160deg, #dcb995, var(--kraft) 60%, #c79f77); color: #4a2f22; border-radius: 4px 10px 10px 4px; padding: 22px 10px 11px 22px; box-shadow: 0 10px 18px -10px rgba(74, 47, 34, .6);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.tag-card::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.tag-card b { display: block; font-family: var(--f-hand); font-weight: 700; font-size: 1.55rem; line-height: .9; }
.tag-card small { display: block; font-size: .6rem; letter-spacing: .08em; opacity: .75; margin-top: 4px; }
.hero-strip { position: relative; z-index: 3; height: var(--rb); display: flex; align-items: center; }
.hero-note { font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink-2); max-width: 48%; line-height: 1.15; margin: 0; }
@media (min-width: 760px) {
  .lid { padding: 56px 48px 0; --rx: 63%; --rb: 150px; --rw: 42px; }
  .hero-copy { padding-right: 0; max-width: calc(63% - 70px); padding-bottom: calc(var(--rw) + 56px); }
  .hero-photos { position: absolute; z-index: 2; left: calc(63% + 6px); right: 0; top: 0; bottom: 150px; height: auto; margin: 0; }
  .polaroid.p1 { width: 72%; left: -5%; top: 32%; }
  .polaroid.p1 figcaption { text-align: right; }
  .polaroid.p2 { width: 50%; right: 3%; top: 7%; }
  .bow { width: 164px; height: 164px; }
  .tag { width: 124px; top: -6px; right: auto; left: 30px; transform-origin: 30% 0; transform: rotate(-7deg); }
  .tag-card b { font-size: 1.8rem; }
  .hero-note { max-width: 52%; font-size: 1.5rem; }
}
@media (min-width: 1100px) {
  .lid { padding: 76px 72px 0; }
  .hero-copy { padding-top: 6px; }
  .hero-copy .lead { font-size: 1.15rem; }
  .polaroid.p1 { width: 68%; top: 30%; }
}
/* the one orchestrated moment: the ribbon wraps, the bow ties, the tag swings */
@media (prefers-reduced-motion: no-preference) {
  .lid.animate .ribbon-v { animation: wrapV .9s var(--ease) both; }
  .lid.animate .ribbon-h { animation: wrapH .9s var(--ease) .12s both; }
  .lid.animate .bow { animation: tie .7s cubic-bezier(.3, 1.6, .5, 1) .75s both; }
  .lid.animate .tag { animation: swing 2.2s cubic-bezier(.3, .8, .3, 1) 1.1s both; }
  .lid.animate .tag-wrap .tag { --r0: 7deg; }
  @media (min-width: 760px) { .lid.animate .tag-wrap .tag { --r0: -7deg; } }
}
@keyframes wrapV { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wrapH { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tie { from { opacity: 0; transform: translate(-50%, 50%) scale(.4) rotate(-12deg); } to { opacity: 1; transform: translate(-50%, 50%) scale(1) rotate(0); } }
@keyframes swing {
  0% { opacity: 0; transform: rotate(calc(var(--r0) + 26deg)); }
  12% { opacity: 1; }
  35% { transform: rotate(calc(var(--r0) - 9deg)); }
  58% { transform: rotate(calc(var(--r0) + 5deg)); }
  78% { transform: rotate(calc(var(--r0) - 2deg)); }
  100% { opacity: 1; transform: rotate(var(--r0)); }
}

/* ---------- promises row ---------- */
.promises { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.promises li { display: flex; gap: 14px; align-items: flex-start; }
.promises svg { flex: none; width: 34px; height: 34px; color: var(--ribbon-deep); }
.promises b { display: block; font-weight: 600; color: var(--plum-deep); }
.promises span { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-head p { color: var(--ink-2); margin: 10px 0 0; max-width: 52ch; }
.section-head .link { white-space: nowrap; }
@media (min-width: 760px) { .section { padding: 88px 0; } .section-head { margin-bottom: 34px; } }
.chain { height: 16px; margin: 0 auto; max-width: var(--wrap); opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='16'%3E%3Cellipse cx='13' cy='8' rx='12' ry='4.6' fill='none' stroke='%23B79BDB' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x left center / 20px 16px; }
.band-satin { background: var(--satin); }
.band-plum { background: var(--plum); color: #F5EEF9; }
.band-plum h2 { color: #fff; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat { text-decoration: none; display: block; }
.cat-img { aspect-ratio: 4 / 5; border-radius: var(--r-photo); overflow: hidden; background: var(--satin); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.04); }
.cat h3 { margin-top: 12px; font-size: 1.12rem; }
.cat span { color: var(--ink-2); font-size: .9rem; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 24px; } .cat h3 { font-size: 1.3rem; } }

/* ---------- product grid + card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 26px; } }
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-photo); overflow: hidden; background: var(--satin); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.card-media img.alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img.alt.ready { opacity: 1; } .card:hover .card-media img.main { transform: scale(1.02); } }
.ribbon-badge { position: absolute; left: 0; top: 14px; z-index: 2; background: var(--ribbon); color: #2c1640; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 5px 18px 5px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); }
.card-body { padding-top: 12px; }
.card-title { font-family: var(--f-ui); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--ink); margin: 0; letter-spacing: 0; font-variation-settings: normal; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--plum-deep); }
.swatches { position: relative; z-index: 2; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--plum); }
.swatch-more { font-size: .78rem; color: var(--ink-2); }
.opt-count { font-size: .85rem; color: var(--ink-2); }
.skeleton .card-media { animation: pulse 1.4s ease-in-out infinite; }
.skeleton .bar { height: 12px; border-radius: 6px; background: var(--satin); margin-top: 12px; width: 80%; animation: pulse 1.4s ease-in-out infinite; }
.skeleton .bar.s { width: 40%; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .skeleton .card-media, .skeleton .bar { animation: none; } }
.state { padding: 40px 0; text-align: center; color: var(--ink-2); }
.state h3 { margin-bottom: 8px; }

/* ---------- gift note ---------- */
.giftnote { display: grid; gap: 34px; align-items: center; }
.giftnote h2 { max-width: 14ch; }
.giftnote .lead { color: var(--ink-2); max-width: 46ch; margin: 16px 0 22px; }
.note-field label { display: block; font-weight: 500; margin-bottom: 8px; }
.note-field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 13px 16px; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.note-field input:focus, .field textarea:focus { border-color: var(--ribbon-deep); box-shadow: 0 0 0 4px var(--ribbon-tint); }
.note-stage { position: relative; display: grid; place-items: center; min-height: 340px; border-radius: 26px; background: linear-gradient(160deg, #fff, var(--satin) 140%); overflow: hidden; }
.note-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 34px; margin-top: -17px; background: linear-gradient(180deg, #9f82cb 0%, #c7b1e8 30%, #b195da 55%, #9a7cc8 80%, #b59bdc 100%); opacity: .9; }
.big-tag { position: relative; width: min(330px, 82%); transform: rotate(-5deg); filter: drop-shadow(0 16px 22px rgba(74, 47, 34, .28)); }
.big-tag .tag-card { padding: 26px 22px 24px 46px; clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 50%); border-radius: 6px 16px 16px 6px; min-height: 170px; display: flex; flex-direction: column; justify-content: center; }
.big-tag .tag-card::before { left: 18px; width: 12px; height: 12px; margin-top: -6px; }
.big-tag .for { font-size: .75rem; letter-spacing: .12em; opacity: .7; margin-bottom: 6px; }
.big-tag .msg { font-family: var(--f-hand); font-size: 2rem; line-height: 1.05; font-weight: 600; word-break: break-word; }
.big-tag .sig { font-family: var(--f-hand); font-size: 1.2rem; opacity: .8; margin-top: 10px; }
@media (min-width: 860px) { .giftnote { grid-template-columns: 1fr 1.05fr; gap: 64px; } .note-stage { min-height: 420px; } }

/* ---------- story teaser ---------- */
.story { display: grid; gap: 30px; align-items: center; }
.story-photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; align-items: end; }
.story-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-photo); background: var(--satin-deep); }
.story-photos img:nth-child(2) { aspect-ratio: 4 / 5; margin-bottom: 38px; }
.story p { color: var(--ink-2); max-width: 52ch; }
.story h2 { margin-bottom: 18px; max-width: 16ch; }
@media (min-width: 860px) { .story { grid-template-columns: 1fr 1fr; gap: 70px; } }

/* ---------- steps (a real sequence) ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 24px 22px 22px 74px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ribbon-tint); color: var(--plum); font-weight: 600; border: 1.5px dashed var(--ribbon); }
.steps b { display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 36; font-weight: 500; font-size: 1.2rem; color: var(--plum-deep); margin-bottom: 4px; }
.steps span { color: var(--ink-2); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- instagram ---------- */
.insta { display: grid; gap: 22px; align-items: center; }
.insta p { color: #E6D9EE; max-width: 44ch; }
.insta-accounts { display: grid; gap: 12px; }
.insta-acc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .14); transition: background .2s; }
.insta-acc:hover { background: rgba(255, 255, 255, .14); }
.insta-acc svg { width: 26px; height: 26px; flex: none; }
.insta-acc b { font-weight: 600; }
.insta-acc span { display: block; font-size: .88rem; color: #D9C9E4; }
.insta-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-strip img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; background: rgba(255, 255, 255, .1); }
@media (min-width: 860px) { .insta { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.06rem; color: var(--plum-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ribbon-deep); border-bottom: 2px solid var(--ribbon-deep); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding: 0 40px 18px 0; margin: 0; }

/* ---------- page head (shop) ---------- */
.page-head { padding: 40px 0 10px; }
.page-head p { color: var(--ink-2); max-width: 56ch; margin: 12px 0 0; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 0 26px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--ribbon); color: var(--plum); }
.chip[aria-current="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.sort select { border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); padding: 8px 34px 8px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234B2A5F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.count { color: var(--ink-2); font-size: .92rem; }
@media (min-width: 760px) { .chips { margin: 0; padding: 2px; flex-wrap: wrap; overflow: visible; } }

/* ---------- product page ---------- */
.crumbs { font-size: .88rem; color: var(--ink-2); padding: 22px 0 14px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
.pdp > * { min-width: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.gallery { position: relative; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--satin); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--satin); opacity: .7; transition: opacity .2s; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--plum); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--plum); }
@media (min-width: 900px) {
  .dots { display: none; }
  .gallery { position: sticky; top: 92px; }
  .gallery-main figure { max-height: calc(100vh - 124px); }
  /* desktop: thumbnails run down the left edge, as tall as the photo */
  .gallery.has-thumbs { padding-left: 82px; }
  .gallery.has-thumbs .thumbs { position: absolute; left: 0; top: 0; bottom: 0; width: 72px; flex-direction: column; margin: 0; padding: 4px; overflow-x: hidden; overflow-y: auto; }
}
.info .ribbon-badge { position: static; display: inline-block; margin-bottom: 14px; }
.info h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); }
.info .price { font-size: 1.45rem; margin: 14px 0 18px; display: block; }
.desc { color: var(--ink-2); }
.desc p { margin: 0 0 .8em; }
.opt { margin: 24px 0 0; padding: 0; border: 0; }
.opt legend { font-weight: 500; margin-bottom: 12px; padding: 0; }
.opt legend span { color: var(--ink-2); font-weight: 400; }
.opt-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-swatch { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: box-shadow .15s; }
.opt-swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--bg), 0 0 0 5px var(--plum); }
.opt-pill { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: .95rem; }
.opt-pill:hover { border-color: var(--ribbon); }
.opt-pill[aria-checked="true"] { border-color: var(--plum); background: var(--plum); color: #fff; }
.opt-choices [data-out="true"] { opacity: .35; text-decoration: line-through; }
.field { margin-top: 24px; }
.field label { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 8px; gap: 10px; }
.field label small { color: var(--ink-2); font-weight: 400; }
.field textarea { min-height: 92px; resize: vertical; font-family: var(--f-ui); }
.note-preview { margin-top: 12px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .9rem; }
.mini-tag { flex: none; width: 150px; transform: rotate(-4deg); }
.mini-tag .tag-card { padding: 10px 10px 10px 24px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); min-height: 66px; display: flex; align-items: center; }
.mini-tag .msg { font-family: var(--f-hand); font-weight: 600; font-size: 1.12rem; line-height: 1.05; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.buy { display: flex; gap: 12px; margin-top: 26px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; cursor: pointer; font-size: 1.25rem; color: var(--plum); border-radius: 999px; }
.qty input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn { flex: 1; }
.form-msg { margin-top: 12px; font-size: .92rem; min-height: 1.4em; }
.form-msg.err { color: var(--err); }
.mini-promises { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.mini-promises li { display: flex; gap: 10px; align-items: center; }
.mini-promises svg { width: 20px; height: 20px; color: var(--ribbon-deep); flex: none; }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative; font-weight: 500; color: var(--plum-deep); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 300; color: var(--ribbon-deep); }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { color: var(--ink-2); padding-bottom: 14px; }
.acc .acc-body p { margin: 0 0 .6em; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .p { font-weight: 600; color: var(--plum-deep); }
.sticky-buy small { display: block; color: var(--ink-2); font-size: .78rem; font-weight: 400; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { margin-left: auto; min-height: 46px; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- story page ---------- */
.story-hero { display: grid; gap: 30px; padding-top: 40px; padding-bottom: 20px; align-items: center; }
.story-hero img { border-radius: var(--r-lid); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--satin); }
.story-hero p { color: var(--ink-2); max-width: 50ch; font-size: 1.06rem; }
.story-hero h1 { margin-bottom: 20px; max-width: 12ch; }
@media (min-width: 860px) { .story-hero { grid-template-columns: 1.1fr .9fr; gap: 70px; padding-top: 60px; } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 14px; max-width: 640px; }
.contact-card p { color: var(--ink-2); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-deep); color: #E6D9EE; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-grid { display: grid; gap: 34px; padding-top: 56px; padding-bottom: 30px; }
.foot-brand .brand { color: #fff; }
.foot-brand .wordmark .ti::after { background: #E2B866; }
.foot-brand p { margin-top: 16px; max-width: 34ch; color: #D8C8E3; }
.foot-col h3 { font-family: var(--f-ui); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 12px; letter-spacing: .01em; font-variation-settings: normal; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 26px; font-size: .86rem; color: #CBB8D8; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(42, 25, 54, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px -30px rgba(42, 25, 54, .5); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.free-ship { display: flex; gap: 10px; align-items: center; background: var(--ribbon-tint); color: var(--plum); border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin: 12px 0 4px; }
.free-ship svg { width: 22px; height: 22px; flex: none; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img, .line .ph { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--satin); }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line-name { font-weight: 500; line-height: 1.3; text-decoration: none; }
.line-price { font-weight: 600; color: var(--plum-deep); white-space: nowrap; }
.line-desc { font-size: .85rem; color: var(--ink-2); margin: 4px 0 8px; }
.line-desc div { overflow-wrap: anywhere; }
.line-actions { display: flex; align-items: center; justify-content: space-between; }
.line .qty button { width: 34px; height: 34px; font-size: 1.05rem; }
.line .qty span { min-width: 22px; text-align: center; font-weight: 600; }
.line-remove { border: 0; background: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .85rem; }
.line-warn { color: var(--err); font-size: .82rem; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.totals b { font-size: 1.25rem; color: var(--plum-deep); }
.totals-note { font-size: .82rem; color: var(--ink-2); margin: 0 0 14px; }
.empty { text-align: center; padding: 48px 10px; }
.empty svg { width: 90px; height: 90px; margin: 0 auto 14px; }
.empty p { color: var(--ink-2); }
.busy { opacity: .55; pointer-events: none; }

/* ---------- toast / banner ---------- */
.banner { background: var(--ribbon-tint); color: var(--plum-deep); }
.banner .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.banner p { margin: 0; }
.banner button { border: 0; background: none; cursor: pointer; color: var(--plum); font-size: 1.4rem; line-height: 1; }

/* ---------- not found ---------- */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding-top: 48px; padding-bottom: 48px; }
.lost-logo { color: var(--plum); width: 76px; }
.lost-logo svg { width: 100%; height: auto; display: block; }
.lost h1 { margin: 6px 0 0; }
.lost p { color: var(--ink-2); max-width: 40ch; margin: 0; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }