.elementor-143 .elementor-element.elementor-element-0867db0{--display:flex;--min-height:150px;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-143 .elementor-element.elementor-element-0867db0:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-0867db0 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#054798;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-143 .elementor-element.elementor-element-70de7ee .elementor-heading-title{font-family:"Prompt", Sans-serif;font-weight:600;color:#FFFFFF;}.elementor-143 .elementor-element.elementor-element-1b1fc2e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:30px;--padding-bottom:0px;--padding-left:230px;--padding-right:230px;}.elementor-143 .elementor-element.elementor-element-9914a3c{padding:0px 0px 0px 15px;}.elementor-143 .elementor-element.elementor-element-5f03bbb{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:-8px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:60px;--padding-left:230px;--padding-right:230px;}.elementor-143 .elementor-element.elementor-element-9ca4902{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:5px 5px;--row-gap:5px;--column-gap:5px;--padding-top:25px;--padding-bottom:0px;--padding-left:10px;--padding-right:10px;}.elementor-143 .elementor-element.elementor-element-5fc62d3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products{--products-title-color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.products-heading-show .related-products > h2, .elementor-widget-woocommerce-products.products-heading-show .upsells > h2, .elementor-widget-woocommerce-products.products-heading-show .cross-sells > h2{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:#474747;}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:#474747;}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:"Prompt", Sans-serif;font-size:16px;font-weight:600;}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-143 .elementor-element.elementor-element-0867db0{--min-height:75px;}.elementor-143 .elementor-element.elementor-element-70de7ee .elementor-heading-title{font-size:18px;}.elementor-143 .elementor-element.elementor-element-1b1fc2e{--padding-top:5px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-143 .elementor-element.elementor-element-5f03bbb{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-143 .elementor-element.elementor-element-5fc62d3{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}.elementor-143 .elementor-element.elementor-element-a624969{width:100%;max-width:100%;}.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(min-width:768px){.elementor-143 .elementor-element.elementor-element-9ca4902{--width:25%;}.elementor-143 .elementor-element.elementor-element-5fc62d3{--width:75%;}}/* Start custom CSS for shortcode, class: .elementor-element-9914a3c *//* Breadcrumb base */
.woocommerce-breadcrumb {
    color: #000;
    font-size: 16px;
}

.woocommerce-breadcrumb a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Hover */
.woocommerce-breadcrumb a:hover {
    color: #054798;
}

/* Active (หน้า Products) */
.woocommerce-breadcrumb a:active,
.woocommerce-breadcrumb a.current,
.woocommerce-breadcrumb a[aria-current="page"] {
    color: #054798;
}

.brand-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-reset {
    font-size: 14px;
    color: #054798;
    text-decoration: none;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brand-item {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: all .2s ease;
}

.brand-item img {
    max-height: 60px;
    object-fit: contain;
}

.brand-item.active,
.brand-item:hover {
    border-color: #054798;
}

@media (max-width: 480px) {

.elementor-shortcode .woocommerce-breadcrumb a {
    font-size: 14px;
}





}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-7e15503 *//* =========================
   FILTER WRAP
========================= */
.virasa-filter-wrap {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
}

/* =========================
   TITLE
========================= */
.virasa-filter-wrap .filter-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #111;
}

/* =========================
   LIST
========================= */
.filtered-product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================
   ITEM
========================= */
.filtered-product-categories li {
    margin-bottom: 6px;
}

/* =========================
   LINK
========================= */
.filtered-product-categories a {
    display: block;
    padding: 10px 0px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

/* hover */
.filtered-product-categories a:hover {
    background: #054798;
    color: #ffffff;
}
.filtered-product-categories li.active {
    background: #054798;
    color: #ffffff !important;
    border-radius: 8px;
}
.filtered-product-categories li.active a {
    color: #fff;
}
/* =========================
   ACTIVE
========================= */
.filtered-product-categories a.active {
     background: #054798;
    color: #ffffff;
}

/* active indicator */
.filtered-product-categories a.active::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #111;
    border-radius: 4px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .virasa-filter-wrap {
        padding: 16px;
        border-radius: 10px;
    }

    .filtered-product-categories a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
}/* End custom CSS */
/* Start custom CSS for woocommerce-products, class: .elementor-element-7a4a908 *//* =========================
   DEFAULT: ยังไม่เลือก Brand
========================= */

/* ซ่อนสินค้า */
body:not(.product-brand-selected) .product-section {
    display: none !important;
}

/* แสดง Brand */
body:not(.product-brand-selected) .brand-section {
    display: block !important;
}


/* =========================
   WHEN BRAND SELECTED
========================= */

/* แสดงสินค้า */
body.product-brand-selected .product-section {
    display: block !important;
}

/* ซ่อน Brand */
body.product-brand-selected .brand-section {

}


.elementor-143 .elementor-element.elementor-element-7a4a908.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 54px;}
    

/* ===== Brand Grid ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.brand-item {
    border: 0px solid #eee;
    border-radius: 12px;
    background: #fff;
    padding: 0px;
    text-align: center;
    transition: all .3s ease;
}

.brand-item:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, .08); */
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.elementor-kit-6 h2 {margin-bottom: 0;
}
.brand-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.brand-header {margin-bottom: 0px;
}
.brand-grid {margin-top: 40px;
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px; /* ปรับช่องไฟให้พอดีจอ */
        margin-top: 20px;
    }

    .brand-item img {
        max-height: 60px; /* ย่อโลโก้ให้พอดีมือถือ */
    }
}

@media (max-width: 480px) {
h2.brand-title {
    font-size: 16px;
    padding-left: 0px;
}

}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-5fc62d3 */.elementor-143 .elementor-element.elementor-element-5fc62d3 {
        --width: 75%;
        margin-top: -60px;
    }
@media (max-width: 480px){
        .elementor-143 .elementor-element.elementor-element-5fc62d3 {
        --width: 100%;
        margin-top:0px;
    }
        .brand-item img {
        max-height: 100px;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-5f03bbb *//* ซ่อนปุ่ม Filter บน Desktop */
@media (min-width: 1025px) {
    .mobile-filter-toggle,
    .filter-overlay {
        display: none !important;
    }
}
/* =========================
   MOBILE FILTER TOGGLE
========================= */
@media (max-width: 768px) {

  /* กล่อง filter */
  .virasa-filter-wrap {
    position: fixed;
        top: 0;
        left: -340px;
        width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        padding: 20px 20px 20px 80px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, .15);
        transition: left .3s ease;
  }

  /* เปิดแล้ว */
  body.filter-open .virasa-filter-wrap {
    left: 0;
  }

  /* ปุ่ม Toggle */
  .mobile-filter-toggle {
    position: fixed;
    top: 120px;
            left: 0px;
        z-index: 10000;
        background: #000;
        color: #fff;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
  }

  /* overlay */
  .filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
  }

  body.filter-open .filter-overlay {
    display: block;
  }
}/* End custom CSS */