/* Decorative compact toman; original currency text stays in the DOM. No price or checkout changes. */
body .woocommerce-Price-amount .woocommerce-Price-currencySymbol:not(:where(.woocommerce-cart *,.woocommerce-checkout *,.woocommerce-order-pay *,.woocommerce-order-received *,.woocommerce-mini-cart *,.widget_shopping_cart *,.header-cart-link *,.cart-popup *,.cart-container *,.cart_totals *,.woocommerce-orders-table *,.woocommerce-order-details *,.woocommerce-MyAccount-content *)) {
 display:inline-block!important;position:relative;box-sizing:border-box;width:30px!important;min-width:30px;height:30px!important;border:0!important;border-radius:0;font-size:0!important;line-height:0!important;vertical-align:middle;direction:rtl;letter-spacing:0!important;opacity:1!important;margin:0 4px!important;white-space:normal!important;overflow:hidden;background:transparent url("moma-toman.svg") center/contain no-repeat!important;
}
body .woocommerce-Price-amount .woocommerce-Price-currencySymbol:not(:where(.woocommerce-cart *,.woocommerce-checkout *,.woocommerce-order-pay *,.woocommerce-order-received *,.woocommerce-mini-cart *,.widget_shopping_cart *,.header-cart-link *,.cart-popup *,.cart-container *,.cart_totals *,.woocommerce-orders-table *,.woocommerce-order-details *,.woocommerce-MyAccount-content *))::after {
 content:none!important;display:none!important;
}

/* Product cards share a single, right-aligned price row at every width. */
#main .product-small .price-wrapper {
    container-type: inline-size;
    justify-content: center;
    text-align: center;
}
#main .product-small .price {
    display: flex !important;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center !important;
    gap: .3em !important;
    direction: rtl;
    white-space: nowrap;
    font-size: clamp(7px, 6.8cqw, 18px) !important;
}
#main .product-small .price del {
    flex: 0 0 auto;
    font-size: .8em !important;
    color: #888 !important;
}
#main .product-small .price ins {font-size: inherit;white-space: nowrap;}
#main .product-small .moma-price-prefix {font-size: .85em;}
#main .product-small .price .woocommerce-Price-currencySymbol {
    width: 1.4em !important;
    min-width: 1.4em !important;
    height: 1.4em !important;
    font-size: inherit !important;
    color: transparent !important;
    margin: 0 .15em !important;
}

#main .product-small .price .amount,
#main .product-small .price .amount bdi {font-size:inherit !important;}

#main .product-small .price:not(:has(del)):not(:has(ins)) {
    font-size: clamp(13px, 9cqw, 19px) !important;
    font-weight: 700;
}

#main .product-small .price del {
    color: #c62828 !important;
    opacity: 1 !important;
    font-weight: 700;
    text-decoration-color: #c62828;
    text-decoration-thickness: 1.5px;
}
#main .product-small .price del .amount,
#main .product-small .price del bdi {color:#c62828 !important;}

/* Align old and current amounts in the same column, with the prefix beside the current price. */
#main .product-small .price-wrapper:has(.price del) {padding:6px 0 !important;}
#main .product-small .price:has(del):has(ins) {
    display:grid !important;
    grid-template-columns:max-content max-content;
    grid-template-rows:auto auto;
    justify-content:center !important;
    align-items:center;
    gap:2px 6px !important;
    font-size:clamp(10px,7cqw,17px) !important;
}
#main .product-small .price:has(ins) > del {
    grid-column:2;
    grid-row:1;
    text-align:left;
    line-height:1.4;
}
#main .product-small .price:has(del) > ins {display:contents;}
#main .product-small .price:has(del) > ins > .moma-price-prefix {
    grid-column:1;
    grid-row:2;
}
#main .product-small .price:has(del) > ins > .amount {
    grid-column:2;
    grid-row:2;
    text-align:left;
    line-height:1.4;
}

#main .product-small .price:has(ins) > del {
    font-size:inherit !important;
    color:inherit !important;
    font-weight:inherit;
    opacity:1 !important;
    text-decoration-line:line-through;
    text-decoration-color:#c62828;
    text-decoration-thickness:1.5px;
}
#main .product-small .price del .amount,
#main .product-small .price del bdi {color:inherit !important;}

#main .product-small .price:has(ins) > del,
#main .product-small .price:has(del) > ins > .amount {
    justify-self:stretch;
    text-align:left !important;
}
#main .product-small .price del .amount,
#main .product-small .price ins > .amount {
    display:block;
    text-align:left !important;
}
#main .product-small .price del bdi,
#main .product-small .price ins > .amount > bdi {
    display:inline-flex;
    flex-direction:row;
    align-items:center;
    direction:rtl;
    white-space:nowrap;
}

#main .product-small .price del bdi,
#main .product-small .price ins > .amount > bdi {
    display:flex;
    width:100%;
    justify-content:flex-end;
}

#main .product-small .price del .amount,
#main .product-small .price ins > .amount {margin:0 !important;}

#main .moma-offers-catalog .product-small .price,
#main .moma-offers-catalog .product-small .price ins,
#main .moma-offers-catalog .product-small .price .amount,
#main .moma-offers-catalog .product-small .price bdi {
    color:#333 !important;
}
