/* bundle.css — Sweetums "Pack the Date Night Bag" — exact screenshot match. */

#my-custom-bundle {
  --coral: #F0797B;
  --coral-deep: #E56065;
  --coral-text: #E76A6C;
  --blush: #FBECEC;
  --blush2: #FDF6F5;
  --line: #F3D9D9;
  --line-soft: #F5DCDC;
  --ink: #121212;
  --mut: #6f6f6f;
  --green: #1B7A45;

  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
#my-custom-bundle *,
#my-custom-bundle *::before,
#my-custom-bundle *::after { box-sizing: inherit; }
#my-custom-bundle img { max-width: 100%; display: block; }
#my-custom-bundle .serif { font-family: 'Playfair Display', Georgia, serif; }

#my-custom-bundle h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ── Save BIG banner ─────────────────────────────────────────────────── */
#my-custom-bundle .sw__savebig {
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 0 28px;
}
#my-custom-bundle .sw__sb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--coral);
  color: #fff;
  border-radius: 14px;
  padding: 20px 28px;
}
#my-custom-bundle .sw__sb-rates {
  display: flex;
  gap: 14px;
  flex: none;
}
#my-custom-bundle .sw__sb-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: .92;
}
#my-custom-bundle .sw__sb-head {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 3px;
}
#my-custom-bundle .sw__sb-head em { font-style: italic; }
#my-custom-bundle .sw__sb-note {
  font-size: 12px;
  opacity: .92;
  margin-top: 5px;
  font-weight: 500;
}
#my-custom-bundle .sw__sb-rt {
  text-align: center;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 118px;
}
#my-custom-bundle .sw__sb-rt.sw__sb-best {
  background: #fff;
  color: var(--coral-text);
  border-color: #fff;
  position: relative;
}
#my-custom-bundle .sw__sb-pc {
  font-weight: 600;
  font-size: 27px;
  line-height: 1;
}
#my-custom-bundle .sw__sb-lb {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: .3px;
}
#my-custom-bundle .sw__sb-flag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
#my-custom-bundle .sw__sb-best .sw__sb-xtra {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--coral-text);
}
@media (max-width: 900px) {
  #my-custom-bundle .sw__savebig { padding: 0 10px; }
  #my-custom-bundle .sw__sb-in {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
    gap: 16px;
  }
  #my-custom-bundle .sw__sb-rates {
    width: 100%;
    justify-content: center;
  }
  #my-custom-bundle .sw__sb-rt {
    flex: 1;
    max-width: 160px;
    min-width: 0;
  }
}

/* ── Announcement + hero ─────────────────────────────────────────────── */
#my-custom-bundle .sw__annc {
  background: var(--coral);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .3px;
  padding: 9px 12px;
}
#my-custom-bundle .sw__hero {
  text-align: center;
  padding: 38px 10px 8px;
  max-width: 720px;
  margin: 0 auto;
}
#my-custom-bundle .sw__hero-title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.3px;
  line-height: 1.15;
}
#my-custom-bundle .sw__hero-title em { color: var(--coral-text); font-style: italic; }
#my-custom-bundle .sw__hero-sub {
  color: var(--mut);
  font-size: 14.5px;
  margin-top: 10px;
  line-height: 1.6;
}

/* ── Layout ──────────────────────────────────────────────────────────── */
#my-custom-bundle .sw__wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 28px 70px;
}
#my-custom-bundle .sw__left { min-width: 0; }
#my-custom-bundle .sw__steps { min-width: 0; }
/* ── Stepper tabs ────────────────────────────────────────────────────── */
#my-custom-bundle .sw__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  position: sticky;
  top: calc(var(--sw-header-h, 0px));
  z-index: 6;
  background: #fff;
  padding-bottom: 4px;
}
#my-custom-bundle .sw__tab {
  flex: auto 1 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: .15s;
}
#my-custom-bundle .sw__tab:hover {
  border-color: #EBB9BA; 
}
#my-custom-bundle .sw__tab.is-active {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240, 121, 123, .18);
}
#my-custom-bundle .sw__tab.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -1.5px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--coral);
}
#my-custom-bundle .sw__tab-n {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--coral-text);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
#my-custom-bundle .sw__tab-n.is-done {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
#my-custom-bundle .sw__tab-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
#my-custom-bundle .sw__tab-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#my-custom-bundle .sw__tab-sub {
  font-size: 11px;
  color: var(--mut);
}
@media (max-width: 900px) {
  #my-custom-bundle .sw__tabs {
    gap: 7px;
    margin-bottom: 20px;
    position: sticky;
    top: calc(var(--sw-header-h, 0px));
    z-index: 5;
    background: #fff;
    padding: 8px 0;
  }
  #my-custom-bundle .sw__tab { padding: 9px; gap: 7px; }
  #my-custom-bundle .sw__tab-sub { display: none; }
  #my-custom-bundle .sw__tab-t { font-size: 12px; }
}

/* ── Step sections ───────────────────────────────────────────────────── */
#my-custom-bundle .sw__step { margin-bottom: 28px; }
#my-custom-bundle .sw__step-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
#my-custom-bundle .sw__step-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
#my-custom-bundle .sw__step-t { font-size: 17.5px; font-weight: 600; }
#my-custom-bundle .sw__step-why {
  font-size: 13px;
  color: var(--coral-text);
  font-style: italic;
  margin: 0 0 12px 36px;
}

/* ── Card grid ───────────────────────────────────────────────────────── */
#my-custom-bundle .sw__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-left: 36px;
}
#my-custom-bundle .sw__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
  background: #fff;
  position: relative;
}
#my-custom-bundle .sw__cards {
  grid-auto-rows: max-content;
}
#my-custom-bundle .sw__card:hover { border-color: #EBB9BA; }
#my-custom-bundle .sw__card.is-sel {
  border: 2px solid var(--coral);
  background: var(--blush2);
  padding: 9px;
}
#my-custom-bundle .sw__card.is-soldout { opacity: .5; cursor: not-allowed; }
#my-custom-bundle .sw__card-im {
  height: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  border-radius: 10px;
  margin-bottom: 7px;
  padding: 6px;
  overflow: hidden;
}
#my-custom-bundle .sw__card-im img {
  max-height: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
#my-custom-bundle .sw__card-n {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 29px;
}
#my-custom-bundle .sw__card-pr {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 3px;
  font-style: italic;
}
#my-custom-bundle .sw__card-pr-old { margin-left: 3px; }
#my-custom-bundle .sw__tick {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
#my-custom-bundle .sw__card.is-sel .sw__tick { display: flex; }
#my-custom-bundle .sw__sochip {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .8px;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 1;
}

/* ── Note box ────────────────────────────────────────────────────────── */
#my-custom-bundle .sw__notebox { margin-left: 36px; }
#my-custom-bundle .sw__note-names {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
#my-custom-bundle .sw__note-name {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}
#my-custom-bundle .sw__note-ta {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  padding: 12px;
  resize: none;
  height: 64px;
  color: var(--ink);
  background: #fff;
}
#my-custom-bundle .sw__note-name::placeholder,
#my-custom-bundle .sw__note-ta::placeholder { color: #c2a3a4; font-style: italic; }
#my-custom-bundle .sw__note-name:focus,
#my-custom-bundle .sw__note-ta:focus { outline: none; border-color: var(--coral); }
#my-custom-bundle .sw__note-hint {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 5px;
}

/* ── Bag panel ───────────────────────────────────────────────────────── */
#my-custom-bundle .sw__panel {
  position: sticky;
  top: 10rem;
  align-self: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(240, 121, 123, .07);
}
#my-custom-bundle .sw__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blush);
  padding: 13px 18px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--coral-text);
}
#my-custom-bundle .sw__panel-toggle {
  display: none; /* desktop: hidden — mobile only */
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--coral-text);
  text-transform: none;
  cursor: pointer;
  padding: 0;
}
#my-custom-bundle .sw__bagviz {
  padding: 16px 14px 6px;
  background: linear-gradient(180deg, #fff, var(--blush2));
}
#my-custom-bundle .sw__bag-status {
  display: flex;
  justify-content: space-between;
  padding: 4px 18px 10px;
  font-size: 12px;
  gap: 8px;
}
#my-custom-bundle .sw__s { color: var(--mut); }
#my-custom-bundle .sw__s.is-done { color: var(--green); font-weight: 600; }
#my-custom-bundle .sw__sumrows {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 13px;
}
#my-custom-bundle .sw__sumrow {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  gap: 10px;
}
#my-custom-bundle .sw__sum-l { color: #444; }
#my-custom-bundle .sw__sumrow span:last-child { font-style: italic; font-weight: 600; }
#my-custom-bundle .sw__disc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blush);
  color: var(--coral-text);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 8px 0 4px;
}
#my-custom-bundle .sw__disc-check {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
#my-custom-bundle .sw__disc-text { min-width: 0; line-height: 1.25; }
#my-custom-bundle .sw__disc-title {
  font-size: 14px;
  font-weight: 600;
}
#my-custom-bundle .sw__disc-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--coral);
}
#my-custom-bundle .sw__sumrow.sw__tot {
  font-size: 17px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 9px;
}
#my-custom-bundle .sw__sumrow.sw__tot span:last-child { font-style: normal; }
#my-custom-bundle .sw__shipline {
  margin: 4px 18px 0;
  background: var(--blush);
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-radius: 999px;
  padding: 7px;
}
#my-custom-bundle .sw__shipline[hidden] { display: none; }

/* ── CTA area ────────────────────────────────────────────────────────── */
#my-custom-bundle .sw__ctawrap { padding: 13px 18px 18px; }
#my-custom-bundle .sw__collapsed-total {
  display: none; /* desktop: hidden; collapsed mobile: shown */
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
#my-custom-bundle .sw__cta {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--coral);
  color: #fff;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  transition: .2s;
}
#my-custom-bundle .sw__cta:hover:not(:disabled) { background: var(--coral-deep); }
#my-custom-bundle .sw__cta:disabled { background: #F3C3C4; cursor: not-allowed; }
#my-custom-bundle .sw__cta.is-loading {
  background: #F3C3C4;
  position: relative;
  color: transparent;
}
#my-custom-bundle .sw__cta.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sw-spin .8s linear infinite;
}
@keyframes sw-spin { to { transform: rotate(360deg); } }
#my-custom-bundle .sw__subcta {
  text-align: center;
  font-size: 12px;
  color: var(--mut);
  margin-top: 9px;
}

/* ── Loader ──────────────────────────────────────────────────────────── */
#my-custom-bundle .sw__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: var(--mut);
  font-size: 14px;
}
#my-custom-bundle .sw__loader::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid #e7cccd;
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: sw-spin .8s linear infinite;
}
#my-custom-bundle .sw__empty {
  padding: 24px;
  text-align: center;
  color: var(--mut);
  font-size: 13px;
  grid-column: 1 / -1;
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #my-custom-bundle .sw__hero-title { font-size: 30px; }
  #my-custom-bundle .sw__wrap {
    display: flex;
    flex-direction: column;
    padding: 20px 0px 20px; /* room for the fixed footer */
    gap: 0;
  }
  #my-custom-bundle .sw__cards {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
  }
  #my-custom-bundle .sw__step-why { margin-left: 0; }
  #my-custom-bundle .sw__notebox { margin-left: 0; }

  /* Panel detaches into a fixed bottom footer, sticky on mobile too. */
  #my-custom-bundle .sw__panel {
    position: sticky;            /* was: fixed */
    top: auto;
    bottom: 0;
    width: 100vw;                /* edge to edge, like before */
    max-width: 100vw;
    margin-left: calc(50% - 50vw);   /* pull out past the theme's side padding */
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    z-index: 50;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(240, 121, 123, .14);
    max-height: 88vh;
    overflow-y: auto;
  }
  /* Show the toggle; body is collapsed by default. */
  #my-custom-bundle .sw__panel-toggle { display: inline-block; }
  #my-custom-bundle .sw__panel-body { display: none; }
  #my-custom-bundle .sw__panel-head { cursor: pointer; }

  /* Expanded: reveal the full bag body + hide the collapsed total (full summary shows totals). */
  #my-custom-bundle .sw__panel.is-expanded .sw__panel-body { display: block; }
  #my-custom-bundle .sw__panel.is-expanded .sw__collapsed-total { display: none; }
}

@media (max-width: 900px) {
    #my-custom-bundle .sw__tabs {
      overflow-x: auto;
      scrollbar-width: none;
      padding-left: 3px;
      padding-right: 3px;
    }
    #my-custom-bundle .sw__tabs::-webkit-scrollbar { display: none; }
    #my-custom-bundle .sw__tab { flex: 0 0 auto; }
    #my-custom-bundle .sw__tab-t {
      overflow: visible;
      text-overflow: clip;
    }
  }