.group-quote__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.group-quote__form,
.group-quote__summary {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 2px solid #251420;
  border-radius: 1.4rem;
  background: #fff;
  color: #251420;
}

.group-quote__step { margin: 0 0 1.25rem; padding: 0; border: 0; }
.group-quote__step legend { margin-bottom: 0.65rem; font-weight: 900; }
.group-quote__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 0.65rem; }
.group-quote__choice { display: grid; min-height: 44px; cursor: pointer; }
.group-quote__choice[hidden] { display: none !important; }
.group-quote__choice input { position: absolute; opacity: 0; pointer-events: none; }
.group-quote__choice span { display: grid; min-height: 44px; place-items: center; padding: 0.65rem; border: 2px solid #6f5e69; border-radius: 0.9rem; background: #fff; font-weight: 850; text-align: center; }
.group-quote__garments { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.group-quote__choice--garment span { min-height: 8rem; place-items: start; align-content: start; gap: 0.35rem; padding: 0.9rem; text-align: left; }
.group-quote__garments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group-quote__garment-image { display: block; width: 100%; height: clamp(8rem, 14vw, 12rem); margin-bottom: .45rem; border-radius: .65rem; background: #f6f3f1; object-fit: contain; }
.group-quote__choice--garment span:has(.group-quote__garment-image) { min-height: 15rem; }
.group-quote__choice--garment:has(input:checked) span { border-color: #e6007e; background: #fff5fa; box-shadow: 0 .25rem 0 #e6007e; }
.group-quote__choice--garment strong { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.group-quote__choice--garment strong { font-size: 1.1rem; line-height: 1.1; }
.group-quote__choice--garment small { font-size: 0.78rem; font-weight: 900; line-height: 1.35; }
.group-quote__choice--garment em { color: #6f5e69; font-size: 0.72rem; font-style: normal; font-weight: 650; line-height: 1.4; }
.group-quote__choice:has(input:checked) span { border-color: #251420; background: #f8b200; box-shadow: 0.2rem 0.2rem 0 #251420; }
.group-quote__choice input:focus-visible + span { outline: 3px solid #fff; box-shadow: 0 0 0 6px #251420; }
.group-quote__custom { display: grid; gap: 0.35rem; margin-top: 0.7rem; font-weight: 800; }
.group-quote__custom input { min-height: 44px; padding: 0.65rem; border: 2px solid #6f5e69; border-radius: 0.8rem; font: inherit; }
.group-quote__select { display: grid; gap: 0.4rem; margin-top: 0.7rem; font-weight: 800; }
.group-quote__select[hidden] { display: none !important; }
.group-quote__select select { width: 100%; min-height: 46px; padding: 0.6rem 0.7rem; border: 2px solid #6f5e69; border-radius: 0.8rem; background: #fff; color: #251420; font: inherit; }
.group-quote__select select:focus-visible { outline: 3px solid #f8b200; outline-offset: 2px; }
.group-quote__sleeves { margin-top: 0.7rem; }
.group-quote__extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0.7rem; }
.group-quote__summary { position: relative; align-self: start; background: #251420; color: #fff; }
.group-quote__status { color: #f8b200; font-weight: 900; }
.group-quote__price { margin: 0.25rem 0; font-size: clamp(2rem, 8vw, 4rem); font-weight: 950; overflow-wrap: anywhere; }
.group-quote__per-person { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 850; }
.group-quote__tax,
.group-quote__notice { color: rgba(255, 255, 255, 0.78); }
.group-quote__items { padding: 0; margin: 1rem 0; list-style: none; border-block: 1px solid rgba(255, 255, 255, 0.22); }
.group-quote__details { border-block: 1px solid rgba(255, 255, 255, 0.22); padding: 0.75rem 0; margin: 0.7rem 0; }
.group-quote__details summary { cursor: pointer; color: #f8b200; font-weight: 850; }
.group-quote__details .group-quote__items { margin-bottom: 0; border-bottom: 0; }
.group-quote__items li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.group-quote__items li:last-child { border-bottom: 0; }
.group-quote__items strong { text-align: right; font-size: 0.83rem; }
.group-quote__summary [aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* One-click choices: names and prices have a consistent, centered hierarchy. */
.group-quote__subhead { margin: 1rem 0 0.55rem; font-size: 0.95rem; font-weight: 900; }
.group-quote__positions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-quote__modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-quote__modes--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-quote__choice--option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 5rem;
  padding: 0.65rem 0.5rem;
  line-height: 1.18;
}
.group-quote__choice--option strong { font-size: clamp(0.85rem, 1.1vw, 1rem); font-weight: 900; text-wrap: balance; }
.group-quote__choice--option small { color: #55434f; font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
.group-quote__choice--option:has(input:checked) small { color: #251420; }
.group-quote__choice--option:hover span { border-color: #251420; }
.group-quote__choice--option input:disabled + span { opacity: 0.55; cursor: not-allowed; }
.group-quote__extras { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
.group-quote__accessory { min-width: 0; padding-top: 0.35rem; border-top: 1px solid #e0d9de; }
.group-quote__accessory[hidden] { display: none !important; }
.group-quote__accessory .group-quote__subhead { margin-top: 0.35rem; }

/* The summary follows page scroll rather than becoming a second scroll pane. */
.group-quote__summary { max-height: none; overflow: visible; padding: clamp(1rem, 2vw, 1.5rem); text-align: center; }
.group-quote__status { margin: 0 0 0.45rem; font-size: 0.96rem; }
.group-quote__price { margin: 0.25rem 0 0.4rem; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.05; white-space: nowrap; }
.group-quote__per-person { margin: 0 0 0.15rem; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.group-quote__tax { margin: 0; font-size: 0.9rem; }
.group-quote__details { margin: 0.65rem 0; padding: 0.6rem 0; text-align: left; }
.group-quote__notice { max-width: 36ch; margin: 0.65rem auto 1rem; font-size: 0.83rem; line-height: 1.38; text-align: center; }
.group-quote__summary > a { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 48px; margin-inline: auto; text-align: center; }

@media (max-width: 700px) {
  .group-quote__garment-image { height: 7rem; }
  .group-quote__positions,
  .group-quote__modes,
  .group-quote__modes--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-quote__choice--option span { min-height: 4.6rem; }
}

@media (min-width: 1024px) {
  .group-quote__layout { grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr); align-items: start; }
  .group-quote__summary { position: sticky; top: calc(var(--header-height, 5rem) + 1rem); }
}
.help:has(.group-quote) { overflow: clip; }
.group-quote__photo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .65rem 0 1rem; }
.group-quote__auto-note { margin: .3rem 0 0; padding: .7rem .8rem; border-radius: .6rem; background: #fff4d1; color: #251420; font-size: .88rem; font-weight: 750; text-align: center; }
.group-quote__photo-button { width: fit-content; max-width: 100%; margin: .2rem 0 .7rem; padding: .25rem 0; border: 0; background: transparent; color: #0a1b3d; font: inherit; font-size: .86rem; font-weight: 850; text-align: left; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.group-quote__photo-actions .group-quote__photo-button { margin: 0; }
.group-quote__accessory > .group-quote__photo-button { margin: -.25rem 0 .5rem; }
.group-quote__photo-button:focus-visible { outline: 3px solid #eb007d; outline-offset: 3px; }
.group-quote__dialog { width: min(900px, 92vw); max-height: 88dvh; padding: clamp(1rem, 2vw, 1.5rem); border: 0; border-radius: 1rem; background: #fff; color: #251420; box-shadow: 0 24px 80px #0006; }
.group-quote__dialog::backdrop { background: #0a1b3dcc; }
.group-quote__dialog h3 { margin: 0 3rem .6rem 0; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.group-quote__dialog-close { float: right; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: #0a1b3d; color: #fff; cursor: pointer; }
.group-quote__dialog-photos { display: flex; gap: .75rem; overflow-x: auto; padding: .6rem 0 1rem; }
.group-quote__dialog-photos img { flex: none; width: auto; max-width: min(70vw, 440px); height: min(52dvh, 400px); object-fit: contain; border: 1px solid #e8e5eb; border-radius: .7rem; background: #fafafa; }
.group-quote__dialog-link { color: #0a1b3d; font-weight: 850; }
@media(max-width:600px) { .group-quote__photo-actions { grid-template-columns: 1fr 1fr; } .group-quote__photo-actions .group-quote__photo-button { font-size: .73rem; } }

