#heart-duo-builder {
  --duo-ink:#392d25;
  --duo-muted:#756756;
  --duo-line:#dcd2bd;
  --duo-selected:#71543b;
  container-type:inline-size;
  margin:20px 0 14px;
  padding:0;
  color:var(--duo-ink);
}
.duo-module {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(82px,23%,124px);
  grid-template-areas:"bag-options bag-preview" "toy-options toy-preview" "straps straps" "purchase purchase";
  gap:15px clamp(12px,3cqi,20px);
  align-items:center;
}
.duo-gallery,.duo-pair,.duo-config { display:contents }
.duo-field:first-of-type { grid-area:bag-options }
.duo-field:nth-of-type(2) { grid-area:toy-options }
.duo-bag { grid-area:bag-preview; background:#eee6d8 }
.duo-toy { grid-area:toy-preview; background:#f4e2d8 }
.duo-straps { grid-area:straps; border-top:1px solid var(--duo-line); padding-top:16px; min-width:0 }
.duo-order { grid-area:purchase }
.duo-module button,.duo-module input { font:inherit; color:inherit }
.duo-module button { cursor:pointer }
.duo-module button:disabled,.duo-module input:disabled { opacity:.52; cursor:default }
.duo-module button:focus-visible,.duo-module input:focus-visible,.duo-choice:has(input:focus-visible) {
  outline:3px solid var(--duo-selected); outline-offset:3px;
}
.duo-module [hidden] { display:none }
.duo-figure { position:relative; isolation:isolate; margin:0; min-width:0; height:clamp(90px,23cqi,120px); border-radius:16px; overflow:hidden }
.duo-figure figcaption {
  position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.duo-product-image { position:absolute; inset:4px; display:grid; place-items:center }
.duo-bag .duo-product-image img {
  position:absolute; bottom:0; left:50%; width:auto; height:100%; max-width:none; transform:translateX(-50%);
}
.duo-bag[data-cat=black] .duo-product-image { mix-blend-mode:multiply }
.duo-toy .duo-product-image img { width:78%; height:85%; object-fit:contain }
.duo-field { min-width:0; padding:0; border:0; margin:0 }
.duo-field legend,.duo-section-head h3 { padding:0; font-size:16px; font-weight:750; line-height:1.35 }
.duo-field legend { margin-bottom:8px }
.duo-choices { display:grid; grid-template-columns:1fr 1fr; gap:8px }
.duo-choice {
  position:relative; display:flex; align-items:center; gap:8px; min-height:48px; min-width:0;
  padding:5px 10px; font-size:14px; font-weight:640; cursor:pointer;
  background:#fffdf8; border:1px solid var(--duo-line); border-radius:12px;
}
.duo-choice img { width:33px; height:33px; object-fit:contain; flex:none }
.duo-choice span { white-space:nowrap }
.duo-choice input { position:absolute; opacity:0; width:1px; height:1px; margin:0 }
.duo-choice i { width:14px; height:14px; margin-left:auto; flex:none; border:1px solid #b3a692; border-radius:50%; background:#fff }
.duo-choice:has(input:checked) { border-color:var(--duo-selected); box-shadow:inset 0 0 0 .5px var(--duo-selected); background:#fff6df }
.duo-choice:has(input:checked) i { border:4px solid var(--duo-selected) }
.duo-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin:0 0 7px }
.duo-section-head h3 { margin:0 }
.duo-section-head button { padding:4px 0; background:none; border:0; color:#654a37; font-size:12px; font-weight:700; text-decoration:underline; text-underline-offset:3px }
.duo-swatches { display:flex; flex-wrap:wrap; gap:4px }
.duo-module button.duo-swatch { display:grid; place-items:center; padding:3px; border:1.5px solid transparent; border-radius:10px; background:none; min-width:42px; min-height:42px }
.duo-swatch span { width:32px; height:32px; border-radius:7px; overflow:hidden; border:1px solid #dad1c1; background:#f5f0e2 }
.duo-swatch img { width:100%; height:100%; object-fit:cover; display:block }
.duo-module .duo-swatch[aria-pressed=true] { border-color:var(--duo-selected); background:#fff9e9 }
.duo-swatches.duo-expanded { display:grid; grid-template-columns:repeat(auto-fill,minmax(59px,1fr)); gap:4px }
.duo-module .duo-expanded .duo-swatch { min-width:0; width:100%; gap:4px; align-content:start; padding:4px 2px }
.duo-swatch small { text-align:center; font-size:10px; line-height:1.25; overflow-wrap:anywhere }
.duo-selected-strap { color:var(--duo-muted); font-size:12px; line-height:1.4; margin:5px 0 0 }
.duo-purchase { display:flex; align-items:stretch; gap:9px }
.duo-quantity { display:flex; align-items:center; border:1px solid var(--duo-line); border-radius:11px; background:#fffdf8; flex:none }
.duo-quantity button { width:36px; min-height:46px; padding:0; border:0; background:transparent; font-size:16px }
.duo-quantity input { appearance:textfield; -moz-appearance:textfield; width:34px; padding:0; border:0; background:none; text-align:center; font-size:14px }
.duo-quantity input::-webkit-inner-spin-button,.duo-quantity input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0 }
.duo-module .duo-add { flex:1; min-height:44px; min-width:0; padding:10px 12px; border:0; border-radius:11px; color:#fffaf3; background:#50372d; font-size:14px; font-weight:750 }
.duo-module .duo-add:hover:not(:disabled) { background:#674639 }
.duo-gallery-preview {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px;
  min-height:630px; overflow:hidden; border-radius:28px; background:#faf4e8;
}
.duo-gallery-preview figure { position:relative; isolation:isolate; margin:0; min-width:0; overflow:hidden; background:#efe6d8 }
.duo-gallery-preview figure[data-duo-preview="toy"] { background:#f1e1d7 }
.duo-gallery-preview figcaption {
  position:absolute; top:clamp(14px,2vw,26px); left:clamp(12px,2vw,25px);
  display:grid; gap:3px; color:#725e52; font-size:12px; line-height:1.3;
}
.duo-gallery-preview figcaption strong { font-size:clamp(16px,1.4vw,22px); color:#45342b }
.duo-gallery-preview img { position:absolute; top:14%; left:0; width:100%; height:81%; object-fit:contain }
.duo-gallery-preview figure[data-duo-preview="toy"] img { top:23%; left:12%; width:76%; height:64% }
.duo-gallery-preview figure[data-duo-preview="bag"][data-cat="black"] img { mix-blend-mode:multiply }
.duo-detail-images {
  display:grid; gap:clamp(10px,2vw,24px); margin:0 24px clamp(24px,4vw,52px);
}
.duo-detail-images img { display:block; width:100%; height:auto; border-radius:18px }
.duo-info.accordion { margin-top:24px; border-top:1px solid #dcd3c5 }
.duo-info.accordion details { padding:0; border-bottom:1px solid #dcd3c5 }
.duo-info.accordion summary {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 2px; min-height:52px; box-sizing:border-box;
  color:#705196; font-size:15px; line-height:1.35; font-weight:600; letter-spacing:.045em;
  cursor:pointer; list-style:none;
}
.duo-info summary::-webkit-details-marker { display:none }
.duo-info summary::after {
  content:""; width:8px; height:8px; margin:0 5px 4px 0; flex:none;
  border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
.duo-info details[open] > summary::after { margin-bottom:-4px; transform:rotate(225deg) }
.duo-info summary:focus-visible { outline:2px solid #705196; outline-offset:-3px; border-radius:4px }
.duo-info details > p { margin:0 2px 16px; color:#62594f; line-height:1.6; white-space:pre-line; overflow-wrap:anywhere }
.duo-info.accordion dl { margin:0 2px 16px; grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) }
.duo-info.accordion dt,.duo-info.accordion dd { padding:6px 8px 6px 0; color:#62594f; border:0; font-size:14px; line-height:1.45; overflow-wrap:anywhere }
@container (max-width:430px) {
  .duo-module { grid-template-columns:minmax(0,1fr) clamp(68px,21cqi,89px); column-gap:10px }
  .duo-choices { gap:5px }
  .duo-choice { gap:5px; padding:4px 6px; font-size:13px }
  .duo-choice img { width:26px; height:28px }
  .duo-choice i { display:none }
  .duo-choice:has(input:checked)::after { content:"✓"; color:var(--duo-selected); margin-left:auto; font-size:12px }
}
@container (max-width:320px) {
  .duo-choice { font-size:12px; gap:4px; padding-inline:4px }
  .duo-choice img { width:20px; height:23px }
  .duo-choice:has(input:checked)::after { font-size:10px }
}
@media (max-width:980px) { .duo-detail-images { margin-inline:0 } }
@media (max-width:620px) { .duo-gallery-preview { min-height:390px } }
@media (max-width:365px) {
  body:has(#heart-duo-builder) .site-footer { grid-template-columns:minmax(0,1fr) }
  body:has(#heart-duo-builder) .site-footer > * { min-width:0 }
}
