/**
 * Hezarfen — Teslimat Bilgisi (Modern)
 */
.hez-delivery-card {
	margin: 16px 0;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

/* Satır 1: Kargoya verilme sözü */
.hez-delivery-card__promise {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 4px 0 14px;
}

.hez-delivery-card__truck {
	flex-shrink: 0;
	color: #f47920;
	display: flex;
}

.hez-delivery-card__promise-text {
	flex: 1;
	min-width: 0;
	font-size: 14px;
}

.hez-delivery-card__countdown {
	font-weight: 700;
	color: #111;
}

.hez-delivery-card__promise-highlight {
	font-weight: 700;
	color: #059669;
}

/* Ön sipariş etiketi (ürün adının başında, sarı kutu) */
.hez-preorder-badge {
	display: inline-block;
	background: #ffd400;
	color: #1f2937;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	line-height: 1;
	padding: 5px 9px;
	border-radius: 4px;
	margin: 0 0 6px;
	text-transform: uppercase;
}

/* Separator */
.hez-delivery-card__divider {
	height: 1px;
	background: #eef0f3;
	margin: 0 0 14px;
}

/* Satır 2: Teslimat */
.hez-delivery-card__delivery {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hez-delivery-card__delivery-info {
	flex: 1;
	min-width: 0;
}

.hez-delivery-card__delivery-label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 1px;
}

.hez-delivery-card__delivery-date {
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.hez-delivery-card__info-btn {
	position: relative;
	background: none;
	border: none;
	padding: 0;
	color: #c4c8cf;
	cursor: pointer;
	line-height: 1;
}

.hez-delivery-card__info-btn:hover {
	color: #6b7280;
}

.hez-delivery-card__info-tooltip {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	width: 220px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #e4e6ea;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.1);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #374151;
	white-space: normal;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
	pointer-events: none;
	z-index: 10;
}

.hez-delivery-card__info-btn:hover .hez-delivery-card__info-tooltip {
	opacity: 1;
	visibility: visible;
}

/* Konum butonu */
.hez-delivery-card__location-wrap {
	position: relative;
	flex-shrink: 0;
}

.hez-delivery-card__location-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border: 1px solid #e0e3e8;
	border-radius: 20px;
	background: #fafbfc;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all .15s;
}

.hez-delivery-card__location-btn:hover {
	background: #f0f2f5;
	border-color: #d1d5db;
}

.hez-delivery-card__location-btn span {
	max-width: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Dropdown */
.hez-delivery-card__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 100;
	min-width: 200px;
	padding: 8px;
	background: #fff;
	border: 1px solid #e4e6ea;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.hez-delivery-card__dropdown--open {
	display: block !important;
}

.hez-delivery-card__dropdown select {
	width: 100%;
	padding: 8px 30px 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 13px;
	color: #1f2937;
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E") no-repeat right 8px center;
	cursor: pointer;
}

/* Loading */
.hezarfen-delivery-wrap--loading {
	opacity: .5;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
	.hez-delivery-card {
		padding: 14px 16px;
	}

	.hez-delivery-card__promise {
		padding-bottom: 12px;
	}

	.hez-delivery-card__delivery {
		flex-wrap: wrap;
	}

	.hez-delivery-card__delivery-date {
		font-size: 15px;
	}
}
