/* Etik Bakkal Çekirdek — Çok Al Az Öde. */

.etik-mb-tiers {
	margin: 4px 0 16px;
	padding: 12px 14px;
	border: 1px solid #f3d9b5;
	border-radius: 12px;
	background: #fff8ee;
}

.etik-mb-tiers .etik-mb-tiers__title {
	margin: 0 0 8px;
	color: #8a4700;
	font-size: 14px;
	font-weight: 700;
}

.etik-mb-tiers ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.etik-mb-tiers ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .etik-mb-tiers button.etik-mb-tier {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	width: 100%;
	min-height: 44px !important;
	margin: 0;
	padding: 6px 12px !important;
	border: 1px solid #e9dcc8;
	border-radius: 10px !important;
	background: #fff;
	box-shadow: none;
	color: #222;
	font-size: 14px !important;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}

body .etik-mb-tiers button.etik-mb-tier:hover,
body .etik-mb-tiers button.etik-mb-tier.is-active {
	border-color: var(--fs-color-secondary, #f58300);
}

body .etik-mb-tiers button.etik-mb-tier.is-active {
	background: #fff3e2;
}

body .etik-mb-tiers button.etik-mb-tier:focus-visible {
	outline: 2px solid var(--fs-color-primary, #5b8c01);
	outline-offset: 2px;
}

.etik-mb-tier__qty {
	flex: 1 1 auto;
	font-weight: 600;
}

.etik-mb-tier__price {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.etik-mb-tier__off {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border-radius: 11px;
	background: #fdecd6;
	color: #8a4700;
	font-size: 12px;
	font-weight: 700;
}

.etik-mb-tiers .etik-mb-tiers__hint {
	margin: 8px 0 0;
	color: #6b6b6b;
	font-size: 12px;
	line-height: 1.4;
}

/* Sepet ve ödeme: eski fiyat üstü çizili, yanında yeni fiyat. */
.etik-mb-price del,
del.etik-mb-old,
.etik-mb-note del {
	color: #6b6b6b;
	font-weight: 400;
	opacity: 1;
}

.etik-mb-price ins {
	color: #8a4700;
	font-weight: 700;
	text-decoration: none;
}

.etik-mb-note {
	display: block;
	margin-top: 2px;
	color: #8a4700;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.etik-badge--multi {
	background: #fff1c9;
	color: #6b4a00;
}

@media (prefers-reduced-motion: reduce) {
	body .etik-mb-tiers button.etik-mb-tier {
		transition: none;
	}
}

/* Tema listelere sol boşluk veriyor; kademeler kutunun kenarına hizalansın. */
.etik-mb-tiers ul,
.etik-mb-tiers ul li {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

/* Sepet ve ödemede indirim etiketi (Etik_Cart_Savings): "Flaş İndirim · %20", "İndirim · %15". */
.etik-sale-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff1e0;
	color: #9a3412;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	vertical-align: middle;
}
.etik-sale-tag--flash {
	background: #be123c;
	color: #fff;
}

/* Dar ekranda sepet satırının toplamı adet düğmesinin yanına sığmıyor: eski toplam gizlenir,
   eski birim fiyat ürün adının altında zaten görünür. */
@media ( max-width: 549px ) {
	.woocommerce-cart del.etik-mb-old {
		display: none;
	}
}

/* Sipariş özetinde ürün indirimleri: "Ürünler" ve "Flaş İndirim −₺42,98" satırları. */
.etik-co-totals .etik-saving-row th,
.etik-co-totals .etik-saving-row td {
	color: #15803d;
	font-weight: 600;
}
.etik-co-totals .etik-saving-row--regular th,
.etik-co-totals .etik-saving-row--regular td {
	color: inherit;
	font-weight: inherit;
}
.etik-co-totals .etik-saving-row--flash th,
.etik-co-totals .etik-saving-row--flash td {
	color: #be123c;
}

/* Mini sepet: satırdaki etiket ve ara toplamın üstündeki kazanç. */
.widget_shopping_cart .etik-sale-tag {
	margin-top: 2px;
	font-size: 11px;
}
/* Toplam satırı tema tarafından yan yana dizilir; kazanç kendi satırında, ara toplamın üstünde durur. */
.widget_shopping_cart .woocommerce-mini-cart__total {
	flex-wrap: wrap;
}
.widget_shopping_cart .etik-mini-saving {
	display: flex;
	flex: 0 0 100%;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 6px;
	color: #15803d;
	font-size: 0.95em;
}
.widget_shopping_cart .etik-mini-saving__amount {
	font-weight: 700;
}

.widget_shopping_cart .etik-mini-saving--flash {
	color: #be123c;
}
