/* Floating Store Switcher Button Styles */

.floating-store-switcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

.store-switcher-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.store-switcher-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-switcher-trigger:active {
    transform: translateY(-1px);
}

.store-switcher-trigger .store-code {
    font-weight: 700;
    font-size: 12px;
}

.store-switcher-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.store-switcher-trigger.open i {
    transform: rotate(180deg);
}

.store-switcher-dropdown {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.store-switcher-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.store-switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.close-dropdown {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-dropdown:hover {
    color: #333;
}

.store-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-item {
    border-bottom: 1px solid #f5f5f5;
}

.store-item:last-child {
    border-bottom: none;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.store-link:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.store-flag {
    width: 32px;
    height: 24px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.store-name {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-store-switcher {
        bottom: 60px;
        right: 10px;
    }

    .store-switcher-trigger {
        width: 56px;
        height: 56px;
        font-size: 12px;
    }

    .store-switcher-dropdown {
        min-width: 180px;
        bottom: 65px;
    }
}

@media (max-width: 480px) {
    .floating-store-switcher {
        bottom: 50px;
        right: 5px;
    }

    .store-switcher-trigger {
        width: 52px;
        height: 52px;
        font-size: 11px;
    }

    .store-switcher-dropdown {
        min-width: 160px;
    }

    .store-link {
        padding: 10px 12px;
        font-size: 12px;
    }

    .store-flag {
        width: 28px;
        height: 21px;
    }
}
