/* Dual Currency Display CSS */

/* Скриваме всички .dual-currency-price елементи, защото те се рендерират от старите hook-ове */
.dual-currency-price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Стилизиране на двойната цена, която се добавя от JavaScript */
.price:has(span:contains('€')) {
    font-weight: bold;
}

.price span[title*="EUR"] {
    color: #424242;
    font-size: 0.9em;
    margin-left: 5px;
}

.dual-currency-eur {
    color: #424242 !important;
    font-weight: 400 !important;
    margin-left: 8px !important;
    font-size: 0.9em !important;
    display: inline-block !important;
}

.dual-currency-eur::before {
    content: "(" !important;
}

.dual-currency-eur::after {
    content: " €)" !important;
}

/* За да се избегне дублиране - скриваме всички EUR цени, които вече са добавени */
.price .dual-currency-eur + .dual-currency-eur,
.product-price .dual-currency-eur + .dual-currency-eur,
.current-price .dual-currency-eur + .dual-currency-eur {
    display: none !important;
}

/* Скриваме EUR цените в родителски елементи, ако детският вече има */
.product-price .current-price .dual-currency-eur ~ .dual-currency-eur {
    display: none !important;
}

/* Стилизация за различни типове ценови блокове */
.product-price .dual-currency-eur,
.product-list-price .dual-currency-eur,
.cart-total .dual-currency-eur,
.checkout-summary .dual-currency-eur,
.current-price .dual-currency-eur {
    display: inline-block !important;
}

/* Специфични стилове за current-price */
.current-price .dual-currency-eur {
    color: #424242 !important;
    font-weight: 600 !important;
    margin-left: 8px !important;
    font-size: 0.9em !important;
    display: inline-block !important;
} 