    /*
    Theme Name: Divi Child Theme MX
    Theme URI:
    Author: Rex Batongbakal
    Author URI: mxmemoxpress.com
    Description: A child theme template for Divi
    Version: 1.0.0
    Template: Divi
    */

    /* Custom CSS below this line only - DO NOT EDIT ABOVE THIS LINE */

    /*CSS for Dropdown to Label*/
    .variable-options-group{
          display: flex;
        gap: 10px;
        /*margin: 10px 0;*/
        flex-wrap: wrap;
    }
    .variable-label{
          display: inline-flex;
        padding: 5px !important;
        border: 1px solid rgba(0,0,0,.09);
        border-radius: 3px;
        cursor: pointer;
        transition: none;
        box-sizing: border-box;
    }
    .variable-option {
      margin: 0;
    }
    /*
    .woocommerce div.product form.cart .variations label{
          font-size: clamp(14px,16px,18px);
        font-weight: 300!important;
    }*/
    .variable-label.selected{
          background-color: #29337a;
        color: #fff!important;
    }
    .variable-label:hover{
          border-color: #29337a;
    }
    .et_pb_wc_add_to_cart_0_tb_body.et_pb_module .et_pb_module_inner form.cart .variations tr{
          display: grid;
        gap: 1vh;
        padding-right: 0!important;
        padding-left: 0!important;
    }
    .woocommerce div.product form.cart .variations td{
          padding: 0 0 0 0 !important;
        max-width: none !important;
        line-height: 1.3em;
    }
    .variable-options-group{
        display: flex;
        gap: 10px;
        margin: 0;
        flex-wrap: wrap;
    }

    /*CSS for lightbox */

    /* Overlay styles */


    .lightbox-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-color: rgba(0,0,0,0.8) !important;
        z-index: 999998 !important;
        display: none;
    }


    /* Lightbox content styles */
    [class*="lightbox-content-1"] {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        background: #fff !important;
        padding: 30px !important;
        border-radius: 5px !important;
            width: 50%;
        max-width: 1440px !important;
        max-height: 80% !important;
        overflow: auto !important;
        z-index: 999999 !important;
        display: none;
        box-shadow: 0 0 20px rgba(0,0,0,0.2) !important;
    }

    /* Close button styles */
    .lightbox-close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        font-size: 24px !important;
        cursor: pointer !important;
        color: #333 !important;
        background: none !important;
        border: none !important;
        padding: 5px !important;
        line-height: 1 !important;
    } 

    /* Prevent scrolling on body when lightbox is open */
    body.lightbox-open {
      overflow: hidden !important;
    }


    /*CSS for Product Installment*/
    #installment-container{
       display: grid;
        align-items: start;
        justify-items: left;
        margin-bottom: 3vh;
        margin-top: 0;
    }
    .lightbox-trigger-1{
      display: flex;
        gap: .5vw;
        background: transparent;
        border: none;
        border-radius: 100px;
        color: #29337a;
        font-size: medium;
        cursor: pointer;
        font-weight: 600;
        align-content: center;
        align-items: center;
        margin: 0 0;
        padding: 0 0;
    }

    #icon-installment{
font-size: 24px !important;
        margin-top: 0px;
        color: #29337a;
    }

        .material-icons{
        font-size: 20px !important;
        margin-top: 2px;
        height: 18px;
        width: 18px;
        color: #3ca27d;
    }

@media screen and (max-width: 1024px){

    .material-icons{
        font-size: 20px !important;
        margin-top: 0px;
        height: 18px;
        width: 18px;
        color: #3ca27d;
    }
}
    #feats{
      font-size: clamp(13px, calc(13px + (16 - 13) * ((100vw - 320px) / (1440 - 320))), 16px);
        font-weight: 600;
        width: 100%;
    }
    #feats-sub{
      font-size: clamp(13px, calc(13px + (16 - 13) * ((100vw - 320px) / (1440 - 320))), 16px);
      font-weight: 400;
    }
    .table-container{
      border: 1px solid #DADCE0;
        border-radius: 8px;
        padding: 10px 33px;
        display: grid;
        align-items: self-start;
        margin-top: 1vh;
        gap: 2vw;
    }
    #table-row-installment{
          display: flex;
        align-items: center;
        justify-content: flex-start;
        align-content: center;
        border-bottom: 1px solid #EEEEEE;
        margin: 10px 10px 10px 10px;
    }
    #table-data-installment{
          width: 100%;
        height: 100%;
        font-size: medium;
        line-height: 21px;
        padding: 8px;
        color: #4C525C;
    }
    #specs-container{
          display: inline-flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #highlights-text{
          font-weight: 500;
        font-size: clamp(16px, calc(16px + (24 - 16) * ((100vw - 320px) / (1440 - 320))), 24px);
        color: #535757!important;
        padding: 0vh 0;
    }
    #specs{
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
        border: 1px solid #DADCE0;
        border-radius: 8px;
        padding: 16px 33px;
        display: inline-grid;
        align-items: self-start;
        margin-top: 20px;
    }

    .features-block-images{
          border: 1px solid #DADCE0;
        border-radius: 8px;
        padding: 16px 33px!important;
        display: inline-block;
        align-items: center;
        margin-top: 20px;
    }
    .features-block-2mF{
          gap: 8vw;
        border: 1px solid #DADCE0;
        border-radius: 8px;
        padding: 16px 33px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;
    }
    .features-blockTitle-hWK{
          max-width: 100%!important;
        width: 120px!important;
        font-size: large!important;
        line-height: 16px!important;
        color: #4C525C!important;
        font-weight: 700!important;
        text-align: left!important;
        padding: 2vw 0 10vw 0;
    }
    .features-blockContent-1PZ{
          width: 100%;
        line-height: 1.5em;
        color: #4C525C;
    }
    .features-highlights-3RV{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
    }
    .features-highlight-1V0{
          font-size: medium;
    }

    /*Product Gallery*/


    /*Remove Zoom Button Product Gallery*/
    .woocommerce div.product div.images .woocommerce-product-gallery__trigger{
      display: none;
    }

    /*Hide Caret in variation*/
    .et_pb_wc_add_to_cart form.cart .variations td.value span:after{
      display: none !important;
    }

    /*Add to Cart Button CSS*/
    .custom-add-to-cart-wrapper{
          display: flex;
        width: 100%;
        justify-content: space-around;
        gap: 30px;
    }

    /*Lightbox Pop Up*/

    /*CSS Quantity hide*/
    .woocommerce div.product form.cart div.quantity{
      display: none!important;
    }

    /*CSS Add to cart flickering*/
    .single_variation,
    .woocommerce-variation.single_variation {
      display: none !important;
    }

    /*CSS Highlights*/
    .ins{
        font-weight: 500;
        font-size: clamp(12px, calc(12px + (14 - 12) * ((100vw - 320px) / (1440 - 320))), 14px);
        display: flex;
        gap: .5vw;
        /* align-content: center; */
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #installment-price{
      display: flex; 
      align-items: center;
    }

    .installment-price-modal .label{
          font-weight: 600;
        font-size: 14px;
        line-height: 14px;
        color: #4c525c;
        padding: 0;
    }
    .installment-price-modal .creditCard{
        margin-top: 16px;
    }
    .installment-price-modal .desc{
          font-weight: 400;
        font-size: 14px;
        line-height: 21px;
        color: rgba(67, 67, 67, 0.7);
        margin-top: 16px;
    }


    .woocommerce-product-gallery__wrapper .zoomImg, 
    .woocommerce-product-gallery__wrapper {
        pointer-events: none !important; 
    }

    .woocommerce-notices-wrapper{
      display:none !important;
    }
    /*Infinite Loading CSS*/
    .content {
      height: 100%;
      width: 100%;
      padding: 0;
      margin:0;
      text-align: center;
      display: none;
    }
    .noContent {
      color: #000 !important;
      background-color: transparent !important;
      pointer-events: none;
    }
    .loader {
      width: 30px;
      height: 30px;
      border: 4px solid #ccc;
      border-top-color: #333;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }


      .et_pb_wc_add_to_cart form.cart .variations td.value span:after{
      display: none !important;
    }
/*Product gallery style*/


/* General Layout */
/*mine-customization*/
.woocommerce div.product div.images .flex-control-thumbs{
    margin-top: 0 !important;
    flex-basis: 100%;
    min-width: 10%;
}

.fs-wrap {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
}

/* Thumbnail Container */
.flex-control-thumbs {
    flex-basis: 56%;
    z-index: 2;
    height: 307px !important;
    margin-top: 0;
}

/* Main Image */
.woocommerce-product-gallery__image img {
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e1e1e1;
}

/* Thumbnails */
.flex-control-thumbs li {
    min-width: 100%;
    margin-bottom: 10px !important;
    transition: margin-top 0.4s linear;
}

.flex-control-thumbs li img {
    border-radius: 4px;
    border: 1px solid #ff9900;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.flex-active img {
    border: 2px solid orange;
}

/* Layout: Move product gallery to left side */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    flex-direction: row-reverse;
    column-gap: 20px;
}

/* Gallery Structure */
.woocommerce-product-gallery.woocommerce-product-gallery--with-images {
    display: flex;
    column-gap: 14px;
    margin-bottom: 0;
    justify-content: center;
}

/* Main Image Container */
div.product div.images .flex-viewport {
flex-basis: 100%;
}

/* Thumbnails wrapper */
.et_pb_wc_images div.images ol.flex-control-thumbs {
    overflow: hidden;
}

/* NAVIGATION ARROWS */
ul.flex-direction-nav {
    position: absolute;
    z-index: 99999;
    width: fit-content;
    list-style: none;
    display: flex;
    flex-direction: row;
}

/* Hidden default arrows */
a.flex-next,
a.flex-prev {
    visibility: hidden;
}

/* Custom next arrow */
a.flex-next::after {
    visibility: visible;
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    font-size: 30px;
    font-weight: bold;
}

/* Custom previous arrow */
a.flex-prev::before {
    visibility: visible;
    content: '\f137';
    font-family: 'Font Awesome 5 Free';
    font-size: 30px;
    font-weight: bold;
}

ul.flex-direction-nav li a {
    color: #ff9900;
}

/* MOBILE & TABLET RESPONSIVE */

/* Tablets 576px–767px */
@media (min-width: 576px) and (max-width: 767px) {

}

/* Mobile ≤ 575px */
@media (max-width: 575px) {

    /* Fix selector (.div → div) */
    div.product div.images .flex-viewport {
        flex-basis: 350px;
    }
    .woocommerce div.product div.images, .woocommerce-page div.product div.images{
            flex-direction: column;
    column-gap: 20px;
    }
    .woocommerce div.product div.images .flex-control-thumbs{
    display: flex;
    margin-top: 20px !important;
    flex-direction: row;
    width: 89px;
    }
    
    .woocommerce div.product div.images .flex-control-thumbs li{
        padding-right: 1vw !important;

    }


}

