//==============================================
// Engine components/ extras cards
//==============================================

.mybooking-complete_extra-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.mybooking-complete_extra-item {
  display: flex;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  margin: 10px;
  padding: 1rem;
  flex-grow: 1;
}
.mybooking-complete_extra-left {
  width: 70%;
  .mybooking-complete_extra-text p span {
    font-family: var(--font-body) !important;
    text-align: left !important;
    background-color: transparent !important;
    font-size: 13px !important;
    line-height: 1.3;
  }
  .mybooking-complete_extra-title {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    img {
      width: 70px;
      object-fit: contain;
      margin-right: 10px;
    }
  }
}
.mybooking-complete_extra-right {
  padding-left: 20px;
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  .mybooking-complete_extra-price {
    font-weight: 900;
    font-size: 14px;
    color: var(--brand-primary);
  }
  .counter {
    .center {
      width: 150px;
      margin: 40px auto;
    }
  }
}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {
  .mybooking-complete_extra-container {
    flex-direction: row;
  }
  .mybooking-complete_extra-item {
    width: calc(50% - 20px);
  }
}
// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {
  .mybooking-complete_extra-right,
  .mybooking-complete_extra-left {
    width: 100%;
  }
  .mybooking-complete_extra-item {
    flex-direction: column;
  }
  .mybooking-complete_extra-right {
    align-items: flex-start;
    padding-left: 0;
  }
}
