/* Currency Display Styles */
.price-dual {
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    line-height: 1.2;
}

.price-dual .currency-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.price-sar,
.price-usd {
    display: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-sar.active,
.price-usd.active {
    display: inline-block;
}

.price-sar {
    color: #a29bfe;
}

.price-usd {
    color: #28a745;
}

#currencySwitcher {
    cursor: pointer;
    user-select: none;
}

#currencySwitcher:hover {
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .price-sar,
    .price-usd {
        font-size: 0.9em;
    }
}

/* Currency toggle button */
.currency-toggle {
    background: rgba(251, 176, 64, 0.1);
    border: 1px solid #a29bfe;
    color: #a29bfe;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-toggle:hover {
    background: rgba(251, 176, 64, 0.2);
}

.currency-toggle.active {
    background: #a29bfe;
    color: #000;
}

/* Price highlight animation */
.price-highlight {
    animation: priceGlow 0.6s ease-in-out;
}

@keyframes priceGlow {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(251, 176, 64, 0.5); }
    100% { transform: scale(1); }
}

/* Cart modal price styling */
.cart-modal .price-dual {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Checkout page price styling */
.checkout-summary .price-dual {
    font-size: 1.125rem;
    font-weight: bold;
}

/* Product card price styling */
.product-card .price-dual {
    font-size: 1rem;
    color: #a29bfe;
    text-align: right;
}

/* Order history price styling */
.order-history .price-dual {
    font-size: 1rem;
    color: #ffffff;
} 