/* HS Hot Tub Configurator v3.2 - option image clarity fix */
@media (min-width: 992px) {
  body.hs-ht-v3 .hs-v3-options .form-group {
    overflow: visible !important;
  }

  /* Radio/image cards: stop stretching blurry thumbnails */
  body.hs-ht-v3 .hs-v3-options .image_option_type,
  body.hs-ht-v3 .hs-v3-options .radio,
  body.hs-ht-v3 .hs-v3-options .checkbox {
    align-items: flex-start !important;
  }

  body.hs-ht-v3 .hs-v3-options .image_option_type label,
  body.hs-ht-v3 .hs-v3-options .radio label,
  body.hs-ht-v3 .hs-v3-options .checkbox label {
    width: 100% !important;
    display: block !important;
  }

  body.hs-ht-v3 .hs-v3-options .image_option_type .image,
  body.hs-ht-v3 .hs-v3-options .radio .image,
  body.hs-ht-v3 .hs-v3-options .checkbox .image,
  body.hs-ht-v3 .hs-v3-options .option-image,
  body.hs-ht-v3 .hs-v3-options .img-thumbnail {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 118px !important;
    padding: 8px !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  body.hs-ht-v3 .hs-v3-options .image_option_type img,
  body.hs-ht-v3 .hs-v3-options .radio img,
  body.hs-ht-v3 .hs-v3-options .checkbox img,
  body.hs-ht-v3 .hs-v3-options .option-image img,
  body.hs-ht-v3 .hs-v3-options .img-thumbnail img,
  body.hs-ht-v3 .hs-v3-options img.img-responsive,
  body.hs-ht-v3 .hs-v3-options img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 102px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    image-rendering: auto !important;
    transform: translateZ(0) !important;
    background: #fff !important;
    border-radius: 6px !important;
  }

  /* Give wood/liner swatches a more balanced card look */
  body.hs-ht-v3 .hs-v3-options .radio,
  body.hs-ht-v3 .hs-v3-options .checkbox {
    min-height: 0 !important;
  }

  body.hs-ht-v3 .hs-v3-options .radio label,
  body.hs-ht-v3 .hs-v3-options .checkbox label {
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  body.hs-ht-v3 .hs-v3-options .radio input[type="radio"],
  body.hs-ht-v3 .hs-v3-options .checkbox input[type="checkbox"] {
    margin-top: 10px !important;
  }
}
