.cart-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
  flex: 1;
}

.cart-cart-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-order-form {
  max-width: 400px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  background: #40705b;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  margin: 1rem;
}

.cart-order-form h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.order-form-section {
  margin-bottom: 12px;
}

.order-form-label {
  font-size: 1.2rem;
  font-weight: bold;

}

.method-selector {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
}

.method-selector li ::marker {
  display: none;
}

.order-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-form-row .input-field-group {
  min-width: 100px;
}

.order-form-login-row {
  display: flex;
  justify-content: center;
}

.order-form-login-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-form-summary {
  margin: 18px 0 8px 0;
  font-size: 1rem;
}

.order-form-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.order-form-total {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 6px;
}

.order-form-submit {
  width: 100%;
  background: #ff9000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
}

.order-form-submit:hover {
  background: #e87c00;
}

.line {
  width: 80%;
  height: 1px;
  background: #fff;
  margin: 1rem auto;
}

@media (max-width: 650px) {
  .cart-container {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cart-order-form {
    margin: auto;
    max-width: 90%;
    width: 90%;
  }

  .cart-cart-list {
    flex: 1;
    width: 100%;
    max-width: 100%;
  }

  .cart-container {
    margin: 1rem;
  }
}

.item-nav {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.input-field-group p {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 0.3rem;
}

.warning {
  display: none;
  color: #fe5d5d;
  font-size: 0.9em;
  margin: 1rem 0;
}