/*  */
[type="checkbox"]:checked + label:before, [type="checkbox"]:not(:checked) + label:before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #e1e1e1;
}
[type="checkbox"]:checked + label:after, [type="checkbox"]:not(:checked) + label:after{
    content: '';
    width: 18px;
    height: 18px;
    background: #d01f6f;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="checkbox"]:not(:checked) + label:after{
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.containerL {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.containerL input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 18px;
    width: 18px;
    border: 1px solid #eee;
}

/* On mouse-over, add a grey background color */
/* When the checkbox is checked, add a blue background */
.containerL input:checked ~ .checkmark {
    background-color: #d01f6f;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.containerL input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.containerL .checkmark:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*thai son*/
.popupPrto .fancybox-bg {
    background-color: #1e1e1e !important;
    opacity: .87 !important;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}


#popupProductDk{
    /*display: none;  thai son*/
    max-width: 910px;
    width: 100%;
    padding: 20px 30px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#popupProductDk .titlepop{
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
    line-height: 37px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Oswald';
}
#popupProductDk .titlepop.vline{
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333333;
}

#popupProductDk .numberPro{
    margin-bottom: 10px;
    text-align: center;
    font-size: 13px;
}
#popupProductDk .numberPro strong{
    line-height: 27px;
    font-size: 18px;
}
#popupProductDk .choseptoDk .topProductDk{
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}
#popupProductDk .topProductDk .leftChose{
    position: relative;
}
#popupProductDk .topProductDk .leftChose > a{
    font-size: 13px;
    line-height: 21px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding-right: 20px;
    color: #333333;
}
#popupProductDk .topProductDk .leftChose > a span{

    color: #999999;
}
#popupProductDk  .topProductDk .leftChose > a::before{
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #333333;
}
#popupProductDk .topProductDk .leftChose .popupChose{
    position: absolute;
    top: 39px;
    background-color: #fff;
    z-index: 12;
    padding-top: 10px;
    width: 100%;
    min-width: 140px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
}
#popupProductDk .topProductDk .leftChose.showpop .popupChose{
    opacity: 1;
    visibility: initial;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
#popupProductDk .topProductDk .leftChose .popupChose li{
    display: block;
}
#popupProductDk .topProductDk .leftChose .popupChose li a{
    padding: 5px 10px;
    display: block;
}
#popupProductDk .choseptoDk .topProductDk .rightChose button{
    padding: 6px 20px;
    color: #fff;
    background-color: #333333;
    border: none;
    text-transform: uppercase;
}
#popupProductDk .lstProductDk{
    padding: 30px 0 0;
    max-height: calc(100vh - 280px);
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
#popupProductDk .lstProductDk::-webkit-scrollbar{
    width: 10px;
    background-color: #ffffff;
}
#popupProductDk .lstProductDk::-webkit-scrollbar-thumb{
    background-color: #cccccc;
    border-radius: 10px;
}
#popupProductDk .lstProductDk .itemDk{
    width: 25%;
    padding: 0 15px;
    margin-bottom: 20px;
}
#popupProductDk .lstProductDk .itemDk .thumb{
    height: 0;
    background-color: #f6f6f6;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
#popupProductDk .lstProductDk .itemDk .thumb img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
}
#popupProductDk .lstProductDk .itemDk .decs{
    padding-bottom: 50px;
    position: relative;
}

#popupProductDk .lstProductDk .itemDk .containerL{
    font-size: 14px;
    /* text-transform: uppercase; */
    font-weight: 400;
    padding-left: 30px;
}
#popupProductDk .lstProductDk .itemDk .priceDk{
    color: #d01f6f;
    padding-left: 30px;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk{
    display: flex;
    justify-content: center;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;

    width: 100%;
}
#popupProductDk .lstProductDk .itemDk .decs.show .gripChoseDk{
    opacity: 1;
    visibility: initial;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk{
    width:  calc(100% - 60px);
    padding-right: 5px;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk1{
    width: 85px;
    padding: 0 5px;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk1 a,
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk1 button{
    display: flex;
    align-items: center;
    align-content: center;
    text-align: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    line-height: 22px;
    padding: 10px 5px 8px;
    border: none;
    background-color: #d01f6f;
    color: #fff;
    text-transform: uppercase;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk1 a:hover,
#popupProductDk .lstProductDk .itemDk .gripChoseDk .selectDk1 button:hover{
    background-color: #333333;
}
#popupProductDk .lstProductDk .itemDk .gripChoseDk select{
    width: 100%;
    height: 40px;
    padding: 0 22px 0 10px;
    border: 1px solid #000000;
}
#popupProductDk .checkmark{
    top: 4px;
    transform: initial;
}
#popupProductDk .fancybox-close-small{
    background-color: #333333;
    border-radius: 100%;
    color: #fff;
    opacity: 1;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    padding: 4px;
}
@media screen and (max-width: 991px) {

    #popupProductDk .lstProductDk{
        margin: 0 -10px;
    }
    #popupProductDk .lstProductDk .itemDk{
        width: 33.3333%;
        padding: 0 10px;
    }
}
@media screen and (max-width: 767px) {

    /*  */
    #popupProductDk{
        height: 100vh;
        padding: 20px 10px;
        padding-top: 30px;
    }
    .fancybox-slide--html{
        padding: 0;
    }
    #popupProductDk .lstProductDk{
        max-height: calc(100vh - 190px);
    }
    #popupProductDk .lstProductDk::-webkit-scrollbar{
        width: 0px;
        background-color: #ffffff;
    }
    #popupProductDk .lstProductDk::-webkit-scrollbar-thumb{
        background-color: #cccccc;
        border-radius: 10px;
    }
    #popupProductDk .fancybox-close-small{
        width: 20px;
        height: 20px;
        padding: 2px;
    }
    #popupProductDk .lstProductDk .itemDk{
        width: 50%;
    }

}