/*==================================================
    PRODUCT HERO
==================================================*/
.mx-sp-hero{
    padding:60px 0;
}
.mx-sp-hero-wrapper{
    display:grid;
    grid-template-columns:55% 45%;
    gap:60px;
    align-items:flex-start;
}
/*==================================================
    PRODUCT GALLERY
==================================================*/
.mx-sp-gallery{
    position:sticky;
    top:110px;
}
.mx-sp-gallery-wrapper{
    display:flex;
    gap:20px;
}
/*==================================================
    PRODUCT THUMBNAILS
==================================================*/
.mx-sp-thumbnails{
    width:90px;
    display:flex;
    flex-direction:column;
    gap:15px;
}
.mx-sp-thumb{
    width:90px;
    height:90px;
    border:1px solid #e5e5e5;
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s;
    background:#fff;
}
.mx-sp-thumb.active{
    border:2px solid #ffd700;
}
.mx-sp-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
/*==================================================
    MAIN IMAGE
==================================================*/
.mx-sp-main-image{
    flex:1;
    height:650px;
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:24px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.mx-sp-main-image img{
    width:75%;
    height:75%;
    object-fit:contain;
}
/*==================================================
    PRODUCT SUMMARY
==================================================*/
.mx-sp-summary{
    min-height:650px;
}
/*==================================================
    PRODUCT BREADCRUMB
==================================================*/
.mx-sp-breadcrumb{
    margin-bottom:20px;
    font-size:14px;
}
.mx-sp-breadcrumb a{
    color:#777;
    text-decoration:none;
}
.mx-sp-breadcrumb span{
    color:#999;
}
/*==================================================
    PRODUCT TITLE
==================================================*/
.mx-sp-title{
    font-size:38px;
    line-height:1.35;
    font-weight:800;
    color:#111;
    margin-bottom:20px;
}
/*==================================================
    PRODUCT RATING
==================================================*/
.mx-sp-rating{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:24px;
}
.mx-sp-rating .star-rating{
    color:#ffd700;
}
.mx-sp-review-count{
    color:#666;
    font-size:15px;
}
/*==================================================
    PRODUCT PRICE
==================================================*/
.mx-sp-price-wrapper{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:12px;
}
.mx-sp-price{
    font-size:42px;
    font-weight:800;
    color:#111;
}
.mx-sp-price del{
    color:#999;
    margin-right:10px;
}
.mx-sp-price ins{
    text-decoration:none;
}
.mx-sp-discount{
    background:#0aa34f;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;

}
.mx-sp-save-price{
    color:#0aa34f;
    font-size:18px;
    margin-bottom:18px;
}
/*=================================================
    STOCK
==================================================*/
.mx-sp-stock{
    margin-bottom:22px;
}
.mx-sp-stock p{
    color:#0aa34f;
    font-weight:700;
    margin:0;
}
/*==================================================
    SHORT DESCRIPTION
==================================================*/
.mx-sp-short-description{
    color:#555;
    font-size:16px;
    line-height:1.9;
    margin-bottom:35px;
}

/*==================================================
    PRODUCT VARIATIONS
==================================================*/
.mx-sp-variations{
    margin:30px 0;
}
.variations{
    width:100%;
    border:none;
}
.variations tr{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}
.variations td,
.variations th{
    border:none;
    padding:0;
}
.variations label{
    font-size:15px;
    font-weight:700;
    margin-bottom:10px;
    display:block;
}
.variations select{
    width:100%;
    height:52px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 16px;
    outline:none;
    cursor:pointer;
}
/*==================================================
    PRODUCT ACTIONS
==================================================*/
.mx-sp-actions{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:30px;
}
/* WooCommerce Cart Form */
.mx-sp-actions form.cart{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin:0;
}
/* Quantity */
.mx-sp-actions .quantity{
    margin:0;
}
.mx-sp-actions .qty{
    width:90px;
    height:54px;
    border:1px solid #dcdcdc;
    border-radius:12px;
    text-align:center;
    font-size:16px;
    font-weight:600;
    outline:none;
}
/* Add To Cart */
.mx-sp-actions .single_add_to_cart_button{
    flex:1;
    height:54px;
    border:none;
    border-radius:12px;
    background:#0b8f42!important;
    color:#fff;
    font-size:16px;
    font-weight:700;
    transition:.3s;
}
.mx-sp-actions .single_add_to_cart_button:hover{
    background:#087536;
}
/* Buy Now */
.mx-sp-buy-now-btn{
    width:100%;
    height:54px;
    border-radius:12px;
    background:#ffd400;
    color:#111;
    font-size:16px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.3s;
}
.mx-sp-buy-now-btn:hover{
    background:#f4ca00;
    color:#111;
}
/*==================================================
    PRODUCT ACTIONS RESPONSIVE
==================================================*/
@media(max-width:767px){
    .mx-sp-actions form.cart{
        flex-direction:column;
        align-items:stretch;
    }
    .mx-sp-actions .quantity{
        width:100%;
    }
    .mx-sp-actions .qty{
        width:100%;
    }
    .mx-sp-actions .single_add_to_cart_button{
        width:100%;
    }
}
/*==================================================
    DELIVERY
==================================================*/
.mx-sp-delivery{
    margin-top:35px;
    border-top:1px solid #eee;
    padding-top:25px;
}
.mx-sp-delivery-item{
    display:flex;
    gap:16px;
    margin-bottom:18px;
    align-items:flex-start;
}
.mx-sp-delivery-item i{
    font-size:22px;
    color:var(--mx-primary);
}
.mx-sp-delivery-item strong{
    display:block;
    margin-bottom:4px;
}
.mx-sp-delivery-item span{
    color:#666;
    font-size:14px;
}

/*==================================================
    HERO RESPONSIVE
==================================================*/
@media (max-width:991px){
    .mx-sp-hero-wrapper{
        grid-template-columns:1fr;
        gap:30px;
    }
    .mx-sp-gallery{
        position:relative;
        top:auto;
    }
    .mx-sp-gallery-wrapper{
        flex-direction:column-reverse;
    }
    .mx-sp-thumbnails{
        width:100%;
        flex-direction:row;
        overflow-x:auto;
    }
    .mx-sp-thumb{
        min-width:75px;
        width:75px;
        height:75px;
    }
    .mx-sp-main-image{
        height:380px;
    }
    .mx-sp-title{
        font-size:28px;
    }
    .mx-sp-price{
        font-size:32px;
    }
}
/*=====================================
SPECIFICATIONS
=====================================*/
.mx-sp-specs{
    padding:90px 0;
}
.mx-sp-tabs{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:40px;
}
.mx-tab-btn{
    border:none;
    background:#ffd700;
    padding:16px 34px;
    border-radius:14px;
    font-size:17px;
    font-weight:700;
    transition:.3s;
}
.mx-tab-btn.active{
    background:#111;
    color:#fff;
}
.mx-tab-content{
    display:none;
}
.mx-tab-content.active{
    display:block;
}
.mx-description-content{
    background:#fff;
    border:1px solid #ececec;
    border-radius:22px;
    padding:38px;
    overflow:hidden;
    transition:.4s;
}
.mx-description-content.collapsed{
    max-height:260px;
}
.mx-description-content.expanded{
    max-height:10000px;
}
.mx-read-more{
    margin-top:25px;
    border:1px solid #111;
    background:#fff;
    padding:14px 30px;
    border-radius:12px;
    font-weight:700;
}
.mx-sp-specs table{
    width:100%;
}
.mx-sp-specs table th{
    width:240px;
    background:#fafafa;
    padding:18px;
}
.mx-sp-specs table td{
    padding:18px;
}
.mx-sp-specs table tr{
    border-bottom:1px solid #eee;
}

/*=====================================
SPECIFICATIONS MOBILE
=====================================*/

@media (max-width:767px){

    .mx-sp-specs{
        padding:60px 0;
    }

    .mx-sp-tabs{
        gap:10px;
    }

    .mx-tab-btn{
        width:100%;
        padding:15px;
        font-size:15px;
    }

    .mx-description-content{
        padding:22px;
    }

    /*=====================================
        Additional Information
    =====================================*/

    .woocommerce-product-attributes{
        width:100%;
        table-layout:fixed;
    }

    .woocommerce-product-attributes tr{
        text-align:left;
    }

    .woocommerce-product-attributes th{
        width:35% !important;
        text-align:left !important;
        vertical-align:top;
        padding:18px 22px !important;
    }

    .woocommerce-product-attributes td{
        width:65% !important;
        text-align:left !important;
        vertical-align:top;
        padding:18px 22px !important;
        word-break:break-word;
    }

    .woocommerce-product-attributes td p{
        margin:0;
    }

}
/*==================================================
    RELATED PRODUCTS ///////////////////////////////////////////////////////
==================================================*/

.mx-sp-related{
    padding:90px 0 110px;
    background:#fafafa;
}

.mx-sp-related-header{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    margin-bottom:50px;
}

.mx-section-tag{
    display:block;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#888;
    margin-bottom:12px;
}

.mx-sp-related-title{
    font-size:42px;
    font-weight:800;
    color:#111;
    margin:0 0 16px;
    line-height:1.2;
}

.mx-sp-related-header p{
    max-width:620px;
    margin:0 auto;
    color:#666;
    line-height:1.7;
    font-size:17px;
}

/* Hide Navigation */

.mx-related-nav{
    display:none;
}

/*==================================================
    DESKTOP GRID
==================================================*/

.mx-related-slider{
    width:100%;
    overflow:hidden;
}

.mx-sp-related .woocommerce ul.products{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:30px !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.mx-sp-related .woocommerce ul.products li.product{
    width:auto !important;
    margin:0 !important;
    float:none !important;
    min-width:0;
}

/*==================================================
    TABLET
==================================================*/

@media(max-width:991px){

    .mx-sp-related{
        padding:70px 0 90px;
    }

    .mx-sp-related-header{
        margin-bottom:35px;
    }

    .mx-sp-related-title{
        font-size:30px;
    }

    .mx-sp-related .woocommerce ul.products{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:20px !important;
    }

}

/*==================================================
    MOBILE
==================================================*/

@media(max-width:767px){

    .mx-sp-related{
        padding:60px 0 80px;
    }

     .mx-sp-related-header{
        align-items:center;
        text-align:center;
        margin-bottom:35px;
        gap:12px;
    }

    .mx-section-tag{
        margin-bottom:8px;
    }

    .mx-sp-related-title{
        font-size:30px;
    }

    .mx-sp-related-header p{
        font-size:15px;
        max-width:100%;
    }

    .mx-sp-related .woocommerce{
        overflow:hidden;
    }

    .mx-related-slider{
        overflow-x:auto;
        overflow-y:hidden;
        scroll-behavior:smooth;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding-bottom:15px;
    }

    .mx-related-slider::-webkit-scrollbar{
        display:none;
    }

    .mx-sp-related .woocommerce ul.products{
        display:flex !important;
        gap:18px !important;
        width:max-content;
    }

    .mx-sp-related .woocommerce ul.products li.product{
        flex:0 0 280px;
        width:280px !important;
        margin:0 !important;
    }

}