/* Telsama Hırdavat — renk ve yazı tipleri telsama.com (Sway) ile aynı; tek yerden değiştirilir. */
.th-section {
	--th-accent: #fa9806;
	--th-accent-dark: #d77f00;
	--th-navy: #39374d;          /* Sway başlık rengi */
	--th-ink: #39374d;
	--th-text: #7c7c7c;          /* Sway metin rengi */
	--th-muted: #7c7c7c;
	--th-line: #e6e6ea;
	--th-soft: #f7f6f4;
	--th-radius: 6px;
	--th-font-heading: "Josefin Sans", sans-serif;  /* Sway başlıkları */
	--th-font-body: Roboto, sans-serif;             /* Sway metinleri ve menü */
}

/* Yazı tipleri: başlıklar Josefin Sans, metin ve arayüz Roboto (sitenin geri kalanıyla aynı). */
.th-section .th-page { font-family: var(--th-font-body); font-size: 16px; line-height: 24px; color: var(--th-text); }
.th-section .th-hero__title,
.th-section .th-block__title,
.th-section .th-product__title,
.th-section .th-card__title,
.th-section .th-cats__name,
.th-section .th-sidebar__title,
.th-section .th-brands__item span {
	font-family: var(--th-font-heading);
	letter-spacing: -0.01em;
	text-transform: none;
}
.th-section .th-block__title,
.th-section .th-product__title,
.th-section .th-card__title,
.th-section .th-sidebar__title { color: var(--th-ink); }
.th-section .th-breadcrumb,
.th-section .th-btn,
.th-section .th-chip,
.th-section .th-badge,
.th-section .th-page .th-tabs__nav button { font-family: var(--th-font-body); }

/* Tema stillerinin (alt çizgili bağlantı, dolu düğme) bileşenlere sızmasını engelle. */
.th-section .th-page a,
.th-section .th-hero a { text-decoration: none; }
.th-section .th-page button {
	background: transparent;
	color: inherit;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	min-height: 0;
}

.th-container { max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.th-page { padding-top: 48px; padding-bottom: 72px; color: var(--th-ink); }

/* Başlık bandı. Temanın kendi arşiv başlığı (Sway: header.entry-header) bu sayfalarda gizlenir, çift band olmasın. */
.th-section header.entry-header:not(.th-hero) { display: none; }
.th-hero { background: var(--th-navy); color: #fff; padding: 56px 0 36px; }
/* Sway'in sayfa başlığıyla aynı ölçüler (üstte sabit menünün payı: 220px). */
.th-hero--image { position: relative; background-size: cover; background-position: top center; text-align: center; padding: clamp(150px, 17vw, 220px) 0 100px; }
.th-section .th-hero--image .th-hero__title { font-size: 42px; font-weight: 400; line-height: 54.6px; }
.th-hero--image::before { content: ""; position: absolute; inset: 0; background: rgba(15, 22, 40, .35); }
.th-hero--image .th-container { position: relative; }
.th-hero__title { color: #fff; margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.th-hero__subtitle { margin: 0; opacity: .8; }
.th-breadcrumb { margin-top: 14px; font-size: 14px; opacity: .85; }
.th-breadcrumb a { color: #fff; }

/* Bölümler */
.th-block + .th-block { margin-top: 56px; }
.th-block__title { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--th-accent); display: inline-block; }
.th-intro { max-width: 760px; margin-bottom: 28px; color: var(--th-muted); }
.th-empty { color: var(--th-muted); padding: 24px 0; }

/* Hırdavat ana sayfası: sade marka + kategori şeridi (görsel gerektirmez). */
.th-browse { display: grid; gap: 14px; padding: 18px 22px; margin-bottom: 44px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; }
.th-browse__row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; }
.th-browse__row + .th-browse__row { padding-top: 14px; border-top: 1px solid var(--th-line); }
.th-browse__label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--th-muted); }
.th-browse__items { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.th-logo-chip { display: inline-flex; align-items: center; justify-content: center; height: 46px; min-width: 96px; max-width: 170px; padding: 6px 14px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; transition: border-color .2s; }
.th-logo-chip:hover { border-color: var(--th-accent); }
.th-section .th-logo-chip img { display: block; width: auto; height: 30px; max-width: 140px; object-fit: contain; }
.th-logo-chip span { font-family: var(--th-font-heading); font-weight: 700; color: var(--th-ink); }

/* Marka logoları (marka sayfası ve ürün sayfası dışında kullanılmaz) */
.th-brands__item { min-width: 0; overflow: hidden; }
.th-section .th-brands__item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80px; object-fit: contain; }

/* Ürün kartları */
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.th-card { border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.th-card:hover { border-color: var(--th-accent); box-shadow: 0 6px 20px rgba(29, 43, 79, .08); }
.th-card__link { display: block; color: inherit; text-decoration: none; }
.th-card__media { aspect-ratio: 1; background: var(--th-soft); display: flex; align-items: center; justify-content: center; }
.th-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.th-card__body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.th-card__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--th-accent-dark); font-weight: 600; }
.th-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--th-navy); }
.th-card__code { font-size: 13px; color: var(--th-muted); letter-spacing: .02em; }

/* Kenar menü + içerik */
.th-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.th-layout:not(:has(.th-sidebar)) { grid-template-columns: minmax(0, 1fr); }
.th-sidebar { position: sticky; top: 120px; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 18px; }
.th-sidebar__title { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.th-sidebar ul { list-style: none; margin: 0; padding: 0; }
.th-sidebar ul ul { padding-left: 14px; }
.th-sidebar a { display: block; padding: 6px 0; color: var(--th-text); border-bottom: 1px solid var(--th-line); }
.th-sidebar a.is-active, .th-sidebar a:hover { color: var(--th-accent-dark); font-weight: 600; }

/* Marka süzgeci */
.th-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.th-chip { padding: 6px 14px; border: 1px solid var(--th-line); border-radius: 99px; color: var(--th-ink); font-size: 14px; }
.th-chip.is-active, .th-chip:hover { border-color: var(--th-accent); background: var(--th-accent); color: #fff; }

/* Marka tanıtımı */
.th-brand-intro { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 48px; }
.th-brand-intro__logo { border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 28px; display: flex; align-items: center; justify-content: center; background: #fff; }
.th-section .th-brand-intro__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 140px; object-fit: contain; }
.th-brand-intro__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 16px 0; }
.th-brand-intro__meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--th-muted); }
.th-brand-intro__meta dd { margin: 0; font-weight: 600; }
.th-badge { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 4px; background: var(--th-accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; }

/* Butonlar */
.th-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--th-radius); background: var(--th-accent); color: #fff; font-weight: 500; text-decoration: none; transition: background .2s; }
.th-btn:hover { background: var(--th-accent-dark); color: #fff; }
.th-btn--ghost { background: transparent; color: var(--th-navy); border: 1px solid var(--th-line); }
.th-btn--ghost:hover { background: var(--th-soft); color: var(--th-navy); }
.th-downloads { display: flex; flex-wrap: wrap; gap: 10px; }

/* Ürün detay */
.th-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.th-gallery__main { aspect-ratio: 1; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; display: flex; align-items: center; justify-content: center; }
.th-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.th-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.th-section .th-page .th-gallery__thumb { padding: 0; border: 1px solid var(--th-line); border-radius: 4px; background: #fff; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.th-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.th-section .th-page .th-gallery__thumb.is-active, .th-section .th-page .th-gallery__thumb:focus-visible { border-color: var(--th-accent); outline: none; box-shadow: 0 0 0 2px var(--th-accent); }
.th-product__brand { display: inline-block; margin-bottom: 18px; }
.th-section .th-product__brand img { display: block; width: auto; height: auto; max-width: min(240px, 100%); max-height: 56px; object-fit: contain; }
.th-product__title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.28; margin: 0 0 8px; color: var(--th-navy); }
.th-product__code { color: var(--th-muted); margin: 0 0 18px; letter-spacing: .02em; }
.th-product__code span { color: var(--th-ink); font-weight: 500; }
.th-product__short { margin-bottom: 24px; }

/* Sekmeler */
.th-tabs { margin-top: 56px; }
.th-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--th-line); }
.th-section .th-page .th-tabs__nav button { padding: 12px 20px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 500; color: var(--th-muted); cursor: pointer; margin-bottom: -1px; }
.th-section .th-page .th-tabs__nav button[aria-selected="true"] { color: var(--th-navy); border-bottom-color: var(--th-accent); }
.th-section .th-page .th-tabs__nav button:focus-visible { outline: 2px solid var(--th-accent); outline-offset: 2px; }
.th-tabs__panel { padding: 28px 0; }
.th-prose { max-width: 820px; }
.th-specs { width: 100%; max-width: 820px; border-collapse: collapse; }
.th-specs th, .th-specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--th-line); vertical-align: top; }
.th-specs th { width: 40%; color: var(--th-muted); font-weight: 600; }
.th-specs tr:nth-child(odd) { background: var(--th-soft); }

.th-quote { margin-top: 40px; padding: 32px; border-radius: var(--th-radius); background: var(--th-soft); scroll-margin-top: 120px; }
.th-section [hidden] { display: none !important; }

@media (max-width: 900px) {
	.th-layout, .th-product, .th-brand-intro { grid-template-columns: minmax(0, 1fr); }
	.th-sidebar { position: static; }
	.th-brand-intro__logo { max-width: 280px; }
	.th-product { gap: 28px; }
}

/* Telefonda ürünler ve markalar iki sütun. */
@media (max-width: 600px) {
	.th-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.th-browse { padding: 14px 16px; }
	.th-browse__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.th-card__body { padding: 10px 12px 14px; }
	.th-card__title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.th-section * { transition: none !important; }
}
