cooling-shoulder-bundle {
  & .cooling-shoulder-bundle--container {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 12px 12px;
  }

  & .cooling-shoulder-bundle--header {
    display: flex;
    align-items: center;
    gap: 16px;

    & .cooling-shoulder-bundle--thumbnail-img {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f7f4f0;
      border-radius: 8px;
      overflow: hidden;
      width: 100px;
      height: 100px;
      flex: 0 1 100px;

      @media (max-width: 1024px) {
        width: 80px;
        height: 80px;
        flex: 0 1 80px;
      }

      & img {
        display: block;
        width: 100%;
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
        object-fit: contain;
      }
    }

    & .cooling-shoulder-bundle--header-title {
      font-size: 17px;
      font-weight: 700;
      color: #222;
      line-height: 1.2;
      margin: 0;

      @media (max-width: 750px) {
        font-size: 15px;
      }
    }

    & .cooling-shoulder-bundle--header-description {
      font-size: 13px;
      color: #666;
      line-height: 1.3;
      margin: 4px 0 0;

      @media (max-width: 750px) {
        font-size: 12px;
      }
    }

    & .cooling-shoulder-bundle--prices {
      display: flex;

      & b {
        font-size: 17px;
      }

      & small {
        font-size: 13px;
        font-weight: 500;
        color: #6b6b6b;
      }
    }
  }

  & .cooling-shoulder-bundle--components {
    margin-top: 10px;
    padding: 0 6px;

    & li {
      margin-bottom: 6px;
      font-size: 13px;
      color: #444;

      @media (max-width: 750px) {
        font-size: 12px;
      }

      & .icon {
        color: var(--color-orange);
        margin-right: 14px;
      }

      &:last-of-type {
        color: #2e7d32;

        & .icon {
          font-weight: bold;
          color: #2e7d32;
        }
      }
    }
  }

  & .cooling-shoulder-bundle--size-selector {
    margin-top: 30px;

    & .cooling-shoulder-bundle--size-selector-title {
      font-size: 16px;
      margin-bottom: 10px;
      color: #333;
    }

    & .cooling-shoulder-bundle--size-selector-grid {
      display: flex;
      gap: 8px;

      & .cooling-shoulder-bundle--size-selector-grid-item {
        flex: 1 0 50%;
      }

      & input[type="radio"] {
        display: none;

        &:checked + .cooling-shoulder-bundle--size-option {
          background-color: #fdf6f3;
          border-color: var(--color-orange);
        }

        &:checked
          + .cooling-shoulder-bundle--size-option
          > .cooling-shoulder-bundle--size-option-radio {
          border-color: var(--color-orange);

          &:before {
            background-color: var(--color-orange);
          }
        }
      }

      & .cooling-shoulder-bundle--size-option {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 2px solid #dcdcdc;
        border-radius: 10px;
        padding: 10px 8px;
        cursor: pointer;
      }

      & .cooling-shoulder-bundle--size-option-radio {
        display: block;
        position: relative;
        width: 18px;
        height: 18px;
        max-width: 18px;
        border-radius: 50%;
        border: 2px solid #c8c8c8;
        background-color: #fff;
        flex: 1 1 18px;

        &:before {
          content: "";
          width: 10px;
          height: 10px;
          border-radius: 100%;
          background-color: transparent;
          display: inline-block;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }

        @media (max-width: 750px) {
          flex: 0 1 24px;
        }
      }

      & .cooling-shoulder-bundle--size-option-title {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: #333;
        line-height: 1.2;
        margin-bottom: 2px;
      }

      & .cooling-shoulder-bundle--size-option-description {
        font-size: 10px;
        color: #6b6b6b;
        line-height: 1.25;
        display: block;
      }
    }
  }

  & .cooling-shoulder-bundle--cta-container {
    position: relative;
    margin-top: 30px;

    & #cooling-shoulder-bundle--cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      width: 100%;
      border-radius: 4px !important;
      margin-top: 10px;
      --border-offset: unset;
      transition: opacity 0.2s ease;

      & .cooling-shoulder-bundle--cta-loading {
        display: none;
        align-items: center;
        gap: 8px;
      }

      & .cooling-shoulder-bundle--cta-spinner {
        width: 14px;
        height: 14px;
        border: 2px solid currentColor;
        border-right-color: transparent;
        border-radius: 50%;
        animation: cooling-shoulder-bundle-spin 0.7s linear infinite;
      }

      &.is-loading {
        opacity: 0.75;

        & .cooling-shoulder-bundle--cta-idle {
          display: none;
        }

        & .cooling-shoulder-bundle--cta-loading {
          display: inline-flex;
        }
      }
    }

    & #cooling-shoulder-bundle--size-error {
      position: absolute;
      top: -30%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 2px solid #a70f1b;
      padding: 12px 0;
      width: 100%;
      font-size: 14px;
      color: #a70f1b;
      font-weight: bold;
      z-index: 2;
      background-color: white;
      text-align: center;
    }
  }
}

@keyframes cooling-shoulder-bundle-spin {
  to {
    transform: rotate(360deg);
  }
}
