@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&family=Prompt&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* font-family: 'Baloo Bhaina 2', sans-serif; */
    font-family: 'Prompt', sans-serif;
    
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ขนาดเหรียญ */
.logo-point {
    width: 16px;
    height: 16px;
}

/* top nav */
nav {
    padding-top: 1.5rem;
    background: #fff;
}

.nav-con {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem 0 1rem;
    align-items: center;
}

.nav-con-left{
    display: flex;
    align-items: center;
}

.nav-con-left h3{
    padding-left: 0.3rem;
}

.nav-con-right {
    /* display: flex;
    padding: 0.5rem; */
    display: inline-flex;
    padding: 4px 8px;
    align-items: center;
    gap: 8px;
}

/* slide Banner */
.mySlides {
    display: none;
}

.mySlides img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* The dots/bullets/indicators */
.action {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.dot {
    height: 3px;
    width: 30px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 25px;
    display: inline-block;
    transition: background-color 0.8s ease;
}

.active {
    background-color: #fff;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}

/* category*/
.category-head {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem;
    font-size: 18px;
}

.category-head-right a {
    display: flex;
    text-decoration: none;
    color: #757575;
}

.category-head-right h3 {
    margin-left: 0.3rem;
    color: #757575;
    font-size: 16px;
    font-weight: 400;
}

.category-con {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

@media only screen and (max-width: 480px) {
    .category-con {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 0.5rem;
        row-gap: 1rem;
        margin: 1rem;
    }
}

.category-img {
    display: flex;
    padding: 1.5rem;
    background: #FFFBEE;
    border-radius: 100%;
}

.category-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 12px;
}

.category-title {
    text-align: center;
    margin-top: 5px;
}

/* main product */
main{
    margin-bottom: 6rem;
}

.product-head {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.product-head-right a {
    display: flex;
    text-decoration: none;
    color: #757575;
}

.product-head-right h3 {
    margin-left: 0.3rem;
    color: #757575;
    font-size: 16px;
    font-weight: 400;
}

.product-con {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 0.5rem;
    row-gap: 1rem;
    margin: 1rem;
}

@media only screen and (max-width: 480px) {
    .product-con {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 0.5rem;
        row-gap: 1rem;
        margin: 1rem;
    }
}

.product-item {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 0.3rem;

}

.product-item a {
    text-decoration: none;
    color: #000;
}

.product-img img {
    width: 100%;

}

.product-detail {
    font-size: 16px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
}

.product-left {
    display: flex;
    padding-right: 0.3rem;
    font-size: 18px;
    color: #FF4343;
    font-weight: 800;
    align-items: baseline;
}

.product-left span {
    padding-left: 0.3rem;
}

.product-right {
    font-size: 12px;
    color: #757575;
}

/* footer menu */
footer {
    position: fixed;
    z-index: 1030;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    align-items: center;
    text-decoration: none;
}

.footer-menu {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-items: center;

}

.btn-image {
    padding: 0.3rem 1rem;
}

.btn-img {
    background-color: #FFC600;
    border-radius: 50%;
    padding: 0.5rem;
    /* position: relative; */
}

.btn-image a {
    text-decoration: none;
}

