@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans Thai", sans-serif;
    text-decoration: none;
}

body {
    background-color: rgb(235, 235, 235);
}

header {
    width: 100%;
    height: 6.5vw;
    position: fixed;
    z-index: 10;
}

@media (max-width: 480px) {
    header {
        width: 100%;
        height: auto;
        position: fixed;
        z-index: 10;
    }

}

.header-A {
    width: 100%;
    height: 1.5vw;
    background-color: #194786;
    box-shadow: 0vw 4vw 0.4vw 1vw #194786;
}

@media (max-width: 480px) {
    .header-A {
        height: 4vw;
    }

}

.header-container {
    width: 70%;
    height: 1.3vw;
    background-color: transparent;
    margin: 0 auto;
    font-size: 0.75vw;
    display: flex;
    padding-left: 0.6vw;
}

@media (max-width: 480px) {
    .header-container {
        width: 100%;
        height: 100%;
        font-size: 1.7vw;
        display: flex;
        padding-left: 2vw;
        padding-top: 0.5vw;
    }

}

.header-first {
    width: auto;
    height: 1.3vw;
    background-color: transparent;
    padding-top: 0.15vW;
    display: flex;
    color: white;
}

.icon-head-line {
    font-size: 0.9vw;
    color: white;
    margin-left: 0.5vw;
    margin-top: 0.1vw;
}

@media (max-width: 480px) {
    .icon-head-line {
        font-size: 1.8vw;
        margin-top: 0.18vw;
        margin-left: 1.5vw;
    }

}

.icon-head-face {
    font-size: 1vw;
    color: white;
    margin-left: 0.5vw;
    margin-top: 0.05vw;
}

@media (max-width: 480px) {
    .icon-head-face {
        font-size: 2vw;
        margin-left: 1.5vw;
        margin-top: 0.15vw;
    }

}

.icon-head-line:hover,
.icon-head-face:hover {
    font-size: 1.1vw;
}

.header-icons {
    width: 70%;
    height: 1.3vw;
    background-color: transparent;
    display: flex;
    padding-top: 0.15vW;
    padding-left: 0.15vW;
}

.top-icons {
    margin-right: 0.5vw;
    margin-top: 0.10vw;
}

.top-icons:hover {
    margin-top: 0.2vw;
}

.header-lang {
    width: 6%;
    height: 1.5vw;
    display: flex;
    background-color: transparent;
    padding-top: 0.2vW;
}

.top-lang {
    margin-right: 0.3vw;
    margin-top: 0.08vw;
}

.lang {
    color: white;
}

.lang:hover {
    padding-top: 0.1vW;
    color: yellow;
}

.langEN {
    color: white;
    background-color: transparent;
}

.langEN:hover {
    font-size: medium;
    color: yellow;
}

.header-B {
    width: 100%;
    height: 5vw;
    background-color: whitesmoke;
}

@media (max-width: 480px) {
    .header-B {
        height: auto;
        box-shadow: 0vw 0.5vw 1vw 0.1vw #194786;
    }

}

.B-container {
    width: 70%;
    height: 5vw;
    background-color: transparent;
    margin: 0 auto;
    display: flex;
}

@media (max-width: 480px) {
    .B-container {
        width: 100%;
        height: 10vw;
        display: flex;
    }

}

.B-logo {
    width: 20%;
    height: 5vw;
    background-color: transparent;
    padding: 0.15VW;
}

@media (max-width: 480px) {
    .B-logo {
        width: 15%;
        height: 10vw;
        padding-top: 2.5VW;
        padding-left: 1.5vw;
    }

}

.B-container-2 {
    width: 80%;
    height: 5vw;
    background-color: transparent;
}

@media (max-width: 480px) {
    .B-container-2 {
        width: 85%;
        height: 10vw;
    }

}

.B-contop {
    width: 100%;
    height: 2.4vw;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 1.5vw;
}

@media (max-width: 480px) {
    .B-contop {
        height: 5vw;
    }

}

.search-bar {
    width: 25%;
    height: 1.5vw;
    background-color: white;
    display: flex;
    border-radius: 1vw;
    overflow: hidden;
    border: solid 0.15vw rgb(134, 134, 134);
}

@media (max-width: 480px) {
    .search-bar {
        width: 50%;
        height: 3vw;
        border-radius: 1.5vw;
        border: solid 0.1vw rgb(134, 134, 134);
    }

}

.search-type {
    width: 83%;
    height: 100%;
    margin-left: 5%;
    font-size: 0.7vw;
    border: none;
    outline: none;

}

@media (max-width: 480px) {
    .search-type {
        margin-left: 2vw;
        font-size: 1.2vw;
    }

}

.search-icon {
    width: 10%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-icon img {
    height: 70%;
    width: 70%;
    object-fit: cover;
}

@media (max-width: 480px) {
    .search-icon img {
        height: 1.8vw;
        width: auto;
    }

}

.B-line {
    width: 100%;
    height: 0.08vw;
    background-color: gray;
}

@media (max-width: 480px) {
    .B-line {
        height: 0.2vw;
    }

}

.B-condown {
    width: 100%;
    height: 2.5vw;
    background-color: transparent;
}

@media (max-width: 480px) {
    .B-condown {
        height: 4vw;
    }

}

.B-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9vw;
    padding-top: 0.5vw;
}

@media (max-width: 480px) {
    .B-menu {
        font-size: 1.6vw;
        padding-top: 1.1vw;
    }

}

#li-menu,
.li-1,
.B-dropdown-link {
    list-style: none;
    display: flex;
    position: relative;
}

#li-menu a,
.li-1 a,
.B-dropdown-link a {
    padding: 0.1vw 1.5vw;
    color: black;
}

#li-menu:hover,
.li-1:hover,
.B-dropdown-link:hover {
    background-color: rgb(230, 229, 229);
    border-radius: 4px;
    transition: 0.2s;
}

#li-menu a:hover,
.li-1 a:hover,
.B-dropdown-link a:hover {
    color: #105ac2;
}

.B-dropdown {
    padding: 0;
    display: flex;
    position: absolute;
    display: block;
    background-color: white;
    top: 135%;
    width: 10vw;
    border-radius: 4px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    font-size: 0.9vw;
    box-shadow: 0.3vw 0.3vw 0.5vw darkcyan;
}

.B-dropdown-link:hover .B-dropdown {
    opacity: 1;
    visibility: visible;
}

nav {
    width: 100%;
    height: auto;
}

.nav-body {
    width: 70%;
    height: 92VW;
    background-color: white;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .nav-body {
        width: 98%;
        height: auto;
    }

}

.nav-head {
    width: 100%;
    height: 7.1VW;
}

@media (max-width: 480px) {
    .nav-head {
        height: 16VW;
    }

}

.nav-slide {
    width: 100%;
    height: 23vw;
    background-color: transparent;
    display: flex;
}

@media (max-width: 480px) {
    .nav-slide {
        height: 32vw;
    }

}

.slideshow {
    position: relative;
    width: 70%;
    height: 22VW;
    margin: 0 auto;
    background-color: transparent;
    margin-left: 0.5vw;
    box-shadow: 0.3vw 0.3vw 0.2vw #194786;
}

@media (max-width: 480px) {
    .slideshow {
        height: 30VW;
        box-shadow: 0.6vw 0.6vw 0.5vw #194786;
    }

}

.item-A {
    max-width: 100%;
    max-height: 22VW;
    border-radius: 0.0vw;
    overflow: hidden;
}

@media (max-width: 480px) {
    .item-A {
        max-height: 30VW;
    }

}

.item-A img {
    width: 100%;
    height: 22VW;
    object-fit: cover;
}

@media (max-width: 480px) {
    .item-A img {
        width: 100%;
        height: 30VW;
    }

}

.slideshow .slick-prev {
    position: absolute;
    top: 10vw;
    left: 1vw;
    z-index: 5;
    font-size: 1.3vw;
    cursor: pointer;
}

@media (max-width: 480px) {
    .slideshow .slick-prev {
        top: 14vw;
    }

}

.slideshow .slick-next {
    position: absolute;
    top: 10vw;
    right: 1vw;
    z-index: 5;
    font-size: 1.3vw;
    cursor: pointer;
}

@media (max-width: 480px) {
    .slideshow .slick-next {
        top: 14vw;
    }

}

.slideshow .slick-arrow {
    width: 2vw;
    height: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15%;
    border: none;
    opacity: 0.8;

}

.slideshow .slick-dots {
    position: absolute;
    bottom: 0.5vw;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow .slick-dots li {
    list-style: none;
    margin: 0 0.5vw;
    width: 2.5vw;
    height: 0.5vw;
    background-color: white;
    border-radius: 10%;
    opacity: 0.8;
    cursor: pointer;
}

.slideshow .slick-active {
    background-color: yellow !important;
}

.s-profile {
    width: 30%;
    height: 22vw;
    text-align: center;
    font-size: 0.9vw;
    background-size: cover;
    padding-top: 2vw;
}

@media (max-width: 480px) {
    .s-profile {
        height: auto;
        font-size: 1.4vw;
    }

}

.s-profile img {
    width: 5vw;
    height: 5vw;
}

@media (max-width: 480px) {
    .s-profile img {
        width: 9vw;
        height: 9vw;
    }

}

.paint-category {
    width: 100%;
    height: 13vw;
    background-color: #194786;
}

@media (max-width: 480px) {
    .paint-category {
        width: 100%;
        height: auto;
        background-color: #194786;
    }

}

.top-category {
    width: 100%;
    height: 3vw;
    background-color: rgb(235, 235, 235);
    text-align: center;
    font-size: 1.2vW;
    padding-top: 0.7vW;
}

@media (max-width: 480px) {
    .top-category {
        height: 5vw;
        font-size: 2.2vW;
        padding-top: 1.2vW;
    }

}

.med-category {
    width: 100%;
    height: 10vw;
    background-color: transparent;
    display: flex;
    padding-left: 2vw;
    padding-right: 2vw;
    justify-content: center;

}

@media (max-width: 480px) {
    .med-category {
        height: auto;
        padding-top: 1.5vw;
        padding-bottom: 1.5vw;
    }
}

.img-category {
    width: 14%;
    height: 10vw;
    background-color: transparent;
    text-align: center;
    font-size: 0.9vw;
    justify-items: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 0;
}

@media (max-width: 480px) {
    .img-category {
        height: auto;
    }
}

.img-category::after {
    content: '';
    width: 100%;
    height: 0%;
    position: absolute;
    background-color: rgb(235, 235, 235);
    left: 0;
    top: 0;
    transition: 0.4s;
    z-index: -1;
    border-radius: 0% 0% 10% 10%;
}

.img-category:hover::after {
    height: 92%;
    z-index: -1;
}

.img-category:hover a {
    color: #194786;
}

.img-frame {
    width: 6vw;
    height: 6VW;
    margin-left: 1.6vW;
    background-size: cover;
}

@media (max-width: 480px) {
    .img-frame {
        margin-left: 3.3vW;
    }
}

.img-c {
    width: 100%;
    display: none;
}

.img-h {
    width: 100%;
    display: block;
}

.img-category:hover .img-c {
    display: block;
}

.img-category:hover .img-h {
    display: none;
}

.img-category a {
    font-size: 1vw;
    color: white;
}

@media (max-width: 480px) {
    .img-category a {
        font-size: 1.5vw;
    }
}

.tabbody-a {
    width: 100%;
    height: 1.5vw;
    background-color: rgb(235, 235, 235);
}

@media (max-width: 480px) {
    .tabbody-a {
        height: 3vw;
    }
}


.best-sell {
    width: 100%;
    height: auto;
    display: flex;
    background-image: linear-gradient(#194cce, rgb(110, 158, 247));
}

.best-top {
    width: 25%;
    height: 15vw;
    background-color: transparent;
    background-image: url(../Pic/Frame_Bestseller_4.png);
    background-size: cover;
    color: white;
}

@media (max-width: 480px) {
    .best-top {
        height: 21vw;
    }

}

.text-ba {
    margin-left: 1.5vw;
    margin-top: 9.2vw;
    font-size: 1.3vw;
    color: #fced45;
    text-shadow: 0.2vw 0.2vw 0.15vw black;

}

@media (max-width: 480px) {
    .text-ba {
        margin-left: 1.5vw;
        margin-top: 13vw;
        font-size: 1.8vw;

    }

}

.text-bb {
    width: 100%;
    height: 3vw;
    margin-left: 3.5vw;
    margin-top: 0.3vw;
    font-size: 2vw;
    text-shadow: 0vw 0vw 0.5vw black;
}

@media (max-width: 480px) {
    .text-bb {
        margin-left: 4vw;
        margin-top: 0.3vw;
        font-size: 3vw;
    }

}

.best-slide {
    width: 75%;
    height: 15vw;
    background-color: grey;
}

@media (max-width: 480px) {
    .best-slide {
        height: 21vw;
    }

}

.product-slide {
    position: relative;
    width: 100%;
    height: 15vw;
    margin: 0 auto;
    background-color: rgb(199, 199, 199);
    padding-left: 2vw;
    padding-right: 2vw;

}

@media (max-width: 480px) {
    .product-slide {
        height: 21vw;   
    }

}

.item-p {
    width: 100%;
    height: 13vw;
    border-radius: 5%;
    margin-top: 1vw;
    background-color: transparent;
}

@media (max-width: 480px) {
    .item-p {
        height: 17vw;
        margin-top: 2vw;
    }

}

.item-imgp {
    width: 13vw;
    height: 13vw;
    background-color: rgb(199, 199, 199);
    margin-left: 1.5vw;
    border-radius: 5%;
    padding-left: 1vw;
    padding-right: 1vw;
}

@media (max-width: 480px) {
    .item-imgp {
        width: 20vw;
        height: auto;
        margin-left: 1.5vw;
        border-radius: 5%;
        padding-left: 1vw;
        padding-right: 1vw;
    }

}

.item-imgp img {
    width: 50%;
    height: auto;
    object-fit: cover;
    margin-left: 2.7vW;
    background-color: transparent;
    border-radius: 0.2vw;
}

@media (max-width: 480px) {
    .item-imgp img {
        width: 42%;
        margin-left: 4.5vW;
    }

}

.text-ps {
    width: 11vw;
    height: 6.5vw;
    text-align: center;
    margin-top: 0.7vw;
    padding-top: 0.2vw;
    background-color: whitesmoke;
    border-radius: 0.5vw;
    font-size: 0.8vw;
    color: black;
}

@media (max-width: 480px) {
    .text-ps {
        width: 100%;
        height: auto;
        margin-top: 0.7vw;
        padding: 0.5vw;
        border-radius: 0.5vw;
        font-size: 1.1vw;
    }

}

.product-slide .slick-prev {
    position: absolute;
    top: 0vw;
    left: 0vw;
    z-index: 5;
    font-size: 1.3vw;
    cursor: pointer;
}

.product-slide .slick-next {
    position: absolute;
    top: 0vw;
    right: 0vw;
    z-index: 5;
    font-size: 1.3vw;
    cursor: pointer;
}

.product-slide .slick-arrow {
    width: 2vw;
    height: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    opacity: 0.9;
    color: #194786;
}

@media (max-width: 480px) {
    .product-slide .slick-arrow {
        width: 3.5vw;
        height: 21vw;
    }

}

.tabbody-2 {
    width: 100%;
    height: 1.5vw;
    background-color: rgb(235, 235, 235);
}

.support-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    background-color: rgb(235, 235, 235);
}

.support-box-a {
    width: 32%;
    height: 20vw;
    position: relative;
    background-image: radial-gradient(rgb(6, 135, 185), rgb(179, 229, 248), rgb(3, 174, 241));
    text-align: center;
    overflow: hidden;
}

@media (max-width: 480px) {
    .support-box-a {
        height: 28vw;
    }

}

.support-box-a img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.support-box-a:hover img {
    width: 110%;
    height: 110%;
    margin: -0.5vw -1vw;
    transition: 0.3s;
}

.s-text-a {
    position: absolute;
    width: 100%;
    padding: 1vw;
    top: 31%;
    font-size: 1.7vw;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    text-shadow: 0vw 0vw 0.5vw black;
}

@media (max-width: 480px) {
    .s-text-a {
        position: absolute;
        width: 100%;
        padding: 1vw;
        top: 33%;
        font-size: 2.5vw;
        text-shadow: 0vw 0vw 1vw black;
    }

}

.nav-bottom {
    width: 100%;
    height: auto;
    display: flex;
    background-color: #194786;
}

.logo-bottom {
    width: 28%;
    height: 16vw;
    background-color: transparent;

}

@media (max-width: 480px) {
    .logo-bottom {
        height: 30vw;
    }

}

.logo-bt-1 {
    width: 100%;
    height: 14vw;
    padding-top: 3vw;
    text-align: center;
    font-size: 0.9vw;
    color: white;
}

@media (max-width: 480px) {
    .logo-bt-1 {
        width: 100%;
        height: 25vw;
        padding-top: 4vw;
        font-size: 1.5vw;
        color: white;
    }

}

.logo-bt-1 img {
    width: 4vw;
    height: 4vw;
}

@media (max-width: 480px) {
    .logo-bt-1 img {
        width: 8vw;
        height: 8vw;
    }

}

.logo-bt-2 {
    width: 100%;
    height: 2vw;
    color: white;
    font-size: 0.75vw;
    padding-left: 1vw;
    padding-top: 0.5vw;
}

@media (max-width: 480px) {
    .logo-bt-2 {
        height: auto;
        font-size: 1.2vw;
        margin-top: 1vw;
        margin-left: 1.5vw;
    }

}

.link-bottom {
    width: 18%;
    height: 15vw;
    font-size: 0.75vw;
    padding-top: 1vw;
    padding-left: 2vw;
    color: white;
}

@media (max-width: 480px) {
    .link-bottom {
        height: auto;
        font-size: 1.2vw;
        padding-top: 2vw;
        padding-left: 1vw;
    }

}

.link-bottom-2 {
    width: 13%;
    height: 15vw;
    font-size: 0.8vw;
    padding-top: 1vw;
    padding-left: 2vw;
    color: white;
}

@media (max-width: 480px) {
    .link-bottom-2 {
        height: auto;
        font-size: 1.2vw;
        padding-top: 2vw;
    }

}

.list-bt {
    display: flex;
    background-color: transparent;
}

.icon-bt {
    margin-top: 0.4vw;
    margin-right: 0.3vw;
}

.text-bt,
.text-bt2 {
    margin-top: 0.3vw;
    color: white;
}

.text-bt:hover {
    text-decoration: underline;
}