body .fotorama__wrap .fotorama__stage .fotorama__loaded--img img{max-height: initial !important}
[class^="icondetailV3-"], [class*="icondetailV3-"] {
    background-image: url(https://cdn.tgdd.vn/dmx2016/Content/images/productV3@1x.v202011021400.png);
    background-repeat: no-repeat;
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    vertical-align: middle;
}
.characteristics {
    display: block;
    overflow: hidden;
    position: relative;
}
.owl-detail .item {
    display: none;
}
.owl-detail .item:first-child {
    display: block;
}
.owl-detail .item img {
    display: block;
    height: auto;
    cursor: pointer;
    width: auto;
    
}
.yt {
    width: 60px !important;
    height: auto !important;
    position: absolute;
    top: 43%;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}
.clickside {
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% - 64px);
    background-color: transparent;
    cursor: pointer;
    width: 50px;
}
.clickside.left {
    right: unset;
    left: 0;
    height: calc(100% - 32px);
}
.countimg {
    display: block;
    color: #333;
    cursor: pointer;
    background: #f1f1f1;
    width: 100%;
    overflow: hidden;
}
.countimg span {
    display: inline-block;
    padding: 7px 0;
    float: left;
}
.countimg .count {
    width: 50px;
    text-align: center;
    padding: 7px 0;
    background: #ddd;
    float: right;
}
.countimg .btn {
    font-size: 14px;
    width: calc(100% - 50px);
    text-align: center;
    color: #288ad6;
    height: auto;
}
.icondetailV3-zoomfeature {
    background-position: -41px -77px;
    width: 20px;
    height: 18px;
    vertical-align: text-top;
    margin-right: 5px;
}
.btn .btnname {
    font-style: normal;
    text-transform: lowercase;
}
.colorandpic {
    display: block;
    /*overflow: hidden;*/
    position: relative;
    text-align: center;
    max-height: 100px;
    min-height: 61px;
    margin-top: 20px;
    padding: 0 24px;
}
.colorandpic ul {
    display: block;
    /*overflow: hidden;*/
    margin: auto;
    width: 100%;
    white-space: nowrap;
}
.colorandpic .owl-carousel {
    overflow: visible;
    border: none;
}
.colorandpic li {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    overflow: hidden;
    font-size: 12px;
    color: #333;
    line-height: normal;
    width: 90px;
    vertical-align: top;
    position: relative;
    white-space: normal;
    cursor: pointer;
}
.colorandpic li.gal.active {
    cursor: unset;
}
.colorandpic li div {
    display: block;
    width: 40px;
    /*height: 40px;*/
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    padding: 6px;
    background: #fff;
    margin: 0 auto 5px;
    line-height: 40px;
}
.colorandpic li.gal div {
    width: calc(100% - 10px);
    /*height: 46px;*/
    padding: 4px 2px;
    line-height: 45px;
}
.colorandpic li.gal.active div {
    border: 1px solid #fd8545;
}
.colorandpic li img {
    display: inline-block;
    /*width: 40px;
    height: 40px;*/
    margin: auto;
    border-radius: 4px;
    object-fit: cover;
    vertical-align: middle;
}
.colorandpic li.gal img.yt {
    top: 15px;
    width: 40px !important;
}
.colorandpic li.gal.active p {
    font-weight: bold;
}
.colorandpic li.gal img {
    width: 95%;
    height: auto;
    max-height: 47px;
    object-fit: contain;
}
.woocommerce #content div.product div.characteristics.images,
.woocommerce div.product div.characteristics.images,
.woocommerce-page #content div.product div.characteristics.images,
.woocommerce-page div.product div.characteristics.images {
    float: none;
    width: auto;
}
.fotorama--fullscreen {
    top: 66px !important;
    height: calc(100% - 66px) !important;
}
.productgallery-container {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100000;
    display: none;
}
.productgallery-container .productgallery-inside {
    width: 100%;
    max-width: 1230px;
    margin: 5px auto;
    min-height: 55px;
}
.productgallery-container .productgallery-inside .div-img {
    float: left;
    margin-right: 10px;
    display: inline-block;
}
.productgallery-container .productgallery-inside .pro-info {
    float: left;
    display: inline-block;
}
.productgallery-container .productgallery-inside .button-container {
    float: right;
    width: auto;
}
.productgallery-container .productgallery-inside .button-container .buy_now {
    display: inline-block;
    min-width: 140px;
    margin-right: 5px;
    padding: 10px 5px;
    border-radius: 4px;
    font-size: 16px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    background: #fd6e1d;
    background: -webkit-gradient(linear,0% 0%,0% 100%,from(#fd6e1d),to(#f59000));
    background: -webkit-linear-gradient(top,#f59000,#fd6e1d);
    background: -moz-linear-gradient(top,#f59000,#fd6e1d);
    background: -ms-linear-gradient(top,#f59000,#fd6e1d);
    background: -o-linear-gradient(top,#f59000,#fd6e1d);
    font-size: 12px;
    margin-top: 5px;
}
.productgallery-container .productgallery-inside .button-container .buy_now.repayment {
    background: #288ad6;
}
.productgallery-container .productgallery-inside .div-img img {
    display: block;
    width: 40px;
    height: auto;
}

.price-image{font-size: 16px;font-weight: 700;
    color: #d0021b;}
    .price-image ins{display: inline-block;float: left;
    margin-right: 10px;}
    .price-image del{    font-weight: normal;
    text-decoration: line-through;
    color: #333;
    font-size: 14px;
    display: inline-block;}
    .productgallery-container .productgallery-inside .pro-info h3{color: #333;
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1;}
    .product-tab{    background: #bf1600;height: 1px}
    .product-tab ul{text-align: center;margin: 0}
    .product-tab ul li{display: inline-block;}
    .product-tab ul li a{color: #fff;
    background: #bf1600;
    padding: 10px 20px;text-transform: uppercase;
    display: inline-block;}
.fotorama__wrap .fotorama__pointer {
    height: calc(100% - 75px) !important;
}

.fotorama__wrap {
    height: 100%;
}
@media(max-width:768px) {
.fotorama--fullscreen {
    top: 0px !important;
    height: calc(85% - 0px) !important;
}
.productgallery-container{bottom: 0;top:auto;}
.productgallery-container .productgallery-inside .button-container .buy_now{min-width: initial;}
.productgallery-container .productgallery-inside .button-container{display: flex;
clear: both;}
.productgallery-container .productgallery-inside .button-container .buy_now{padding: 10px 20px;}

}