@font-face {
    font-family: 'LINESeedSansTH';
    src: url('/assets/font/LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'LINESeedSansTH', sans-serif;
}

/* โลโก้ใน Navbar */
.navbar-brand img {
    max-height: 70px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 60px;
    }
}

.bi-facebook {
    color: #1877F2 !important;
}

.bi-facebook:hover {
    color: #0d65d9 !important;
    /* ฟ้าเข้มขึ้นตอน hover */
    transition: color 0.2s ease;
}

.bi-line {
    color: #06C755 !important;
}

.bi-line:hover {
    color: #05a64c !important;
    /* เขียวเข้มขึ้นตอน hover */
    transition: color 0.2s ease;
}

.bg-light,
.footer {
    background-color: rgba(251, 224, 5) !important;
    padding: 4rem 0;
}

/* a, */
.nav-link:focus,
.nav-link:hover,
.text-warning {
    color: rgba(251, 224, 5) !important;
}

.breadcrumb-item a {
    color: rgba(251, 224, 5) !important;
    text-shadow: 0 0 0 .25rem rgba(251, 224, 5, .25) !important;
}

.form-control:focus {
    background-color: #fff;
    border-color: rgba(251, 224, 5, 1) !important;
    box-shadow: 0 0 0 .25rem rgba(251, 224, 5, .25) !important;
    color: #21313c;
    outline: 0;
}

.slick-slider .slick-next:hover,
.slick-slider .slick-prev:hover {
    background-color: rgba(251, 224, 5, 1) !important;
    border-color: rgba(251, 224, 5, 1) !important;
}

.form-select:focus {
    border-color: rgba(251, 224, 5) !important;
    box-shadow: 0 0 0 .25rem rgba(251, 224, 5, .25) !important;
    outline: 0
}

.active>.page-link,
.page-link:focus,
.page-link:hover,
.page-link.active {
    background-color: rgba(251, 224, 5) !important;
    border-color: rgba(251, 224, 5) !important;
    color: #21313c !important;
}

a:hover {
    color: rgb(184, 162, 0) !important;
}

.card-product {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.card-product:hover {
    border: 1px solid rgba(251, 224, 5, 1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.product-image {
    object-fit: contain !important;
    width: 100% !important;
    height: 180px !important;
}

.product-name {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-height: 1.5em;
}

.product-name a {
    position: relative !important;
}

.product-name a:hover::after {
    content: attr(title);
    position: absolute !important;
    top: 120%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    background: rgba(0, 0, 0, 0.85) !important;
    color: #fff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
    z-index: 10 !important;
}

.thumbnails .tns-nav-active .thumbnails-img {
    border: 2px solid rgba(251, 224, 5) !important;
}

.product-category-link {
    color: rgba(251, 224, 5, 1) !important;
}

.nav-lb-tab .nav-item .nav-link.active,
.nav-lb-tab .nav-item .nav-link:hover {
    border-bottom: 2px solid rgba(251, 224, 5, 1) !important;
    color: rgba(251, 224, 5, 1) !important;
}