/*
|--------------------------------------------------------------------------
| WRAPPER
|--------------------------------------------------------------------------
*/

.pv-wrapper{

    width:100%;

}

.pv-top{

    display:grid;

    grid-template-columns: 1.2fr 1fr;

    gap:30px;

    margin-bottom:30px;

}

/*
|--------------------------------------------------------------------------
| GALLERY
|--------------------------------------------------------------------------
*/

.pv-gallery{

    display:grid;

    grid-template-columns:90px 1fr;

    gap:15px;

}

.pv-thumbs{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.pv-thumb{

    border:1px solid #eee;

    background:#fff;

    cursor:pointer;

    border-radius:10px;

    padding:5px;

    transition:.25s;

}

.pv-thumb.active{

    border-color:#ff6b00;

}

.pv-thumb img{

    width:72px;
    height:72px;

    display:block;

}

.pv-main-image-wrap{

    background:#fff;

    border:1px solid #eee;

    border-radius:12px;

    overflow:hidden;

    cursor:zoom-in;

}

.pv-main-image{

    width:100%;

    display:block;

}

/*
|--------------------------------------------------------------------------
| INFO
|--------------------------------------------------------------------------
*/

.pv-info{

    display:flex;

    flex-direction:column;

}

.pv-meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

}

.pv-share-btn{

    border:none;

    cursor:pointer;

    background:#f4f4f4;

    padding:10px 16px;

    border-radius:50px;

}

.pv-title{

    font-size:24px;

    line-height:1.3;

    margin:0 0 20px;

}

/*
|--------------------------------------------------------------------------
| PRICE
|--------------------------------------------------------------------------
*/

.pv-price-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin-bottom:15px;

}

.pv-sale-box{

    border:2px solid #ff5a5a;

    padding:10px;

    border-radius:8px;

}

.pv-regular-box{

    border:2px solid #999;
    background:#f9f9f9;
    padding:10px;
    border-radius:8px;

}

.pv-sale-box span,
.pv-regular-box span{

    margin-bottom:6px;

}

.pv-sale-box strong{

    font-size:28px;

    color:#e53935;

}

.pv-regular-box strong{

    font-size:28px;

}

.pv-save-tag{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#f1f8f4;

    color:#27ae60;

    border:1px dashed #27ae60;

    border-radius:40px;

    padding:10px 18px;

    font-weight:600;

    width:max-content;

    margin-bottom:25px;

}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{

    display:none !important;

}
/*
|--------------------------------------------------------------------------
| CART
|--------------------------------------------------------------------------
*/

.pv-cart-row{

    margin-bottom:15px;

}

.pv-cart-row .qty{

    width:120px !important;

    height:48px;

}

.pv-action-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

    margin-bottom:25px;

}

.pv-add-cart{

    height:52px;

    border:1px solid #222;

    background:#fff;

    cursor:pointer;

    border-radius:6px;

    font-weight:600;

}
.pv-add-cart:hover{

    color: #fff;
    background:#111;
}

.pv-buy-now{

    height:52px;

    border:none;

    background:#ff8c00;

    color:#fff;

    cursor:pointer;

    border-radius:6px;

    font-weight:600;

}
.pv-buy-now:hover{

    color: #fff;
    background:#111;
}

.pv-add-cart:disabled,
.pv-buy-now:disabled{

    cursor:wait;

    opacity:.7;

}

.pv-sticky-action-row{

    display:none;

}

.pv-trust-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:10px;

    margin:-8px 0 20px;

}

.pv-trust-item{

    display:flex;

    flex-direction:column;

    gap:5px;

    min-height:86px;

    padding:13px 12px;

    border:1px solid #ececec;

    border-radius:16px;

    background:linear-gradient(180deg,#fff,#fafafa);

    box-shadow:0 8px 24px rgba(17,17,17,.05);

}

.pv-trust-item i{

    display:flex;

    align-items:center;

    justify-content:center;

    width:28px;

    height:28px;

    border-radius:50%;

    background:#111;

    color:#fff;

    font-size:13px;

}

.pv-trust-item span{

    color:#111;

    font-size:13px;

    font-weight:700;

}

.pv-trust-item small{

    color:#666;

    font-size:12px;

    line-height:1.35;

}
/*
|--------------------------------------------------------------------------
| SHORT DESCRIPTION
|--------------------------------------------------------------------------
*/

.pv-short-description{

    background:#fafafa;

    border:1px solid #eee;

    border-radius:12px;

    padding:20px;

}

.pv-short-description p:last-child{

    margin-bottom:0;

}

/*
|--------------------------------------------------------------------------
| DESCRIPTION
|--------------------------------------------------------------------------
*/

.pv-description{

    border-top:1px solid #ddd;

    padding-top:25px;

}

.pv-description h3{

    margin-bottom:15px;

    font-size:24px;

}

/*
|--------------------------------------------------------------------------
| POPUP
|--------------------------------------------------------------------------
*/

.pv-popup{

    position:fixed;

    inset:0;

    z-index:999999;

    display:none;

    align-items:center;

    justify-content:center;

    padding:20px;

}

.pv-popup.active{

    display:flex;

}

.pv-popup-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.88);

}

.pv-popup-inner{

    position:relative;

    z-index:2;

    max-width:1400px;

    width:100%;

}

.pv-popup-inner img{

    width:100%;

    display:block;

    max-height:90vh;

    object-fit:contain;

}

.pv-popup-close{

    position:absolute;

    right:-15px;

    top:-15px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    font-size:28px;

}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:991px){

    .pv-top{

        grid-template-columns:1fr;

    }

    .pv-gallery{

        grid-template-columns:70px 1fr;

    }

    .pv-title{

        font-size:22px;

    }

    .pv-price-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:767px){

    body{

        padding-bottom:150px;

    }

    .pv-gallery{

        grid-template-columns:1fr;

    }

    .pv-thumbs{

        flex-direction:row;

        overflow:auto;

    }

    .pv-action-row{

        grid-template-columns:1fr;

    }

    .pv-trust-grid{

        grid-template-columns:1fr;

        margin-top:0;

    }

    .pv-trust-item{

        min-height:auto;

        flex-direction:row;

        align-items:center;

        flex-wrap:wrap;

    }

    .pv-trust-item small{

        width:100%;

        padding-left:38px;

    }

    .pv-sticky-action-row{

        position:fixed;

        left:12px;

        right:12px;

        bottom:76px;

        z-index:99990;

        display:grid;

        grid-template-columns:1fr 1fr;

        gap:10px;

        margin:0;

        padding:10px;

        border:1px solid rgba(17,17,17,.08);

        border-radius:18px;

        background:rgba(255,255,255,.96);

        box-shadow:0 16px 45px rgba(0,0,0,.16);

        backdrop-filter:blur(12px);

    }

    .pv-sticky-action-row .pv-add-cart,
    .pv-sticky-action-row .pv-buy-now{

        height:46px;

        border-radius:14px;

        font-size:14px;

    }

    .pv-sale-box strong,
    .pv-regular-box strong{

        font-size:22px;

    }

}
