/* ============================================================
   Posenda Price Fixer — Front-end Styles
   Geliştirici: Posenda | posenda.com
   ============================================================ */

/* ---- Wrapper ---- */
.posenda-price-wrap {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}

/* ---- İndirimli fiyat (ins) — büyük, önde ---- */
.posenda-price-wrap ins,
.woocommerce .posenda-price-wrap ins {
	text-decoration: none !important;
	font-size: var(--posenda-sale-size, 28px) !important;
	font-weight: 700 !important;
	color: var(--posenda-sale-color, #101010) !important;
	order: 1;
}

.posenda-price-wrap ins .posenda-sale-price,
.posenda-price-wrap ins .woocommerce-Price-amount {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}

/* ---- Orijinal fiyat (del) — küçük, arkada, üzeri çizili ---- */
.posenda-price-wrap del,
.woocommerce .posenda-price-wrap del {
	font-size: var(--posenda-regular-size, 16px) !important;
	font-weight: 400 !important;
	color: var(--posenda-regular-color, #888888) !important;
	opacity: 1 !important;
	order: 2;
	text-decoration: line-through !important;
}

.posenda-price-wrap del .posenda-regular-price,
.posenda-price-wrap del .woocommerce-Price-amount {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}

/* ---- ShopEngine / Elementor override ---- */
.shopengine-product-price .posenda-price-wrap ins,
.elementor .posenda-price-wrap ins {
	font-size: var(--posenda-sale-size, 28px) !important;
}

.shopengine-product-price .posenda-price-wrap del,
.elementor .posenda-price-wrap del {
	font-size: var(--posenda-regular-size, 16px) !important;
}

/* ---- Mağaza / kategori listesi ---- */
.woocommerce ul.products .posenda-price-wrap ins {
	font-size: calc(var(--posenda-sale-size, 28px) * 0.78) !important;
}

.woocommerce ul.products .posenda-price-wrap del {
	font-size: calc(var(--posenda-regular-size, 16px) * 0.85) !important;
}
