#my-custom-bundle[template-id="custom-26490"] {
  --bv-pink: #E8488A;
  --bv-pink-dark: #D33A7A;
  --bv-pink-soft: #FDEEF4;
  --bv-green: #1F3328;
  --bv-leaf: #3E9B5F;
  --bv-cream: #FFF3EA;
  --bv-beige: #EFE4D8;
  --bv-border: #EADFD6;
  --bv-text: #2A2622;
  --bv-muted: #756D66;
  --bv-radius: 12px;
  --bv-serif: "Fraunces", Georgia, "Times New Roman", serif;

  box-sizing: border-box;
  display: block;
  width: 100%;
  color: var(--bv-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;

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

  & [hidden] { display: none !important; }

  & h2, & h3, & h4 {
    margin: 0;
    font-family: var(--bv-serif);
    letter-spacing: normal;
    text-transform: none;
    color: var(--bv-text);
    line-height: 1.2;
  }
  & button, & select { font-family: inherit; letter-spacing: normal; text-transform: none; }
  & button:focus-visible,
  & select:focus-visible,
  & [role="radio"]:focus-visible,
  & .bundle__dialog:focus-visible {
    outline: 2px solid var(--bv-pink);
    outline-offset: 2px;
  }

  /* ── PDP section ───────────────────────────────────────────────────────── */
  & .bundle__page {
    container-type: inline-size;
    width: 100%;
  }
  & .bundle__layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0;
  }

  @container (min-width: 860px) {
    & .bundle__layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      gap: 48px;
      align-items: start;
      padding: 24px 16px;
    }
    & .bundle__hero { position: sticky; top: 24px; }
    & .bundle__title { font-size: 40px; }
  }

  &.is-no-hero .bundle__layout {
    display: flex;
    max-width: 640px;
  }

  /* Hero carousel */
  & .bundle__hero { min-width: 0; }
  & .bundle__hero-media {
    position: relative;
    border-radius: var(--bv-radius);
    overflow: hidden;
    background: var(--bv-cream);
  }
  & .bundle__hero-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  & .bundle__hero-track::-webkit-scrollbar { display: none; }
  & .bundle__hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  & .bundle__hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  & .bundle__hero-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  & .bundle__hero-dots {
    display: flex;
    justify-content: center;
    margin-top: 2px;
  }
  & .bundle__hero-dot {
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  & .bundle__hero-dot::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #D9CEC4;
    transition: width 0.2s ease, background 0.2s ease;
  }
  & .bundle__hero-dot.is-active::before {
    width: 20px;
    background: var(--bv-pink);
  }

  /* Info column */
  & .bundle__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  & .bundle__eyebrow {
    margin: 0;
    color: var(--bv-pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  & .bundle__title {
    font-size: 32px;
    font-weight: 700;
  }
  & .bundle__badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--bv-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  & .bundle__subtitle {
    color: var(--bv-muted);
    font-size: 15px;
  }
  & .bundle__tiers-heading {
    margin-top: 6px;
    font-size: 19px;
    font-weight: 700;
  }

  /* Tier cards */
  & .bundle__tiers {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  & .bundle__tier {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--bv-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  & .bundle__tier.has-badge { margin-top: 10px; }
  & .bundle__tier:hover { border-color: #F2B3CD; }
  & .bundle__tier.is-selected {
    border: 2px solid var(--bv-pink);
    padding: 13.5px 15.5px; /* same outer size with the thicker border */
    background: #FDF0F5;
  }
  & .bundle__tier-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    transform: translateY(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bv-green);
    color: #F6EFD9;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  /* 2×2 grid: name + count | price  /  photos + gift | struck + discount */
  & .bundle__tier-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
  }
  & .bundle__tier-headline {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
  }
  & .bundle__tier-name {
    font-family: var(--bv-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--bv-text);
  }
  & .bundle__tier-meta {
    color: var(--bv-muted);
    font-size: 14px;
  }
  & .bundle__tier-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--bv-text);
    white-space: nowrap;
  }
  & .bundle__tier-sub {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
  }
  & .bundle__tier-price-sub {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
  }
  & .bundle__tier-compare {
    color: #8C847D;
    font-size: 14px;
    text-decoration: line-through;
  }
  & .bundle__tier-discount {
    color: var(--bv-pink);
    font-size: 14px;
    font-weight: 700;
  }
  & .bundle__tier-avatars {
    display: flex;
    gap: 4px;
  }
  & .bundle__tier-avatar {
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #CFE3D5;
    background: var(--bv-cream);
    overflow: hidden;
  }
  & .bundle__tier-avatar { transition: opacity 0.2s ease, filter 0.2s ease, border-color 0.2s ease; }
  & .bundle__tier-avatar.is-faded {
    opacity: 0.35;
    filter: grayscale(0.6);
    border-color: #E6DCD3;
  }
  & .bundle__tier-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  & .bundle__tier-gift {
    color: var(--bv-leaf);
    font-size: 14px;
    font-weight: 600;
  }

  /* Breakdown: white inset box, 2 columns, pink quantities */
  & .bundle__tier-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    list-style: none;
  }
  & .bundle__tier-breakdown li {
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--bv-text);
  }
  & .bundle__tier-breakdown li::before,
  & .bundle__tier-breakdown li::marker { content: none; }
  & .bundle__tier-qty {
    color: var(--bv-pink);
    font-weight: 700;
  }
  & .bundle__tier-breakdown .bundle__tier-note {
    grid-column: 1 / -1;
    color: var(--bv-leaf);
    font-weight: 700;
  }

  & .bundle__cta {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(232, 72, 138, 0.3);
    transition: background 0.15s ease;
  }
  & .bundle__cta:hover { background: var(--bv-pink-dark); }
  & .bundle__cta:disabled {
    background: #D8CFC8;
    box-shadow: none;
    cursor: not-allowed;
  }

  /* ── Builder modal ─────────────────────────────────────────────────────── */
  & .bundle__modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  & .bundle__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(31, 51, 40, 0.55);
  }
  & .bundle__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1000px, 100%);
    height: min(860px, calc(100vh - 48px));
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    outline: none;
  }
  & .bundle__modal-head {
    flex: 0 0 auto;
    padding: 12px 24px 16px;
    background: var(--bv-cream);
  }
  & .bundle__modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  & .bundle__modal-back {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bv-green);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  & .bundle__modal-discount {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  & .bundle__modal-heading {
    margin: 2px 0 12px;
    font-family: var(--bv-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bv-green);
  }
  & .bundle__pills {
    position: relative;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 2px;
  }
  & .bundle__pills::-webkit-scrollbar { display: none; }
  /* 44px tap area; the visible pill is the slimmer face inside. */
  & .bundle__pill {
    flex: 1 1 0;
    min-width: 48px;
    max-width: 72px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  & .bundle__pill-face {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 30px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: #F3E3D3;
    color: var(--bv-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: background 0.15s ease, color 0.15s ease;
  }
  & .bundle__pill:hover .bundle__pill-face { filter: brightness(0.97); }
  & .bundle__pill-tick {
    font-size: 12px;
    font-weight: 700;
  }
  & .bundle__pill.is-done .bundle__pill-face {
    background: #2FA25A;
    color: #fff;
  }
  & .bundle__pill.is-active .bundle__pill-face {
    background: var(--bv-pink);
    color: #fff;
  }
  & .bundle__pill.is-over .bundle__pill-face {
    background: #fff;
    border-color: var(--bv-pink);
    color: var(--bv-pink);
  }
  & .bundle__pill:focus-visible { outline: none; }
  & .bundle__pill:focus-visible .bundle__pill-face {
    outline: 2px solid var(--bv-pink);
    outline-offset: 2px;
  }

  & .bundle__modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: #DCCFC4 transparent;
  }
  & .bundle__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
  }

  /* Product cards */
  & .bundle__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border: 1.5px solid #EFE6DE;
    border-radius: var(--bv-radius);
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  & .bundle__card.is-selected {
    border-color: var(--bv-pink);
    background: #FFF8FB;
  }
  & .bundle__card-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #FAF5F0;
  }
  & .bundle__card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  & .bundle__card-count {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  & .bundle__card-title {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  & .bundle__card-variant-select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--bv-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bv-text);
    font-size: 14px;
    cursor: pointer;
  }
  & .bundle__add-btn {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0 12px;
    border: 1.5px solid var(--bv-pink);
    border-radius: 999px;
    background: #fff;
    color: var(--bv-pink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  & .bundle__add-btn:hover { background: var(--bv-pink); color: #fff; }
  & .bundle__add-btn:disabled,
  & .bundle__add-btn:disabled:hover {
    border-color: #E6DCD3;
    background: #F7F3EF;
    color: #B3A99F;
    cursor: not-allowed;
  }
  & .bundle__stepper {
    display: flex;
    align-items: stretch;
    height: 44px;
    margin-top: auto;
    border-radius: 999px;
    background: var(--bv-pink);
    overflow: hidden;
  }
  & .bundle__stepper-btn {
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
  }
  & .bundle__stepper-btn:hover { background: rgba(0, 0, 0, 0.08); }
  & .bundle__stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: transparent;
  }
  & .bundle__stepper-qty {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
  }

  /* Bottom bar */
  & .bundle__bar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: "row atc" "track atc" "toggle atc";
    column-gap: 24px;
    align-items: center;
    padding: 16px 24px;
    background: var(--bv-green);
    color: #fff;
  }
  & .bundle__bar-row {
    grid-area: row;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  & .bundle__bar-msg {
    font-size: 14px;
    font-weight: 600;
  }
  & .bundle__bar-count {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  & .bundle__bar-track {
    grid-area: track;
    height: 6px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
  }
  & .bundle__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--bv-pink);
    transition: width 0.3s ease;
  }
  & .bundle__atc-btn {
    grid-area: atc;
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  & .bundle__atc-btn:hover { background: var(--bv-pink-dark); }
  & .bundle__atc-btn:disabled {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
  }
  & .bundle__atc-btn.is-loading,
  & .bundle__atc-btn.is-loading:disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bv-pink);
    color: #fff;
    cursor: progress;
    opacity: 0.85;
  }
  & .bundle__atc-btn.is-loading::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: bundle-spin-custom-26490 0.9s linear infinite;
  }

  /* Bottom bar: "Voir mon coffret" toggle */
  & .bundle__bar-items-btn {
    grid-area: toggle;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin-top: 10px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  & .bundle__bar-items-btn:hover,
  & .bundle__bar-items-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); }
  & .bundle__bar-items-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bv-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
  }
  & .bundle__bar-items-chevron {
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(2px) rotate(-45deg);
    transition: transform 0.2s ease;
  }
  & .bundle__bar-items-btn[aria-expanded="true"] .bundle__bar-items-chevron {
    transform: translateY(-2px) rotate(135deg);
  }

  /* Selected-items panel (above the green bar) */
  & .bundle__items {
    flex: 0 0 auto;
    max-height: min(46vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 24px 16px;
    background: var(--bv-cream);
    border-top: 1px solid var(--bv-border);
    box-shadow: 0 -10px 24px rgba(31, 51, 40, 0.08);
    scrollbar-width: thin;
    scrollbar-color: #DCCFC4 transparent;
  }
  & .bundle__items-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0 4px;
    background: var(--bv-cream);
  }
  & .bundle__items-title {
    font-family: var(--bv-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--bv-green);
  }
  & .bundle__items-counter {
    color: var(--bv-muted);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  & .bundle__items-clear {
    margin-left: auto;
    min-height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--bv-pink);
    border-radius: 999px;
    background: transparent;
    color: var(--bv-pink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  & .bundle__items-clear:hover { background: var(--bv-pink-soft); }
  & .bundle__items-clear.is-armed,
  & .bundle__items-clear.is-armed:hover {
    background: var(--bv-pink);
    color: #fff;
  }
  & .bundle__items-clear + .bundle__items-close { margin-left: 0; }
  & .bundle__items-close {
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--bv-green);
    font-size: 16px;
    cursor: pointer;
  }
  & .bundle__items-close:hover { background: var(--bv-beige); }
  & .bundle__items-group { margin-top: 8px; }
  & .bundle__items-group-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--bv-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  & .bundle__items-group-count {
    color: var(--bv-pink);
    font-variant-numeric: tabular-nums;
  }
  & .bundle__items-group-count.is-done { color: #2FA25A; }
  & .bundle__items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  & .bundle__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 6px 4px 6px 8px;
    border: 1px solid #EFE6DE;
    border-radius: var(--bv-radius);
    background: #fff;
  }
  & .bundle__item::before,
  & .bundle__item::marker { content: none; }
  & .bundle__item-thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #FAF5F0;
    overflow: hidden;
  }
  & .bundle__item-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  & .bundle__item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  & .bundle__item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bv-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  & .bundle__item-variant {
    font-size: 12.5px;
    color: var(--bv-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  & .bundle__item-qty {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bv-pink-soft);
    color: var(--bv-pink);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  & .bundle__item-remove {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--bv-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  & .bundle__item-remove:hover { background: var(--bv-pink-soft); }
  & .bundle__item-remove-icon { display: inline-flex; }
  & .bundle__item-remove svg { display: block; width: 20px; height: 20px; }
  & .bundle__items-empty {
    padding: 16px 0 8px;
    text-align: center;
    color: var(--bv-muted);
    font-size: 14px;
  }

  /* Empty / loading */
  & .bundle__empty {
    grid-column: 1 / -1;
    padding: 32px 16px;
    text-align: center;
    color: var(--bv-muted);
  }
  & .bundle__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
  }
  & .bundle__loader--grid {
    grid-column: 1 / -1;
    min-height: 240px;
  }
  & .bundle__loader::before {
    content: "";
    width: 22px;
    height: 22px;
    border: 2px solid var(--bv-beige);
    border-top-color: var(--bv-pink);
    border-radius: 50%;
    animation: bundle-spin-custom-26490 0.9s linear infinite;
  }

  /* ── Mobile ────────────────────────────────────────────────────────────── */
  @media (max-width: 768px) {
    & .bundle__modal { padding: 0; }
    & .bundle__dialog {
      width: 100%;
      height: 100vh;
      height: 100dvh;
      border-radius: 0;
    }
    & .bundle__modal-head { padding: 8px 16px 14px; }
    & .bundle__modal-heading { font-size: 24px; }
    & .bundle__modal-body { padding: 14px 16px; }
    & .bundle__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    & .bundle__card { padding: 8px; }
    & .bundle__card-variant-select { font-size: 16px; min-height: 44px; }
    /* Message + counter + arrow on one line, then the progress track, then Add to cart. */
    & .bundle__bar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas: "row toggle" "track track" "atc atc";
      column-gap: 10px;
      align-items: center;
      padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
    }
    & .bundle__bar-row { align-items: center; }
    & .bundle__bar-track { margin: 6px 0 12px; }
    /* Compact round ^ arrow: text kept for screen readers only, count already shown as 12/14. */
    & .bundle__bar-items-btn {
      position: relative;
      justify-self: end;
      justify-content: center;
      width: 44px;
      height: 44px;
      min-height: 44px;
      margin: 0;
      padding: 0;
      gap: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
    }
    & .bundle__bar-items-text {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }
    & .bundle__bar-items-count { display: none; }
    & .bundle__bar-items-chevron {
      width: 9px;
      height: 9px;
    }
    & .bundle__items {
      max-height: 50vh;
      max-height: 50dvh;
      padding: 0 16px 14px;
    }
    & .bundle__items-list { grid-template-columns: minmax(0, 1fr); }
    & .bundle__items-head { gap: 8px; }
    & .bundle__items-title { font-size: 17px; }
    & .bundle__items-clear { padding: 0 12px; }
    & .bundle__title { font-size: 30px; }
    & .bundle__tier-name { font-size: 21px; }
    & .bundle__tier-price { font-size: 19px; }
    & .bundle__tier-breakdown {
      gap: 6px 12px;
      padding: 10px 12px;
    }
    & .bundle__tier-breakdown li { font-size: 13.5px; }
    @media (max-width: 359px) {
      & .bundle__tier-breakdown { grid-template-columns: minmax(0, 1fr); }
    }
  }
}

body.bundle-scroll-lock-custom-26490 { overflow: hidden; }

@keyframes bundle-spin-custom-26490 {
  to { transform: rotate(360deg); }
}