/* Cookies Factory TLV: her pink, a hot-pink accent from her menu post, rounded type, white boxes.
   Loaded after style.css (the shared template) and only overrides it. */
:root {
  --pink: #F9CFE0;
  --pink-2: #FDE9F1;
  --pink-3: #F5B8D0;
  --box: #FFFFFF;
  --hot: #E0307E;
  --choc: #3B2216;
  --choc-2: #5E3A28;
  --display: 'Fredoka', 'Assistant', system-ui, sans-serif;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; }
.kicker { color: var(--hot); }

/* logo: white pill with hot-pink lettering, like the type on her menu */
.logo { background: #fff; color: var(--hot); font-weight: 700; letter-spacing: -0.01em; direction: ltr; }
.cart-count, .mini-box { background: var(--pink-3); }

.sticker { background: var(--hot); color: #fff; }
.sticker b { font-weight: 700; font-size: 22px; }
.strip { color: #fff; }
.strip i { color: var(--pink-3); }
.strip-track { font-weight: 600; }

/* the hits: cut-out cookies on a soft pink stage instead of cropped photos */
.prod-media.cutout { background: radial-gradient(65% 65% at 50% 48%, #fff 0%, var(--pink-2) 60%, var(--pink) 100%); }
.prod-media.cutout img { inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(59,34,22,.28)); }
.prod h3 { font-weight: 700; }
.prod-price, .menu.is-pinned .menu-progress b, .bake .it b, .card-foot b { font-weight: 700; }

/* box size picker */
.size-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 16px; }
.size-row .muted { margin: 0 !important; }
.size-pick { display: inline-flex; background: #fff; border-radius: 99px; padding: 4px; box-shadow: 0 1px 0 var(--line); }
.size-pick button { border: 0; background: none; border-radius: 99px; padding: 8px 18px; font-weight: 800; font-size: 16px; color: var(--choc-soft); }
.size-pick button[aria-pressed="true"] { background: var(--choc); color: var(--cream); }

.flavor h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.f-price { font-family: var(--body); font-size: 15px; font-weight: 800; color: var(--hot); }

/* white box from above; 6 cookies in 3x2, 12 in 4x3 */
.tray { aspect-ratio: 880 / 564; background-image: url(img/box-open.webp); }
.slots { inset: 10.5% 7% 7.5% 7%; }
.tray.is-12 .slots { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.5%; }
.lid { background-image: url(img/box-lid.webp); }
.lid b { color: var(--hot); font-weight: 700; font-size: 10cqw; direction: ltr; opacity: 1; }
.lid small { color: var(--choc-2); }

.final-box { object-fit: cover; aspect-ratio: 680 / 372; }

@media (min-width: 901px) {
  /* ten flavours: two columns of compact rows so they still sit beside the box */
  .flavors { grid-template-columns: 1fr 1fr; }
  .flavor { grid-template-columns: 92px minmax(0, 1fr); align-items: stretch; }
  .flavor-photo { aspect-ratio: auto; width: 92px; height: auto; min-height: 0; }
  .flavor-photo .cookie { width: 80px; }
  .flavor-body { padding: 10px 12px; grid-template-columns: 1fr; grid-template-areas: "name" "desc" "step"; row-gap: 2px; }
  .flavor h3 { font-size: 19px; }
  .flavor p { font-size: 13px; line-height: 1.35; }
  .stepper { margin-top: 6px; justify-self: start; }
  .stepper button { width: 30px; height: 30px; font-size: 18px; }
  .box-grid { max-width: 1280px; grid-template-columns: 1.25fr 1fr; }
  .box-head { max-width: 1280px; }
  .box-visual { position: sticky; top: 96px; align-self: start; }
  .tray-card { height: auto; }
}
@media (max-width: 900px) {
  .flavor h3 { font-size: 17px; }
  .f-price { font-size: 13px; }
  .tray.is-12 .slots { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); }
}
