/* Currency Selector Styles */
.currency-dropdown {
    margin-right: 15px;
    position: relative;
}

.currency-button {
    background-color: transparent;
    color: #333;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.currency-button:hover {
    background-color: #f5f5f5;
}

.currency-dropdown-content {
    min-width: 120px;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    padding: 5px 0;
    display: none; /* Hidden by default, will be shown by JavaScript */
}

.currency-option {
    padding: 8px 12px;
    display: block;
    text-align: left;
    transition: background-color 0.2s;
}

.currency-option:hover {
    background-color: #f5f5f5;
}

/* Medium screen sizes (tablet) */
@media screen and (min-width: 769px) and (max-width: 991px) {
    .currency-dropdown-content {
        right: auto;
        left: 0;
    }
}

/* Mobile Responsive Currency Selector */
@media screen and (max-width: 768px) {
    .currency-dropdown {
        display: none; /* Hide in header on mobile */
    }
    
    /* Will be shown in mobile menu instead */
    .mobile-menu .currency-dropdown {
        display: block;
        margin: 15px 0;
        width: 100%;
    }
    
    .mobile-menu .currency-button {
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-menu .currency-dropdown-content {
        position: relative;
        width: 100%;
        top: 5px;
    }
}
