/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------
	Teklif İste Sayfası (.teklif-*)
-----------------------------------------------------------------*/

.visually-hidden:where(:not(:focus-within, :active)) {
	position: absolute !important;
	clip-path: inset(50%) !important;
	overflow: hidden !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.teklif-page {
	background-color: #f6f7f9;
	padding: 40px 0 64px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.teklif-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.teklif-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.teklif-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #555e6b;
}

.teklif-breadcrumb__list li + li::before {
	content: "/";
	margin-right: 8px;
	color: #9aa3af;
}

.teklif-breadcrumb__list a {
	color: #4b5563;
	text-decoration: none;
}

.teklif-breadcrumb__list a:hover {
	color: #b45309;
	text-decoration: underline;
}

.teklif-breadcrumb__list li[aria-current="page"] {
	color: #1f2937;
	font-weight: 600;
}

.teklif-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background-color: #ffffff;
	color: #1f2937;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.teklif-back-link:hover {
	border-color: #b45309;
	color: #b45309;
	text-decoration: none;
}

.teklif-header {
	margin-bottom: 32px;
}

.teklif-header h1 {
	margin: 0 0 8px;
	font-family: 'Roboto', sans-serif;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.25;
	color: #111827;
}

.teklif-header p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
	max-width: 64ch;
}

.teklif-card {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background-color: #ffffff;
	border: 1px solid #dde1e7;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}

.teklif-product {
	padding: 32px;
	border-right: 1px solid #e8ecf0;
	background-color: #ffffff;
}

.teklif-product__media {
	background-color: #fafbfc;
	border: 1px solid #e8ecf0;
	border-radius: 6px;
	padding: 24px;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.teklif-product__media a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.teklif-product__media img {
	max-width: 100%;
	max-height: 340px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.teklif-product__placeholder {
	color: #6b7280;
	font-size: 15px;
	text-align: center;
}

.teklif-product__title {
	margin: 0 0 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
}

.teklif-meta {
	margin: 0;
	border-top: 1px solid #e8ecf0;
}

.teklif-meta__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #e8ecf0;
}

.teklif-meta dt {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #4b5563;
}

.teklif-meta dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	text-align: right;
}

.teklif-meta__price {
	color: #b45309 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
}

.teklif-specs-wrap {
	margin-top: 24px;
}

.teklif-specs-title {
	margin: 0 0 12px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #1f2937;
	text-transform: none;
}

.teklif-specs {
	margin: 0;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}

.teklif-specs li + li {
	margin-top: 6px;
}

.teklif-form-panel {
	padding: 32px 40px;
}

.teklif-form-panel__title {
	margin: 0 0 4px;
	font-family: 'Roboto', sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
}

.teklif-form-panel__note {
	margin: 0 0 24px;
	font-size: 14px;
	color: #4b5563;
}

.teklif-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 6px;
	border: 1px solid transparent;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.5;
}

.teklif-alert--success {
	background-color: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.teklif-alert--error {
	background-color: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.teklif-alert__badge {
	display: inline-block;
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.teklif-alert--success .teklif-alert__badge {
	background-color: #065f46;
	color: #ffffff;
}

.teklif-alert--error .teklif-alert__badge {
	background-color: #991b1b;
	color: #ffffff;
}

.teklif-field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	margin-block-end: 24px;
}

.teklif-label {
	display: inline-block;
	margin: 0;
	margin-bottom: 0;
	padding: 4px 0;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	color: #111827;
	cursor: pointer;
}

.teklif-required {
	color: #b91c1c;
	margin-left: 2px;
}

.teklif-hint {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #4b5563;
}

.teklif-input {
	display: block;
	width: 100%;
	font: inherit;
	font-family: 'Roboto', sans-serif;
	font-size: max(16px, 1em);
	line-height: 1.5;
	padding: 12px 14px;
	min-height: 48px;
	box-sizing: border-box;
	color: #111827;
	background-color: #ffffff;
	border: 1px solid #767676;
	border-radius: 6px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.teklif-input::placeholder {
	color: #6b7280;
}

.teklif-input:focus-visible,
.teklif-submit-btn:focus-visible,
.teklif-back-link:focus-visible,
.teklif-breadcrumb__list a:focus-visible {
	outline: 3px solid #b45309;
	outline-offset: 2px;
}

.teklif-input:focus-visible {
	border-color: #b45309;
}

.teklif-input:is(:user-invalid, .user-invalid-fallback, [aria-invalid="true"]) {
	border-color: #c62828;
	background-color: #fef2f2;
}

.teklif-input:is(:user-invalid, .user-invalid-fallback, [aria-invalid="true"]) + .teklif-error-msg {
	display: flex;
}

.teklif-input:is(:user-valid, .user-valid-fallback) {
	border-color: #188038;
}

.teklif-error-msg {
	display: none;
	align-items: flex-start;
	gap: 8px;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.45;
	color: #b91c1c;
}

.teklif-error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	background-color: #b91c1c;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

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

.teklif-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 1px solid transparent;
	border-radius: 6px;
	background-color: #c25900;
	color: #ffffff !important;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.teklif-submit-btn:hover {
	background-color: #a64c00;
	color: #ffffff !important;
	text-decoration: none;
}

.teklif-submit-btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.teklif-privacy-note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #555e6b;
}

.teklif-empty-card {
	max-width: 640px;
	margin: 24px auto;
	padding: 40px 32px;
	background-color: #ffffff;
	border: 1px solid #dde1e7;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	text-align: center;
}

.teklif-empty-card h1 {
	margin: 0 0 12px;
	font-family: 'Roboto', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: #111827;
}

.teklif-empty-card p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
}

@media (pointer: coarse) {
	.teklif-input,
	.teklif-submit-btn {
		min-height: 52px;
	}
}

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

	.teklif-product {
		border-right: 0;
		border-bottom: 1px solid #e8ecf0;
		padding: 24px;
	}

	.teklif-form-panel {
		padding: 24px;
	}
}

@media (max-width: 767px) {
	.teklif-page {
		padding: 24px 0 48px;
	}

	.teklif-header {
		margin-bottom: 24px;
	}

	.teklif-header h1 {
		font-size: 26px;
	}

	.teklif-product__media {
		min-height: 220px;
		padding: 16px;
	}

	.teklif-submit-btn {
		width: 100%;
	}
}
