/*
 * Tarladan İlan Sayfası.
 *
 * Colours are the site's own: --accent (MyListing, #FF7316), the Elementor
 * primary green (#2C774F) and, for discounts, the app's red (#D93025).
 * No web font is loaded: Roboto where the device has it, the system UI font
 * elsewhere. Everything is scoped to .tlp so the theme's global list, link and
 * heading styles cannot leak in, and nothing here leaks out.
 */

.tlp {
	--tlp-accent: var(--accent, #FF7316);
	--tlp-accent-hover: #E9620A;
	--tlp-primary: #2C774F;
	--tlp-primary-soft: #EAF3EE;
	--tlp-sale: #D93025;
	--tlp-sale-soft: #FDECEA;
	--tlp-ink: #1F2328;
	--tlp-ink-2: #424A53;
	--tlp-muted: #6B7280;
	--tlp-line: #E4E6EA;
	--tlp-surface: #F6F7F8;
	--tlp-r: 10px;
	--tlp-r-lg: 14px;

	background: #fff;
	color: var(--tlp-ink);
	font: 400 15px/1.55 Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.tlp *, .tlp *::before, .tlp *::after { box-sizing: border-box; }
.tlp a { color: inherit; text-decoration: none; }
.tlp img { display: block; max-width: 100%; }
.tlp ul, .tlp ol, .tlp dl { list-style: none; margin: 0; padding: 0; }
.tlp button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; margin: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }
.tlp svg { flex: none; }
.tlp :focus-visible { outline: 2px solid var(--tlp-primary); outline-offset: 2px; }
.tlp h1, .tlp h2 { font-family: inherit; color: var(--tlp-ink); text-transform: none; }

.tlp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ breadcrumb */
.tlp-crumbbar { padding: 18px 0; }
.tlp .tlp-crumbs { font-size: 13px; color: var(--tlp-muted); margin: 0; }
.tlp .tlp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tlp .tlp-crumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.tlp .tlp-crumbs a:hover { color: var(--tlp-primary); text-decoration: underline; }
.tlp .tlp-crumbs [aria-current] { color: var(--tlp-ink-2); }
.tlp-back { display: none; }

/* ------------------------------------------------------------------ top: gallery + buy box */
.tlp-pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* The rail is as tall as the big image and scrolls when there are more
   thumbnails: contain:size keeps its own content from setting the row height,
   align-items:stretch then gives it the stage's height. */
.tlp-gallery { display: flex; gap: 14px; align-items: stretch; }
.tlp-rail {
	display: flex; flex-direction: column; gap: 10px;
	flex: 0 0 auto; width: 92px; box-sizing: border-box; padding: 2px 0 2px 2px;
	contain: size; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: #C9CDD2 transparent;
}
.tlp-rail::-webkit-scrollbar { width: 6px; }
.tlp-rail::-webkit-scrollbar-thumb { background: #C9CDD2; border-radius: 3px; }
.tlp-rail button { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 1px solid var(--tlp-line); opacity: .8; }
.tlp-rail button[aria-current="true"] { border: 2px solid var(--tlp-ink); opacity: 1; }
.tlp-rail img { width: 100%; height: 100%; object-fit: cover; }
.tlp-stage-wrap { flex: 1; min-width: 0; }
.tlp-stage { position: relative; border-radius: var(--tlp-r-lg); overflow: hidden; background: var(--tlp-surface); aspect-ratio: 4 / 5; }
.tlp-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tlp-slides::-webkit-scrollbar { display: none; }
.tlp-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.tlp-badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--tlp-primary); font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: 6px; }
.tlp-badge--sale { background: var(--tlp-sale); color: #fff; }
.tlp .tlp-zoom { position: absolute; right: 14px; bottom: 14px; height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); border-radius: 8px; font-size: 13px; font-weight: 500; }
.tlp-dots { display: none; }

.tlp-buy { position: sticky; top: 96px; }
.tlp-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tlp-muted); margin-bottom: 8px; }
.tlp-eyebrow a { color: var(--tlp-primary); font-weight: 500; }
.tlp-eyebrow a:hover { text-decoration: underline; }
.tlp .tlp-title { font-size: 28px; line-height: 1.25; font-weight: 700; margin: 0 0 10px; letter-spacing: -.005em; }
.tlp-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--tlp-ink-2); }
.tlp-facts span { display: inline-flex; align-items: center; gap: 6px; }
.tlp-status { color: var(--tlp-primary); font-weight: 500; }
.tlp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tlp-primary); }

.tlp-price { margin: 22px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.tlp-amount { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.tlp-amount--sale { color: var(--tlp-sale); }
.tlp-unit { font-size: 16px; color: var(--tlp-ink-2); }
.tlp-was { font-size: 17px; color: var(--tlp-muted); text-decoration: line-through; }
.tlp-save { align-self: center; font-size: 13px; font-weight: 700; color: var(--tlp-sale); background: var(--tlp-sale-soft); padding: 4px 8px; border-radius: 6px; }
.tlp-price-note { font-size: 13px; color: var(--tlp-muted); margin: 0; }

/* .tlp prefix on these lists: ".tlp ul, .tlp ol, .tlp dl { margin: 0; padding: 0 }" above
   outranks a single class and was removing their spacing. */
.tlp .tlp-spec { margin: 20px 0 0; border: 1px solid var(--tlp-line); border-radius: var(--tlp-r); }
.tlp-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; font-size: 14px; }
.tlp-spec div + div { border-top: 1px solid var(--tlp-line); }
.tlp-spec dt { color: var(--tlp-muted); font-weight: 400; }
.tlp-spec dd { margin: 0; max-width: 62%; font-weight: 500; text-align: right; }
.tlp-stock { color: var(--tlp-primary); }
.tlp-stock::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--tlp-primary); }

/* Main buttons: the theme's quick-action <li><a>, restyled. */
.tlp .tlp-cta { margin-top: 24px; display: grid; gap: 10px; }
.tlp-cta li { margin: 0; padding: 0; float: none; width: auto; list-style: none; }
/* .tlp prefix: the theme's frontend.css has a[href*="tel:"] { color: #fff }, same weight as .tlp-cta a. */
.tlp .tlp-cta a {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; width: 100%; padding: 10px 16px; border-radius: var(--tlp-r);
	font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center;
	border: 1px solid #CBD0D6; background: #fff; color: var(--tlp-ink); transition: background .15s, border-color .15s;
}
.tlp .tlp-cta a:hover { border-color: var(--tlp-ink); }
.tlp .tlp-cta li:first-child a { background: var(--tlp-accent); border-color: var(--tlp-accent); color: #fff; }
.tlp .tlp-cta li:first-child a:hover { background: var(--tlp-accent-hover); border-color: var(--tlp-accent-hover); }
.tlp .tlp-cta a i, .tlp .tlp-cta a .svg-icon { font-size: 20px; line-height: 1; margin: 0; color: inherit; }
.tlp .tlp-cta a span { display: flex; flex-direction: column; align-items: center; }
.tlp .tlp-cta small, .tlp .tlp-cta .tarladan-contact-locked__note { display: block; font-size: 12.5px; font-weight: 400; color: var(--tlp-muted); margin: 2px 0 0; }
.tlp .tlp-cta li:first-child small { color: rgba(255, 255, 255, .85); }
/* The phone action may come without an icon (empty icon setting): draw one. */
.tlp .tlp-cta a[href^="tel:"]:not(:has(i, .svg-icon))::before {
	content: ""; width: 19px; height: 19px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tlp .tlp-assure { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--tlp-line); display: grid; gap: 12px; }
.tlp-assure li { display: flex; gap: 12px; font-size: 13.5px; color: var(--tlp-ink-2); }
.tlp-assure svg { color: var(--tlp-primary); margin-top: 1px; }
.tlp-assure b { display: block; color: var(--tlp-ink); font-weight: 500; }

.tlp-seller { margin-top: 24px; padding: 14px; border: 1px solid var(--tlp-line); border-radius: var(--tlp-r); display: flex; align-items: center; gap: 12px; }
.tlp-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--tlp-primary-soft); color: var(--tlp-primary); font-weight: 700; display: grid; place-items: center; }
.tlp-who b { display: block; font-weight: 500; }
.tlp-who span { font-size: 13px; color: var(--tlp-muted); }
.tlp .tlp-go { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--tlp-primary); display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.tlp .tlp-go:hover { text-decoration: underline; }

/* Bookmark / share / report: the theme's quick actions, as a quiet row. */
.tlp .tlp-tools { display: flex; margin-top: 16px; }
.tlp-tools li { flex: 1; margin: 0; padding: 0; float: none; width: auto; }
.tlp .tlp-tools a { height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; color: var(--tlp-ink-2); border-radius: 8px; background: none; border: 0; }
.tlp .tlp-tools a:hover { background: var(--tlp-surface); color: var(--tlp-ink); }
.tlp-tools a i, .tlp-tools a .svg-icon { font-size: 18px; margin: 0; color: inherit; }
.tlp-tools a.bookmarked { color: var(--tlp-sale); }

/* ------------------------------------------------------------------ details */
.tlp-details { margin-top: 56px; }
.tlp-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--tlp-line); }
.tlp .tlp-tabs button { height: 48px; font-size: 15px; font-weight: 500; color: var(--tlp-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tlp .tlp-tabs button[aria-selected="true"] { color: var(--tlp-ink); border-color: var(--tlp-ink); }
.tlp-panel { padding: 26px 0 0; max-width: 820px; }
.tlp-panel#tlp-panel-konum { max-width: none; } /* text stays readable at 820px; the map takes the full width */
.tlp-panel[hidden] { display: none; }
.tlp-acc-head { display: none; }
.tlp-desc { color: var(--tlp-ink-2); font-size: 15.5px; }
.tlp-desc p { margin: 0 0 12px; }
.tlp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; border: 0; }
.tlp-table th, .tlp-table td { text-align: left; vertical-align: top; padding: 13px 0; border: 0; border-bottom: 1px solid var(--tlp-line); background: none; }
.tlp-table th { width: 34%; font-weight: 400; color: var(--tlp-muted); padding-right: 24px; }
.tlp-table td small { display: block; color: var(--tlp-muted); font-size: 13px; margin-top: 2px; }
.tlp-map { border: 1px solid var(--tlp-line); border-radius: var(--tlp-r-lg); overflow: hidden; }
.tlp-map .c27-map { height: 400px; width: 100%; margin: 0; }
.tlp-mapbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; }
.tlp .tlp-mapbar a { font-weight: 500; color: var(--tlp-primary); display: flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ------------------------------------------------------------------ similar */
.tlp-related { margin-top: 64px; padding: 44px 0 56px; background: var(--tlp-surface); }
.tlp-rel-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.tlp .tlp-rel-head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.tlp-arrows { display: flex; gap: 8px; }
.tlp .tlp-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #CBD0D6; background: #fff; display: grid; place-items: center; }
.tlp .tlp-arrows button:hover { border-color: var(--tlp-ink); }
.tlp-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tlp-track::-webkit-scrollbar { display: none; }
.tlp-track.tlp-fits { justify-content: center; }
.tlp .tlp-arrows[hidden] { display: none; }
.tlp-card { background: #fff; border-radius: var(--tlp-r-lg); overflow: hidden; border: 1px solid var(--tlp-line); scroll-snap-align: start; transition: box-shadow .15s; }
.tlp-card:hover { box-shadow: 0 6px 20px rgba(17, 24, 39, .08); }
.tlp-card-img { aspect-ratio: 1 / 1; background: var(--tlp-surface); }
.tlp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tlp-card-body { padding: 12px 14px 16px; }
.tlp-card-title { font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tlp-card-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--tlp-muted); margin: 6px 0 0; }
.tlp-card-price { font-size: 17px; font-weight: 700; margin-top: 10px; }
.tlp-card-price--sale { color: var(--tlp-sale); }
.tlp-card-price small { font-size: 13px; font-weight: 400; color: var(--tlp-muted); }
.tlp-card-price s { font-size: 13px; font-weight: 400; color: var(--tlp-muted); margin-left: 4px; }

/* ------------------------------------------------------------------ image viewer */
.tlp-viewer { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(15, 17, 20, .94); }
.tlp-viewer::backdrop { background: rgba(15, 17, 20, .94); }
.tlp-viewer img { width: 100%; height: 100%; object-fit: contain; }
.tlp .tlp-viewer-close, .tlp .tlp-viewer-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.tlp .tlp-viewer-close { top: 16px; right: 16px; }
.tlp .tlp-viewer-nav { top: 50%; transform: translateY(-50%); }
.tlp .tlp-viewer-nav[data-dir="-1"] { left: 16px; }
.tlp .tlp-viewer-nav[data-dir="1"] { right: 16px; }

/* ------------------------------------------------------------------ mobile bar */
.tlp-stickybar { display: none; }

/* ------------------------------------------------------------------ tablet */
@media (max-width: 1024px) {
	.tlp-pdp { grid-template-columns: 1fr; gap: 28px; }
	.tlp-buy { position: static; }
	.tlp-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 640px) {
	.tlp-wrap { padding: 0 16px; }
	.tlp-crumbbar { padding: 10px 0; }
	.tlp .tlp-crumbs { display: none; }
	.tlp .tlp-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--tlp-ink-2); }

	.tlp-gallery { display: block; margin: 0 -16px; }
	.tlp-rail { display: none; }
	.tlp-stage { border-radius: 0; }
	.tlp .tlp-zoom { display: none; }
	.tlp-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
	.tlp-dots span { width: 6px; height: 6px; border-radius: 50%; background: #C9CDD2; transition: width .2s; }
	.tlp-dots span.on { width: 18px; border-radius: 3px; background: var(--tlp-ink); }

	.tlp .tlp-title { font-size: 22px; }
	.tlp-amount { font-size: 30px; }

	.tlp-details { margin-top: 32px; border-top: 1px solid var(--tlp-line); }
	.tlp-tabs { display: none; }
	.tlp-panel, .tlp-panel[hidden] { display: block; padding: 0; border-bottom: 1px solid var(--tlp-line); }
	.tlp .tlp-acc-head { display: flex; width: 100%; height: 56px; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 500; color: var(--tlp-ink); }
	.tlp-acc-head svg { transition: transform .2s; }
	.tlp-panel.open .tlp-acc-head svg { transform: rotate(180deg); }
	.tlp-acc-body { display: none; padding: 0 0 18px; }
	.tlp-panel.open .tlp-acc-body { display: block; }
	.tlp-map .c27-map { height: 240px; }

	.tlp-related { margin-top: 36px; padding: 32px 0 40px; }
	.tlp-arrows { display: none; }
	.tlp-track { grid-auto-columns: 46%; gap: 12px; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }

	.tlp { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.tlp .tlp-stickybar {
		display: flex !important; align-items: center; gap: 14px; position: fixed; z-index: 990; left: 0; right: 0; bottom: 0;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff;
		border-top: 1px solid var(--tlp-line); box-shadow: 0 -4px 16px rgba(17, 24, 39, .06);
		transform: translateY(110%); transition: transform .25s ease;
	}
	.tlp .tlp-stickybar.tlp-on { transform: none; }
	.tlp-sp b { display: block; font-size: 19px; line-height: 1.1; }
	.tlp-sp span { font-size: 12.5px; color: var(--tlp-muted); }
	.tlp-sp s { margin-left: 4px; }
	.tlp .tlp-btn { flex: 1; height: 48px; border-radius: var(--tlp-r); font-size: 16px; font-weight: 700; }
	.tlp .tlp-btn--accent { background: var(--tlp-accent); color: #fff; }
}
