/* ------------------------------------------------------------------- 
 * ## cart icon
 * ------------------------------------------------------------------- */

.cart-icon {
    width: 4.2rem;
    margin: 0;
    padding: 0;
}

.cart-quantity {
    position: relative;
    color: #F26522;
    margin-left: 17px;
    font-size: 1.5rem;
    letter-spacing: 0;
    margin-bottom: -1.5rem;
    padding: 0;
}

@media only screen and (max-width: 800px) {
  .cart-quantity {
    margin-bottom: -3.2rem;
  }
}

/* ------------------------------------------------------------------- 
 * ## cart
 * ------------------------------------------------------------------- */

.cart {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  min-height: 100vh;
  border-left: 1px solid #f26522;
  padding: 20px;
  background-color: #151515;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10000;
}

.cart.active {
  right: 0;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.cart-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
  color: #FFFFFF;
}

.total {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  border-top: 1px solid #f26522;
}

.total-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
}

.total-price {
  font-size: 1.35rem;
  margin: 1rem 0 0 0.7rem;
}

.btn-buy {
  display: flex;
  justify-content: center;
  margin: 1.5rem auto 0 auto;
  width: 50%;
  text-align: center;
  border: 2px solid #f26522;
  background-color: transparent;
  color: white;
  font-weight: 500;
}

.btn-buy:hover {
  background-color: #f26522;
  border: #f26522;
}

#close-cart {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 20px;
  height: auto;
  cursor: pointer;
}

.cart-box {
  display: grid;
  grid-template-columns: 32% 50% 18%;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.detail-box {
  display: grid;
  row-gap: 0.5rem;
}

.cart-remove {
  width: 24px;
  height: auto;
  justify-content: flex-end;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cartadd {
  width: 4rem;
  height: auto;
}

.add-cart {
  border: none;
  display: contents;
}

.cartadd:hover {
  opacity: 0.7;
  cursor: pointer;
}

.summary-container {
  display: flex;
  max-width: 100rem;
  padding: 2rem;
  margin-left: 4rem;
}

.payment-summary {
  border: 1px solid #f26522;
  color: white;
  margin-top: 2rem;
  padding: 4.4rem;
  font-family: "Montserrat", sans-serif;
}

.payment-summary-row {
  color: white;
  margin: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
}

.payment-summary-title {
  color: #FFFFFF;
  margin-top: 2rem;
  margin-bottom: 0;
  text-align: center;
}

.summary-text {
  margin-bottom: 1rem;
}

.quantity-row {
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 3rem;
}

.order-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

@media only screen and (max-width: 700px) {
  .summary-container {
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }
}

/* Success */

.success {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.para {
  text-align: center;
}

.success-img {
  width: 30rem;
  height: auto;
  margin: 1rem;
}

.success-text {
  margin-top: 12rem;
  margin-bottom: 1rem;
  text-align: center;
}

