
.website-switcher {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 5px;
    font-size: 12px;
}

.store-switcher-container {
    position: relative;
    display: inline-block;
    min-width: 160px;
}

.dropdown-wrapper {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
}

.current-store {
    display: inline-block;
}

.dropdown-content {
    left: 0;
    top: 100%;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dropdown-wrapper:hover .dropdown-content {
    display: block;
}

.store-link {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.store-link:hover {
    background-color: #f1f1f1;
}

.store-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.store-popup-container {
    background: #fff;
    width: 100%;
    max-width: 360px;
    margin: 20px;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.store-popup-header {
    text-align: center;
    padding: 20px 20px 10px;
}

.store-popup-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.store-popup-content {
    padding: 20px;
}

.select-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.store-selector {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

.store-selector.error {
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.store-selector.error:focus {
    outline: none;
    border-color: #ff0000;
}

.store-selector:focus {
    outline: none;
    border-color: #999;
}

.button-wrapper {
    text-align: center;
    margin-top: 5px;
}

.store-submit-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    min-width: 80px;
    transition: all 0.2s ease;
}

.store-submit-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* Mobile Styles */
@media only screen and (max-width: 480px) {
    .store-popup-container {
        margin: 15px;
        max-width: calc(100% - 30px);
    }

    .store-popup-content {
        padding: 15px;
    }

    .store-selector {
        padding: 5px;
    }

    .store-submit-btn {
        padding: 8px 15px;
    }
}

@media only screen and (max-width: 767px) {
    .website-switcher {
        margin-right: 10px;
    }
    
    .store-switcher-container {
        margin-right: 10px;
    }
}