/* Muebles Peniel - ficha de producto */
.mp-product-page{
    width:min(1240px, calc(100% - 40px));
    margin:42px auto 70px;
    color:#182233;
}
.mp-product-main{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
    gap:58px;
    align-items:start;
}
.mp-gallery{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    gap:16px;
    align-items:start;
}
.mp-thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.mp-thumb{
    border:1px solid #e5e7eb;
    background:#fff;
    padding:5px;
    border-radius:8px;
    cursor:pointer;
    aspect-ratio:1/1;
    overflow:hidden;
    transition:.2s ease;
}
.mp-thumb:hover,.mp-thumb.is-active{
    border-color:#ff6f00;
    box-shadow:0 0 0 2px rgba(255,111,0,.12);
}
.mp-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:4px;
}
.mp-main-image-wrap{
    position:relative;
    background:#f7f7f7;
    border-radius:10px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:440px;
}
.mp-main-image{
    display:block;
    width:100%;
    max-height:570px;
    object-fit:contain;
    mix-blend-mode:multiply;
}
.mp-lightbox-open{
    position:absolute;
    right:15px;
    bottom:15px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
    cursor:pointer;
    font-size:22px;
}
.mp-product-info{
    padding:15px 0 0;
}
.mp-eyebrow{
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    color:#ff6f00;
    margin-bottom:12px;
}
.mp-title{
    margin:0 0 18px !important;
    font-size:clamp(32px,4vw,48px) !important;
    line-height:1.08 !important;
    font-weight:700 !important;
}
.mp-category{
    font-size:14px;
    color:#687182;
    padding-bottom:22px;
    border-bottom:1px solid #e7e9ed;
}
.mp-category span{
    text-transform:uppercase;
    font-weight:700;
    color:#182233;
    margin-right:5px;
}
.mp-short-description{
    margin:25px 0;
    font-size:16px;
    line-height:1.8;
    color:#4c5666;
}
.mp-short-description p:last-child{margin-bottom:0}
.mp-price{
    font-size:28px;
    font-weight:700;
    margin:22px 0;
}
.mp-cart .quantity{margin-right:8px}
.mp-cart .single_add_to_cart_button{
    min-height:48px;
    border-radius:7px !important;
    background:#182233 !important;
}
.mp-whatsapp{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    box-sizing:border-box;
    padding:15px 20px;
    margin-top:14px;
    border-radius:7px;
    background:#20b858;
    color:#fff !important;
    text-decoration:none !important;
    font-weight:700;
    transition:.2s ease;
}
.mp-whatsapp:hover{
    transform:translateY(-2px);
    filter:brightness(.96);
}
.mp-wa-icon{
    font-size:22px;
    line-height:1;
}
.mp-features{
    margin-top:26px;
    padding-top:20px;
    border-top:1px solid #e7e9ed;
    display:grid;
    gap:12px;
}
.mp-features div{
    display:flex;
    align-items:center;
    gap:11px;
    color:#596273;
    font-size:14px;
}
.mp-features strong{
    color:#ff6f00;
    font-size:17px;
}
.mp-description-section,
.mp-related-section{
    margin-top:75px;
    padding-top:42px;
    border-top:1px solid #e7e9ed;
}
.mp-section-heading span{
    color:#ff6f00;
    font-size:11px;
    font-weight:800;
    letter-spacing:2px;
}
.mp-section-heading h2{
    margin:7px 0 8px !important;
    font-size:30px !important;
    line-height:1.2 !important;
}
.mp-section-heading p{
    color:#70798a;
    margin:0 0 28px;
}
.mp-description-content{
    max-width:900px;
    color:#515b6c;
    font-size:16px;
    line-height:1.85;
}
.mp-related-products ul.products{
    margin-top:28px !important;
    margin-bottom:0 !important;
}
.mp-related-products ul.products li.product{
    margin-bottom:0 !important;
}
.mp-related-products ul.products li.product a img{
    border-radius:8px;
}
.mp-related-products ul.products li.product .woocommerce-loop-product__title{
    font-size:17px !important;
}
.mp-related-products ul.products li.product .price{
    font-size:16px;
    font-weight:700;
}
.mp-lightbox{
    position:fixed;
    inset:0;
    background:rgba(10,14,20,.92);
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:50px;
}
.mp-lightbox.is-open{display:flex}
.mp-lightbox-image{
    max-width:min(1100px,90vw);
    max-height:88vh;
    object-fit:contain;
}
.mp-lightbox-close,
.mp-lightbox-prev,
.mp-lightbox-next{
    position:absolute;
    border:0;
    background:rgba(255,255,255,.12);
    color:#fff;
    cursor:pointer;
    border-radius:50%;
}
.mp-lightbox-close{
    top:18px;
    right:22px;
    width:44px;
    height:44px;
    font-size:32px;
}
.mp-lightbox-prev,.mp-lightbox-next{
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    font-size:40px;
    line-height:1;
}
.mp-lightbox-prev{left:25px}
.mp-lightbox-next{right:25px}
@media (max-width:900px){
    .mp-product-main{
        grid-template-columns:1fr;
        gap:32px;
    }
    .mp-main-image-wrap{min-height:350px}
    .mp-product-info{padding-top:0}
}
@media (max-width:600px){
    .mp-product-page{
        width:min(100% - 24px, 1240px);
        margin-top:25px;
        margin-bottom:45px;
    }
    .mp-gallery{
        display:flex;
        flex-direction:column-reverse;
        gap:12px;
    }
    .mp-thumbs{
        flex-direction:row;
        overflow-x:auto;
        width:100%;
        padding-bottom:3px;
    }
    .mp-thumb{
        flex:0 0 68px;
        width:68px;
        height:68px;
    }
    .mp-main-image-wrap{
        width:100%;
        min-height:290px;
    }
    .mp-main-image{
        max-height:390px;
    }
    .mp-title{
        font-size:32px !important;
    }
    .mp-description-section,.mp-related-section{
        margin-top:50px;
        padding-top:32px;
    }
    .mp-section-heading h2{
        font-size:25px !important;
    }
    .mp-lightbox{
        padding:25px;
    }
    .mp-lightbox-prev{left:8px}
    .mp-lightbox-next{right:8px}
}
