/* CRPRT 2026 — editorial bundle modal */
.product-detail-dialog.is-bundle-product {
  width: min(1120px, 100%);
  height: min(780px, calc(100dvh - 40px));
  min-height: min(650px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, .96fr);
  overflow: hidden;
  background: #f0efeb;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  color: #f5f4f0;
}
.product-detail-dialog.is-bundle-product .detail-media-column {
  min-height: 0;
  height: auto;
  padding: 56px 24px 26px;
  background: #eeede8;
  overflow: hidden;
}
.product-detail-dialog.is-bundle-product .detail-image-stage { min-height: 0; flex: 1 1 auto; }
.product-detail-dialog.is-bundle-product .detail-image { object-fit: contain; mix-blend-mode: multiply; }
.product-detail-dialog.is-bundle-product .detail-gallery-controls { margin-top: 14px; }
.product-detail-dialog.is-bundle-product .detail-info-column {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.24) transparent;
  padding: 42px 30px 24px;
  background: #0b0b0b;
  color: #f5f4f0;
  display: flex;
  flex-direction: column;
}
.product-detail-dialog.is-bundle-product .detail-category { color: #969690; font-size: 10px; letter-spacing: .2em; }
.product-detail-dialog.is-bundle-product .detail-title { color: #f5f4f0; font-size: clamp(27px, 3vw, 35px); letter-spacing: -.06em; }
.product-detail-dialog.is-bundle-product .detail-price { margin: 7px 0 10px; color: #f5f4f0; font-size: 23px; font-weight: 500; }
.product-detail-dialog.is-bundle-product .detail-description { color: #a9a9a3; font-size: 13px; line-height: 1.5; }
.product-detail-dialog.is-bundle-product .detail-description-extra { color: #73736e; font-size: 12px; }
.product-detail-dialog.is-bundle-product #detail-size-help { display: none !important; }
.product-detail-dialog.is-bundle-product .modal-close {
  top: 15px; right: 15px; width: 34px; height: 34px;
  background: rgba(14,14,14,.9); border-color: rgba(255,255,255,.16); color: #fff;
}
.product-detail-dialog.is-bundle-product .modal-close:hover,
.product-detail-dialog.is-bundle-product .modal-close:focus-visible { background: #f4f2ed; border-color: #f4f2ed; color: #111; }
.bundle-picker { display: flex; flex-direction: column; gap: 17px; min-width: 0; margin-top: 22px; }
.bundle-picker[hidden] { display: none !important; }
.bundle-picker-intro { padding: 0 0 15px; border-bottom: 1px solid rgba(255,255,255,.14); }
.bundle-intro-kicker { display: block; margin-bottom: 9px; color: #9d9d96; font-size: 9px; font-weight: 600; letter-spacing: .19em; }
.bundle-picker-intro p { margin: 0; color: #f5f4f0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; line-height: 1.16; letter-spacing: -.035em; }
.bundle-picker-intro small { display: block; margin-top: 7px; color: #92928b; font-size: 11px; line-height: 1.5; }
.bundle-components-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 11px; }
.bundle-component {
  min-width: 0; padding: 15px 15px 13px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.bundle-component.is-unconfigured { border-color: rgba(237,94,94,.5); }
.bundle-component-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 11px; }
.bundle-component-eyebrow { color: #9d9d95; font-size: 8px; letter-spacing: .16em; white-space: nowrap; }
.bundle-component-title { margin: 0; color: #f7f6f2; font-size: 13px; font-weight: 600; line-height: 1.25; }
.bundle-fixed-tag { padding: 4px 6px; border-radius: 4px; background: rgba(255,255,255,.08); color: #b9b9b2; font-size: 7px; letter-spacing: .08em; white-space: nowrap; }
.bundle-component-product { display: flex; align-items: center; gap: 12px; min-width: 0; margin-bottom: 13px; }
.bundle-component-thumb { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; overflow: hidden; border-radius: 9px; background: #e7e6df; }
.bundle-component-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-thumb-placeholder { color: #55554f; font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: .14em; }
.bundle-component-product-copy { min-width: 0; }
.bundle-component-product-name { margin: 0; color: #f5f4f0; font-size: 13px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.bundle-component-product-meta { margin: 5px 0 0; color: #92928b; font-size: 10px; line-height: 1.35; }
.bundle-component-size-block { border-top: 1px solid rgba(255,255,255,.1); padding-top: 11px; }
.bundle-size-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.bundle-size-label { margin: 0; color: #a4a49d; font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.bundle-size-selected-label { color: #f5f4f0; font-size: 10px; }
.bundle-size-options { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.bundle-size-option { min-width: 38px; min-height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: transparent; color: #f1f0ec; font: inherit; font-size: 11px; transition: background-color .16s, color .16s, border-color .16s, transform .16s; }
.bundle-size-option:hover, .bundle-size-option:focus-visible { border-color: #f5f4f0; color: #fff; }
.bundle-size-option.is-selected { border-color: #f5f4f0; background: #f5f4f0; color: #111; font-weight: 700; }
.bundle-component-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14px; margin-top: 12px; }
.bundle-selection-hint { margin: 0; color: #777770; font-size: 10px; line-height: 1.45; }
.bundle-selection-hint.is-error { color: #ffaaa3; }
.bundle-guide-button { padding: 0 0 3px; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); background: transparent; color: #d1d0ca; font-size: 10px; line-height: 1.4; text-underline-offset: 4px; transition: color .16s, border-color .16s; }
.bundle-guide-button:hover, .bundle-guide-button:focus-visible { color: #fff; border-color: #fff; }
.bundle-guide-button:disabled { cursor: not-allowed; opacity: .35; }
.bundle-component-empty { color: #e6a5a0; font-size: 10px; }
.bundle-picker-error { margin: 0; color: #ffaaa3; font-size: 11px; line-height: 1.45; }
.bundle-picker-error:empty { display: none; }
.bundle-picker-footer {
  position: sticky; bottom: -1px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 1px; padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(to bottom, rgba(11,11,11,.96), #0b0b0b 22%);
}
.bundle-picker-total { display: flex; flex-direction: column; gap: 4px; min-width: 90px; }
.bundle-picker-total span { color: #8a8a83; font-size: 8px; letter-spacing: .16em; }
.bundle-picker-total strong { color: #f5f4f0; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.bundle-add-button { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 45px; padding: 0 15px; border: 1px solid #f2f1ec; border-radius: 8px; background: #f2f1ec; color: #111; font-size: 11px; font-weight: 700; transition: background .17s, color .17s, border-color .17s; }
.bundle-add-button:hover, .bundle-add-button:focus-visible { border-color: #fff; background: #0b0b0b; color: #fff; }
.bundle-add-button span:last-child { font-size: 17px; font-weight: 400; }
.bundle-card-badge { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: rgba(5,5,5,.78); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .14em; pointer-events: none; }
.product-image { position: relative; }
.product-card.is-bundle-card .size-overlay { display: none !important; }
@media (max-width: 900px) {
  .product-detail-dialog.is-bundle-product { width: min(700px, 100%); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .product-detail-dialog.is-bundle-product .detail-media-column { padding: 54px 12px 22px; }
  .product-detail-dialog.is-bundle-product .detail-info-column { padding: 40px 20px 22px; }
  .bundle-component { padding: 12px; }
  .bundle-component-heading { grid-template-columns: auto minmax(0,1fr); }
  .bundle-fixed-tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  .product-detail-dialog.is-bundle-product { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .product-detail-dialog.is-bundle-product .detail-media-column { flex: 0 0 auto; width: 100%; height: min(72vw, 330px); min-height: 230px; padding: 42px 18px 6px; }
  .product-detail-dialog.is-bundle-product .detail-info-column { flex: 0 0 auto; height: auto; max-height: none; overflow: visible; padding: 23px 18px 20px; }
  .product-detail-dialog.is-bundle-product .detail-title { font-size: clamp(26px, 7vw, 34px); }
  .bundle-picker { gap: 14px; margin-top: 17px; }
  .bundle-picker-footer { position: sticky; bottom: -1px; margin-top: 0; padding-bottom: 3px; }
}
@media (max-width: 480px) {
  .product-detail-dialog.is-bundle-product { border-radius: 22px; }
  .product-detail-dialog.is-bundle-product .detail-info-column { padding-inline: 14px; }
  .bundle-component-heading { grid-template-columns: auto 1fr; }
  .bundle-component-title { font-size: 12px; }
  .bundle-component-footer { align-items: flex-start; flex-direction: column; }
  .bundle-picker-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .bundle-picker-total { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .bundle-add-button { width: 100%; }
}
