/* KSASK Sono Location — Switcher */

.ksask-switcher {
    position: relative;
    display: inline-block;
}

/* Toggle button */
.ksask-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    line-height: 1;
}

.ksask-switcher__toggle:hover {
    opacity: 0.7;
}

.ksask-switcher__arrow {
    transition: transform 0.3s ease;
}

.ksask-switcher__toggle[aria-expanded="true"] .ksask-switcher__arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.ksask-switcher__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 6px 0 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    z-index: 9999;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.ksask-switcher__dropdown.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Items */
.ksask-switcher__item {
    margin: 0;
    padding: 0;
}

.ksask-switcher__link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

a.ksask-switcher__link:hover {
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

.ksask-switcher__item.is-current .ksask-switcher__link {
    font-weight: 600;
    color: #999;
    cursor: default;
}

/* Notification message */
.ksask-location-notice {
    padding: 15px;
    margin: 20px 0;
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.ksask-location-notice p {
    margin: 0;
    color: #1d2327;
}
