/*@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --color1: #FEC209;
    --color2: #0822aa;
    --color3: #a8c3ff;
    --color4: #788181;
    --color5: #F9F9F9;
    --color6: #e5edff;
    --color7: #011463;
    --color8: #d77708;
    --color9: #005296;
    --color10: #011463;
    --color11: #f1f6ff;
    --color12: #f39d0d;
    --colorw: #fff;
    --colorb: #000;

    --main-font: 'Inter';
}

::selection {
    /*background-color: var(--main-txt-color);*/
    /*color: white;*/
}

@font-face {
   font-family: 'LINE Seed Sans TH';
   src: url(webfonts/LINESeedSansTH_W_Rg.woff);
   font-weight: 400;
    font-style: normal;
}

.color1 {
    color: var(--color1);
}

.color2 {
    color: var(--color2);
}

.color3 {
    color: var(--color3);
}

.color4 {
    color: var(--color4);
}

.color5 {
    color: var(--color5);
}

.color6 {
    color: var(--color6);
}

.color7 {
    color: var(--color7);
}

.color8 {
    color: var(--color8);
}

.color9 {
    color: var(--color9);
}

.color10 {
    color: var(--color10);
}

.color11 {
    color: var(--color11);
}

.color12 {
    color: var(--color12);
}

.colorw {
    color: var(--colorw);
}

.colorb {
    color: var(--colorb);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'LINE Seed Sans TH';
/*    font-weight: 400;*/
    font-size: 16px;
}

body,
h1,
h2,
h3,
h4,
h5,
div,
p,
span,
li,
a ,
i ,
button ,
#mainMenu nav > ul > li > a,
#footer p
{
/*    font-family: var(--main-font), sans-serif;*/
    font-family: 'LINE Seed Sans TH';
/*    color: var(--color4);*/
    /*word-break: break-word;*/
    /*transition: 0.3s;*/
}

#mainMenu > .container{
    background-color: white;
}

body.modal-open{
    padding-right: 0 !important;
}

a:not(.btn):not(.badge):hover, 
a:not(.btn):not(.badge):focus, 
a:not(.btn):not(.badge):active
{
    color: var(--color2);
}

.container.max-1400{
    max-width: 1400px;
}

.container.max-1600{
    max-width: 1600px !important;
}

button.btn, 
.btn:not(.close):not(.mfp-close), 
a.btn:not([href]):not([tabindex])
{
    font-family: inherit;
}

#topbar{
    display: none;
}

/* header  */

#header{
/*    line-height: 75px;*/
}

#header,
#header .header-inner,
#header .header-inner > div
{
    height: auto;
}

#header[data-fullwidth="true"] .header-inner .container, 
#header[data-fullwidth="true"] #header-wrap .container
{
    padding: 0 15px;
}

#header .header-inner #logo{
/*    margin-top: 5px;*/
}

#header > .header-inner
{
    background-color: inherit;
}

#header .header-inner #logo{
/*    border-radius: 50%;*/
    overflow: hidden;
/*    box-shadow: 0px 2px 5px rgb(0 0 0 / 40%);*/
    background-color: white;
}

#header .header-inner #logo a > img{
    transform: scale(0.9);
}

#header.header-sticky.sticky-active .header-inner, #header.header-sticky.sticky-active #header-wrap {
    box-shadow: none;
}

#mainMenu nav > ul > li {
    margin-left: 3rem;
}

#mainMenu nav > ul > li > a {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0;
    text-transform: none;
    color: var(--colorb);
}

#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li:hover a{
    color: var(--color2);
}

#mainMenu nav {
    float: none;
}

#Sliding-top a.sliding-top-control img {
    position: absolute;
    bottom: calc(var(--top-size) / 5);
    width: 100px;
    left: calc(88% - 25px);
    border-radius: unset;
    box-shadow: none;
    margin-top: 1rem;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: var(--colorw);
/*    background-color: rgba(056, 114, 191, 0.6);*/
}

.nav-menu {display: none;}

.nav-menu.active {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%;
    background-color: whitesmoke;
    font-size: 2rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.nav-menu a{
    text-decoration: none;
}

.hide-open {
    cursor: pointer;
    font-size: 2.5rem;
    position: absolute;
    top: 0;
    right: 40px;
}

.box-icon-social {
    display: flex;
    position: relative;
    right: -250px;
    width: 250px;
}

.icon-social {
/*    display: flex;*/
    position: absolute;
/*    right: 0;*/
}

.lang-text {
    display: flex;
    position: absolute;
    right: 0;
}

.icon-social-img3 i{
    color: red;
}

.header-extras{
    position: absolute;
    right: 10%;
    bottom: 0;
    height: 60px;
}

.header-extras > ul > li{
    line-height: 1.8;
}

.header-extras > ul > li a.extra-link {
    transition: .3s;
/*    background-color: var(--color2);*/
    /*width: 30px;
    height: 30px;*/
    border-radius: 50%;
    display: block;
    text-align: center;
    padding: 0;
    font-size: 1.2rem;
    border: 1px solid var(--color2);
    padding: 5px 10px;
/*    color: white;*/
}

.header-extras > ul > li a.extra-link i{
    transition: .3s;
    font-size: inherit;
    color: white;
}

.header-extras > ul > li a.extra-link:hover i,
a.extra-link:not(.btn):not(.badge):active,
a.extra-link:not(.btn):not(.badge):focus
{
    color: var(--color1);
}

.header-extras .p-dropdown .p-dropdown-content, 
.header-extras .p-dropdown ul.p-dropdown-content
{
    margin-top: 1px;
    right: 0;
    padding: 0;
    min-width: 110px;
    text-align: center;
}

.title-cat span{
    font-size: 70%;
}

.product .product-rate{
    color: lightgray;
}

.product .product-rate .color-gold{
    color: #FFC300;
}

.p-dropdown a{
    color: black;
    transition: .3s;
}

.p-dropdown a:not(.btn):not(.badge):hover,
.p-dropdown a:not(.btn):not(.badge):active,
.p-dropdown a:not(.btn):not(.badge):focus
{
    color: red;
}

.p-dropdown ul.p-dropdown-content > li{
    padding: 0;
    border: 1px solid #C1C1C1;
    margin-top: -1px;
}

.p-dropdown ul.p-dropdown-content > li:first-child{
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.p-dropdown ul.p-dropdown-content > li:last-child{
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}


/* Lang */

.lang-dropdown {
    position: fixed;
    display: inline-block;
    right: 20px;
/*    padding: 15px 5px;*/
    z-index: 300;
}
.lang-btn {
    padding: 5px;
    border: 1px solid #011463;
    border-radius: 5px;
    cursor: pointer !important;
    background-color: var(--colorw);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    right: 55px;
    top: -50px;
    z-index: 1;
}
.lang-dropdown-content a {
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: black;
}
.lang-dropdown-content a img {
    margin-right: 10px;
    width: 20px;
}
.lang-dropdown-content a:hover {
    background-color: #f0f0f0;
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

/* sticky icon */

.mf-social-side-list {
    position: fixed;
    top: 70vh;
    right: 1.5rem;
    z-index: 1000;
}
.mf-social-side-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
   padding: 0;
   margin:0
}
.mf-social-side-list ul li a {
    color: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
/*    margin-top: 5px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.mf-social-side-list ul li a:hover {
    opacity: .9;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}
.mf-social-side-list ul li a[href*='facebook'] {
    background: #3b5998;
}
.mf-social-side-list ul li a[href*='instagram'] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);;
}
.mf-social-side-list ul li a[href*='youtube'] {
    background: #c4302b;
}
.mf-social-side-list ul li a[href*='linkedin'] {
    background: #0077B5;
}
.mf-social-side-list ul li a[href*='twitter'] {
    background: #00acee;
}
.login-box-icon, .cart-box-icon {
    /* color: #011463; */
    padding: 5px;
    border: 1px solid #011463;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background-color: var(--colorw);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.p-dropdown .p-dropdown-content, .p-dropdown ul.p-dropdown-content {
    top: -60px;
    right: 50px;
}


/* banner */

.banner-area{
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* search */

.search-area{
    /*margin-top: 40px;*/
    background-color: var(--color4);
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

input:not([type="checkbox"]):not([type="radio"]){
    font-size: inherit;
}

#scrollTop{
    right: 90px;
}

.search-area input{
    border-radius: 15px;
    border: none;
    /*box-shadow: 1px 4px 4px darkgrey;*/
    /*outline: 1px solid gray;*/
    outline: none;
    transition: .3s;
    font-size: 1.2rem;
}

.search-area input:focus{
    box-shadow: 1px 4px 4px darkgrey;
}

.search-btn{
    background-color: var(--color1);
    /*width: 100%;*/
    border-radius: 15px;
    border: 1px solid gray;
    color: gray;
    transition: .3s;
    padding: 0px 25px;
}
.search-btn:hover{
    border: 1px solid black;
    color: black;
    box-shadow: 1px 4px 4px darkgrey;
}

.flickity-button:hover{
    background-color: var(--color2);
}

.pd-cat-tag{
    color: white;
    display: inline-block;
    background-color: var(--color7);
    padding: 2px 15px;
    font-weight: 300;
    border-radius: 5px;
}

.product .product-image > a{
    position: absolute;
}

.carousel .polo-carousel-item img{
    object-fit: cover;
}

.product .product-image:not(.main-product){
    padding-bottom: 100%;
}

.product .product-title{
    max-width: 100%;
}

.product .product-title a{
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    word-break: break-word;
    font-size: 17px !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    margin-bottom: 3px !important;
}

.product .product-category{
    opacity: .7;
    line-height: 1;
    height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product--price {
    height: 48px;
    overflow: hidden;
}

.product .product-rate {
    float: unset;
    display: inline-block;
    height: auto;
    background-color: var(--color3);
    padding: 4px 5px;
    line-height: 0px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-rate i {
    font-size: .7rem;
    line-height: 11px;
}

.row.add-cart-area{
    margin-left: -3px;
    margin-right: -3px;
}

.row.add-cart-area > div{
    padding-right: 5px;
    padding-left: 5px;
}

button.btn-add-cart{
    width: 100%;
    border: none;
    border-radius: 5px;
    text-align: center;
    line-height: 1.5;
    padding: 1px 0;
}

.btn-add-cart.btn-add-piece{
    color: var(--colorw);
    background-color: var(--color2);
    padding: 10px 15px;
    border-radius: 25px;
    width: 150px;
}

.btn-add-cart.btn-add-pack{
    color: white;
    background-color: red;
}

.btn-see-all{
    color: white;
    display: inline-block;
    background-color: var(--color3);
    padding: 2px 15px;
    font-weight: 300;
}

.btn-see-all2{
    color: white;
    display: inline-block;
    background-color: var(--color7);
    padding: 5px 25px;
    font-weight: 300;
    border-radius: 10px;
}

.add-int-area{
    display: flex;
    margin-left: 2px;
}

.add-int-area > div{
    width: 30px;
    height: 30px;
    outline: 1px solid gray;
    text-align: center;
    line-height: 30px;
}

.add-int-area .add-cart-sign{
    cursor: pointer;
    transition: .3s;
}

.add-int-area .add-cart-sign:hover,
.add-int-area .add-cart-sign:focus,
.add-int-area .add-cart-sign:active
{
    background-color: var(--color7);
    color: var(--colorw);
}

.carousel:hover .flickity-button.previous{
    left: -20px;
}
.carousel:hover .flickity-button.next{
    right: -20px;
}

/* footer */

#footer {
    background-color: transparent;
/*    display: none;*/
}

#footer a:not(.btn){
    color: inherit;
}

.footer-top-content{ background-color: white; }

.footer-top-icon {
    /*background-color: red;*/
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 1.5;
    margin-left: 10px;
}

.icon-footer {
    padding: 10px;
    border: 1px solid var(--colorw);
    border-radius: 50px;
}

.footer-box1{
    padding-right: 10rem;
}

.footer-text-box2 p{
    font-weight: 500;
    color: #d77708 !important;
}

.fb-top-icon{
    color: white;
    background-color: #1877F2;
}

.line-top-icon{
    color: white;
    background-color: #43C506;
}

.phone-top-icon{
    color: white;
    background-color: black;
}

.footer-icon-area{
    width: 50px;
}

#copyrights {
    background-color: #b0b6b6;
    padding: 10px 5px;
}

.col_half {
    color: var(--colorw);
}

.fb-icon {
    background-color: black;
    color: var(--color1);
    width: 28px;
    height: 28px;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4;
    border-radius: 2px;
}

.line-yellow {
    border: 3px solid var(--color1);
    border-radius: 5px;
}

.cart-num-area{
    position: absolute;
    right: -4px;
    top: -3px;
    background: red;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    z-index: 1;
    line-height: 14px;
}

.cart-num-area[cart="0"]{
    display: none;
}

[data-notify="container"].alert.alert-info{
    background-color: var(--color7);
    border-color: white;
}

.bottom-nav {
    display: flex;
    width: 100%;
/*        z-index: 1000;*/
    justify-content: center;
}

.bottom-nav a { 
    color: var(--colorw); 
    text-align: center; 
    padding: 20px 20px 0 20px;
    text-decoration: none; 
    font-size: 18px;
    border-radius: 20px;
    width: 200px;
} 

.bottom-nav a:hover { 
    background-color: transparent; 
} 

.bottom-nav a .icon { 
    margin-right: 8px; 
}

.icon-menu-img {
    max-width: 100%;
    border: 3px solid var(--colorw);
    border-radius: 50px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #011463;
}

.text-menu p{
    color: var(--colorw);
/*        color: var(--colorb);*/
    font-weight: 600;
}

.icon-menu-img img{
    width: 30px;
}

.back-pd, .back-blog {
    position: fixed;
    z-index: 5000;
}

.back-pd-menu, .back-blog {
    display: inline-block;
    padding: 10px 20px;
    margin: 1rem;
    font-weight: bold;
    color: var(--colorw);
    background: #1e3a8a; /* สีฟ้าเข้ม */
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 5px 5px 0 #ffffff;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.back-pd-menu:hover, .back-blog:hover{
    color: var(--colorw) !important;
    box-shadow: 2px 2px 0 #ffffff;
    transform: translate(2px, 2px);
}

.pdpa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.pdpa-banner p {
    color: var(--colorw);
    margin: 0;
    font-size: 14px;
}

.pdpa-banner a {
    color: #f1c40f;
    text-decoration: underline;
}

.pdpa-banner button {
    background: #fff;
    color: #1e3a8a;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
}

@media (min-width: 3840px) {
    
}

@media (min-width: 2560px) {
    .icon-menu-img img {
        width: 65px;
    }

    .bottom-nav a {
        width: 300px;
    }

    .text-menu p {
        font-size: 1.5rem;
    }
}

@media (min-width: 1920px) {
    .icon-menu-img img {
        width: 50px;
    }

    .icon-menu-img {
        padding: 15px;
    }
}

@media (min-width: 1600px) {
    .icon-menu-img img {
        width: 40px;
    }
}

@media (min-width: 1440px) {
    
}

@media (max-width: 1366px) {

}

@media (min-width: 1200px) {
    
}

@media (max-width: 1199px) {
    .mf-social-side-list {
        top: 70vh;
        right: 1.5rem;
    }

    .lang-dropdown {
        top: 90vh;
        right: 1.5rem;
    }

    /*#Sliding-top a.sliding-top-control img {
        left: calc(88% - 25px);
    }*/
}

@media (max-width: 1024px) {
    #header #logo{
        top: 5px;
        width: 80px;
        left: calc(50% - 45px);
    }
    .mainMenu-open #header #mainMenu{
        overflow: unset;
    }
    #mainMenu > .container{
        border: 1px solid var(--color4);
    }
    #mainMenu nav > ul > li.current > a,
    #mainMenu nav > ul > li:hover a{
        color: var(--color6);
    }

    #Sliding-top a.sliding-top-control img {
        left: calc(85% - 25px);
    }

    .mf-social-side-list {
        top: 50vh;
        right: 1.5rem;
    }
    .lang-dropdown {
        top: 70vh;
        right: 1.5rem;
    }

    .icon-menu-img img {
        width: 30px;
    }
    
}

@media (max-width: 991px) {

}

@media (max-width: 768px) {
    #Sliding-top a.sliding-top-control img {
        left: calc(80% - 25px);
    }
}

@media (max-width: 767px) {
    #Sliding-top a.sliding-top-control img {
        left: calc(85% - 25px);
    }
    
    #footer .footer-content {
        padding: 60px 0 40px 0;
    }

    .footer-box1 {
        padding-right: unset;
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    #Sliding-top a.sliding-top-control img {
        left: calc(80% - 5px);
        width: 85px;
    }

    .mf-social-side-list {
        top: 60vh;
        right: 1rem; 
    }

    .lang-dropdown {
        top: 50vh;
        right: 1rem;  
    }
}

@media (max-width: 480px) {
    #Sliding-top a.sliding-top-control img {
        left: calc(78% - 25px);
    }

    .grid-5-columns .grid-item{
        width: 50%;
    }

    .lang-dropdown {
        top: 26vh;
    }

    .mf-social-side-list {
        top: 36vh;
    }

    .bottom-nav {
        margin-top: 3rem;
    }
}

@media (max-width: 430px) {
    #Sliding-top a.sliding-top-control img {
        left: calc(75% - 25px);
        width: 75px;
    }

    .mf-social-side-list {
        top: 45vh;
        right: 1rem;
    }

    .lang-dropdown {
        top: 38vh;
    }

    .bottom-nav {
        margin-top: 3rem;
        max-width: 100%;
    }

    .bottom-nav a {
        padding: 10px 10px 0 10px;
    }

    .text-menu p {
        font-size: 10px;
    }
}

@media (max-width: 425px) {
    .mf-social-side-list ul li a {
        width: 25px;
        height: 25px;
        line-height: 25px;
    }

    .mf-social-side-list {
        top: 42vh;
        right: 1rem;
    }

    .lang-dropdown {
        top: 35vh;
        right: 1rem;
        font-size: 12px;
    }
    .lang-dropdown img{
        width: 15px;
    }
}

@media (max-width: 413px) {
    .lang-dropdown {
        top: 45vh;
        right: -5px;
    }

    .mf-social-side-list {
        top: 28vh;
        right: 0.5rem;
    }

    .lang-dropdown {
        right: 3px;
    }

    .bottom-nav {
        margin-top: 6rem;
    }
}

@media (max-width: 412px) {

    .bottom-nav {
        margin-top: 4rem;
    }
}

@media (max-width: 375px) {
    .bottom-nav a {
        padding: 10px 8px !important;
    }

    .icon-menu-img img {
        width: 20px !important;
    }

    .icon-menu-img {
        padding: 5px 10px !important;
        margin-bottom: 5px !important;
    }
}

@media (max-width: 360px) {
    
}

@media (max-width: 320px) {
    
}


.w-h-40{
    width: 40px;
    height: 40px;
}

.outline * {
    outline: 1px solid gray;
}

.opct075{
    opacity: .75;
}

.w-100-no-im{
    width: 100%;
}

.mw-250px{
    max-width: 250px;
}

.mw-300px{
    max-width: 300px;
}

.mw-500px{
    max-width: 500px;
}

.mw-700px{
    max-width: 700px;
}

.opct050{
    opacity: .50;
}

.min-w-300{ min-width: 300px; }

.shadow2{
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.line2{
    border-top: 1px solid #011463;
}

.bg-color2{
    background-color: var(--color2);
}


.bg-color10{
    background-color: var(--color10);
}

.lh-1{
    line-height: 1;
}

.lh-2{
    line-height: 2;
}

.lh-3{
    line-height: 3;
}

.fix-line{
    display: -webkit-box;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-1{ -webkit-line-clamp: 1; }
.line-2{ -webkit-line-clamp: 2; }
.line-3{ -webkit-line-clamp: 3; }