main.cart-page {
    padding-top: 24px;
    padding-bottom: 110px;
    min-height: 550px;
}
.cart-page h1 {
    position: relative;
    padding-left: 14px;
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.7px;
}
.cart-page h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 3px;
    background: var(--brand);
}
.cart-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 22px;
}
.shipping-panel {
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}
.shipping-progress {
    height: 6px;
    background: #e9ecef;
}
.shipping-progress .progress-bar { background: var(--brand); }
.basket-panel { padding-top: 26px; }
.basket-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 130px;
    align-items: center;
    gap: 12px;
    padding: 10px 0 16px;
    border-bottom: 1px solid #d9dfe4;
}
.basket-image { width: 74px; height: 78px; object-fit: contain; }
.basket-name { font-size: 14px; font-weight: 500; }
.basket-unit { color: #716a65; font-size: 13px; margin-top: 3px; }
.basket-quantity { width: 130px; }
.basket-quantity .form-control { min-width: 0; padding: 4px; font-size: 13px; }
.basket-quantity .btn { padding: 4px 13px; }
.basket-line-total { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding-left: 22px; }
.basket-line-total strong { font-weight: 600; }
.basket-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.basket-actions a { color: #0d6efd; text-decoration: underline; }
.cart-page .btn { font-size: 14px; }
.order-summary h2 { padding: 0; margin: 0 0 16px; font-size: 20px; }
.order-summary h2::before { display: none; }
.order-summary .form-control { min-width: 0; font-size: 14px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ccc; margin-top: 18px; padding-top: 16px; font-size: 19px; }
.summary-total strong:last-child { color: var(--brand); font-weight: 600; }
#cart-status:not(:empty) { margin-top: 12px; }
@media (max-width: 767px) {
    main.cart-page { min-height: 0; padding-top: 20px; padding-bottom: 42px; }
    .cart-page h1 { font-size: 23px; margin-bottom: 18px; }
    .cart-panel { padding: 16px; }
    .basket-item { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
    .basket-image { width: 58px; height: 72px; }
    .basket-quantity { grid-column: 2; }
    .basket-line-total { padding-left: 0; }
    .basket-actions { flex-wrap: wrap; }
}

.checkout-actions {
    margin-top: 18px;
    text-align: center;
}
.cart-page .checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 49px;
    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 9px;
    color: #fff;
    font-size: 20px;
}
.cart-page .checkout-button:hover {
    background: #a63205;
    color: #fff;
}
.checkout-button[aria-disabled="true"] {
    opacity: .55;
    pointer-events: none;
}
.guest-note {
    margin: 8px 0 12px;
    color: #716a65;
    font-size: 13px;
    line-height: 1.6;
}
.cart-page .clear-cart {
    color: #dc3545;
    font-size: 13px;
    padding: 2px 0;
    text-decoration: underline;
}
