.container {
    padding: 40px 30px 0;
}

.cart-shell {
    max-width: 1280px;
    margin: 0 auto;
}

.cart-hero {
    background: linear-gradient(135deg, rgba(255, 145, 0, 0.18), rgba(7, 23, 44, 0.95));
    border: 1px solid rgba(255, 145, 0, 0.35);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.eyebrow {
    margin: 0 0 12px;
    color: #ffb454;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
}

.cart-hero h1 {
    margin: 0;
    font-size: 48px;
}

.cart-copy {
    max-width: 760px;
    color: #d7dfeb;
    margin: 14px 0 0;
    line-height: 1.6;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 26px;
    margin-top: 28px;
}

.cart-items-panel,
.summary-panel {
    background: #102744;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.summary-panel {
    align-self: start;
    position: sticky;
    top: 120px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.panel-head h2 {
    margin: 0;
    font-size: 28px;
}

.cart-count,
.selection-note {
    color: #ffb454;
    font-size: 14px;
}

.select-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dce5ef;
}

.select-all input,
.cart-select-wrap input {
    accent-color: #ff9100;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 130px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    background: #0b1f3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.cart-select-wrap {
    align-self: flex-start;
    padding-top: 8px;
}

.cart-item-image {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 14px;
    background: white;
}

.cart-item-info h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.cart-store {
    margin: 0 0 12px;
    color: #b9c4d6;
}

.cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #d7dfeb;
    font-size: 14px;
}

.price-now {
    color: #ff9100;
    font-weight: bold;
}

.price-old {
    color: #8091ab;
    text-decoration: line-through;
}

.discount-tag {
    color: #6cf27f;
}

.delivery-tag {
    color: #8ec8ff;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.qty-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #08162a;
    border-radius: 999px;
    padding: 8px 12px;
}

.qty-btn,
.remove-btn,
.checkout-btn,
.cta-link,
.secondary-link {
    transition: 0.25s ease;
}

.qty-btn {
    border: none;
    background: #ff9100;
    color: #08162a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.item-total {
    font-size: 22px;
    font-weight: bold;
    color: #ffdfad;
}

.cart-line-actions {
    display: flex;
    gap: 10px;
}

.remove-btn {
    border: 1px solid rgba(255, 145, 0, 0.5);
    background: transparent;
    color: #ffb454;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
}

.remove-btn.alt {
    background: rgba(255, 145, 0, 0.14);
}

.remove-btn:hover,
.secondary-link:hover {
    background: rgba(255, 145, 0, 0.12);
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 12px 0 26px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d7dfeb;
}

.summary-row.total {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
    border: none;
    background: #ff9100;
    color: #08162a;
    font-weight: bold;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
}

.checkout-btn:hover,
.cta-link:hover {
    background: #ffb454;
}

.secondary-link,
.cta-link,
.cart-link {
    color: inherit;
    text-decoration: none;
}

.secondary-link {
    display: inline-block;
    margin-top: 14px;
    color: #ffb454;
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
    background: #0b1f3a;
    border: 1px dashed rgba(255, 145, 0, 0.3);
    border-radius: 18px;
}

.empty-cart h3 {
    margin-top: 0;
    font-size: 28px;
}

.empty-cart p {
    color: #c4cfdf;
    margin-bottom: 24px;
}

.cta-link {
    display: inline-block;
    background: #ff9100;
    color: #08162a;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: bold;
}

@media (max-width: 980px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .summary-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .cart-item {
        grid-template-columns: auto 1fr;
    }

    .cart-item-image {
        width: 100%;
        height: 220px;
        grid-column: span 2;
    }

    .cart-item-info,
    .cart-item-actions {
        grid-column: span 2;
    }

    .cart-item-actions {
        align-items: stretch;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 24px 16px 0;
    }

    .cart-hero {
        padding: 24px;
    }

    .cart-hero h1 {
        font-size: 36px;
    }

    .cart-items-panel,
    .summary-panel {
        padding: 18px;
    }

    .cart-line-actions {
        flex-direction: column;
    }
}
