.booking__area {
  padding: 60px 0 80px 0;
  .--head {
    width: 100%;
    h3 {
      font-size: 24px;
      font-weight: 500;
      color: $c-gray;
    }
    padding-bottom: 16px;
  }
  &--inputs {
    background-color: rgba($c-background2, 1);
    padding: 24px;
    border-radius: 8px;

    @media (max-width: 991px) {
      padding: 16px;
    }
  }
  &--infos {
    background-color: rgba($c-background2, 1);
    padding: 24px;
    border-radius: 8px;

    @media (max-width: 991px) {
      padding: 16px;
    }
    @media (max-width: 767px) {
      margin-top: 16px;
    }

    .top {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      padding-bottom: 16px;
      flex-direction: column;
    }
    .image {
      width: 100%;
      margin-bottom: 16px;
      img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
        border-radius: 6px;
      }
    }

    h5 {
      font-size: clamp(16px, 3vw, 20px);
      font-weight: 500;
      letter-spacing: 0.2rem;
      color: $c-main-dark;
      margin-bottom: 0;
      margin-top: 16px;
      font-family: Mmtsdr;
    }

    .footer {
      border-top: 1px solid rgba($c-gray-f4, 1);
      border-bottom: 1px solid rgba($c-gray-f4, 1);

      padding: 24px 0;
      .subtotal {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: $c-dark;

        p {
          display: flex;
          align-items: center;
          margin-bottom: 0;
          color: $c-dark;

          span {
            padding-right: 8px;
            font-weight: 600;
            font-size: 16px;
          }
        }
      }

      .total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 24px;
        color: $c-dark;

        padding-top: 24px;

        span {
          font-weight: 600;
        }

        #resultProduct,
        .val {
          color: $c-second;
          font-weight: 700;
        }
      }
    }
  }

  .action {
    width: 100%;
    text-align: center;
    button {
      flex-grow: 1;
      width: 80%;
    }
  }

  .totals--head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: $c-white;
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;

    h3 {
      margin-bottom: 0;
      color: $c-second;
      font-size: 24px;
      font-weight: 700;
    }
    h4 {
      margin-bottom: 0;
      color: $c-text;
      font-size: 18px;
      font-weight: 600;
    }
  }

  .btn-cart-totals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;

    @media (max-width: 600px) {
      justify-content: center;
    }
  }

  .empty--cart {
    h3 {
      font-size: clamp(16px, 3vw, 24px);
      font-weight: 600;
      color: $c-text;
    }

    .box {
      margin: 24px 0;
      border: 1px solid rgba($c-gray, 0.2);
      border-radius: 8px;
      padding: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;

      i {
        color: rgba($c-gray, 0.4);
        margin-bottom: 24px;
      }

      h5 {
        color: $c-text;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 24px;
      }
    }
  }
}

.checkbox-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-bottom: 30px;
  user-select: none;
  flex-wrap: wrap;
  // & > * {
  //   margin: 0.5rem 0.5rem;
  //   @media (max-width: 991px) {
  //     margin: 0.2rem 0.2rem;
  //   }
  // }

  .checkbox {
    width: 23%;

    .checkbox-wrapper {
      width: 100%;
    }

    @media (max-width: 1199px) {
      width: 47%;
      flex-wrap: wrap;
      flex-grow: 1;
      display: flex;
    }
  }

  .checkbox-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: $c-second;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
  }
  .checkbox-input {
    // Code to hide the input
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    &:checked + .checkbox-tile {
      border-color: $c-main;
      box-shadow: 0 5px 10px rgba(#000, 0.1);
      color: $c-second;
      &:before {
        transform: scale(1);
        opacity: 1;
        background-color: $c-background;
        border-color: $c-main;
      }
      .checkbox-icon,
      .checkbox-label {
        color: $c-second;
      }
    }
    &:focus + .checkbox-tile {
      border-color: $c-main;
      &:before {
        transform: scale(1);
        opacity: 1;
      }
    }
  }
  .checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    width: 100%;
    padding: 16px 8px;

    border-radius: 0.5rem;
    border: 2px solid $c-dark;
    background-color: rgba($c-background, 1);
    box-shadow: 0 5px 10px rgba(#000, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;

    &:before {
      content: "";
      position: absolute;
      display: block;
      width: 1.25rem;
      height: 1.25rem;
      border: 2px solid $c-main;
      background-color: rgba($c-main, 1);
      border-radius: 50%;
      top: 0.25rem;
      left: 0.25rem;
      opacity: 0;
      transform: scale(0);
      transition: 0.25s ease;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
      background-size: 12px;
      background-repeat: no-repeat;
      background-position: 50% 50%;
    }
    &:hover {
      border-color: $c-main;

      &:before {
        transform: scale(1);
        background-color: rgba($c-main, 1);
        opacity: 1;
      }
    }
  }
  .checkbox-icon {
    transition: 0.375s ease;
    img {
      width: 80px;
      height: 80px;
      border-radius: 4px;
      object-fit: cover;
    }
  }
  .checkbox-label {
    padding-top: 16px;
    color: $c-second;
    transition: 0.375s ease;
    text-align: center;
    font-size: clamp(16px, 3vw, 18px);
  }

  .checkbox-price {
    padding-top: 16px;
    color: $c-main;
    font-weight: 600;
    transition: 0.375s ease;
    text-align: center;
    font-size: clamp(16px, 3vw, 18px);
  }
}
