/* bundle.css — "Fill the box" PDP landing bundle. Exact match to the ALEX AND ANI reference.
   Every rule is nested in the template wrapper. Colours, fonts and radii are set directly (no presets).
   Mobile: products sit inline on the page under the box, with sticky filter chips and a compact box
   strip that appears while the box is scrolled away. The ATC bar is FIXED to the bottom of the
   viewport with a matching page spacer. Set --bundle-sticky-top on the root to clear a pinned theme header. */

@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

#my-custom-bundle[template-id="advent-calendar-v2-80503"] {
  --navy: #1f2b7a; --navy-ink: #0f1747; --sky: #7fb2f0; --sky-deep: #3f6fd1; --pale: #c6dbfa; --frost: #eaf1fc;
  --gold: #c9a45c; --gold-deep: #a8843d; --evergreen: #0f4a3f;
  --paper: #f7f6f2; --paper-2: #efede6; --ink: #171717; --ink-2: #4b4b4b; --ink-3: #8a8a8a; --sale: #c8323a; --line: #dedcd4;
  --bar-h: 92px;
  --bar-h-mobile: 112px;
  --bundle-sticky-top: 0px;
  /* Theme fonts: Recife is loaded by the theme; Rethink Sans also loads from Google as a backup. */
  --bundle-font-display: "Recife Display", "Recife", "Recife Text", Georgia, serif;
  --bundle-font-body: "Rethink Sans", "Rethink", system-ui, -apple-system, sans-serif;

  box-sizing: border-box;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--bundle-font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;

  & *,
  & *::before,
  & *::after { box-sizing: inherit; }

  & h1,
  & h2,
  & h3 {
    font-family: var(--bundle-font-display);
    font-weight: 500;
    margin: 0;
    line-height: 1.1;
    text-transform: none;
    letter-spacing: normal;
    color: var(--ink);
  }
  & button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  & button:focus-visible,
  & [role="button"]:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
  & img { max-width: 100%; display: block; }

  /* ── Page layout ────────────────────────────────────────────────────────── */
  & .bundle__page {
    max-width: 1240px; margin: 0 auto; padding: 60px 24px 110px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start;
  }
  /* The column stretches to the picker's height so the box group can stay pinned while the products scroll. */
  & .bundle__stage { align-self: stretch; }
  & .bundle__stage-sticky { position: sticky; top: calc(var(--bundle-sticky-top) + 16px); }
  & .bundle__title { margin: 2px 0 14px; }
  & .bundle__title h1 { font-size: 40px; line-height: 1.05; letter-spacing: -.01em; }
  & .bundle__title h1 em { font-style: italic; font-weight: 400; }
  & .bundle__subtitle { margin: 21px 0 0; color: var(--ink-2); max-width: 56ch; }
  & .bundle__subtitle p { margin: 0 0 8px; }
  & .bundle__subtitle p:last-child { margin-bottom: 0; }

  & .bundle__bar-spacer { display: none; }
  & .bundle__ministrip { display: none; }

  /* ── The box (hero image + drawer overlay) ──────────────────────────────── */
  & .bundle__box {
    position: relative; aspect-ratio: 770/710; overflow: hidden; border-radius: 6px; margin: 0 auto;
    /* Scale down on short screens so the ladder + Clear / Surprise buttons stay above the fixed bar. */
    width: min(100%, max(360px, calc((100vh - var(--bundle-sticky-top) - 300px) * 770 / 710)));
  }
  & .bundle__box > img {
    position: absolute; width: 129.87%; height: auto; left: -16.88%; top: -16.9%; max-width: none; pointer-events: none;
  }
  & .bundle__face {
    position: absolute; aspect-ratio: 1/1; border: 0; padding: 0; background: transparent;
    cursor: pointer; transition: background .25s; transform-origin: center;
  }
  & .bundle__face:hover { background: rgba(255,255,255,.08); }
  & .bundle__face.is-next { background: rgba(127,178,240,.14); }

  & .bundle__tile {
    position: absolute; aspect-ratio: 1/1; transform-origin: center; pointer-events: none;
    opacity: 0; transition: opacity .25s;
  }
  & .bundle__tile.is-on { opacity: 1; pointer-events: auto; cursor: pointer; }
  & .bundle__tile-in {
    position: absolute; inset: 0; border-radius: 6%; overflow: hidden;
    background: linear-gradient(160deg, #fbfaf6, #ece7da);
    box-shadow: 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.6);
  }
  & .bundle__tile-in img { width: 100%; height: 100%; object-fit: cover; }
  & .bundle__tile-rmv {
    position: absolute; top: -12%; right: -12%; width: 30%; height: 30%; min-width: 16px; min-height: 16px;
    border-radius: 50%; border: 0; background: #fff; color: var(--navy-ink); font-size: 13px; line-height: 1;
    display: grid; place-items: center; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,.4);
    opacity: 0; transition: opacity .2s; pointer-events: none;
  }
  & .bundle__tile.is-on:hover .bundle__tile-rmv { opacity: 1; pointer-events: auto; }
  & .bundle__tile-rmv:hover { background: var(--sale); color: #fff; }

  & .bundle__done-ribbon {
    position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%) scale(0);
    background: var(--gold); color: var(--navy-ink); font-family: var(--bundle-font-display); font-style: italic;
    font-size: 18px; padding: 5px 16px; border-radius: 999px; z-index: 3; white-space: nowrap;
    transition: transform .5s cubic-bezier(.3,1.4,.5,1);
  }
  & .bundle__box.is-complete .bundle__done-ribbon { transform: translateX(-50%) scale(1); }

  & .bundle__box-actions { display: flex; gap: 10px; margin-top: 14px; }
  & .bundle__ghost {
    flex: 1; background: transparent; border: 1px solid var(--ink); border-radius: 0; padding: 11px 16px; font-size: 13px; color: var(--ink);
    white-space: nowrap;
  }
  & .bundle__ghost--quiet { border-color: var(--line); color: var(--ink-2); }
  @media (hover: hover) {
    & .bundle__ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
    & .bundle__ghost--quiet:hover { background: var(--paper-2); color: var(--ink); border-color: var(--line); }
  }

  /* ── Progress ladder ────────────────────────────────────────────────────── */
  & .bundle__ladder {
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px 14px; margin-top: 16px;
  }
  & .bundle__ladder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  & .bundle__ladder-head h2 { font-size: 26px; }
  & .bundle__count { font-family: var(--bundle-font-display); font-size: 24px; color: var(--ink-2); }
  & .bundle__count b { color: var(--ink); font-weight: 600; font-size: 32px; }
  & .bundle__segments { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 12px 0 10px; }
  & .bundle__seg { height: 9px; border-radius: 2px; background: var(--paper-2); position: relative; overflow: hidden; }
  & .bundle__seg::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky-deep), var(--navy));
    transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  & .bundle__seg.is-on::after { transform: scaleX(1); }
  & .bundle__seg--gold::after { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
  & .bundle__note { margin: 0; font-size: 13px; color: var(--ink-2); }
  & .bundle__note strong { color: var(--ink); font-weight: 600; }

  /* ── Picker (right column on desktop) ───────────────────────────────────── */
  & .bundle__picker-head { display: contents; }
  & .bundle__picker-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
  & .bundle__picker-title h2 { font-size: 30px; }
  & .bundle__picker-count { display: none; }
  & .bundle__chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 14px; }
  & .bundle__chip {
    border: 1px solid var(--line); background: #fff; border-radius: 0; padding: 7px 13px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
  }
  & .bundle__chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
  & .bundle__chips[hidden] { display: none; }

  /* "Load more" under the grid: shows the next 24 products. */
  & .bundle__more { display: flex; justify-content: center; margin: 24px 0 8px; }
  & .bundle__more[hidden] { display: none; }
  & .bundle__load-more {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 220px; min-height: 44px; padding: 0 28px; background: transparent; color: var(--ink);
    border: 1px solid var(--ink); border-radius: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    transition: background .2s, color .2s;
  }
  @media (hover: hover) {
    & .bundle__load-more:hover:not(:disabled) { background: var(--ink); color: #fff; }
  }
  & .bundle__load-more.is-loading { cursor: progress; color: var(--ink-3); border-color: var(--line); }
  & .bundle__load-more.is-loading::before {
    content: ""; width: 12px; height: 12px; border: 2px solid #ccc; border-top-color: var(--ink);
    border-radius: 50%; animation: bundle-spin-advent-calendar-v2-80503 .9s linear infinite;
  }

  & .bundle__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  & .bundle__card {
    position: relative; border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; transition: border-color .2s;
  }
  & .bundle__card:hover,
  & .bundle__card.is-inbox { border-color: var(--navy); }
  & .bundle__card-thumb {
    aspect-ratio: 1/1; background: linear-gradient(160deg, #f5f3ee, #e9e6dd); position: relative; cursor: pointer; overflow: hidden;
  }
  & .bundle__card-thumb img { width: 100%; height: 100%; object-fit: cover; }
  & .bundle__card-in {
    position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 15px;
    font-family: var(--bundle-font-display); font-weight: 600;
  }
  & .bundle__card-meta { padding: 9px 11px 0; flex: 1; }
  & .bundle__pills { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
  & .bundle__pills:empty { display: none; }
  & .bundle__pill {
    font-size: 10px; letter-spacing: .04em; background: var(--frost); color: var(--navy); padding: 2px 7px; border-radius: 3px; font-weight: 600;
  }
  & .bundle__card-name {
    font-size: 13px; line-height: 1.3; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  & .bundle__price { margin-top: 5px; font-size: 14px; font-weight: 600; }
  & .bundle__price s { color: var(--ink-3); font-weight: 400; font-size: 12px; margin-left: 5px; }
  & .bundle__price--sale { color: var(--sale); }

  & .bundle__finish { display: flex; gap: 6px; margin: 8px 0 0; }
  & .bundle__sw {
    flex: 1 1 0; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--line); background: #fff; border-radius: 0; padding: 6px 8px; font-size: 11px; color: var(--ink-2);
  }
  & .bundle__sw i { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
  & .bundle__sw-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  & .bundle__sw.is-on { border-color: var(--ink); color: var(--ink); font-weight: 600; }

  & .bundle__add {
    margin: 10px 11px 11px; background: var(--ink); color: #fff; border: 0; border-radius: 0;
    padding: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  }
  & .bundle__add:disabled { background: var(--paper-2); color: var(--ink-3); cursor: not-allowed; }
  & .bundle__step {
    margin: 10px 11px 11px; display: grid; grid-template-columns: 38px 1fr 38px;
    border: 1px solid var(--navy); border-radius: 0; overflow: hidden; background: var(--frost);
  }
  & .bundle__step button { border: 0; background: var(--navy); color: #fff; font-size: 18px; line-height: 1; padding: 0; min-height: 38px; }
  & .bundle__step button:disabled { background: #b8c3e6; }
  & .bundle__step-q { display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--navy); }

  /* ── Sticky bar ─────────────────────────────────────────────────────────── */
  & .bundle__bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px rgba(0,0,0,.08);
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  & .bundle__bar-inner {
    max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative;
    overflow-x: clip;
  }
  & .bundle__bar-top { display: contents; }
  & .bundle__bar-text { display: block; min-width: 0; }
  & .bundle__bar-title { font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.3; }
  & .bundle__bar-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
  & .bundle__bar-sub s { margin-left: 6px; color: var(--ink-3); }
  & .bundle__bar-price { font-weight: 700; color: var(--sale); }
  & .bundle__bar-was { font-weight: 700; }
  & .bundle__save { margin-left: 6px; color: var(--evergreen); font-weight: 600; }
  & .bundle__edit-box { display: none; }
  & .bundle__cta {
    background: var(--ink); color: #fff; border: 0; border-radius: 0; height: 42px; padding: 0 22px; font-size: 11px;
    letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 16px; align-items: center; justify-content: space-between;
    flex: 0 0 320px; width: 320px; /* same width as the totals box above it */
  }
  & .bundle__cta:disabled { background: #c9c7bf; cursor: not-allowed; }
  & .bundle__cta.is-loading,
  & .bundle__cta.is-loading:disabled { background: var(--ink); opacity: .85; cursor: progress; }
  & .bundle__cta-amt { letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
  & .bundle__cta-amt[hidden] { display: none; }
  & .bundle__cta.is-empty { justify-content: center; }

  & .bundle__contents-toggle {
    display: flex; align-items: center; justify-content: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 0;
    height: 42px; padding: 0 18px; min-width: 210px; font-size: 13px; color: var(--ink); white-space: nowrap;
  }
  & .bundle__contents-toggle b { font-weight: 400; }
  & .bundle__contents-toggle .bundle__chev { font-size: 12px; color: var(--ink); }
  & .bundle__contents-toggle:disabled .bundle__chev { color: var(--ink-2); }
  & .bundle__contents-toggle:disabled { color: var(--ink-3); cursor: default; }
  & .bundle__chev { transition: transform .3s; color: var(--ink-2); }
  & .bundle__chev.is-open { transform: rotate(180deg); }

  & .bundle__contents {
    max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.8,.2,1); border-bottom: 0 solid var(--line);
  }
  & .bundle__contents.is-open {
    height: auto; max-height: min(440px, calc(100vh - 170px)); /* fits its contents, up to 440px */
    overflow: auto; border-bottom-width: 1px; margin-bottom: 12px;
  }
  & .bundle__contents-inner {
    max-width: 1240px; margin: 0 auto; padding: 10px 0 8px; display: grid; grid-template-columns: 1fr 320px; gap: 28px;
  }
  & .bundle__clist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
  & .bundle__crow {
    display: grid; grid-template-columns: 22px 34px 1fr auto 24px; gap: 10px; align-items: center;
    font-size: 12.5px; padding: 3px 0; border-bottom: 1px solid var(--paper-2);
  }
  & .bundle__cd { font-family: var(--bundle-font-display); font-size: 18px; font-weight: 600; color: var(--navy); text-align: center; }
  & .bundle__cimg {
    position: relative; width: 34px; height: 34px; border-radius: 5px; overflow: hidden;
    background: linear-gradient(160deg, #fbfaf6, #ece7da); display: block;
  }
  & .bundle__cimg img { width: 100%; height: 100%; object-fit: cover; }
  & .bundle__cnm { line-height: 1.25; }
  & .bundle__cnm small { display: block; color: var(--ink-3); font-size: .85em; line-height: 1.2; margin-top: 1px; }
  & .bundle__cpr { font-weight: 600; }
  & .bundle__crm { background: none; border: 0; color: var(--ink-3); font-size: 21px; line-height: 1; padding: 2px; }
  & .bundle__crm:hover { color: var(--sale); }
  & .bundle__crow--box { grid-column: 1 / -1; }
  & .bundle__cpr--free { color: var(--evergreen); }
  & .bundle__contents-toggle[hidden] { display: none; }
  & .bundle__ctotals { font-size: 13px; align-self: start; background: var(--paper); border-radius: 8px; padding: 10px 12px; }
  & .bundle__ctotals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; }
  & .bundle__ctotals div > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  & .bundle__ctotals div > span:last-child { flex: 0 0 auto; white-space: nowrap; }
  & .bundle__ctotals .bundle__disc s { margin-right: 4px; }
  & .bundle__ctotals .bundle__disc { color: var(--evergreen); }
  & .bundle__ctotals .bundle__grand { font-weight: 600; font-size: 15px; border-top: 1px solid var(--line); margin-top: 5px; padding-top: 8px; }
  & .bundle__ctotals .bundle__grand s { font-weight: 400; font-size: 13px; color: var(--ink-3); margin-left: 6px; }

  /* ── Toast ──────────────────────────────────────────────────────────────── */
  & .bundle__toast {
    position: fixed; left: 50%; transform: translate(-50%, 20px);
    bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px)); background: var(--navy); color: #fff;
    padding: 10px 16px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transition: .3s;
    z-index: 60; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
  }
  & .bundle__toast { visibility: hidden; }
  & .bundle__toast:empty { display: none; }
  & .bundle__toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

  /* ── States ─────────────────────────────────────────────────────────────── */
  & .bundle__empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: var(--ink-3); font-size: 13px; }
  & .bundle__loader {
    display: flex; align-items: center; justify-content: center; min-height: 420px; color: var(--ink-3); font-size: 14px; letter-spacing: .02em;
  }
  & .bundle__loader--inline { grid-column: 1 / -1; min-height: 200px; }
  & .bundle__loader::before {
    content: ""; width: 14px; height: 14px; margin-right: 10px; border: 2px solid #ccc; border-top-color: var(--ink);
    border-radius: 50%; animation: bundle-spin-advent-calendar-v2-80503 .9s linear infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    & *, & *::before, & *::after { transition: none !important; animation: none !important; }
  }

  /* ── Mobile: products inline under the box, sticky chips, box strip, fixed bar ─ */
  @media (max-width: 768px) {
    & { --bar-h: var(--bar-h-mobile); }

    & .bundle__page { display: block; padding: 16px 16px 0; }
    & .bundle__stage { position: static; }
    & .bundle__stage-sticky { position: static; }
    & .bundle__box { width: 100%; }
    & .bundle__title { margin: 0; }
    & .bundle__title h1 { font-size: 30px; }
    & .bundle__subtitle { font-size: 14px; margin-top: 15px; }
    & .bundle__box { margin-top: 16px; }
    & .bundle__tile-rmv { display: none; }
    & .bundle__done-ribbon { font-size: 14px; padding: 4px 12px; }
    & .bundle__ladder-head h2 { font-size: 22px; }
    & .bundle__box-actions .bundle__ghost {
      border-color: var(--line); color: var(--ink-2); font-size: 12px; background: transparent;
      padding: 11px 10px; letter-spacing: 0; min-height: 44px;
    }

    @media (max-width: 360px) {
      & .bundle__box-actions .bundle__ghost { font-size: 11px; padding: 10px 6px; }
    }

    /* Compact strip of the drawers, pinned at the top while the box is scrolled away. */
    & .bundle__ministrip {
      display: flex; position: sticky; top: var(--bundle-sticky-top); z-index: 25; width: 100%;
      align-items: center; gap: 10px; background: #fff; border: 0; border-bottom: 1px solid var(--line);
      padding: 8px 16px; height: 54px; margin-bottom: -54px; text-align: left;
      transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s;
    }
    &.is-strip .bundle__ministrip { transform: none; opacity: 1; pointer-events: auto; }
    & .bundle__mini-tiles { display: grid; gap: 3px; flex: 1; min-width: 0; }
    & .bundle__mt {
      position: relative; aspect-ratio: 1/1; border-radius: 3px; background: var(--navy); overflow: hidden; opacity: .35;
    }
    & .bundle__mt.is-on { opacity: 1; background: linear-gradient(160deg, #fbfaf6, #ece7da); }
    & .bundle__mt img { width: 100%; height: 100%; object-fit: cover; }
    & .bundle__mini-n { font-family: var(--bundle-font-display); font-size: 18px; color: var(--ink-2); flex: 0 0 auto; }
    & .bundle__mini-n b { font-size: 24px; color: var(--ink); font-weight: 600; }

    /* Products inline on the page. */
    & .bundle__picker {
      display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px;
      scroll-margin-top: calc(var(--bundle-sticky-top) + 60px);
    }
    & .bundle__picker-title { margin: 0 0 2px; }
    & .bundle__picker-title h2 { font-size: 28px; }
    & .bundle__chips {
      order: 2; position: sticky; top: var(--bundle-sticky-top); z-index: 20; background: var(--paper);
      padding: 10px 16px; margin: 12px -16px 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
      transition: top .25s;
    }
    & .bundle__chips::-webkit-scrollbar { display: none; }
    &.is-strip .bundle__chips { top: calc(var(--bundle-sticky-top) + 54px); }
    & .bundle__chip { flex: 0 0 auto; min-height: 44px; }

    & .bundle__grid { order: 3; grid-template-columns: 1fr 1fr; gap: 10px; }
    & .bundle__more { order: 4; margin: 18px 0 6px; }
    & .bundle__load-more { width: 100%; min-width: 0; }
    & .bundle__card-meta { padding: 8px 9px 0; }
    & .bundle__add,
    & .bundle__step { margin: 9px 9px 9px; }
    & .bundle__add { min-height: 44px; }
    & .bundle__step button { min-height: 44px; }
    & .bundle__sw { padding: 7px 4px; font-size: 11px; min-height: 44px; }

    & .bundle__bar {
      position: fixed; left: 0; right: 0; bottom: 0; margin: 0;
      box-shadow: 0 -12px 30px rgba(0,0,0,.08); border-top: 1px solid var(--line);
      padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    }
    & .bundle__bar-inner { flex-direction: column; align-items: stretch; gap: 0; overflow-x: clip; }
    & .bundle__bar-top {
      display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px;
    }
    & .bundle__bar-text { padding-right: 8px; flex: 1 1 auto; }
    & .bundle__bar-title { font-size: 13px; }
    & .bundle__bar-sub { font-size: 11.5px; margin-top: 0; }
    & .bundle__edit-box {
      display: block; flex: 0 0 auto; background: none; border: 1px solid var(--line); border-radius: 0;
      padding: 6px 12px; font-size: 12px; color: var(--ink); min-height: 44px;
    }
    & .bundle__edit-box[hidden] { display: none; }
    /* Open cart: a pill in the bar; the cart opens above the button, one column, scrolling inside. */
    & .bundle__contents-toggle {
      display: flex; flex: 0 0 auto; gap: 6px; height: auto; min-height: 44px; min-width: 0; padding: 6px 12px; font-size: 12px; white-space: nowrap;
    }
    & .bundle__contents-toggle[hidden] { display: none; }
    & .bundle__contents.is-open { height: auto; max-height: 55vh; margin-bottom: 10px; }
    & .bundle__contents-inner { grid-template-columns: 1fr; gap: 10px; padding: 4px 0 10px; }
    & .bundle__clist { grid-template-columns: 1fr; gap: 0; }
    & .bundle__crow { grid-template-columns: 18px 36px minmax(0, 1fr) auto 44px; gap: 8px; }
    & .bundle__cd { font-size: 18px; }
    & .bundle__cimg { width: 36px; height: 36px; }
    & .bundle__crm { min-width: 44px; min-height: 44px; }
    & .bundle__ctotals { font-size: 13px; padding: 10px 12px; }
    & .bundle__cta { flex: none; width: 100%; min-width: 0; height: auto; min-height: 44px; padding: 12px 16px; font-size: 11px; }

    /* Capped gap between the last products and whatever follows (max 56px). */
    & .bundle__bar-spacer {
      display: block; height: min(var(--bundle-bar-h, var(--bar-h-mobile)), 56px);
    }
  }
}

@keyframes bundle-spin-advent-calendar-v2-80503 { to { transform: rotate(360deg); } }

/* Nudge the accessiBe trigger above the fixed bar so it doesn't cover the ATC price/counter.
   This is a page-level rule, but it only moves the known third-party trigger and does nothing if it is absent. */
body .acsb-trigger,
body #acsb-trigger,
body [class*="acsb-trigger"] {
  bottom: calc(150px + 18px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 2147482000 !important;
}