/* -------------------------------------------------- */
/* CART */
.cart {
  width: 100%;
  background-color: #F8F8F8;
}
.button--cart{
  font-size: 1.333rem;
  color: #121212;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}
.shopping__cart {
  display: flex;
  width: 1400px;
  margin: 0 auto;
  padding: 32px 0;
  gap: 24px;
}

.shopping__cart h1 {
  font-size: 2.765rem;
  margin-bottom: 24px;
  width: 100%;
}

.cart__container {
  display: flex;
  flex-direction: column;
  width: calc(100% - 390px);
  margin: 0 auto;
  align-items: center;
  height: 100%;
}


/* -------------------------------------------------- */
/* EMPTY CART */
.cart__container figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.cart__container figure img {
  width: 158px;
  height: 158px;
}

.cart__container figure figcaption {
  font-size: 2.3rem;
  font-weight: 700;
}

.cart__container > p {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.cart__container .btns__container {
  display: flex;
  gap: 16px;
}

.cart__container .btns__container button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
  width: 158px;
  height: 40px;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 550;
}

.cart__container .btns__container .btn__signup {
  background-color: var(--white-color);
}

.cart__container .btns__container .btn__signin {
  background-color: var(--blue-color);
  color: var(--white-color);
}
.btn__continue-shopping{
  background-color: var(--blue-color);
  color: var(--white-color);
  width: 181px !important;
  font-family: "Inter", sans-serif;
}

/* -------------------------------------------------- */
/* PACKAGE */
.package-tab {
  margin-top: 30px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1;
  background-color: var(--white-color);
  margin-bottom: 24px;
}
.package-tab:last-child {
  margin-bottom: 0;
}

.package-tab__title {
  position: absolute;
  top: -30px;
  width: 100%;
  background-color: #012F47;
  color: var(--white-color);
  font-weight: 700;
  font-size: 1.6rem;
  border-radius: 8px;
  padding: 5px 5px 15px 24px;
  z-index: -1;
}

.package-tab__content {
  display: flex;
  justify-content: space-between;
  background-color: var(--white-color);
  padding: 24px;
  border-radius: 8px;
}

.package-tab__stacked-content {
  width: calc(100% - 370px);
}

.package-tab__stacked-content h1 {
  font-size: 2.025rem;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 16px;
  width: 100%;
}

.package-tab__content-wrapper {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.package-tab__content-wrapper:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.package-tab__image-wrapper {
  width: 100px;
  height: 100px;
}

.package-tab__image-wrapper img {
  width: 100%;
  height: 100%;
}

.package-tab__item-details {
  width: 100%;
}

.package-tab__item-details a {
  color: var(--blue-color);
}

.package-tab__item-details-wrapper {
  margin-bottom: 16px;
}

.package-tab__item-details .package-tab__name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #121212;
}

.package-tab__item-details .package-tab__desc span {
  font-size: 1.333rem;
  color: #5e636c;
}
.package-tab__item-sales-info {
  color: #0f0f0f;
  text-align: right;
  line-height: 1.3;
}

.package-tab__item-sales-info .package-tab__item-sales-info-text {
  font-size: 1.333rem;
}

.package-tab__item-sales-info .package-tab__item-sales-info-price {
  font-size: 2.27rem;
  font-weight: 700;
}

.package-tab__item-actions {
  width: 100%;
  height: 35px;
  display: flex;
}

.package-tab__item-actions select {
  cursor: pointer;
  width: 100px;
  height: 100%;
  border: 1px solid #D4D7E2;
  border-radius: 5px;
  text-align: center;
  border-radius: 8px 0 0 8px;
}

.package-tab__item-actions .item__listing {
  width: 100px;
  height: 100%;
  border: 1px solid #D4D7E2;
  background-color: var(--background-color);
  border-radius: 0 8px 8px 0;
  border-left: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.333rem;
}

.package-tab__item-actions button {
  cursor: pointer;
  width: 100px;
  height: 100%;
}


/* -------------------------------------------------- */
/* PACKAGE SUMMARY */
.beet--ween {
  display: flex;
  justify-content: space-between;
}
.package-tab__summary {
  width: 340px;
  height: fit-content;
  border-radius: 8px;
  background-color: #F8F8F8;
  padding: 16px;
  color: #121212;
}

.package-tab__summary-wrapper {
  margin-bottom: 16px;
  font-size: 1.6rem;
  font-weight: 700;
}
.package-tab__summary-item {
  font-size: 1.33rem;
  margin-bottom: 4px;
}

.package-tab__summary-item-shipping-option {
  margin-top: 16px;
  background-color: var(--white-color);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--blue-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 1.6rem;
  font-weight: 600;
}
.package-tab__summary-item-shipping-option input {
  margin: 0 8px;
}
.package-tab__summary-item-shipping-option .package-tab__summary-item-shipping-option-price {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: right;
}
.package-tab__summary-item-shipping-option .package-tab__summary-item-shipping-option-days {
  margin: 8px 0 0 24px;
  font-size: 1.33rem;
  font-weight: normal;
}

.package-tab__remove-button {
  text-align: right;
  margin-top: 16px;
  
}
/* -------------------------------------------------- */
/* CART SUMMARY */
.cart__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  width: 360px;
  height: fit-content;
  padding: 24px;
  background-color: var(--white-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart__summary>span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.item__breakdown{
  width: 100%;
  margin-bottom: 16px;
}
.item__breakdown-item{
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart__subtotal{
  width: 100%;
  margin-bottom: 16px;
}
.cart__subtotal p{
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cart__summary button, .checkout__button-link{
  width: 100%;
  height: 48px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.1s ease;
  margin-bottom: 16px;
}

.checkout__button{
  font-family: "Inter", sans-serif;
  background-color: var(--blue-color);
  color: var(--white-color);
  font-size: 1.6rem;
  font-weight: 550;
}

.checkout__button:hover{
  opacity: 0.9;
}

#paypal-button-container {
  width: 100%;
  margin-bottom: 8px;
}

.cart__summary button img {
  width: 90px;
}

.clear__cart{
  text-align: right;
  height: 0 !important;

}
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  right: -100%;
  height: 60px;
  background-color: var(--black-color);
  padding: 15px 30px;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  right: 20px;
  animation: fadeOut 1.25s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 0;
    right: -100%;
  }
  20% {
    opacity: 1;
    right: 20px;
  }
  80% {
    opacity: 1;
    right: 20px;
  }
  100% {
    opacity: 0;
    right: 20px;
  }
}

.toast__content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

#toast-message {
  color: var(--white-color);
  margin: 0;
  font-size: 1.33rem;
  font-weight: 700;
}
