/* Etik Bakkal Çekirdek — Flaş İndirim: ana sayfa bölümü, geri sayım, ürün sayfası şeridi. */
.etik-flash[hidden] {
	display: none !important;
}

.etik-flash-bolt {
	flex: none;
	margin-right: 6px;
	vertical-align: -3px;
}

/* Geri sayım */
.etik-flash-timer {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-variant-numeric: tabular-nums;
}
.etik-flash-timer__fallback {
	font-size: 13px;
	font-weight: 600;
}
.etik-flash-timer__box {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 40px;
	padding: 4px 6px 3px;
	border-radius: 8px;
	background: #fff;
	color: #1f2937;
	line-height: 1.1;
}
.etik-flash-timer__box b {
	font-size: 16px;
	font-weight: 700;
}
.etik-flash-timer__box small {
	font-size: 10px;
	font-weight: 600;
	color: #6b7280;
	text-transform: none;
}

/* Ana sayfa bölümü */
.etik-hm .etik-hm-section--flash {
	position: relative;
	overflow: hidden;
	padding: 18px 14px 10px;
	border-radius: var(--eh-radius, 16px);
	/* Beyaz yazı her noktada en az 4.5:1 karşıtlıkta kalır. */
	background: linear-gradient( 115deg, #b45309 0%, #c2410c 50%, #be123c 100% );
}
.etik-hm-section--flash::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient( circle, rgba( 255, 255, 255, 0.16 ) 0%, rgba( 255, 255, 255, 0 ) 70% );
	pointer-events: none;
}
.etik-hm .etik-hm-section--flash .etik-flash-head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 14px;
}
/* Ana sayfanın genel başlık renkleri daha özgül; renkli zeminde beyaz kalması için. */
.etik-hm .etik-hm-section--flash .etik-flash-head .etik-hm-title,
.etik-hm .etik-hm-section--flash .etik-flash-head .etik-hm-sub {
	color: #fff !important;
}
.etik-hm .etik-hm-section--flash .etik-hm-title {
	display: flex;
	align-items: center;
	margin: 0;
	line-height: 1.2;
}
.etik-hm-section--flash .etik-flash-bolt {
	width: 24px;
	height: 24px;
	margin-right: 8px;
	color: #fde68a;
}
.etik-hm .etik-hm-section--flash .etik-hm-sub {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.4;
}
.etik-flash-head__timer {
	display: flex;
	align-items: center;
	gap: 10px;
}
.etik-flash-head__label {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.etik-hm-section--flash .etik-flash-timer__fallback {
	color: #fff;
}

/* Ürün kartları: renkli zeminde beyaz, gölgeli kart. */
.etik-hm .etik-hm-section--flash .product-small.col {
	padding-bottom: 12px;
}
.etik-hm-section--flash .product-small > .col-inner {
	position: relative;
	height: 100%;
	padding: 10px 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 18px rgba( 60, 15, 0, 0.18 );
	transition: box-shadow 0.2s ease;
}
.etik-hm-section--flash .product-small > .col-inner:hover,
.etik-hm-section--flash .product-small > .col-inner:focus-within {
	box-shadow: 0 10px 26px rgba( 60, 15, 0, 0.3 );
}
/* Görseller aynı kare alana sığar; kırpılmaz. */
.etik-hm-section--flash .box-image {
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
}
.etik-hm-section--flash .box-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
/* İndirim oranı kartın içinde, köşede durur (dışarı taşmaz). */
.etik-hm-section--flash .badge-container {
	top: 10px;
	left: 10px;
	margin: 0;
}
.etik-hm-section--flash .badge-container .badge {
	width: auto;
	height: auto;
}
.etik-hm-section--flash .badge-container .badge-inner {
	display: block;
	padding: 5px 9px;
	border-radius: 999px;
	background: #be123c;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
/* Bu satırdaki her ürün kampanyada; rozeti her kartta yinelemek kalabalık yapar. */
.etik-hm-section--flash .etik-badge--flash {
	display: none;
}
.etik-hm-section--flash .flickity-prev-next-button {
	color: #1f2937;
}

@media ( min-width: 850px ) {
	.etik-hm .etik-hm-section--flash {
		padding: 26px 26px 14px;
	}
	.etik-hm .etik-hm-section--flash .etik-flash-head {
		margin-bottom: 18px;
	}
	.etik-flash-timer__box {
		min-width: 50px;
		padding: 6px 8px 5px;
	}
	.etik-flash-timer__box b {
		font-size: 20px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.etik-hm-section--flash .product-small > .col-inner {
		transition: none;
	}
}

/* Duyuru: kampanya başlamadan önce kilitli kartlar */
.etik-hm .etik-flash-locked {
	position: relative;
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 12px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}
.etik-hm .etik-flash-locked__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 10px 10px 14px;
	border: 1px dashed rgba( 255, 255, 255, 0.55 );
	border-radius: 14px;
	background: rgba( 255, 255, 255, 0.14 );
}
/* Dar ekranda ilk iki kart yeter. */
.etik-hm .etik-flash-locked__card:nth-child( n + 3 ) {
	display: none;
}
.etik-flash-locked__image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	background: rgba( 255, 255, 255, 0.18 );
	color: #fff;
}
.etik-flash-locked__line {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.35 );
}
.etik-flash-locked__line--short {
	width: 60%;
}
.etik-flash-locked__price {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: #be123c;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}
@media ( min-width: 550px ) {
	.etik-hm .etik-flash-locked {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
	.etik-hm .etik-flash-locked__card:nth-child( 3 ) {
		display: flex;
	}
}
@media ( min-width: 850px ) {
	.etik-hm .etik-flash-locked {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
		gap: 16px;
	}
	.etik-hm .etik-flash-locked__card:nth-child( n + 3 ) {
		display: flex;
	}
}

/* Rozet */
.etik-badge--flash {
	background: #be123c;
	color: #fff;
}

/* Ürün sayfası şeridi */
.etik-flash-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: 12px;
	background: linear-gradient( 100deg, #b45309 0%, #c2410c 55%, #be123c 100% );
	color: #fff;
}
.etik-flash-strip__label {
	display: inline-flex;
	align-items: center;
	font-size: 15px;
	font-weight: 700;
}
.etik-flash-strip .etik-flash-bolt {
	color: #fde68a;
}
