/* YIPPEEZ storefront — brand book v6: Coiny (main) + PT Serif (supporting); Baby Blue 40 · Candy Pink 25 · Sunshine 15 · White 15 · Chocolate 5. */
@font-face { font-family: 'Coiny'; src: url(/fonts/coiny.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url(/fonts/ptserif-regular.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url(/fonts/ptserif-bold.woff) format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url(/fonts/ptserif-italic.woff) format('woff'); font-style: italic; font-display: swap; }

:root {
  --blue: #A4D8F8; --pink: #F878A8; --yellow: #FFD218; --white: #FFFFFF; --choc: #581808;
  --bluet: #DCF0FD; --pinkt: #FDDDEA; --yellowt: #FFF1B8;
  --display: 'Coiny', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --serif: 'PT Serif', 'Charis SIL', Georgia, serif;
  --radius: 26px; --radius-sm: 16px;
  --shadow: 0 10px 24px -10px rgba(88, 24, 8, .28), 0 2px 0 rgba(88, 24, 8, .06);
  --shadow-lg: 0 24px 50px -18px rgba(88, 24, 8, .35);
  --line: 2px solid var(--choc);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--serif); color: var(--choc); background: var(--blue); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 .8em; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 99px; }
:focus-visible { outline: 3px solid var(--choc); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.boot { min-height: 100vh; display: grid; place-items: center; } .boot img { animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top drip + header ---------- */
.drip-top { position: absolute; inset: 0 0 auto 0; height: 74px; background: url(/img/drip-edge.png) top center / auto 100% repeat-x; pointer-events: none; z-index: 30; filter: drop-shadow(0 4px 4px rgba(88,24,8,.18)); }
.promo { position: relative; z-index: 31; background: var(--choc); color: #fff; text-align: center; font-size: 14px; padding: 6px 12px; font-weight: 700; }
.site-head { position: relative; z-index: 40; padding-top: 22px; }
.site-head .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.brand { display: block; width: 116px; height: 116px; margin-top: 4px; filter: drop-shadow(0 6px 10px rgba(88,24,8,.25)); transition: transform .3s; }
.brand:hover { transform: rotate(-4deg) scale(1.03); }
.brand img { width: 100%; height: 100%; }
.nav { justify-self: center; display: flex; gap: 6px; align-items: center; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); border-radius: 99px; padding: 6px; margin-top: 30px; }
.nav a, .nav button.navlink { text-decoration: none; padding: 9px 18px; border-radius: 99px; font-size: 16px; white-space: nowrap; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover, .nav button.navlink:hover { background: var(--pinkt); }
.nav a[aria-current="page"] { background: var(--pink); font-weight: 700; box-shadow: inset 0 0 0 2px var(--choc); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; background: #fff; border: var(--line); border-radius: 20px; padding: 8px; min-width: 210px; box-shadow: var(--shadow-lg); display: none; }
.dd.open .dd-menu { display: grid; }
.dd-menu a { border-radius: 12px; padding: 10px 14px; }
.tools { justify-self: end; display: flex; gap: 4px; align-items: center; background: rgba(255,255,255,.55); border-radius: 99px; padding: 6px; margin-top: 30px; }
.icon-btn { width: 44px; height: 44px; border-radius: 99px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--pinkt); }
.icon-btn svg { width: 24px; height: 24px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--pink); border: 2px solid var(--choc); font: 700 12px/16px var(--serif); text-align: center; }
.badge.bump { animation: bump .5s; } @keyframes bump { 40% { transform: scale(1.4); } }
.menu-btn { display: none; }

/* ---------- buttons & bits ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; padding: 14px 28px; font: 700 18px/1.1 var(--serif); text-decoration: none; border: var(--line); background: var(--pink); cursor: pointer; box-shadow: 0 4px 0 var(--choc); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--choc); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.btn.soft { background: var(--pinkt); }
.btn.white { background: #fff; }
.btn.small { padding: 9px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--choc); }
.btn.block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 0 2px 0 var(--choc); }
.btn svg { width: 20px; height: 20px; }
.eyebrow { font: 700 13px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; border: 1.5px solid var(--choc); background: #fff; font: 700 13px/1.2 var(--serif); }
.chip.pink { background: var(--pinkt); } .chip.yellow { background: var(--yellowt); } .chip.blue { background: var(--bluet); }
.deco { position: absolute; pointer-events: none; }
.deco.spark { width: 48px; animation: twinkle 3s ease-in-out infinite; }
.deco.heart { width: 54px; animation: floaty 4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.82) rotate(12deg); opacity: .8; } }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(6deg); } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: 70px 0; position: relative; }
.section-head { margin-bottom: 30px; position: relative; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 54px); display: inline-flex; align-items: center; gap: 10px; }
.section-head h2 img { width: 36px; }
.section-head p { font-size: 18px; margin-top: 8px; }
.price { font: 700 18px/1 var(--serif); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 30px 0 0; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 20px; min-height: 520px; padding-bottom: 46px; }
.hero h1 { font-size: clamp(52px, 7.2vw, 96px); line-height: .98; position: relative; }
.hero-copy { position: relative; padding: 20px 0 40px; z-index: 2; }
.hero-copy p { font-size: 20px; max-width: 470px; margin: 22px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
  background: repeating-linear-gradient(0deg, rgba(248,120,168,.55) 0 22px, transparent 22px 44px), repeating-linear-gradient(90deg, rgba(248,120,168,.55) 0 22px, transparent 22px 44px), #fff; box-shadow: 0 20px 30px -15px rgba(88,24,8,.3); }
.label-real { position: absolute; z-index: 5; font: 700 12px/1 var(--serif); background: #fff; border: 1.5px solid var(--choc); border-radius: 99px; padding: 5px 10px; }
.features { position: relative; margin-top: -20px; z-index: 3; }
.features-band { background: var(--pinkt); position: relative; padding: 34px 0 30px; }
.features-band::before { content: ''; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C120 6 240 0 360 10s240 26 360 22 240-26 360-26 240 14 360 22v12z' fill='%23FDDDEA'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 6px 20px; }
.feature + .feature { border-left: 2px solid rgba(88,24,8,.25); }
.feature svg { width: 48px; height: 48px; flex: none; }
.feature h3 { font-size: 22px; } .feature p { margin: 2px 0 0; font-size: 15px; }

/* ---------- product cards ---------- */
.range { background: var(--blue); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard { padding: 14px 14px 20px; display: flex; flex-direction: column; transition: transform .25s; }
.pcard:hover { transform: translateY(-6px) rotate(-.4deg); }
.pcard .ph { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3.2; background: var(--yellowt); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard h3 { font-size: 28px; margin: 16px 6px 4px; }
.pcard p { margin: 0 6px 10px; font-size: 15.5px; }
.pcard .row { margin: auto 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard .unavail { color: var(--choc); font-weight: 700; font-size: 14px; }

/* ---------- builder teaser / how / quote ---------- */
.teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.teaser .pan-wrap { transform: rotate(-2deg); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.how .card { padding: 26px; position: relative; }
.how .card::before { counter-increment: s; content: counter(s); font: 400 28px/50px var(--display); width: 52px; height: 52px; text-align: center; border-radius: 99px; background: var(--yellow); border: var(--line); display: block; margin-bottom: 12px; }
.how h3 { font-size: 26px; margin-bottom: 6px; }
.quote { text-align: center; padding: 70px 0 80px; background: var(--yellow); position: relative; }
.quote p { font: 400 clamp(34px, 5vw, 64px)/1.05 var(--display); margin: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--choc); color: #fff; padding: 56px 0 30px; position: relative; margin-top: 0; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font: 400 20px/1 var(--display); margin: 0 0 14px; color: var(--yellow); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; } .foot-grid a:hover { text-decoration: underline; }
.foot-logo { width: 96px; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 36px; padding-top: 18px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- page shell ---------- */
.page { padding: 34px 0 80px; min-height: 60vh; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 64px); display: inline-flex; gap: 12px; align-items: center; }
.page-head h1 img { width: 42px; }
.page-head p { font-size: 18px; margin: 8px 0 0; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin: 30px 0 10px; }
.prose h3 { font: 700 19px/1.3 var(--serif); margin: 18px 0 6px; }
.prose .todo { background: var(--yellowt); border: 1.5px dashed var(--choc); border-radius: 10px; padding: 10px 14px; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product .gallery { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: #fff; aspect-ratio: 4/4.6; }
.product .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-size: clamp(44px, 5.4vw, 70px); }
.product .tag { font-style: italic; font-size: 20px; margin: 10px 0 14px; }
.product .details { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 22px; }
.buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: var(--line); border-radius: 99px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.qty button:hover { background: var(--pinkt); }
.qty input { width: 46px; text-align: center; border: 0; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Big Yippee builder ---------- */
.builder { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; }
.bcol { padding: 22px; }
.bcol + .bcol { border-left: 2px solid var(--bluet); }
.step-title { display: flex; align-items: center; gap: 10px; font: 700 17px/1.2 var(--serif); margin: 0 0 14px; }
.step-title .n { width: 30px; height: 30px; border-radius: 99px; background: var(--pink); border: 2px solid var(--choc); display: grid; place-items: center; font: 400 15px/1 var(--display); flex: none; }
.step-title small { font-weight: 400; font-size: 13px; margin-left: auto; }
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.version { position: relative; border: 2px solid var(--bluet); border-radius: 18px; padding: 8px 8px 10px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, transform .15s, background .15s; }
.version:hover { transform: translateY(-2px); border-color: var(--pink); }
.version input { position: absolute; opacity: 0; }
.version .mini { border-radius: 10px; overflow: hidden; }
.version .mini svg { width: 100%; display: block; }
.version b { display: block; font: 400 15px/1.05 var(--display); margin-top: 8px; }
.version span { font-size: 13px; font-weight: 700; }
.version::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 99px; border: 2px solid var(--choc); background: #fff; }
.version.is-on { border-color: var(--pink); background: var(--pinkt); box-shadow: 0 0 0 2px var(--pink); }
.version.is-on::after { background: var(--pink); box-shadow: inset 0 0 0 3px #fff; }
.version.is-off { opacity: .45; pointer-events: none; }
.vdesc { background: var(--bluet); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; margin: -10px 0 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 700; font-size: 15px; }
.input, .select, textarea.input { width: 100%; padding: 13px 16px; border-radius: 16px; border: 2px solid rgba(88,24,8,.35); background: var(--bluet); outline: none; transition: border-color .15s, background .15s; }
.input:focus, .select:focus { border-color: var(--choc); background: #fff; }
.field .hint { display: flex; justify-content: space-between; font-size: 13px; }
.field .err, .err-msg { color: #B1004E; font-size: 13.5px; font-weight: 700; min-height: 0; }
.field.has-err .input { border-color: #B1004E; background: #FFF4F8; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; border: 2px solid var(--bluet); background: #fff; cursor: pointer; font-size: 14px; font-weight: 700; }
.swatch .dot { width: 26px; height: 26px; border-radius: 99px; border: 2px solid var(--choc); }
.swatch.is-on { border-color: var(--pink); background: var(--pinkt); box-shadow: 0 0 0 2px var(--pink); }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch .tbc { font-weight: 400; font-size: 11px; opacity: .8; }
.swatch.is-dis { opacity: .45; cursor: not-allowed; }
.spr-count { font-size: 13.5px; font-weight: 700; margin: 10px 0 0; }
.preview-col { background: var(--bluet); display: flex; flex-direction: column; }
.pan-stage { position: relative; }
.pan-stage svg { width: 100%; display: block; filter: drop-shadow(0 18px 18px rgba(88,24,8,.18)); }
.ypz-piece.is-clickable { cursor: pointer; }
.ypz-piece.is-clickable:hover path:first-child { filter: brightness(1.15); }
.ypz-piece:focus { outline: none; } .ypz-piece:focus-visible > path:first-child { stroke: var(--choc); stroke-width: 6; }
.pan-note { font-size: 13px; font-style: italic; text-align: center; margin: 10px 4px 0; }
.piece-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 14px; }
.piece-btn { display: flex; gap: 8px; align-items: center; text-align: left; border: 2px solid transparent; background: #fff; border-radius: 12px; padding: 6px 8px; cursor: pointer; font-size: 13px; line-height: 1.2; }
.piece-btn b { width: 24px; height: 24px; flex: none; border-radius: 99px; border: 2px solid var(--choc); display: grid; place-items: center; font: 700 12px/1 var(--serif); background: #fff; }
.piece-btn.is-on { border-color: var(--pink); background: var(--pinkt); } .piece-btn.is-on b { background: var(--pink); }
.piece-btn.words { grid-column: 1 / -1; background: var(--yellowt); cursor: default; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { position: relative; border: 2px solid var(--bluet); border-radius: 16px; background: #fff; padding: 8px; cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; font-size: 13.5px; font-weight: 700; line-height: 1.15; }
.tile:hover { transform: translateY(-2px); border-color: var(--pink); }
.tile svg { width: 100%; display: block; border-radius: 10px; margin-bottom: 6px; }
.tile .box { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--choc); background: #fff; display: grid; place-items: center; }
.tile.is-on { border-color: var(--pink); background: var(--pinkt); box-shadow: 0 0 0 2px var(--pink); }
.tile.is-on .box { background: var(--pink); }
.tile.is-on .box::after { content: ''; width: 9px; height: 5px; border-left: 3px solid var(--choc); border-bottom: 3px solid var(--choc); transform: rotate(-45deg) translate(1px, -1px); }
.tile.none { display: grid; place-items: center; min-height: 100px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--yellowt); border-radius: 14px; padding: 10px 12px; margin: 14px 0 10px; font-weight: 700; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #fff; border: 2px solid var(--choc); transition: background .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 99px; background: var(--choc); transition: transform .2s; }
.switch input:checked + span { background: var(--pink); } .switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--choc); outline-offset: 2px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.linkish { background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; font-weight: 700; font-size: 14px; }
.builder-foot { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-top: 2px solid var(--bluet); background: #fff; flex-wrap: wrap; }
.builder-foot .summary { flex: 1; min-width: 220px; font-size: 14.5px; }
.builder-foot .btn { min-width: 300px; }
.og-note { background: var(--yellowt); border-radius: 16px; padding: 16px; font-size: 15px; }

/* ---------- cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 20px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 2px dashed var(--bluet); align-items: start; }
.cart-item:last-child { border-bottom: 0; }
.cart-item .thumb { border-radius: 16px; overflow: hidden; background: var(--bluet); aspect-ratio: 1; }
.cart-item .thumb img, .cart-item .thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item h3 { font-size: 22px; }
.cart-item .meta { font-size: 14px; margin: 4px 0 8px; }
.cart-item .actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.custom-list { margin: 6px 0 10px; padding: 10px 12px; background: var(--bluet); border-radius: 12px; font-size: 13.5px; display: grid; gap: 3px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.sum-row.total { border-top: 2px solid var(--choc); margin-top: 8px; padding-top: 12px; font: 400 26px/1 var(--display); }
.empty { text-align: center; padding: 50px 20px; }
.empty h1, .empty h2 { margin-bottom: 14px; line-height: 1.1; }
.empty img { width: 120px; margin: 0 auto 16px; }
.co-step { margin-bottom: 22px; }
.co-step h2 { font-size: 28px; display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.co-step h2 .n { width: 38px; height: 38px; border-radius: 99px; background: var(--yellow); border: var(--line); display: grid; place-items: center; font-size: 18px; flex: none; }
.options { display: grid; gap: 12px; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 2px solid var(--bluet); border-radius: 18px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--pink); }
.opt input { position: absolute; opacity: 0; }
.opt .radio { width: 24px; height: 24px; border-radius: 99px; border: 2px solid var(--choc); margin-top: 2px; background: #fff; }
.opt.is-on { border-color: var(--pink); background: var(--pinkt); box-shadow: 0 0 0 2px var(--pink); }
.opt.is-on .radio { background: var(--pink); box-shadow: inset 0 0 0 4px #fff; }
.opt b { font-size: 17px; display: block; }
.opt small { display: block; font-size: 14px; margin-top: 3px; }
.opt .note { margin-top: 8px; background: var(--yellowt); border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 700; }
.opt input:focus-visible ~ .radio { outline: 3px solid var(--choc); outline-offset: 2px; }
.cal { user-select: none; max-width: 520px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font: 400 22px/1 var(--display); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 4px; }
.day { aspect-ratio: 1.15; border-radius: 14px; border: 2px solid transparent; display: grid; place-items: center; font-weight: 700; font-size: 16px; position: relative; background: transparent; padding: 0; }
.day.available { background: #fff; border-color: var(--choc); cursor: pointer; }
.day.available:hover { background: var(--pinkt); }
.day.sold_out { background: var(--pinkt); text-decoration: line-through; color: rgba(88,24,8,.6); cursor: not-allowed; }
.day.sold_out::after { content: 'Sold out'; position: absolute; bottom: 3px; font-size: 9px; text-decoration: none; letter-spacing: .02em; }
.day.unavailable { color: rgba(88,24,8,.35); cursor: not-allowed; }
.day.is-on { background: var(--pink); box-shadow: 0 0 0 3px var(--choc); }
.day.blank { visibility: hidden; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-top: 12px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; border: 2px solid var(--choc); }
.times { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.time { padding: 10px 18px; border-radius: 99px; border: 2px solid var(--choc); background: #fff; font-weight: 700; cursor: pointer; }
.time:hover { background: var(--pinkt); }
.time.is-on { background: var(--pink); box-shadow: 0 3px 0 var(--choc); }
.time[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; background: var(--pinkt); }
.pay-box { border-radius: 18px; padding: 16px 18px; background: var(--bluet); }
.pay-box h3 { font-size: 22px; margin-bottom: 6px; }
.pay-details { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0; font-size: 15px; }
.pay-details dt { font-weight: 700; } .pay-details dd { margin: 0; word-break: break-word; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--pink); margin-top: 2px; flex: none; }
.alert { border-radius: 16px; padding: 14px 16px; background: var(--yellowt); border: 2px solid var(--choc); font-weight: 700; margin-bottom: 14px; }
.alert.err { background: #FFE3EE; }

/* order page */
.thanks { text-align: center; margin-bottom: 26px; }
.thanks h1 { font-size: clamp(44px, 6vw, 76px); }
.order-no { font: 400 26px/1 var(--display); background: #fff; display: inline-block; padding: 10px 20px; border-radius: 99px; border: var(--line); margin-top: 12px; }
.status-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.order-preview { max-width: 420px; }

/* search overlay & toast & modal */
.overlay { position: fixed; inset: 0; background: rgba(88,24,8,.45); z-index: 80; display: grid; place-items: start center; padding: 90px 16px 16px; }
.overlay .panel { width: min(600px, 100%); }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; }
.search-results a:hover { background: var(--pinkt); }
.search-results img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 90; background: var(--choc); color: #fff; padding: 14px 22px; border-radius: 99px; font-weight: 700; box-shadow: var(--shadow-lg); animation: up .3s; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.toast a { color: var(--yellow); }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.mobile-nav { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .builder { grid-template-columns: 1fr 1fr; }
  .builder .preview-col { grid-column: 1 / -1; order: -1; border-left: 0; }
  .builder .bcol.left { border-left: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-head .wrap { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .tools { margin-top: 16px; }
  .brand { width: 92px; height: 92px; }
  .mobile-nav.open { display: grid; position: absolute; left: 16px; right: 16px; top: 120px; background: #fff; border: var(--line); border-radius: 24px; padding: 10px; gap: 4px; box-shadow: var(--shadow-lg); z-index: 60; }
  .mobile-nav a { padding: 13px 16px; border-radius: 14px; text-decoration: none; font-weight: 700; }
  .mobile-nav a[aria-current="page"] { background: var(--pink); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-bottom: 0; text-align: left; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { justify-content: flex-start; } .feature + .feature { border-left: 0; border-top: 2px solid rgba(88,24,8,.15); padding-top: 14px; }
  .cards3, .how { grid-template-columns: 1fr; }
  .cards3 { max-width: 460px; margin: 0 auto; }
  .teaser, .product, .two-col { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 700px) {
  .builder { grid-template-columns: 1fr; border-radius: 24px; }
  .bcol + .bcol { border-left: 0; border-top: 2px solid var(--bluet); }
  .builder .preview-col { position: sticky; top: 0; z-index: 20; padding: 10px 12px; box-shadow: 0 8px 14px -10px rgba(88,24,8,.4); }
  .builder .preview-col .step-title, .builder .preview-col .pan-note { display: none; }
  .builder .preview-col .pan-stage { max-width: 330px; margin: 0 auto; }
  .builder .preview-col .piece-list { display: none; }
  .builder-foot .btn { min-width: 0; width: 100%; }
  .versions { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .version b { font-size: 12.5px; } .version span { font-size: 11.5px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 6px; } .tile { font-size: 11.5px; padding: 5px; }
  .hero h1 { font-size: 52px; }
  .cart-item { grid-template-columns: 84px 1fr; } .cart-item .line-total { grid-column: 2; }
  .grid2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .section { padding: 50px 0; }
  .wrap { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- v2.1: new hero, letter, email list, InstaPay, Our Story ---------- */
.letter-band { background: var(--bluet); }
.letter { position: relative; max-width: 820px; margin: 0 auto; background: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-lg); border: 2px dashed var(--pink); }
.letter p { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.letter .sign { font: 400 26px/1 var(--display); margin: 18px 0 0; }
.letter-inline .letter { margin: 0; }
.signup-band { background: var(--yellow); padding: 54px 0; }
.signup-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.signup-wrap h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.signup-wrap p { font-size: 18px; margin: 0; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-row .input { flex: 1; min-width: 200px; background: #fff; }
.small-check { font-weight: 400; font-size: 13.5px; margin-top: 10px; } .small-check input { width: 18px; height: 18px; }
.site-foot .signup { margin-top: 14px; } .site-foot .signup .input { padding: 10px 14px; } .site-foot .err-msg { color: var(--yellow); }
.signup-done { font-weight: 700; font-size: 17px; margin: 0; }
.ip-grid { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 10px 0 14px; }
.ip-qr { margin: 0; background: #fff; border-radius: 16px; padding: 10px; border: 2px solid var(--choc); text-align: center; font-size: 12px; }
.ip-qr img { width: 160px; height: 160px; object-fit: contain; }
.ig-btn { background: var(--pink); }
.picked { margin-top: 16px; font: 400 22px/1.2 var(--display); }
.story-banner { border-radius: 30px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); margin-bottom: 34px; }
.story-banner img { width: 100%; height: auto; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .signup-wrap, .story-grid { grid-template-columns: 1fr; } }


/* ---------- Homepage hero: floating brownie bites ---------- */
.float-stage { position: relative; height: 560px; --mx: 0; --my: 0; --k: 1; }
.float-stage .glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.glow-pink { width: 74%; aspect-ratio: 1; left: 16%; top: 8%; background: radial-gradient(closest-side, rgba(248,120,168,.38), rgba(248,120,168,.12) 55%, transparent 72%); }
.glow-yellow { width: 38%; aspect-ratio: 1; right: -4%; top: 52%; background: radial-gradient(closest-side, rgba(255,210,24,.42), rgba(255,210,24,.1) 60%, transparent 75%); }
.bite { position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * var(--k) * 1px); z-index: var(--z);
  transform: translate3d(calc(var(--mx) * var(--d) * -30px), calc(var(--my) * var(--d) * -22px), 0);
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.bite .fl { animation: bite-float var(--t) ease-in-out var(--dl) infinite alternate; will-change: transform; }
.bite img { width: 100%; height: auto; display: block; filter: drop-shadow(0 calc(var(--d) * 26px) calc(var(--d) * 18px + 4px) rgba(88, 24, 8, calc(.14 + var(--d) * .2)));
  animation: bite-in .9s cubic-bezier(.2, .8, .25, 1.15) backwards; animation-delay: calc(var(--d) * -.4s + .45s); }
.bite.far img { filter: blur(1.6px) saturate(.9) drop-shadow(0 8px 8px rgba(88, 24, 8, .12)); opacity: .9; }
.bite img[style*="scaleX(-1)"] { animation-name: bite-in-flip; }
@keyframes bite-float {
  from { transform: translate3d(0, calc(var(--a) * -1px), 0) rotate(var(--r0)); }
  to { transform: translate3d(calc(var(--dx) * 1px), calc(var(--a) * 1px), 0) rotate(var(--r1)); }
}
@keyframes bite-in { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.85); } }
@keyframes bite-in-flip { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(-.85, .85); } to { transform: scaleX(-1); } }
@media (max-width: 1100px) { .float-stage { height: 480px; --k: .82; } }
@media (max-width: 900px) { .float-stage { height: 420px; max-width: 620px; width: 100%; margin: 0 auto; --k: .78; } }
@media (max-width: 700px) { .float-stage { height: 330px; --k: .6; } .bite[data-sm="0"] { display: none; } }
@media (prefers-reduced-motion: reduce) { .bite, .bite .fl, .bite img { animation: none !important; transition: none !important; } .bite { transform: none; } }

/* promo code (checkout) */
.promo-box { margin: 12px 0 4px; padding-top: 12px; border-top: 2px dashed var(--bluet); }
.promo-box .label { display: block; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-on { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.promo-msg { font-size: 13.5px; font-weight: 700; margin-top: 6px; min-height: 0; }
.promo-msg.ok { color: #1f7a3c; }
.promo-msg.err { color: #B1004E; }
.promo-line b { color: #1f7a3c; }
