/**
 * Vime Product Price Widget Styles
 */

/* Wrapper / Layout */
.vime-product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

/* Inline layout (lado a lado) */
.vime-product-price-wrapper.vime-price-layout-inline {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Stacked layout (empilhado) */
.vime-product-price-wrapper.vime-price-layout-stacked {
    flex-direction: column;
    align-items: flex-start;
}

/* Price Wrappers */
.vime-price-regular-wrapper,
.vime-price-sale-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

/* Prefix */
.vime-price-prefix {
    color: #666666;
    font-size: 0.85em;
}

/* Regular Price (riscado quando em promocao) */
.vime-price-regular {
    color: #999999;
}

.has-sale .vime-price-regular del {
    text-decoration: line-through;
}

.has-sale .vime-price-regular.no-strikethrough del {
    text-decoration: none;
}

/* Quando NAO esta em promocao, preco regular e o principal */
.vime-product-price-wrapper:not(.has-sale) .vime-price-regular {
    color: #333333;
    font-weight: 700;
}

/* Sale Price (preco promocional) */
.vime-price-sale {
    color: #333333;
    font-weight: 700;
}

/* Discount Badge */
.vime-price-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

/* Price Range Separator */
.vime-price-range-separator {
    margin: 0 2px;
}

/* WooCommerce price element reset */
.vime-product-price-wrapper .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .vime-product-price-wrapper.vime-price-layout-inline {
        flex-wrap: wrap;
    }
}
