/**
 * PwTextPrice Module Styles
 */

.pwtextprice {
    display: inline !important;
    margin: 0 3px !important;
    padding: 2px 6px;
    vertical-align: baseline;
    white-space: nowrap;
    line-height: inherit;
}

.pwtextprice-before {
    margin-right: 5px !important;
    display: inline !important;
}

.pwtextprice-after {
    margin-left: 5px !important;
    display: inline !important;
}

/* Force inline display for all price containers */
.product-prices,
.product-prices .current-price,
.product-prices .product-price,
.product-price-wrapper,
.current-price {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
}

/* Product page specific - ensure inline display */
.product-prices .pwtextprice,
.product-prices .pwtextprice-before,
.product-prices .pwtextprice-after,
.product-prices .current-price .pwtextprice,
.product-prices .current-price .pwtextprice-before,
.product-prices .current-price .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
    flex-shrink: 0 !important;
}

.product-price .pwtextprice,
.product-price .pwtextprice-before,
.product-price .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
}

/* Current price wrapper - keep inline */
.current-price .pwtextprice,
.current-price .pwtextprice-before,
.current-price .pwtextprice-after,
.product-price-wrapper .pwtextprice,
.product-price-wrapper .pwtextprice-before,
.product-price-wrapper .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
}

/* Price value container - keep inline */
[class*="price"] .pwtextprice,
[class*="price"] .pwtextprice-before,
[class*="price"] .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
}

/* Product list specific */
.product-miniature .product-price-and-shipping .pwtextprice,
.product-miniature .product-price .pwtextprice,
.product-miniature .product-price-and-shipping .pwtextprice-before,
.product-miniature .product-price-and-shipping .pwtextprice-after,
.product-miniature .product-price .pwtextprice-before,
.product-miniature .product-price .pwtextprice-after {
    display: inline !important;
    font-size: inherit;
    margin: 0 3px !important;
}

/* Search results */
.search-results .product-price .pwtextprice,
.search-results .product-price .pwtextprice-before,
.search-results .product-price .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
}

/* Featured products block */
.featured-products .product-price .pwtextprice,
.featured-products .product-price .pwtextprice-before,
.featured-products .product-price .pwtextprice-after {
    display: inline !important;
    margin: 0 3px !important;
}

