/* say it cutie ✿ storefront styles */
:root {
  --cream: #fff6e6;
  --paper: #fffdf8;
  --ink: #3a2129;
  --ink-soft: #6e5059;
  --pink: #ff8fc7;
  --pink-soft: #ffd3e8;
  --berry: #ff5d8f;
  --butter: #ffd95e;
  --butter-soft: #fff0b8;
  --mint: #7fe0bb;
  --mint-soft: #d4f6e8;
  --lilac: #b9a1ff;
  --lilac-soft: #e7defe;
  --sky: #8fcbff;
  --sky-soft: #dcefff;
  --cherry: #ff4a5c;
  --r: 22px;
  --line: 3px solid var(--ink);
  --pop: 5px 5px 0 var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);
  --display: 'Bagel Fat One', 'Fredoka', system-ui, sans-serif;
  --ui: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink); font-family: var(--ui);
  font-size: 17px; line-height: 1.45; font-weight: 450;
  background-image: radial-gradient(var(--pink-soft) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--berry); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hand { font-family: var(--hand); font-weight: 700; }

/* ---------- header ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.marquee__track { display: inline-flex; gap: 28px; padding: 7px 0; animation: marquee 28s linear infinite; }
.marquee__track span::after { content: '✿'; margin-left: 28px; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(8px); border-bottom: var(--line); }
.top__in { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo { font-family: var(--display); font-size: 30px; text-decoration: none; letter-spacing: -.01em; line-height: 1; display: inline-flex; align-items: center; gap: 2px; }
.logo b { color: var(--berry); font-weight: 400; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink); }
.logo .heart { color: var(--berry); font-size: 20px; transform: rotate(14deg) translateY(-8px); display: inline-block; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--butter-soft); }
.bagbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--pink); border: var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; box-shadow: var(--pop-sm); transition: transform .12s, box-shadow .12s; }
.bagbtn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.bagbtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bagbtn .count { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 14px; }
.bagbtn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.15) rotate(-4deg); } 60% { transform: scale(.95) rotate(3deg); } }
@media (max-width: 700px) { .nav a:not(.btn):not(.bagbtn) { display: none; } .logo { font-size: 25px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: var(--line); border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; background: var(--butter); box-shadow: var(--pop); transition: transform .12s, box-shadow .12s, background .2s; }
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--pink { background: var(--pink); }
.btn--mint { background: var(--mint); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ghost { background: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--pop-sm); }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: var(--line); overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--pink) 38%, transparent) 50%, transparent 50%),
    linear-gradient(color-mix(in srgb, var(--pink) 38%, transparent) 50%, transparent 50%);
  background-size: 44px 44px; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 64px 0 76px; }
.hero__card { background: var(--paper); border: var(--line); border-radius: 34px; padding: 34px 34px 30px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.2deg); position: relative; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 9vw, 112px); line-height: .88; margin: 0 0 14px; letter-spacing: -.02em; }
.hero h1 .l1 { display: block; font-family: var(--hand); font-size: .5em; line-height: 1; margin-bottom: 4px; transform: rotate(-3deg); transform-origin: left; }
.hero h1 .l2 { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.hero p.lede { font-size: clamp(17px, 2.2vw, 20px); max-width: 30ch; margin: 0 0 22px; color: var(--ink-soft); font-weight: 500; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge { position: absolute; right: -18px; top: -22px; background: var(--butter); border: var(--line); border-radius: 50%; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.05; transform: rotate(12deg); box-shadow: var(--pop-sm); animation: spinny 9s linear infinite; }
@keyframes spinny { 50% { transform: rotate(-8deg) scale(1.05); } }

.chat { display: flex; flex-direction: column; gap: 12px; position: relative; }
.bubble { max-width: 84%; padding: 12px 18px; border: var(--line); border-radius: 24px; font-weight: 600; font-size: 18px; box-shadow: var(--pop-sm); opacity: 0; transform: translateY(10px) scale(.96); animation: pop .5s forwards; background: var(--paper); }
.bubble--them { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble--me { align-self: flex-end; background: var(--sky); border-bottom-right-radius: 6px; }
.bubble--img { padding: 10px; background: var(--paper); }
.bubble--img img { border-radius: 16px; width: 230px; background: var(--pink-soft); }
.bubble small { display: block; font-size: 12px; opacity: .6; font-weight: 500; }
.chat .typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 18px; border: var(--line); border-radius: 24px; background: var(--paper); opacity: 0; animation: pop .4s forwards; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .4; } }
@keyframes pop { to { opacity: 1; transform: none; } }
.sticker { position: absolute; pointer-events: none; filter: drop-shadow(3px 3px 0 rgba(58, 33, 41, .25)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(var(--rot2, 6deg)); } }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; padding: 40px 0 54px; } .hero__badge { width: 86px; height: 86px; font-size: 12px; right: -6px; } .sticker { display: none; } }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: .95; margin: 0; letter-spacing: -.01em; }
.h2 .hand { font-size: .62em; display: block; color: var(--berry); transform: rotate(-2deg); transform-origin: left; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: var(--line); background: var(--paper); border-radius: 999px; padding: 7px 16px; font-weight: 600; cursor: pointer; transition: transform .12s, background .15s; }
.chip:hover { transform: rotate(-2deg) scale(1.04); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.chips--vibes .chip[aria-pressed="true"] { background: var(--lilac); color: var(--ink); box-shadow: var(--pop-sm); }
.filters { display: grid; gap: 12px; margin-bottom: 26px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card { position: relative; background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--pop); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s; }
.card:nth-child(4n+1) { --tint: var(--pink-soft); --tilt: -1.4deg; }
.card:nth-child(4n+2) { --tint: var(--sky-soft); --tilt: 1.2deg; }
.card:nth-child(4n+3) { --tint: var(--butter-soft); --tilt: -1deg; }
.card:nth-child(4n+4) { --tint: var(--mint-soft); --tilt: 1.5deg; }
.card:hover { transform: translateY(-6px) rotate(var(--tilt)); box-shadow: 9px 11px 0 var(--ink); }
.card__img { background: var(--tint, var(--pink-soft)); aspect-ratio: 5 / 6; border-bottom: var(--line); display: grid; place-items: center; position: relative; }
.card__img img { width: 92%; height: auto; transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.04) rotate(-1deg); }
.card__body { padding: 12px 16px 16px; display: grid; gap: 4px; }
.card__title { font-weight: 700; font-size: 18px; line-height: 1.15; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-family: var(--display); font-size: 22px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--butter); border: 2px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; padding: 2px 10px; transform: rotate(-6deg); z-index: 1; }
.tag--soon { background: var(--paper); }
.empty { text-align: center; padding: 40px; font-size: 20px; }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how__item { background: var(--paper); border: var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--pop); }
.how__item:nth-child(1) { background: var(--lilac-soft); transform: rotate(-1deg); }
.how__item:nth-child(2) { background: var(--mint-soft); transform: rotate(.8deg); }
.how__item:nth-child(3) { background: var(--butter-soft); transform: rotate(-.6deg); }
.how__num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--paper); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.how h3 { margin: 8px 0 6px; font-size: 22px; }
.how p { margin: 0; color: var(--ink-soft); }
@media (max-width: 780px) { .how { grid-template-columns: 1fr; } }

.band { background: var(--ink); color: var(--cream); border-block: var(--line); }
.band__in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 40px 0; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.6vw, 50px); line-height: 1; margin: 0; }
.band h2 em { font-style: normal; color: var(--pink); }
.band p { margin: 8px 0 0; opacity: .8; }
@media (max-width: 700px) { .band__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding: 46px 0 60px; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
.foot h4 { margin: 0 0 10px; font-size: 16px; text-transform: lowercase; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline wavy var(--berry); }
.foot small { display: block; margin-top: 26px; color: var(--ink-soft); }
@media (max-width: 700px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__in > :first-child { grid-column: 1 / -1; } }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 40px 0 70px; align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery__main { background: var(--pink-soft); border: var(--line); border-radius: 30px; box-shadow: var(--pop); aspect-ratio: 5 / 6; display: grid; place-items: center; overflow: hidden; transition: background .3s; }
.gallery__main img { width: 90%; height: auto; animation: fadein .35s; }
.gallery__main img.photo { width: 100%; height: 100%; object-fit: cover; }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 88px; border: var(--line); border-radius: 14px; background: var(--paper); padding: 4px; cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { box-shadow: var(--pop-sm); background: var(--butter-soft); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.crumbs { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.pdp h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 58px); line-height: .95; margin: 0 0 8px; }
.pdp .blurb { font-family: var(--hand); font-size: 28px; line-height: 1.1; margin: 0 0 16px; color: var(--berry); }
.pdp .price { font-size: 34px; }
.opt { margin: 22px 0; }
.opt__label { font-weight: 700; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; }
.opt__label span { font-weight: 500; color: var(--ink-soft); }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.colors button { width: 44px; height: 44px; border-radius: 50%; border: var(--line); cursor: pointer; transition: transform .15s; }
.colors button[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--ink); transform: scale(1.05); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 58px; padding: 10px 14px; border: var(--line); border-radius: 14px; background: var(--paper); font-weight: 700; cursor: pointer; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.sizes button small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.qty { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 22px; font-weight: 700; cursor: pointer; }
.qty button:hover { background: var(--butter-soft); }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.buyrow { display: flex; gap: 12px; align-items: center; margin-top: 26px; }
.buyrow .btn { flex: 1; }
.perks { display: grid; gap: 8px; margin: 22px 0 0; padding: 16px 18px; border: 2px dashed var(--ink); border-radius: 18px; background: var(--paper); }
.perks div::before { content: '♡ '; color: var(--berry); font-weight: 700; }
.details { margin-top: 18px; }
.details summary { font-weight: 700; cursor: pointer; padding: 8px 0; }
.alsoin { display: flex; gap: 10px; flex-wrap: wrap; }
.alsoin a { display: flex; align-items: center; gap: 8px; border: var(--line); border-radius: 16px; padding: 6px 12px 6px 6px; text-decoration: none; background: var(--paper); font-weight: 600; }
.alsoin img { width: 44px; height: 52px; object-fit: contain; background: var(--pink-soft); border-radius: 10px; }
.note { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; } .gallery { position: static; } }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(58, 33, 41, .35); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--cream); border-left: var(--line); z-index: 61; transform: translateX(105%); transition: transform .32s cubic-bezier(.3, 1.3, .5, 1); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: var(--line); }
.drawer__head h2 { font-family: var(--display); font-weight: 400; margin: 0; font-size: 30px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: var(--line); background: var(--paper); cursor: pointer; font-size: 20px; font-weight: 700; }
.drawer__items { flex: 1; overflow: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.drawer__foot { border-top: var(--line); padding: 16px 20px 22px; display: grid; gap: 10px; background: var(--paper); }
.line { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: var(--line); border-radius: 18px; padding: 8px; }
.line img { width: 74px; height: 88px; object-fit: contain; background: var(--pink-soft); border-radius: 12px; }
.line__t { font-weight: 700; line-height: 1.15; }
.line__v { font-size: 14px; color: var(--ink-soft); }
.line__q { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.line__q button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); cursor: pointer; font-weight: 700; line-height: 1; }
.line__p { font-weight: 700; align-self: start; padding-top: 6px; }
.sum { display: flex; justify-content: space-between; }
.sum--big { font-family: var(--display); font-size: 24px; }
.shipbar { font-size: 14px; }
.shipbar__track { height: 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; margin-top: 6px; }
.shipbar__fill { height: 100%; background: repeating-linear-gradient(45deg, var(--pink), var(--pink) 8px, var(--berry) 8px, var(--berry) 16px); transition: width .4s; }
.bag-empty { text-align: center; padding: 50px 10px; }
.bag-empty .big { font-family: var(--display); font-size: 34px; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; padding: 34px 0 70px; align-items: start; }
.panel { background: var(--paper); border: var(--line); border-radius: 26px; box-shadow: var(--pop); padding: 26px; }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.panel h2 .n { width: 34px; height: 34px; border-radius: 50%; background: var(--butter); border: var(--line); display: grid; place-items: center; font-size: 18px; font-family: var(--ui); font-weight: 700; }
.panel + .panel { margin-top: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 4px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { font: inherit; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }
.field input:focus { outline: none; box-shadow: 0 0 0 4px var(--pink-soft); border-color: var(--berry); }
.co__summary { position: sticky; top: 90px; }
.co__summary .line { box-shadow: none; }
.co__lines { display: grid; gap: 10px; margin-bottom: 16px; }
.co__totals { display: grid; gap: 6px; border-top: 2px dashed var(--ink); padding-top: 14px; }
.err { background: #ffe1e4; border: 2px solid var(--cherry); border-radius: 14px; padding: 10px 14px; font-weight: 600; display: none; margin-top: 14px; }
.err.show { display: block; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.spin { width: 20px; height: 20px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; display: none; }
.loading .spin { display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co__summary { position: static; order: -1; } }

/* ---------- misc pages ---------- */
.page { padding: 44px 0 70px; max-width: 760px; }
.page h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); margin: 0 0 18px; line-height: .95; }
.page h2 { font-size: 24px; margin: 30px 0 8px; }
.faq details { background: var(--paper); border: var(--line); border-radius: 18px; padding: 14px 18px; margin-bottom: 12px; box-shadow: var(--pop-sm); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 19px; }
.faq p { margin: 10px 0 0; }
.yay { text-align: center; padding: 60px 0 80px; }
.yay h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: .9; margin: 10px 0; }
.yay h1 span { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.yay .panel { max-width: 560px; margin: 26px auto 0; text-align: left; }
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 80; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); border: 3px solid var(--pink); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }
.confetti { position: fixed; top: -20px; z-index: 90; pointer-events: none; font-size: 22px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .bubble, .chat .typing { opacity: 1; transform: none; } }

/* upsell + studio credit */
.upsell{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;margin:14px 0;padding:10px;border:2px dashed #3a2129;border-radius:14px;background:#fff7fb}
.upsell img{width:56px;height:56px;object-fit:cover;border-radius:10px}
.upsell .btn{padding:8px 14px;font-size:14px}
.foot__credit{padding-top:6px;opacity:.8}

/* first-order capture (modal + footer form) */
.fo-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(58,33,41,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.fo-card{position:relative;width:100%;max-width:420px;background:#fff;color:#3a2129;border:3px solid #3a2129;border-radius:22px;box-shadow:6px 6px 0 #3a2129;padding:26px 22px 18px}
.fo-card h2{font-family:'Bagel Fat One',system-ui,sans-serif;font-size:26px;line-height:1.1;margin:4px 0 6px}
.fo-card p{margin:0 0 12px}
.fo-eyebrow{font-family:Caveat,cursive;font-size:22px;color:#ff5d8f;margin:0}
.fo-close{position:absolute;top:8px;right:12px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#3a2129}
.fo-row{display:flex;gap:8px}
.fo-row input[type=email],.fo-foot input[type=email]{flex:1;min-width:0;font:inherit;font-size:16px;padding:12px 14px;border:2px solid #3a2129;border-radius:14px;background:#fff;color:#3a2129}
.fo-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.fo-err{color:#e0334a;font-size:14px;min-height:0;margin:8px 0 0!important}
.fo-fine{display:block;font-size:12px;opacity:.7;margin-top:10px;line-height:1.4}
.fo-fine a{color:inherit;text-decoration:underline}
.fo-code{font-family:'Bagel Fat One',system-ui,sans-serif;font-size:30px;letter-spacing:3px;text-align:center;border:3px dashed #ff5d8f;border-radius:14px;padding:12px;margin:8px 0 12px}
.fo-foot{max-width:480px;margin:0 auto 22px;text-align:center;display:grid;gap:8px}
.fo-foot .fo-msg{font-size:14px}
@media (max-width:640px){
  .fo-backdrop{align-items:flex-end;padding:0}
  .fo-card{max-width:none;border-radius:22px 22px 0 0;border-bottom:0;box-shadow:none;padding-bottom:calc(16px + env(safe-area-inset-bottom));animation:fo-up .25s ease-out}
  .fo-card h2{font-size:22px}
}
@keyframes fo-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.fo-card{animation:none}}
