#checkout {
  color: black;
}
.adjust-quantity {
  color: #333;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  font-size: 0.9em;
  padding: 3px 8px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.adjust-quantity:hover {
  background-color: #e2e6ea;
  transform: scale(1.05);
}

.quantity {
  margin: 0 10px;
  font-weight: bold;
}

.order-summary-title {
  font-family: "Itim", serif;
  font-size: 1.2em;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cart-items,
.discount-combos {
  border-bottom: 1px solid #ddd;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ccc;
}

.gift-price-tag {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-details {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-image {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 10px;
}

.item-name {
  font-weight: bold;
  color: #333;
}

.item-price-quantity {
  color: #555;
  font-size: 0.9em;
}

.item-total-price {
  font-weight: bold;
  color: #333;
}

.trash-icon {
  cursor: pointer;
  color: #888;
  transition: color 0.3s, transform 0.3s;
}

.trash-icon:hover {
  color: #d9534f;
  transform: scale(1.2);
}

.discount-combo {
  font-size: 0.9em;
  color: #333;
  background-color: #f2f2f2;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.total-amount {
  text-align: right;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}

#checkout .navbar {
  background-color: #343a40;
  padding: 1rem;
}

.col-md-6::-webkit-scrollbar {
  display: none;
}

.col-md-6 {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#checkout .navbar-brand img {
  height: 2.5rem;
}

#checkout .nav-link {
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
}

#checkout .nav-link:hover {
  color: #ffc107 !important;
}

#checkout .custom-nav-item {
  margin-left: 1.25rem;
}

#checkout .marquee-container {
  background-color: #ffc107;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

#checkout .marquee-text {
  color: #343a40;
  font-weight: 700;
  font-size: 1rem;
}

#checkout body {
  background: linear-gradient(to right, #e2e2e2, #c9d6ff);
  color: #333;
  font-family: "Itim", serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 0.8vw;
  padding-top: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#checkout .form-label {
  font-weight: 700;
  font-size: 1rem;
}

#checkout .btn-primary {
  background-color: #343a40;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

#checkout .btn-primary:hover {
  background-color: #ffc107;
  color: #343a40;
  transform: scale(1.05);
}

@media (min-width: 1000px) {
  #checkout {
    padding: 50px;
    padding-top: 30px;
  }
}
@media (max-width: 1000px) {
  #checkout .checkout-form {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }

  #checkout .checkout-form {
    overflow: auto;
    overflow-x: hidden;
  }

  #checkout .billing-details,
  .order-summary {
    min-height: max-content;
  }

  #checkout .navbar-brand img {
    height: 2rem;
  }

  #checkout .nav-link {
    font-size: 0.875rem;
  }

  #checkout .custom-nav-item {
    margin-left: 1rem;
  }

  #checkout .marquee-container {
    padding: 0.25rem 0.5rem;
  }

  #checkout .marquee-text {
    font-size: 0.875rem;
  }

  #checkout .form-label {
    font-size: 0.875rem;
  }

  #checkout .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.orderCodeVal {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-right: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.orderCodeVal h2 {
  padding-left: 9vw;
}

.orderCodeVal button {
  background: none;
  border: none;
}

#success svg {
  animation: fadeIn 0.5s ease forwards;
}

#checkmark {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: draw 1s ease forwards;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

#loading,
#success,
#orderCodeModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
}

#orderCodeModal {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#orderCodeModal button {
  font-size: 30px;
  margin-top: -20px;
  float: right;
  background-color: transparent;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#orderCodeModal .ordercode {
  font-size: 1.5em;
  margin-bottom: 20px;
}
