   CART PAGE
========================================================= */
.cart-page .breadcrumb-bar {
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #e5eaf0;
    background: #fff;
    padding: 12px 0;
}

.cart-page .breadcrumb-item a {
    text-decoration: none;
    color: var(--cs-blue);
}

.cart-page .breadcrumb-item.active {
    color: #445264;
}

.cart-page-main {
    padding: 1.5rem 0 2rem;
}

.cart-page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #15417f;
    margin-bottom: 1rem;
}

.cart-card {
    background: #fff;
    border: 1px solid #e1e6ec;
}

.cart-table-head {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) 160px 160px 160px;
    align-items: center;
    background: linear-gradient(180deg, #f9fafc 0%, #f1f4f8 100%);
    border-bottom: 1px solid #e1e6ec;
}

    .cart-table-head > div {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 800;
        text-transform: uppercase;
        color: #445264;
    }

.cart-item-row {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) 160px 160px 160px;
    align-items: center;
    border-bottom: 1px solid #e1e6ec;
}

    .cart-item-row > div {
        padding: 1.1rem 1.25rem;
    }

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-image {
    width: 165px;
    flex: 0 0 165px;
}

    .cart-item-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

.cart-item-info h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #15417f;
    margin-bottom: 0.7rem;
}

.cart-item-meta {
    color: #5a6777;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.3rem;
}

.cart-item-options {
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0.25rem;
}

.cart-item-options li {
    font-size: 0.85rem;
    color: #5a6777;
    line-height: 1.5;
}

.cart-opt-type {
    font-weight: 700;
    text-transform: capitalize;
    margin-right: 0.25rem;
}

.cart-opt-price {
    color: #0d8a43;
    font-weight: 700;
    margin-left: 0.35rem;
}

.cart-item-price-breakdown {
    font-size: 0.8rem;
    color: #8a96a3;
    margin-bottom: 0.25rem;
}

.cart-remove-btn {
    margin-top: 0.6rem;
    background: none;
    border: none;
    color: #15417f;
    font-weight: 700;
    text-decoration: underline;
    padding: 0;
}

.cart-item-price,
.cart-item-total {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3a4d;
}

.cart-item-total {
    font-size: 1.1rem;
    font-weight: 900;
    color: #15417f;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfd8e4;
    background: #fff;
}

.cart-qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #eef3f8;
    color: #1f437b;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.cart-qty-input {
    width: 44px;
    height: 34px;
    border: none;
    text-align: center;
    font-weight: 800;
    color: #1c2a3f;
    background: #fff;
}

.cart-summary-row {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.6fr);
    min-height: 320px;
}

.cart-summary-spacer {
    border-right: 1px solid transparent;
}

.cart-summary {
    padding: 1.25rem 2rem 1.5rem 1.25rem;
    max-width: 520px;
    margin-left: auto;
    width: 100%;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e1e6ec;
    color: #5a6777;
    font-size: 1.1rem;
}

    .cart-summary-line strong {
        color: #2d3a4d;
        font-weight: 800;
    }

.cart-summary-total {
    font-size: 1.35rem;
    font-weight: 800;
    color: #15417f;
    margin-top: 0.1rem;
}

    .cart-summary-total strong {
        font-size: 1.5rem;
        color: #15417f;
        font-weight: 900;
    }

.shipping-free {
    color: #15417f !important;
}

.btn-cart-checkout {
    margin-top: 1.25rem;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    border-radius: 2px;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.95rem 1rem;
}

    .btn-cart-checkout:hover {
        color: #fff;
        background: var(--cs-blue-dark);
    }

.cart-continue-link {
    display: inline-block;
    margin-top: 1rem;
    color: #15417f;
    font-weight: 700;
    text-decoration: none;
}

.cart-security-section {
    padding: 1.5rem 0 3rem;
}

.cart-security-card {
    border: 1px solid #e1e6ec;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fb 100%);
    padding: 1.5rem 1.5rem 2rem;
}

.cart-security-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

    .cart-security-title-wrap .line {
        flex: 1;
        height: 1px;
        background: #cfd8e4;
    }

    .cart-security-title-wrap h2 {
        font-size: 1.2rem;
        font-weight: 900;
        color: #15417f;
        margin: 0;
        white-space: nowrap;
    }

.cart-payment-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.payment-logo-box {
    min-height: 54px;
    border: 1px solid #d6dee8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #15417f;
    font-weight: 900;
    font-size: 1.05rem;
}

.cart-secure-banner {
    max-width: 700px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 900;
    border-radius: 2px;
}

    .cart-secure-banner i {
        font-size: 1.45rem;
    }

.cart-security-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
}

.cart-security-item {
    text-align: center;
    color: #15417f;
    font-weight: 900;
}

    .cart-security-item i {
        display: block;
        font-size: 2.9rem;
        margin-bottom: 0.7rem;
    }

    .cart-security-item span {
        display: block;
        font-size: 0.95rem;
        line-height: 1.2;
    }

@media (max-width: 991.98px) {
    .cart-page-title {
        font-size: 2.2rem;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
    }

        .cart-item-row > div {
            padding: 0.8rem 1rem;
        }

    .cart-item-price,
    .cart-item-qty,
    .cart-item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #edf1f5;
    }

        .cart-item-price::before,
        .cart-item-qty::before,
        .cart-item-total::before {
            content: attr(data-label);
            font-size: 0.92rem;
            font-weight: 800;
            color: #5a6777;
            text-transform: uppercase;
        }

    .cart-summary-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cart-summary {
        padding: 1rem;
        max-width: none;
    }

    .cart-payment-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cart-item-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-image {
        width: 140px;
        flex: none;
    }

    .cart-security-title-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }

        .cart-security-title-wrap .line {
            width: 100%;
        }

    .cart-payment-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-security-icons {
        grid-template-columns: 1fr;
    }

    .cart-secure-banner {
        font-size: 0.95rem;
    }
}
