/* =========================================================================
   TABELAMATIK ANASAYFA — v1.1
   Tasarım dili: Türk sokak tabelası vernaküleri —
   emaye lacivert plakalar (beyaz iç çerçeve), sıcak kağıt zemin,
   marka lime'ı (#cbd50e) boyalı pano/CTA malzemesi olarak az ve öz.
   Bu dosya yalnızca "Tabelamatik Anasayfa" şablonunda yüklenir.
   ========================================================================= */

.tm-home {
	/* Renk sistemi — tek yerden değiştirilebilir */
	--tm-lime: #cbd50e;        /* marka: buton ve vurgu panosu */
	--tm-lime-hover: #d9e13c;
	--tm-on-lime: #26270e;     /* lime üstü mürekkep */
	--tm-blue: #24418e;        /* emaye tabela laciverti */
	--tm-blue-2: #1b3273;
	--tm-ink: #23241e;         /* yeşile çalan sıcak siyah */
	--tm-text: #26271f;
	--tm-muted: #6f6f66;
	--tm-bg: #f2f1ea;          /* kağıt/alçı zemini */
	--tm-card: #ffffff;
	--tm-border: #e3e1d6;
	--tm-red: #d64848;
	--tm-radius: 14px;
	--tm-radius-sm: 10px;
	--tm-shadow: 0 1px 2px rgba(35, 36, 30, .05), 0 4px 14px rgba(35, 36, 30, .06);
	--tm-shadow-hover: 0 10px 28px rgba(35, 36, 30, .14);
	--tm-ease: cubic-bezier(.22, .8, .36, 1);

	background: var(--tm-bg);
	color: var(--tm-text);
	-webkit-font-smoothing: antialiased;

	/* İçerik konteynerinden tam genişliğe taşma */
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

body.tm-home-active { overflow-x: hidden; }

/* Blok bağlamı: bölüm bir bloğun içindeyken tam genişlik taşma hilesi
   devre dışı kalır (dış sarmalayıcı zaten tam genişliktir) */
.tm-home.tm-block,
.tm-home .tm-home.tm-block {
	width: auto;
	left: auto;
	margin-left: 0;
	background: transparent;
}

/* Blok şablonunda kullanıcının eklediği normal bloklar konteynere hizalanır */
.tm-blok-content > :not(.tm-home):not(.alignfull) {
	max-width: 1360px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
body.tm-home-active .site-content .ast-container { max-width: 100%; padding-left: 0; padding-right: 0; }
body.tm-home-active .entry-content { margin: 0; }

.tm-home *, .tm-home *::before, .tm-home *::after { box-sizing: border-box; }
.tm-home img { max-width: 100%; height: auto; display: block; }

.tm-wrap {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---- Bölüm iskeleti -------------------------------------------------- */

.tm-sec { padding: 26px 0; }

.tm-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.tm-sec__title {
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0;
	padding-left: 15px;
	position: relative;
	color: var(--tm-text);
}

/* Emaye plaka çubuğu */
.tm-sec__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 74%;
	border-radius: 3px;
	background: var(--tm-blue);
}

.tm-sec__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--tm-text);
	text-decoration: none;
	padding: 8px 16px;
	border: 1.5px solid var(--tm-border);
	border-radius: 999px;
	background: var(--tm-card);
	transition: all .22s var(--tm-ease);
}

.tm-sec__more:hover {
	color: #fff;
	border-color: var(--tm-blue);
	background: var(--tm-blue);
	transform: translateX(2px);
}

/* ---- Butonlar --------------------------------------------------------- */

.tm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--tm-lime);
	color: var(--tm-on-lime) !important;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .01em;
	padding: 13px 26px;
	border-radius: 999px;
	text-decoration: none !important;
	border: none;
	transition: all .25s var(--tm-ease);
}

.tm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(35, 36, 30, .18);
	background: var(--tm-lime-hover);
}

.tm-btn svg { transition: transform .25s var(--tm-ease); }
.tm-btn:hover svg { transform: translateX(3px); }

/* =========================================================================
   HERO — açık/aydınlık: krem-gri zemin, siyah tipografi, lime vurgu
   (referans: hafif gri stüdyo zemini, solda metin, sağda ürün görseli)
   ========================================================================= */

.tm-hero { padding: 26px 0 0; }

.tm-hero__grid { display: block; }

/* Slider kabı */
.tm-hero__slider {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	min-width: 0;
	box-shadow: 0 2px 4px rgba(35, 36, 30, .04), 0 12px 32px rgba(35, 36, 30, .08);
}

.tm-hero__track {
	display: flex;
	overflow-x: auto;
	/* NO_LCP: "mandatory" load anında otomatik snap kaydırması üretebiliyor
	   (Lighthouse bunu etkileşim sayıp LCP ölçümünü kesiyor) → proximity.
	   Kapta padding/gap yok, slaytlar %100 genişlik → ilk slayt 0 px'de tam
	   snap noktasında; scroll-padding 0 ile bunu açıkça sabitliyoruz. */
	scroll-snap-type: x proximity;
	scroll-padding-inline: 0;
	padding: 0;
	gap: 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
	border-radius: 22px;
}

.tm-hero__track::-webkit-scrollbar { display: none; }

.tm-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	min-height: 440px;
	display: flex;
	align-items: center;
	position: relative;
	background-size: cover;
	background-position: center;
	border-radius: 22px;
	overflow: hidden;
}

/* Emaye çerçeve çizgisi kaldırıldı — açık tasarımda gereksiz */
.tm-slide::after { display: none; }

/* Görselsiz slayt: açık stüdyo degradesi */
.tm-slide--gradient {
	background:
		radial-gradient(900px 420px at 85% 30%, rgba(203, 213, 14, .10), transparent 60%),
		linear-gradient(135deg, #f8f8f5 0%, #f1f1ec 55%, #e9e9e2 100%);
}

/* Görselli slayt: görsel sağda; solda beyaz-krem yumuşak perde (yazı okunur) */
.tm-slide--photo {
	background-size: cover;
	background-position: right center;
}

.tm-slide--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(246, 246, 243, .97) 0%,
		rgba(246, 246, 243, .92) 32%,
		rgba(246, 246, 243, .55) 52%,
		rgba(246, 246, 243, 0) 70%
	);
}

.tm-slide--photo .tm-slide__inner { max-width: 54%; }

.tm-slide__inner {
	position: relative;
	z-index: 1;
	padding: 56px 64px;
	max-width: 620px;
}

/* Üst etiket: açık gri hap */
.tm-slide__badge {
	display: inline-block;
	background: #e9e9e4;
	color: #4a4b44;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .16em;
	padding: 8px 16px;
	border-radius: 999px;
	margin-bottom: 22px;
	text-transform: uppercase;
}

.tm-slide__title {
	color: var(--tm-ink);
	font-size: clamp(30px, 4.2vw, 50px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.12;
	margin: 0 0 16px;
}

/* Vurgu kelime: düz lime plaka (referanstaki gibi, eğimsiz) */
.tm-slide__title em {
	font-style: normal;
	display: inline-block;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	padding: 2px 12px 4px;
	border-radius: 8px;
}

.tm-slide__text {
	color: #55564f;
	font-size: clamp(15px, 1.35vw, 17px);
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 440px;
}

/* Hero CTA: siyah hap + lime ok — açık zeminde en güçlü kontrast,
   lime vurgu plakasıyla yarışmaz, onu tamamlar */
.tm-slide .tm-btn {
	background: var(--tm-ink);
	color: #fff !important;
	padding: 14px 26px;
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 8px 22px rgba(35, 36, 30, .22);
	position: relative;
	overflow: hidden;
}

.tm-slide .tm-btn svg {
	color: var(--tm-lime);
	width: 18px;
	height: 18px;
}

/* Hover: yükselir, ok kayar, hafif lime parıltı geçer */
.tm-slide .tm-btn::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(203, 213, 14, .35), transparent);
	transform: skewX(-20deg);
	transition: left .55s var(--tm-ease);
}

.tm-slide .tm-btn:hover {
	background: #000;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(35, 36, 30, .3);
}

.tm-slide .tm-btn:hover::after { left: 120%; }
.tm-slide .tm-btn:hover svg { transform: translateX(4px); }

/* Slider okları: açık zeminde beyaz yuvarlak */
.tm-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(35, 36, 30, .12);
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(6px);
	color: var(--tm-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: all .25s var(--tm-ease);
}

.tm-hero__slider:hover .tm-hero__arrow { opacity: 1; }
.tm-hero__arrow:hover { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }
.tm-hero__arrow--prev { left: 22px; }
.tm-hero__arrow--next { right: 22px; }

.tm-hero__dots {
	position: absolute;
	bottom: 24px;
	left: 64px;
	z-index: 2;
	display: flex;
	gap: 8px;
}

.tm-hero__dots button {
	width: 26px;
	height: 5px;
	border-radius: 4px;
	border: none;
	background: rgba(35, 36, 30, .18);
	cursor: pointer;
	padding: 0;
	transition: all .3s var(--tm-ease);
}

.tm-hero__dots button.is-active { background: var(--tm-lime); width: 40px; }

/* ---- Hero altı bilgi kartları (eski yan bannerlar) ------------------- */

.tm-hero__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 920px;
	margin: 18px auto 0;
	background: #fff;
	border: 1px solid var(--tm-border);
	border-radius: 18px;
	box-shadow: var(--tm-shadow);
	overflow: hidden;
}

.tm-hero__card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 22px;
	text-decoration: none !important;
	transition: background .2s ease;
}

.tm-hero__card + .tm-hero__card { border-left: 1px solid var(--tm-border); }
.tm-hero__card:hover { background: #fafaf6; }

.tm-hero__card-icon {
	flex: 0 0 44px;
	height: 44px;
	border-radius: 50%;
	background: #f2f5c8;
	color: #6b7209;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tm-hero__card-icon img { width: 100%; height: 100%; object-fit: cover; }
.tm-hero__card-icon svg { width: 19px; height: 19px; }

.tm-hero__card-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tm-hero__card-title { font-size: 14.5px; font-weight: 800; color: var(--tm-ink); letter-spacing: -.01em; }
.tm-hero__card-text { font-size: 13px; color: var(--tm-muted); }

.tm-hero__card-cta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--tm-ink);
	transition: gap .2s var(--tm-ease);
}

.tm-hero__card:hover .tm-hero__card-cta { gap: 9px; }

/* =========================================================================
   KATEGORİ ŞERİDİ
   ========================================================================= */

.tm-cats { padding-top: 30px; }

.tm-cats__track {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.tm-cat {
	flex: 0 0 108px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 8px 4px;
	scroll-snap-align: start;
}

.tm-cat__img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tm-card);
	border: 2px solid var(--tm-border);
	box-shadow: var(--tm-shadow);
	transition: all .25s var(--tm-ease);
}

.tm-cat:hover .tm-cat__img {
	border-color: var(--tm-blue);
	transform: translateY(-4px);
	box-shadow: var(--tm-shadow-hover);
}

.tm-cat__img img { width: 100%; height: 100%; object-fit: cover; }

.tm-cat__img--all { background: var(--tm-ink); color: var(--tm-lime); border-color: var(--tm-ink); }

/* Görselsiz kategoriler: düz emaye renkleri */
.tm-cat__img--letter { font-size: 30px; font-weight: 900; color: #fff; }
.tm-cat__img--v0 { background: #24418e; }
.tm-cat__img--v1 { background: #6b701c; }
.tm-cat__img--v2 { background: #3f4046; }
.tm-cat__img--v3 { background: #cbd50e; color: var(--tm-on-lime); }
.tm-cat__img--v4 { background: #55607a; }

.tm-cat__name {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--tm-text);
	text-align: center;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =========================================================================
   RAY (yatay kaydırma) — kategori şeridi + ürün şeritleri ortak
   ========================================================================= */

.tm-rail { position: relative; }

.tm-rail__track {
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 2px 14px;
}

.tm-rail__track::-webkit-scrollbar { display: none; }

.tm-home .tm-rail__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #d8d6ca;
	background: var(--tm-card);
	color: var(--tm-ink);
	box-shadow: 0 4px 16px rgba(35, 36, 30, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .22s var(--tm-ease);
}

.tm-home .tm-rail__btn:hover { background: var(--tm-blue); border-color: var(--tm-blue); color: #fff; }

/* Astra'nın genel button/svg stilleri ok ikonlarını ezmesin */
.tm-home .tm-rail__btn svg,
.tm-home .tm-hero__arrow svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.tm-home .tm-rail__btn svg path,
.tm-home .tm-hero__arrow svg path {
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2.6;
}
.tm-rail__btn--prev { left: -14px; }
.tm-rail__btn--next { right: -14px; }
.tm-rail__btn[disabled] { opacity: 0; pointer-events: none; }

/* =========================================================================
   ÜRÜN KARTI
   ========================================================================= */

.tm-row__track {
	display: flex;
	gap: 14px;
}

/* 5'li dizilim: kart genişliği konteynere göre hesaplanır */
.tm-row__track .tm-card {
	flex: 0 0 calc((100% - 4 * 14px) / 5);
	scroll-snap-align: start;
}

/* Apple Store dili: bol beyaz alan, kenarlıksız yumuşak kart,
   ortalanmış ürün görseli, sade tipografi. */
.tm-card {
	position: relative;
	background: var(--tm-card);
	border: none;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--tm-shadow);
	transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

.tm-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--tm-shadow-hover);
}

.tm-card__link { position: absolute; inset: 0; z-index: 2; }

/* Favori (kalp) butonu — görselin sağ üst köşesi, kart linkinin ÜSTÜNDE tıklanır.
   NOT: YITH kendi buton stilini (renkli zemin, "Favorilere ekle" yazısı)
   dayatır — buradaki kurallar eklenti stilini bilinçli olarak ezer. */
.tm-card__wish {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	width: 34px;
	height: 34px;
	overflow: visible;
}

.tm-card__wish .yith-wcwl-add-to-wishlist,
.tm-card__wish .yith-wcwl-add-button,
.tm-card__wish .yith-wcwl-wishlistaddedbrowse,
.tm-card__wish .yith-wcwl-wishlistexistsbrowse {
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

.tm-card__wish a,
.tm-card__wish button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .95) !important;
	border: 1px solid var(--tm-border) !important;
	box-shadow: 0 2px 8px rgba(35, 36, 30, .14) !important;
	color: var(--tm-ink) !important;
	font-size: 0 !important; /* yazıyı gizle, sadece ikon kalsın */
	line-height: 1 !important;
	text-decoration: none !important;
	transition: all .2s ease;
}

.tm-card__wish a i,
.tm-card__wish button i {
	font-size: 15px !important;
	line-height: 1 !important;
	margin: 0 !important;
}

/* Yeni YITH sürümleri ikon olarak svg basar */
.tm-card__wish a svg,
.tm-card__wish button svg {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
}

.tm-card__wish a:hover,
.tm-card__wish button:hover {
	color: #d64848 !important;
	border-color: #d64848 !important;
	background: #fff !important;
}

/* Yazı/etiket/geri bildirim öğelerini kartta tamamen gizle */
.tm-card__wish a span,
.tm-card__wish button span,
.tm-card__wish .feedback,
.tm-card__wish .yith-wcwl-popup-message,
.tm-card__wish .yith-wcwl-wishlist-label {
	display: none !important;
}

/* YITH kalpleri önbellek uyumu için sayfadan ~1-2 sn sonra AJAX ile gelir.
   O boşlukta hayalet kalp gösterilir; gerçek buton gelince gizlenir. */
.tm-card__wish::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	border: 1px solid var(--tm-border);
	box-shadow: 0 2px 8px rgba(35, 36, 30, .14);
	pointer-events: none;
}

.tm-card__wish::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%);
	background: var(--tm-ink);
	opacity: .55;
	pointer-events: none;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg 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'><path d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21.2l7.8-7.8 1-1a5.5 5.5 0 0 0 0-7.8z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg 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'><path d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21.2l7.8-7.8 1-1a5.5 5.5 0 0 0 0-7.8z'/></svg>") center / contain no-repeat;
}

/* Gerçek buton yüklenince hayaleti kaldır */
.tm-card__wish.tm-wish-ready::before,
.tm-card__wish.tm-wish-ready::after {
	display: none;
}

/* Görsel: krem panelin içinde — beyaz karta karışmaz */
.tm-card__media {
	position: relative;
	margin: 12px 12px 0;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: #f5f4ee;
	overflow: hidden;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s var(--tm-ease);
}

.tm-card:hover .tm-card__media { background: #f0efe6; }

.tm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	mix-blend-mode: multiply; /* beyaz zeminli ürün fotoğrafları panele kaynaşır */
	transition: transform .45s var(--tm-ease);
}

.tm-card:hover .tm-card__media img { transform: scale(1.035); }

.tm-card__body {
	padding: 13px 17px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	text-align: left;
}

/* Eyebrow: küçük büyük-harf etiket */
.tm-card__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--tm-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-card__eyebrow--new { color: #c25708; font-weight: 700; }
.tm-card__eyebrow--sale { color: var(--tm-red); font-weight: 700; }

.tm-card__title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
	color: var(--tm-text);
	letter-spacing: -.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(14.5px * 1.45 * 2);
}

.tm-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11.5px;
	color: var(--tm-muted);
}

.tm-card__rating svg { color: #d98e04; }

/* Fiyat bandı: kendi renkli bölgesinde — yazılarla asla iç içe girmez */
.tm-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #f7f6f0;
	border-top: 1px solid #ecebdf;
	padding: 12px 17px;
}

.tm-card__price {
	font-size: 16px;
	font-weight: 800;
	color: var(--tm-text);
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.tm-card__price del {
	display: block;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--tm-muted);
}

.tm-card__price ins { text-decoration: none; color: var(--tm-red); font-weight: 800; }

.tm-card__go {
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--tm-border);
	color: var(--tm-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .22s var(--tm-ease);
}

.tm-card:hover .tm-card__go {
	background: var(--tm-lime);
	border-color: var(--tm-lime);
	color: var(--tm-on-lime);
	transform: translateX(2px);
}

/* =========================================================================
   SEKMELİ VİTRİN
   ========================================================================= */

.tm-tabs__nav {
	display: flex;
	gap: 8px;
	flex-wrap: nowrap;              /* alta geçmez */
	overflow-x: auto;               /* sığmazsa yatay kaydırma */
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	max-width: 100%;
	padding-bottom: 2px;
	scroll-snap-type: x proximity;
}

.tm-tabs__nav::-webkit-scrollbar { display: none; }
.tm-tabs__nav .tm-tabs__btn { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }

.tm-tabs__btn {
	border: 1.5px solid var(--tm-border);
	background: var(--tm-card);
	color: var(--tm-text);
	font-size: 14px;
	font-weight: 700;
	padding: 9px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: all .22s var(--tm-ease);
}

.tm-tabs__btn:hover { border-color: var(--tm-blue); color: var(--tm-blue); }

.tm-tabs__btn.is-active {
	background: var(--tm-blue);
	border-color: var(--tm-blue);
	color: #fff;
}

.tm-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

/* =========================================================================
   KATEGORİ KARTLARI — Apple "Yardım burada" tarzı büyük kartlar
   ========================================================================= */

.tm-catcards__track {
	display: flex;
	gap: 16px;
}

.tm-catcard {
	flex: 0 0 calc((100% - 2 * 16px) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	min-height: 430px;
	background: var(--tm-card);
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--tm-shadow);
	transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

.tm-catcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--tm-shadow-hover);
}

.tm-catcard__top {
	padding: 24px 26px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tm-catcard__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--tm-muted);
}

.tm-catcard__title {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0;
	color: var(--tm-text);
}

.tm-catcard__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--tm-blue);
	margin-top: 4px;
	transition: gap .2s var(--tm-ease);
}

.tm-catcard:hover .tm-catcard__cta { gap: 10px; }

.tm-catcard__media {
	flex: 1;
	position: relative;
	min-height: 275px; /* Apple örneğindeki gibi: görsel kartın büyük kısmını kaplar */
	background: linear-gradient(165deg, #eef0f6, #e3e7f0);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tm-catcard__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s var(--tm-ease);
}

.tm-catcard:hover .tm-catcard__media img { transform: scale(1.04); }

.tm-catcard__letter {
	font-size: 76px;
	font-weight: 900;
	line-height: 1;
}

.tm-catcard__letter--v0 { color: rgba(36, 65, 142, .22); }
.tm-catcard__letter--v1 { color: rgba(155, 163, 10, .3); }
.tm-catcard__letter--v2 { color: rgba(35, 36, 30, .16); }

/* =========================================================================
   BANNERLAR
   ========================================================================= */

.tm-banner { padding: 10px 0; }

.tm-banner__img {
	display: block;
	border-radius: var(--tm-radius);
	overflow: hidden;
	transition: transform .25s var(--tm-ease), box-shadow .25s var(--tm-ease);
}

.tm-banner__img:hover { transform: translateY(-3px); box-shadow: var(--tm-shadow-hover); }
.tm-banner__img img { width: 100%; height: 100%; object-fit: cover; }

/* Banner görselleri sabit oranda kırpılır — yüklenen görsel boyutu düzeni bozamaz */
.tm-banner--wide .tm-banner__img { aspect-ratio: 1360 / 220; }
.tm-banner--duo .tm-banner__img { aspect-ratio: 660 / 260; }

/* Geniş CTA: emaye lacivert plaka */
.tm-banner__cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 32px 42px;
	border-radius: var(--tm-radius);
	text-decoration: none;
	background: linear-gradient(120deg, #2b4b9f, #1e3781);
	box-shadow: var(--tm-shadow);
	transition: transform .25s var(--tm-ease), box-shadow .25s var(--tm-ease);
}

.tm-banner__cta::after {
	content: "";
	position: absolute;
	inset: 9px;
	border: 1.5px solid rgba(255, 255, 255, .38);
	border-radius: 8px;
	pointer-events: none;
}

.tm-banner__cta:hover { transform: translateY(-2px); box-shadow: var(--tm-shadow-hover); }

.tm-banner__cta-text { display: flex; flex-direction: column; gap: 5px; }
.tm-banner__cta-text strong { color: #fff; font-size: clamp(18px, 2vw, 23px); font-weight: 800; letter-spacing: -.015em; }
.tm-banner__cta-text span { color: rgba(255, 255, 255, .75); font-size: 14.5px; }

.tm-banner__duo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.tm-banner__duo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-height: 150px;
	padding: 28px 34px;
	border-radius: var(--tm-radius);
	text-decoration: none;
	background: linear-gradient(135deg, #2b4b9f, #1e3781);
	box-shadow: var(--tm-shadow);
	transition: all .25s var(--tm-ease);
}

.tm-banner__duo-card::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1.5px solid rgba(255, 255, 255, .38);
	border-radius: 8px;
	pointer-events: none;
}

.tm-banner__duo-card:hover { transform: translateY(-3px); box-shadow: var(--tm-shadow-hover); }
.tm-banner__duo-card strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.tm-banner__duo-card span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 700; }

/* İkinci kart: boyalı lime pano */
.tm-banner__duo-card--alt { background: linear-gradient(135deg, #d4dd25, #c3cc0a); }
.tm-banner__duo-card--alt::after { border-color: rgba(38, 39, 14, .3); }
.tm-banner__duo-card--alt strong { color: var(--tm-on-lime); }
.tm-banner__duo-card--alt span { color: rgba(38, 39, 14, .8); }

/* =========================================================================
   GÜVEN BARI
   ========================================================================= */

.tm-trust { padding-bottom: 34px; }

.tm-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.tm-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	padding: 18px 20px;
	transition: all .22s var(--tm-ease);
}

.tm-trust__item:hover { box-shadow: var(--tm-shadow-hover); transform: translateY(-3px); }

.tm-trust__icon {
	flex: 0 0 52px;
	height: 52px;
	border-radius: 12px;
	background: #1e7d3b; /* menü ile aynı yeşil */
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Tema/eklenti stilleri ikon çizgilerini boyayamasın */
.tm-trust__icon svg,
.tm-trust__icon svg path,
.tm-trust__icon svg circle {
	stroke: currentColor !important;
	fill: none !important;
}

.tm-trust__item strong { display: block; font-size: 14.5px; font-weight: 800; }
.tm-trust__item span { font-size: 12.5px; color: var(--tm-muted); line-height: 1.4; }

/* =========================================================================
   "NEDEN TABELAMATIK?" BÖLÜMÜ
   ========================================================================= */

.tm-why__panel {
	position: relative;
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-left: 6px solid var(--tm-blue);
	border-radius: var(--tm-radius);
	padding: 34px 40px;
	box-shadow: var(--tm-shadow);
}

.tm-why__title {
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 10px;
	color: var(--tm-text);
}

.tm-why__lead {
	font-size: 16px;
	font-weight: 700;
	color: var(--tm-blue);
	margin: 0 0 12px;
}

.tm-why__text {
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--tm-muted);
	margin: 0 0 20px;
	max-width: 940px;
}

.tm-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 28px;
}

.tm-why__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tm-text);
	line-height: 1.5;
}

.tm-why__check {
	flex: 0 0 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* =========================================================================
   "ÇALIŞMALARIMIZI GÖRÜN" BÖLÜMÜ
   ========================================================================= */

.tm-works__text {
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--tm-muted);
	margin: -6px 0 18px;
	max-width: 940px;
}

/* Instagram galerisi: 4 kare, havuzdan rastgele dönen görseller */
.tm-ig {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.tm-ig__tile {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--tm-radius);
	overflow: hidden;
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	transition: transform .25s var(--tm-ease), box-shadow .25s var(--tm-ease);
}

.tm-ig__tile:hover { transform: translateY(-4px); box-shadow: var(--tm-shadow-hover); }

.tm-ig__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .35s ease;
}

.tm-ig__tile.is-fading img { opacity: 0; }

/* Yalnızca yöneticilerin gördüğü ipucu kutusu */
.tm-admin-hint {
	background: #fff8e1;
	border: 1px dashed #d9a514;
	border-radius: var(--tm-radius-sm);
	padding: 14px 18px;
	font-size: 13.5px;
	color: #6b5510;
}

/* =========================================================================
   İÇERİK YUVALARI — Görünüm > Widget'lar'dan eklenen Gutenberg blokları
   Eklenen içerik otomatik olarak site diline giydirilir.
   ========================================================================= */

.tm-slot__item + .tm-slot__item { margin-top: 20px; }

/* Boş yuva ipucu — yalnızca Özelleştir önizlemesinde basılır */
.tm-slot__hint {
	border: 2px dashed #c9c6b4;
	border-radius: var(--tm-radius);
	padding: 18px 22px;
	font-size: 13.5px;
	color: var(--tm-muted);
	background: rgba(255, 255, 255, .6);
}

.tm-slot__title,
.tm-slot h2, .tm-slot h3 {
	color: var(--tm-text);
	letter-spacing: -.02em;
}

.tm-slot p { color: var(--tm-muted); line-height: 1.7; }

.tm-slot img { border-radius: var(--tm-radius); }

.tm-slot .wp-block-button__link {
	background: var(--tm-lime);
	color: var(--tm-on-lime);
	border-radius: 999px;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 26px;
	transition: all .25s var(--tm-ease);
}

.tm-slot .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(35, 36, 30, .18);
}

.tm-slot .wp-block-columns { gap: 16px; }

.tm-slot .wp-block-group {
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	padding: 24px 28px;
}

/* =========================================================================
   SEO METNİ
   ========================================================================= */

.tm-seo { padding: 10px 0 44px; }

.tm-seo__content {
	background: var(--tm-card);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	padding: 30px 36px;
	color: var(--tm-muted);
	font-size: 14.5px;
	line-height: 1.75;
}

.tm-seo__content h2, .tm-seo__content h3 { color: var(--tm-text); letter-spacing: -.015em; }
.tm-seo__content a { color: var(--tm-blue); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1200px) {
	.tm-grid { grid-template-columns: repeat(3, 1fr); }

	.tm-row__track .tm-card { flex-basis: calc((100% - 3 * 14px) / 4); }
}

@media (max-width: 1024px) {
	.tm-slide { min-height: 380px; }
	.tm-slide__inner { padding: 40px 44px; }
	.tm-hero__dots { left: 44px; }
	.tm-trust__grid { grid-template-columns: 1fr 1fr; }
	.tm-ig { grid-template-columns: 1fr 1fr; }
	.tm-row__track .tm-card { flex-basis: calc((100% - 2 * 14px) / 3); }
	.tm-catcard { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 768px) {
	.tm-sec { padding: 18px 0; }
	.tm-wrap { padding: 0 14px; }
	/* Bölüm başlığı + sekme şeridi: mobilde şerit tam genişlik, yatay kaydırmalı */
	.tm-tabs .tm-sec__head { flex-wrap: wrap; }
	.tm-tabs .tm-tabs__nav {
		flex-basis: 100%;
		width: 100%;
		margin: 0 -14px;            /* kenardan kenara kaydırma hissi */
		padding: 0 14px 4px;
		max-width: none;
	}
	.tm-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.tm-row__track { gap: 10px; }
	.tm-row__track .tm-card { flex-basis: 178px; }
	.tm-catcards__track { gap: 12px; }
	.tm-catcard { flex-basis: 82%; min-height: 360px; }
	.tm-catcard__media { min-height: 220px; }
	/* ---- Hero mobil: İKİ KATLI düzen ------------------------------------
	   Üst kat: görsel kendi alanında, perdesiz ve net (oranlı sığar).
	   Alt kat: açık krem zeminde yazılar + kompakt buton — okunurluk tam.
	   Görselsiz slaytta tek kat açık degrade. */
	.tm-hero { padding-top: 12px; }
	.tm-hero__slider, .tm-hero__track, .tm-slide { border-radius: 16px; }
	.tm-slide { min-height: 0; align-items: stretch; }
	.tm-slide--gradient { min-height: 260px; align-items: center; }

	.tm-slide--photo {
		display: flex;
		flex-direction: column;
		position: relative;
		background-size: auto 220px;       /* görsel üst 220px alana oranlı sığar */
		background-repeat: no-repeat;
		background-position: right top;    /* ürünler sağda, sol üst başlığa açık */
		background-color: #f1f1ec;
	}
	/* Sol üst: başlığın arkasına yumuşak krem hale — okunurluk, görsel yine görünür */
	.tm-slide--photo::before {
		display: block;
		content: "";
		position: absolute;
		left: 0; top: 0;
		width: 100%;
		height: 220px;
		background: linear-gradient(
			100deg,
			rgba(246, 246, 243, .96) 0%,
			rgba(246, 246, 243, .88) 34%,
			rgba(246, 246, 243, .35) 52%,
			rgba(246, 246, 243, 0) 68%
		);
		pointer-events: none;
	}
	/* Etiket + başlık: görselin sol üst alanına binmiş */
	.tm-slide--photo .tm-slide__badge,
	.tm-slide--photo .tm-slide__title {
		position: absolute;
		left: 20px;
		z-index: 1;
	}
	.tm-slide--photo .tm-slide__badge { top: 16px; }
	.tm-slide--photo .tm-slide__title {
		top: 54px;
		right: 50%;                       /* dar kutu: "Yolu" alta iner */
		margin: 0;
		font-size: clamp(22px, 6.4vw, 28px);
		line-height: 1.14;
	}
	.tm-slide--photo .tm-slide__title em { margin-bottom: 4px; }

	/* Üst kat: görsel için ayrılan alan (görsel arka planda burada görünür) */
	.tm-slide--photo::after {
		content: "";
		display: block !important;   /* masaüstündeki display:none'ı ez */
		order: -1;                   /* görsel alanı ÜSTTE, yazı bloğu altta */
		flex: 0 0 auto;
		height: 220px;
		position: static;
		inset: auto;
		border: none;
		border-radius: 0;
	}

	/* Alt kat: yazı bloğu — düz açık zemin */
	.tm-slide--photo .tm-slide__inner {
		display: flex;               /* açıklama solda, buton sağda */
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		flex-wrap: nowrap;
		position: static;            /* absolute etiket/başlık SLIDE'a göre konumlansın */
		min-height: 0;
		background: #f7f7f3;
		border-top: 1px solid rgba(35, 36, 30, .06);
		padding: 16px 18px;
	}
	.tm-slide--photo .tm-slide__text {
		flex: 1 1 auto;
		min-width: 0;
		margin: 0;
		font-size: 13.5px;
		line-height: 1.45;
		text-align: left;
	}
	.tm-slide--photo .tm-btn {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 10px 16px;
		font-size: 13px;
	}

	.tm-slide__inner { padding: 18px 20px 20px; max-width: 100% !important; }
	.tm-slide__badge { font-size: 10px; padding: 5px 11px; margin-bottom: 10px; }
	.tm-slide__title { font-size: clamp(24px, 7vw, 30px); line-height: 1.15; margin-bottom: 8px; }
	.tm-slide__title em { padding: 1px 9px 3px; border-radius: 6px; }
	.tm-slide__text { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
	.tm-slide .tm-btn { padding: 10px 18px; font-size: 13.5px; box-shadow: 0 6px 16px rgba(35, 36, 30, .22); }   /* kompakt buton */
	/* Noktalar: yazı bloğunun sağ altında, görselin üstüne binmez */
	.tm-hero__dots { left: auto; right: 18px; bottom: 14px; }
	/* Bilgi kartları mobilde YAN YANA, kompakt */
	.tm-hero__cards { grid-template-columns: 1fr 1fr; margin-top: 10px; border-radius: 14px; }
	.tm-hero__card + .tm-hero__card { border-left: 1px solid var(--tm-border); border-top: none; }
	.tm-hero__card { flex-direction: row; align-items: center; gap: 9px; padding: 11px 10px; }
	.tm-hero__card-icon { flex: 0 0 32px; width: 32px; height: 32px; }
	.tm-hero__card-body { min-width: 0; }
	.tm-hero__card-icon svg { width: 16px; height: 16px; }
	.tm-hero__card-title { font-size: 12.5px; line-height: 1.25; }
	.tm-hero__card-text { font-size: 11.5px; line-height: 1.35; }
	.tm-hero__card-cta { font-size: 11.5px; margin-top: 1px; }
	.tm-hero__arrow { display: none; }
	.tm-rail__btn { display: none; }
	.tm-cat { flex: 0 0 86px; }
	.tm-cat__img { width: 70px; height: 70px; }
	.tm-cat__img--letter { font-size: 24px; }
	.tm-banner__duo-grid { grid-template-columns: 1fr; }
	.tm-banner__cta { padding: 24px 26px; }
	.tm-banner--wide .tm-banner__img { aspect-ratio: 3 / 1; }
	.tm-seo__content { padding: 20px; }
	.tm-why__panel { padding: 22px; }
	.tm-why__list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.tm-trust__grid { grid-template-columns: 1fr; }
	.tm-card__media { margin: 8px 8px 0; padding: 10px; }
	.tm-card__body { padding: 10px 13px 10px; }
	.tm-card__foot { padding: 10px 13px; }
	.tm-card__go { flex-basis: 30px; height: 30px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
	.tm-home *, .tm-home *::before, .tm-home *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
