/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
.mb-none{
    margin-bottom: 0 !important;
}
.search-products{
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #ebebeb !important;
}
.search-products input{
    background: #f4faff !important;
    border: 0 !important;
    padding: 0 20px !important;
    font-family: "Kanit", sans-serif;
   color: #666666;
    font-size: 18px !important;
    font-weight: 300;
}
.search-products .aws-search-btn{
    background-color: transparent !important;
    font-size: 26px !important;
    background: #f4faff !important;
    border: 0 !important;
}
.search-products input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: "Kanit", sans-serif;
    color: #666666;
    font-size: 18px;
    font-weight: 300;
}
.search-products input::-moz-placeholder { /* Firefox 19+ */
    font-family: "Kanit", sans-serif;
    color: #666666;
    font-size: 18px;
    font-weight: 300;
}
.search-products input:-ms-input-placeholder { /* IE 10+ */
    font-family: "Kanit", sans-serif;
    color: #666666;
    font-size: 18px;
    font-weight: 300;
}
.search-products input:-moz-placeholder { /* Firefox 18- */
    font-family: "Kanit", sans-serif;
    color: #666666;
    font-size: 18px;
    font-weight: 300;
}
.search-products .aws-search-result ul li{
    font-family: "Kanit", sans-serif !important;
}
.aws-search-result ul li,
.aws-search-result ul{
     border-color: #ebebeb !important;
}
.aws_result_content .aws_result_excerpt{
    display: none !important;
}
.aws-search-result .aws_result_title{
    color: #333333 !important;
    font-family: "Kanit", sans-serif !important;
}
.aws-search-result .aws_result_item.hovered, .aws-search-result .aws_result_item:hover{
    background-color: #f4faff !important;
}
.aws-search-result .aws_search_more,
.aws-search-result .aws_search_more.hovered,
.aws-search-result .aws_search_more a:hover{
    background-color: #323581 !important;
}
.aws-search-result .aws_search_more a{
    font-family: "Kanit", sans-serif !important;
    color: #ffffff !important;
}
.category-menu a{
    display: block;
    border-bottom: 1px solid #ebebeb;
    padding: 5px 0px !important;
}
.category-menu span.menu-image-title-after.menu-image-title {
    width: 150px;
    display: inline-block;
}
.category-menu li:last-child a{
    border-bottom: 1px solid transparent;
}
.category-menu a:hover{
    font-weight: 500 !important;
}
.category-menu li .sub-menu{
    width: 100% !important;
}
.category-menu img{
    width: 50px !important;
    height: auto;
    padding-right: 0px !important;
}
.category-menu .sub-arrow{
    width: fit-content;
    display: block;
    float: right;
    margin-top: 5px;
}
.best-seller img{
    margin-bottom: 0 !important;
}
.best-seller .button{
    margin-top: -40px !important;
    width: fit-content;
    text-align: center;
    display: block !important;
    margin-left: 45% !important;
}
.best-seller a{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: normal;
}
.best-seller a img{
    width: 40% !important;
}
.best-seller a h2{
    width: 60% !important;
    padding-left: 10px !important;
}
.best-seller .woocommerce-loop-product__title{
    text-align: left;
    padding-top: 0;
}
.product-box ul.products  li:first-child,
.product-box ul.products  li:last-child{
    border-color: transparent !important;
}
.product-box ul.products  li:nth-child(2) {
    border-right: 0 solid transparent !important;
}
.product-categories{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.product-categories .product-category{
    width: 25%;
    padding: 15px;
}
.product-categories .product-category .info{
    padding:10px 15px;
    border-radius: 5px;
    background-color: #ffffff;
}
.product-categories .product-category .info:hover{
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}
.product-categories .product-category .info a{
    display: flex;
    flex-wrap: wrap;
    color: #333333;
    align-items: center;
}
.product-categories .product-category .info .thumbnail{
    width: 40%;
}
.product-categories .product-category .info .content{
    width: 60%;
    padding-left: 20px;
}
.product-categories .product-category .info .content h3{
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    font-family: "Kanit", sans-serif;
    margin-bottom: 5px;
}
.product-categories .product-category .info:hover .content h3{
    color: #323581;
}
.product-categories .product-category .info .content p{
    font-family: "Kanit", sans-serif;
    font-size: 14px;
    color: #333333;
    font-weight: 300;
}
.hide-btn .button{
    display: none !important;
}
.cta-icon .elementor-image-box-title{
    margin-bottom: 0 !important;
}
.main-categories .categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-categories .categories {

    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px;
    cursor: pointer;
    border: 1px solid #eee;
}

.category-header:hover {
    background-color: #323582;
    color: #ffffff;
}
.category-header:hover a,
.category-header a:hover,
.category-header a:hover span{
    color: #ffffff;
}
.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-link img,
.subcategories img{
    width: 36px;
    height: 36px;
    object-fit: cover;
}
.subcategories {
    display: none;
    flex-direction: column;
}
.category-link span{
     font-family: "Kanit", Sans-serif;
     font-size: 16px;
}
.category-header.active + .subcategories {
    display: flex;
}
.subcategory-item {
    font-size: 14px;
    color: #444444;
    text-decoration: none;
    font-family: "Kanit", Sans-serif;
    border: 1px solid #eee;
    padding: 10px 12px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subcategory-item span{
    width: 80%;
    display: inline-block;
}
.category a:hover span{
    color: #323581;
}
.main-categories .category a:hover span{
    color: #ffffff !important;
}
.subcategory-item:hover {
    text-decoration: underline;
    background-color: #323582;
}
.subcategory-item:hover span{
    color: #ffffff !important;
}
.dropdown-icon {
    font-size: 18px;
    color: #444444;
    font-family: "Kanit", Sans-serif;
}
.category-header a{
    color: #000000;
}
.category-header:hover a
.category-header:hover span{
    color: #ffffff;
    background-color: #323582;
}
.shop-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}
form.shop-bar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-bar-form label {
    margin-right: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.shop-bar-form label select.per-page{
    width: 50px;
    padding: 5px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    margin-left: 10px;
    font-family: "Kanit", Sans-serif;
    color: #000000;
     font-weight: 300;
    font-size: 15px;
}
.shop-bar-form label select.orderby{
    padding: 5px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    margin-left: 10px;
    font-family: "Kanit", Sans-serif;
    color: #000000;
    width: 200px;
    font-weight: 300;
    font-size: 15px;
}
.view-mode a {
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin-left: 5px;
    text-decoration: none;
}
.view-mode a.active {
    border-color: red;
    background-color: #f8f8f8;
}
.shop-bar{
    background-color: #f7f7f7;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 22px rgb(0 0 0 / 10%);
}
.result-count{
    color: #898686;
    font-family: "Kanit", Sans-serif;
    font-size: 15px;
    font-weight: 400;
}
.result-count p{
    margin-bottom: 0 !important; 
}
.archive .products h2 a{
    color: #000000;
}
ul.products li h2{
    font-family: "Kanit", Sans-serif;
    color: #000000;
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    text-align: center;
}
.product-meta .tagged_as{
    display: none !important;
}
.product-meta .detail-label{
    font-weight: 400 !important;
}
.pro-descr ul{
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
}
.pro-descr ul li{
    font-weight: 300 !important;
    list-style: none;
    padding: 5px 0;
    border-bottom: 1px solid #ebebeb;
    width: 50%;
}
.pro-descr ul li strong{
    width: 30%;
    display: inline-block;
    color: #323581;
}
.pro-descr .tabs a{
    padding: 0 5px !important;
}
.pro-descr .tabs,
.pro-descr .woocommerce-Tabs-panel{
    padding: 0 !important;
}
.product-brands{
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}
.product-brands .brand{
    width: 160px;
    height: 45px;
    display: block;
    border-radius: 50px;
    padding: 10px 10px;
    font-size: 0;
    margin-right: 10px;
    background-size: 117px auto;
    background-position: center;
    background-repeat: no-repeat;
}
.product-brands .brand.lazada{
    background-image: url(/wp-content/uploads/2025/08/lazada.webp);
    background-color: #0e1570;
}
.product-brands .brand.shoppe{
    background-image: url(/wp-content/uploads/2025/08/shopee-logo.webp);
    background-color: #e55534;
}
.blog-content h2,
.blog-content h3{
        font-size: 22px;
}
.blog-content ul,
.blog-content ol{
    margin-bottom: 20px;
}
@media screen and (max-width: 1440px) {
    .product-categories .product-category{
        padding: 5px;
    }
    .product-categories .product-category .info .content h3{
        font-size: 16px;
        line-height: 24px;
    }
}
@media screen and (max-width: 980px) {
    .product-categories{
        margin: auto;
    }
    .product-categories .product-category{
        width: 33.33%;
    }
    .product-categories .product-category .info .content{
        padding-left: 10px;
    }
    .product-categories .product-category .info .content h3 {
        font-size: 15px;
        line-height: 22px;
    }
}
@media screen and (max-width: 650px){
    .product-box ul.products  li:first-child,
    .product-box ul.products  li:last-child{
        border-color: #EBEBEB !important;
    }
    .product-categories .product-category{
        width: 50%;
    }
    .product-categories .product-category .info .thumbnail{
        width: 100%;
    }
    .product-categories .product-category .info .content{
        width: 100%;
        padding-left: 0;
    }
    .product-categories .product-category .info .content h3 {
        font-size: 17px;
        line-height: 24px;
        text-align: center;
        margin-top: 0;
    }
    .product-categories .product-category .info .content p{
        font-size: 16px;
        text-align: center;
        margin-bottom: 0;
    }
    .product-categories .product-category .info{
        min-height: 270px;
    }
    .blog-home .slick-dots li button:before{
        font-size: 15px;
        color: #323581 !important;
    }
    .link-footer a{
        color: #ffffff;
        text-align: center;
    }
    .link-footer .elementor-icon-list-text br{
       display: none;
    }
    .products li{
        grid-row-gap: 20px !important;
    }
    .blog-content h2,
    .blog-content h3{
        font-size: 22px;
    }
    .category-menu-pro,
    .elementor-element-dfdf863{
        margin-bottom: 0 !important;
    }
    .category-menu-pro ul.elementor-nav-menu{
        margin: 0 20px ;
        background-color: #ffffff;
        padding: 0 20px;
    }
    .shop-bar{
        display: none !important;
    }
}