/* Accessories bundle — base styling adapted from the Mira bundle. Scoped to #my-custom-bundle. */

html { scrollbar-gutter: stable; }
body.bundle-modal-open { overflow: hidden; }

#my-custom-bundle {
  --heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --maroon: #7a1330;
  --pink-bg: #F4EEEE;
  --line: #e7e7e7;
  box-sizing: border-box;
  width: min(680px, 100%);
  max-width: 680px;
  margin: 24px auto;
  padding: 0;
  font-family: var(--body);
  color: #1a1a1a;
  font-size: 13px;
}
#my-custom-bundle *,
#my-custom-bundle *::before,
#my-custom-bundle *::after { box-sizing: inherit; }

#my-custom-bundle h3 {
  margin: 0;
  font-family: var(--heading);
  letter-spacing: normal;
  text-transform: uppercase;
  color: #1a1a1a;
}
#my-custom-bundle button {
  font-family: var(--body);
  letter-spacing: normal;
  text-transform: none;
}
#my-custom-bundle button:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}
#my-custom-bundle [hidden] { display: none !important; }

/* ── Loader ───────────────────────────────────────────────────────────── */
#my-custom-bundle .bundle__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: #999;
  font-size: 15px;
}
#my-custom-bundle .bundle__loader::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border: 2px solid #ccc;
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: bundle-spin 0.9s linear infinite;
}
@keyframes bundle-spin { to { transform: rotate(360deg); } }

/* ── Top discount message (burgundy on pink) ──────────────────────────── */
#my-custom-bundle .bundle__progress { margin: 0 0 14px; }
#my-custom-bundle .bundle__discount-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--pink-bg);
  color: var(--maroon);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}
#my-custom-bundle .bundle__discount-icon { display: inline-flex; }
#my-custom-bundle .bundle__discount-icon svg { width: 17px; height: 17px; }

/* ── Card shell ───────────────────────────────────────────────────────── */
#my-custom-bundle .bundle__card-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
}
#my-custom-bundle .bundle__accessory,
#my-custom-bundle .bundle__footer-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
#my-custom-bundle .bundle__footer-box { margin-top: 16px; }

/* ── Product panel ────────────────────────────────────────────────────── */
#my-custom-bundle .bundle__accessory { padding: 22px 26px 24px; }
#my-custom-bundle .bundle__acc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 22px;
}
#my-custom-bundle .bundle__acc-title { text-align: center; }
#my-custom-bundle .bundle__acc-title {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
#my-custom-bundle .bundle__acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#my-custom-bundle .bundle__acc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  min-width: 0;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#my-custom-bundle .bundle__acc-card:hover { border-color: #d6d6d6; }
#my-custom-bundle .bundle__acc-card.is-selected {
  border-color: var(--maroon);
  box-shadow: 0 0 0 1px var(--maroon);
}
#my-custom-bundle .bundle__acc-thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #f4f4f4;
  overflow: hidden;
}
#my-custom-bundle .bundle__acc-img { width: 100%; height: 100%; object-fit: cover; }
#my-custom-bundle .bundle__acc-info { flex: 1 1 auto; min-width: 0; }
#my-custom-bundle .bundle__acc-cardsub { font-size: 12px; color: #888; margin-top: 4px; }

/* Clickable thumbnails. */
#my-custom-bundle .bundle__thumb-clickable { cursor: pointer; position: relative; transition: box-shadow 0.15s ease; }
#my-custom-bundle .bundle__thumb-clickable:hover { box-shadow: 0 0 0 2px var(--maroon); }

/* ── Swatches (shared with modal) ─────────────────────────────────────── */
#my-custom-bundle .bundle__swatches { display: flex; flex-wrap: wrap; gap: 12px; }
#my-custom-bundle .bundle__swatch-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 56px;
}
#my-custom-bundle .bundle__swatch-name {
  font-size: 11px;
  color: #555;
  text-align: center;
  line-height: 1.25;
  width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#my-custom-bundle .bundle__swatch-item .bundle__swatch.is-active + .bundle__swatch-name { color: #111; font-weight: 600; }
#my-custom-bundle .bundle__swatch {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#my-custom-bundle .bundle__swatch.is-active {
  border: 2px solid #111;
  box-shadow: 0 0 0 2px #fff inset;
}
#my-custom-bundle .bundle__swatch-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

/* ── Collapsible bundle cart ──────────────────────────────────────────── */
#my-custom-bundle .bundle__cart { border-bottom: 1px solid var(--line); }
/* Pull-up handle bar. */
#my-custom-bundle .bundle__cart-handle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
#my-custom-bundle .bundle__cart-handle:hover { background: #fafafa; }
#my-custom-bundle .bundle__cart-handle-grip {
  flex: 0 0 auto;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #d9d2d2;
  display: none; /* grip is the mobile-sheet affordance; hidden on desktop */
}
#my-custom-bundle .bundle__cart-handle-label {
  flex: 1 1 auto;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--maroon);
}
#my-custom-bundle .bundle__cart-handle-chevron {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--maroon);
  transition: transform 0.2s ease;
}
#my-custom-bundle .bundle__cart.is-expanded .bundle__cart-handle-chevron { transform: rotate(180deg); }

/* Inline expandable list (desktop). */
#my-custom-bundle .bundle__cart-list {
  display: none;
  border-top: 1px solid var(--line);
}
#my-custom-bundle .bundle__cart.is-expanded .bundle__cart-list { display: block; }
#my-custom-bundle .bundle__cart-sheet-head { display: none; } /* only shown in mobile sheet */
#my-custom-bundle .bundle__cart-rows {
  display: flex;
  flex-direction: column;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px 26px 10px;
}
#my-custom-bundle .bundle__cart-empty {
  padding: 22px 0;
  text-align: center;
  color: #999;
  font-size: 13px;
}
#my-custom-bundle .bundle__cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0ecec;
}
#my-custom-bundle .bundle__cart-row:last-child { border-bottom: 0; }
#my-custom-bundle .bundle__cart-row-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f4f4f4;
  overflow: hidden;
}
#my-custom-bundle .bundle__cart-row-img { width: 100%; height: 100%; object-fit: cover; }
#my-custom-bundle .bundle__cart-row-info { flex: 1 1 auto; min-width: 0; }
#my-custom-bundle .bundle__cart-row-name {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #1a1a1a;
  overflow-wrap: anywhere;
}
#my-custom-bundle .bundle__cart-row-variant { font-size: 12px; color: #888; margin-top: 3px; }
#my-custom-bundle .bundle__cart-row-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 5px;
}
#my-custom-bundle .bundle__cart-row-price-now {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
#my-custom-bundle .bundle__cart-row-price-orig {
  font-size: 12px;
  color: #9a9a9a;
  text-decoration: line-through;
}
#my-custom-bundle .bundle__cart-row-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Inline − N + stepper in a cart row. */
#my-custom-bundle .bundle__cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 2px;
  border-radius: 999px;
  background: var(--pink-bg);
}
#my-custom-bundle .bundle__cart-step-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--maroon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, filter 0.15s ease;
}
#my-custom-bundle .bundle__cart-step-btn svg { width: 15px; height: 15px; }
#my-custom-bundle .bundle__cart-step-plus { background: var(--maroon); color: #fff; }
#my-custom-bundle .bundle__cart-step-plus:hover { filter: brightness(1.15); }
#my-custom-bundle .bundle__cart-step-minus:hover { background: rgba(122, 19, 48, 0.12); }
#my-custom-bundle .bundle__cart-step-qty {
  min-width: 20px;
  text-align: center;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
}
#my-custom-bundle .bundle__cart-row-remove {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b1869a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
#my-custom-bundle .bundle__cart-row-remove:hover { background: var(--pink-bg); color: var(--maroon); }

/* ── Summary ──────────────────────────────────────────────────────────── */
#my-custom-bundle .bundle__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 4px;
}
#my-custom-bundle .bundle__summary-title {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#my-custom-bundle .bundle__summary-meta { font-size: 13px; color: #6a6a6a; margin-top: 4px; }
#my-custom-bundle .bundle__summary-price {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 3px;
  white-space: nowrap;
}
#my-custom-bundle .bundle__summary-price-orig {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  color: #9a9a9a;
  text-decoration: line-through;
}
#my-custom-bundle .bundle__summary-price-now {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
}

/* ── ATC ──────────────────────────────────────────────────────────────── */
#my-custom-bundle .bundle__atc-wrap { padding: 16px 26px 22px; }
#my-custom-bundle .bundle__atc {
  width: 100%;
  padding: 17px 24px;
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: filter 0.15s ease;
  text-align: center;
}
#my-custom-bundle .bundle__atc:hover { filter: brightness(1.2); }
#my-custom-bundle .bundle__atc:disabled { background: #cfcfcf; cursor: not-allowed; }

/* ── Product pop-up (modal) ───────────────────────────────────────────── */
#my-custom-bundle .bundle__modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 12, 16, 0.55);
  backdrop-filter: blur(2px);
  animation: bundle-modal-fade 0.18s ease;
}
@keyframes bundle-modal-fade { from { opacity: 0; } to { opacity: 1; } }
#my-custom-bundle .bundle__modal-dialog {
  position: relative;
  display: flex;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  animation: bundle-modal-pop 0.2s ease;
}
@keyframes bundle-modal-pop { from { transform: translateY(10px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
#my-custom-bundle .bundle__modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
#my-custom-bundle .bundle__modal-close:hover { background: #fff; }
#my-custom-bundle .bundle__modal-gallery {
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #f6f3f0;
}
#my-custom-bundle .bundle__modal-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#my-custom-bundle .bundle__modal-stage-img { width: 100%; height: 100%; object-fit: cover; }
#my-custom-bundle .bundle__modal-details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 30px 26px;
  overflow-y: auto;
}
#my-custom-bundle .bundle__modal-title {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding-right: 30px;
}
#my-custom-bundle .bundle__modal-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
#my-custom-bundle .bundle__modal-price-now {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}
#my-custom-bundle .bundle__modal-price-orig {
  font-size: 15px;
  font-weight: 600;
  color: #9a9a9a;
  text-decoration: line-through;
}
#my-custom-bundle .bundle__modal-opt-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
#my-custom-bundle .bundle__modal-opt-label {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9a9a;
}
#my-custom-bundle .bundle__modal-desc {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
#my-custom-bundle .bundle__modal-desc p { margin: 0 0 10px; }
#my-custom-bundle .bundle__modal-desc p:last-child { margin-bottom: 0; }
#my-custom-bundle .bundle__modal-desc ul,
#my-custom-bundle .bundle__modal-desc ol { margin: 0 0 10px; padding-left: 20px; }
#my-custom-bundle .bundle__modal-desc img { max-width: 100%; height: auto; border-radius: 8px; }
#my-custom-bundle .bundle__modal-desc a { color: var(--maroon); }
#my-custom-bundle .bundle__modal-action {
  margin-top: auto;
  width: 100%;
  padding: 15px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--maroon);
  color: #fff;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: filter 0.15s ease;
  text-align: center;
}
#my-custom-bundle .bundle__modal-action:hover { filter: brightness(1.15); }
#my-custom-bundle .bundle__modal-action.is-selected {
  background: #fff;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}

/* ── Accessories-specific classes (not in Mira) ───────────────────────── */
#my-custom-bundle .bundle__acc-name-link {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #1a1a1a;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: color 0.15s ease;
}
#my-custom-bundle .bundle__acc-name-link:hover { color: var(--maroon); }
#my-custom-bundle .bundle__acc-colours { font-size: 12px; color: #888; margin-top: 4px; }
#my-custom-bundle .bundle__acc-plus {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--pink-bg);
  color: var(--maroon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#my-custom-bundle .bundle__acc-plus.is-selected { background: var(--maroon); color: #fff; }

/* Inline − N + stepper (replaces the round + once the product is selected). */
#my-custom-bundle .bundle__acc-stepper {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 2px;
  border-radius: 999px;
  background: var(--pink-bg);
}
#my-custom-bundle .bundle__acc-step-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--maroon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
#my-custom-bundle .bundle__acc-step-plus {
  background: var(--maroon);
  color: #fff;
}
#my-custom-bundle .bundle__acc-step-plus:hover { filter: brightness(1.15); }
#my-custom-bundle .bundle__acc-step-minus:hover { background: rgba(122, 19, 48, 0.12); }
#my-custom-bundle .bundle__acc-step-qty {
  min-width: 22px;
  text-align: center;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
}

#my-custom-bundle .bundle__size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#my-custom-bundle .bundle__size-pill {
  padding: 8px 18px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}
#my-custom-bundle .bundle__size-pill.is-active { border-color: #111; background: #111; color: #fff; }
#my-custom-bundle .bundle__modal-desc-wrap { display: flex; flex-direction: column; gap: 6px; }
#my-custom-bundle .bundle__modal-desc--clampable:not(.is-expanded) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#my-custom-bundle .bundle__modal-desc-toggle {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  #my-custom-bundle .bundle__accessory { padding-left: 18px; padding-right: 18px; }
  #my-custom-bundle .bundle__acc-grid { grid-template-columns: 1fr; gap: 12px; }
  #my-custom-bundle .bundle__acc-card { gap: 14px; padding: 14px; }
  #my-custom-bundle .bundle__acc-thumb { flex-basis: 56px; width: 56px; height: 56px; }
  #my-custom-bundle .bundle__summary { padding: 18px; }
  #my-custom-bundle .bundle__summary-title { font-size: 16px; }
  #my-custom-bundle .bundle__summary-price-now { font-size: 20px; }

  /* Lock background scroll while the cart sheet is open. */
  body.bundle-cart-open { overflow: hidden; }

  /* Handle bar: show the grip affordance, centre the label. */
  #my-custom-bundle .bundle__cart-handle { padding: 14px 18px; }
  #my-custom-bundle .bundle__cart-handle-grip { display: block; }

  /* Expanded cart becomes a slide-up sheet overlay. The list is fixed to the bottom;
     a full-screen backdrop sits behind it. */
  #my-custom-bundle .bundle__cart.is-expanded .bundle__cart-list {
    display: block;
    position: fixed;
    inset: 0;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    max-height: 82vh;
    background: #fff;
    border-top: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.28);
    animation: bundle-sheet-up 0.24s ease;
    display: flex;
    flex-direction: column;
  }
  @keyframes bundle-sheet-up { from { transform: translateY(100%); } to { transform: none; } }

  /* Full-screen dimmed backdrop behind the sheet. */
  #my-custom-bundle .bundle__cart.is-expanded .bundle__cart-list::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(26, 12, 16, 0.5);
    animation: bundle-modal-fade 0.2s ease;
  }

  /* Sheet header (title + close). */
  #my-custom-bundle .bundle__cart-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--line);
  }
  #my-custom-bundle .bundle__cart-sheet-title {
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a1a1a;
  }
  #my-custom-bundle .bundle__cart-sheet-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--pink-bg);
    color: var(--maroon);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #my-custom-bundle .bundle__cart-rows {
    flex: 1 1 auto;
    max-height: none;
    padding: 4px 20px 24px;
    -webkit-overflow-scrolling: touch;
  }

  #my-custom-bundle .bundle__modal-overlay { padding: 0; align-items: flex-end; }
  #my-custom-bundle .bundle__modal-dialog {
    flex-direction: column;
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
  #my-custom-bundle .bundle__modal-gallery { flex: 0 0 40vh; height: 40vh; padding: 16px; }
  #my-custom-bundle .bundle__modal-stage { flex: 1 1 auto; min-height: 0; height: 100%; }
  #my-custom-bundle .bundle__modal-stage-img { object-fit: contain; }
  #my-custom-bundle .bundle__modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }
  #my-custom-bundle .bundle__modal-details { padding: 22px 20px 24px; gap: 14px; }
  #my-custom-bundle .bundle__modal-title { font-size: 19px; }
}