/* Sistemali Teklif — ön yüz stilleri */

.sm-teklif-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 12px 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff !important;
	background: #28a745 !important;
	border: none !important;
	border-radius: 6px;
	cursor: pointer;
	transition: background .2s ease, transform .05s ease;
}

.sm-teklif-btn:hover,
.sm-teklif-btn:focus {
	background: #1e7e34 !important;
	color: #fff !important;
}

.sm-teklif-btn:active {
	transform: translateY(1px);
}

.sm-teklif-btn__icon {
	font-size: 1.05em;
}

/* Tekil ürün sayfasında tam genişlik, "Buy Now" boyutunda */
.single-product .sm-teklif-btn {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 20px 24px;
	margin-top: 16px;
	font-size: 16px;
	border-radius: 8px;
}

/* Overlay */
.sm-teklif-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 16px;
}

.sm-teklif-overlay[hidden] {
	display: none;
}

.sm-teklif-modal {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	padding: 28px 26px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	animation: sm-teklif-in .18s ease;
}

@keyframes sm-teklif-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.sm-teklif-close {
	position: absolute;
	top: 10px;
	right: 14px;
	width: 34px;
	height: 34px;
	font-size: 26px;
	line-height: 1;
	color: #888;
	background: none;
	border: none;
	cursor: pointer;
}

.sm-teklif-close:hover {
	color: #222;
}

.sm-teklif-modal__title {
	margin: 0 0 4px;
	font-size: 20px;
	color: #1a1a1a;
}

.sm-teklif-modal__product {
	margin: 0 0 16px;
	font-size: 14px;
	color: #555;
}

.sm-teklif-row {
	margin-bottom: 12px;
}

.sm-teklif-row label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.sm-teklif-row input,
.sm-teklif-row textarea {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}

.sm-teklif-row input:focus,
.sm-teklif-row textarea:focus {
	border-color: #28a745;
	outline: none;
}

.sm-teklif-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.sm-req {
	color: #28a745;
}

.sm-teklif-actions {
	margin-top: 8px;
}

.sm-teklif-submit {
	width: 100%;
	padding: 13px;
	font-size: 15px;
	font-weight: 700;
	color: #fff !important;
	background: #28a745 !important;
	border: none !important;
	border-radius: 6px;
	cursor: pointer;
}

.sm-teklif-submit:hover {
	background: #1e7e34 !important;
	color: #fff !important;
}

.sm-teklif-submit:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.sm-teklif-feedback {
	margin-top: 14px;
	font-size: 14px;
	text-align: center;
}

.sm-teklif-feedback.is-success {
	color: #1a7f37;
	font-weight: 600;
}

.sm-teklif-feedback.is-error {
	color: #c8102e;
	font-weight: 600;
}

/* Bal tuzağı gizli */
.sm-teklif-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 520px) {
	.sm-teklif-grid {
		grid-template-columns: 1fr;
	}
}
