/* --- TAAZA KITCHEN: MOBILE BRANCH POPUP STYLES --- */

/* Re-use existing popup styles for consistency */
/* 1. The main wrapper (hidden by default) */
#tk-branch-popup.tk-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#tk-branch-popup.tk-popup-wrapper.is-visible {
    opacity: 1;
    visibility: visible;
}

/* 2. The dark overlay */
.tk-branch-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* 3. The popup content card */
.tk-branch-popup-content {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    transform: scale(0.9);
    transition: all 0.3s ease;
}
#tk-branch-popup.tk-popup-wrapper.is-visible .tk-branch-popup-content {
    transform: scale(1);
}

/* 4. Popup Header */
.tk-branch-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}
.tk-branch-popup-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--tk-dark-brown);
}
.tk-branch-popup-close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
}

/* 5. List of Branches */
.tk-branch-popup-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    max-height: 40vh;
    overflow-y: auto;
}
.tk-branch-popup-link {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tk-text-dark);
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
}
.tk-branch-popup-link:hover {
    background: var(--tk-light-grey);
    color: var(--tk-golden);
}

/* 6. Body class to prevent scroll */
body.tk-popup-active {
    overflow: hidden;
}