:root {
  --plum: #3B1F4A;
  --plum-soft: #6d5679;
  --pink: #FF4F96;
  --pink-soft: #FFD3E6;
  --teal: #17B6A7;
  --teal-soft: #C8F1EC;
  --sun: #FFC83D;
  --sun-soft: #FFEDB8;
  --orange: #FF8A3D;
  --orange-soft: #FFDCC4;
  --cream: #FFF4E6;
  --red: #d63a3a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, sans-serif;
  color: var(--plum);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(255, 79, 150, .13) 2.5px, transparent 3px),
    radial-gradient(rgba(23, 182, 167, .12) 2.5px, transparent 3px);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
  overflow-x: hidden;
  line-height: 1.45;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Chewy', 'Fredoka', cursive; font-weight: 400; letter-spacing: .01em; margin: 0; }
.small { font-size: .88rem; }
.muted { color: var(--plum-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 1rem 'Fredoka', sans-serif; color: var(--plum); text-decoration: none;
  background: #fff; border: 3px solid var(--plum); border-radius: 999px;
  padding: 9px 20px; cursor: pointer; box-shadow: 3px 3px 0 var(--plum);
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--plum); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--plum); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.add { background: var(--pink); color: #fff; }
.btn.add.added { background: var(--teal); }
.btn.sold { background: #eee; color: var(--plum-soft); box-shadow: none; }
.btn.sm { padding: 5px 12px; font-size: .85rem; border-width: 2.5px; box-shadow: 2px 2px 0 var(--plum); }
.btn.big { padding: 12px 26px; font-size: 1.1rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--plum-soft); text-decoration: underline; cursor: pointer; }

/* ---------- Preview bar + header ---------- */
.preview-bar { background: var(--sun); border-bottom: 3px solid var(--plum); padding: 8px 16px; text-align: center; font-size: .92rem; }
.preview-bar a { font-weight: 600; }
.site-head { background: #fff; border-bottom: 4px solid var(--plum); position: sticky; top: 0; z-index: 20; }
.head-inner { max-width: 1160px; margin: 0 auto; padding: 6px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-link img { display: block; height: 84px; width: auto; }
.basket-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; padding: 7px 16px 7px 12px; border: 3px solid var(--plum); border-radius: 999px;
  background: var(--cream); box-shadow: 3px 3px 0 var(--plum);
}
.basket-btn.on { background: var(--sun-soft); }
.basket-btn svg { width: 24px; height: 24px; }
.basket-count {
  position: absolute; top: -10px; right: -10px; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 99px; background: var(--pink); color: #fff; border: 2.5px solid var(--plum);
  font-size: .8rem; display: grid; place-items: center;
}
@media (max-width: 480px) {
  .logo-link img { height: 62px; }
  .basket-btn span { display: none; }
  .basket-btn { padding: 7px 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: 12px 16px 14px; text-align: center; }
.hero-inner { max-width: 680px; margin: 0 auto; }
.badge {
  display: inline-block; background: var(--sun); border: 3px solid var(--plum); border-radius: 999px;
  padding: 5px 16px; font-weight: 600; font-size: .92rem; box-shadow: 3px 3px 0 var(--plum); transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(1.55rem, 3.8vw, 2.15rem); line-height: 1.05; margin: 8px 0 4px; }
.hero .badge { padding: 3px 14px; font-size: .85rem; }
.hero .lede { font-size: clamp(.95rem, 2vw, 1.05rem); }
.hero .pop { color: var(--pink); }
.lede { font-size: clamp(1.02rem, 2.4vw, 1.2rem); margin: 0 auto; max-width: 540px; }
.stripe {
  height: 22px; background: repeating-linear-gradient(-45deg, var(--pink) 0 18px, #fff 18px 36px);
  border-top: 4px solid var(--plum); border-bottom: 4px solid var(--plum);
}

/* ---------- Shop / grid ---------- */
.shop { max-width: 1160px; margin: 0 auto; padding: 28px 16px 64px; scroll-margin-top: 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 8px; margin: -4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; text-decoration: none; font-weight: 600; padding: 6px 16px; border-radius: 999px;
  border: 2.5px solid var(--plum); background: #fff;
}
.cat.on { background: var(--plum); color: #fff; }
.search {
  flex: 0 1 280px; min-width: 0; width: 100%; font: 400 1rem 'Fredoka', sans-serif; color: var(--plum);
  border: 3px solid var(--plum); border-radius: 999px; padding: 8px 16px; background: #fff;
}
.search:focus { outline: none; border-color: var(--pink); }
@media (max-width: 640px) { .search { flex-basis: 100%; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.pcard {
  background: #fff; border: 3px solid var(--plum); border-radius: 20px; overflow: hidden;
  box-shadow: 5px 5px 0 var(--plum); display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 6px 9px 0 var(--plum); }
.pimg { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 3px solid var(--plum); }
.pimg img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.flag {
  position: absolute; top: 10px; left: 10px; font-size: .78rem; font-weight: 600; padding: 2px 10px;
  border-radius: 99px; border: 2px solid var(--plum);
}
.flag.low { background: var(--sun); }
.flag.sold { background: #eee; }
.pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.pbody h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.pbody h3 a { text-decoration: none; }
.pbody h3 a:hover { text-decoration: underline; }
.prow { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-family: 'Chewy', cursive; font-size: 1.45rem; }
@media (max-width: 520px) {
  .pcard { border-radius: 16px; box-shadow: 3px 3px 0 var(--plum); }
  .pbody { padding: 10px; }
  .pbody h3 { font-size: .9rem; }
  .prow .btn { width: 100%; }
}

.empty { text-align: center; padding: 40px 16px; }
.empty .big { font-family: 'Chewy', cursive; font-size: 2rem; margin: 0 0 8px; }

/* ---------- Product page ---------- */
.crumbs { font-size: .9rem; margin-bottom: 16px; }
.crumbs a { font-weight: 500; }
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .pp { grid-template-columns: 1fr; gap: 22px; } }
.pp-main { background: #fff; border: 3px solid var(--plum); border-radius: 24px; box-shadow: 6px 6px 0 var(--plum); aspect-ratio: 1; overflow: hidden; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 16px; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pp-thumbs button { width: 72px; height: 72px; padding: 0; border: 2.5px solid var(--plum-soft); border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; }
.pp-thumbs button.on { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1; margin: 4px 0 8px; }
.pp-price { font-family: 'Chewy', cursive; font-size: 2.4rem; color: var(--pink); margin: 0; -webkit-text-stroke: 1px var(--plum); }
.stock { font-weight: 600; color: var(--teal); margin: 6px 0 14px; }
.stock.low { color: var(--orange); }
.stock.out { color: var(--red); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--plum); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: none; font: 600 1.3rem 'Fredoka', sans-serif; color: var(--plum); cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--pink-soft); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty input { width: 46px; border: 0; text-align: center; font: 600 1.1rem 'Fredoka', sans-serif; color: var(--plum); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { border-width: 2px; }
.qty.sm button { width: 32px; height: 32px; font-size: 1.1rem; }
.qty.sm span { min-width: 28px; text-align: center; font-weight: 600; }
.pp-desc { margin: 18px 0; font-size: 1.02rem; }
.pp-desc p { margin: 0 0 10px; }
.allergy { background: var(--sun-soft); border: 3px solid var(--plum); border-radius: 18px; padding: 14px 18px; margin-top: 18px; }
.allergy h2 { font-size: 1.4rem; margin-bottom: 4px; }
.allergy p { margin: 6px 0; }
.allergy details { margin: 8px 0; }
.allergy summary { font-weight: 600; cursor: pointer; }
.disclaim { font-size: .88rem; border-top: 2px dashed rgba(59, 31, 74, .3); padding-top: 8px; margin-top: 10px !important; }
.more { margin-top: 54px; }
.more h2 { font-size: 2rem; margin-bottom: 18px; }

/* ---------- Basket ---------- */
.basket-page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 20px; }
.basket { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .basket { grid-template-columns: 1fr; } }
.lines { display: grid; gap: 14px; }
.line {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center;
  background: #fff; border: 3px solid var(--plum); border-radius: 18px; padding: 10px; box-shadow: 4px 4px 0 var(--plum);
}
.limg img { width: 88px; height: 88px; object-fit: contain; display: block; border-radius: 10px; }
.linfo { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.ltitle { font-weight: 600; text-decoration: none; }
.ltitle:hover { text-decoration: underline; }
.lright { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 1.1rem; }
.lright .link { font-size: .85rem; }
@media (max-width: 480px) {
  .line { grid-template-columns: 64px 1fr; }
  .limg img { width: 64px; height: 64px; }
  .lright { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.summary { background: #fff; border: 3px solid var(--plum); border-radius: 20px; padding: 18px; box-shadow: 5px 5px 0 var(--plum); position: sticky; top: 96px; }
.summary h2 { font-size: 1.6rem; margin-bottom: 10px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0 0 12px; }
.summary dt, .summary dd { margin: 0; }
.summary dd { text-align: right; font-weight: 600; }
.summary .total { font-family: 'Chewy', cursive; font-size: 1.6rem; font-weight: 400; border-top: 3px solid var(--plum); padding-top: 8px; margin-top: 4px; }
.free-nudge { background: var(--teal-soft); border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: .95rem; }
.checkout { width: 100%; }
.notice { background: var(--orange-soft); border: 2px solid var(--plum); border-radius: 12px; padding: 10px 14px; margin-top: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 50; transform: translate(-50%, 20px); opacity: 0;
  width: min(460px, calc(100% - 32px)); background: var(--plum); color: #fff; border-radius: 16px;
  padding: 12px 16px; box-shadow: 4px 4px 0 var(--pink); transition: transform .25s, opacity .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--sun); font-weight: 600; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-foot { background: var(--plum); color: var(--cream); text-align: center; padding: 34px 16px 40px; }
.site-foot .big { font-family: 'Chewy', cursive; font-size: 1.6rem; margin: 0 0 6px; color: var(--sun); }
.site-foot p { margin: 0 0 8px; }
.site-foot small { opacity: .75; }

@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard:hover, .btn, .toast, .size-card, .meter i { transition: none; }
}

/* ---------- Header nav ---------- */
.head-nav { display: flex; align-items: center; gap: 10px; }
.nav-link { text-decoration: none; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 3px solid transparent; white-space: nowrap; }
.nav-link:hover { border-color: var(--plum); }
.nav-link.on { background: var(--pink-soft); border-color: var(--plum); }
@media (max-width: 480px) { .nav-link { padding: 6px 8px; font-size: .92rem; } }

/* ---------- Gift boxes ---------- */
.bsection { margin-bottom: 48px; }
.bsection > h2 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); }
.bsection > p { margin: 4px 0 18px; }
.bsection.admin-only { border: 3px dashed var(--plum-soft); border-radius: 20px; padding: 16px; }
.flag.occ { background: #fff; }

.size-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.size-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none;
  background: #fff; border: 3px solid var(--plum); border-radius: 22px; padding: 18px 16px 20px; box-shadow: 5px 5px 0 var(--plum);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.size-card:nth-child(3n+1) { background: var(--pink-soft); }
.size-card:nth-child(3n+2) { background: var(--sun-soft); }
.size-card:nth-child(3n+3) { background: var(--teal-soft); }
.size-card:hover { transform: translateY(-4px); box-shadow: 6px 9px 0 var(--plum); }
.size-card svg { width: 110px; height: auto; }
.size-card h3 { font-size: 1.6rem; }
.size-card p { margin: 0; }
.size-meta { font-weight: 600; }
.size-fee { font-size: .88rem; color: var(--plum-soft); margin-top: auto; padding-top: 6px; }

.collage { display: grid; width: 100%; height: 100%; background: #fff; position: relative; }
.collage img { width: 100%; height: 100%; object-fit: contain; padding: 6px; min-height: 0; }
.collage.n2 { grid-template-columns: 1fr 1fr; }
.collage.n3, .collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.n3 img:first-child { grid-row: span 2; }
.collage.art { place-items: center; background: var(--pink-soft); }
.collage.art svg { width: 55%; height: auto; }
.collage-badge { position: absolute; right: 8px; bottom: 6px; width: 46px; }
.collage-badge svg { display: block; width: 100%; height: auto; }
.box-main { aspect-ratio: 1; }

.inside { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.inside li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }
.inside img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; border: 2px solid var(--plum); }
.inside li > div { display: flex; flex-direction: column; gap: 2px; }

/* gift options */
.gift-opts { display: grid; gap: 12px; margin: 14px 0; }
.ribbons { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ribbons legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.rib input { position: absolute; opacity: 0; pointer-events: none; }
.rib span {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border: 2.5px solid var(--plum-soft);
  border-radius: 999px; background: #fff; cursor: pointer; font-size: .9rem; font-weight: 500;
}
.rib.none span { padding-left: 12px; }
.rib i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--plum); display: block; }
.rib input:checked + span { border-color: var(--plum); box-shadow: 2px 2px 0 var(--plum); background: var(--sun-soft); }
.rib input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.gfield { display: flex; flex-direction: column; gap: 4px; }
.gfield label { font-weight: 600; }
.gfield textarea, .gfield input {
  font: 400 1rem 'Fredoka', sans-serif; color: var(--plum); border: 3px solid var(--plum); border-radius: 14px;
  padding: 8px 12px; background: #fff; width: 100%;
}
.gfield textarea:focus, .gfield input:focus { outline: none; border-color: var(--pink); }
.gcheck { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.gcheck input { width: 20px; height: 20px; accent-color: var(--pink); }

/* builder */
.builder h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.bstep h2 { font-size: 1.6rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; border: 3px solid var(--plum); font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1rem; flex: none; }
.size-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 28px; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-in {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: #fff; border: 3px solid var(--plum-soft); border-radius: 18px; padding: 10px 14px; cursor: pointer; height: 100%;
}
.size-in svg { grid-row: span 2; width: 64px; height: auto; }
.size-opt input:checked + .size-in { border-color: var(--plum); background: var(--pink-soft); box-shadow: 4px 4px 0 var(--plum); }
.size-opt input:focus-visible + .size-in { outline: 3px solid var(--pink); outline-offset: 2px; }
.build-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .build-grid { grid-template-columns: 1fr; } }
.builder .cats button { font: inherit; font-weight: 600; color: var(--plum); cursor: pointer; }
.builder .cats button.on { color: #fff; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .pick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.pick { background: #fff; border: 3px solid var(--plum); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 3px 3px 0 var(--plum); }
.pick.in { border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink); }
.pick-img { position: relative; aspect-ratio: 1; border-bottom: 2px solid var(--plum); }
.pick-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; }
.pick-n { position: absolute; top: 6px; right: 6px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 99px; background: var(--pink); color: #fff; border: 2.5px solid var(--plum); display: grid; place-items: center; font-size: .95rem; }
.pick-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pick-title { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.pick-allergy summary { font-size: .78rem; color: var(--plum-soft); cursor: pointer; }
.pick-allergy p { font-size: .8rem; margin: 4px 0; }
.pick-allergy a { font-size: .8rem; }
.pick-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price.sm { font-size: 1.2rem; }
.pick-ctl, .mi-ctl { display: inline-flex; gap: 4px; }
.pm {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--plum); background: #fff; color: var(--plum);
  font: 600 1.2rem 'Fredoka', sans-serif; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.pm.plus { background: var(--pink); color: #fff; }
.pm:disabled { opacity: .35; cursor: not-allowed; }
.mi-ctl .pm { width: 28px; height: 28px; font-size: 1rem; }

.my-box { background: #fff; border: 3px solid var(--plum); border-radius: 22px; padding: 16px; box-shadow: 5px 5px 0 var(--plum); position: sticky; top: 92px; scroll-margin-top: 92px; }
@media (max-width: 900px) { .my-box { position: static; } }
.mb-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.mb-art svg { width: 64px; height: auto; display: block; }
.mb-head > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.meter { height: 12px; border: 2.5px solid var(--plum); border-radius: 99px; overflow: hidden; background: var(--cream); }
.meter i { display: block; height: 100%; background: var(--teal); transition: width .2s; }
.meter i.over { background: var(--red); }
.mb-items { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; max-height: 440px; overflow: auto; }
.mb-items li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "q t p" ". c c"; gap: 2px 8px; font-size: .92rem; padding-bottom: 6px; border-bottom: 2px dashed rgba(59, 31, 74, .15); }
.mi-q { grid-area: q; font-weight: 600; }
.mi-t { grid-area: t; }
.mi-p { grid-area: p; font-weight: 600; }
.mi-ctl { grid-area: c; justify-self: end; }
.mb-allergy { background: var(--sun-soft); border: 2px solid var(--plum); border-radius: 14px; padding: 8px 12px; font-size: .9rem; }
.mb-allergy summary { font-weight: 600; cursor: pointer; }
.mb-allergy ul { padding-left: 18px; margin: 6px 0; }
.mb-sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 12px 0; }
.mb-sum dt, .mb-sum dd { margin: 0; }
.mb-sum dd { text-align: right; font-weight: 600; }
.mb-sum .total { font-family: 'Chewy', cursive; font-size: 1.6rem; font-weight: 400; border-top: 3px solid var(--plum); padding-top: 6px; }
.my-box .btn.big { width: 100%; }
.box-warn { background: var(--orange-soft); border: 2px solid var(--plum); border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: .92rem; }
.mb-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--plum); color: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 4px 4px 0 var(--pink);
}
@media (max-width: 900px) { .mb-bar.show:not(.away) { display: flex; } }
.mb-bar .btn { box-shadow: none; }

/* basket box lines */
.mini-collage { display: grid; width: 88px; height: 88px; background: #fff; border-radius: 10px; overflow: hidden; }
.mini-collage.n2, .mini-collage.n3, .mini-collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mini-collage img { width: 100% !important; height: 100% !important; object-fit: contain; min-height: 0; min-width: 0; border-radius: 0 !important; }
@media (max-width: 480px) { .mini-collage { width: 64px; height: 64px; } }
.box-contents summary { cursor: pointer; color: var(--plum-soft); }
.box-contents ul { margin: 4px 0; padding-left: 18px; font-size: .88rem; }
.box-line.bad { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.box-err { color: var(--red); font-weight: 600; }

/* homepage promo */
.box-promo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 20px; font-size: .92rem; line-height: 1.35;
  background: var(--sun-soft); border: 3px solid var(--plum); border-radius: 16px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--plum);
}
.box-promo svg { width: 48px; height: auto; flex: none; }
.box-promo strong { font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.25rem; display: block; }
.box-promo .btn { margin-left: auto; flex: none; }
@media (max-width: 560px) {
  .box-promo { gap: 10px; padding: 7px 12px; font-size: .84rem; }
  .box-promo svg { width: 36px; }
  .box-promo strong { font-size: 1.1rem; }
  .box-promo .btn { display: none; } /* whole banner is the link */
  .box-promo::after { content: '›'; margin-left: auto; font-size: 1.6rem; font-weight: 600; line-height: 1; padding-left: 4px; }
}

/* ---------- Labels, countries & filters ---------- */
.flag-img { display: inline-block; width: 1.4em; height: auto; aspect-ratio: 3 / 2; vertical-align: -0.15em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.pcat .flag-img { margin-left: 4px; width: 21px; }
.chip.country .flag-img { width: 1.3em; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: .72rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 2px solid var(--plum); background: #fff; white-space: nowrap; }
.tag.diet { background: var(--teal-soft); }
.tag.t-new { background: var(--sun); }
.tag.t-rare { background: var(--pink-soft); }
.tag.t-sour { background: #E6F9A8; }
.tag.t-spicy { background: var(--orange-soft); }
.pp-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.pp-labels .tag { font-size: .85rem; padding: 2px 10px; }
.from { font-weight: 600; text-decoration: none; background: #fff; border: 2px solid var(--plum); border-radius: 99px; padding: 1px 12px; font-size: .9rem; }
.from:hover { background: var(--sun-soft); }
.filters2 { display: grid; gap: 8px; margin: -8px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips-label { font-weight: 600; font-size: .9rem; margin-right: 2px; }
.chip {
  font: 600 .88rem 'Fredoka', sans-serif; color: var(--plum); background: #fff; cursor: pointer;
  border: 2px solid var(--plum-soft); border-radius: 999px; padding: 4px 12px;
}
.chip.diet::before { content: '✓ '; opacity: .35; }
.chip.on { border-color: var(--plum); background: var(--teal-soft); box-shadow: 2px 2px 0 var(--plum); }
.chip.on.diet::before { opacity: 1; }
.chip.fun.on { background: var(--pink-soft); }
.chip.country { padding: 3px 10px; }
.chip.country.on { background: var(--sun-soft); }
@media (max-width: 520px) { .chip.country span { display: none; } .chip.country { font-size: 1.1rem; padding: 2px 9px; } }
.pick .tags { margin-top: 2px; }

/* ---------- Mystery boxes ---------- */
.mystery-cards .size-card { background: #EFE4FF; }
.mcard .mprice { font-family: 'Chewy', cursive; font-size: 2rem; line-height: 1; color: var(--plum); }
.mcard.sold { opacity: .6; }
.mystery-art { display: grid; place-items: center; background: linear-gradient(135deg, #EFE4FF, var(--pink-soft)); }
.mystery-art svg { width: 70%; height: auto; }
.tiers { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier-in {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; cursor: pointer;
  background: #fff; border: 3px solid var(--plum-soft); border-radius: 18px; padding: 10px 16px;
}
.tier-in strong { font-size: 1.1rem; }
.tier-price { font-family: 'Chewy', cursive; font-size: 1.6rem; grid-row: span 2; align-self: center; }
.tier-worth { color: var(--teal); font-weight: 600; font-size: .92rem; }
.tier-in .small { grid-column: 1 / -1; }
.tier input:checked + .tier-in { border-color: var(--plum); background: #EFE4FF; box-shadow: 4px 4px 0 var(--plum); }
.tier input:focus-visible + .tier-in { outline: 3px solid var(--pink); outline-offset: 2px; }
.tier.sold .tier-in { opacity: .55; cursor: not-allowed; }
.m-prefs { border: 0; padding: 0; margin: 0 0 6px; }
.m-prefs legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.pref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.pref-grid .gcheck { font-weight: 500; }
@media (max-width: 420px) { .pref-grid { grid-template-columns: 1fr; } }
.mini-collage.art { display: grid; place-items: center; background: #EFE4FF; }
.mini-collage.art svg { width: 80%; height: auto; }

/* ---------- The Treat Journal ---------- */
.foot-links a { color: var(--sun); font-weight: 600; }
.badge.sm { font-size: .82rem; padding: 3px 12px; box-shadow: 2px 2px 0 var(--plum); }

/* covers */
.cover-art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  background-color: var(--cover);
  background-image: radial-gradient(rgba(255, 255, 255, .7) 3px, transparent 3.5px), radial-gradient(rgba(59, 31, 74, .08) 3px, transparent 3.5px);
  background-size: 34px 34px; background-position: 0 0, 17px 17px; }
.ca-pic { display: block; width: 38%; max-width: 260px; transform: rotate(-6deg); filter: drop-shadow(4px 4px 0 rgba(59, 31, 74, .18)); }
.ca-pic svg, .ca-pic img { display: block; width: 100%; height: auto; }
.ca-s { position: absolute; display: block; width: 11%; }
.ca-s svg { display: block; width: 100%; height: auto; }
.ca-s1 { top: 12%; left: 10%; transform: rotate(-14deg); }
.ca-s2 { bottom: 12%; right: 11%; width: 8%; transform: rotate(18deg); }
.cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* cards */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
@media (max-width: 640px) { .agrid { grid-template-columns: 1fr; gap: 18px; } }
.acard {
  background: #fff; border: 3px solid var(--plum); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 5px 5px 0 var(--plum); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.acard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 6px 9px 0 var(--plum); }
.acover { position: relative; display: block; aspect-ratio: 16 / 10; border-bottom: 3px solid var(--plum); background: var(--pink-soft); }
.abody { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.abody h3 { font-size: 1.55rem; line-height: 1.1; }
.abody h3 a, .alead h2 a { text-decoration: none; }
.abody h3 a:hover, .alead h2 a:hover { color: var(--pink); }
.abody p { margin: 0; color: var(--plum-soft); }
.ameta { font-size: .85rem; font-weight: 600; color: var(--plum-soft); margin-top: auto; padding-top: 6px; }
.ameta::before { content: '⏱ '; }

/* lead article */
.alead {
  display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 3px solid var(--plum); border-radius: 26px;
  overflow: hidden; box-shadow: 7px 7px 0 var(--plum); margin-bottom: 50px;
}
.alead .acover { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 3px solid var(--plum); }
.alead .abody { padding: 26px 28px; justify-content: center; gap: 10px; align-items: flex-start; }
.alead .badge { transform: rotate(-2deg); }
.alead h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; }
.alead p { font-size: 1.08rem; }
.alead-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.alead-row .ameta { margin: 0; padding: 0; }
@media (max-width: 780px) {
  .alead { grid-template-columns: 1fr; }
  .alead .acover { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 3px solid var(--plum); }
  .alead .abody { padding: 18px 18px 22px; }
}
.journal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.journal-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); }
.journal-head .cats button { font: inherit; font-weight: 600; color: var(--plum); cursor: pointer; }
.journal-head .cats button.on { color: #fff; }
.journal-promo { margin: 50px 0 0; }

/* article page */
.article-page { max-width: 980px; }
.art-head { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.art-head h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.04; }
.art-dek { font-size: clamp(1.08rem, 2.4vw, 1.25rem); margin: 0; max-width: 640px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 0; font-weight: 600; color: var(--plum-soft); font-size: .95rem; }
.art-cover {
  margin: 30px 0 34px; aspect-ratio: 16 / 8; border: 3px solid var(--plum); border-radius: 26px; overflow: hidden;
  box-shadow: 7px 7px 0 var(--plum); background: var(--pink-soft);
}
.art-cover .ca-pic { width: 24%; }
@media (max-width: 640px) { .art-cover { aspect-ratio: 16 / 10; border-radius: 20px; box-shadow: 4px 4px 0 var(--plum); margin: 22px 0 26px; } .art-cover .ca-pic { width: 34%; } }
.art-wrap { max-width: 740px; margin: 0 auto; }

.art-toc { background: var(--sun-soft); border: 3px solid var(--plum); border-radius: 20px; padding: 14px 20px; margin-bottom: 30px; box-shadow: 4px 4px 0 var(--plum); }
.art-toc strong { font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.35rem; }
.art-toc ol { margin: 6px 0 0; padding-left: 22px; columns: 2 240px; column-gap: 28px; }
.art-toc li { margin: 3px 0; break-inside: avoid; }
.art-toc a { font-weight: 500; text-decoration-color: var(--pink); text-underline-offset: 3px; }

.art-body { font-size: 1.1rem; line-height: 1.7; }
.art-body > p, .art-body > ul, .art-body > ol { margin: 0 0 1.1em; }
.art-body h2 { font-size: clamp(1.8rem, 4.4vw, 2.3rem); line-height: 1.1; margin: 1.6em 0 .5em; scroll-margin-top: 96px; }
.art-body h2::after { content: ''; display: block; width: 76px; height: 9px; margin-top: 8px; border-radius: 99px;
  background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, var(--sun) 8px 16px); border: 2px solid var(--plum); }
.art-body h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.3rem; margin: 1.3em 0 .35em; }
.art-body > p a, .art-body li a, .art-more a { color: var(--pink); font-weight: 600; text-underline-offset: 3px; }
.art-body ul { list-style: none; padding-left: 4px; }
.art-body ul > li { position: relative; padding-left: 30px; margin: .35em 0; }
.art-body ul > li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 13px; height: 13px; border-radius: 50%;
  background: var(--pink); border: 2.5px solid var(--plum); }
.art-body ul > li:nth-child(3n+2)::before { background: var(--teal); }
.art-body ul > li:nth-child(3n+3)::before { background: var(--sun); }
.art-body ol { padding-left: 26px; }
.art-body ol > li { margin: .35em 0; padding-left: 4px; }
.art-body ol > li::marker { font-family: 'Chewy', cursive; color: var(--pink); font-size: 1.2em; }
.art-body blockquote {
  margin: 1.6em 0; padding: 16px 20px 16px 20px; background: var(--teal-soft); border: 3px solid var(--plum); border-radius: 20px;
  box-shadow: 4px 4px 0 var(--plum); font-size: 1.05rem; position: relative;
}
.art-body blockquote::before { content: '🍬 Sweet tip'; display: block; font-family: 'Chewy', cursive; font-size: 1.3rem; margin-bottom: 2px; }
.art-body .ql-align-center { text-align: center; }
.art-body .ql-align-right { text-align: right; }
.art-grid { margin: 1.4em 0 1.6em; font-size: 1rem; line-height: 1.45; }
.art-grid.grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .art-grid.grid { grid-template-columns: repeat(2, 1fr); } }
.art-more { margin: -.6em 0 1.4em; text-align: right; }
.art-note { font-size: .9rem; border: 2px dashed var(--plum-soft); border-radius: 12px; padding: 6px 12px; background: #fff; }
.art-cta {
  display: flex; align-items: center; gap: 18px; text-decoration: none; margin: 1.6em 0; line-height: 1.4;
  background: var(--pink-soft); border: 3px solid var(--plum); border-radius: 22px; padding: 14px 20px; box-shadow: 5px 5px 0 var(--plum);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.art-cta:hover { transform: translateY(-3px); box-shadow: 6px 8px 0 var(--plum); }
.art-cta-pic { flex: none; width: 76px; }
.art-cta-pic svg, .art-cta-pic img { display: block; width: 100%; height: auto; }
.art-cta-text { font-size: 1rem; }
.art-cta-text strong { display: block; font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: 2px; }
.art-cta .btn { margin-left: auto; }
@media (max-width: 560px) { .art-cta { flex-wrap: wrap; gap: 10px 14px; } .art-cta-pic { width: 56px; } .art-cta-text { flex: 1 1 180px; } .art-cta .btn { margin-left: 0; width: 100%; } }

.art-faq { margin-top: 2.4em; }
.art-faq h2 { font-size: clamp(1.8rem, 4.4vw, 2.3rem); margin-bottom: 14px; scroll-margin-top: 96px; }
.art-faq details { background: #fff; border: 3px solid var(--plum); border-radius: 18px; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--plum); }
.art-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 12px 48px 12px 18px; list-style: none; position: relative; }
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  border-radius: 50%; background: var(--pink); color: #fff; border: 2.5px solid var(--plum); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.art-faq details[open] summary::after { content: '−'; background: var(--teal); }
.art-faq details[open] summary { border-bottom: 2px dashed rgba(59, 31, 74, .2); }
.art-faq details p { margin: 0; padding: 12px 18px 16px; }

/* homepage / boxes page strip */
.journal-strip { margin-top: 56px; }
.journal-strip .journal-head { margin-bottom: 18px; }
.journal-strip .journal-head a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .acard, .acard:hover, .art-cta, .art-cta:hover { transition: none; transform: none; } }

/* Phones: logo + basket on the first row, the three links share the second */
@media (max-width: 520px) {
  .head-inner { flex-wrap: wrap; row-gap: 4px; padding-bottom: 6px; }
  .head-nav { display: contents; }
  .head-nav::before { content: ''; order: 1; flex-basis: 100%; height: 0; }
  .logo-link { flex: none; }
  .basket-btn { margin-left: auto; }
  .nav-link { order: 2; flex: 1 1 0; text-align: center; padding: 5px 4px; font-size: .88rem; }
}

/* ---------- Social links ---------- */
.socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--plum);
  background: var(--sun); border: 3px solid var(--plum); border-radius: 999px; padding: 6px 16px 6px 12px; box-shadow: 3px 3px 0 var(--pink);
  transition: transform .15s, box-shadow .15s;
}
.social:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--pink); }
.social svg { width: 20px; height: 20px; display: block; }
.s-tiktok { background: var(--teal-soft); }
.site-foot .socials { margin: 4px 0 16px; }
.foot-follow { margin-top: 4px !important; }
.follow-card {
  display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; margin: 44px 0 0;
  background: var(--plum); color: var(--cream); border: 3px solid var(--plum); border-radius: 24px; padding: 20px 24px; box-shadow: 6px 6px 0 var(--pink);
}
.follow-text strong { display: block; font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.7rem; color: var(--sun); line-height: 1.1; margin-bottom: 4px; }
.follow-text b { color: var(--sun); }
.follow-card .socials { justify-content: flex-end; }
.follow-card .social { box-shadow: 3px 3px 0 #fff; }
@media (max-width: 640px) { .follow-card { grid-template-columns: 1fr; } .follow-card .socials { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .social, .social:hover { transition: none; transform: none; } }

/* ---------- TikTok badges & taste tests ---------- */
.flag.viral { left: auto; right: 10px; background: #111; color: #fff; border-color: #111; }
.tag.viral { background: #111; color: #fff; border-color: #111; }
.chip.viral.on { background: #111; color: #fff; border-color: #111; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars i { width: 16px; height: 16px; display: block; background: rgba(59, 31, 74, .18);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--sun); }
.stars i.half { background: linear-gradient(90deg, var(--sun) 50%, rgba(59, 31, 74, .18) 50%); }
.card-score .stars i { width: 14px; height: 14px; }
.taste { background: #fff; border: 3px solid var(--plum); border-radius: 18px; padding: 14px 18px; margin: 18px 0; box-shadow: 4px 4px 0 var(--plum); }
.taste h2 { font-size: 1.5rem; margin-bottom: 6px; }
.taste-overall { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.1rem; }
.taste-overall .stars i { width: 26px; height: 26px; }
.meters { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; margin: 0 0 10px; }
.meters dt { font-weight: 600; font-size: .95rem; }
.meters dd { margin: 0; }
.meters .meter i { background: var(--pink); }
.verdict { font-size: 1.1rem; font-weight: 500; margin: 6px 0 12px; padding-left: 12px; border-left: 4px solid var(--pink); }
.social.watch { background: #111; color: #fff; border-color: #111; box-shadow: 3px 3px 0 var(--pink); }
.social.watch.s-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); border-color: var(--plum); }

/* ---------- Homepage fun cards + viral row ---------- */
.fun-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
@media (max-width: 640px) { .fun-row { grid-template-columns: 1fr; gap: 12px; } }
.fun-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--teal-soft);
  border: 3px solid var(--plum); border-radius: 20px; padding: 12px 16px; box-shadow: 4px 4px 0 var(--plum);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.fun-card:hover { transform: translateY(-3px); box-shadow: 5px 7px 0 var(--plum); }
.fun-card.f-quiz { background: var(--pink-soft); }
.fun-em { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.9rem; background: #fff; border: 3px solid var(--plum); border-radius: 50%; }
.fun-card strong { display: block; font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.viral-row { margin-bottom: 36px; }
.viral-row .journal-head a { font-weight: 600; }

/* ---------- Quiz + gift finder ---------- */
.hero-sm { padding: 34px 16px 38px; }
.quiz-card { max-width: 760px; margin: 0 auto; background: #fff; border: 3px solid var(--plum); border-radius: 26px; padding: 22px 24px 26px; box-shadow: 7px 7px 0 var(--plum); }
.quiz-top { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--plum-soft); margin-bottom: 18px; font-size: .95rem; }
.quiz-top .meter { flex: 1; }
.quiz-top .meter i { background: var(--pink); }
.quiz-card h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 16px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .answers { grid-template-columns: 1fr; gap: 10px; } }
.answer {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; position: relative;
  font: 600 1.05rem 'Fredoka', sans-serif; color: var(--plum); background: var(--cream);
  border: 3px solid var(--plum); border-radius: 18px; padding: 12px 14px; box-shadow: 3px 3px 0 var(--plum);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.answer:hover { background: var(--sun-soft); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--plum); }
.answer:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--plum); }
.a-em { flex: none; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.5rem; background: #fff; border: 2.5px solid var(--plum); border-radius: 50%; }
.answer input { position: absolute; opacity: 0; pointer-events: none; }
.answer:has(input:checked) { background: var(--pink-soft); box-shadow: 4px 4px 0 var(--pink); }
.answer:has(input:focus-visible) { outline: 3px solid var(--pink); outline-offset: 2px; }
.answers.multi .answer:has(input:checked) .a-em { background: var(--pink); }
#qBack { margin-top: 14px; }

.result { max-width: 900px; margin: 0 auto; scroll-margin-top: 90px; }
.result-card {
  text-align: center; background: var(--rc); border: 3px solid var(--plum); border-radius: 28px; padding: 26px 22px 24px;
  box-shadow: 8px 8px 0 var(--plum); max-width: 640px; margin: 0 auto 36px; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.result-you { font-weight: 600; margin: 0; }
.result-em { font-size: 5.5rem; line-height: 1.1; animation: pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
.result-card h2 { font-size: clamp(2.4rem, 8vw, 3.4rem); line-height: 1; }
.result-desc { font-size: 1.12rem; max-width: 480px; margin: 4px 0 8px; }
.result-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.result-tag { margin: 6px 0 2px; }
.result-picks { font-size: 1.9rem; margin-bottom: 16px; }
.result .art-cta { margin-top: 30px; }

.finder fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.finder legend { padding: 0; width: 100%; }
.finder.js fieldset { margin-bottom: 0; }
.finder .f-next { margin-top: 16px; }
.f-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.finder-h { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; }
.finder-sub { margin: 6px 0 24px; font-weight: 500; }
.finder-box {
  display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; background: #fff; border: 3px solid var(--plum);
  border-radius: 26px; padding: 20px; box-shadow: 7px 7px 0 var(--plum); margin-bottom: 44px;
}
@media (max-width: 760px) { .finder-box { grid-template-columns: 1fr; } }
.fb-art { aspect-ratio: 1; border: 3px solid var(--plum); border-radius: 20px; overflow: hidden; }
.fb-info h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.1; margin: 10px 0 12px; }
.fb-items { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.fb-items li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 2px dashed rgba(59, 31, 74, .15); }
.fb-items a { font-weight: 500; }
.fb-fee { color: var(--plum-soft); }
.fb-total { font-size: 1.2rem; margin: 6px 0 14px; }
.fb-total strong { font-family: 'Chewy', cursive; font-weight: 400; font-size: 2rem; color: var(--pink); -webkit-text-stroke: 1px var(--plum); }

/* ---------- Giveaway ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }
.step3 { position: relative; background: #fff; border: 3px solid var(--plum); border-radius: 22px; padding: 20px 18px; box-shadow: 5px 5px 0 var(--plum); text-align: center; }
.step3:nth-child(1) { background: var(--pink-soft); } .step3:nth-child(2) { background: var(--sun-soft); } .step3:nth-child(3) { background: var(--teal-soft); }
.step3 .num { position: absolute; top: -14px; left: -10px; }
.s3-em { font-size: 2.6rem; display: block; }
.step3 h2 { font-size: 1.6rem; margin: 6px 0 4px; }
.step3 p { margin: 0; }
.socials.big .social { font-size: 1.1rem; padding: 9px 22px 9px 16px; }
.socials.big .social svg { width: 24px; height: 24px; }
.socials.center { margin-bottom: 34px; }
.give-box { background: var(--plum); color: var(--cream); border-radius: 24px; padding: 20px 24px; box-shadow: 6px 6px 0 var(--pink); margin-bottom: 40px; }
.give-box h2 { color: var(--sun); font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 6px; }
.give-box a { color: var(--sun); font-weight: 600; }
.winners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.winners li { background: #fff; border: 3px solid var(--plum); border-radius: 16px; padding: 10px 14px; display: flex; flex-direction: column; box-shadow: 3px 3px 0 var(--plum); }
.w-month { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
@media (prefers-reduced-motion: reduce) { .fun-card, .fun-card:hover, .answer, .answer:hover { transition: none; transform: none; } .result-em { animation: none; } }

.meters .meter { display: block; width: 100%; }

/* ---------- Checkout + order confirmation ---------- */
.test-mode { background: var(--sun-soft); border: 2px dashed var(--plum); border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: .9rem; }
.test-mode code { font-weight: 600; white-space: nowrap; }
.thanks-page { max-width: 760px; }
.thanks-hero { text-align: center; padding: 10px 0 24px; }
.thanks-hero svg { width: 130px; height: auto; }
.thanks-hero h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); margin: 6px 0; }
.thanks-summary { background: #fff; border: 3px solid var(--plum); border-radius: 20px; padding: 18px 20px; box-shadow: 5px 5px 0 var(--plum); }
.thanks-summary h2 { font-size: 1.6rem; margin-bottom: 10px; }
.thanks-lines { list-style: none; padding: 0; margin: 0 0 14px; }
.thanks-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 2px dashed var(--pink-soft); }
.thanks-lines li small { display: block; }
.thanks-lines li.total { font-family: 'Chewy', cursive; font-size: 1.5rem; border-bottom: 0; }

/* Legal pages (/terms, /delivery, …) */
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-nav a[aria-current] { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.legal .table-scroll { overflow-x: auto; margin: 0 0 1.1em; }
.legal .art-body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; margin: 0 0 1.1em; }
.legal .table-scroll table { margin: 0; min-width: 560px; }
.legal .art-body th, .legal .art-body td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 2px dashed var(--pink-soft); }
.legal .art-body th { font-family: 'Fredoka', sans-serif; font-weight: 600; }
.legal .art-body ol { padding-left: 1.3em; }
.legal-links { font-size: .9rem; }
.site-foot small a { color: inherit; }


/* ---------- 31 Oct 2026: slim header, sticky buy bar, basket top-ups, compact box sizes ---------- */
.logo-link img { transition: height .2s; }
.head-slim .logo-link img { height: 52px; }
@media (max-width: 520px) {
  .head-slim .logo-link img { height: 40px; }
  .head-slim .head-inner { padding-top: 4px; padding-bottom: 4px; }
  .head-slim .nav-link, .head-slim .head-nav::before { display: none; }
  .head-slim .basket-btn { padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) { .logo-link img { transition: none; } }

/* Product page: slim buy bar (phones only) */
.buy-bar { display: none; }
@media (max-width: 720px) {
  .buy-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 3px solid var(--plum); padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .25s; box-shadow: 0 -4px 0 rgba(0,0,0,.04);
  }
  .buy-bar[hidden] { display: none !important; }
  .buy-bar.show { transform: none; }
  .buy-bar img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 2px solid var(--plum); background: #fff; flex: none; }
  .bb-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
  .bb-title { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-text strong { font-size: 1.05rem; }
  .buy-bar .btn { flex: none; }
  body.bar-up .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body:has(.buy-bar) .site-foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .buy-bar { transition: none; } }

/* Basket: free-delivery top-ups */
.addons { margin-top: 22px; background: #fff; border: 3px solid var(--plum); border-radius: 20px; padding: 14px 16px 16px; box-shadow: 4px 4px 0 var(--plum); }
.addons h2 { font-size: 1.3rem; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.addons h2 span { font-family: 'Fredoka', sans-serif; font-size: .9rem; font-weight: 600; background: var(--teal-soft); border-radius: 99px; padding: 1px 10px; }
.addon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.addon { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.addon .aimg { display: block; aspect-ratio: 1; border: 2px solid var(--plum); border-radius: 12px; overflow: hidden; background: #fff; }
.addon .aimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.addon .atitle { font-size: .82rem; font-weight: 600; text-decoration: none; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon .afree { font-size: .72rem; font-weight: 600; color: #1d6b5f; }
.addon .aprice { font-weight: 600; margin-top: auto; }
.addon .btn { width: 100%; }
@media (max-width: 560px) {
  .addon-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .addon { scroll-snap-align: start; }
}

/* Boxes page: size cards become compact rows on phones */
@media (max-width: 560px) {
  .size-cards { grid-template-columns: 1fr; gap: 12px; }
  .size-card {
    display: grid; grid-template-columns: 52px 1fr 20px; column-gap: 12px; row-gap: 1px; align-items: center;
    text-align: left; padding: 10px 14px; border-radius: 18px; box-shadow: 4px 4px 0 var(--plum);
  }
  .size-card > svg { grid-column: 1; grid-row: 1 / span 4; width: 52px; }
  .size-card > :not(svg) { grid-column: 2; }
  .size-card h3 { font-size: 1.2rem; margin: 0; }
  .size-card .small, .size-card .btn { display: none; }
  .size-card .size-meta, .size-card .mprice { font-size: .9rem; }
  .size-card .size-fee { margin: 0; padding: 0; font-size: .8rem; }
  .size-card::after { content: '›'; grid-column: 3; grid-row: 1 / span 4; font-size: 1.8rem; font-weight: 600; line-height: 1; }
  .size-card:hover { transform: none; box-shadow: 4px 4px 0 var(--plum); }
}

/* Basket: discount code + delivery postcode (4 Nov 2026) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.summary .disc { color: var(--teal); }
.summary dd.disc { color: #0d7f74; }
.code-box { margin: 0 0 12px; }
.code-box summary { cursor: pointer; font-weight: 600; color: var(--plum-soft); text-decoration: underline; width: max-content; }
.code-form { display: flex; gap: 8px; margin-top: 8px; }
.code-form input, .postcode-field input {
  flex: 1; min-width: 0; font: 600 1rem 'Fredoka', sans-serif; color: var(--plum); text-transform: uppercase;
  border: 3px solid var(--plum); border-radius: 14px; padding: 8px 12px; background: #fff;
}
.code-form input:focus, .postcode-field input:focus { outline: none; border-color: var(--pink); }
.code-form input::placeholder, .postcode-field input::placeholder { text-transform: none; font-weight: 400; }
.code-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--teal-soft); border-radius: 12px; padding: 8px 12px; }
.code-msg { margin: 8px 0 0; font-size: .92rem; }
.code-msg.bad, .postcode-field .bad { color: var(--red); font-weight: 600; }
.postcode-field { margin: 0 0 12px; }
.postcode-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.postcode-field input { width: 100%; }
.postcode-field input.bad-input { border-color: var(--red); }
.postcode-field p { margin: 6px 0 0; }
.postcode-field .good { color: #0d7f74; font-weight: 600; }

/* Multi-buy deals (4 Nov 2026) */
.flag.deal { top: auto; bottom: 10px; background: var(--pink); color: #fff; border-color: var(--plum); }
.deal-tag { display: inline-block; margin-top: 4px; font-size: .82rem; font-weight: 600; color: #fff; background: var(--pink); border-radius: 999px; padding: 1px 9px; text-decoration: none; width: max-content; }
.deal-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.deal-list li { background: var(--pink-soft); border-radius: 12px; padding: 7px 12px; font-size: .92rem; }
.deal-list li.done { background: var(--teal-soft); }
.pp-deal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--pink-soft); border: 3px solid var(--plum); border-radius: 16px; padding: 10px 14px; margin: 0 0 14px; }
.pp-deal strong { font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.35rem; }
.deal-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--pink-soft); border: 3px solid var(--plum); border-radius: 16px; padding: 10px 14px; margin: 0 0 14px; }
.deal-banner strong { font-family: 'Chewy', cursive; font-weight: 400; font-size: 1.35rem; }
.chip.deal { background: var(--pink-soft); }
.chip.deal.on { background: var(--pink); color: #fff; }
.sort-wrap { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.sort-wrap select { font: 600 .95rem 'Fredoka', sans-serif; color: var(--plum); border: 3px solid var(--plum); border-radius: 999px; padding: 6px 12px; background: #fff; cursor: pointer; }
.sort-wrap select:focus { outline: none; border-color: var(--pink); }
.empty-picks { text-align: left; margin-top: 28px; }
