.tabs-image {
  img {
    width: 365px !important;
    height: 520px !important;
    object-fit: cover !important;
    object-position: center top;
  }
}

.tab {
  flex-grow: 1;
  .wp-element-button {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 12px;
    padding: 4px !important;
  }
  img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 1000px !important;
  }
}

.tab.active {
  flex-grow: 1 !important;
  border-radius: 1000px !important;
  .wp-element-button {
    background-color: var(--wp--preset--color--orange) !important;
    color: var(--wp--preset--color--black) !important;
  }
  .wp-block-button__link::after {
    background-color: #F88D3A;
  }
}

.tabs-card {
  position: relative;
  display: none !important;
}

.tabs-container {
  position: relative;
}

.tabs-quotation {
  position: absolute;
  top: 24px;
  right: 24px;
}

.tabs-card.active {
  display: flex !important;
}

@media (max-width: 1100px) {
  .tabs-columns-group {
    flex-wrap: wrap !important;
    .wp-block-column {
      flex-basis: 100% !important;
    }
  }
  .tabs-card {
    .tabs-image-container {
      flex-basis: 50% !important;
    }
  }
}

@media (max-width: 781px) {
  .tabs-buttons {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 620px) {
  .tabs-quotation {
    z-index: 2 !important;
    img {
      width: auto !important;
      height: 50px !important;
    }
  }
  .tabs-image {
    img {
      height: 400px !important;
      object-fit: cover !important;
      object-position: center top;
    }
  }

  .tabs-buttons {
    flex-wrap: wrap !important;
  }
}
