/* Cart & order-request page */
.cart-main { max-width: 1100px; margin: 0 auto; padding: 0 20px 40px; }

.cart-alert {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1.1rem;
    border-left: 4px solid #b42318;
    background: #fdf0ee;
    color: #7a1a12;
}

.cart-layout { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; gap: 2rem; } }

.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e6e0d2; }
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e0d2;
}
.cart-item__image img { display: block; width: 100px; height: 150px; object-fit: cover; background: #f2efe8; }
.cart-item__title { margin: 0 0 0.4rem; font: 400 1.15rem/1.3 "Playfair Display", "Playfair Fallback", Georgia, serif; }
.cart-item__title a { color: #000; text-decoration: none; }
.cart-item__title a:hover { text-decoration: underline; }
.cart-item__price { margin: 0; }
.cart-item__price del { color: #767676; margin-right: 0.5rem; }
.cart-item__price ins { color: #c9151b; text-decoration: none; font-weight: 600; }
.cart-item__remove button {
    padding: 0.5rem 0.9rem;
    border: 1px solid #222;
    background: #fff;
    color: #222;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
}
.cart-item__remove button:hover { background: #222; color: #fff; }
.cart-item__remove button:focus-visible,
.cart-btn:focus-visible,
.checkout-contact input:focus-visible { outline: 2px solid #8a6d2f; outline-offset: 2px; }

.cart-total { display: flex; justify-content: space-between; margin: 1.25rem 0; font-size: 1.2rem; }
.cart-total strong { color: #000; }
.cart-continue { margin: 0; }

.cart-btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border: 1px solid #222;
    font: inherit;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}
.cart-btn--dark { background: #222; color: #fff; }
.cart-btn--dark:hover { background: #000; }
.cart-btn--light { background: #fff; color: #222; }
.cart-btn--light:hover { background: #f4f1e8; }

.checkout-actions { padding: 1.5rem; border: 1px solid #e6e0d2; background: #faf8f3; }
.checkout-actions h2 { margin: 0 0 0.5rem; font: 400 1.6rem/1.2 "Playfair Display", "Playfair Fallback", Georgia, serif; color: #000; }
.checkout-actions__note { margin: 0 0 1.25rem; color: #4a4a4a; line-height: 1.6; font-size: 0.95rem; }
.checkout-actions fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.checkout-choice { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.7rem; cursor: pointer; color: #222; }
.checkout-choice input { margin-top: 0.3rem; }
.checkout-choice small { color: #4a4a4a; }
.checkout-contact[hidden] { display: none; }
.checkout-contact label { display: block; margin: 0 0 0.3rem; font-size: 0.9rem; color: #4a4a4a; }
.checkout-contact input {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #bdb6a5;
    background: #fff;
    font: inherit;
}
.btn-checkout { width: 100%; }
.cart-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cart-empty { max-width: 560px; margin: 1rem auto 2rem; text-align: center; }
.cart-empty h2 { font: 400 1.6rem/1.3 "Playfair Display", "Playfair Fallback", Georgia, serif; }
.cart-empty p { color: #4a4a4a; line-height: 1.7; margin: 0 0 1.5rem; }

@media (max-width: 480px) {
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item__image img { width: 80px; height: 120px; }
    .cart-item__remove { grid-column: 1 / -1; }
}
