.spicehouse-branch-buttons {
    display: flex;
    flex-wrap: nowrap;
}

.spicehouse-branch-btn {
    padding: 4px 12px;
    color: #fff;
    min-width: 80px;
    font-family: 'Oswald';
    text-align: center;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .8);
}

.spicehouse-branch-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.spicehouse-branch-btn:last-child {
    border-right: 1px solid rgba(255, 255, 255, .8);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.spicehouse-branch-btn:hover {
    background-color: #eee;
}

.spicehouse-branch-btn.is-active {
    background-color: #222;
    border-color: #000;
    color: #fff;
}

/* Modal Styles */
.spicehouse-branch-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
}

.spicehouse-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spicehouse-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spicehouse-modal-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.spicehouse-modal-header p {
    margin: 0 0 30px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.spicehouse-modal-buttons {
    display: flex;
    gap: 10px;
}

.spicehouse-modal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.spicehouse-modal-btn.branch-phuket {
    flex: 1;
    background: linear-gradient(135deg, #c8102e 0%, #a00d25 100%);
    color: #fff;
}

.spicehouse-modal-btn.branch-khaolak {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #fff;
}

.spicehouse-modal-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.spicehouse-modal-btn .branch-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.spicehouse-modal-btn .branch-action {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .spicehouse-modal-content {
        padding: 30px 20px;
    }

    .spicehouse-modal-buttons {
        grid-template-columns: 1fr;
    }
}

/**
* Branch selector
*/
.spicehouse-branch-selector {
    display: flex;
    align-items: center;
}

.spicehouse-branch-label {
    padding-right: 5px;
    font-size: 11px;
    text-transform: uppercase;
}

/**
* Nav Menu Section
*/
.nav-menu-section .text-center {
    display: flex;
    flex-wrap: nowrap;
    /* à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸‚à¸¶à¹‰à¸™à¸šà¸£à¸£à¸—à¸±à¸”à¹ƒà¸«à¸¡à¹ˆ */
    overflow-x: auto;
    /* à¹€à¸¥à¸·à¹ˆà¸­à¸™à¹à¸™à¸§à¸™à¸­à¸™ */
    -webkit-overflow-scrolling: touch;
    /* smooth à¸šà¸™ iOS */
    gap: 8px;
    padding-left: 15px;
    padding-right: 15px;

    _mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    scroll-snap-type: x mandatory;
}

@media (min-width: 890px) {
    .nav-menu-section .text-center {
        justify-content: center;
    }
}

.nav-menu-section .text-center a {
    margin-right: 0;
    flex: 0 0 auto;
    /* fix à¸‚à¸™à¸²à¸” à¹„à¸¡à¹ˆà¹ƒà¸«à¹‰à¸¢à¸·à¸” */
    white-space: nowrap;

    scroll-snap-align: center;
}

/* à¸‹à¹ˆà¸­à¸™ scrollbar (optional) */
.button-row::-webkit-scrollbar {
    display: none;
}