.pricing-summary {
  width: 100%;
  display: flex;
  flex-direction: column;

  &__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  &__property {
    color: var(--tide-booking-sidebar-body-label-color);
    font-size: var(--tide-booking-sidebar-body-label-font-size);
    font-weight: var(--tide-booking-sidebar-body-label-font-weight);
  }

  &__region {
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  &__region--pricing {
    position: sticky;
    bottom: 0;
    background: var(--tide-booking-sidebar-footer-background);

    small {
      font-size: var(--tide-booking-sidebar-footer-small-font-size);
      color: var(--tide-booking-sidebar-footer-small-color);

      strong {
        color: var(--tide-booking-sidebar-footer-small-strong-color);
      }

    }

    .pricing-summary__row + .pricing-summary__row {
      margin-top: 0;
    }
  }

  &__region + &__region {
    border-top: var(--tide-booking-sidebar-body-border);
  }

  &__region + &__region--pricing {
    padding: 15px 0rem;
  }

  &__row {
    width: 100%;
    @include row;
    justify-content: space-between;
    font-size: var(--tide-booking-sidebar-body-font-size);
    font-family: var(--tide-booking-sidebar-body-font-family);
    line-height: 1.3;
  }

  &__title {
    margin-bottom: 0;
    color: var(--tide-booking-sidebar-body-title-color);
    font-family: var(--tide-booking-sidebar-body-title-font-family);
    font-size: var(--tide-booking-sidebar-body-title-font-size);
    font-weight: var(--tide-booking-sidebar-body-title-font-weight);
  }

  &__value {
    margin-left: 15px;
    text-align: right;
    color: var(--tide-booking-sidebar-body-color);
    font-weight: var(--tide-booking-sidebar-body-font-weight);

    &--flight {
      font-weight: var(--tide-booking-sidebar-body-flight-font-weight);
      color: var(--tide-booking-sidebar-body-flight-color);
    }
  }

  &__social {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    @include column;
    @include flex--centerXY;
    text-align: center;
    box-sizing: border-box;
  }
}

.pricing-summary .pricing {
  @include media-lg {
    margin-top: -15px * 0.4;
  }
}

.pricing-summary__region--pricing {
  .pricing .pricing__price {
    font-size: var(--tide-booking-sidebar-footer-advance-font-size);
    font-weight: var(--tide-booking-sidebar-footer-advance-font-weight);
    color: var(--tide-booking-sidebar-footer-advance-color);
    margin-top: 0.3rem;

  }

  .pricing-summary__row--total-price {
    .pricing__price {
      //font-size: 1.8rem;(
      font-size: var(--tide-booking-sidebar-footer-total-font-size);
      font-weight: var(--tide-booking-sidebar-footer-total-font-weight);
      color: var(--tide-booking-sidebar-footer-total-color);
      line-height: 1.8;
    }
  }
}
