/* Gindo's gift box builder: every rule is scoped to this template's root */
#my-custom-bundle[template-id="gift-box-builder-14961"] {
  --gx-accent: #CE203E;
  --gx-accent-soft: #F0A9B6;
  --gx-text: #363636;
  --gx-muted: #7B7B7B;
  --gx-line: #DCDCDC;
  --gx-serif: "New York", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", Times, serif;

  display: block;
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  /* Space between the store header and the banner */
  padding: 32px 20px 0;
  background: #FFFFFF;
  color: var(--gx-text);
  font-family: var(--gx-serif);
  font-size: 15px;
  line-height: 27px;

  /* Reset theme styles inside the widget */
  & *,
  & *::before,
  & *::after { box-sizing: inherit; }
  & h2, & h3, & h4, & p {
    margin: 0;
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
  }
  & button, & select, & input, & textarea {
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
  }
  & [hidden] { display: none !important; }
  & button:focus-visible,
  & select:focus-visible,
  & input:focus-visible,
  & textarea:focus-visible {
    outline: 2px solid var(--gx-accent);
    outline-offset: 2px;
  }

  /* Red outline button, like the store's ADD TO CART */
  & .bundle__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--gx-accent);
    border-radius: 2px;
    background: transparent;
    color: var(--gx-accent);
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__btn:hover:not(:disabled),
  & .bundle__btn.is-filled { background: var(--gx-accent); color: #FFFFFF; }
  & .bundle__btn:disabled {
    border-color: var(--gx-line);
    background: none;
    color: var(--gx-muted);
    cursor: default;
  }
  /* Invisible 44px tap area around the smaller buttons */
  & .bundle__btn::after,
  & .bundle__chip::after,
  & .bundle__qty-btn::after,
  & .bundle__view::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }

  /* Page title */
  & .bundle__intro { text-align: center; padding: 0 0 6px; }
  & .bundle__title { font-size: 30px; line-height: 42px; font-weight: 400; }
  & .bundle__subtitle { margin-top: 4px; }

  /* Hero banner */
  & .bundle__hb {
    position: relative;
    margin: 0;
    background: #F7F0E6;
    border-radius: 2px;
    overflow: hidden;
    text-align: left;
    color: #2A2A2A;
  }
  & .bundle__hb-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 280px;
    padding: 34px 48px 26px;
  }
  & .bundle__hb.is-no-photo .bundle__hb-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  /* Banner photo wrapper (desktop + phone photos): the photo itself places as before */
  & .bundle__hb-pic { position: absolute; inset: 0; display: block; margin: 0; pointer-events: none; }
  & .bundle__hb-pic source { display: none; }
  /* A phone-only photo stays hidden on desktop */
  & .bundle__hb-photo.is-m-only { display: none; }
  & .bundle__hb-tx { position: relative; z-index: 1; grid-column: 1; grid-row: 1; }
  & .bundle__hb-rate { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--gx-text); }
  & .bundle__hb-rate b { font-weight: 700; }
  & .bundle__hb-stars { color: var(--gx-accent); letter-spacing: 1px; font-size: 15px; line-height: 1; }
  & .bundle__hb-title { margin-top: 12px; font-size: 44px; line-height: 52px; font-weight: 400; color: #1F1F1F; text-wrap: balance; }
  & .bundle__hb-big { margin-top: 6px; font-size: 22px; line-height: 34px; color: #1F1F1F; }
  & .bundle__hb-big b,
  & .bundle__hb-big strong { color: var(--gx-accent); font-size: 34px; font-weight: 700; }
  & .bundle__hb-lede { margin-top: 10px; max-width: 440px; font-size: 16px; line-height: 26px; color: var(--gx-text); text-wrap: balance; }
  & .bundle__hb-photo {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: auto;
    height: 100%;
    max-width: 70%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
    mask-image: linear-gradient(to right, transparent 0, #000 30%);
    pointer-events: none;
  }
  /* Quote + trust band along the bottom */
  & .bundle__hb-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 14px 48px;
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }
  & .bundle__hb-q { flex: 1 1 380px; min-width: 0; margin: 0; font-size: 14px; line-height: 21px; text-wrap: pretty; }
  & .bundle__hb-q blockquote { display: inline; margin: 0; padding: 0; border: 0; font-size: inherit; line-height: inherit; font-style: italic; }
  & .bundle__hb-q figcaption { display: inline; margin-left: 8px; white-space: nowrap; color: var(--gx-muted); }
  & .bundle__hb-trust { flex: none; display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
  & .bundle__hb-trust li { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
  & .bundle__hb-trust svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gx-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

  /* Banner on smaller screens */
  @media (max-width: 1100px) {
    & .bundle__hb-in { padding: 30px 32px 22px; }
    & .bundle__hb-band { padding: 14px 32px; }
    & .bundle__hb-title { font-size: 38px; line-height: 46px; }
  }
  /* Banner on phones: photo on top, centred text, trust icons in three columns */
  @media (max-width: 860px) {
    & .bundle__hb { margin-top: 0; }
    & .bundle__hb-in,
    & .bundle__hb.is-no-photo .bundle__hb-in { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding: 0; }
    & .bundle__hb.is-no-photo:not(.has-m-photo) .bundle__hb-tx { padding-top: 18px; }
    & .bundle__hb-photo {
      position: relative;
      order: -1;
      width: 100%;
      max-width: none;
      height: 178px;
      object-position: 94% 60%;
      -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
      mask-image: linear-gradient(to bottom, #000 78%, transparent);
    }
    & .bundle__hb-pic { position: relative; inset: auto; order: -1; }
    & .bundle__hb-tx { grid-column: auto; grid-row: auto; padding: 4px 16px 14px; text-align: center; }
    & .bundle__hb-rate { justify-content: center; font-size: 13px; }
    & .bundle__hb-title { margin-top: 8px; font-size: 28px; line-height: 36px; }
    & .bundle__hb-big { margin-top: 2px; font-size: 18px; line-height: 28px; }
    & .bundle__hb-big b,
    & .bundle__hb-big strong { font-size: 26px; }
    & .bundle__hb-lede { max-width: 340px; margin: 6px auto 0; font-size: 14px; line-height: 22px; }
    & .bundle__hb-band { justify-content: center; gap: 8px; padding: 10px 8px; }
    & .bundle__hb-trust { order: -1; flex: 1 1 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; font-size: 12px; line-height: 16px; }
    & .bundle__hb-trust li { flex-direction: column; gap: 3px; white-space: normal; text-align: center; }
    & .bundle__hb-trust svg { width: 20px; height: 20px; }
    & .bundle__hb-q { display: none; }
    /* Phone photo: shown at its own shape, centred */
    & .bundle__hb-photo.is-m-only { display: block; }
    & .bundle__hb.has-m-photo .bundle__hb-photo { height: auto; max-height: 320px; object-position: center; }
  }

  /* Section headings: Pick a starter kit, Make it yours, Add a gift note */
  & .bundle__kits-heading,
  & .bundle__k-h,
  & .bundle__note-title {
    display: block;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    padding-bottom: 6px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gx-line);
  }

  /* Starter kit cards: no border until selected */
  & .bundle__kits { padding-top: 26px; }
  & .bundle__kits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
  }
  & .bundle__kit {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 12px 10px 14px;
    border: 1px solid transparent;
    border-radius: 2px;
  }
  & .bundle__kit.is-selected { border-color: var(--gx-accent); }
  & .bundle__kit-media,
  & .bundle__kit-own-media {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  & .bundle__kit-img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
  /* Kit bottles grouped together, the middle one in front */
  & .bundle__kit-bottles {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  & .bundle__kit-bottle {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 22%;
    max-width: 64px;
    height: 94%;
    margin: 0 -1px;
    object-fit: cover;
    object-position: center bottom;
    mix-blend-mode: multiply;
  }
  & .bundle__kit-bottles.is-3 .bundle__kit-bottle:nth-child(2) { z-index: 1; height: 100%; }
  & .bundle__kit-body { flex: 1; display: flex; flex-direction: column; }
  & .bundle__kit-name { margin-top: 10px; font-size: 17px; line-height: 24px; font-weight: 400; }
  & .bundle__kit-desc {
    margin-top: 2px;
    height: 36px;
    font-size: 13px;
    line-height: 18px;
    color: var(--gx-muted);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  & .bundle__kit-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 6px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }
  & .bundle__kit-price .bundle__price-was { margin-right: 6px; font-size: 14px; font-weight: 400; }
  & .bundle__kit-body > :nth-last-child(2) { margin-bottom: 12px; }
  & .bundle__kit-body > .bundle__btn { height: 42px; padding: 0; margin-top: auto; }

  /* Build your own: dashed 3-slot frame */
  & .bundle__kit-own-frame {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 150px;
    height: 96px;
    padding: 12px;
    border: 1px dashed #B5B5B5;
    border-radius: 2px;
  }
  & .bundle__kit-own-slot { display: block; border: 1px dashed #CFCFCF; border-radius: 2px; }

  /* Prices */
  & .bundle__price-now { font-weight: 700; }
  & .bundle__price-was {
    color: var(--gx-muted);
    font-size: 13px;
    text-decoration: line-through;
  }

  /* Two-column builder: gift box + picker */
  & .bundle__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 64px 0 24px;
  }
  & .bundle__boxcol {
    position: sticky;
    top: 150px;
    padding-top: 26px;
  }

  /* Gift box: black box with a soft drop shadow */
  & .bundle__box {
    position: relative;
    padding: 14px;
    background: #111111;
    border-radius: 2px;
    box-shadow: 0 22px 30px -20px rgba(0, 0, 0, 0.55);
  }
  /* Ribbon down the top strip */
  & .bundle__ribbon {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: -14px;
    bottom: -10px;
    width: 14px;
    margin-left: -7px;
    background: linear-gradient(90deg, #B01B33, #D4264A 45%, #B01B33);
  }
  /* Bow */
  & .bundle__bow {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: -38px;
    width: 120px;
    margin-left: -60px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  & .bundle__bow svg { display: block; width: 100%; height: auto; }
  /* Top strip: logo + size label */
  & .bundle__box-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 24px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
  }
  & .bundle__box-logo { position: relative; z-index: 1; display: block; height: 24px; width: auto; }
  & .bundle__box-name { position: relative; z-index: 1; font-size: 14px; font-style: italic; text-transform: none; }
  & .bundle__box-size { position: relative; z-index: 1; }

  /* Tray of bottle slots on cream tissue */
  & .bundle__tray {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    height: 296px;
    padding: 8px;
    background: #F4ECDF;
  }
  & .bundle__tray.is-many {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* Slots: filled solid, empty dashed */
  & .bundle__slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 30px 6px 10px;
    background: #FFFCF6;
    border: 1px solid #E2D4BC;
    border-radius: 2px;
  }
  & button.bundle__slot {
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: rgba(255, 252, 246, 0.55);
    border-style: dashed;
    border-color: #D3C2A4;
  }
  & button.bundle__slot:hover { background: #FFFCF6; border-color: #B9A27C; }
  & .bundle__slot-outline { height: 72%; max-height: 170px; width: auto; opacity: 0.9; }
  & .bundle__slot-dot {
    position: absolute;
    top: 12px;
    left: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  & .bundle__slot-bottle {
    position: relative;
    width: 34px;
    height: 90px;
    border: 1.5px dashed #D3C2A4;
    border-radius: 10px 10px 6px 6px;
  }
  & .bundle__slot-bottle::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%);
    border: 1.5px dashed #D3C2A4;
    border-bottom: 0;
  }
  /* Round plus on an empty slot */
  & .bundle__slot-add {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -6px 0 0 -17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D3C2A4;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  & .bundle__slot-add svg { width: 14px; height: 14px; stroke: var(--gx-accent); stroke-width: 2.4; fill: none; }
  & .bundle__slot-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  & .bundle__slot-num {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 12px;
    line-height: 18px;
    color: var(--gx-muted);
  }
  /* Small X on a filled slot (44px tap area) */
  & .bundle__slot-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: none;
    color: #9A9A9A;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  }
  & .bundle__slot-remove::before {
    content: "";
    position: absolute;
    inset: -10px;
  }
  & .bundle__slot-remove:hover {
    background: #FFFFFF;
    border-color: var(--gx-line);
    color: var(--gx-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }
  & .bundle__slot-remove svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 2.4; fill: none; }
  /* Line under the box */
  & .bundle__box-status {
    margin-top: 12px;
    min-height: 24px;
    font-size: 15px;
    line-height: 22px;
  }
  & .bundle__box-status strong,
  & .bundle__box-status b { color: var(--gx-accent); }

  /* Step chips and the Bottle size label */
  & .bundle__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  & .bundle__slab { margin: 0 0 6px; font-size: 15px; line-height: 27px; }

  /* Bottle size chips, like the store's size swatches */
  & .bundle__chips.bundle__tabs,
  & .bundle__chips.bundle__steps {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 0;
  }
  & .bundle__chip {
    position: relative;
    padding: 7px 14px;
    border: 1px solid var(--gx-line);
    border-radius: 0;
    background: #FFFFFF;
    color: var(--gx-text);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__tabs .bundle__chip,
  & .bundle__steps .bundle__chip { padding: 7px 6px; }
  & .bundle__chip.is-active { border-color: var(--gx-text); box-shadow: inset 0 0 0 1px var(--gx-text); }
  & .bundle__chip-sub {
    display: block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--gx-muted);
    white-space: normal;
  }

  /* Space between the size chips and the sauce tabs */
  & .bundle__steps + .bundle__tabs + .bundle__heatbar-ph,
  & .bundle__heatbar { margin-top: 16px; }

  /* Sauce grid: centred cards, no border */
  & .bundle__grid,
  & .bundle__sec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 14px;
  }
  /* Space between the size chips and the sauces when there are no tabs (8oz) */
  & .bundle__heatbar[hidden] + .bundle__grid { margin-top: 32px; }

  /* Heat level filter: small label over tabs, each underlined in its heat colour */
  /* Sticky heat filter: stays at the top while the sauces scroll, just under the theme's sticky header */
  & .bundle__heatbar {
    position: sticky;
    top: var(--gx-sticky-top, 0px);
    z-index: 5;
    margin: 0 0 24px;
    padding: 8px 0 12px;
    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    transition: top 0.2s ease;
  }
  /* Heat filter pinned by hand when the theme blocks sticky, with a spacer holding its place */
  & .bundle__heatbar.is-pinned {
    position: fixed;
    z-index: 15;
    margin: 0;
    transition: none;
  }
  & .bundle__heatbar-ph { margin: 0 0 24px; }
  /* Category tabs: centred text tabs, the active one red with a red underline, a light line below */
  & .bundle__cattabs {
    display: flex;
    gap: 28px;
    margin: 0 0 14px;
    border-bottom: 1px solid #EEEEEE;
    overflow-x: auto;
    scrollbar-width: none;
  }
  & .bundle__cattabs::-webkit-scrollbar { display: none; }
  /* Scrolling tab rows: arrow buttons at the ends, like the store's */
  & .bundle__scroller { position: relative; }
  & .bundle__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    padding: 0;
    border: 1px solid var(--gx-line);
    border-radius: 3px;
    background: #FFFFFF;
    color: var(--gx-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    cursor: pointer;
  }
  & .bundle__arrow:hover { border-color: #B5B5B5; }
  & .bundle__arrow-next { right: 0; }
  & .bundle__arrow-prev { left: 0; }
  /* Soft white fade so the tabs don't look cut off under the arrow */
  & .bundle__arrow::before {
    content: "";
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 22px;
    pointer-events: none;
  }
  & .bundle__arrow-next::before { right: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0), #FFFFFF); }
  & .bundle__arrow-prev::before { left: 100%; background: linear-gradient(to left, rgba(255, 255, 255, 0), #FFFFFF); }
  /* 44px tap area */
  & .bundle__arrow::after { content: ""; position: absolute; inset: -8px; }
  & .bundle__arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  & .bundle__cat-tab:first-child { margin-left: auto; }
  & .bundle__cat-tab:last-child { margin-right: auto; }
  & .bundle__cat-tab {
    position: relative;
    flex: none;
    min-height: 44px;
    padding: 10px 2px 12px;
    border: 0;
    background: none;
    color: var(--gx-text);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__cat-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent;
  }
  & .bundle__cat-tab:hover { color: var(--gx-accent); }
  & .bundle__cat-tab.is-active { color: var(--gx-accent); }
  & .bundle__cat-tab.is-active::after { background: var(--gx-accent); }
  & .bundle__heat-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  & .bundle__heat-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    margin-left: -1px;
    padding: 6px 8px;
    border: 1px solid var(--gx-line);
    border-bottom: 3px solid var(--gx-tab, var(--gx-line));
    border-radius: 0;
    background: #FFFFFF;
    color: var(--gx-text);
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__heat-tab:first-child { margin-left: 0; }
  & .bundle__heat-count { font-size: 13px; font-weight: 400; color: var(--gx-muted); }
  & .bundle__heat-tab:hover:not(:disabled) { background: #FAFAFA; }
  /* Active heat tab: filled in its heat colour, white text */
  & .bundle__heat-tab.is-active,
  & .bundle__heat-tab.is-active:hover:not(:disabled) {
    position: relative;
    z-index: 1;
    border-color: var(--gx-tab);
    background: var(--gx-tab);
    color: #FFFFFF;
  }
  & .bundle__heat-tab.is-active .bundle__heat-count { color: rgba(255, 255, 255, 0.85); }
  & .bundle__heat-tab:disabled { opacity: 0.45; cursor: default; }

  /* Category sections: name + count over a line, then the sauces */
  & .bundle__sec + .bundle__sec { margin-top: 36px; }
  & .bundle__sec-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gx-line);
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
  }
  & .bundle__sec-count { font-size: 14px; line-height: 20px; color: var(--gx-muted); }
  & .bundle__card { display: flex; flex-direction: column; min-width: 0; text-align: center; }
  /* Sauce photo: tap to open the details popup */
  & .bundle__card-media {
    display: block;
    width: 100%;
    height: 130px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  & .bundle__card-img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s ease; }
  & .bundle__card-media:hover .bundle__card-img { transform: scale(1.04); }
  /* Sauce name: shown in full, never cut off */
  & .bundle__card-title {
    margin-top: 6px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  & .bundle__heat { height: 16px; font-size: 12px; line-height: 16px; color: var(--gx-muted); }
  & .bundle__heat-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--gx-heat, var(--gx-line));
  }
  & .bundle__card-price { font-size: 14px; line-height: 20px; font-weight: 700; }
  & .bundle__card-price .bundle__price-was { margin-left: 6px; font-weight: 400; }
  & .bundle__card-select {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    padding: 0 8px;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    background: #FFFFFF;
    color: var(--gx-text);
    font-size: 14px;
  }
  & .bundle__card-ctl { margin-top: auto; padding-top: 8px; }
  & .bundle__card .bundle__btn { height: 36px; padding: 5px 0; font-size: 13px; }

  /* Quantity box with − and + */
  & .bundle__qty { display: flex; width: 100%; height: 36px; }
  & .bundle__qty-btn,
  & .bundle__qty-num {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DFDFDF;
    font-size: 15px;
  }
  & .bundle__qty-btn {
    position: relative;
    padding: 0;
    border-radius: 2px;
    background: none;
    color: var(--gx-accent);
    cursor: pointer;
  }
  & .bundle__qty-btn svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; }
  & .bundle__qty-btn:disabled { color: var(--gx-line); cursor: default; }
  & .bundle__qty-num { border-left: 0; border-right: 0; font-weight: 700; }
  & .bundle__empty {
    grid-column: 1 / -1;
    padding: 24px;
    text-align: center;
    color: var(--gx-muted);
  }
  & .bundle__more { margin-top: 22px; }

  /* Gift note: a paper card you write on */
  & .bundle__note { margin-top: 34px; }
  & .bundle__note-optional { margin-left: 8px; font-size: 14px; color: var(--gx-muted); }
  & .bundle__note-card {
    position: relative;
    padding: 22px 26px 18px;
    background: #FFFDF7;
    border: 1px solid #E6DECD;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 14px 26px -16px rgba(70, 45, 10, 0.4);
  }
  & .bundle__note-card::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 26px;
    height: 26px;
    background: linear-gradient(225deg, #FFFFFF 0 50%, #EDE4D2 50% 100%);
    box-shadow: -1px 1px 2px rgba(70, 45, 10, 0.12);
  }
  & .bundle__note-head {
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gx-muted);
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--gx-accent);
  }
  & .bundle__note-row { display: flex; align-items: baseline; gap: 8px; font-size: 17px; line-height: 32px; }
  & .bundle__note-row.is-from { justify-content: flex-end; }
  & .bundle__note-label { flex: none; color: var(--gx-muted); }
  & .bundle__note-input {
    flex: 1;
    min-width: 0;
    padding: 0 2px;
    border: 0;
    background: none;
    color: var(--gx-text);
    font-size: 18px;
    line-height: 30px;
    outline: none;
  }
  & .bundle__note-row.is-from .bundle__note-input { flex: 0 1 220px; }
  & .bundle__note-text {
    display: block;
    width: 100%;
    height: 130px;
    margin: 4px 0 6px;
    padding: 1px 2px 0;
    border: 0;
    resize: none;
    outline: none;
    color: var(--gx-text);
    font-size: 18px;
    line-height: 32px;
    background: none;
    background-image: linear-gradient(transparent 31px, #E7DECB 31px);
    background-size: 100% 32px;
    background-attachment: local;
  }
  & .bundle__note-input:focus-visible,
  & .bundle__note-text:focus-visible { outline: none; }
  & .bundle__note-input::placeholder,
  & .bundle__note-text::placeholder { color: #B3A994; }
  & .bundle__note-count { margin-top: 6px; text-align: right; font-size: 13px; color: var(--gx-muted); }

  /* Dim the page behind the open drawer */
  & .bundle__scrim {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  &.is-drawer-open .bundle__scrim { opacity: 1; pointer-events: auto; }
  /* Tabs sink under the dimmed page while the list is open (beats the theme's z-index: 50 !important) */
  &.is-drawer-open .bundle__heatbar,
  &.is-drawer-open .bundle__heatbar.is-pinned { z-index: 4 !important; }

  /* Sticky bottom bar */
  & .bundle__bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    margin: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--gx-line);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  }
  & .bundle__bar-inner { display: flex; align-items: center; gap: 18px; max-width: 1000px; height: 64px; margin: 0 auto; padding: 0 20px; }
  & .bundle__bar-info { flex: 0 1 auto; min-width: 0; }
  & .bundle__bar-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    white-space: nowrap;
  }
  & .bundle__badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 2px;
    background: #049047;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    vertical-align: middle;
  }
  & .bundle__bar-hint {
    font-size: 13px;
    line-height: 18px;
    color: var(--gx-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  & .bundle__bar-line { display: none; }

  /* Small bottle images in the bar */
  & .bundle__bar-thumbs { display: flex; flex: none; margin-left: 8px; }
  & .bundle__bar-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 46px;
    padding: 3px;
    border: 1px solid var(--gx-line);
    border-radius: 2px;
    background: #FFFFFF;
  }
  & .bundle__bar-thumb + .bundle__bar-thumb { margin-left: -1px; }
  & .bundle__bar-thumb img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
  & .bundle__bar-thumb.is-more { font-size: 14px; color: var(--gx-muted); }

  /* View / Hide toggle */
  & .bundle__view {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    padding: 6px 2px;
    border: 0;
    background: none;
    color: var(--gx-text);
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__view-label { min-width: 34px; text-align: right; color: var(--gx-accent); font-weight: 700; }
  & .bundle__view:hover .bundle__view-label { text-decoration: underline; text-underline-offset: 3px; }
  & .bundle__view-caret { display: flex; }
  & .bundle__view-caret svg {
    width: 22px;
    height: 22px;
    stroke: var(--gx-accent);
    stroke-width: 2.6;
    fill: none;
    transition: transform 0.2s;
  }
  & .bundle__bar.is-open .bundle__view-caret svg { transform: rotate(180deg); }
  /* Phone label of the toggle (Review) */
  & .bundle__view-label-m { display: none; }

  /* Total */
  & .bundle__bar-total { text-align: right; white-space: nowrap; }
  & .bundle__bar-total .bundle__price-was { display: block; height: 16px; font-size: 13px; line-height: 16px; }
  & .bundle__bar-total .bundle__price-now { display: block; font-size: 20px; line-height: 26px; }

  /* Add to cart button */
  & .bundle__atc {
    min-width: 240px;
    height: 44px;
    padding: 10px 26px;
    border: 1px solid var(--gx-accent);
    border-radius: 2px;
    background: var(--gx-accent);
    color: #FFFFFF;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
  }
  & .bundle__atc[aria-disabled="true"] { background: #E3DBD4; border-color: #E3DBD4; color: #6B6560; }
  & .bundle__atc.is-loading,
  & .bundle__atc.is-loading:disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gx-accent);
    color: #FFFFFF;
    cursor: progress;
    opacity: 0.85;
  }
  & .bundle__atc.is-loading::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: bundle-spin-gift-box-builder-14961 0.9s linear infinite;
  }
  & .bundle__atc-price { display: none; }

  /* Drawer above the bar */
  & .bundle__drawer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    max-height: calc(100vh - 160px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 18px max(20px, calc(50% - 480px)) 20px;
    background: #FFFFFF;
    border-top: 1px solid var(--gx-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }
  & .bundle__bar.is-open .bundle__drawer { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  & .bundle__drawer-title { margin-bottom: 12px; font-size: 22px; line-height: 30px; font-weight: 400; }
  /* Gift box in the drawer: phones only (desktop keeps the box beside the sauces) */
  & .bundle__dbox { display: none; }
  & .bundle__drawer-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
  & .bundle__drawer-row > div { flex: 1; min-width: 0; }
  & .bundle__drawer-img {
    flex: none;
    display: block;
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 1px solid var(--gx-line);
    border-radius: 4px;
    background: #FFFFFF;
    object-fit: contain;
  }
  & .bundle__drawer-name { font-size: 15px; line-height: 20px; }
  & .bundle__drawer-row .bundle__price-now { font-size: 15px; }
  & .bundle__drawer-row .bundle__price-was { margin-left: 6px; font-size: 13px; font-weight: 400; }
  & .bundle__drawer-qty { width: 28px; text-align: right; font-size: 15px; }
  & .bundle__drawer-remove {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: -4px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  & .bundle__drawer-remove svg { width: 18px; height: 18px; }
  /* Placeholder rows while the box is empty */
  & .bundle__drawer-row.is-skeleton .bundle__drawer-img { border-style: dashed; background: #F2F2F2; }
  & .bundle__skel { display: block; height: 10px; margin: 6px 0; border-radius: 5px; background: #EBEBEB; }

  /* Product details popup, as in the reference */
  & .bundle__pm {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    overscroll-behavior: contain;
  }
  &.is-modal-open .bundle__heatbar,
  &.is-modal-open .bundle__heatbar.is-pinned { z-index: 4 !important; }
  & .bundle__pm-box {
    /* Thumbnails, photo and description share one height, as in the reference */
    --pm-h: min(360px, calc(88vh - 72px));
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas: "thumbs stage info";
    grid-template-rows: var(--pm-h);
    align-items: stretch;
    gap: 28px;
    width: 100%;
    max-width: 1016px;
    max-height: min(88vh, 640px);
    padding: 36px 36px 36px 20px;
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #1F1F1F;
    text-align: left;
  }
  & .bundle__pm-box.is-single { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "stage info"; padding-left: 32px; }
  /* Close X, top right */
  & .bundle__pm-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #B5B5B5;
    cursor: pointer;
  }
  & .bundle__pm-close:hover { color: var(--gx-text); }
  & .bundle__pm-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  /* Thumbnail column, the active one framed in red */
  & .bundle__pm-thumbs {
    grid-area: thumbs;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: var(--pm-h);
    padding: 2px;
    overflow-y: auto;
    scrollbar-width: none;
  }
  & .bundle__pm-thumbs::-webkit-scrollbar { display: none; }
  & .bundle__pm-thumb {
    flex: none;
    width: 74px;
    height: 74px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #F5F5F5;
    overflow: hidden;
    cursor: pointer;
  }
  & .bundle__pm-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
  & .bundle__pm-thumb:hover:not(.is-active) { border-color: var(--gx-line); }
  & .bundle__pm-thumb.is-active { padding: 2px; border: 2px solid var(--gx-accent); background: #FFFFFF; }
  /* Large photo with grey arrows either side */
  & .bundle__pm-stage {
    grid-area: stage;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--pm-h);
    padding: 0 40px;
  }
  & .bundle__pm-img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
  & .bundle__pm-nav {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    background: none;
    color: #6B6B6B;
    cursor: pointer;
  }
  & .bundle__pm-nav:hover { color: var(--gx-text); }
  & .bundle__pm-prev { left: -6px; }
  & .bundle__pm-next { right: -6px; }
  & .bundle__pm-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  /* Full name and description */
  & .bundle__pm-info {
    grid-area: info;
    min-height: 0;
    height: var(--pm-h);
    max-height: var(--pm-h);
    padding: 0 8px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  /* Popup text scrolls without a visible scroll bar, as in the reference */
  & .bundle__pm-info::-webkit-scrollbar { display: none; }
  & .bundle__pm-title { margin-bottom: 4px; padding-right: 24px; font-size: 17px; line-height: 26px; font-weight: 700; color: #1F1F1F; }
  & .bundle__pm-desc { font-size: 15px; line-height: 25px; color: #2A2A2A; overflow-wrap: break-word; }
  /* Formatted description: headings, bold, lists, lines and media as written in Shopify */
  & .bundle__pm-desc p { margin: 0 0 4px; }
  & .bundle__pm-desc > :last-child { margin-bottom: 0; }
  & .bundle__pm-desc strong,
  & .bundle__pm-desc b { font-weight: 700; }
  & .bundle__pm-desc em,
  & .bundle__pm-desc i { font-style: italic; }
  & .bundle__pm-desc h1,
  & .bundle__pm-desc h2,
  & .bundle__pm-desc h3,
  & .bundle__pm-desc h4,
  & .bundle__pm-desc h5,
  & .bundle__pm-desc h6 { margin: 10px 0 4px; font-family: inherit; font-size: 16px; line-height: 24px; font-weight: 700; color: #1F1F1F; text-transform: none; letter-spacing: normal; }
  & .bundle__pm-desc > h1:first-child,
  & .bundle__pm-desc > h2:first-child,
  & .bundle__pm-desc > h3:first-child { margin-top: 0; }
  & .bundle__pm-desc li { margin: 2px 0; }
  & .bundle__pm-desc ul { list-style: disc; }
  & .bundle__pm-desc ol { list-style: decimal; }
  & .bundle__pm-desc table { width: 100%; margin: 8px 0; border-collapse: collapse; font-size: 14px; }
  & .bundle__pm-desc td,
  & .bundle__pm-desc th { padding: 4px 6px; border: 1px solid #E5E5E5; text-align: left; }
  & .bundle__pm-desc iframe,
  & .bundle__pm-desc video { display: block; max-width: 100%; margin: 8px 0; }
  & .bundle__pm-desc ul,
  & .bundle__pm-desc ol { margin: 4px 0; padding-left: 20px; }
  & .bundle__pm-desc hr { margin: 14px 0; border: 0; border-top: 1px solid #E5E5E5; }
  & .bundle__pm-desc img { max-width: 100%; height: auto; }
  & .bundle__pm-desc a { color: var(--gx-accent); }
  /* Description placeholder while it loads, then a soft fade-in */
  & .bundle__pm-desc.is-loading { padding-top: 6px; }
  & .bundle__pm-desc.is-loading .bundle__skel {
    height: 12px;
    margin: 0 0 13px;
    border-radius: 6px;
    background: #EFEFEF;
    animation: bundle-pulse-gift-box-builder-14961 1s ease-in-out infinite alternate;
  }
  & .bundle__pm-desc.is-in { animation: bundle-fade-gift-box-builder-14961 0.2s ease-out; }
  @media (prefers-reduced-motion: reduce) {
    & .bundle__pm-desc.is-in,
    & .bundle__pm-desc.is-loading .bundle__skel { animation: none; }
  }

  /* Loader */
  & .bundle__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--gx-muted);
  }
  & .bundle__loader::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #E3DBD4;
    border-top-color: var(--gx-accent);
    border-radius: 50%;
    animation: bundle-spin-gift-box-builder-14961 0.9s linear infinite;
  }

  /* Phones and small tablets */
  @media (max-width: 820px) {
    & { padding: 32px 16px 0; }
    & .bundle__intro { padding-top: 0; }
    & .bundle__title { font-size: 24px; line-height: 32px; }
    & .bundle__subtitle { font-size: 14px; line-height: 22px; }
    & .bundle__kits-heading,
    & .bundle__k-h,
    & .bundle__note-title { font-size: 20px; line-height: 28px; }
    & .bundle__kits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    & .bundle__kit { padding: 8px 6px 10px; }
    & .bundle__kit-media { height: 130px; }
    & .bundle__kit-name { font-size: 15px; line-height: 21px; }
    & .bundle__kit-desc { height: 48px; font-size: 12px; line-height: 16px; -webkit-line-clamp: 3; }
    & .bundle__kit-body > .bundle__btn { height: 38px; font-size: 14px; }
    /* Build your own: a wide row */
    & .bundle__kit-own {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 110px minmax(0, 1fr);
      gap: 0 12px;
      align-items: center;
      text-align: left;
    }
    & .bundle__kit-own .bundle__kit-own-media { height: 90px; }
    & .bundle__kit-own-frame { width: 96px; height: 64px; gap: 5px; padding: 8px; }
    & .bundle__kit-own .bundle__kit-name { margin-top: 0; }
    & .bundle__kit-own .bundle__kit-desc { height: auto; }
    & .bundle__kit-own .bundle__kit-price { justify-content: flex-start; }
    & .bundle__kit-own .bundle__kit-body > :nth-last-child(2) { margin-bottom: 8px; }
    /* One column: box, then sauces */
    & .bundle__layout { display: flex; flex-direction: column; gap: 16px; padding: 40px 0 16px; }
    & .bundle__boxcol { position: static; width: 100%; padding-top: 22px; }
    & .bundle__box { padding: 10px; }
    & .bundle__tray { height: 236px; gap: 6px; padding: 6px; }
    & .bundle__bow { width: 100px; margin-left: -50px; top: -32px; }
    & .bundle__ribbon { width: 12px; margin-left: -6px; }
    & .bundle__slot-add { width: 28px; height: 28px; margin: -4px 0 0 -14px; }
    & .bundle__picker { width: 100%; }
    & .bundle__grid,
    & .bundle__sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .bundle__heatbar[hidden] + .bundle__grid { margin-top: 24px; }
    /* Heat tabs scroll sideways on phones, with no visible scroll bar */
    & .bundle__heat-tabs { grid-auto-columns: minmax(112px, 1fr); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    & .bundle__heat-tabs::-webkit-scrollbar { display: none; }
    & .bundle__heat-tab { font-size: 13px; }
    & .bundle__sec-head { font-size: 20px; line-height: 28px; }
    & .bundle__cattabs { gap: 20px; }
    & .bundle__cat-tab { font-size: 14px; }
    & .bundle__chips.bundle__tabs,
    & .bundle__chips.bundle__steps { grid-auto-columns: minmax(120px, 1fr); overflow-x: auto; padding: 5px 0; margin: -5px 0; scrollbar-width: none; -ms-overflow-style: none; }
    & .bundle__chips.bundle__tabs::-webkit-scrollbar,
    & .bundle__chips.bundle__steps::-webkit-scrollbar { display: none; }
    & .bundle__card-select { font-size: 16px; }
    & .bundle__note-card { padding: 18px 16px 14px; }
    & .bundle__note-row,
    & .bundle__note-input,
    & .bundle__note-text { font-size: 16px; }
    /* Bottom bar: summary line, the open list, then the button */
    /* Bottom bar: count left + Review right, the open list, then the button */
    & .bundle__bar { display: flex; flex-flow: row wrap; align-items: center; gap: 2px 12px; margin: 0; padding: 4px 14px calc(8px + env(safe-area-inset-bottom, 0px)); }
    & .bundle__bar-inner { display: contents; }
    & .bundle__bar-info,
    & .bundle__bar-thumbs,
    & .bundle__bar-total { display: none; }
    /* Count on the left */
    & .bundle__bar-line { display: flex; flex: 1 1 0; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 2px 6px; order: 1; text-align: left; font-size: 14px; line-height: 18px; font-weight: 400; color: var(--gx-muted); }
    & .bundle__bar-lead { font-weight: 700; color: var(--gx-text); }
    & .bundle__bar-save { font-weight: 400; color: var(--gx-muted); }
    & .bundle__drawer {
      display: none;
      position: static;
      order: 2;
      flex: 0 0 calc(100% + 32px);
      max-height: 52vh;
      margin: 0 -16px;
      padding: 0 16px;
      border-top: 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      transition: none;
    }
    & .bundle__bar.is-open .bundle__drawer { display: block; max-height: 56vh; }
    /* Gift box in the drawer, a compact copy of the one above */
    & .bundle__dbox { display: block; padding: 26px 0 10px; }
    & .bundle__dbox .bundle__box { padding: 8px; }
    & .bundle__dbox .bundle__bow { width: 84px; margin-left: -42px; top: -27px; }
    & .bundle__dbox .bundle__box-top { margin-bottom: 8px; }
    & .bundle__dbox .bundle__tray { height: 140px; gap: 6px; padding: 6px; }
    & .bundle__dbox .bundle__tray.is-many { height: auto; grid-auto-rows: 124px; }
    & .bundle__dbox .bundle__slot { padding: 22px 4px 6px; }
    /* The box shows the empty slots, so the placeholder rows go */
    & .bundle__drawer-row.is-skeleton { display: none; }
    & .bundle__drawer-title {
      text-align: center;
      color: var(--gx-accent);
      text-transform: uppercase;
      font-size: 17px;
      line-height: 24px;
      font-weight: 700;
      letter-spacing: 0.02em;
      padding: 2px 0 6px;
      margin-bottom: 6px;
      border-bottom: 1px solid var(--gx-line);
    }
    /* Review toggle on the right */
    & .bundle__view {
      order: 1;
      flex: none;
      height: 34px;
      margin: 0;
      padding: 0 2px 0 8px;
      gap: 4px;
      color: var(--gx-accent);
      font-size: 14px;
      line-height: 1;
      font-weight: 700;
    }
    & .bundle__view-label { display: none; }
    & .bundle__view-label-m { display: inline; }
    & .bundle__view-caret svg { width: 16px; height: 16px; stroke: var(--gx-accent); stroke-width: 2.4; }
    & .bundle__atc { order: 3; flex: 0 0 100%; width: 100%; min-width: 0; height: 44px; padding: 0; font-size: 15px; line-height: 20px; }
    & .bundle__atc-price { display: inline; margin-left: 6px; }
    /* Popup on phones: a sheet from the bottom, photo first, thumbnails in a row, then the text */
    & .bundle__pm { align-items: flex-end; padding: 0; }
    & .bundle__pm-box,
    & .bundle__pm-box.is-single {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "stage" "thumbs" "info";
      grid-template-rows: none;
      gap: 12px;
      max-height: 92vh;
      max-height: 92dvh;
      padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
      border-radius: 12px 12px 0 0;
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    & .bundle__pm-box::-webkit-scrollbar { display: none; }
    & .bundle__pm-stage { height: 260px; padding: 0 36px; }
    & .bundle__pm-thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
    & .bundle__pm-thumb { width: 56px; height: 56px; }
    & .bundle__pm-info { height: auto; max-height: none; padding: 0; overflow: visible; }
    & .bundle__pm-title { font-size: 16px; line-height: 24px; }
    & .bundle__pm-desc { font-size: 14px; line-height: 22px; }
    & .bundle__pm-close { top: 2px; right: 2px; }
  }
}

/* Placeholder pulse and description fade, unique to this template */
@keyframes bundle-pulse-gift-box-builder-14961 {
  from { opacity: 1; }
  to { opacity: 0.45; }
}
@keyframes bundle-fade-gift-box-builder-14961 {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Spinner animation, unique to this template */
@keyframes bundle-spin-gift-box-builder-14961 {
  to { transform: rotate(360deg); }
}