product-set { display: block; }
.product-set__form { display: grid; gap: 20px; min-width: 0; }
.product-set__card { min-width: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(var(--color-foreground), 0.15); }
.product-set__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.product-set__image { width: 64px; height: 80px; object-fit: cover; flex-shrink: 0; border-radius: 2px; }
.product-set__title { margin: 0; font: inherit; font-weight: 600; line-height: 1.4; }
.product-set__guide { display: inline-block; padding: 6px 0; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.product-set__options { display: grid; gap: 12px; }
.product-set__option { min-width: 0; margin: 0; padding: 0; border: 0; }
.product-set__option legend { margin-bottom: 8px; padding: 0; font: inherit; }
.product-set__selected { margin-inline-start: 8px; font-weight: 600; }
.product-set__values { display: flex; flex-wrap: wrap; gap: 8px; }
.product-set__value { position: relative; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #dedede; background: #fff; color: #282828; font: inherit; cursor: pointer; }
.product-set__value[aria-pressed="true"] { border-color: #282828; background: #282828; color: #fff; }
.product-set__value:disabled { color: #777; background: linear-gradient(to top right, transparent calc(50% - .5px), #ccc 50%, transparent calc(50% + .5px)), #fafafa; cursor: not-allowed; }
.product-set__value:focus-visible, .product-set__guide:focus-visible, .product-set__close:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product-set__message, .product-set__card-status { margin: 0; font-size: 13px; line-height: 1.5; }
.product-set__card-status:empty, .product-set__message:empty { display: none; }
.product-set__card-status { margin-top: 8px; }
.product-set__message[data-error="true"] { color: #b42318; }
.product-set__submit:disabled { opacity: .55; cursor: not-allowed; }
.product-set__total { margin: 0; }
.product-set__total-price { margin-inline-start: 8px; }
.product-set__dialog { position: fixed; inset: 0; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 0; border-radius: 4px; background: #fff; color: #282828; overscroll-behavior: contain; }
.product-set__dialog::backdrop { background: rgb(0 0 0 / 45%); }
.product-set__dialog-header { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; margin-bottom: 20px; }
.product-set__dialog-header h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.product-set__close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 28px; cursor: pointer; }
.product-set__chart { margin-bottom: 24px; }
.product-set__chart h3 { font-size: 16px; }
.product-set__chart h4 { font-size: 14px; }
.product-set__chart details { margin-top: 12px; }
.product-set__chart summary { padding: 8px 0; cursor: pointer; }
.product-set__table-scroll { overflow: auto; }
.product-set__chart table { width: 100%; border-collapse: collapse; font-size: 13px; }
.product-set__chart td, .product-set__chart th { padding: 10px; border: 1px solid #ddd; text-align: center; white-space: nowrap; }
.product-set__chart th { background: #f6f6f6; font-weight: 600; }
.product-set__fit-guide img { display: block; width: 100%; height: auto; margin-top: 16px; }
@media (max-width: 749px) {
  .product-set__dialog { padding: 16px; }
  .product-set__value { flex: 0 0 auto; }
}
