/* ===== ESTILOS IOSEELF PRICES - FORZADOS ===== */

/* Contenedor principal - FORZAR DISPLAY FLEX */
.ioself-price-container {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 5px 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

/* Precio principal */
.ioself-external-price {
    font-weight: bold !important;
    color: #007cba !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Leyenda IVA */
.ioself-iva-legend {
    color: #666 !important;
    font-style: italic !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== PÁGINA INDIVIDUAL DE PRODUCTO ===== */
.ioself-price-single .ioself-external-price {
    font-size: 2.5em !important;
    font-weight: 700 !important;
}

.ioself-price-single .ioself-iva-legend {
    font-size: 36px !important;
    color: #666 !important;
}

/* ===== LOOP/CATEGORÍAS ===== */
.ioself-price-loop .ioself-external-price {
    font-size: 1.8em !important;
    font-weight: 600 !important;
}

.ioself-price-loop .ioself-iva-legend {
    font-size: 18px !important;
    color: #666 !important;
}

/* ===== FORZAR EN WOOCOMMERCE ===== */
.woocommerce .price .ioself-price-container,
.woocommerce div.product .price .ioself-price-container,
.woocommerce ul.products li.product .price .ioself-price-container,
.woocommerce-page .price .ioself-price-container,
.woocommerce div.product p.price .ioself-price-container,
.woocommerce div.product span.price .ioself-price-container {
    display: flex !important;
    align-items: baseline !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    gap: 8px !important;
}

/* Anular cualquier estilo de WooCommerce */
.woocommerce .price,
.woocommerce div.product .price,
.woocommerce ul.products li.product .price {
    display: block !important;
}

.woocommerce .price .ioself-external-price,
.woocommerce div.product .price .ioself-external-price,
.woocommerce ul.products li.product .price .ioself-external-price {
    display: inline !important;
    float: none !important;
}

.woocommerce .price .ioself-iva-legend,
.woocommerce div.product .price .ioself-iva-legend,
.woocommerce ul.products li.product .price .ioself-iva-legend {
    display: inline !important;
    float: none !important;
}

/* ===== ESTILOS DE DEPURACIÓN (TEMPORALES) ===== */
.ioself-price-single {
    border: 3px solid red !important;
    padding: 5px !important;
}

.ioself-price-loop {
    border: 3px solid blue !important;
    padding: 5px !important;
}

.ioself-price-single .ioself-external-price {
    background: yellow !important;
}

.ioself-price-loop .ioself-external-price {
    background: lightgreen !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ioself-price-container {
        gap: 6px !important;
    }
    
    .ioself-price-single .ioself-external-price {
        font-size: 2em !important;
    }
    
    .ioself-price-single .ioself-iva-legend {
        font-size: 20px !important;
    }
    
    .ioself-price-loop .ioself-external-price {
        font-size: 1.4em !important;
    }
    
    .ioself-price-loop .ioself-iva-legend {
        font-size: 14px !important;
    }
}

