/* 
-----------------------------------
-----------Cart Product Info---------------
-----------------------------------
*/
.cart-page {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* gap: 12px;
    margin-bottom: 80px; */
}

/* Close Btn Starts*/
.cart-close-container {
    position: absolute;
    right: 0;
    top: 0;
}

.cartempty {
    font-size: 20px;
    color: black !important;
    background: #051e52;
    padding: 20px;
    border-radius: 5px;
}

.cart-close-btn {
    background-color: #051E52;
    border: 0;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    color: #D8E2E7;
    transition: 0.2s;
    top: 10px;
    right: 10px;
    padding: 2px;
}

.cart-close-btn:hover {
    background-color: #051E52;
    color: #ffffff;
}

/* 
-----------------------------------
-----------Close Btn Ends---------------
-----------------------------------
*/

/* Product Info Details */
.left-container {
    width: 75%;
}

/* 
-----------------------------------
-----------Cart title--------------
-----------------------------------
*/
/* .cart-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
} */

.title h2 {
    font-family: 'Popins', sans-serif;
    font-size: 20px;
    color: var(--font-family);
    /* font-weight: 400; */
}

.cart-amount-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.cart-amount-container h3 {
    font-size: 18px;
    font-weight: 500;
    color: #051E52;
    font-family: var(--font-family-secondary);
    margin-left: 20px;
    margin-top: 18px;
}

.cart-amount-container h4 {
    font-weight: 400;
    color: #1e1e1e;
    font-size: 24px;
    font-family: var(--font-family-secondary);
    margin: 0;
}

/*Cart title Ends*/

.cartinfo-container {
    width: 80%;
    display: flex;
    flex-direction: row;
    background-color: #ededed;
    /* background-color: var(--color-surface); */
    /* box-shadow: 3px 3px 3px rgba(241, 212, 212, 0.75); */
    border-radius: 0px 4px 4px 4px;
    margin-bottom: 2px;
    position: relative;
    padding: 0px;
}

.cart-image-container {
    /* width: 30%; */
    display: flex;
    align-items: center;
}

.cart-image-container img {
    width: 100%;
}

.cart-headline h2 {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    font-weight: 600;
    color: #051E52;
    margin-top: 10px;
    margin-bottom: 10px;
}

.certification {
    font-family: var(--font-family-secondary);
}

.product-code {
    font-family: var(--font-family-secondary);
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.wrap-container {
    display: inline-block;
    margin-top: 15px;
}

.cart-product-quality {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    margin-top: 15px;
    height: 50px;
}

.cart-product-quality .border {
    border: 1px solid #1e1e1e;
    height: 100%;
    width: 1px;
    display: block;
}

.cart-left-product {
    display: flex;
    flex-direction: row;
    padding: 0 16px;
}

.cart-product-quality h3 {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    color: #1e1e1e;
    font-weight: 400;
    margin: 0;
    margin-left: 10px;
}

.cart-product-quality h3 i {
    color: #1e1e1e;
    font-size: 18px;
}

.cart-product-quality h4 {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: #1e1e1e;
}

/* 
-----------------------------------
-----------Quantity Info---------------
-----------------------------------
*/
.cart-quantity-container {
    display: inline-block;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    margin-left: 320px;
}

.cart-option-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    /* margin-left: 320px; */
    position: relative;
}

.cart-headline h3 {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: 400;
    color: #1e1e1e;
    margin: 0;
}

.cart-selection-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.qty-option-input {
    width: 30px;
    height: 30px;
    border: 0;
    background-color: #fff;
    border: 1px solid #fff;
    text-align: center;
    color: #1e1e1e;
    font-size: 16px;
    font-family: var(--font-family-secondary);
    outline: none;
}

.qty-option-input::placeholder {
    color: #ffffff;
}

.qty-left-btn {
    background-color: var(--color-surface);
    border: 1px solid #D8E2E7;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    height: 18px;
    width: 18px;
    font-size: 8px;
    color: #ffffff;
    /* margin-right: 12px; */
    cursor: pointer;
    padding: 2px;
}

.qty-right-btn {
    background-color: var(--color-surface);
    border: 1px solid #D8E2E7;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    height: 18px;
    width: 18px;
    font-size: 8px;
    color: var(--font-family);
    /* margin-left: 12px; */
    cursor: pointer;
    padding: 2px;
}

.left-btn,
.right-btn:hover {
    cursor: pointer;
}

.qty-size-input {
    background-color: transparent;
    border: 1px solid #D8E2E7;
    border-radius: 6px;
    width: fit-content;
    height: 45px;
    text-align: center;
    font-family: var(--font-family-secondary);
    color: #ffffff;
    outline: none;
}

.qty-size-dropdown {
    width: 45px;
    height: 45px;
    background-color: #bbb;
    border: 1px solid #D8E2E7;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    outline: none;
    font-family: var(--font-family-secondary);
}

.cart-option-container .qty-size-input {
    padding: 12px;
}

/* Quick Selection Ends */


/* 
-----------------------------------
----------- Price Info---------------
-----------------------------------
*/
.cart-final-price h4 {
    font-size: 19px;
    font-family: var(--font-family-secondary);
    color: #051E52;
    font-weight: 600;
    margin: 0;
    /* margin-top: 15px; */
}

.cart-final-price span {
    /* font-size: 18px;
    font-family: var(--font-family-secondary);
    color: #B00020;
    font-weight: 600;
    margin: 0; */
}

.cart-final-price h3 {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    color: #1e1e1e;
    font-weight: 400;
    margin: 0;
    margin-top: 10px;
}

/* 
-----------------------------------
----------- Price Info Ends---------------
-----------------------------------
*/

/* 
-----------------------------------
----------- Right Cart Info--------------
-----------------------------------
*/




.cart-checkout-container {
    width: 30%;
    margin-right: 100px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.checkout-title h2 {
    font-family: var(--font-family-secondary);
    font-size: 20px;
    font-weight: 400;
    color: black;
    margin: 0;
    margin-bottom: 12px;
    text-align: center;
}

.cart-order-summary {
    background-color: #ededed;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 10px;
    /* margin-top: 100px; */
}

.cart-offer-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.cart-info {
    color: #051E52;
    font-family: var(--font-family-secondary);
    font-weight: 600;
    font-size: 13px;

}

.cart_price_amount {
    /* top: 5.1rem;
    right: 8rem;
    position: absolute; */
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 500;
    color: #051E52;

}


.offer-btn {
    font-family: var(--font-family-secondary);
    background-color: transparent;
    color: #1e1e1e;
    border: 0;
    font-weight: 400;
    font-size: 16px;
}

.offer-btn:hover {
    cursor: pointer;
}

.voucher-btn {
    color: #051E52;
}

.input-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.offer-title {
    font-size: var(--font-family-secondary);
    font-size: 14px;
    width: 80%;
    font-weight: 400;
    border: 1px solid var(--color-divider);
    background-color: #ffffff;
    color: #051E52;
    border-radius: 6px 0px 0px 6px;
    outline: none;
    padding-left: 20px;
    height: 40px;
}

.apply-btn {
    background-color: #051E52;
    color: #ffffff;
    font-family: var(--font-family-secondary);
    font-size: 14px;
    border: 0;
    border-radius: 0 6px 6px 0;
    padding: 0px 20px;
    height: 40px;
}

.cart-order-container {
    background-color: #F4F4F4;
    padding: 10px 20px;
}

.order-headline {
    font-size: 16px;
    font-weight: 600;
    color: #6B6A6A;
    margin: 0;
}

.cart-amount-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
}

.cart-amount-info h3,
.cart-amount-info h4 {
    font-family: var(--font-family-secondary);
    font-size: 15px;
    margin: 10px 0;
    font-weight: 500;
    color: #051E52;
}

.cart-amount-info input {
    width: 360px;
    height: 20px;
}

.tax-line {
    font-family: var(--font-family-secondary);
    font-size: 12px;
    color: #C2A68C;
}

.cart-totalamount-container {
    background-color: #dfdfdf;
    border-radius: 6px 6px 6px 6px;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}

.cart-totalamount-container h3 {
    font-family: var(--font-family-secondary);
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #051E52;
}

.cart-totalamount-container h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #051E52;
    font-family: var(--font-family-secondary);
    ;
}

.checkout-btn {
    background: #051E52;
    color: #f9f9ff;
    border: 0;
    width: 100%;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.2s;
    margin-top: 16px;
    /* margin-left:70px; */
    font-weight: 500;
}

.checkout-btn:hover {
    box-shadow: 0 20px 30px rgba(59, 110, 133, 0.2);
    transform: scale(1.05);
    cursor: pointer;
}

@media (max-width: 600px) {

    .cart-info {
        color: #051E52;
        font-family: var(--font-family-secondary);
        font-weight: 600;
        font-size: 10px;
    }

    .cartinfo-container {
        display: flex !important;
        flex-direction: column !important;
        /* Stack products vertically */
        align-items: stretch !important;
        /* Fill full width */
        width: 96vw !important;
        max-width: 99vw !important;
        margin: 40px auto 20px auto !important;
        /* spacing from top & bottom */
        border-radius: 10px !important;
        box-shadow: 0 2px 10px rgba(60, 60, 60, 0.09) !important;
        background: #efefef !important;
        padding: 20px !important;
        /* Added padding for comfortable spacing */
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .cart-image-container {
        margin: 0 auto !important;
        max-width: 100vw !important;
        text-align: center !important;
    }

    .cart-image-container img {
        max-width: 140px !important;
        height: 140px !important;
        object-fit: contain !important;
        border-radius: 6px !important;
        margin-bottom: 12px !important;
        /* margin-left: 50px !important; */
    }

    .cart-product-data {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Quantity and selectors */
    .cart-quantity-container,
    .qtySelector.text-center.cart-option-container {
        left: -13%;
        margin-left: 4 !important;
        /* Remove offset */
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;

    }

    .cart-selection-btn {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .qty-option-input {
        width: 32px !important;
        text-align: center !important;
        font-size: 1em !important;
        margin: 0 0 !important;
        border-radius: 4px !important;
        border: 1px solid #bbb !important;
    }

    .qty-left-btn,
    .qty-right-btn {
        background: #232326 !important;
        border: 1px solid #bbb !important;
        border-radius: 5px !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    .cart-final-price h4,
    .cart-final-price h3 {
        font-size: 13px !important;
        margin: 6px 0 !important;
    }
}



.tablet-close-container {
    display: none;
}

.tablet-final-price {
    display: none;
}

.textadd {
    position: absolute;
    top: 42%;
    left: 32%;
    color: #051E52;
}

@media only screen and (max-width:1200px) {
    .cart-page {
        flex-direction: column;
    }

    .left-container {
        width: 100%;
    }

    .cart-checkout-container {
        width: 95%;
    }

    .cart-quantity-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        margin: 0 !important;
        flex-wrap: wrap !important;
        margin-left: 320px !important;
    }

}


@media only screen and (max-width:1000px) {
    .cart-image-container {
        width: 31%;
    }

    .cart-quantity-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        margin: 0 !important;
        flex-wrap: wrap !important;
        margin-left: 320px !important;
        position: relative;
    }

}


@media only screen and (max-width: 900px) {
    .cartinfo-container {
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .textadd {
        position: absolute;
        left: 36%;
        color: #051E52;
        top: 124px;
    }

    .cart-product-quality {
        flex-direction: column;
        align-items: flex-start;
        height: fit-content;
        gap: 2px;
    }

    .cart-product-quality .border {
        width: 99%;
    }

    .cart-product-quality .cart-left-product {
        padding: 16px;
        gap: 10px;
    }

    .cart-image-container {
        width: 40%;
        margin: 0 auto;
    }

    .cart-final-price {
        margin-top: 10px;
    }

    .cart-selection-btn .qty-size-input {
        padding: 12px;
    }

    .cart-quantity-container {
        margin-left: 200 !important;
    }

}

@media only screen and (max-width: 740px) {
    .cartinfo-container {
        flex-direction: column;
        padding: 20px 20px;
    }

    .cartempty {
        font-size: 20px;
        color: black !important;
        background: #051e52;
        padding: 10px;
        border-radius: 5px;
    }

    .cart-product-quality .border {
        height: 58px;
    }

    .cart-image-container {
        width: 65%;
    }

    .cart-product-quality {
        flex-direction: row;
    }

    .cart-quantity-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        margin-left: 320px !important;
        flex-wrap: wrap !important;
    }


}

@media only screen and (max-width: 680px) {
    .cart-product-quality {
        flex-direction: column;
    }

    .cart-product-quality .border {
        width: 100%;
        height: 1px;
    }

    .cart-quantity-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        margin: 0 !important;
        flex-wrap: wrap !important;
        margin-left: 200 !important;
    }

}

@media only screen and (max-width: 500px) {

    .left-container {
        width: 100%;
    }

    .cart-title-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .cartinfo-container {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px;
        margin-top: 0;
    }

    .cart-image-container {
        width: 95%;
        padding: 0;
    }

    .cart-product-quality {
        flex-direction: column;
    }

    .cart-product-quality .border {
        width: 100%;
    }

    .cart-quantity-container {
        flex-direction: row;
        margin-left: -250px;
    }

    .cart-option-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-final-price h3,
    .product-code {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cart-amount-container h4,
    .cart-amount-container h3,
    .title h2,
    .cart-headline h2,
    .cart-final-price h4 {
        font-size: 16px;
    }

    .cart-amount-container {
        gap: 125px;
    }

    .cart-checkout-container {
        width: 100%;
    }

    .cart-final-price {
        margin-top: 10px;
    }

    .wrap-container {
        display: block;
    }
}