/*
|--------------------------------------------------------------------------
| Global
|--------------------------------------------------------------------------
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Noto Sans Thai',sans-serif;
    background:#f8f9fa;
    color:#333;
    overflow-x:hidden;
    line-height:1.8;
}

a{
    text-decoration:none;
    transition:0.3s;
}

img{
    max-width:100%;
    height:auto;
}

ul{
    margin:0;
    padding:0;
    list-style:none;
}

/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
*/

.section{
    padding:80px 0;
}

.section-title{
    font-size:36px;
    font-weight:700;
    margin-bottom:40px;
}

.container{
    max-width:1320px;
}

/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.card{
    border:none;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    border-radius:12px;
}

.card:hover{
    transform:translateY(-3px);
    transition:.3s;
}

/*
|--------------------------------------------------------------------------
| Button
|--------------------------------------------------------------------------
*/

.btn-main{
    background:#0d6efd;
    color:#fff;
    border:none;
}

.btn-main:hover{
    background:#0b5ed7;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| Category Menu
|--------------------------------------------------------------------------
*/

.category-menu{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;

    margin-bottom:40px;
}

.category-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 20px;

    border:2px solid #198754;

    border-radius:50px;

    background:#ffffff;

    color:#198754;

    font-size:15px;
    font-weight:600;

    transition:.3s;
}

.category-btn:hover{

    background:#198754;

    color:#ffffff;

    transform:translateY(-2px);

}

.category-btn.active{

    background:#198754;

    color:#ffffff;

}
.product-card{

    background:#fff;

    border:1px solid #ddd;

    border-radius:8px;

    overflow:hidden;

    height:100%;

    transition:.3s;

    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.product-card:hover{

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.product-card a{

    text-decoration:none;

    color:inherit;

    display:block;
}

.product-card-image{

    overflow:hidden;
}

.product-img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;
}

.product-card-body{

    padding:15px;
}

.product-title{

    font-size:18px;

    font-weight:700;

    color:#222;

    margin-bottom:8px;

    line-height:1.4;
}

.product-category{

    font-size:14px;

    color:#666;

    margin-bottom:5px;
}

.product-short-detail{

    font-size:14px;

    color:#444;

    line-height:1.6;

    min-height:50px;

    margin-bottom:10px;
}

.product-price{

    color:#0057ff;

    font-size:28px;

    font-weight:700;

    margin-bottom:5px;
}

.product-brand{

    font-size:15px;

    color:#444;
}
/*
|--------------------------------------------------------------------------
| Section Bar
|--------------------------------------------------------------------------
*/

.section-bar{

    position:relative;

    margin-bottom:30px;

    padding-bottom:15px;

    border-bottom:2px solid #e5e5e5;
}

.section-bar span{

    display:inline-block;

    font-size:36px;

    font-weight:700;

    color:#222;

    position:relative;

    padding-bottom:12px;
}

.section-title-wrap{

    margin-bottom:30px;

    border-left:6px solid #198754;

    padding-left:15px;
}

.section-title-wrap h2{

    margin:0;

    font-size:34px;

    font-weight:700;
}
.contact-line-qr img{
    width:180px;
    height:auto;
}

@media(max-width:991px){

    .product-img{

        height:180px;
    }

    .product-title{

        font-size:16px;
    }

    .product-price{

        font-size:22px;
    }

}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .section{
        padding:50px 0;
    }

    .section-title{
        font-size:28px;
    }

}
/*
|--------------------------------------------------------------------------
| Carousel
|--------------------------------------------------------------------------
*/

.carousel{
    overflow:hidden;
}

.carousel-item img{
    width:100%;
    height:550px;
    object-fit:cover;
}

.carousel-indicators button{
    width:12px;
    height:12px;
    border-radius:50%;
}

@media(max-width:991px){

    .carousel-item img{
        height:220px;
    }

}