.cart-content {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 0;
  gap: 0.5rem;
}
.cart-items-section {
  flex: 2;
  padding: 0.5rem;
  background: var(--main-bg);
  color: var(--txt-clr);
  border-radius: 0.3rem;
  font-size: 0.9rem;
}
.cart-items-content {
  padding: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.575);
  box-shadow: 0px 0px 2px 1px rgba(128, 128, 128, 0.514);
  border-radius: 0.5rem;
}

.insert-data {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  height: 100%;
  min-height: 59vh;
}
.cart-items-content legend {
  font-weight: bold;
}
.cart-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cart-clr);
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: var(--txt-clr);
}

.cart-product .product-image-name-content img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  max-width: 3rem;
}
.cart-content .product-quantity-unit-content {
  display: flex;
  flex-direction: column;
  width: 4rem;
}
.product-quantity-unit-content .product-cart-quantity,
.product-quantity-unit-content .product-cart-unit {
  width: 100%;
  color: var(--cart-clr);
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  padding: 0.2rem;
  border: 2px solid var(--cart-clr);
  outline: none;
  cursor: pointer;
  transition: all ease-in 0.15s;
  border-radius: 0.3rem;
}
.product-quantity-unit-content .product-cart-quantity:focus {
  border: 2px solid var(--main-bg);
}
.product-quantity-unit-content .product-cart-unit:focus {
  border: 2px solid var(--main-bg);
}
.cart-content .remove-cart-item {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--cart-clr);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--cart-clr);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  padding: 0.3rem;
}
.cart-content .remove-cart-item:hover {
  background: var(--main-bg);
}
.cart-content .remove-cart-item:active {
  background: #5ae4ee;
}
/* Checkout */
.payment-with-suggestion {
  display: flex;
  flex-direction: column;
  height: max-content;
  gap: 0.5rem;
  flex: 1;
}
.cart-checkout,
.feedback-box {
  flex: 1;
  width: 100%;
  background: var(--main-bg);
  height: max-content;
  color: white;
  padding: 0.5rem;
  border-radius: 0.3rem;
}
.cart-checkout fieldset,
.feedback-box fieldset {
  border: 2px solid rgba(255, 255, 255, 0.575);
  box-shadow: 0px 0px 2px 1px rgba(128, 128, 128, 0.514);
  border-radius: 0.5rem;
  padding: 0.5rem;
}
.cart-checkout fieldset legend,
.feedback-box legend {
  font-weight: bold;
}
fieldset .card-date-time,
fieldset .delivery-methods-content,
fieldset .payment-methods-content {
  margin-bottom: 0.5rem;
}
fieldset .card-date-time .order-date,
fieldset .card-date-time .order-time,
fieldset .delivery-methods-content select,
fieldset .payment-methods-content select,
.feedback-box textarea {
  font-size: 1rem;
  height: 30px;
  padding: 0 0.5rem;
  border: 2px solid var(--main-bg);
  outline: none;
  border-radius: 0.3rem;
  color: var(--cart-clr);
  cursor: pointer;
}
.order-time {
  pointer-events: none;
}
fieldset .card-date-time .order-date:focus,
fieldset .card-date-time .order-time:focus,
fieldset .delivery-methods-content select:focus,
fieldset .payment-methods-content select:focus {
  border: 2px solid var(--cart-clr);
}

fieldset .delivery-methods-content select,
fieldset .payment-methods-content select {
  width: 100%;
}
fieldset .checkout-btn,
.feedback-box .send-feedback {
  height: 30px;
  width: 100%;
  border-radius: 0.3rem;
  border: 2px solid var(--cart-clr);
  background-color: var(--cart-clr);
  color: var(--txt-clr);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all ease-in 0.15s;
}

fieldset .checkout-btn:hover,
.feedback-box .send-feedback:hover {
  background: var(--txt-clr);
  color: var(--cart-clr);
}
fieldset .checkout-btn:active,
.feedback-box .send-feedback:active {
  background: var(--main-bg);
  color: var(--txt-clr);
}

.feedback-box .suggestion-box {
  width: 100%;
  height: auto;
  min-height: 100px;
  resize: none;
  cursor: text;
  padding: 0.5rem;
}
.feedback-box .send-feedback {
  width: 50px;
}
