@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap');

:root {
    --color1: #FEC209;
    --color2: #00325B;
    --color3: #303030;
    --color4: #DDDDDD;
    --color5: #F9F9F9;
    --color6: #efb500;
    --color7: #251E61;
    --color8: #6C6C6C;
    --color9: #005296;
    --color10: #EAEAEA;
    --color11: #F9F9F9;

    --main-font: 'Kanit';
}

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

body {
    font-family: var(--main-font), sans-serif;
    font-size: 18px;
}

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;
    color: var(--black);
    /*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;
}

.bg-title {
    background-color: #338637 !important;
}

#topbar{
    display: none;
}

/* header  */

#header{
    line-height: 75px;
}

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

#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,
#footer
{
    background-color: var(--color1);
}

#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);
}

#mainMenu nav > ul > li > a {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0;
}

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

.header-extras{
    position: absolute;
    right: 40px;
    bottom: 0;
    height: 30px;
}

.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;
    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;
}

/* 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{
    background-color: var(--color1);
}

.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(--color1);
}

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

/* footer */

#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;
}

.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;
}

.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;
}

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

@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);
    }
}

@media (max-width: 991px) {

}

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

@media (max-width: 480px) {
    .grid-5-columns .grid-item{
        width: 50%;
    }
}

.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 var(--color8);
}

.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; }

.fs-1{
    font-size: 18px;
}
.bt-01{
    font-size: 18px !important;
}