/**
 * WooCommerce Price Converter Frontend Styles
 * 
 * CSS styles for the dual currency price display on frontend
 * 
 * @package WC_Price_Converter
 * @version 1.0.0
 */

/* Additional currency display styling */
.additional-currency {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.currency-divider {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: #666;
    padding: 0 10px;
    font-size: 0.9em;
    display: inline-block;
}


/* Price converter info shortcode styling */
.wc-price-converter-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.wc-price-converter-info p {
    margin: 5px 0;
}

.wc-price-converter-info .status-enabled {
    color: #46b450;
    font-weight: bold;
}

.wc-price-converter-info .status-disabled {
    color: #dc3232;
    font-weight: bold;
}

/* Cart and checkout styling */
.woocommerce-cart .additional-currency,
.woocommerce-checkout .additional-currency {
    display: inline-block;
    white-space: nowrap;
}

/* Product page styling */
.woocommerce div.product .price .additional-currency {
    /* display: block; */
    /* font-size: 0.85em; */
    /* margin-top: 2px; */
}

/* Shop page styling */
/*.woocommerce ul.products li.product .price .additional-currency {
     font-size: 0.8em;
    display: block;
    margin-top: 2px;
} */

/* Widget styling */
/* .widget .additional-currency {
    font-size: 0.85em;
} */

/* Mobile responsive */
@media (max-width: 768px) {
    .additional-currency {
        /* display: block; */
        margin-left: 0;
        margin-top: 2px;
        /* font-size: 0.85em; */
    }
    
    .woocommerce div.product .price .additional-currency {
        /* font-size: 0.8em; */
    }
    
    .woocommerce ul.products li.product .price .additional-currency {
        /* font-size: 0.75em; */
    }
}

/* Tax display styling */
.includes_tax .additional-currency {
    font-size: inherit;
    color: inherit;
    margin-left: 0;
}

/* Email styling - inline styles for better email client support */
/* .wc-email-additional-currency {
    /* color: #666666 !important; */
    /* font-size: 90% !important; */
    /* font-weight: normal !important; */
} */

/* Theme compatibility */
/* .theme-storefront .additional-currency {
    color: #777;
} */

/* .theme-astra .additional-currency {
    opacity: 0.8;
}

.theme-oceanwp .additional-currency {
    color: #999;
} */



/* Responsive hiding */
@media (max-width: 480px) {
    .currency-divider {
        display: none;
    }
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    .additional-currency {
        color: #333;
        font-weight: 500;
    }
}

/* Print styles */
@media print {
    .additional-currency {
        color: #000 !important;
        font-size: 0.9em !important;
    }
}
