* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}
a {
    text-decoration: none;
}


h1, h2, h3, h4 {
    font-family: 'Mali', cursive;
    /* color: #FFF; */
    color: #763f98;
    line-height: 1.8;

}

h2 {
    margin-bottom: 0;
}
h3 {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
}
p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
    font-family: 'sarabun';
    color: #7e7e7e;
}

.contai h4 {

    text-align: center;
    font-size: 20px;
    /* font-weight: 400; */
    /* text-align: left; */
}

nav {
    /* background: #ffd051 !important; */
    background: #dfd0e7 !important;
}
nav button {
    color: white !important;
    background: #b190c8 !important;
}
nav button:hover {
    background: #756099 !important;
}
.menu {
    /* background: #ffdc7d !important; */
    background: #ebdeef !important;
}
.menu ul {
    margin-bottom: auto;
}
img {
    width: 100%;
}
.slide {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.hero img {
    /* max-width: 700px; */
    /* max-width: 802px; */
    width: 100%;
    float: right;
    padding: 20px 10px;
}
.title {
    background: white;
    height: 100%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    border-radius: 40px 0px 0px 0px;
    box-shadow: 0px 0px 16px 1px #00000012;
    padding-left: 60px;
}
.title img {
    /* max-width: 550px; */
    max-width: 600px;
}
.home-detail {
    margin-top: -3%;
    background-color: white;
    z-index: 10;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 16px 1px #00000012;
}
.action {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.action button {
    /* background: #b190c8; */
    background: #754099;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 20px;
    font-family: 'Kanit';
    font-weight: 300;
    box-shadow: 0px 0px 0px 10px #a694944d;
}
.action button:hover {
    background: #754099;
}


.items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    /* max-width: 900px; */
    width: 90%;
    margin: auto;
}
.item {
    overflow: hidden;
    background-color: #fafafc;
    box-shadow: 0 .25rem 1.75rem rgba(30,34,40,.07); 
    border-radius: 10px;

    padding: 15px 5px 10px 5px;
}
hr {
    border-top: 1px solid #dee2e6;
}
button {
    border: 0px;
    border-radius: 2px;
    font-size: 16px;
}
input {
    outline: none;
    font-size: 16px;
    border-radius: 0px;
    border: 0px;
    background-color: white;
    padding: 5px;
}
.contai {
    max-width: 1170px;
    margin: auto;
    padding: 10px;
}
.item-description {
    padding: 8px;
}
.item-description button {
    background-color: #773f97;
    color: white;
    border-radius: 50px;
    border: 0px;
    padding: 0px 7px;
    font-size: 12px;
    font-weight: 200;
    /* width: 100%; */
}
.item-description button:hover {
    background-color: #5a2877;
}
footer {
    background-color: #f3f3fa;
    padding: 20px;
}
.footer {
    display: flex;
    justify-content: space-between;
}
.footer a, footer p {
    color: #763f98;
    text-decoration: none;
}
.footer i {
    font-size: 40px;
    color: #763f98;
}
.footer .social {
    display: flex;
    gap: 22px;
}
.bt-sticky {
    position: fixed;
    right: 38px;
    bottom: 70px;
    display: flex;
    justify-content: center;
    width: 60px;
    align-items: center;
    text-decoration: none;
    flex-direction: column;
    gap: 20px;
    z-index: 200;
}
/* .bt-sticky a {
    transition: all .3s ease-in-out;
}
.bt-sticky a:hover {
    transform: scale(1.2);
} */
.bt-sticky i {
    font-size: 40px;
    color: #828282;
}
.unit-cart {
    position: absolute;
    right: -9px;
    bottom: 23px;
    width: 28px;
    height: 28px;
    background-color: #8958a4;
    display: flex;
    border-radius: 50%;
    font-size: 18px;
    justify-content: center;
    color: white;
    align-items: center;
    font-weight: bold;
}

.grid-cart {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    min-height: 300px;
}
.list-total {
    background-color: #f3f3fa;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.list-total input {
    width: 100%;
}
.list-total button {
    background-color: #783f97;
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-size: 26px;
}
table {
    width: 100%;
}
.list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #dee2e6;
}
.list-description img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
}
.unit button {
    border-radius: 50px;
    padding: 0px 17px;
    color: black;
    font-size: 15px;
}
.unit input {
    border: 0;
    background-color: white;
    width: 38px;
    text-align: center;
    padding: 0px;
}
.unit {
    text-align: right;
    width: 130px;
}
.price {
    padding: 5px 2px;
    font-weight: 500;
    color: #773f97;
}
h3#total {
    font-weight: 500;
    font-size: 25px;
    color: #783f97;
}
.flex-b {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}
.flex {
    display: flex;
    gap: 10px;
    align-items: center;
}
.bk {
    background-color: #000000ad;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 250;
}
.items h3 {
    font-family: sarabun;
    font-size: 17px;
    text-align: center;
    line-height: 1.4;
    font-size: 14px;
}
header .contai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
.flex-content {
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: #fbf9f0;
    padding: 10px;
    border-radius: 10px;
    max-width: 900px;
    margin: 10px auto;
}
div#list-box {
    padding: 3px;
}
.nav {
    justify-content: center;
}
.cate-cart {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    padding-bottom: 30px;
}
.cate-cart a {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* border-radius: 10px;
    box-shadow: 0 0.25rem 1.75rem rgb(30 34 40 / 7%);
    padding: 5px; */
    transition: all .3s ease-in-out;
}
.cate-cart a:hover {
    transform: scale(1.05);
}
/* .cate-cart img {
    width: 100px;
} */
p.item-price {
    font-weight: bold;
    color: #783f97;
    font-size: 16px;
}
ul#myTab {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr  1fr 1fr 1fr;
}
.nav-link {
    width: 100%;
    height: 65px;
    font-size: 18px;
}
button#categorys1.active {
    background-color: #fcd8d4;
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}
button#categorys2.active {
    background-color: #b0dfdb;
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}
button#categorys3.active {
    background-color: #ffeabb;
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}
button#categorys4.active {
    background-color: #d8f1ad;
    
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}
button#categorys5.active {
    background-color: #b4daff;
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}
button#categorys6.active {
    background-color: #d5d2e9;
    box-shadow: 5px -4px 6px 0px rgb(30 34 40 / 7%);
}






div#myTabContent .contai {
    box-shadow: 0px 0px 6px 0px rgb(30 34 40 / 7%);
    border-radius: 10px;
    overflow: hidden;
}
.nav-link.active {
    border: 0px;
}
.nav-tabs {
    border-bottom: 0px;
}
.nav-tabs .nav-link {
    color: #5a2877;
    font-size: 22px;
}
.cate-cart {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.cate-cart p {
    font-size: 22px;
    font-family: 'Kanit';
    font-weight: 500;
    color: dimgrey;
}

.act {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    min-height: 100%;

    background: #00000082 !important;
    z-index: 150;
    padding: 20px 10px;
}
.action button {
    animation: pulse 2s infinite 1s cubic-bezier(0.25, 0, 0, 1);
    box-shadow: 0 0 0 0 #312339b8;
}
.detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* grid-template-columns: 1fr; */
    gap: 15px;
    padding: 5px;
}
.img-category {
    border-radius: 10px;
}
.morePrice {
    padding: 0 0 0 5px;
    border-radius: 4px;
    background-color: white;
    border: solid 1px #773f97;
    font-size: 14px; 
    max-width:  70px;
}
@keyframes pulse {
    to {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); 
    }
}
@media (max-width: 900px) {

    .items {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .grid-cart {
        grid-template-columns: 1fr;
    }
    .cate-cart {
        grid-template-columns: 1fr 1fr;
    }
    .none {
        display: none;
    }
}
@media (max-width: 700px) {
    .items {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .nav-link {
        padding: 0px;
        font-size: 14px;
    }
    .flex-content {
        display: block;
    }
    .morePrice {
        max-width: 65px;
    }
}
@media (max-width: 500px) {

   
.item-description button {
    padding: 5px 17px;

}

.item-description p {
    text-align: center;

}


.contai h4 {
    /* text-align: center; */
    text-indent: 5%;
    text-align: left;
    font-size: 18px;
    /* font-weight: 400; */
}

    .items h3 {
      
        font-size: 19px;
      
    }


    .menu a {
        display: none;
    }
    .detail {
        grid-template-columns: 1fr;
    }
    .footer {
        display: block;
    }
    .nav-link {
        height: 45px;
    }
    .nav-tabs .nav-link {
        font-size: 18px;
    }
    ul#myTab {
        padding: 8px 5px 0px 5px !important;
    }
    .items {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .slide {
        grid-template-columns: 1fr;
    }
    .title {
        padding-left: 0;
    }
    .title img {
        padding-right: 0%;
        padding-left: 10%;
    }
    ul#myTab {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}
@media (max-width: 400px) {
    .nav-tabs .nav-link {
        font-size: 16px;
    }
    .nav-link {
        height: 40px;
    }
}