.cart-page {
  padding: 30px 16px 50px;
}

.cart-page__container {
  max-width: 1240px;
  margin: 0 auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

.cart-empty {
  border: 1px dashed #d8c7c7;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.cart-delivery-note {
  margin-top: 10px;
  border: 1px solid #e2d3d3;
  border-radius: 10px;
  background: #fbf6f6;
  padding: 9px 12px;
  font-size: 14px;
  color: #5f4f4f;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #efe1e1;
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  margin-bottom: 10px;
}

.cart-item__img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f1f1;
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__name {
  text-decoration: none;
  color: #222;
  font-weight: 600;
}

.cart-item__variant {
  color: #c9a4a4;
  font-size: 13px;
  margin-top: 2px;
}

.cart-item__price {
  color: #5b5b5b;
}

.cart-item__qty {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.cart-item__qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #dfc7c7;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cart-item__qty input {
  width: 56px;
  height: 30px;
  border: 1px solid #dfc7c7;
  border-radius: 8px;
  text-align: center;
}

.cart-item__remove {
  width: 30px;
  height: 30px;
  border: 1px solid #e5c8c8;
  border-radius: 8px;
  background: #fff7f7;
  color: #b44f4f;
  cursor: pointer;
}

.cart-item--delivery {
  grid-template-columns: 90px 1fr auto;
}

.cart-item__img--delivery {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__img--delivery svg {
  width: 34px;
  height: 34px;
  color: #7a6a6a;
}

.cart-item__delivery-price {
  font-size: 16px;
  font-weight: 700;
}

.checkout-card {
  border: 1px solid #efe1e1;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  height: fit-content;
}

.checkout-total {
  margin-bottom: 12px;
  font-size: 20px;
}

#checkoutForm {
  display: grid;
  gap: 10px;
}

#checkoutForm label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

#checkoutForm input,
#checkoutForm select,
#checkoutForm textarea {
  border: 1px solid #dbc8c8;
  border-radius: 10px;
  padding: 2px 12px;
  height: 29px;
  font-size: 15px;
}

#checkoutForm textarea {
  height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.checkout-consent {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
}

.delivery-price-hint {
  border: 1px solid #e2d3d3;
  border-radius: 10px;
  background: #fbf6f6;
  padding: 8px 12px;
  font-size: 14px;
}

.checkout-submit {
  border: 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 16px;
  padding: 12px 14px;
  cursor: pointer;
}

.pickup-note {
  border: 1px solid #e2d3d3;
  border-radius: 10px;
  background: #fbf6f6;
  padding: 10px 12px;
  font-size: 14px;
}

.address-suggest {
  display: none;
  gap: 6px;
  margin-top: 6px;
}

.address-suggest button {
  text-align: left;
  border: 1px solid #e5d7d7;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

.checkout-message {
  font-size: 14px;
}

.checkout-message.is-success {
  color: #1f7a36;
}

.checkout-message.is-error {
  color: #b42318;
}

.honeypot {
  display: none !important;
}

@media (max-width: 980px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item--delivery {
    grid-template-columns: 72px 1fr;
  }

  .cart-item__img {
    width: 72px;
    height: 72px;
  }

  .cart-item__qty {
    grid-column: 1 / -1;
  }

  .cart-item__remove {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cart-item__delivery-price {
    grid-column: 1 / -1;
  }
}
