/* === cart.css — стилі для сторінки замовлення === */

.cart-table {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-row {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* === Три основні блоки === */
.cart-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-left strong a {
  font-size: 19.2px; /* Збільшено на 20% (16px * 1.2 = 19.2px) */
  color: #000;
  text-decoration: none;
}

.cart-left strong a:hover {
  text-decoration: underline;
}

.cart-right {
  width: 35%;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.cart-delete {
  width: 5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-size {
  font-size: 14px;
  color: #666;
}

.btn-delete {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: inline-flex; /* Змінено на inline-flex */
  align-items: center;
  gap: 4px;
  white-space: nowrap; /* Запобігаємо перенесенню */
}

.btn-delete span {
  display: inline;
  line-height: 1;
}

.btn-delete .icon {
  color: red;
}

.btn-delete .label {
  color: #000;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  min-width: 90px;
}

.btn-qty {
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-qty:hover {
  background-color: #ddd;
}

.row-mobile {
  display: none;
}

.cart-total {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

.cart-total strong {
  font-weight: normal;
  font-size: 18px;
  color: #000;
}

.cart-total .sum {
  font-weight: bold;
  color: #f26522;
  font-size: 20px;
}

/* === Checkout Form === */
.checkout-form {
  background-color: #ccc;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.checkout-form h3 {
  margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #aaa;
  border-radius: 6px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.checkout-form textarea {
  min-height: 100px;
  resize: vertical;
}

.delivery-choice {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #f26522;
  margin: 0;
}

.checkout-submit {
  text-align: center;
  margin-top: 20px;
}

.checkout-submit .btn-primary {
  padding: 14px 28px;
  font-size: 16px;
}

/* === Кнопка Copy Address === */
.btn-copy-address {
  background: none;
  border: none;
  color: #333;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
}

.btn-copy-address:hover {
  color: #f26522;
}

.back-link {
  margin-top: 40px;
  text-align: center;
}

.back-link a {
  color: #333;
  text-decoration: underline;
  font-size: 16px;
}

/* === Заголовок Your Order === */
h2 {
  margin-bottom: 20px;
}