/*
|--------------------------------------------------------------------------
| WRAPPER
|--------------------------------------------------------------------------
*/

.pv-wrapper{

    width:100%;

}

/* Compact professional product layout. */
.pv-wrapper{width:100%;max-width:none;margin:0;padding:12px}
.pv-top{grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);gap:22px;margin-bottom:22px}
.pv-gallery{grid-template-columns:68px minmax(0,1fr);gap:10px}
.pv-thumbs{gap:8px;max-height:470px;overflow:auto}
.pv-thumb{padding:4px;border-radius:8px}.pv-thumb img{width:58px;height:58px;object-fit:cover}
.pv-main-image-wrap{display:grid;place-items:center;max-width:470px;max-height:470px;margin:0 auto;background:#fff}
.pv-main-image{width:100%;height:auto;max-height:468px;object-fit:contain;transition:transform .35s ease}
.pv-main-image-wrap:hover .pv-main-image{transform:scale(1.045)}
.pv-meta{margin-bottom:9px}.pv-share-btn{padding:7px 12px;font-size:13px}
.pv-title{margin-bottom:12px;font-size:22px;line-height:1.28}
.pv-price-grid{gap:9px;margin-bottom:10px}.pv-sale-box,.pv-regular-box{padding:8px;border-width:1px}
.pv-sale-box strong,.pv-regular-box strong{font-size:23px}
.pv-save-tag{margin-bottom:14px;padding:7px 12px;font-size:13px}
.pv-cart-row{margin-bottom:10px}.pv-cart-row .qty{width:100px!important;height:42px}
.pv-action-row{gap:9px;margin-bottom:16px}.pv-add-cart,.pv-buy-now{height:46px}
.pv-trust-grid{gap:8px;margin:0 0 14px}.pv-trust-item{min-height:72px;padding:10px;border-radius:11px}
.pv-short-description{padding:14px;font-size:14px;line-height:1.55}
.pv-description{padding-top:18px}.pv-description h3{margin-bottom:10px;font-size:20px}
@media(max-width:991px) and (min-width:761px){
 .pv-top{grid-template-columns:minmax(0,.9fr) minmax(300px,1.1fr);gap:16px}
 .pv-main-image-wrap{max-width:420px;max-height:420px}.pv-main-image{max-height:418px}
}
@media(max-width:760px){
 .pv-wrapper{padding:7px}.pv-top{grid-template-columns:1fr;gap:14px;margin-bottom:16px}
 .pv-gallery{grid-template-columns:1fr}.pv-main-image-wrap{max-width:360px;max-height:360px}.pv-main-image{max-height:358px}
 .pv-thumbs{order:2;flex-direction:row;max-height:none}.pv-thumb img{width:54px;height:54px}
 .pv-title{font-size:19px}.pv-price-grid{grid-template-columns:1fr 1fr}
 .pv-sale-box strong,.pv-regular-box strong{font-size:19px}
 .pv-trust-grid{grid-template-columns:repeat(3,1fr)}
 .pv-trust-item{display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 5px}
 .pv-trust-item small{display:none}
}
@media(max-width:390px){
 .pv-main-image-wrap{max-width:310px;max-height:310px}.pv-main-image{max-height:308px}
 .pv-price-grid{grid-template-columns:1fr}.pv-trust-grid{grid-template-columns:1fr 1fr}
}

.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:10;

        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;

    }

}

/* Final compact overrides (kept last for predictable cascade). */
.pv-wrapper{width:100%;max-width:none;margin:0;padding:12px}.pv-top{grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);gap:22px;margin-bottom:22px}.pv-gallery{grid-template-columns:68px minmax(0,1fr);gap:10px}.pv-thumbs{gap:8px;max-height:470px;overflow:auto}.pv-thumb{padding:4px;border-radius:8px}.pv-thumb img{width:58px;height:58px;object-fit:cover}.pv-main-image-wrap{display:grid;place-items:center;max-width:470px;max-height:470px;margin:0 auto}.pv-main-image{width:100%;height:auto;max-height:468px;object-fit:contain;transition:transform .35s ease}.pv-main-image-wrap:hover .pv-main-image{transform:scale(1.045)}.pv-meta{margin-bottom:9px}.pv-share-btn{padding:7px 12px;font-size:13px}.pv-title{margin-bottom:12px;font-size:22px;line-height:1.28}.pv-price-grid{gap:9px;margin-bottom:10px}.pv-sale-box,.pv-regular-box{padding:8px;border-width:1px}.pv-sale-box strong,.pv-regular-box strong{font-size:23px}.pv-save-tag{margin-bottom:14px;padding:7px 12px;font-size:13px}.pv-cart-row{margin-bottom:10px}.pv-cart-row .qty{width:100px!important;height:42px}.pv-action-row{gap:9px;margin-bottom:16px}.pv-add-cart,.pv-buy-now{height:46px}.pv-trust-grid{gap:8px;margin:0 0 14px}.pv-trust-item{min-height:72px;padding:10px;border-radius:11px}.pv-short-description{padding:14px;font-size:14px;line-height:1.55}.pv-description{padding-top:18px}.pv-description h3{margin-bottom:10px;font-size:20px}
@media(max-width:991px) and (min-width:761px){.pv-top{grid-template-columns:minmax(0,.9fr) minmax(300px,1.1fr);gap:16px}.pv-main-image-wrap{max-width:420px;max-height:420px}.pv-main-image{max-height:418px}}
@media(max-width:760px){.pv-wrapper{padding:7px}.pv-top{grid-template-columns:1fr;gap:14px;margin-bottom:16px}.pv-gallery{grid-template-columns:1fr}.pv-main-image-wrap{max-width:360px;max-height:360px}.pv-main-image{max-height:358px}.pv-thumbs{order:2;flex-direction:row;max-height:none}.pv-thumb img{width:54px;height:54px}.pv-title{font-size:19px}.pv-price-grid{grid-template-columns:1fr 1fr}.pv-sale-box strong,.pv-regular-box strong{font-size:19px}.pv-trust-grid{grid-template-columns:repeat(3,1fr)}.pv-trust-item{display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 5px}.pv-trust-item small{display:none}}
@media(max-width:390px){.pv-main-image-wrap{max-width:310px;max-height:310px}.pv-main-image{max-height:308px}.pv-price-grid{grid-template-columns:1fr}.pv-trust-grid{grid-template-columns:1fr 1fr}}
