.summary {
  position: fixed;
  z-index: 10;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--Base-Surface-Primary-light-Normal);
  padding: 0 0 var(--Spacing-x5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--Base-Border-Subtle);
  transition: bottom 300ms ease-in-out;
}

.summary[data-visible="true"] {
  bottom: 0;
}

.summaryPriceContainer {
  display: flex;
  flex-direction: row;
  gap: var(--Spacing-x4);
  padding: var(--Spacing-x2) var(--Spacing-x3) 0;
  width: 100%;
}

.summaryPrice {
  display: flex;
  width: 100%;
  gap: var(--Spacing-x4);
}

.petInfo {
  border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
  padding-left: var(--Spacing-x2);
  display: none;
}

.summaryText {
  display: none;
}

.summaryPriceTextDesktop {
  display: none;
}

.continueButton {
  margin-left: auto;
  height: fit-content;
  width: 100%;
  min-width: 140px;
}

.summaryPriceTextMobile {
  white-space: nowrap;
}

.memberDiscountBannerDesktop {
  display: none;
  background: var(--Primary-Light-Surface-Normal);
  border-radius: var(--Corner-radius-xLarge) var(--Corner-radius-xLarge) 0px
    var(--Corner-radius-xLarge);
  flex-direction: row;
  align-items: center;
  padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
  gap: var(--Spacing-x2);
  max-width: 264px;
}

.memberDiscountBannerMobile {
  width: 100%;
  background: var(--Primary-Light-Surface-Normal);
  padding: var(--Spacing-x-one-and-half);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .summary {
    padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x5);
    flex-direction: row;
  }
  .petInfo,
  .summaryText,
  .summaryPriceTextDesktop {
    display: block;
  }
  .memberDiscountBannerDesktop {
    display: flex;
  }
  .summaryPriceTextMobile,
  .memberDiscountBannerMobile {
    display: none;
  }
  .summaryPrice,
  .continueButton {
    width: auto;
  }
  .summaryPriceContainer {
    width: auto;
    padding: 0;
  }
}
