@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
    --color1: #bcbec0;
    --color2: #231f20;
    --color3: #6a0000;
    --color4: #6d6e71;
    --color5: #fff;
    --color6: #ededed;
    --color7: #777f84;
    --color8: #eb1314;
    --color9: #414042;
    --color10: #1c1d21;
}
html:lang(th){
    --poppins: 'Kanit';
}
html:lang(en-US){
    --poppins: 'Kanit';
}
header{
    z-index: 10;
    position: relative;
}
ul{
    margin: 0;
}
#ButtonMenu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    .hamburger{
        border: 0;
        background-color: transparent;
        cursor: pointer !important;
        span{
            width: 30px;
            height: 2px;
            background-color: var(--color2);
            display: block;
            margin-bottom: 5px;
            opacity: 1;
            transition: all .3s ease;
        }
        span:last-of-type{
            margin-bottom: 0;
        }
    }
    .hamburger:hover{
        span{
            opacity: .5;
            transition: all .3s ease;
        }
    }
}
#MobileMenu{
    position: absolute;
    top: 0;
    left: -350px;
    z-index: 999;
    background-color: var(--color5);
    height: 100vh;
    width: 350px;
    transition: all .3s ease;
    overflow-y: scroll;
    .closeButton{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-end;
        padding: 30px 50px 0;
        position: relative;
        span{
            height: 2.5px;
            width: 30px;
            background-color: var(--color2);
            display: block;
            transform-origin: center;
            position: absolute;
            right: 50px;
        }
        .closeicon{
            cursor: pointer !important;
            border: 0;
            background-color: transparent;
            span:first-of-type{
                transform: rotate(0deg);
                transition: all .3s ease;
            }
            span:last-of-type{
                transform: rotate(0deg);
                transition: all .3s ease;
            }
        }
        .closeicon:hover{
            span:first-of-type{
                transform: rotate(-45deg);
                transition: all .3s ease;
            }
            span:last-of-type{
                transform: rotate(45deg);
                transition: all .3s ease;
            }
        }
    }
    .logo{
        padding: 40px 50px;
    }
    nav{
        > ul{
            list-style: none;
            flex-direction: column;
            padding: 0 50px;
            margin: 0;
            > li{
                > a{
                    padding: 10px 0;
                    display: block;
                }
                > ul{
                    list-style: disc;
                    flex-direction: column;
                    display: flex;
                    > li{
                        > a{
                            display: block;
                            padding: 10px 0;
                        }
                        > ul{
                            li{
                                > a{
                                    display: block;
                                    padding: 10px 0;
                                }
                            }
                        }
                    }
                }
            }
        }
        ul{
            li{
                a{
                    color: var(--color2);
                    transition: all .3s ease;
                    font-family: var(--poppins);
                    font-size: 15px;
                    font-weight: var(--light);
                }
                a:hover{
                    color: var(--color3);
                    transition: all .3s ease;
                }
            }
        }
    }
}
#overlay{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
}
.lstee_theme_body{
    margin: 0 !important;
    .container{
        max-width: 1190px;
        margin: 0 auto;
    }
    .flex{
        display: flex;
    }
    .jbetween{
        justify-content: space-between;
    }
    .acenter{
        align-items: center;
    }
    a{
        text-decoration: none;
    }
    p,h3{
        margin: 0;
    }
    #topMenu{
        background-color: var(--color6);
        padding: 10px 20px;
        .polylang_langswitcher{
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: flex-end;
            li{
                margin-right: 5px;
                a{
                    font-family: var(--poppins);
                    font-weight: var(--regular);
                    font-size: 14px;
                    color: var(--color2);
                    padding: 0 5px;
                    border: 1px solid var(--color4);
                    display: inline-block;
                    border-radius: 5px;
                    transition: all .3s ease;
                }
            }
            li:last-of-type{
                margin-right: 0;
            }
            li:hover,li.current-lang{
                a{
                    background-color: var(--color3);
                    color: var(--color5);
                    border: 1px solid var(--color3);
                    transition: all .3s ease;
                }
            }
        }
    }
    #Menu{
        padding: 15px 20px;
        background-color: var(--color5);
        .mmt-main-menu{
            ul{
                list-style: none;
                padding: 0;
                margin: 0;
                li{
                    position: relative;
                    padding: 10px 35px;
                    a{
                        font-family: 'Kanit';
                        font-weight: 300;
                        color: var(--color9);
                        font-size: 18px;
                        transition: all .3s ease;
                    }
                    > .sub-menu{
                        position: absolute;
                        background-color: rgba(255,255,255,1);
                        opacity: 0;
                        visibility: hidden;
                        transition: all .3s ease;
                        z-index: 999;
                        left: 0;
                        box-shadow: 2px 2px 4px 0 rgba(72,72,72,.5);
                        width: auto;
                        min-width: 140px;
                        margin-top: 30px;
                        li{
                            padding: 10px 30px;
                            position: relative;
                            a{
                                color: var(--color10);
                                transition: all .3s ease;
                                white-space: nowrap;
                            }
                            > .sub-menu{
                                top: 0;
                                margin-top: 30px !important;
                                left: 100%;
                                box-shadow: 1px 1px 5px rgba(162,15,15,.3);
                                li{
                                    a{
                                        color: var(--color2);
                                        transition: all .3s ease;
                                        white-space: nowrap;
                                    }
                                }
                                li:hover{
                                    a{
                                        color: var(--color5);
                                        transition: all .3s ease;
                                    }
                                }
                            }
                        }
                        li:hover{
                            background-color: var(--color3);
                            transition: all .3s ease;
                            a{
                                color: var(--color5);
                                transition: all .3s ease;
                                font-weight: 300;
                            }
                             > .sub-menu{
                                margin-top: 0 !important;
                             }
                        }
                    }
                }
                li:hover,li.current-menu-item,li.current-menu-parent{
                    > a{
                        color: var(--color3);
                        transition: all .3s ease;
                        font-weight: 500;
                    }

                }
                .menu-item-has-children:hover{
                    > .sub-menu{
                        opacity: 1;
                        visibility: visible;
                        margin-top: 10px;
                        transition: all .3s ease;
                    }
                }
            }
        }
    }
    footer{
        /* text-align: center; */
        /* background-color: var(--color3); */
        /* color: var(--color5); */
        /* padding: 60px; */
        h3{
            font-family: var(--poppins);
            font-weight: var(--regular);
            font-size: 22px;
            margin-bottom: 10px;
        }
        p{
            font-family: var(--poppins);
            font-weight: var(--light);
            font-size: 15px;
        }
    }
}
#ProductLists{
    display: flex;
    flex-wrap:wrap;
    gap: 25px;
    .lists{
        width: calc((100% - 50px) / 3);
        display: flex;
        height: 350px;
        box-shadow: 1px 1px 22px rgba(0, 0, 0, .1);
        border-radius: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--color5);
        border: 3px solid transparent;
        transition: all .3s ease;
        .image{
            position: relative;
            a{
                display: flex;
                img{
                    border: 0px solid transparent;
                    border-radius: 10px;
                    width: 100%;
                }
            }
        }
        .content{
            text-align: center;
            h2{
                font-family: 'Kanit';
                color: var(--color2);
                font-size: 18px;
                line-height: 22px;
                margin: 30px 0 3px 0;
                transition: all .3s ease;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                text-align: center;
            }
            p{
                font-family: 'Kanit';
                font-weight: 300;
                color: var(--color7);
                font-size: 12px;
                text-align: center;
                margin-bottom: 20px;
            }
            a{
                background-color: var(--color8);
                border-radius: 999px;
                padding: 5px 25px;
                transition: all .3s ease;
                display: inline-block;
                span:last-of-type{
                    font-family: 'Kanit';
                    font-size: 16px;
                    line-height: 22px;
                    font-weight: 400;
                    color: var(--color5);
                    margin-left: 5px;
                }
            }
            a:hover{
                background-color: var(--color2);
                transition: all .3s ease;
            }
        }
    }
    .lists:hover{
        border: 3px solid var(--color8);
        transition: all .3s ease;
    }
}
.MMTform{
    input,textarea{
        border: 0 !important;
        border-bottom: 1px  solid var(--color2) !important;
        font-family: var(--poppins);
    }
    button.forminator-button.forminator-button-submit{
        background-color: var(--color6);
        font-family: var(--poppins);
        color: var(--color2);
        transition: all .3s ease;
    }
    button.forminator-button.forminator-button-submit:hover{
        background-color: var(--color3);
        font-family: var(--poppins);
        color: var(--color5);
        transition: all .3s ease;
    }
}
.hover.underline{
    p{
        transition: all .3s ease;
    }
}
.hover.underline:hover{
    p{
        text-decoration: underline;
        transition: all .3s ease;
    }
}
.our-product{
    position: relative !important;
    .swiper{
        height: 100%;
        width: 100%;
        .swiper-slide{
            display: flex !important;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            .bg{
                background-color: var(--color6);
                border-radius: 50%;
                width: 210px !important;
                height: 210px !important;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .description{
                text-align: center;
                margin-top: 25px;
                h2,a{
                    font-family: 'Kanit';
                    line-height: 22px;
                }
                h2{
                    font-size: 20px;
                    font-weight: 400;
                    color: var(--color2);
                    margin: 0 !important;
                }
                a{
                    font-size: 13px;
                    font-weight: 300;
                    color: var(--color4);
                }
                a:hover{
                    text-decoration: underline;
                }
            }
        }
    }
    .swiper-button-next,.swiper-button-prev{
        background-color: var(--color3);
        border-radius: 50%;
        height: 43px !important;
        width: 43px !important;
        position: absolute;
        top: 40% !important;
        svg,svg path{
            fill: var(--color5) !important;
            height: 20px !important; 
        }
    }
    .swiper-button-next{
        right: -18px !important;
        svg path{
            margin-right: -3px !important;
        }
    }
    .swiper-button-prev{
        left: -18px !important;
        svg path{
            margin-left: -3px !important;
        }
    }
}
.best-seller-product{
    .swiper{
        height: 100%;
        width: 100%;
        .swiper-slide{
            display: flex !important;
            align-items: center;
            justify-content: center;
            .list{
                border: 1px solid var(--color7);
                width: 100%;
                border-left: none;
                height: 350px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                .bg{
                    height: 270px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                .description{
                    border-top: 1px solid var(--color7);
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 5px;
                    padding: 10px 0 15px 0;
                    h2,a{
                        font-family: 'Kanit';
                        line-height: 30px;
                    }
                    h2{
                        margin: 0 !important;
                        font-size: 18px;
                        font-weight: 400;
                        color: var(--color2);
                    }
                    a{
                        font-size: 12px;
                        font-weight: 200;
                        color: var(--color5);
                        background-color: var(--color3);
                        border-radius: 5px;
                        padding: 0 25px;
                    }
                }
            }
        }
        .swiper-slide-active{
            .list{
                border: 1px solid var(--color7);
            }
        }
    }
    .best-seller-product-pagination{
        margin-top: 40px;
        position: relative;
    }
    .swiper-pagination-bullet{
        background: var(--color1);
        opacity: 1;
    }
    .swiper-pagination-bullet-active{
        background: var(--color2);
    }
}
.hidden{
    overflow: hidden !important;
}
.menu-side-product{
    ul::after,li a::after{
        display: none;
    }
    li{
        border-bottom-width: 1px !important;
        border-bottom: 1px solid #808285;
        a{
            transition: all .3s ease;
            padding: 25px 20px !important;
        }
        a::before{
            content: '>';
            display: block;
            height: auto !important;
            opacity: 1 !important;
        }
    }
    li:hover{
        a{
            font-weight: 500;
        }
    }
    .current-menu-item{
        a{
            font-weight: 500 !important;
        }
    }
}
.vdo{
    .image{
        .elementor-widget-container{
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .elementor-widget-container::after{
            content: '';
            display: block;
            position: absolute;
            height: 100%;
            width: 100%;
            background-color: var(--color2);
            top: 0;
            border-radius: 20px;
            opacity: 0;
            transition: all .3s ease;
        }
        .elementor-widget-container::before{
            content: url('/wp-content/uploads/2026/05/icon_vdo.png');
            display: block;
            position: absolute;
            opacity: 0;
            transition: all .3s ease;
            z-index: 1;
        }
    }
}
.vdo:hover{
    .image{
        .elementor-widget-container::after{
            opacity: .65;
            transition: all .3s ease;
        }

        .elementor-widget-container::before{
            opacity: 1;
            transition: all .3s ease;
        }
    }
}
.social{
    .elementor-widget-container:hover{
        background-color: var(--color3);
        .elementor-icon{
            svg,path{
                fill: var(--color5);
            }
        }
    }
}
ul.polylang_langswitcher{
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.form{
    background-color: var(--color5);
    padding: 40px;
    margin-top: 40px;
    input,textarea,button{
        font-family: 'Kanit';
    }
    input,textarea{
        background-color: transparent;
        border-width: 0 !important;
        border-bottom: 1px solid #000 !important;
    }
    input:focus-visible,textarea:focus-visible{
        outline: none;
    }
    button{
        background-color: #ededee;
        transition: all .3s ease;
    }
    button:hover{
        background-color: var(--color3);
        color: #fff;
        transition: all .3s ease;
    }
}