﻿
* {
    margin: 0;
    padding: 0;
}

:root {
    --theme-clr: #f70044;
}


.main {
    margin-top: 20px;
    width: 100%;
    border: 1px solid #dee2e6;
    padding: 5px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 40vw 1fr;
    /* grid-template-columns: max-content 1fr; */
    grid-gap: 1px;
}

.sec1, .sec2 {
    height: 70vh;
}

.sec1 {
    /* border: 1px solid red; */
}

.sec2 {
    /* border: 1px solid blue; */
}

.sec3 {
    /* border: 1px solid green;
    grid-column: 1/-1; */
}

.sec1_main {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 100px 1fr;
    grid-gap: 1px;
}

.sub_sec1 {
    position: relative;
}

.sub_sec2 {
}


.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



.sub_sec1_over {
    position: absolute;
    direction: rtl;
    width: 100px;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

    .sub_sec1_over span {
        padding: 5px;
        width: 83px;
        height: 83px;
    }

        .sub_sec1_over span img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

/* sec2 */

.sec2, #div_tbl_det {
    font-size: 1.7vh;
}

.sec2_sub1 {
    height: 100%;
    width: 100%;
    /* background: red; */
    position: relative;
}

.sec2_sub1_item2 {
    position: absolute;
    /* bottom: 0; */
    bottom: 23px;
    left: 0;
}

#div_ctrl2 select {
    width: 112px;
    height: 28px;
    border: 1px solid #bfbcba;
}

.btn-danger {
    background-color: var(--theme-clr);
}

.text-danger {
    color: var(--theme-clr);
}

/* sec2 e*/

/* Magnifire */
* {
    box-sizing: border-box;
}

.img-zoom-container {
    position: relative;
}

.img-zoom-lens {
    position: absolute;
    border: 0px solid #d4d4d4;
    /*set the size of the lens:*/
    width: 30px;
    height: 40px;
}

.img-zoom-result {
    border: 1px solid #d4d4d4;
    width: 513px;
    height: 72vh;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -514px;
    z-index: 0;
    opacity: 0.0;
}

.active .img-zoom-result {
    opacity: 1;
    -webkit-transform: scale(1);
    z-index: 99;
}

.active .img-zoom-lens {
    border: 1px solid #d4d4d4;
}
/* Magnifire e*/

/*facilities*/

row.n_arival_grp {
    height: 485px;
}

.row.div-facility {
    margin-top: 0px;
}

    .row.div-facility img {
        width: 54px
    }

/*facilities e*/

#id_rate {
    display: none;
}

.product-name {
    font-size: 2.4rem;
    /*font-size: 3.4vh;*/
    color: #333333;
}

.product-sku {
    font-size: 2.0rem;
    /*font-size: 2.97vh;*/
    color: #535665;
}

.product-rate {
    font-size: 25px;
}

.product-rate-inst {
    font-size: 16px;
}

.product-currency {
    font-size: 20px;
}

.tax-type {
    color: #4a4a4a;
    font-size: 14px;
}

.pincode-lbl {
    font-size: 12px;
}

.share-cart-wish {
    /*background-color: #efefef;*/
    padding: 4px 6px;
}

    .share-cart-wish a img:hover {
        cursor: pointer;
        /*background-color:lightgray;
        padding:2px;
        border-radius:50%;*/

    }

#tit_path a {
    color: #4A4A4A;
}
#tit_path a:hover {
    text-decoration:underline!important;
}

/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* .sec1,.sec2{ */
    .sec1 {
        height: 50vh;
    }
    /* .sec2{        
        height: fit-content;
    } */
    #div_ctrl2 select {
        width: 65px;
        height: 29px;
    }

    .sec2 {        
        margin-top: 15vw;
    }

    .main {
        border-bottom: 0;
    }

    /*buy now button*/
    .sec2_sub1_item2 {
        position: fixed;
        bottom: 0px;
        right: 0;
        z-index: 1200;
        background: white;
        padding: 0px 0px 0px 0px;
        border-top:1px solid var(--theme-clr);
    }

    #id_rate {
        display: inline-block;
        font-size: 25px;
        padding: 2px 11px 0px 0px;
        margin: 0px 0 0px 0px;
        color: var(--theme-clr)!important;
    }

    #div_ctrl2 .add-to-cart, #div_ctrl2 .select-qty {
        display: none;
    }

    #div_ctrl2 .a-buy-now {
        /*height: 34px;
        padding: 3px 12px 0px 10px;
        margin: 0 0 12px 0px;
        border: 1px solid;
        font-size: 18px;*/

        height: 44px;
        padding: 8px 12px 0px 10px;
        margin: -3px -13px 4px 0%;
        border: 1px solid;
        font-size: 18px;
        border-radius: 5px;
        width: 49% !important;
        float: right;
        box-sizing: border-box !important;
    }
    

    #div_ctrl2 .btn-danger {
        /*background: #ff3535;*/
    }

        #div_ctrl2 .btn-danger:hover {
            background: #bb2d3b;
        }

    .product-name {
        font-size: 3vh;
    }

    .product-sku {
        font-size: 2vh;
    }

    .product-rate {
        font-size: 1.6vh;
    }

    .product-currency {
        font-size: 1.7vh;
        font-weight: 100;
    }

    .pincode-lbl {
        font-size: 1.6vh;
    }

    .product-rate-inst {
        font-size: 1.5vh;
    }
}




/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .main {
        margin-top: 5px;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
    }

    /*.sec2_sub1_item2 {
        position: absolute;
        top: 0;
        left: 0;
    }*/

    .sec2_sub1_item1 {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
    }

    .active .img-zoom-result {
        opacity: 0;
        -webkit-transform: scale(0);
    }

    .active .img-zoom-lens {
        border: 0;
    }

    .img-zoom-result {
        display: none !important;
    }

    #tit_path {
        display: none;
    }

    .row.div-facility img {
        width: 36px;
    }

    .row.div-facility {
        margin-top: 0px;
    }
}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .sec1_main {
        grid-template-rows: 1fr 100px;
        grid-template-columns: 1fr;
    }

    .sub_sec1 {
        grid-row: 2/2;
    }

    .sub_sec1_over {
        width: 100%;
        height: 100px;
        overflow: auto;
        display: flex;
        flex-direction: row;
    }


        .sub_sec1_over span img {
            width: auto;
            height: 100%;
        }
}

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* // X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}
