/* Rodier · Les Coffrets de Noël — box page. Flat rules (no CSS nesting) for iOS 16.4 and older Safari.
   Every rule starts with this template's root selector, so it reaches only this template. */

/* Root: colours, font, page spacing */
#my-custom-bundle[template-id="gift-box-v2-35922"] {
  --ink: #383838;
  --ink2: #6B6B6B;
  --grey: #9A9A9A;
  --black: #111;
  --line: #EBEBEB;
  --line2: #D6D6D6;
  --green: #10875A;
  --blue: #091C96;
  --red: #D42C2A;
  --tile: #E5E2DE;
  --sand: #F4F2EF;
  --shot: #E6E3DE;
  --tissue: #ECEBEB;
  --font: FuturaNew, Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

  display: block;
  box-sizing: border-box;
  padding: 0 20px 72px; /* 20px sides, lined up with the site header */
  font-family: var(--font);
  color: var(--ink);
  font-size: 15px;
  line-height: 24px;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Box sizing everywhere inside */
#my-custom-bundle[template-id="gift-box-v2-35922"] *,
#my-custom-bundle[template-id="gift-box-v2-35922"] *::before,
#my-custom-bundle[template-id="gift-box-v2-35922"] *::after { box-sizing: border-box; }

/* Theme resets: headings, buttons, fields */
#my-custom-bundle[template-id="gift-box-v2-35922"] h2,
#my-custom-bundle[template-id="gift-box-v2-35922"] h3,
#my-custom-bundle[template-id="gift-box-v2-35922"] p { font-family: inherit; margin: 0; letter-spacing: 0; text-transform: none; }
#my-custom-bundle[template-id="gift-box-v2-35922"] button,
#my-custom-bundle[template-id="gift-box-v2-35922"] textarea,
#my-custom-bundle[template-id="gift-box-v2-35922"] input {
  font-family: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] button:focus-visible,
#my-custom-bundle[template-id="gift-box-v2-35922"] a:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] [hidden] { display: none !important; }

/* Photo frame with a striped stand-in when the image is missing */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__ph { display: block; position: relative; background: var(--shot); overflow: hidden; aspect-ratio: 5 / 6; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__ph img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__ph.is-contain img { object-fit: contain; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__ph.is-empty::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink2);
  background: repeating-linear-gradient(135deg, #f6f3ee 0 9px, #eeeae3 9px 18px);
}

/* Breadcrumb */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb { margin: 24px 0 28px; font-size: 17px; line-height: 24px; color: var(--ink2); text-transform: lowercase; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb a { color: inherit; text-decoration: none; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb-sep { margin: 0 8px; color: var(--grey); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb-cur { color: var(--ink); }

/* Two columns: photos left, details right */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Photo column and swipeable viewer */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__vis { position: sticky; top: 24px; min-width: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__viewer { position: relative; background: var(--shot); height: clamp(400px, calc(100vh - 230px), 820px); overflow: hidden; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__track::-webkit-scrollbar { display: none; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; min-width: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__slide > .bundle__ph { width: 100%; height: 100%; aspect-ratio: auto; }

/* Viewer caption (bottom left) and "‹ 1 / n ›" (bottom right) */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__cap {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 4;
  max-width: calc(100% - 180px);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .72px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .9);
  padding: 6px 10px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__cap:empty { display: none; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__nav {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .9);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__nav button {
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 44px;
  color: var(--ink);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__nav-n { font-size: 12px; letter-spacing: .6px; min-width: 40px; text-align: center; }

/* First slide: the wrapped box (tissue, green frame, blue ribbon, sticker, piece tiles) */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-wrap { width: 100%; height: 100%; padding: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 104px 28px 72px;
  border: 6px solid var(--green);
  background-color: var(--tissue);
  background-position: center;
  background-size: cover;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-rbn { position: absolute; top: 0; bottom: 0; left: 50%; width: 16px; margin-left: -8px; background: var(--blue); z-index: 1; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-stk {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: contain;
  transform: translateX(-50%);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-tiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  height: 100%;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-tile { display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-tile .bundle__ph { width: 100%; height: 100%; aspect-ratio: auto; background: var(--tile); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-tile .bundle__ph img { object-fit: contain; }

/* Sand block under the viewer: dustbag and pouch */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sand { margin-top: 16px; padding: 24px; background: var(--sand); text-align: center; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sand .bundle__wrap-pics { justify-content: center; gap: 24px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sand .bundle__wrap-pics img { width: 140px; height: 140px; background: transparent; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sand p { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink2); }

/* Desktop row under the photos: dustbag + pouch panel (1/3) and card preview (2/3), same height */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under { display: flex; align-items: stretch; gap: 16px; margin-top: 16px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under > .bundle__sand { flex: 1 1 0; min-width: 0; margin-top: 0; padding: 16px; display: flex; align-items: center; justify-content: center; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under > .bundle__note { flex: 2 1 0; min-width: 0; margin-top: 0; display: flex; flex-direction: column; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under .bundle__note-card { flex: 1 1 auto; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under .bundle__sand .bundle__wrap-pics { width: 100%; gap: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under .bundle__sand .bundle__wrap-pics img { flex: 1 1 0; min-width: 0; width: auto; height: auto; max-width: 120px; aspect-ratio: 1 / 1; }

/* Card preview: "Pour Claire, / message / — Paul" */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note { margin-top: 16px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note--opts { display: none; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-t { margin-bottom: 10px; font-size: 14px; line-height: 15.4px; letter-spacing: .84px; text-transform: uppercase; color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-card { padding: 28px 32px; background: #fff; border: 1px solid var(--line); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-card p { font-size: 17px; line-height: 25px; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-card p:not([hidden]) ~ p { margin-top: 10px; }
/* Blank card until the shopper types */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-card.is-empty { min-height: 132px; }
/* Hint text in the empty card */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note-card p.bundle__note-hint { font-style: italic; color: var(--grey); }

/* Details column: title, summary line, price */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__opts { width: 100%; max-width: 462px; justify-self: center; min-width: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__name { font-size: 28px; line-height: 30px; font-weight: 600; text-transform: uppercase; color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sumline { margin-top: 10px; color: var(--ink2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; margin-top: 14px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__price-p { font-size: 18.75px; line-height: 30px; color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__price-v { font-size: 14px; line-height: 20px; color: var(--grey); }

/* Step sections and their headings */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sec { margin-top: 34px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__h { margin: 0 0 16px; font-size: 14px; line-height: 15.4px; font-weight: 400; letter-spacing: .84px; text-transform: uppercase; color: var(--ink); }
/* Divider line under the step titles (1 · … and 2 · Votre mot) */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__step-h,
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__msgsec > .bundle__h { display: block; margin-bottom: 10px; padding-bottom: 14px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sizenote { margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--grey); }

/* One piece: name line, switches, colours, sizes */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it { position: relative; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it + .bundle__it { margin-top: 26px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it.is-flash { animation: bundle-flash-gift-box-v2-35922 1.2s cubic-bezier(.104,.204,.492,1); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it-name { font-size: 15px; line-height: 24px; letter-spacing: .84px; text-transform: uppercase; color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it-name em { font-style: normal; text-transform: uppercase; color: var(--ink2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__pick { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it.is-pair .bundle__pick { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Switches: Pour elle / Pour lui, Col rond / Col V */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__seg { display: flex; margin-top: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__seg-btn {
  position: relative;
  flex: 1 1 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line2);
  margin-left: -1px;
  background: #fff;
  font-size: 12.19px;
  letter-spacing: .73px;
  text-transform: uppercase;
  color: var(--ink2);
  cursor: pointer;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__seg-btn:first-child { margin-left: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__seg-btn.is-on { border-color: var(--ink); color: var(--ink); font-weight: 500; z-index: 2; }

/* Sweater: both switch groups on one row, buttons sized to their text */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__segs { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__segs .bundle__seg { margin-top: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__segs .bundle__seg-btn { flex: none; height: 44px; padding: 0 16px; }

/* Sweater: "CE COFFRET EST" block above the piece, thin lines above and below, two equal buttons */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__pour { margin-bottom: 18px; padding: 16px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__pour-l { font-size: 12px; line-height: 16px; letter-spacing: .84px; text-transform: uppercase; color: var(--ink2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__pour .bundle__seg { width: 100%; margin-top: 10px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__pour .bundle__seg-btn { flex: 1 1 0; min-width: 0; height: 44px; }

/* Colour swatches: 20px squares, dark line under the chosen one */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sws { display: flex; flex-wrap: wrap; gap: 12px; padding: 4px 0 6px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw { position: relative; width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw::before { content: ""; position: absolute; inset: -12px -6px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw i { display: block; width: 20px; height: 20px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw:disabled { cursor: not-allowed; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sw:disabled i {
  opacity: .35;
  background: linear-gradient(to top right, transparent 46%, #666 47%, #666 53%, transparent 54%), var(--c);
}

/* Size boxes: 48px squares, struck through when sold out */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__szs { display: flex; flex-wrap: wrap; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sz {
  position: relative;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line2);
  margin: 0 0 0 -1px;
  background: #fff;
  font-size: 12.19px;
  letter-spacing: .73px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sz:first-child { margin-left: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sz.is-on { border-color: var(--ink); font-weight: 500; z-index: 2; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sz:disabled { color: var(--grey); text-decoration: line-through; cursor: not-allowed; }

/* Missing size after "Ajouter": red line and red borders on the free sizes */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__need { display: none; margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--red); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it.is-miss .bundle__need { display: block; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__it.is-miss .bundle__sz:not(:disabled):not(.is-on) { border-color: var(--red); z-index: 1; }

/* Brooch photo tiles */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0 0 8px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile .bundle__ph { flex: none; width: 100%; aspect-ratio: 1; background: var(--tile); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile span { display: block; padding: 8px 8px 0; font-size: 13px; line-height: 17px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile span em { display: block; font-style: normal; color: var(--ink2); font-size: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile.is-on { border-color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tile:disabled { opacity: .45; cursor: not-allowed; }

/* "Emballage offert": dustbag and pouch pictures with a short text */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-row { display: flex; align-items: center; gap: 16px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-pics { display: flex; flex: none; gap: 8px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-pics img { display: block; width: 72px; height: 72px; max-width: none; object-fit: contain; background: var(--sand); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-tx { font-size: 14px; line-height: 22px; color: var(--ink2); }

/* "Emballage offert": thin line above, title over the text right of the pictures */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrapsec { padding-top: 28px; border-top: 1px solid var(--line2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-body { flex: 1 1 auto; min-width: 0; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-body .bundle__h { margin-bottom: 8px; }

/* "Votre mot": Pour / De la part de side by side, message, counter */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__names { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__names + .bundle__fld { margin-top: 16px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__lbl { display: block; margin-bottom: 8px; font-size: 14px; line-height: 15.4px; letter-spacing: .84px; text-transform: uppercase; color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__in {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line2);
  background: #fff;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__in.bundle__msg { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__in::placeholder { color: var(--grey); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__in:focus { outline: none; border-color: var(--ink); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__cntr { margin-top: 6px; font-size: 12px; line-height: 16px; letter-spacing: .6px; color: var(--grey); text-align: right; }

/* "Ne pas indiquer le prix" tick box: our own square, so the theme's checkbox reset can't hide it */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__hide { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 24px; cursor: pointer; font-size: 15px; line-height: 24px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__hide-box { position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; opacity: 0; cursor: pointer; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tick { position: relative; flex: none; display: block !important; width: 20px; height: 20px; border: 1px solid var(--ink); background: #fff; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__hide-box:checked + .bundle__tick { background: var(--black); border-color: var(--black); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__hide-box:checked + .bundle__tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__hide-box:focus-visible + .bundle__tick { outline: 2px solid var(--black); outline-offset: 2px; }

/* Recap box: green frame, price, pieces, shipping, what's left */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap { margin-top: 28px; padding: 22px 24px; border: 4px solid var(--green); background: #fff; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap-h span { font-size: 14px; line-height: 15.4px; letter-spacing: .84px; text-transform: uppercase; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap-p { font-size: 18.75px; line-height: 30px; font-weight: 400; white-space: nowrap; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap-p s { margin-right: 6px; font-size: 14px; color: var(--grey); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap-l { margin-top: 10px; font-size: 14px; line-height: 22px; color: var(--ink2); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__ship { margin-top: 10px; font-size: 14px; line-height: 22px; color: var(--green); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__rest { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--red); }

/* Add button: black, as wide as its text */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin-top: 18px;
  padding: 0 28px;
  border: 0;
  background: var(--black);
  color: #fff;
  font: 500 13px/14px var(--font);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s cubic-bezier(.104,.204,.492,1);
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__atc:hover { background: #000; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__atc:disabled { cursor: not-allowed; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__atc.is-loading { cursor: progress; opacity: .85; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .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-v2-35922 .9s linear infinite;
}
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__atc-err { margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--red); }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__deliv { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--ink2); }

/* Phone bottom bar: hidden on larger screens */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar { display: none; }

/* Loader */
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__loader { display: flex; align-items: center; justify-content: center; min-height: 420px; }
#my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__loader::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top-color: var(--black);
  border-radius: 50%;
  animation: bundle-spin-gift-box-v2-35922 .9s linear infinite;
}

/* Narrow desktops: tighter column gap */
@media (max-width: 1023.98px) {
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__grid { gap: 28px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones (760px and below): one column, square edge-to-edge viewer, bottom bar */
@media (max-width: 760px) {
  #my-custom-bundle[template-id="gift-box-v2-35922"] { padding: 0 16px 32px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__crumb { margin: 16px 0 18px; font-size: 14px; line-height: 20px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__vis { position: static; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__viewer { width: 100vw; margin-left: calc(50% - 50vw); height: auto; aspect-ratio: 1 / 1; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx { padding: 80px 16px 64px; border-width: 4px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-tiles { gap: 16px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-rbn { width: 10px; margin-left: -5px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bx-stk { width: 60px; height: 60px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__sand { display: none; }
  /* Card preview moves under the message */
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note--vis { display: none; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note--opts { display: block; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__under { display: none; }
  /* Phone card preview: its title sits inside the card box */
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note--opts { padding: 22px 20px; border: 1px solid var(--line); background: #fff; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__note--opts .bundle__note-card { padding: 0; border: 0; }
  /* Pour and De la part de stacked, full width */
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__names { grid-template-columns: minmax(0, 1fr); }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__opts { max-width: none; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__name { font-size: 22px; line-height: 26px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-row { align-items: flex-start; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__wrap-pics img { width: 60px; height: 60px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__recap { padding: 18px 16px; }

  /* Fixed bottom bar: title, price, Ajouter au panier; slides up while the recap is off screen */
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fff;
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s;
  }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar.is-on { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 19px; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx b,
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx b { font-weight: 600; text-transform: uppercase; color: var(--ink); }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx span { color: var(--ink); }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar-tx s { margin-right: 6px; color: var(--grey); }
  #my-custom-bundle[template-id="gift-box-v2-35922"] .bundle__bar .bundle__atc { flex: none; margin: 0; padding: 0 18px; }
}

/* Page: lift the store's accessibility button above the phone bar while the bar is on screen */
@media (max-width: 760px) {
  html.gbb-bar-on pandectes-a11y { bottom: calc(76px + env(safe-area-inset-bottom)) !important; transition: bottom .2s; }
}

/* Animations (names unique per template) */
@keyframes bundle-spin-gift-box-v2-35922 {
  to { transform: rotate(360deg); }
}
@keyframes bundle-flash-gift-box-v2-35922 {
  0%, 60% { background: #fbf1ef; }
  100% { background: transparent; }
}

@media (max-width: 760px) {
  pandectes-a11y { display: none !important; }
}