#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-module:has(.duo-pet) {
  grid-template-areas:"pet pet" "bag-options bag-preview" "toy-options toy-preview" "straps straps" "purchase purchase";
}
.duo-pet { grid-area:pet; min-width:0 }
.duo-pet-options { display:flex; gap:8px; border:0; margin:0; padding:0; min-width:0 }
.duo-pet-option { display:inline-flex; position:relative; cursor:pointer }
.duo-pet-option input { position:absolute; opacity:0; width:1px; height:1px; margin:0 }
.duo-pet-option span {
  display:grid; place-items:center; box-sizing:border-box; min-height:44px; min-width:92px; padding:6px 18px;
  border:1px solid var(--duo-line); border-radius:12px; background:#fffdf8; font-size:14px; font-weight:650;
}
.duo-pet-option input:checked + span { border-color:var(--duo-selected); box-shadow:inset 0 0 0 .5px var(--duo-selected); background:#fff6df }
.duo-pet-option input:focus-visible + span { outline:3px solid var(--duo-selected); outline-offset:3px }
.duo-pet .duo-pet-note { margin:8px 0 0; color:#625548; font-size:14px; line-height:1.45 }
.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-module[data-design-count="4"] .duo-choices { grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px }
.duo-module[data-design-count="4"] .duo-choice { flex-direction:column; justify-content:center; gap:3px; padding:6px 2px; text-align:center }
.duo-module[data-design-count="4"] .duo-choice span { line-height:1.2; font-size:12px }
.duo-module[data-design-count="4"] .duo-choice i,.duo-module[data-design-count="4"] .duo-choice::after { display:none }
.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 { --info-ink:#402e27; color:var(--info-ink); 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:var(--info-ink); 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 currentColor; outline-offset:-3px; border-radius:4px }
.duo-info details > p { margin:0 2px 16px; color:var(--info-ink); 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:var(--info-ink); border:0; font-size:14px; line-height:1.45; overflow-wrap:anywhere }
.patchwork-product #heart-duo-builder { margin:0; --duo-selected:#402e27; --duo-line:#ded5c8 }
.duo-module.patchwork-builder { display:flex; flex-direction:column; align-items:stretch; gap:clamp(12px,2.5cqi,22px) }
.patchwork-builder .duo-pet { display:flex; align-items:center; justify-content:space-between; gap:8px; font-weight:650 }
.patchwork-builder .duo-pet-options,.patchwork-roles { padding:2px; border-radius:9px; background:#eee7db }
.patchwork-builder .duo-pet-options { gap:0; border-radius:999px; flex:none }
.patchwork-builder .duo-pet-option span { min-height:32px; min-width:0; padding:4px clamp(9px,2.7cqi,19px); border:1px solid transparent; border-radius:999px; background:transparent; font-size:13px; font-weight:500 }
.patchwork-builder .duo-pet-option input:checked + span { border-color:var(--duo-line); box-shadow:none; background:#fffaf3; font-weight:700 }
.patchwork-roles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:10px }
.patchwork-roles button { min-height:clamp(36px,8.5cqi,46px); padding:4px 5px; border:0; border-radius:7px; background:transparent; font-size:clamp(12px,3.5cqi,17px); font-weight:650 }
.patchwork-roles button[aria-pressed=true] { background:#402e27; color:#fffaf3 }
.patchwork-characters legend {
  position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.duo-module.patchwork-builder .duo-choices { gap:clamp(5px,2cqi,10px) }
.duo-module.patchwork-builder .duo-choice {
  flex-direction:column; justify-content:center; gap:3px; text-align:center;
  min-height:clamp(65px,22cqi,111px); padding:5px 4px; border-radius:9px; background:#f2ede3; border-color:transparent;
}
.duo-module.patchwork-builder .duo-choice i { display:none }
.duo-module.patchwork-builder .duo-choice:has(input:checked) { background:#f1e8db; border-color:var(--duo-selected) }
.duo-module.patchwork-builder .duo-choice:has(input:checked)::after {
  display:grid; place-items:center; content:"✓"; position:absolute; top:4px; right:4px;
  width:13px; height:13px; border-radius:50%; background:#402e27; color:white; font-size:9px;
}
.duo-module.patchwork-builder .duo-choice img { width:82%; height:clamp(40px,15cqi,79px) }
.duo-module.patchwork-builder .duo-choice span { font-size:clamp(12px,3.2cqi,15px) }
.patchwork-builder .duo-straps { padding-top:clamp(9px,2.8cqi,17px) }
.patchwork-builder .duo-section-head { margin-bottom:8px }
.patchwork-builder .duo-section-head h3 { font:400 clamp(19px,5cqi,26px)/1.2 Georgia,serif }
.patchwork-builder .duo-selected-strap { margin:0; font-size:clamp(12px,3cqi,14px); font-weight:650 }
.patchwork-builder .duo-swatches { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:2px 3px }
.patchwork-builder button.duo-swatch { margin-inline:auto; width:min(100%,46px); min-width:0; min-height:clamp(36px,9.6cqi,46px); padding:3px }
.patchwork-builder .duo-swatch span { width:clamp(24px,7.7cqi,36px); height:auto; aspect-ratio:1; border-radius:6px }
.patchwork-builder .duo-order { padding-top:clamp(10px,2.5cqi,15px); border-top:1px solid var(--duo-line) }
.patchwork-builder .duo-quantity { border-radius:8px }
.patchwork-builder .duo-quantity button { width:29px; min-height:42px }
.patchwork-builder .duo-quantity input { width:25px }
.patchwork-builder .duo-add { background:#402e27; font-size:15px; border-radius:8px }
@container (max-width:495px) {
  .duo-module.patchwork-builder { gap:9px }
  .duo-module.patchwork-builder .duo-choice { min-height:clamp(65px,21cqi,100px) }
  .patchwork-builder .duo-swatches { grid-template-columns:repeat(6,minmax(0,1fr)) }
}
@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 }
}
