@import 'https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7/fonts/IBMPlexSansThai/IBMPlexSansThai.css';

* {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mega-menu-container {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    border-radius: 0 0 0.5rem 0.5rem;
}

.nav-item:hover .mega-menu-container {
    display: block;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-bottom-nav {
        display: none;
    }
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.category-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: scale(1.03);
}

.price-tag {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.nav-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-side {
    width: 100%;
    height: 100%;
    z-index: 50;
}

.drawer-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #f0f0f0;
}
.category-grid-pc {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background-color: #f0f0f0;
}

.category-item {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #f8fafc;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

.category-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

.side-nav {
    background-color: #f8f9fa;
    width: 80px;
}

.side-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    color: #333;
    text-align: center;
    font-size: 0.75rem;
}

.side-nav-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.25rem;
    background-color: #1d4ed8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.audio-content {
    background-color: #f0f6ff;
    border-radius: 10px;
    padding: 1rem;
}

.brand-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.brand-logo {
    max-height: 25px;
}

.accessory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.accessory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.accessory-img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.accessory-title {
    font-size: 0.8rem;
    line-height: 1.2;
}

.arrow-icon {
    color: #1d4ed8;
}
.social-button {
    transition: transform 0.3s ease-in-out;
}
.social-button:hover {
    transform: scale(1.1);
}
.contact-buttons {
    transition: all 0.3s ease;
}
.contact-button-container:hover .contact-buttons {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#loader {
    transition: opacity 0.5s ease-out;
}