/* Store Switcher with Flags - Desktop & Mobile Styles */

/* General styles for store switcher with flags */
.store-switcher-with-flags .switcher-trigger,
.store-switcher-with-flags .switcher-option a {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
}

.store-switcher-with-flags .switcher-trigger span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Flag image styles */
.store-switcher-with-flags .flag-img {
    vertical-align: middle;
    max-height: 18px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Store name styles */
.store-switcher-with-flags .store-name {
    vertical-align: middle;
    line-height: 1.2;
    font-weight: 500;
}

/* Dropdown styles */
.store-switcher-with-flags .switcher-dropdown {
    min-width: 180px;
}

.store-switcher-with-flags .switcher-option a {
    padding: 10px 15px;
    transition: background-color 0.2s ease;
}

.store-switcher-with-flags .switcher-option a:hover {
    background-color: #f5f5f5;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .store-switcher-with-flags .flag-img {
        max-height: 16px;
    }
    
    .store-switcher-with-flags .switcher-trigger,
    .store-switcher-with-flags .switcher-option a {
        gap: 6px;
    }
    
    .store-switcher-with-flags .switcher-dropdown {
        min-width: 150px;
    }
    
    .store-switcher-with-flags .switcher-option a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .store-switcher-with-flags .store-name {
        font-size: 14px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .store-switcher-with-flags .flag-img {
        max-height: 17px;
    }
    
    .store-switcher-with-flags .switcher-option a {
        padding: 9px 14px;
    }
}

/* Legacy support for existing switcher-store class */
.switcher-store.store-switcher-with-flags .switcher-trigger,
.switcher-store.store-switcher-with-flags .switcher-option a {
    display: flex !important;
    align-items: center !important;
}

.switcher-store.store-switcher-with-flags .switcher-trigger span {
    display: flex;
    align-items: center;
}

/* Additional hover effects for better UX */
.store-switcher-with-flags .switcher-trigger:hover .flag-img {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.store-switcher-with-flags .switcher-option a:hover .flag-img {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}