/**
 * Oreneta Product Price
 * ─────────────────────
 * Styles dynamic price wrappers used by WooCommerce price widgets and
 * tiered-pricing integrations without swallowing labels such as "Desde".
 */

body.oreneta-pe-context,
.oreneta-price-widget-scope,
.single-product {
    --oreneta-price-chip-padding-x: 5px;
    --oreneta-price-chip-padding-y: 0;
    --oreneta-price-gap: var(--oreneta-space-sm, 8px);
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price,
body.oreneta-pe-context .summary .price,
body.oreneta-pe-context .summary p.price,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready .price,
.single-product div.product .summary .price,
.single-product div.product .summary p.price,
.oreneta-price-widget-scope .price,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready .price {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: var(--oreneta-price-gap);
    background: none !important;
    padding: 0 !important;
    margin: 0;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price ins,
body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price del,
body.oreneta-pe-context .summary .price ins,
body.oreneta-pe-context .summary .price del,
body.oreneta-pe-context .summary p.price ins,
body.oreneta-pe-context .summary p.price del,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready ins,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready del,
.single-product div.product .summary .price ins,
.single-product div.product .summary .price del,
.single-product div.product .summary p.price ins,
.single-product div.product .summary p.price del,
.oreneta-price-widget-scope .price ins,
.oreneta-price-widget-scope .price del,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready ins,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready del {
    background: none !important;
    padding: 0 !important;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price ins,
body.oreneta-pe-context .summary .price ins,
body.oreneta-pe-context .summary p.price ins,
body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price > .woocommerce-Price-amount,
body.oreneta-pe-context .summary .price > .woocommerce-Price-amount,
body.oreneta-pe-context .summary p.price > .woocommerce-Price-amount,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready ins,
.single-product div.product .summary .price ins,
.single-product div.product .summary p.price ins,
.single-product div.product .summary .price > .woocommerce-Price-amount,
.single-product div.product .summary p.price > .woocommerce-Price-amount,
.oreneta-price-widget-scope .price ins,
.oreneta-price-widget-scope .price > .woocommerce-Price-amount,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready ins {
    order: 1;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price del,
body.oreneta-pe-context .summary .price del,
body.oreneta-pe-context .summary p.price del,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready del,
.single-product div.product .summary .price del,
.single-product div.product .summary p.price del,
.oreneta-price-widget-scope .price del,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-ready del {
    order: 2;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price .woocommerce-Price-amount,
body.oreneta-pe-context .summary .price .woocommerce-Price-amount,
body.oreneta-pe-context .summary p.price .woocommerce-Price-amount,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip,
.single-product div.product .summary .price .woocommerce-Price-amount,
.single-product div.product .summary p.price .woocommerce-Price-amount,
.oreneta-price-widget-scope .price .woocommerce-Price-amount,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px;
    padding: var(--oreneta-price-chip-padding-y) var(--oreneta-price-chip-padding-x) !important;
    background: var(--oreneta-price-chip-bg) !important;
    color: var(--oreneta-price-chip-text-color, inherit) !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
    border-radius: 0;
    width: auto !important;
    flex: none !important;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price .woocommerce-Price-currencySymbol,
body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price bdi,
body.oreneta-pe-context .summary .price .woocommerce-Price-currencySymbol,
body.oreneta-pe-context .summary .price bdi,
body.oreneta-pe-context .summary p.price .woocommerce-Price-currencySymbol,
body.oreneta-pe-context .summary p.price bdi,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip .woocommerce-Price-currencySymbol,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip bdi,
.single-product div.product .summary .price .woocommerce-Price-currencySymbol,
.single-product div.product .summary .price bdi,
.single-product div.product .summary p.price .woocommerce-Price-currencySymbol,
.single-product div.product .summary p.price bdi,
.oreneta-price-widget-scope .price .woocommerce-Price-currencySymbol,
.oreneta-price-widget-scope .price bdi,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip .woocommerce-Price-currencySymbol,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper .oreneta-price-chip bdi {
    color: inherit !important;
    font: inherit !important;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price ins .woocommerce-Price-amount,
body.oreneta-pe-context .summary .price ins .woocommerce-Price-amount,
body.oreneta-pe-context .summary p.price ins .woocommerce-Price-amount,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--current,
.single-product div.product .summary .price ins .woocommerce-Price-amount,
.single-product div.product .summary p.price ins .woocommerce-Price-amount,
.oreneta-price-widget-scope .price ins .woocommerce-Price-amount,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--current {
    background: var(--oreneta-price-sale-bg) !important;
    color: var(--oreneta-price-sale-text-color, inherit) !important;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price del,
body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount,
body.oreneta-pe-context .summary .price del,
body.oreneta-pe-context .summary .price del .woocommerce-Price-amount,
body.oreneta-pe-context .summary p.price del,
body.oreneta-pe-context .summary p.price del .woocommerce-Price-amount,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale del,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--original,
.single-product div.product .summary .price del,
.single-product div.product .summary .price del .woocommerce-Price-amount,
.single-product div.product .summary p.price del,
.single-product div.product .summary p.price del .woocommerce-Price-amount,
.oreneta-price-widget-scope .price del,
.oreneta-price-widget-scope .price del .woocommerce-Price-amount,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale del,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--original {
    color: var(--oreneta-color-text-struck, #616161) !important;
    font-size: 0.9em !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    text-decoration-color: var(--oreneta-color-text-struck, #616161) !important;
}

body.oreneta-pe-context .elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount,
body.oreneta-pe-context .summary .price del .woocommerce-Price-amount,
body.oreneta-pe-context .summary p.price del .woocommerce-Price-amount,
body.oreneta-pe-context .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--original,
.single-product div.product .summary .price del .woocommerce-Price-amount,
.single-product div.product .summary p.price del .woocommerce-Price-amount,
.oreneta-price-widget-scope .price del .woocommerce-Price-amount,
.oreneta-price-widget-scope .tiered-pricing-dynamic-price-wrapper.oreneta-price-sale .oreneta-price-chip--original {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0;
}

.single-product div.product .summary .price,
.single-product div.product .summary p.price {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    color: var(--oreneta-color-text, #101010) !important;
    gap: var(--oreneta-price-gap, 8px);
    font-family: var(--oreneta-font-family, system-ui, -apple-system, sans-serif);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
}

.single-product div.product .summary .price .from,
.single-product div.product .summary p.price .from {
    color: var(--oreneta-color-text, #101010) !important;
    font: inherit !important;
    font-weight: 500 !important;
}

.single-product div.product .summary .price ins,
.single-product div.product .summary p.price ins {
    order: 1;
    text-decoration: none !important;
}

.single-product div.product .summary .price .woocommerce-Price-amount,
.single-product div.product .summary p.price .woocommerce-Price-amount {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
}

.single-product div.product .summary .price del,
.single-product div.product .summary p.price del {
    order: 2;
    color: var(--oreneta-color-text-struck, #616161) !important;
    font-size: 0.9em !important;
    font-weight: 500 !important;
    text-decoration-color: var(--oreneta-color-text-struck, #616161) !important;
}

.single-product div.product .summary .price del .woocommerce-Price-amount,
.single-product div.product .summary p.price del .woocommerce-Price-amount {
    background: none !important;
    color: var(--oreneta-color-text-struck, #616161) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    min-height: 0;
    padding: 0 !important;
}
