/* Store Buttons Container */
.store-buttons-container {
    display: flex;
    margin-bottom: 20px;
    align-items: stretch;
    width: 100%;
}

/* Store Selector Dropdown */
.store-selector-wrapper {
    position: relative;
    z-index: 100;
    min-height: 50px;
    width: 100%;
}

/* Store Selector Button */
.store-selector-button {
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px !important;
    background-color: #00833E !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold !important;
    min-height: 50px;
    line-height: 1.2 !important;
}

.store-selector-button:hover {
    background-color: #006a32 !important;
}

/* Ensure button text has enough space */
.store-selector-button span {
    flex: 1;
    text-align: center;
    margin-right: 12px;
}

/* Dropdown Icon */
.dropdown-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.store-selector-wrapper.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Store Dropdown Menu */
.store-dropdown {
    max-width: 400px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    z-index: 101;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}

.store-selector-wrapper.active .store-dropdown {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
}

/* Store Options */
.store-option {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #4c4c4c;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

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

.store-option:hover {
    background-color: #f5f5f5;
    color: #00833E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .store-buttons-container {
        flex-direction: column;
    }
    
    .store-selector-wrapper {
        width: 100%;
    }
}

/* Add compatibility with theme button styles */
.button.alt.store-selector-button {
    background-color: #00833E !important;
    color: white !important;
}

.button.alt.store-selector-button:hover {
    background-color: #006a32 !important;
}