.shop { padding: 8.5rem 0 4.5rem; background: var(--color-bg); color: var(--color-text); }
.shop [hidden] { display: none !important; }
.shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.shop-heading h1 { margin: 0; }
.shop-heading p { margin: .65rem 0 0; color: var(--color-muted); font-size: 1rem; }
.shop svg { width: 20px; height: 20px; flex: 0 0 20px; }
.shop-progress { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.shop-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.shop-progress li { display: flex; gap: .75rem; align-items: center; min-height: 64px; padding: .75rem 0; color: var(--color-muted); font-size: .85rem; border-bottom: 2px solid transparent; }
.shop-progress li[aria-current="step"] { color: var(--color-teal-dark); border-bottom-color: var(--color-brand-teal); font-weight: var(--font-weight-semibold); }
.shop-progress-number { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid var(--color-border); border-radius: 50%; font-size: .75rem; }
.shop-progress li[aria-current="step"] .shop-progress-number { background: var(--color-teal-pale); border-color: var(--color-brand-teal); }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .42fr); gap: 4rem; padding-top: 2.25rem; align-items: start; }
.shop-workspace, .shop-aside { min-width: 0; }
.shop-step { color: var(--color-teal-dark); font-size: .75rem; font-weight: var(--font-weight-semibold); margin: 0 0 .65rem; }
.shop-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.shop-stage-title { margin: 0; padding: 0; max-width: 100%; }
.shop-stage-intro { margin: .75rem 0 1.5rem; color: var(--color-muted); }
.shop-need-list { border-top: 1px solid var(--color-border); }
.shop-choice { display: flex; align-items: start; gap: .85rem; min-height: 60px; padding: .9rem .75rem; border-bottom: 1px solid var(--color-border); cursor: pointer; }
.shop-choice:has(input:checked) { background: var(--color-teal-pale); }
.shop-choice:hover { background: var(--color-surface-muted); }
.shop-choice input { width: 18px; height: 18px; flex: 0 0 18px; margin: .2rem 0 0; accent-color: var(--color-brand-teal); }
.shop-choice > svg { margin-top: .15rem; color: var(--color-brand-teal); }
.shop-choice > span { min-width: 0; }
.shop-choice-label { display: block; font-weight: var(--font-weight-semibold); }
.shop-choice-detail { display: block; margin-top: .2rem; color: var(--color-muted); }
.shop-actions, .shop-recovery-actions, .shop-review-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.shop-actions > :last-child { margin-left: auto; }
.shop-stage-title[tabindex="-1"]:focus { outline: none; }
.shop-error:focus { outline: 2px solid var(--color-teal-dark); outline-offset: 6px; }
.shop-role-quantity { display: grid; grid-template-columns: minmax(0, 1fr) 100px; align-items: center; gap: 1rem; }
.shop-role-quantity label { margin: 0; }
.shop-alert-roles input[readonly] { border-color: transparent; background: transparent; font-weight: var(--font-weight-semibold); }
.shop-field .shop-quantity-warning { color: color-mix(in srgb, var(--color-amber) 35%, var(--color-text)); border-left: 3px solid var(--color-amber); padding-left: .75rem; }
.shop-existing-coverage { border-top: 1px solid var(--color-border); margin-top: 1.5rem; padding-top: 1rem; }
.shop-existing-coverage h3 { font-size: 1rem; }
.shop-existing-coverage p { font-size: .85rem; line-height: 1.6; }
.shop-save-status { min-height: 1.5rem; margin: 1rem 0 0; font-size: .78rem; color: var(--color-muted); line-height: 1.5; }
.shop-preview { margin: 0; }
.shop-preview img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--radius-sm); }
.shop-preview figcaption { padding: .7rem 0; font-size: .75rem; color: var(--color-muted); }
.shop-aside-summary { border-top: 1px solid var(--color-border); margin-top: 1rem; padding-top: 1.25rem; }
.shop-aside-summary h2 { font: var(--font-weight-display) 1.5rem/1.2 var(--font-display); margin: 0; }
.shop-aside-summary ul { padding-left: 1.15rem; font-size: .8rem; line-height: 1.65; }
.shop-aside-contact { margin: 1.5rem 0 .5rem; color: var(--color-muted); font-size: .85rem; line-height: 1.65; }
.shop-edit { margin-right: 1rem; padding: .5rem 0; border: 0; background: none; text-align: left; cursor: pointer; }
.shop-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.shop-field { min-width: 0; margin: 0 0 1.25rem; }
.shop-fields .shop-field { margin-bottom: 0; }
.shop-field p { margin: .5rem 0 0; color: var(--color-muted); font-size: .78rem; line-height: 1.5; }
.shop-field input[aria-invalid="true"] { border-color: var(--color-danger); }
.shop-option-group { border: 0; border-top: 1px solid var(--color-border); padding: 1rem 0; margin: 0; min-width: 0; }
.shop-option-group legend { font-weight: var(--font-weight-semibold); font-size: .9rem; padding: 0 .5rem 0 0; }
.shop-included-setup { border-top: 1px solid var(--color-border); margin: 0 0 1.5rem; padding-top: 1rem; }
.shop-included-setup h3, .shop-service-group h3, .shop-review-context h3 { margin: 0 0 .85rem; font: var(--font-weight-semibold) 1rem/1.5 var(--font-sans); }
.shop-included-setup ul { list-style: none; padding: 0; margin: 0; }
.shop-included-setup li { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--color-border); font-size: .85rem; }
.shop-included-setup li span { color: var(--color-muted); }
.shop-service-group { min-width: 0; padding: 1.25rem 0 .5rem; border-top: 1px solid var(--color-border); }
.shop-workflow-purpose h4 { margin: 1rem 0 .25rem; font: var(--font-weight-semibold) .8rem/1.5 var(--font-sans); color: var(--color-muted); }
.shop-workflow-disclosure { margin: 1rem 0 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.shop-workflow-disclosure summary { padding: .75rem .35rem; min-height: 44px; box-sizing: border-box; cursor: pointer; font: var(--font-weight-semibold) .85rem/1.5 var(--font-sans); }
.shop-workflow-disclosure summary:focus-visible { outline: 2px solid var(--color-teal-dark); outline-offset: 4px; }
.shop-workflow-disclosure[open] summary { border-bottom: 1px solid var(--color-border); }
.shop-protection-support { margin-top: 1.25rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.shop-protection-support > summary { padding: .85rem .35rem; min-height: 44px; box-sizing: border-box; cursor: pointer; font: var(--font-weight-semibold) .85rem/1.5 var(--font-sans); }
.shop-protection-support > summary:focus-visible { outline: 2px solid var(--color-teal-dark); outline-offset: 4px; }
.shop-protection-support[open] > summary { border-bottom: 1px solid var(--color-border); }
.shop-progress li[data-shop-skipped="true"] { color: var(--color-muted); }
.shop-review-context { margin-top: 1.25rem; }
.shop-review-context .shop-context-summary { margin-top: 0; }
.shop-confirmation { border-left: 3px solid var(--color-brand-teal); padding: .75rem 1rem; background: var(--color-teal-pale); font-size: .85rem; line-height: 1.65; }
.shop-error, .shop-recovery { padding: 1rem; margin: 0 0 1.5rem; border-left: 3px solid var(--color-danger); background: var(--color-surface); font-size: .85rem; line-height: 1.6; }
.shop-error h2 { font: var(--font-weight-semibold) 1rem/1.4 var(--font-sans); margin: 0; }
.shop-error ul { margin-bottom: 0; padding-left: 1.2rem; }
.shop-error a, .shop-field-error { color: var(--color-danger); }
.shop-recovery { border-left-color: var(--color-amber); margin-top: 1.5rem; }
.shop-recovery p { margin: 0; }
.shop-recovery-actions { justify-content: start; }
.shop-review-summary { padding: 0 0 1rem; border-bottom: 1px solid var(--color-border); }
.shop-review-summary ul { padding-left: 1.2rem; font-size: .85rem; line-height: 1.7; }
.shop-context-summary { margin: 1rem 0 0; font-size: .82rem; }
.shop-context-summary > div { display: grid; grid-template-columns: minmax(0, .48fr) minmax(0, .52fr); gap: .5rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--color-border); }
.shop-context-summary dt { color: var(--color-muted); }
.shop-context-summary dd { margin: 0; }
.shop-review-group { margin-top: 1.5rem; }
.shop-review-group h3 { font: var(--font-weight-display) 1.5rem/1.2 var(--font-display); margin: 0 0 .5rem; }
.shop-review-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--color-border); font-size: .85rem; }
.shop-review-line strong { font-weight: var(--font-weight-semibold); }
.shop-review-line small { display: block; color: var(--color-muted); line-height: 1.5; margin-top: .25rem; }
.shop-review-line output { white-space: nowrap; align-self: start; }
.shop-reference-note, .shop-payment-note { margin: 1.25rem 0; font-size: .78rem; line-height: 1.65; color: var(--color-muted); }
.shop-totals { margin: 1.25rem 0; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-size: .85rem; }
.shop-totals dd { margin: 0; text-align: right; }
.shop-totals dt { min-width: 0; }
.shop-totals dd { flex-shrink: 0; white-space: nowrap; }
.shop-totals > div:last-child { font-weight: var(--font-weight-semibold); }
.shop-fallback { border-top: 1px solid var(--color-border); margin-top: 1.5rem; padding-top: 1rem; font-size: .85rem; line-height: 1.6; }
.shop-fallback a { display: flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--color-teal-dark); }
.shop :is(.shop-option-group, .shop-service-group, .shop-review-context) { font-size: var(--purchase-body-size); line-height: 1.65; }
.shop :is(.shop-option-group, .shop-service-group) > .shop-field + .shop-field { margin-top: 1.25rem; }
.shop .shop-option-group > legend { font-size: 1rem; line-height: 1.5; }
.shop :is(.shop-service-group, .shop-included-setup, .shop-existing-coverage, .shop-review-context) h3 { font: var(--font-weight-semibold) 1rem/1.5 var(--font-sans); }
.shop .shop-workflow-purpose h4 { font-size: .875rem; color: var(--color-text); }
.shop :is(.shop-included-setup li, .shop-existing-coverage p, .shop-context-summary, .shop-fallback) { font-size: .875rem; line-height: 1.65; }
.shop .shop-choice { padding-block: 1rem; gap: .75rem; }
.shop .shop-choice > svg { width: 18px; height: 18px; flex-basis: 18px; margin-top: .2rem; }
.shop .shop-need-list > .shop-choice { align-items: start; }
.shop :is(.shop-workflow-disclosure, .shop-protection-support) > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 60px; padding: 1rem 0; list-style: none;
  color: var(--color-text); font: var(--font-weight-medium) .9375rem/1.5 var(--font-sans);
}
.shop :is(.shop-workflow-disclosure, .shop-protection-support) > summary::-webkit-details-marker { display: none; }
.shop :is(.shop-workflow-disclosure, .shop-protection-support) > summary::after {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background: var(--purchase-expand-icon) center / contain no-repeat;
}
.shop :is(.shop-workflow-disclosure, .shop-protection-support)[open] > summary::after { transform: rotate(45deg); }
.shop .shop-existing-coverage .shop-contact { display: flex; width: fit-content; }
.shop .shop-existing-coverage .shop-contact + .shop-contact { margin-top: .25rem; }
.shop .shop-review-summary > .shop-edit { margin: 0 1rem .5rem 0; }
.shop .shop-protection-option { border-bottom: 1px solid var(--color-border); }
.shop .shop-protection-option > .shop-option-group { margin: 0 0 1.25rem 2rem; padding: .75rem 0 0 1rem; border-left: 2px solid var(--color-border); }
.shop .shop-protection-option > .shop-option-group legend { font-size: .875rem; }
.shop .shop-review-purchase > h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.shop .shop-review-group > h4 { font: var(--font-weight-medium) .9375rem/1.5 var(--font-sans); margin: 1rem 0 .5rem; }
.shop .shop-save-status { font-size: var(--purchase-helper-size); }
.shop .shop-preview figcaption { font-size: var(--purchase-helper-size); line-height: 1.65; }
.shop .shop-review-actions { align-items: center; justify-content: start; }
.shop :is(p, span, h1, h2, h3, label, legend, button, dt, dd) { overflow-wrap: anywhere; letter-spacing: 0; }
@media (max-width: 1000px) {
  .shop-layout { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr); }
}
@media (max-width: 700px) {
  .shop { padding-top: 7rem; }
  .shop-heading { align-items: start; flex-direction: column; gap: .75rem; padding-bottom: 1.25rem; }
  .shop-progress ol { display: block; }
  .shop-progress li { display: none; }
  .shop-progress li[aria-current="step"] { display: flex; min-height: 54px; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; gap: 2.5rem; }
  .shop-aside { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
  .shop-preview { max-width: 420px; }
  .shop-fields { grid-template-columns: minmax(0, 1fr); }
  .shop-choice { padding-left: .35rem; padding-right: .35rem; }
  .shop-need > svg { display: none; }
  .shop-review-line { grid-template-columns: minmax(0, 1fr); }
  .shop-review-line output { justify-self: start; }
  .shop-context-summary > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .shop-actions { position: static; }
  .shop .shop-review-actions { align-items: stretch; flex-direction: column; }
  .shop .shop-review-actions > .shop-button { width: 100%; }
}
