/**
 * Price Toggle Module CSS
 * Styling for the price toggle button in navigation
 */

.price-toggle-wrapper {
    display: inline-flex;
    align-items: center;
}

.price-toggle-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    outline: none;
}

.price-toggle-btn:hover {
}

.price-toggle-btn.active:hover {
    background: #7a9587;
}

.price-toggle-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
}

.price-toggle-btn:hover .price-toggle-icon {
    transform: scale(1.1);
}

.price-toggle-text {
    font-size: 13px;
    white-space: nowrap;
}

/* Loading state */
.price-toggle-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.price-toggle-btn.loading .price-toggle-icon {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .price-toggle-text {
        display: none;
    }

    .price-toggle-btn {
        padding: 8px 12px;
        gap: 0;
    }
}
