﻿
.profile-header {
    background: #A8DDF0;
    padding: 40px 20px;
    text-align: center;
}

    .profile-header h1 {
        margin: 0;
        color: #fff;
        font-size: 58px;
        font-weight: 800;
        line-height: 1.2;
        font-family: inherit;
    }

.shop-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    padding-top: 20px;
}
.spad {
    padding-top: 60px;
    padding-bottom: 60px;
}

.cart-form {
    width: 100%;
    margin: 0 auto;
}

.cart-page-layout {
    align-items: flex-start;
}

.cart-main-column {
    min-width: 0;
}

.cart-summary-column {
    min-width: 0;
}

.cart-table {
    width: 100%;
    margin-bottom: 35px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

    .cart-table .table-responsive {
        overflow-x: auto;
    }

.table-orders {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

    .table-orders thead th {
        padding: 22px 14px;
        border: none;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
        color: #555;
        font-size: 13px;
        font-weight: 700;
        line-height: 18px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .table-orders tbody td {
        padding: 32px 14px;
        border: none;
        background: #fff;
        vertical-align: middle;
    }

    .table-orders tbody tr:not(:last-child) td {
        border-bottom: 1px solid #eeeeee;
    }

.cart-pic {
    width: 120px;
    min-width: 110px;
    text-align: center;
}

    .cart-pic img {
        display: block;
        width: auto;
        max-width: 95px;
        max-height: 85px;
        margin: 0 auto;
        object-fit: contain;
    }


.cart-title {
    min-width: 180px;
}

    .cart-title a {
        color: #150A51 !important;
        text-decoration: none !important;
    }

        .cart-title a:hover,
        .cart-title a:focus {
            color: #150A51 !important;
            text-decoration: none !important;
        }

    .cart-title h5 {
        max-width: 190px;
        margin: 0;
        color: #150A51;
        font-size: 15px;
        font-weight: 800;
        line-height: 18px;
    }


.p-price {
    min-width: 95px;
    color: #150A51;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
}

.original-price {
    display: inline-block;
    margin-bottom: 2px;
    color: #999;
    font-size: 11px;
    font-weight: 400;
    text-decoration: line-through;
}

.current-price {
    color: #150A51;
    font-weight: 800;
}

.total-price {
    min-width: 85px;
    color: #150A51;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.qua-col {
    min-width: 125px;
}

.quantity {
    display: flex;
    align-items: center;
}

.pro-qty {
    display: inline-flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
    background: #150A51;
}

    .pro-qty .qtybtn {
        width: 40px;
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #150A51;
        color: #fff;
        cursor: pointer;
        font-size: 18px;
        font-weight: 700;
        user-select: none;
        transition: .2s ease;
    }

        .pro-qty .qtybtn:hover {
            background: #22116f;
            color: #FFD501;
        }

    .pro-qty .qtytxt {
        width: 50px;
        height: 40px;
        padding: 0;
        border: 1px solid #150A51;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        outline: none;
        background: #fff;
        color: #150A51;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        box-shadow: none;
    }


.close-td {
    width: 40px;
    min-width: 40px;
    text-align: center;
}

.btnRemoveFromCart {
    width: 18px;
    height: 18px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff4b4b;
    border-radius: 50%;
    color: #ff4b4b;
    cursor: pointer;
    font-size: 8px;
    transition: .2s ease;
}

    .btnRemoveFromCart:hover {
        background: #ff4b4b;
        color: #fff;
    }

.cart-actions-area {
    width: 100%;
}

.discount-coupon {
    width: 100%;
    margin-bottom: 12px;
}

.coupon-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .coupon-form input {
        flex: 1;
        min-width: 0;
        height: 47px;
        padding: 0 18px;
        border: 1px solid #dedede;
        border-radius: 999px;
        outline: none;
        background: #fff;
        color: #333;
        font-size: 13px;
        transition: .2s ease;
    }

        .coupon-form input::placeholder {
            color: #999;
        }

        .coupon-form input:focus {
            border-color: #150A51;
            box-shadow: 0 0 0 3px rgba(21, 10, 81, .06);
        }

.coupon-btn {
    flex: 0 0 82px;
    height: 47px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: #150A51;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 14px;
    transition: .2s ease;
    text-wrap-mode: nowrap;
}

    .coupon-btn:hover {
        background: #FFD501;
        color: #150A51;
    }

.cart-buttons {
    width: 100%;
    margin-top: 10px;
}

    .cart-buttons .primary-btn {
        min-height: 47px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        text-align: center;
        text-decoration: none !important;
        transition: .2s ease;
    }

.up-cart {
    background: #f2f2f2 !important;
    color: #666 !important;
}

    .up-cart:hover {
        background: #e5e5e5 !important;
        color: #150A51 !important;
    }

.continue-shop {
    background: #FFD501 !important;
    color: #150A51 !important;
}

    .continue-shop:hover {
        background: #150A51 !important;
        color: #fff !important;
    }


.proceed-checkout {
    width: 100%;
}

.order-summary-title {
    margin: 0;
    padding: 23px 25px 18px;
    border-radius: 10px 10px 0 0;
    background: #f5f5f5;
    color: #150A51;
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
}

.proceed-checkout ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0 25px 18px;
    border-radius: 0 0 10px 10px;
    background: #f5f5f5;
}

    .proceed-checkout ul li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 15px 0;
        margin: 0;
        color: #666;
        font-size: 13px;
        font-weight: 400;
    }

        .proceed-checkout ul li span {
            margin-left: auto;
        }

.summary-label {
    margin-left: 0 !important;
    color: #666;
    font-weight: 400;
}

.proceed-checkout ul li > .ltr-dir {
    color: #150A51;
    font-weight: 700;
    white-space: nowrap;
}

.proceed-checkout ul .subtotal {
    border-top: 1px solid #e2e2e2;
}

.proceed-checkout ul .cart-total {
    padding-top: 18px;
    padding-bottom: 10px;
    border-top: 1px solid #e2e2e2;
    color: #150A51;
    font-size: 14px;
    font-weight: 800;
}

    .proceed-checkout ul .cart-total .summary-label {
        color: #150A51;
        font-weight: 800;
    }

    .proceed-checkout ul .cart-total .ltr-dir {
        color: #150A51;
        font-size: 19px;
        font-weight: 800;
    }

.proceed-btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border-radius: 999px;
    background: #150A51;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

    .proceed-btn::after {
        content: "\2192";
        margin-left: 12px;
        font-size: 20px;
        line-height: 1;
    }

    .proceed-btn:hover {
        background: #FFD501;
        color: #150A51 !important;
    }

.qtybtn.qty-disabled {
    opacity: .5;
    pointer-events: none;
    cursor: default;
}

@media (min-width: 992px) {

    .cart-page-layout {
        display: flex;
        align-items: flex-start;
        margin-left: -15px;
        margin-right: -15px;
    }

    .cart-main-column {
        flex: 0 0 67%;
        max-width: 67%;
        padding-left: 15px;
        padding-right: 16px;
    }

    .cart-summary-column {
        flex: 0 0 33%;
        max-width: 33%;
        padding-left: 16px;
        padding-right: 15px;
    }

        .cart-summary-column .proceed-checkout {
            width: 100%;
            margin-top: 0;
        }

    .cart-actions-area {
        position: relative;
        width: 100%;
        min-height: 105px;
    }

    .discount-coupon {
        width: 48%;
        margin-bottom: 12px;
    }

    .coupon-form {
        width: 100%;
    }

    .cart-buttons {
        position: relative;
        display: block;
        width: 48%;
        margin-top: 10px;
    }

        .cart-buttons .up-cart {
            width: 100%;
        }

        .cart-buttons .continue-shop {
            position: absolute;
            top: -58px;
            left: calc(100% + 115px);
            width: 190px !important;
            min-height: 47px;
            white-space: nowrap;
        }
}

@media (min-width: 1200px) {

    .cart-main-column {
        flex: 0 0 66%;
        max-width: 66%;
    }

    .cart-summary-column {
        flex: 0 0 34%;
        max-width: 34%;
    }

    .discount-coupon,
    .cart-buttons {
        width: 48%;
    }

        .cart-buttons .continue-shop {
            left: calc(100% + 120px);
        }
}

@media (max-width: 991px) {

    .cart-main-column,
    .cart-summary-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .cart-summary-column {
        margin-top: 30px;
    }

    .cart-actions-area {
        width: 100%;
    }

    .discount-coupon {
        width: 100%;
    }

    .cart-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
    }

        .cart-buttons .primary-btn {
            width: 100%;
        }

    .continue-shop {
        width: 100% !important;
    }

    .proceed-checkout {
        margin-top: 0;
    }
}

@media (max-width: 767px) {

    .cart-table {
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
    }

        .cart-table .table-responsive {
            overflow: visible;
        }

    .table-orders {
        display: block;
        background: transparent;
    }

        .table-orders thead {
            display: none;
        }

        .table-orders tbody {
            display: block;
        }

            .table-orders tbody tr {
                position: relative;
                display: grid;
                grid-template-columns: 90px minmax(0, 1fr);
                column-gap: 15px;
                row-gap: 10px;
                width: 100%;
                margin-bottom: 18px;
                padding: 18px;
                border: 1px solid #e2e2e2;
                border-radius: 12px;
                background: #fff;
            }

            .table-orders tbody td {
                display: block;
                width: auto;
                min-width: 0;
                padding: 0;
                border: 0 !important;
            }

    .cart-pic {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 90px;
        min-width: 90px;
    }

        .cart-pic img {
            max-width: 80px;
            max-height: 90px;
        }

    .cart-title {
        grid-column: 2;
        min-width: 0;
        padding-right: 25px !important;
    }

        .cart-title h5 {
            max-width: 100%;
            font-size: 14px;
            line-height: 18px;
        }

    .p-price {
        grid-column: 2;
        min-width: 0;
    }

    .qua-col {
        grid-column: 2;
        min-width: 0;
    }

    .total-price {
        grid-column: 2;
        min-width: 0;
        font-size: 16px;
    }

    .close-td {
        position: absolute;
        top: 14px;
        right: 14px;
        width: auto !important;
        min-width: 0 !important;
    }

    .coupon-form {
        width: 100%;
    }

    .coupon-btn {
        flex-basis: 95px;
    }

    .order-summary-title {
        padding: 18px 20px 16px;
        font-size: 18px;
    }

    .proceed-checkout ul {
        padding: 0 20px 16px;
    }

    .proceed-btn {
        min-height: 55px;
        font-size: 14px;
    }
    /* Quantity field */
    .pro-qty .qtytxt {
        font-size: 16px !important;
    }

    /* Coupon field */
    .coupon-form input {
        font-size: 16px !important;
    }
}


@media (max-width: 480px) {

    .table-orders tbody tr {
        grid-template-columns: 75px minmax(0, 1fr);
        padding: 15px;
        column-gap: 12px;
    }

    .cart-pic {
        width: 75px;
        min-width: 75px;
    }

        .cart-pic img {
            max-width: 68px;
            max-height: 80px;
        }

    .cart-title h5 {
        font-size: 13px;
        line-height: 17px;
    }

    .pro-qty,
    .pro-qty .qtybtn,
    .pro-qty .qtytxt {
        height: 38px;
    }

        .pro-qty .qtybtn {
            width: 38px;
            min-width: 38px;
        }

        .pro-qty .qtytxt {
            width: 45px;
            font-size: 16px !important;
        }

    .coupon-form {
        gap: 7px;
    }

        .coupon-form input {
            height: 44px;
            padding: 0 14px;
            font-size: 16px !important;
        }

    .coupon-btn {
        flex: 0 0 82px;
        height: 44px;
        padding: 0 10px;
        font-size: 11px;
    }

    .cart-buttons .primary-btn {
        min-height: 44px;
    }

    .proceed-checkout ul li {
        gap: 10px;
        font-size: 12px;
    }

    .proceed-checkout ul .cart-total .ltr-dir {
        font-size: 17px;
    }
}