/* ═══════════════════════════════════════════════════════════════════════════
   bundle.css — Bixpy "Build Your K-1 System" custom bundle.
   EXACT-match build. Widget scoped under #my-custom-bundle.
   Modal is mounted to document.body, so its rules are scoped under .bundle__modal-overlay
   (NOT under #my-custom-bundle) — otherwise they wouldn't apply once it escapes the widget.
   Layout-critical declarations use !important so the host theme can't collapse them.
   ═══════════════════════════════════════════════════════════════════════════ */

#my-custom-bundle {
  --k1-navy: #1a2b48;
  --k1-navy-deep: #16233b;
  --k1-ink: #1a2b48;
  --k1-muted: #8a94a6;
  --k1-line: #d9dde3;
  --k1-panel: #f7f8fa;
  --k1-img-bg: #ffffff;
  --k1-accent: #1a2b48;
  --k1-blue: #6fa8bd;
  --k1-blue-text: #6fa8bd;
  --k1-teal-panel: #d9ecef;
  --k1-teal-chip: #bfe0e6;
  --k1-add-bg: #cfe6ec;
  --k1-atc-bg: #1F69A2;
  --k1-summary-w: 449px;

  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) var(--k1-summary-w) !important;
  gap: 32px !important;
  align-items: start !important;
  max-width: 1728px;
  width: 100%;
  margin: 32px auto;
  padding: 0 0px;
  font-family: inherit;
  font-size: 14px;
  color: var(--k1-ink);
}
#my-custom-bundle *,
#my-custom-bundle *::before,
#my-custom-bundle *::after {
  box-sizing: inherit !important;
}

#my-custom-bundle h2,
#my-custom-bundle h3,
#my-custom-bundle h4 {
  margin: 0;
  font-family: inherit;
  color: var(--k1-ink);
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.25;
}
#my-custom-bundle button,
#my-custom-bundle select,
#my-custom-bundle input {
  font-family: inherit;
  letter-spacing: normal;
}
#my-custom-bundle button:focus-visible,
#my-custom-bundle a:focus-visible,
#my-custom-bundle input:focus-visible,
#my-custom-bundle select:focus-visible {
  outline: 2px solid var(--k1-accent);
  outline-offset: 2px;
}

/* ── Page header (bundle heading + subheading from banner settings) ────── */

#my-custom-bundle .bundle__page-header {
  grid-column: 1 / -1 !important;
  margin-bottom: 4px !important;
}
#my-custom-bundle .bundle__page-heading {
  margin: 0 0 14px !important;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 65px !important;
  font-weight: 300 !important;
  line-height: 75px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #00274C !important;
}
#my-custom-bundle .bundle__page-subheading {
  margin: 0 !important;
  max-width: 760px;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 24px !important;
  letter-spacing: 0.05em !important;
  color: #00274C !important;
}
/* ── Step 1 category tabs (above the page heading) ─────────────────────── */
#my-custom-bundle .bundle__s1-tabs {
  display: inline-flex !important;
  max-width: 100% !important;
  margin: 0 0 48px !important;
  border: 1px solid #7D94AC !important;
  overflow-x: auto !important;
  scrollbar-width: none;
}
#my-custom-bundle .bundle__s1-tabs::-webkit-scrollbar { display: none; }
#my-custom-bundle .bundle__s1-tab {
  flex: 0 0 auto !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #00274C !important;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
#my-custom-bundle .bundle__s1-tab + .bundle__s1-tab { border-left: 1px solid #7D94AC !important; }
#my-custom-bundle .bundle__s1-tab:hover { background: #F3FAF9 !important; }
#my-custom-bundle .bundle__s1-tab.is-active {
  background: #E0F3F2 !important;
  font-weight: 600 !important;
}
/* Tabs inside a later step's block (above its title): tighter spacing, don't stretch full width. */
#my-custom-bundle .bundle__step-body > .bundle__s1-tabs {
  align-self: flex-start !important;
  margin: 0 0 16px !important;
}

@media (max-width: 768px) {
  #my-custom-bundle .bundle__page-heading { font-size: 40px !important; }
  #my-custom-bundle .bundle__s1-tabs { margin-bottom: 28px !important; }
  #my-custom-bundle .bundle__s1-tab {
    min-height: 44px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
  }
}

/* ── Left column: numbered category blocks ─────────────────────────────── */

#my-custom-bundle .bundle__steps-col {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 110px !important;
}

#my-custom-bundle .bundle__step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  min-width: 0 !important;
}
#my-custom-bundle .bundle__step-num {
  flex: 0 0 auto !important;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #5A9ACB;
  font-size: 24px;
  font-weight: 700;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#my-custom-bundle .bundle__step--primary .bundle__step-num {
  background: transparent;
}
#my-custom-bundle .bundle__step-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

#my-custom-bundle .bundle__step-toprow {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
#my-custom-bundle .bundle__step-head {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#my-custom-bundle .bundle__step-name {
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 38px;
  letter-spacing: 0;
  color: #00274C;
}
#my-custom-bundle .bundle__step-intro {
  margin: 0;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #00274C;
  line-height: 24px;
}

/* Mount-search pill */
#my-custom-bundle .bundle__search {
  position: relative;
  flex: 0 0 auto;
  min-width: 220px;
}
#my-custom-bundle .bundle__search-input {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--k1-line);
  border-radius: 0;
  background: #fff;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--k1-ink);
}
#my-custom-bundle .bundle__search-input::placeholder { color: #9ca3af; }
#my-custom-bundle .bundle__search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.6;
  pointer-events: none;
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

#my-custom-bundle .bundle__cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  min-width: 0 !important;
}

#my-custom-bundle .bundle__card {
  display: flex !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 201px;
  border: 1px solid var(--k1-line) !important;
  border-radius: 0 !important;
  background: #fff;
  overflow: hidden !important;
}
#my-custom-bundle .bundle__card-img-wrap {
  flex: 0 0 197px !important;
  width: 197px !important;
  align-self: stretch !important;
  background: var(--k1-img-bg) !important;
  border-right: 1px solid var(--k1-line) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px;
  overflow: hidden !important;
}
#my-custom-bundle .bundle__card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
#my-custom-bundle .bundle__card-img-ph {
  width: 100%;
  height: 100%;
  background: var(--k1-img-bg);
}
#my-custom-bundle .bundle__card-divider {
  flex: 0 0 1px !important;
  width: 1px !important;
  align-self: stretch !important;
  background: var(--k1-line);
}
#my-custom-bundle .bundle__card-right {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 16px 18px !important;
  overflow: hidden !important;
}
#my-custom-bundle .bundle__card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#my-custom-bundle .bundle__card-title {
  font-size: 20px;
  font-weight: 400;
  color: #1F69A2;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#my-custom-bundle .bundle__card-cat {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5A9ACB;
  order: -1;
}
#my-custom-bundle .bundle__card-view {
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #00274C;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}
#my-custom-bundle .bundle__card-view:hover { opacity: 0.75; }

#my-custom-bundle .bundle__card-variant-select {
  width: 100%;
  height: 34px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid var(--k1-line);
  border-radius: 0;
  background: #fff;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--k1-ink);
  cursor: pointer;
}

#my-custom-bundle .bundle__card-bottom {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding-top: 12px;
  flex-wrap: wrap !important;
}
#my-custom-bundle .bundle__card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto !important;
  white-space: nowrap !important;
}
#my-custom-bundle .bundle__card-price-current {
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #5A9ACB;
}
#my-custom-bundle .bundle__card-price-original {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Add button / stepper (share height so the swap doesn't shift layout) */
#my-custom-bundle .bundle__add-btn,
#my-custom-bundle .bundle__added-btn {
  flex: 0 0 auto !important;
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}
#my-custom-bundle .bundle__add-btn {
  background: #E0F3F2;
  color: #00274C;
}
#my-custom-bundle .bundle__add-btn:hover { background: var(--k1-teal-chip); }
#my-custom-bundle .bundle__added-btn {
  background: #fff;
  color: var(--k1-navy);
  border: 1px solid var(--k1-navy) !important;
}

/* Quantity selector: fixed-size buttons so Safari's native button padding can't push the + out of view */
#my-custom-bundle .bundle__stepper {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  min-width: 108px !important;
  height: 38px;
  border: 1px solid var(--k1-add-bg);
  border-radius: 0;
  overflow: hidden;
}
#my-custom-bundle .bundle__stepper-btn {
  flex: 0 0 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--k1-add-bg) !important;
  color: var(--k1-navy) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  cursor: pointer;
}
#my-custom-bundle .bundle__stepper-btn:hover { background: var(--k1-teal-chip) !important; }
#my-custom-bundle .bundle__stepper-qty {
  flex: 1 1 auto !important;
  min-width: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px;
  background: #fff;
  color: var(--k1-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1 !important;
}

/* ── Right column: sticky Bundle Summary panel ─────────────────────────── */

#my-custom-bundle .bundle__summary {
  position: sticky !important;
  top: 24px !important;
  align-self: start !important;
  min-width: 0 !important;
  width: 100% !important;
}
#my-custom-bundle .bundle__summary-inner {
  display: flex !important;
  flex-direction: column !important;
  background: #E0F3F2 !important;
  color: var(--k1-navy);
  padding: 28px 28px 24px !important;
}
#my-custom-bundle .bundle__summary-eyebrow {
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--k1-navy);
  font-weight: 700;
  margin-bottom: 6px;
}
#my-custom-bundle .bundle__summary-title {
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 38px;
  letter-spacing: 0;
  color: #00274C;
  padding-bottom: 25px;
  border-bottom: 1px #8a94a6 solid;
}
#my-custom-bundle .bundle__summary-rule {
  height: 1px;
  background: rgba(26, 43, 72, 0.25);
  margin: 18px 0;
}
#my-custom-bundle .bundle__summary-rows {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid rgba(26, 43, 72, 0.55) !important;
  padding-top: 25px;
}
#my-custom-bundle .bundle__summary-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
#my-custom-bundle .bundle__summary-num {
  flex: 0 0 auto !important;
  width: 24px;
  height: 24px;
  border-radius: 0;
  border: 0;
  background: #A7EDE9;
  color: var(--k1-navy);
  font-size: 12px;
  font-weight: 700;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#my-custom-bundle .bundle__summary-num.is-selected {
  background: #1F69A2;
  color: #E0F3F2;
}
#my-custom-bundle .bundle__summary-textcol {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#my-custom-bundle .bundle__summary-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k1-muted);
  font-weight: 400;
}
#my-custom-bundle .bundle__summary-pick {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
#my-custom-bundle .bundle__summary-pick-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--k1-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Product title + variant name stacked on the left of each summary pick. */
#my-custom-bundle .bundle__summary-pick-namecol {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
#my-custom-bundle .bundle__summary-pick-variant {
  font-size: 12px;
  font-weight: 400;
  color: var(--k1-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#my-custom-bundle .bundle__summary-pick-price {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--k1-navy);
}
/* Discounted price + struck original, side by side, pushed to the right of the name. */
#my-custom-bundle .bundle__summary-pick-prices {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
#my-custom-bundle .bundle__summary-pick-price-original {
  font-size: 13px;
  font-weight: 400;
  color: var(--k1-muted);
  text-decoration: line-through;
}

/* Remove (trash) button — transparent, borderless, red icon. appearance:none strips
   the browser's native button chrome (the "box" you were seeing). */
#my-custom-bundle .bundle__summary-remove {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: #d13d54 !important;
  cursor: pointer !important;
}
#my-custom-bundle .bundle__summary-remove:hover,
#my-custom-bundle .bundle__summary-remove:focus,
#my-custom-bundle .bundle__summary-remove:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
#my-custom-bundle .bundle__summary-remove:hover { opacity: 0.7 !important; }
#my-custom-bundle .bundle__summary-remove-icon { display: inline-flex !important; }
#my-custom-bundle .bundle__summary-remove svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  color: #d13d54 !important;
}
#my-custom-bundle .bundle__summary-remove svg path { stroke: #d13d54 !important; }

#my-custom-bundle .bundle__summary-total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin-top: 20px;
  padding-top: 0;
}
#my-custom-bundle .bundle__summary-total-label {
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--k1-navy);
  font-weight: 700;
}
#my-custom-bundle .bundle__summary-total-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--k1-navy);
}

#my-custom-bundle .bundle__atc {
  width: 100% !important;
  margin-top: 20px;
  padding: 16px 24px;
  border: 0;
  border-radius: 0;
  background: var(--k1-atc-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
#my-custom-bundle .bundle__atc:hover { opacity: 0.9; }
#my-custom-bundle .bundle__atc.is-disabled,
#my-custom-bundle .bundle__atc:disabled {
  background: rgba(125, 148, 172, 0.55);
  color: rgba(255, 255, 255, 0.8);
  cursor: not-allowed;
}
#my-custom-bundle .bundle__summary-reassurance {
  margin-top: 14px;
  text-align: center;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--k1-navy);
}

/* ── Mobile bottom bar + drawer (hidden on desktop) ────────────────────── */
/* The collapsed bar and the drawer backdrop only exist on ≤768px. On desktop
   the sticky side panel is the summary and these are display:none. */
#my-custom-bundle .bundle__bar { display: none !important; }
#my-custom-bundle .bundle__drawer-backdrop { display: none !important; }

/* ── Empty / loading states ────────────────────────────────────────────── */

#my-custom-bundle .bundle__empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--k1-muted);
  font-size: 13px;
}
#my-custom-bundle .bundle__loader {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 400px;
  color: var(--k1-muted);
  font-size: 14px;
}
#my-custom-bundle .bundle__loader::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid #d1d5db;
  border-top-color: var(--k1-navy);
  border-radius: 50%;
  animation: k1-spin 0.9s linear infinite;
}
@keyframes k1-spin { to { transform: rotate(360deg); } }
/* The template mounts only once the SDK has resolved a bundle for the page, so the loader always gives way
   to the bundle and never sticks on Upsell-card-only pages. */

/* ═══════════════════════════════════════════════════════════════════════════
   Product-detail modal — mounted to document.body, so scoped under
   .bundle__modal-overlay (NOT #my-custom-bundle). Palette hard-coded here since
   the CSS vars live on #my-custom-bundle and don't cascade to document.body.
   ═══════════════════════════════════════════════════════════════════════════ */

body.gbb-modal-open { overflow: hidden; }

.bundle__modal-overlay,
.bundle__modal-overlay *,
.bundle__modal-overlay *::before,
.bundle__modal-overlay *::after { box-sizing: border-box; }

.bundle__modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 24px !important;
  margin: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  font-family: inherit;
}
.bundle__modal-dialog {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  max-width: 900px !important;
  max-height: 88vh !important;
  margin: auto !important;
  background: #fff !important;
  overflow: hidden !important;
  color: #1a2b48;
}
.bundle__modal-close {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #1a2b48;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.bundle__modal-close:hover { background: #fff; }

.bundle__modal-gallery {
  flex: 0 0 46% !important;
  width: 46% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff;
  padding: 20px;
  gap: 12px;
  overflow: hidden !important;
}
.bundle__modal-stage {
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.bundle__modal-main-img {
  max-width: 100% !important;
  max-height: 320px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.bundle__modal-arrow {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid #d9dde3;
  background: rgba(255, 255, 255, 0.95);
  color: #1a2b48;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.bundle__modal-arrow--prev { left: 0; }
.bundle__modal-arrow--next { right: 0; }
.bundle__modal-arrow:hover { background: #fff; }
.bundle__modal-thumbs {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  max-height: 130px;
  overflow-y: auto !important;
}
.bundle__modal-thumb {
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 1px solid #d9dde3;
  background: #fff;
  cursor: pointer;
}
.bundle__modal-thumb.is-active { border-color: #1a2b48; }
.bundle__modal-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.bundle__modal-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow-y: auto !important;
  padding: 40px 34px 34px;
}
.bundle__modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a94a6;
  margin-bottom: 8px;
}
.bundle__modal-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  color: #1a2b48;
  line-height: 1.25;
}
.bundle__modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}
.bundle__modal-desc p { margin: 0 0 10px; }
.bundle__modal-desc ul,
.bundle__modal-desc ol { margin: 0 0 10px; padding-left: 20px; }
/* Formatted description: headings, links, tables and media */
.bundle__modal-desc img { max-width: 100%; height: auto; }
.bundle__modal-desc h1,
.bundle__modal-desc h2,
.bundle__modal-desc h3,
.bundle__modal-desc h4,
.bundle__modal-desc h5,
.bundle__modal-desc h6 { margin: 14px 0 8px; font-weight: 700; line-height: 1.3; color: #1a2b48; }
.bundle__modal-desc h1, .bundle__modal-desc h2 { font-size: 18px; }
.bundle__modal-desc h3, .bundle__modal-desc h4, .bundle__modal-desc h5, .bundle__modal-desc h6 { font-size: 15px; }
.bundle__modal-desc li { margin: 0 0 4px; }
.bundle__modal-desc strong, .bundle__modal-desc b { font-weight: 700; }
.bundle__modal-desc a { color: #1F69A2; text-decoration: underline; }
.bundle__modal-desc table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 0 0 10px; display: block; overflow-x: auto; }
.bundle__modal-desc td, .bundle__modal-desc th { padding: 6px 8px; border: 1px solid #d9dde3; text-align: left; font-size: 13px; }
.bundle__modal-desc iframe, .bundle__modal-desc video { max-width: 100%; }
/* Metafield label (e.g. "Features") above its content */
.bundle__modal-desc .bundle__modal-mf-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a2b48;
}
.bundle__modal-desc .bundle__modal-mf + .bundle__modal-mf-label { margin-top: 16px; }
.bundle__modal-viewfull {
  display: inline-block;
  margin-top: 20px;
  color: #1a2b48;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.bundle__modal-viewfull:hover { text-decoration: underline; }
.bundle__modal-viewfull-arrow { margin-left: 4px; }

/* Lock page scroll while the mobile drawer is open. */
body.gbb-drawer-open { overflow: hidden; }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  #my-custom-bundle {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 20px;
  }
  #my-custom-bundle .bundle__summary {
    position: static !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  /* Number sits above the body so the card block uses the FULL screen width
     (reclaims the empty space under "01"). */
  #my-custom-bundle .bundle__step {
    flex-direction: column !important;
    gap: 8px !important;
  }
  #my-custom-bundle .bundle__step-num { margin-left: 2px; }
  /* 2 cards per row, full screen width */
  #my-custom-bundle .bundle__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  /* A category with only ONE card → that card spans the full width (no empty second column),
     but keeps the SAME stacked layout as the 2-up cards (image top → info → price/add). */
  #my-custom-bundle .bundle__cards:has(> .bundle__card:only-child) {
    grid-template-columns: 1fr !important;
  }
  /* Card stacks: image on top, details below */
  #my-custom-bundle .bundle__card {
    flex-direction: column !important;
    min-height: 0 !important;
  }
  #my-custom-bundle .bundle__card-img-wrap {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 140px !important;
  }
  #my-custom-bundle .bundle__card-divider { display: none !important; }
  #my-custom-bundle .bundle__card-right {
    width: 100% !important;
    flex: 1 1 auto !important;
    padding: 12px !important;
  }
  #my-custom-bundle .bundle__card-title { font-size: 15px !important; }
  /* Price + Add stack on narrow half-cards so they don't overflow */
  #my-custom-bundle .bundle__card-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  #my-custom-bundle .bundle__add-btn,
  #my-custom-bundle .bundle__added-btn,
  #my-custom-bundle .bundle__stepper { width: 100% !important; }
  /* Mobile stepper: 44px tap targets */
  #my-custom-bundle .bundle__stepper { height: 44px !important; }
  #my-custom-bundle .bundle__stepper-btn {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  #my-custom-bundle .bundle__step-toprow { flex-direction: column !important; align-items: stretch !important; }
  #my-custom-bundle .bundle__search { min-width: 0; }

  /* Leave room at the bottom so the fixed bar never covers the last category. */
  #my-custom-bundle { padding-bottom: 140px !important; }

  /* ── Summary becomes a sticky bottom-sheet drawer ── */
  /* The drawer is sticky (flows at the end of the widget but pins to the bottom of the
     viewport as you scroll), not fixed — it sits just above the sticky bar. Collapsed it
     is height:0 (hidden); open it grows to its content height. */
  #my-custom-bundle .bundle__summary {
    position: sticky !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 2147482000 !important;
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: #E0F3F2 !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25) !important;
    opacity: 0 !important;
    transition: max-height 0.3s ease, opacity 0.2s ease !important;
    -webkit-overflow-scrolling: touch;
  }
  #my-custom-bundle .bundle__summary.is-open {
    max-height: 80vh !important;               /* expands open, above the sticky bar */
    overflow-y: auto !important;
    opacity: 1 !important;
  }
  /* Inside the open drawer, hide the redundant ATC (the bar's ATC is used) and give
     breathing room at the bottom for the fixed bar. */
  #my-custom-bundle .bundle__summary .bundle__atc,
  #my-custom-bundle .bundle__summary .bundle__summary-reassurance {
    display: none !important;
  }
  #my-custom-bundle .bundle__summary-inner {
    padding-bottom: 120px !important;
  }

  /* ── Dim backdrop behind the open drawer ── */
  #my-custom-bundle .bundle__drawer-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147481000 !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 0 !important;
  }
  #my-custom-bundle .bundle__drawer-backdrop[hidden] { display: none !important; }

  /* The sticky drawer + bar flow at the very end of the widget (so they can stick to the
     bottom of the viewport). The bar must come after the drawer in the DOM — it already does.
     Negative horizontal margins cancel the container's 20px side padding so the bar + drawer
     span the FULL viewport width edge-to-edge instead of being inset. */
  #my-custom-bundle .bundle__summary { order: 99 !important; margin-left: -20px !important; margin-right: -20px !important; width: calc(100% + 40px) !important; }
  #my-custom-bundle .bundle__bar { order: 100 !important; margin-left: -20px !important; margin-right: -20px !important; width: calc(100% + 40px) !important; }

  /* ── Sticky bottom bar (always visible on mobile, pinned under the drawer) ── */
  #my-custom-bundle .bundle__bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2147482500 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
    border-top: 1px solid var(--k1-line) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
  }
  #my-custom-bundle .bundle__bar-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  #my-custom-bundle .bundle__bar-total {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
  }
  #my-custom-bundle .bundle__bar-total-label {
    font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--k1-muted) !important;
  }
  #my-custom-bundle .bundle__bar-total-value {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--k1-navy) !important;
  }
  #my-custom-bundle .bundle__bar-toggle {
    border: 0 !important;
    background: transparent !important;
    color: var(--k1-navy) !important;
    font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  #my-custom-bundle .bundle__bar-caret {
    display: inline-block !important;
    font-size: 10px !important;
    transition: transform 0.2s ease !important;
  }
  /* Flip the caret when the drawer is open. */
  #my-custom-bundle .bundle__summary.is-open ~ .bundle__bar .bundle__bar-caret {
    transform: rotate(180deg) !important;
  }
  #my-custom-bundle .bundle__bar-atc {
    width: 100% !important;
    padding: 15px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--k1-atc-bg) !important;
    color: #fff !important;
    font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  #my-custom-bundle .bundle__bar-atc.is-disabled,
  #my-custom-bundle .bundle__bar-atc:disabled {
    background: rgba(125, 148, 172, 0.55) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: not-allowed !important;
  }

  .bundle__modal-dialog { flex-direction: column !important; max-height: 92vh !important; }
  .bundle__modal-gallery { flex: 0 0 auto !important; width: 100% !important; }
  .bundle__modal-main-img { max-height: 220px !important; }
  .bundle__modal-details { padding: 24px 20px; }
}