/* ==========================================================================
   The Cheeky Bean — storefront styles
   Palette and type follow the approved mockups.
   ========================================================================== */
:root {
  --cream: #FFF8F1;
  --cream-2: #FDF1E8;
  --blush: #FBE4DE;
  --blush-2: #F8D3CB;
  --coral: #F08A80;
  --coral-d: #DE6E64;
  --sage: #86AE7E;
  --sage-d: #6A9462;
  --sage-soft: #E3EEDD;
  --blue: #6E98C0;
  --blue-d: #5A84AD;
  --sky: #DDEBF6;
  --lilac: #ECE2F5;
  --sun: #F6C453;
  --ink: #4A4458;
  --muted: #8C8597;
  --line: #EFE2D9;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 10px 30px -12px rgba(150, 100, 80, .25);
  --f-display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
a:hover { color: var(--coral-d); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.icon { flex-shrink: 0; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .45em; }
.display__a { color: var(--blue); display: block; }
.display__b { color: var(--coral); display: block; }
.display--xl { font-size: clamp(2.6rem, 6.4vw, 4.4rem); }
.display--lg { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
.display--sm { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.display--coral .display__a, .display--coral .display__b { color: var(--coral); }
.display--sage { color: var(--sage); }
.display--blue { color: var(--blue); }
.display--stack .display__b { margin-top: .08em; }
.script { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--sage-d); font-size: .95rem; margin-bottom: .4em; }
.script--blue { color: var(--blue); }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 46ch; margin: 0 auto 1.6em; }
.lead--left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 .95rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--blue); border: 0; border-radius: 999px; padding: 1em 1.8em; cursor: pointer; box-shadow: 0 6px 0 -2px rgba(0,0,0,.08); transition: transform .15s ease, background-color .15s ease; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--coral { background: var(--coral); } .btn--coral:hover { background: var(--coral-d); }
.btn--sage { background: var(--sage); } .btn--sage:hover { background: var(--sage-d); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { color: var(--coral-d); }
.btn--sm { font-size: .78rem; padding: .75em 1.2em; }
.btn--full { width: 100%; }
.btn--icon { padding: .9em; }
.btn--icon.is-on, .pcard__fav.is-on { color: var(--coral); }
.btn--icon.is-on svg, .pcard__fav.is-on svg { fill: currentColor; }
.btn--soldout { background: #d9d2d8; cursor: not-allowed; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.notice-bar { background: var(--sage); color: #fff; text-align: center; font-weight: 700; font-size: .9rem; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 248, 241, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(239, 226, 217, .6); transition: background-color .25s ease, box-shadow .25s ease; }
.is-home .site-header { background: var(--sky); border-bottom-color: transparent; }
.is-home .site-header.is-scrolled { background: rgba(255, 248, 241, .94); box-shadow: 0 6px 20px -14px rgba(90, 60, 50, .35); }
.site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.brand { grid-column: 1; justify-self: start; }
.brand img { width: 150px; height: auto; }
.main-nav { grid-column: 2; display: flex; gap: 34px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.main-nav__account { display: none; }
.header-tools { grid-column: 3; justify-self: end; display: flex; gap: 6px; align-items: center; }
.tool { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.tool:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font: 800 .7rem/19px var(--f-body); text-align: center; }
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .site-header__in { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand img { width: 120px; }
  .header-tools { grid-column: 2; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--cream); padding: 8px 20px 20px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav__account { display: block; }
}

/* ---------- Hero (centred, sky + rolling pink hills, crew on the hills) ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; text-align: center; }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud--1 { width: 150px; height: 44px; top: 30px; left: 2%; }
.cloud--1::before { width: 70px; height: 70px; left: 22px; top: -36px; } .cloud--1::after { width: 50px; height: 50px; left: 76px; top: -22px; }
.cloud--2 { width: 190px; height: 52px; top: 210px; left: 4%; }
.cloud--2::before { width: 86px; height: 86px; left: 36px; top: -46px; } .cloud--2::after { width: 62px; height: 62px; left: 104px; top: -28px; }
.cloud--3 { width: 160px; height: 46px; top: 90px; right: 3%; }
.cloud--3::before { width: 78px; height: 78px; left: 30px; top: -42px; } .cloud--3::after { width: 54px; height: 54px; left: 90px; top: -24px; }
.cloud--4 { width: 120px; height: 34px; top: 300px; right: 14%; opacity: .7; }
.cloud--4::before { width: 54px; height: 54px; left: 22px; top: -28px; } .cloud--4::after { width: 40px; height: 40px; left: 62px; top: -16px; }
.hero__sparkle { position: absolute; width: 34px; top: 120px; left: calc(50% - 430px); transform: rotate(-12deg); }
.hero__dashes { position: absolute; width: 44px; top: 92px; left: calc(50% + 350px); }
.hero__copy { position: relative; z-index: 2; padding: 22px 0 8px; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { width: 300px; height: auto; margin-bottom: -6px; overflow: visible; }
.hero__eyebrow text { font: 600 22px var(--f-display); letter-spacing: .2em; fill: var(--sage-d); }
/* Headline: puffy "balloon sticker" lettering on arcs, built from vector layers (sharp at any resolution) */
.hero__title { width: min(980px, 100%); margin: -4px auto .35em; font-size: 1rem; line-height: 1; }
.hero__arc { display: block; width: 100%; height: auto; overflow: visible; }
.hero__arc text { font-family: var(--f-display); font-weight: 700; font-size: 98px; letter-spacing: 7px; text-rendering: geometricPrecision; }
.hero__arc #hl-2 { font-size: 88px; letter-spacing: 6px; }
.hero__arc .c-blue  { fill: var(--blue-fill);  stroke: var(--blue-line);  stroke-width: var(--line-w); stroke-linejoin: round; stroke-linecap: round; paint-order: stroke; }
.hero__arc .c-coral { fill: var(--coral-fill); stroke: var(--coral-line); stroke-width: var(--line-w); stroke-linejoin: round; stroke-linecap: round; paint-order: stroke; }
.lyr--shadow { --blue-fill: rgba(74, 68, 88, .12); --blue-line: rgba(74, 68, 88, .12); --coral-fill: rgba(74, 68, 88, .12); --coral-line: rgba(74, 68, 88, .12); --line-w: 20px; transform: translateY(14px); }
.lyr--depth  { --blue-fill: #4E78A6; --blue-line: #4E78A6; --coral-fill: #D3645A; --coral-line: #D3645A; --line-w: 16px; transform: translateY(7px); }
.lyr--rim    { --blue-fill: #fff; --blue-line: #fff; --coral-fill: #fff; --coral-line: #fff; --line-w: 16px; }
.lyr--face   { --blue-fill: url(#g-blue); --blue-line: url(#g-blue); --coral-fill: url(#g-coral); --coral-line: url(#g-coral); --line-w: 8px; }
.hero__title .display__a { display: block; }
.hero__line2 { display: block; }
.hero__mid { color: var(--blue); }
.hero__line2 .display__b { display: inline; }
.hero__text { font-size: 1.12rem; max-width: 34ch; margin: 0 auto 1.3em; }
.btn--forest { background: #6F8B68; }
.btn--forest:hover { background: #5E7A58; }
.sticker { position: absolute; z-index: 3; right: max(2%, calc(50% - 640px)); top: 300px; display: flex; align-items: center; gap: 4px; margin: 0;
  font: 700 2.1rem/1 "Caveat", "Comic Sans MS", cursive; color: var(--ink); transform: rotate(-9deg); text-align: left; }
.sticker svg { width: 40px; flex-shrink: 0; }
.sticker span { max-width: 8ch; }
.hero__crew { position: relative; padding-top: 44px; margin-top: -8px; }
.crew.wrap { width: min(1340px, 100% - 20px); }
.hills { position: absolute; inset: 0 0 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath d='M0 150 C160 60 330 50 500 120 C660 186 800 70 990 72 C1160 74 1290 160 1440 100 L1440 420 L0 420Z' fill='%23F6CFC5'/%3E%3Cpath d='M0 236 C220 170 420 196 640 236 C860 276 1060 186 1260 196 C1350 200 1410 214 1440 222 L1440 420 L0 420Z' fill='%23FADDD5'/%3E%3Cpath d='M0 330 C300 300 600 316 900 330 C1140 340 1320 326 1440 318 L1440 420 L0 420Z' fill='%23FDEBE5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.crew { position: relative; z-index: 2; list-style: none; padding: 0; margin-block: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.crew a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); padding-bottom: 18px; }
.crew img { width: 112%; max-width: 270px; margin: 0 -6% -6px; filter: drop-shadow(0 14px 12px rgba(90, 60, 50, .14)); transition: transform .2s ease; }
.crew a:hover img { transform: translateY(-6px) rotate(-2deg); }
.crew strong { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .05em; margin-top: 2px; }
.crew span { font-size: .85rem; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: var(--sage); }

/* ---------- Perks / features ---------- */
.perks { background: var(--cream); border-bottom: 1px solid var(--line); }
.perks__list, .features__list { list-style: none; margin: 0 auto; padding: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.perks__list li, .features__list li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.perks__list li + li { border-left: 1px solid var(--line); }
.perks__icon { color: var(--coral); margin-bottom: 6px; }
.perks__list li:nth-child(2) .perks__icon { color: var(--sage); }
.perks__list li:nth-child(3) .perks__icon { color: var(--blue); }
.perks__list strong, .features__list strong { font-weight: 800; }
.perks__list li > span:last-child, .features__list li > span:last-child { font-size: .88rem; color: var(--muted); }
.features { background: linear-gradient(180deg, #EEF3F8, var(--cream)); }
.features__list { padding: 48px 0; gap: 28px; }
.features__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 10px; color: var(--blue); background: var(--sky); }
.features__icon--2 { color: var(--sage-d); background: var(--sage-soft); }
.features__icon--3 { color: var(--coral-d); background: var(--blush); }
.features__icon--4 { color: var(--coral); background: #FDE9E3; }

/* ---------- Split sections ---------- */
.split, .about { padding: clamp(56px, 8vw, 96px) 0; }
.split__in { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.split__copy p { max-width: 40ch; font-size: 1.08rem; }
.split--adventure { background: var(--blush); }
.split--adventure .split__media { order: -1; }
.split--adventure .split__in { grid-template-columns: 1.05fr 1fr; }
.blob { position: relative; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; padding: 6%; }
.blob img { margin: auto; }
.blob--pink { background: var(--blush-2); }
.blob--sage { background: var(--sage-soft); }
.blob--sky { background: var(--sky); }
.blob--soft { background: var(--blush); }
.float-heart, .float-star { position: absolute; color: var(--coral); top: 6%; right: 8%; }
.float-heart svg { fill: rgba(240, 138, 128, .25); }
.float-star { color: var(--sun); left: 4%; right: auto; }
.float-star svg { fill: rgba(246, 196, 83, .4); }

/* ---------- Characters ---------- */
.characters { padding: clamp(56px, 8vw, 90px) 0; background: radial-gradient(70% 60% at 50% 0%, #F7EBF5 0%, var(--cream) 70%); }
.char-row { list-style: none; padding: 0; margin: 8px 0 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.char-bubble { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.char-bubble__img { display: grid; place-items: center; width: min(150px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--blush); border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: 10px; transition: transform .2s ease; overflow: hidden; }
.char-bubble__img img { width: 88%; }
.char-bubble:hover .char-bubble__img { transform: scale(1.05); }
.char-bubble strong { font-family: var(--f-display); letter-spacing: .05em; }
.char-bubble span { font-size: .85rem; color: var(--muted); }
.char-bubble__bio { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---------- Real spaces ---------- */
.spaces { padding: 0 0 clamp(56px, 8vw, 90px); }
.spaces__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spaces__grid li { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #F3E7DD, #EADBCD); }
.spaces__grid img { width: 100%; height: 100%; object-fit: cover; }
.spaces__grid img[src$=".svg"] { object-fit: contain; padding: 10%; }

/* ---------- Shop ---------- */
.shop { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.shop__tools { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { font: 700 .9rem var(--f-body); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .55em 1.3em; cursor: pointer; }
.chip:hover { border-color: var(--sage); }
.chip.is-on { background: var(--sage); border-color: var(--sage); color: #fff; }
.shop__search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 16px; width: min(380px, 100%); color: var(--muted); }
.shop__search input { border: 0; outline: 0; background: transparent; font: inherit; padding: 12px 0; width: 100%; color: var(--ink); }
.pgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; text-align: center; }
.pgrid > .pcard { flex: 0 1 290px; }
.pgrid--sm > .pcard { flex-basis: 210px; }
.pcard { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 18px 18px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.pcard__img { display: block; width: 100%; border-radius: 28px; background: linear-gradient(170deg, #FBF3EC, #F5E6DB); margin-bottom: 14px; }
.pcard__img img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; transition: transform .25s ease; }
.pcard:hover .pcard__img img { transform: scale(1.04) rotate(-1.5deg); }
.pcard__fav { position: absolute; top: 26px; right: 26px; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; color: var(--muted); cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0,0,0,.15); }
.pcard__fav:hover { color: var(--coral); }
.pcard__name { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__price { font-weight: 800; margin: 2px 0 12px; }
.pcard__price s, .product__price s { color: var(--muted); font-weight: 600; margin-right: 4px; }
.empty-note { color: var(--muted); margin-top: 24px; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--cream) 0%, #FBEFEA 100%); }
.why { margin-top: clamp(56px, 7vw, 84px); }
.why__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why__card { display: flex; flex-direction: column; align-items: center; padding: 34px 22px; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%; background: var(--blush); }
.why__card--2 { background: var(--sage-soft); }
.why__card--3 { background: #FCEFD5; }
.why__icon { color: var(--coral); margin-bottom: 8px; }
.why__card--2 .why__icon { color: var(--sage-d); }
.why__card--3 .why__icon { color: #E3A93A; }
.why__card strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; }
.why__card > span:last-child { font-size: .9rem; color: var(--muted); max-width: 22ch; }
.why__icon svg { width: 52px; height: 52px; }
.quote { position: relative; margin: clamp(56px, 7vw, 84px) 0 0; padding: 70px 20px 40px; background: linear-gradient(180deg, #F6E9DF, #EEDCCF); overflow: hidden; }
.quote__bg { width: min(960px, 100%); margin: 60px auto 0; }
.quote__bubble { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 40px)); margin: 0; background: #fff; border-radius: 40px; padding: 26px 32px; text-align: center; box-shadow: var(--shadow); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.quote__bubble::after { content: ""; position: absolute; bottom: -14px; left: 50%; width: 28px; height: 28px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 4px; }
.quote__bubble p { margin: 0; }
.creator { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; margin-top: clamp(56px, 7vw, 84px); }
.creator__photo { width: 240px; height: 240px; border-radius: 50%; overflow: hidden; background: var(--blush); border: 6px solid #fff; box-shadow: var(--shadow); }
.creator__photo img { width: 100%; height: 100%; object-fit: cover; }
.creator p { max-width: 54ch; }

/* ---------- Contact ---------- */
.contact { padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(60% 50% at 80% 10%, var(--blush) 0%, transparent 70%), var(--cream); }
.contact__top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin: 10px 0 30px; }
.contact__info { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__info li { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); color: var(--ink); }
.contact__info strong { display: block; }
.contact__info span, .contact__info a { font-size: .92rem; color: var(--muted); }
.contact__mascot { position: relative; justify-self: center; }
.contact__mascot img { width: min(280px, 60vw); }
.say-hello { position: absolute; top: -6px; right: -30px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--blush-2); font: 700 1.15rem/1 var(--f-display); text-align: center; transform: rotate(10deg); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); margin-bottom: 24px; }
.panel h2, .panel h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; }
.field { display: block; margin-bottom: 14px; }
.field > span:not(.sr-only) { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #FFFCFA; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); }
.field textarea { resize: vertical; }
.form-msg { min-height: 1.2em; font-weight: 700; }
.form-msg.is-ok { color: var(--sage-d); }
.form-msg.is-err { color: var(--coral-d); }
.faq__group { border-bottom: 1px solid var(--line); }
.faq__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 16px 2px; font: 700 1rem var(--f-body); color: var(--ink); cursor: pointer; text-align: left; }
.faq__toggle .icon { transition: transform .2s ease; color: var(--coral); }
.faq__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__panel { padding: 0 2px 14px; }
.faq__panel h4 { font-size: .98rem; margin: .6em 0 .25em; color: var(--blue-d); }
.faq__panel p { font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #F4E4DA; padding: 56px 0 20px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.site-footer a { display: block; color: var(--ink); text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { color: var(--coral-d); }
.site-footer__brand p { max-width: 34ch; margin-top: 12px; color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.site-footer__base { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(74, 68, 88, .12); color: var(--muted); font-size: .85rem; }
.secure-note { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(74, 68, 88, .35); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); z-index: 100; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .28s ease; box-shadow: -12px 0 40px -10px rgba(0,0,0,.2); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); margin: 0; font-size: 1.5rem; color: var(--blue); }
.drawer__body { flex: 1; overflow-y: auto; padding: 10px 22px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.drawer__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); background: #fff; }
.drawer__row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.drawer__row--muted { color: var(--muted); font-size: .95rem; }
.drawer__row--total { font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.drawer__link { display: block; text-align: center; margin-top: 12px; font-weight: 700; }
.ship-progress { background: var(--sage-soft); color: var(--sage-d); font-weight: 700; font-size: .88rem; border-radius: 12px; padding: 8px 12px; text-align: center; }
.dline { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dline img { width: 70px; height: 70px; object-fit: contain; background: #fff; border-radius: 16px; padding: 4px; }
.dline a { color: var(--ink); font-weight: 800; text-decoration: none; }
.dline small { display: block; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--blush); }
.qty input, .qty span { width: 38px; text-align: center; border: 0; font: 700 1rem var(--f-body); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.dline__right { text-align: right; }
.dline__remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; margin-top: 6px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; z-index: 120; box-shadow: var(--shadow); max-width: calc(100% - 40px); }
.toast.is-err { background: var(--coral-d); }

/* ---------- Inner pages ---------- */
.page-narrow { padding: 48px 0 72px; max-width: 1040px; }
.crumbs { font-size: .88rem; color: var(--muted); margin: 26px 0; }
.crumbs a { color: var(--muted); }
.product { padding-bottom: 40px; }
.product__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product__main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product__thumbs { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }
.thumb { width: 74px; height: 74px; padding: 4px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.thumb.is-on { border-color: var(--coral); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__price { font-size: 1.6rem; font-weight: 800; }
.product__price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0 8px; }
.buy .qty button { width: 44px; height: 44px; }
.stock-low { color: var(--coral-d); font-weight: 700; }
.stock-out { background: var(--blush); padding: 14px 18px; border-radius: 16px; font-weight: 700; }
.product__perks { list-style: none; padding: 18px 0; margin: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 8px; }
.product__perks li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.product__perks .icon { color: var(--sage-d); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.specs dt { font-weight: 800; }
.specs dd { margin: 0; color: var(--muted); }
.shop--related { padding-top: 40px; }

.cart-layout, .checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.cart-lines { list-style: none; margin: 0; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 90px; height: 90px; object-fit: contain; background: var(--cream-2); border-radius: 18px; }
.cart-line__info { display: flex; flex-direction: column; }
.cart-line__qty input { width: 70px; font: inherit; padding: 8px; border: 2px solid var(--line); border-radius: 12px; text-align: center; }
.summary { position: sticky; top: 96px; }
.summary--wide { max-width: 560px; margin: 24px auto; text-align: left; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 14px; }
.mini-lines li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.mini-lines img { width: 54px; height: 54px; object-fit: contain; background: var(--cream-2); border-radius: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.pay-options { display: grid; gap: 10px; margin-bottom: 10px; }
.pay-option { display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; font-weight: 700; }
.pay-option:has(input:checked) { border-color: var(--sage); background: var(--sage-soft); }
.empty { text-align: center; }
.empty img { margin: 0 auto 10px; }
.bank { max-width: 560px; margin: 0 auto 20px; text-align: left; }
.prose-page .prose h2 { font-family: var(--f-display); color: var(--blue); }

.alert { border-radius: 16px; padding: 14px 18px; margin: 0 0 18px; font-weight: 700; }
.alert p { margin: 0; }
.alert--error { background: #FDE3DF; color: #A6443A; }
.alert--success { background: var(--sage-soft); color: #4C7345; }
.alert--info { background: var(--sky); color: #3F6A93; }

.acct-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.acct-nav a, .acct-nav button { font: 700 .92rem var(--f-body); padding: .6em 1.2em; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--ink); text-decoration: none; cursor: pointer; }
.acct-nav a.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.acct-nav form { margin-left: auto; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.badge { display: inline-block; font-size: .75rem; font-weight: 800; padding: .3em .8em; border-radius: 999px; background: var(--sky); color: var(--blue-d); }
.badge--paid, .badge--delivered { background: var(--sage-soft); color: #4C7345; }
.badge--processing, .badge--shipped { background: var(--sky); color: #3F6A93; }
.badge--pending_payment { background: #FCEFD5; color: #9A6B16; }
.badge--cancelled, .badge--refunded { background: #EEE8EC; color: #7C7380; }

/* ---------- Auth (log in / create account) ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 40px 18px 0; background:
  radial-gradient(40% 30% at 0% 0%, var(--sage-soft) 0 60%, transparent 61%),
  radial-gradient(45% 30% at 100% 5%, var(--blush-2) 0 55%, transparent 56%),
  radial-gradient(60% 30% at 100% 100%, var(--sky) 0 55%, transparent 56%),
  var(--cream); }
.auth__card { width: min(440px, 100%); text-align: center; }
.auth__logo img { margin: 0 auto 10px; width: 220px; }
.auth__title { font-family: var(--f-display); font-weight: 700; font-size: 2rem; margin: 0 0 6px; }
.auth__sub { color: var(--muted); max-width: 34ch; margin: 0 auto 22px; }
.auth__form { text-align: left; }
.ifield { display: block; margin-bottom: 16px; }
.ifield__label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.ifield__box { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 0 14px; color: var(--muted); }
.ifield__box:focus-within { border-color: var(--blue); }
.ifield__box input { flex: 1; border: 0; outline: 0; font: inherit; padding: 13px 0; color: var(--ink); background: transparent; min-width: 0; }
.field__eye { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.auth__forgot { display: block; text-align: right; font-size: .85rem; margin: -6px 0 18px; }
.auth__alt { margin-top: 18px; font-size: .95rem; }
.pw-hint { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); margin: -6px 0 18px; }
.pw-hint.is-ok { color: var(--sage-d); }
.auth__crew { margin-top: auto; width: min(760px, 100%); padding-top: 30px; }
.auth .alert { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid, .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 800px) {
  .sticker, .hero__dashes, .hero__sparkle, .cloud--2, .cloud--4 { display: none; }
  .hero__eyebrow { width: 230px; }
  .hero__crew { padding-top: 40px; }
  .crew { grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .crew img { width: 100%; margin: 0; }
  .crew li { scroll-snap-align: center; }
  .perks__list, .features__list { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .perks__list li + li { border-left: 0; }
  .split__in, .split--adventure .split__in, .product__grid, .contact__top { grid-template-columns: 1fr; }
  .split--adventure .split__media { order: 0; }
  .char-row { grid-template-columns: repeat(3, 1fr); }
  .spaces__grid { grid-template-columns: 1fr 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .creator { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .creator p { margin-inline: auto; }
  .quote__bubble { position: relative; top: 0; left: 0; transform: none; margin: 0 auto; }
  .quote__bg { margin-top: 30px; }
  .cart-line { grid-template-columns: 70px 1fr auto; }
  .cart-line img { width: 70px; height: 70px; }
  .cart-line__total { grid-column: 2; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .contact__mascot { display: none; }
  .pgrid { gap: 14px; }
  .pgrid > .pcard { flex-basis: calc(50% - 7px); }
  .pcard { padding: 12px 12px 16px; border-radius: 26px; }
  .pcard__fav { top: 18px; right: 18px; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .char-row { grid-template-columns: repeat(2, 1fr); }
  .site-footer__base { flex-direction: column; }
}
