.thnew-popup{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
}

.thnew-popup-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(4px);
}

.thnew-popup-wrapper{
    position: relative;
    width: min(96%, 900px);
    margin: 2vh auto;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
   /* height: 521px;
    overflow-y: auto;*/
}

.thnew-popup-close {
    position: absolute;
    top: 2px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 36px;
    z-index: 9;
    color: #222;
    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
        outline: 0;
}

.thnew-popup-close:hover {
    color: red;
}

.thnew-popup-close:active {
    transform: scale(0.96);
}

/*=============================
LAYOUT
=============================*/

.thnew-qv-grid{
    display:flex;
    gap: 2%;
    height: 521px!important;
}
.thnew-qv-left{
    max-width: 720px;
    width: 100%;
    position: sticky;
    top: 9px;
    width: 49%;
}

.thnew-qv-right{
    min-width: 0;
   padding: 12px 12px 0 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 49%;
    overflow-y: auto;
    height: 100%;
}
.thnew-qv-left,
.thnew-popup-content,
.thnew-qv-grid,
.thnew-qv-left div,
.thnew-qv-left ul,
.thnew-qv-left li,
.thnew-qv-left li img{
    height: 100%;
}
/*=============================
GALLERY
=============================*/

/*.thnew-qv-gallery-wrap{
    position:sticky;
    top:0;
}*/

.thnew-qv-gallery{
    overflow:hidden;
/*    border:1px solid #d9d9d9;*/
    background:#fff;
/*    padding: 9px;*/
}

.thnew-qv-gallery .slides{
    margin:0;
    padding:0;
    list-style:none;
}

.thnew-qv-gallery li{
    margin:0;
}

.thnew-qv-gallery img{
    width:100%;
    display:block;
    object-fit:cover;
    background: #FCFCFC;
}

.thnew-qv-gallery .flex-direction-nav a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:1;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

.thnew-qv-gallery .flex-direction-nav .flex-prev{
    left:18px;
}

.thnew-qv-gallery .flex-direction-nav .flex-next{
    right:18px;
}

.thnew-qv-gallery .flex-direction-nav a::before{
    font-size:18px;
    color:#111;
}

/*=============================
THUMBS
=============================*/

.thnew-qv-thumbs{
    overflow:hidden;
}

.thnew-qv-thumbs .slides{
    display:flex;
    gap:14px;
    margin:0;
    padding:0;
    list-style:none;
}

.thnew-qv-thumbs li{
    cursor:pointer;
    border:2px solid transparent;
    border-radius:14px;
    overflow:hidden;
    transition:.2s;
}

.thnew-qv-thumbs .flex-active-slide{
    border-color:#5b44ff;
}

.thnew-qv-thumbs img{
    width:100%;
    display:block;
}

/*=============================
SUMMARY
=============================*/

.thnew-qv-title{
    font-size: 27px;
    line-height: 1.148148148148148em;
    font-weight: 500;
    letter-spacing: 0em;
    margin-bottom: 9px;
}

.thnew-qv-title a{
    color:inherit!important;
    text-decoration:none;
}

/*.thnew-qv-rating{
    margin-bottom: 0;
}

.thnew-qv-price{
    margin-bottom: 0;
}*/

.thnew-qv-rating{
   margin-bottom: 29px;
    margin-top: 0;
}
.thnew-qv-rating .woocommerce-product-rating{
    display: flex;
    align-items: center;
}
.thnew-qv-rating .woocommerce-product-rating .star-rating{
    margin: 0;
    color: #111;
    font-size: 14px;
}
.thnew-qv-rating .woocommerce-review-link{
    color: #7c7c7c;
    font-size: 14px;
    top: 0;
    line-height: 1em;
}
.thnew-qv-price{
    font-size: 21px;
    font-weight: 700;
    line-height: 27px;
   padding-bottom: 18px;
}
.thnew-qv-price del {
    margin-left: auto;
    color: #9ca3af;
    font-weight: 500;
}

.thnew-qv-description{
    line-height:1.8;
    color:#555;
}

/*=============================
VARIATIONS
=============================*/
.thnew-qv-variation-wrap th.label{
    max-width: 145px;
    padding: 0;
    border: 0;
}
.thnew-qv-variation-wrap .label label{
    border: 0;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.thnew-qv-variation-wrap table{
    width:100%;
    margin:0;
    border:none;
    margin-top: 9px;
}
.thnew-qv-variation-wrap tr{
    display: flex;
    margin-bottom: 12px;
}

.thnew-qv-variation-wrap td{
    display:block;
    padding:0;
    border:none;
    padding-left: 12px;
    position: relative;
}

.thnew-qv-variation-wrap label{
    display:block;
    margin-bottom: 0;
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.thnew-qv-variation-wrap select{
    width:100%;
    height:54px;
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:0 16px;
    background:#fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 40px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 21px center;
    background-size: 12px;
     padding-right: 30px !important;
}

.thnew-qv-variation-wrap .reset_variations{
    position: absolute;
    right: 0;
    top: 0;
    right: -39px;
    margin: 0 !important;
}

/* IMPORTANT */

.thnew-qv-variation-wrap .single_variation_wrap{
    display:none!important;
}

/*=============================
CUSTOM CART
=============================*/

.thnew-qv-custom-cart{
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:34px;
}

.thnew-qv-qty-wrap{
    display:flex;
    align-items:center;
    width: 90px;
    height: 48px;
    border:1px solid #ddd;
    border-radius: 5px;
    overflow:hidden;
    flex-shrink:0;
    padding: 0 9px;
}

.thnew-qv-minus,
.thnew-qv-plus{
    width:46px;
    height:56px;
    border:none;
    background:none;
    cursor:pointer;
    font-size:20px;
    color: #7c7c7c;
}
.thnew-qv-minus:hover,
.thnew-qv-plus:hover{
    color: #111;
}
.custom-th-qty{
    width:100%;
    height:56px;
    border:none;
    background:none;
    text-align:center;
    font-size:16px;
    font-weight:600;
}

.custom-th-qty:focus{
    outline:none;
}

.thnew-qv-add-to-cart{
    flex: 1;
    border: none;
    background: #060b1f;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: .2s;
    padding: 9px;
    height: 48px;
    border-radius: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.thnew-qv-add-to-cart:hover{
    opacity:.92;
}

.thnew-qv-add-to-cart.loading,
.thnew-qv-add-to-cart.disabled{
    opacity:.5;
    pointer-events:none;
}

/* Hide icon while loading */
#th-custom-add-to-cart.loading svg {
    display: none;
}

/* Loader */
#th-custom-add-to-cart.loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: thSpin 0.8s linear infinite;
}

/* Optional text change */
#th-custom-add-to-cart.loading .text {
    margin-left: 4px;
}

@keyframes thSpin {
    to {
        transform: rotate(360deg);
    }
}
.thnew-qv-right .added_to_cart.wc-forward{
    display: none;
}
/*=============================
HOOKS
=============================*/

.thnew-qv-before-cart,
.thnew-qv-after-cart{
    margin-top:24px;
}

/*=============================
META
=============================*/

.thnew-qv-meta{
    padding: 0;
}
.thnew-qv-meta .product_meta{
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    font-size: 16px;
    line-height: 29px;
}
.thnew-qv-meta .product_meta *{
    font-size: inherit;
    line-height: inherit;
}

/*=============================
LOADER
=============================*/

.thnew-qv-loader{
    width:58px;
    height:58px;
    border:4px solid #eee;
    border-top-color:#111;
    border-radius:50%;
    margin:120px auto;
    animation:thnewSpin .7s linear infinite;
}

@keyframes thnewSpin{
    to{
        transform:rotate(360deg);
    }
}

/*=============================
quantity
=============================*/
.thnew-qv-sr{
    display: flex;
    justify-content: space-between;
}

/* Target Chrome, Safari, Edge, and Opera */
.thnew-qv-qty-wrap input::-webkit-outer-spin-button,
.thnew-qv-qty-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Target Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/*=============================
RESPONSIVE
=============================*/


@media(max-width:767px){

    .thnew-qv-custom-cart{
        flex-direction:column;
        align-items:stretch;
    }

    .thnew-qv-qty-wrap{
        width:100%;
    }
}



/*=====================================
FLEXSLIDER ARROWS
=====================================*/
.thnew-qv-gallery,.thnew-qv-thumbs{
    position: relative;
}
.thnew-qv-gallery-wrap .flex-direction-nav{
    margin:0;
    padding:0;
    list-style:none;
}

.thnew-qv-gallery-wrap .flex-direction-nav a{

    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:25px;
    height:25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#fff;

    box-shadow: 0 6px 20px rgba(0,0,0,.12);


    z-index:10;

    text-decoration:none;

    transition:.25s ease;
    font-size: 0;
    opacity: 0;
}
.thnew-qv-gallery-wrap:hover .flex-direction-nav a,
.thnew-qv-thumbs:hover .flex-direction-nav a{
    opacity: 1!important;
}
/* LEFT */
.thnew-qv-gallery-wrap .flex-direction-nav .flex-prev{
    left:9px;
}

/* RIGHT */
.thnew-qv-gallery-wrap .flex-direction-nav .flex-next{
    right:9px;
}

/* HOVER */
.thnew-qv-gallery-wrap .flex-direction-nav a:hover{
    transform:translateY(-50%) scale(1.05);
}

/* REMOVE DEFAULT FLEX ICON */
.thnew-qv-gallery-wrap .flex-direction-nav a::before{
    display:none;
}

/* CUSTOM LEFT ICON */
.thnew-qv-gallery-wrap .flex-prev::after,
.thnew-qv-gallery-wrap .flex-next::after{
    content:'‹';
    font-size: 21px;
    line-height: 1;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* CUSTOM RIGHT ICON */
.thnew-qv-gallery-wrap .flex-next::after{
    content:'›';
}

/* DISABLED */
.thnew-qv-gallery-wrap .flex-disabled{
    opacity:.4 !important;
    pointer-events:none;
}

.thnew-cart-wrapper {
   border-radius: 9px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: sticky;
    bottom: 0;
    z-index: 99;
    padding: 0px 5px;
    /*background: #f5f5f5;
    border-bottom: 1px solid #F3F4F6;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgb(120 120 120 / 12%);
    */
    margin-top: auto;
    background: #FFF;
    padding-bottom: 9px;
}
.thnew-qv-grid.style-1 .thnew-qv-label{
    display: none;
}

/* scroll bar css */

.thnew-qv-description::-webkit-scrollbar,
.thnew-qv-right::-webkit-scrollbar,
.thnew-popup-wrapper::-webkit-scrollbar {
    display: none!important;
    width: 0;
    height: 0;
}


/*=====================================
SKELETON LOADER
=====================================*/

.thnew-qv-skeleton{
    pointer-events:none;
}

.shimmer{
    position:relative;
    overflow:hidden;
    background:#f1f1f1;
}

.shimmer::before{

    content:'';

    position:absolute;
    top:0;
    left:-150px;

    width:120px;
    height:100%;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0),
            rgba(255,255,255,.7),
            rgba(255,255,255,0)
        );

    animation:
        thnewShimmer 1.2s infinite;
}

@keyframes thnewShimmer{

    100%{
        left:120%;
    }
}

/* LEFT */

.thnew-sk-image{

    width:100%;
    aspect-ratio:1/1.15;

    border-radius:0;

    margin-bottom:18px;
}

.thnew-sk-thumbs{
    display:flex;
    gap:14px;
}

.thnew-sk-thumbs span{

    width:120px;
    height:120px;

    border-radius:0;

    display:block;
}

/* RIGHT */

.thnew-sk-meta{

    width:140px;
    height:14px;

    border-radius:0;

    margin-bottom:18px;
}

.thnew-sk-title{

    width:78%;
    height:62px;

    border-radius:0;

    margin-bottom:24px;
}

.thnew-sk-price{

    width:180px;
    height:42px;

    border-radius:0;

    margin-bottom:28px;
}

.thnew-sk-variation{

    width:100%;
    height:56px;

    border-radius:0;

    margin-bottom:18px;
}

.thnew-sk-desc{

    width:100%;
    height:18px;

    border-radius:0;

    margin-bottom:12px;
}

.thnew-sk-desc.small{
    width:72%;
}

.thnew-sk-cart{

    display:flex;
    gap:18px;

    margin-top:40px;
}

.thnew-sk-qty{

    width:150px;
    height:58px;

    border-radius:0;
}

.thnew-sk-button{

    flex:1;
    height:58px;

    border-radius:5px;
}

/* MOBILE */

@media(max-width:767px){

    .thnew-sk-thumbs span{

        width:80px;
        height:80px;
    }

    .thnew-sk-title{
        height:42px;
    }
}

.thnew-read-more{

    margin-top:12px;

    border:none;
    background:none;

    padding:0;

    color:#111;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    outline: 0;
}
.thnew-read-more:focus{
    outline: 0;
}


.thnew-qv-add-to-cart svg{
    width: 16px;
}

.thnew-qv-categories {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #7c7c7c;
    padding: 12px 0 5px 0;
    display: inline-flex;
}

.thnew-qv-categories a{
    color: inherit!important;
}
.thnew-qv-stock.out-of-stock{
    font-size: 15px;
    line-height: 1.333333333333333em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 16px;
}
.thnew-qv-stock .in-stock{
    color: green;
}
.thnew-qv-stock .out-of-stock{
    color: #a93232;
}
.thnew-qv-meta-label{
    color: #111;
    margin-right: 5px;
}
.thnew-qv-tags,
.thnew-qv-sku,
.thnew-qv-stock{
    display: flex;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    font-style: normal;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #7c7c7c;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 9px;
}
.thnew-qv-tags a,
.thnew-qv-sku a{
    color: inherit;
}
.thnew-qv-right .social-share{
    display: flex;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 9px;
}
.thnew-qv-right .social-share h3{
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    font-style: normal;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.thnew-qv-right .social-share li{
    margin-right: 9px;
}
.thnew-qv-right .social-share li{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.thnew-qv-right .social-share svg{
    width: 16px !important;
    height: 16px !important;
    fill: #111;
}
.thnew-qv-right .social-share ul{
    margin: 0 0 0 9px;
}
.thnew-qv-right .social-share span{
    font-size: 16px;
}
.thnew-qv-right .copy-product-link{
    display: inline-flex;
}
.thnew-qv-compare a{
    padding: 0!important;
    margin: 0!important;
}

/*=====================================
ACCORDION
=====================================*/

.thnew-qv-accordion{
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 18px;
    cursor: pointer;
}

/* TITLE */

.thnew-qv-accordion-title{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    outline: 0;
    padding: 9px 0;
}

.thnew-qv-accordion-title span:first-child{
   font-size: 16px;
    line-height: 1.25em;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none !important;
    color: #111;
    width: 100%;
    padding-right: 20px;
}

/* ICON */

.thnew-qv-accordion-icon{
    color:#111;
    font-size: 18px;
    line-height:1;
    transition: transform .25s ease;
    padding-right: 18px;
}



/* CONTENT */

.thnew-qv-accordion-content{

    display:none;

    padding:
        0 0 26px;
}
.thnew-qv-accordion.th-qv-short .thnew-qv-accordion-content{
    display: block;
}

.thnew-qv-accordion-content p{
    font-size: 15px;
    line-height: 27px;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    text-decoration: none !important;
    color: #7c7c7c;
}


/*=====================================
FLEX DOTS
=====================================*/

.thnew-qv-gallery-wrap .flex-control-nav{

    position:absolute;

    left:50%;
    bottom:18px;

    transform:translateX(-50%);

    z-index:12;

    display:flex;
    align-items:center;
    gap:8px;

    margin:0;
    padding:0;

    list-style:none;
}

.thnew-qv-gallery-wrap .flex-control-nav li{
    margin:0;
}

.thnew-qv-gallery-wrap .flex-control-paging li a{

    width:7px;
    height:7px;

    display:block;

    border-radius:50%;

    background:
        rgba(255,255,255,.55);

    box-shadow:
        0 2px 8px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        background .25s ease;

    font-size:0;

    cursor:pointer;
}

.thnew-qv-gallery-wrap .flex-control-paging li a:hover{

    transform:scale(1.15);

    background:#fff;
}

.thnew-qv-gallery-wrap .flex-control-paging li a.flex-active{

    background:#979797;

    transform:scale(.7);
}