/* V4-specific price and responsive card composition; other price styles stay intact. */
.prk-price-component--v4-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;direction:rtl;width:100%}
.prk-price-component--v4-card .discount-badge-box{display:flex;align-items:center;gap:8px;min-height:20px;flex-wrap:wrap}
.prk-price-component--v4-card .old-price{font-size:11px;text-decoration:line-through;line-height:1.5}
.prk-price-component--v4-card .discount-percentage{border-radius:18px;padding:3px 8px;color:#fff;font-size:11px;font-weight:700;white-space:nowrap;line-height:1.5}
.prk-price-component--v4-card .final-price-box{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;min-width:0}
.prk-price-component--v4-card .current-price{font-size:20px;font-weight:750;line-height:1.45;white-space:nowrap}
.prk-v4-product-card{min-width:0}
.prk-v4-product-card .prk-smart-atc{max-width:100%}
@media(min-width:768px){
.prk-v4-product-card .prk-smart-atc,.prk-v4-product-card .prk-smart-atc__button{width:40px!important;min-width:40px;max-width:40px;min-height:40px;height:40px}
.prk-v4-product-card .prk-smart-atc__text{display:none!important}
}
@media(max-width:767px){
.prk-price-component--v4-card .current-price{font-size:14px}
.prk-price-component--v4-card .old-price,.prk-price-component--v4-card .discount-percentage{font-size:10px}
.prk-v4-product-card .prk-smart-atc,.prk-v4-product-card .prk-smart-atc__button,.prk-v4-product-card .prk-smart-atc__tooltip-host{width:100%!important;max-width:100%!important;min-width:0!important}
.prk-v4-product-card .prk-smart-atc__text{display:inline!important}
}

/* V4 compact price: current amount above, previous price + discount below. */
.prk-loop-price .prk-v4-compact-price{display:flex;flex-direction:column;align-items:flex-end;gap:5px;direction:rtl;min-width:0;max-width:100%;width:max-content}
.prk-v4-compact-price .final-price-box{display:flex;flex-direction:row;direction:rtl;align-items:center;gap:6px;min-width:0;white-space:nowrap}
.prk-v4-compact-price .current-price{font-size:22px;font-weight:800;line-height:1.4;color:var(--prk-v4-current-color,#111)}
.prk-v4-compact-price .currency-symbol{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1;color:var(--prk-v4-currency-color,#9299a5)}
.prk-v4-compact-price .currency-symbol svg,.prk-v4-compact-price .currency-symbol img{width:var(--prk-v4-currency-width,var(--prk-v4-currency-size,16px));height:var(--prk-v4-currency-height,var(--prk-v4-currency-size,16px));max-width:none;object-fit:contain}
.prk-v4-compact-price .currency-symbol i{font-size:var(--prk-v4-currency-size,16px)}
.prk-v4-compact-price .discount-badge-box{display:flex;direction:rtl;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;white-space:nowrap;min-height:21px}
.prk-v4-compact-price .old-price{color:var(--prk-v4-old-color,#b9bfcc);text-decoration:line-through;font-size:12px;font-weight:400;line-height:1.5}
.prk-v4-compact-price .discount-percentage{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:20px;padding:2px 8px;border-radius:999px;background:linear-gradient(90deg,var(--prk-v4-discount-from,#ff981c),var(--prk-v4-discount-to,#ff981c));color:#fff;font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap}
.prk-v4-compact-price .discount-percent-sign{color:#ed234e;font-size:15px;font-weight:700;line-height:1}
.prk-v4-compact-price .discount-percent-sign.prk-discount-sign--icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--prk-v4-discount-sign-width,var(--prk-v4-discount-sign-size,15px));height:var(--prk-v4-discount-sign-height,var(--prk-v4-discount-sign-size,15px));line-height:1}
.prk-v4-compact-price .prk-discount-sign--icon svg,.prk-v4-compact-price .prk-discount-sign--icon img{width:100%;height:100%;display:block;object-fit:contain;max-width:none}
.prk-v4-compact-price .prk-discount-sign--icon i{font-size:var(--prk-v4-discount-sign-size,15px)}
.prk-v4-compact-price.prk-v4-discount-sign-recolor .prk-discount-sign--icon svg{color:inherit}
.prk-v4-compact-price.prk-v4-discount-sign-recolor .prk-discount-sign--icon svg [fill]:not([fill="none"]){fill:currentColor}
.prk-v4-compact-price.prk-v4-discount-sign-recolor .prk-discount-sign--icon svg [stroke]:not([stroke="none"]){stroke:currentColor}

/* Multicolor SVGs remain untouched unless the merchant explicitly turns on recoloring. */
.prk-v4-compact-price.prk-v4-currency-recolor .currency-symbol svg{color:var(--prk-v4-currency-color,#9299a5);fill:currentColor}
.prk-v4-compact-price.prk-v4-currency-recolor .currency-symbol svg [fill]:not([fill="none"]){fill:var(--prk-v4-currency-color,#9299a5)}
.prk-v4-compact-price.prk-v4-currency-recolor .currency-symbol svg [stroke]:not([stroke="none"]){stroke:var(--prk-v4-currency-color,#9299a5)}
@media(max-width:767px){.prk-v4-compact-price .current-price{font-size:17px}.prk-v4-compact-price .old-price{font-size:11px}.prk-v4-compact-price .discount-percentage{font-size:11px}.prk-v4-compact-price .discount-percent-sign{font-size:13px}}

/* Keep visibility in sync with native WooCommerce variation updates. */
.prk-v4-compact-price .discount-badge-box.hidden,.prk-v4-compact-price .discount-percentage.hidden,.prk-v4-compact-price .old-price.hidden,.prk-v4-compact-price .discount-percentage.hidden+.discount-percent-sign{display:none}
