/* Shinari Bayiler — renkler Elementor genel renklerini (Site Ayarları) varsayılan olarak kullanır. */
.shb-scope {
	--shb-accent: var(--e-global-color-accent, #e72c2b);
	--shb-accent-contrast: #fff;
	--shb-dark: #111;
	--shb-title: var(--e-global-color-primary, #000);
	--shb-text: var(--e-global-color-text, #636363);
	--shb-muted: #7a7a7a;
	--shb-card-bg: #fff;
	--shb-border: #e8e8e8;
	--shb-radius: 16px;
	--shb-img-h: 220px;
	--shb-gap: 24px;
	--shb-per-view: 3;
	--shb-wa: #1faa53;
	--shb-btn-radius: 10px;
	box-sizing: border-box;
}
.shb-scope *, .shb-scope *::before, .shb-scope *::after { box-sizing: inherit; }
.shb-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.shb-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Kart ---------- */
.shb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--shb-card-bg);
	border: 1px solid var(--shb-border);
	border-radius: var(--shb-radius);
	overflow: hidden;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
/* Altta, logodaki "— MOTOR —" çizgisini anımsatan kırmızı şerit */
.shb-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--shb-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
	.shb-card:hover {
		transform: translateY(-4px);
		border-color: transparent;
		box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .45);
	}
	.shb-card:hover::after { transform: scaleX(1); }
}

.shb-card__media {
	position: relative;
	display: block;
	height: var(--shb-img-h);
	background: #f2f2f2;
	overflow: hidden;
}
.shb-card__media .shb-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.shb-card__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: radial-gradient(120% 90% at 50% 30%, #fff 0%, #f4f4f4 55%, #e6e6e6 100%);
}
.shb-card__placeholder img {
	width: 62%;
	max-width: 240px;
	height: auto;
	filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .16));
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.shb-card__placeholder::after {
	content: "";
	position: absolute;
	left: 18%;
	right: 18%;
	bottom: 18px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--shb-accent) 30%, var(--shb-accent) 70%, transparent);
	opacity: .55;
}
@media (hover: hover) {
	.shb-card:hover .shb-card__img,
	.shb-card:hover .shb-card__placeholder img { transform: scale(1.05); }
}

.shb-card__city {
	position: absolute;
	left: 12px;
	top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px 6px 10px;
	border-radius: 999px;
	background: rgba(17, 17, 17, .84);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
}
.shb-card__city::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--shb-accent);
	box-shadow: 0 0 0 3px rgba(231, 44, 43, .28);
}
.shb-card__city--inline {
	position: static;
	align-self: flex-start;
	margin-bottom: 12px;
	background: var(--shb-dark);
}

.shb-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 20px 22px;
}
.shb-scope .shb-card__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--shb-title);
}
.shb-scope .shb-card__title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.shb-scope .shb-card__title a:hover { color: var(--shb-accent); }
.shb-scope .shb-card__info {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 10px;
	color: var(--shb-text);
	font-size: 15px;
	line-height: 1.45;
}
.shb-card__info li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.shb-card__info .shb-ico { width: 17px; height: 17px; color: var(--shb-accent); margin-top: 2px; }
.shb-scope .shb-card__info a { color: var(--shb-title); text-decoration: none; font-weight: 700; }
.shb-scope .shb-card__info a:hover { color: var(--shb-accent); }

.shb-card__actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--shb-border);
}
.shb-scope .shb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: var(--shb-btn-radius);
	border: 1.5px solid transparent;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.shb-scope .shb-btn:active { transform: scale(.97); }
.shb-btn .shb-ico { width: 18px; height: 18px; }
.shb-scope .shb-btn--icon { flex: 0 0 46px; padding: 0; }
.shb-scope .shb-btn--icon .shb-ico { width: 20px; height: 20px; }
.shb-scope .shb-btn--primary { background: var(--shb-accent); color: var(--shb-accent-contrast); }
.shb-scope .shb-btn--primary:hover { background: var(--shb-dark); color: #fff; }
.shb-scope .shb-btn--wa { background: var(--shb-wa); color: #fff; }
.shb-scope .shb-btn--wa:hover { background: #178a43; color: #fff; }
.shb-scope .shb-btn--ghost { background: transparent; color: var(--shb-dark); border-color: var(--shb-border); }
.shb-scope .shb-btn--ghost:hover { background: var(--shb-dark); border-color: var(--shb-dark); color: #fff; }
.shb-scope .shb-btn:focus-visible,
.shb-slider__arrow:focus-visible,
.shb-slider__dot:focus-visible,
.shb-slider__track:focus-visible { outline: 2px solid var(--shb-accent); outline-offset: 2px; }

/* ---------- Slider ---------- */
.shb-slider { position: relative; }
.shb-slider__viewport { overflow: hidden; margin: -8px -8px -26px; padding: 8px 8px 26px; }
.shb-slider__track {
	display: flex;
	gap: var(--shb-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 2px;
}
.shb-slider__track::-webkit-scrollbar { display: none; }
.shb-slider__slide {
	flex: 0 0 calc((100% - (var(--shb-per-view) - 1) * var(--shb-gap)) / var(--shb-per-view));
	min-width: 0;
	scroll-snap-align: start;
}
.shb-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 26px;
}
.shb-slider__nav[hidden] { display: none; }
.shb-scope .shb-slider__arrow {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--shb-dark);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}
.shb-slider__arrow .shb-ico { width: 22px; height: 22px; stroke-width: 2.4; }
.shb-scope .shb-slider__arrow:hover:not(:disabled) { background: var(--shb-accent); }
.shb-scope .shb-slider__arrow--prev:hover:not(:disabled) { transform: translateX(-2px); }
.shb-scope .shb-slider__arrow--next:hover:not(:disabled) { transform: translateX(2px); }
.shb-scope .shb-slider__arrow:disabled { opacity: .25; cursor: default; }
.shb-slider__dots { display: flex; align-items: center; gap: 2px; }
.shb-slider__dots:empty { display: none; }
.shb-scope .shb-slider__dot {
	width: 22px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.shb-slider__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #cfcfcf;
	transition: width .3s ease, background-color .3s ease;
}
.shb-slider__dot:hover::before { background: #9a9a9a; }
.shb-scope .shb-slider__dot[aria-selected="true"] { width: 38px; }
.shb-slider__dot[aria-selected="true"]::before { width: 28px; background: var(--shb-accent); }

/* Oklar kenarda: resmin ortasında, beyaz yuvarlak */
.shb-scope.shb-slider--sides .shb-slider__arrow {
	position: absolute;
	z-index: 2;
	top: calc(var(--shb-img-h) / 2 + 8px);
	margin-top: -25px;
	background: #fff;
	color: var(--shb-dark);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
}
.shb-scope.shb-slider--sides .shb-slider__arrow:hover:not(:disabled) { background: var(--shb-accent); color: #fff; }
.shb-slider--sides .shb-slider__arrow--prev { left: -14px; }
.shb-slider--sides .shb-slider__arrow--next { right: -14px; }
@media (max-width: 767px) {
	.shb-slider--sides .shb-slider__arrow { display: none; }
}

@media (max-width: 1024px) {
	.shb-slider:not(.shb-el) { --shb-per-view: 2; }
}
@media (max-width: 767px) {
	.shb-slider:not(.shb-el) { --shb-per-view: 1.15; --shb-gap: 14px; }
	.shb-scope .shb-slider__arrow { width: 46px; height: 46px; }
}

/* ---------- Liste ---------- */
.shb-list__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.shb-list__search {
	position: relative;
	flex: 1 1 280px;
	display: flex;
	align-items: center;
	margin: 0;
}
.shb-list__search .shb-ico { position: absolute; left: 14px; color: var(--shb-muted); pointer-events: none; }
.shb-scope .shb-list__search input,
.shb-scope .shb-list__city select {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1.5px solid var(--shb-border);
	border-radius: var(--shb-btn-radius);
	background: var(--shb-card-bg);
	color: var(--shb-title);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}
.shb-scope .shb-list__search input { padding-left: 42px; }
.shb-scope .shb-list__search input:focus,
.shb-scope .shb-list__city select:focus { outline: none; border-color: var(--shb-accent); }
.shb-list__city { flex: 0 1 220px; margin: 0; }
.shb-scope .shb-list__count { margin: 0 0 0 auto; color: var(--shb-muted); font-size: 15px; }
.shb-list__count strong { color: var(--shb-title); }

.shb-grid {
	display: grid;
	gap: var(--shb-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.shb-list[style*="--shb-cols"] .shb-grid { grid-template-columns: repeat(var(--shb-cols), minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.shb-list[style*="--shb-cols"] .shb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.shb-list[style*="--shb-cols"] .shb-grid { grid-template-columns: minmax(0, 1fr); }
	.shb-scope { --shb-gap: 16px; }
	.shb-list__city { flex-basis: 100%; }
	.shb-scope .shb-list__count { margin-left: 0; }
}
.shb-card[hidden] { display: none; }
.shb-scope .shb-list__empty { padding: 28px; text-align: center; color: var(--shb-muted); border: 1.5px dashed var(--shb-border); border-radius: var(--shb-radius); }

/* ---------- Tek bayi sayfası ---------- */
.shb-page { max-width: 1200px; margin: 0 auto; padding: 32px 16px 64px; }
.shb-page__crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: #6b7280; }
.shb-page__crumb a { color: inherit; text-decoration: none; }
.shb-page__crumb a:hover { text-decoration: underline; }
.shb-page__head { margin-bottom: 28px; }
.shb-page__title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.shb-page__lead { margin: 0; max-width: 640px; color: #4b5563; font-size: 17px; }
.shb-page__content { margin-top: 40px; }
.shb-page__others { margin-top: 56px; }
.shb-page__h2 { margin: 0 0 20px; font-size: clamp(22px, 3vw, 30px); }

.shb-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
@media (min-width: 900px) {
	.shb-single__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
}
.shb-single__media { border-radius: var(--shb-radius); overflow: hidden; aspect-ratio: 4 / 3; background: #f3f4f6; }
.shb-single__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shb-scope .shb-single__title { margin: 0 0 22px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.015em; line-height: 1.1; color: var(--shb-title); }
.shb-scope .shb-single__list { margin: 0 0 26px; display: grid; gap: 0; }
.shb-single__list > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--shb-border); }
.shb-single__list > div:last-child { border-bottom: 1px solid var(--shb-border); }
.shb-scope .shb-single__list dt { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--shb-muted); font-size: 15px; }
.shb-single__list dt .shb-ico { color: var(--shb-accent); }
.shb-scope .shb-single__list dd { margin: 0; color: var(--shb-title); font-size: 16px; line-height: 1.5; }
.shb-scope .shb-single__list dd a { color: inherit; font-weight: 700; text-decoration: none; }
.shb-scope .shb-single__list dd a:hover { color: var(--shb-accent); }
@media (max-width: 560px) {
	.shb-single__list > div { grid-template-columns: 1fr; gap: 4px; }
}
.shb-single .shb-card__actions { max-width: 520px; }
.shb-single__map { margin-top: 36px; border-radius: var(--shb-radius); overflow: hidden; border: 1px solid var(--shb-border); }
.shb-single__map iframe { display: block; width: 100%; height: 380px; border: 0; }

.shb-empty { padding: 16px; border: 1px dashed #d1d5db; border-radius: 8px; color: #6b7280; }

@media (prefers-reduced-motion: reduce) {
	.shb-slider__track { scroll-behavior: auto; }
	.shb-card, .shb-card__img, .shb-slider__dot::before { transition: none; }
}
