/* ==========================================================================
   KG Savunma /new — ÜRÜNLER (katalog) sayfası · pages/products.css · sahibi: katalog ajanı
   Kapsam: .tpl-products. Giriş ayarı (bayrak kuralı) · 01 kategori kutuları · 02 katalog (yapışkan süzgeç çubuğu,
   FLIP ızgara, mobilde liste kartı) · 03 doğru seçim şeridi. Mantıksal özellikler; RTL'de pah ve geçişler aynalanır.
   ========================================================================== */

/* küçük HUD etiketleri için AA (≥ 4,5:1) kontrastlı yerel ton (ortak --fg3 küçük metinde ~3,8–4,2:1 kalıyor) */
.tpl-products { --lab: #8A8D93; }

/* ---------- giriş: konu yazı sütununun karşısında (kare yöne göre şablonda seçilir; bayraksız) ---------- */
@media (min-width: 1001px) { [dir="rtl"] .tpl-products .phero__lead { max-width: min(30em, 36vw); } }
@media (min-width: 1001px) and (max-width: 1500px) { [dir="rtl"] .tpl-products .phero__title { max-width: 11ch; } }
/* masaüstü (≥ 1001): yazı ortalı içerik sütununda (en çok 1520 px) kalırken fotoğraf ekranla büyüyordu → konu (yüz, kask) başlığın
   ve girişin altına kayıyordu. Fotoğraf içerik sütununa demirlenir: kutu yazı tarafında max(8vw, 50vw − 600px) içeriden başlar,
   kenarı koyu zemine söner; konu her genişlikte yazının karşısında kalır (geniş ekranda büyütme de azalır). */
@media (min-width: 1001px) {
  .tpl-products .phero__media {
    inset-inline-start: max(8vw, calc(50vw - 600px));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  }
  [dir="rtl"] .tpl-products .phero__media { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 24%); mask-image: linear-gradient(270deg, transparent 0%, #000 24%); }
}
.tpl-products .phero__meta b { font-weight: 600; }
/* ≤ 1000 px: yazı tam genişliğe yayılır → giriş üstte fotoğraf bandı + altta koyu zeminde yazı (konu yazının altında kalmaz).
   Bant yüksekliği girişin yarısı; kadraj şablondaki pos (561–1000) / pos_m (≤ 560) ile. */
@media (max-width: 1000px) {
  .tpl-products .phero__media {
    inset: 0 0 auto 0; height: 54%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent); mask-image: linear-gradient(180deg, #000 58%, transparent);
  }
  .tpl-products .phero__media img { object-position: 60% 26% !important; }
  [dir="rtl"] .tpl-products .phero__media img { object-position: 30% 40% !important; }
}
@media (max-width: 560px) {
  .tpl-products .phero { min-height: 100svh; }
  .tpl-products .phero__media { height: 50%; }
  .tpl-products .phero__media img, [dir="rtl"] .tpl-products .phero__media img { object-position: var(--pos-m, 50% 30%) !important; }
}

/* ---------- ortak bölüm başlığı (iki sütun: başlık + giriş) ---------- */
.tpl-products .pt__head, .tpl-products .ch__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30em); align-items: end; gap: 20px 64px; margin-bottom: clamp(36px, 4.4vw, 64px);
}
.tpl-products .pt__txt > * + *, .tpl-products .ch__txt > * + * { margin-top: 18px; }
.tpl-products .pt__lead, .tpl-products .ch__lead { justify-self: end; }
@media (max-width: 900px) {
  .tpl-products .pt__head, .tpl-products .ch__head { grid-template-columns: minmax(0, 1fr); }
  .tpl-products .pt__lead, .tpl-products .ch__lead { justify-self: start; }
}

/* ==========================================================================
   01 · Kategori kutuları (büyük sinematik fotoğraf; pah iç çerçevede → odak halkası kırpılmaz)
   ========================================================================== */
.tpl-products .pt { padding-bottom: calc(clamp(40px, 5vw, 80px) + 4vw); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4.2vw), 0 100%); }   /* tek çapraz kesit (sayfada bir kez) */
[dir="rtl"] .tpl-products .pt { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4.2vw)); }
.tpl-products .cf-sec { margin-top: -2vw; padding-top: clamp(56px, 6vw, 104px); }
.tpl-products .cf-sec::before {   /* çapraz kesit boyunca ince altın çizgi */
  content: ""; position: absolute; inset-inline: 0; top: -2.2vw; height: 4.2vw; pointer-events: none;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(245,200,66,.55) 50%, transparent calc(50% + 1px));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
}
[dir="rtl"] .tpl-products .cf-sec::before { background: linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(245,200,66,.55) 50%, transparent calc(50% + 1px)); }
.tpl-products .ctiles { display: grid; gap: clamp(10px, 1.1vw, 18px); }
.tpl-products .ctiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-products .ctiles__li { display: flex; min-width: 0; }
.tpl-products .ctile {
  --c: 22px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; aspect-ratio: 3 / 4.2; min-height: 300px; color: #ECEAE4; outline: none;
}
.tpl-products .ctile__frame {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--k0);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
[dir="rtl"] .tpl-products .ctile__frame { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.tpl-products .ctile__media { position: absolute; inset: 0; }
/* tesis kutusu (op-cover-position): kare biraz yukarı → koldaki bayrak arması sayı yongasından ve başlıktan uzak kalır */
.tpl-products .ctile--facility .ctile__media { inset: -8% 0 auto; height: 108%; }
.tpl-products .ctile__img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
  filter: saturate(.7) contrast(1.08) brightness(.8);
  transition: transform 1.6s var(--ease-out), filter var(--t3) var(--ease);
}
.tpl-products .ctile__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,8,.62) 0%, rgba(6,7,8,0) 22%, rgba(6,7,8,.2) 40%, rgba(6,7,8,.82) 62%, rgba(6,7,8,.97) 100%);
  transition: opacity var(--t3) var(--ease);
}
.tpl-products .ctile__frame::after {   /* odak: pahlı iç altın çerçeve */
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--au); opacity: 0; transition: opacity var(--t1) var(--ease);
}
.tpl-products .ctile:focus-visible .ctile__frame::after { opacity: 1; }
.tpl-products .ctile:hover .ctile__img, .tpl-products .ctile:focus-visible .ctile__img { transform: scale(1.09); filter: saturate(.96) contrast(1.06) brightness(.9); }
.tpl-products .ctile.hud::before, .tpl-products .ctile.hud::after { transition: transform var(--t3) var(--ease-out); }
.tpl-products .ctile:hover.hud::before { transform: translate(-4px, -4px); }
.tpl-products .ctile:hover.hud::after { transform: translate(4px, 4px); }
[dir="rtl"] .tpl-products .ctile:hover.hud::before { transform: translate(4px, -4px); }
[dir="rtl"] .tpl-products .ctile:hover.hud::after { transform: translate(-4px, 4px); }

.tpl-products .ctile__top { display: flex; align-items: center; gap: 12px; padding: 24px 26px 0; padding-inline-start: 42px; }
.tpl-products .ctile__i { font-family: var(--f-m); font-size: 12px; letter-spacing: .16em; color: var(--au); }
.tpl-products .ctile__bar { flex: 0 1 64px; height: 1px; background: rgba(245,200,66,.7); transform: scaleX(.35); transform-origin: var(--o, left); transition: transform var(--t3) var(--ease-out); }
[dir="rtl"] .tpl-products .ctile__bar { --o: right; }
.tpl-products .ctile:hover .ctile__bar, .tpl-products .ctile:focus-visible .ctile__bar { transform: scaleX(1); }

.tpl-products .ctile__body { position: relative; display: grid; gap: 10px; padding: 0 26px 30px; }
.tpl-products .ctile__body::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--au);
  transform: scaleX(0); transform-origin: var(--o, left); transition: transform var(--t3) var(--ease-out);
}
[dir="rtl"] .tpl-products .ctile__body::after { --o: right; }
.tpl-products .ctile:hover .ctile__body::after, .tpl-products .ctile:focus-visible .ctile__body::after { transform: scaleX(1); }
/* ürün sayısı: fotoğrafın aydınlık yerine düşse de okunur (dolu koyu yonga; AA) */
.tpl-products .ctile__n {
  justify-self: start; padding: 4px 9px 3px; background: rgba(6,7,8,.74); box-shadow: inset 0 0 0 1px rgba(236,234,228,.12);
  font-family: var(--f-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,234,228,.9);
}
.tpl-products .ctile__n b { color: var(--au); font-weight: 600; }
.tpl-products .ctile__i { padding: 3px 7px 2px; margin-inline-start: -7px; background: rgba(6,7,8,.6); }
.tpl-products .ctile__name {
  font-family: var(--f-d); font-stretch: 75%; font-weight: 820; font-size: clamp(30px, 2.65vw, 44px); line-height: .9;
  text-transform: uppercase; letter-spacing: .004em; text-wrap: balance; color: #fff;
}
.tpl-products .ctile__lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.5; color: rgba(236,234,228,.78); text-wrap: pretty; }
.tpl-products .ctile__go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-stretch: 112%; color: var(--au);
}
.tpl-products .ctile__go .arr { transition: transform var(--t2) var(--ease-out); }
.tpl-products .ctile:hover .ctile__go .arr { transform: translateX(5px); }
[dir="rtl"] .tpl-products .ctile:hover .ctile__go .arr { transform: scaleX(-1) translateX(5px); }

@media (max-width: 1100px) { .tpl-products .ctile__lead { font-size: 13.5px; } }
@media (max-width: 1000px) {
  .tpl-products .ctiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-products .ctile { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 640px) {
  .tpl-products .phero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6,7,8,.22); pointer-events: none; }
  .tpl-products .ctile { --c: 14px; aspect-ratio: 3 / 4.1; min-height: 0; }
  .tpl-products .ctile__top { padding: 16px 14px 0; padding-inline-start: 34px; }
  .tpl-products .ctile__body { gap: 6px; padding: 0 14px 18px; }
  .tpl-products .ctile__name { font-size: clamp(22px, 6.4vw, 27px); }
  .tpl-products .ctile__lead { display: none; }
  .tpl-products .ctile__n { font-size: 10.5px; letter-spacing: .1em; }
  .tpl-products .ctile__go { font-size: 11px; gap: 6px; }
  .tpl-products .ctile.hud::before, .tpl-products .ctile.hud::after { inline-size: 12px; block-size: 12px; }
  .tpl-products .ctile.hud::before { inset-block-start: 9px; inset-inline-start: 9px; }
  .tpl-products .ctile.hud::after { inset-block-end: 9px; inset-inline-end: 9px; }
}

/* ==========================================================================
   02 · Katalog
   ========================================================================== */
.tpl-products .cf-sec { padding-bottom: clamp(72px, 8vw, 128px); }
.tpl-products .cf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 64px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.tpl-products .cf-head__txt > * + * { margin-top: 18px; }
.tpl-products .cf-head__big { display: grid; justify-items: end; margin-bottom: -6px; }
.tpl-products .cf-head__num {   /* hayalet rakam: degrade dolgu (değişken yazı tipinde kontur çakışması görünmesin diye stroke yok) */
  font-family: var(--f-d); font-stretch: 75%; font-weight: 850; font-size: clamp(120px, 14vw, 240px); line-height: .8; padding-top: .04em;
  color: transparent; background: linear-gradient(180deg, rgba(245,200,66,.62) 0%, rgba(245,200,66,.16) 70%, rgba(245,200,66,.04) 100%);
  -webkit-background-clip: text; background-clip: text; letter-spacing: -.01em; font-variant-numeric: lining-nums proportional-nums;
}
.tpl-products .cf-head__lab { margin-top: 14px; font-family: var(--f-m); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg2); }
@media (max-width: 760px) {
  .tpl-products .cf-head { grid-template-columns: minmax(0, 1fr); }
  .tpl-products .cf-head__big { display: none; }
}

/* ---------- yapışkan süzgeç çubuğu ---------- */
.tpl-products .cf-sentinel { display: block; height: 1px; margin-bottom: -1px; }
.tpl-products .cf {
  position: sticky; top: var(--mast); z-index: 40; margin-bottom: clamp(26px, 3vw, 44px);
  transition: transform var(--t2) var(--ease);
}
.tpl-products .cf.is-up { transform: translateY(calc(-1 * var(--mast))); }
.tpl-products .cf::before {   /* yapıştığında: tam genişlik cam şerit */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: rgba(11,12,15,.9); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(245,200,66,.3), 0 22px 44px -28px rgba(0,0,0,.9);
  opacity: 0; transition: opacity var(--t2) var(--ease);
}
.tpl-products .cf.is-stuck::before { opacity: 1; }
.tpl-products .cf__in {
  position: relative; display: grid; align-items: center; gap: 12px 24px; padding-block: 16px;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr) auto;
  grid-template-areas: "cats cats count" "search tools count";
}
.tpl-products .cf__in::before {   /* akıştayken: pahlı kontrol paneli */
  --c: 16px; content: ""; position: absolute; inset-block: 0; inset-inline: max(0px, calc(var(--m) - 22px)); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(23,26,32,.92), rgba(17,19,24,.92)); box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
  transition: opacity var(--t2) var(--ease);
}
[dir="rtl"] .tpl-products .cf__in::before { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.tpl-products .cf.is-stuck .cf__in::before { opacity: 0; }
.tpl-products .cf__lab { flex: none; font-family: var(--f-m); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--lab); }

.tpl-products .cf__cats { grid-area: cats; display: flex; align-items: center; gap: 16px; min-width: 0; }
.tpl-products .cf__scroll {   /* iç boşluk: odak halkası kaydırma kabında kırpılmasın */
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 5px; margin: -6px -5px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tpl-products .cf__scroll::-webkit-scrollbar { display: none; }
.tpl-products .cf__scroll.is-over { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
[dir="rtl"] .tpl-products .cf__scroll.is-over { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); }

/* pahlı çip (kenar ::before, zemin ::after) */
.tpl-products .cf-chip {
  --c: 8px; position: relative; isolation: isolate; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
  font-family: var(--f); font-size: 12px; font-weight: 650; font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--fg);
  transition: color var(--t1) var(--ease), opacity var(--t1) var(--ease);
}
.tpl-products .cf-chip::before, .tpl-products .cf-chip::after { content: ""; position: absolute; transition: background-color var(--t1) var(--ease); }
.tpl-products .cf-chip::before { inset: 0; z-index: -2; background: var(--line2); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%); }
.tpl-products .cf-chip::after { inset: 1px; z-index: -1; background: var(--k1); clip-path: polygon(0 0, calc(100% - var(--c) + .41px) 0, 100% calc(var(--c) - .41px), 100% 100%, 0 100%); }
[dir="rtl"] .tpl-products .cf-chip::before { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
[dir="rtl"] .tpl-products .cf-chip::after { clip-path: polygon(calc(var(--c) - .41px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--c) - .41px)); }
.tpl-products .cf-chip:hover::before { background: var(--au); }
.tpl-products .cf-chip[aria-pressed="true"] { color: #0B0C0F; }
.tpl-products .cf-chip[aria-pressed="true"]::before, .tpl-products .cf-chip[aria-pressed="true"]::after { background: var(--au); }
.tpl-products .cf-chip__n { font-family: var(--f-m); font-size: 11.5px; font-weight: 500; letter-spacing: 0; opacity: .62; font-variant-numeric: tabular-nums; }
.tpl-products .cf-chip[aria-pressed="true"] .cf-chip__n { opacity: .8; }
.tpl-products .cf-chip[data-zero]:not([aria-pressed="true"]) { opacity: .4; }
.tpl-products .cf-chip--fam { font-family: var(--f-m); font-size: 12px; font-weight: 600; letter-spacing: .06em; font-stretch: 100%; }

/* arama */
.tpl-products .cf__search { grid-area: search; position: relative; min-width: 0; }
.tpl-products .cf__q {
  width: 100%; min-height: 44px; padding: 0 44px 0 42px; border: 1px solid var(--line2); border-radius: 0; background: var(--k0); color: var(--fg);
  font-family: var(--f); font-size: 15px; line-height: 1.3; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}
.tpl-products .cf__q::-webkit-search-cancel-button, .tpl-products .cf__q::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.tpl-products .cf__q::placeholder { color: var(--fg3); opacity: 1; }
@media (max-width: 1180px) { .tpl-products .cf__q:placeholder-shown { padding-inline-end: 10px; } }
.tpl-products .cf__q:hover { border-color: var(--fg3); }
.tpl-products .cf__q:focus-visible { outline: none; border-color: var(--au); box-shadow: 0 0 0 1px var(--au); }
.tpl-products .cf__sico { position: absolute; inset-inline-start: 13px; top: 50%; translate: 0 -50%; color: var(--fg3); pointer-events: none; }
.tpl-products .cf__q:focus-visible ~ .cf__sico, .tpl-products .cf__search:focus-within .cf__sico { color: var(--au); }
.tpl-products .cf__kbd {
  position: absolute; inset-inline-end: 11px; top: 50%; translate: 0 -50%; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
  border: 1px solid var(--line2); font-family: var(--f-m); font-size: 11px; color: var(--fg3); pointer-events: none;
}
.tpl-products .cf__q:focus ~ .cf__kbd, .tpl-products .cf__q:not(:placeholder-shown) ~ .cf__kbd { display: none; }
.tpl-products .cf__qx { position: absolute; inset-inline-end: 4px; top: 50%; translate: 0 -50%; display: grid; place-items: center; inline-size: 36px; block-size: 36px; color: var(--fg2); }
.tpl-products .cf__qx:hover { color: var(--au); }

/* standart + kullanım */
.tpl-products .cf__tools { grid-area: tools; display: flex; align-items: center; gap: 12px 24px; min-width: 0; }
.tpl-products .cf__fams { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tpl-products .cf__use { display: flex; align-items: center; gap: 12px; flex: none; }
.tpl-products .cf__sel { width: auto; max-width: 270px; min-height: 44px; padding-block: 0; background-color: var(--k0); font-size: 14px; }
.tpl-products .cf__tog, .tpl-products .cf__done { display: none; }

/* sayaç + sıfırla */
.tpl-products .cf__count { grid-area: count; display: grid; justify-items: end; align-content: center; gap: 8px; min-width: 120px; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.tpl-products .cf__shown { display: flex; align-items: baseline; font-family: var(--f-d); font-stretch: 75%; font-weight: 820; line-height: .82; }
.tpl-products .cf__shown b { font-size: 54px; font-weight: 820; color: var(--au); font-variant-numeric: lining-nums proportional-nums; }
.tpl-products .cf__of { font-size: 22px; color: var(--fg3); margin-inline-start: 2px; }
.tpl-products .cf__reset {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 11px; font-weight: 650; font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--fg2);
  transition: color var(--t1), opacity var(--t1);
}
.tpl-products .cf__reset:hover:not(:disabled) { color: var(--au); }
.tpl-products .cf__reset:disabled { opacity: .35; cursor: default; }
.tpl-products .cf__reset--m { display: none; }

@media (min-width: 1181px) and (max-width: 1360px) {
  .tpl-products .cf__in { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) auto; gap: 12px 18px; }
  .tpl-products .cf__tools { gap: 12px 18px; }
  .tpl-products .cf__fams .cf__lab, .tpl-products .cf__use .cf__lab { display: none; }
}

/* mobil / tablet (≤ 1180: arama + standart çipleri + kullanım tek satıra sığmıyordu, STANAG yarım / MIL görünmez kalıyordu):
   arama + Filtreler düğmesi; kategori şeridi; standart (tamamı, satır kırar) + kullanım açılır panelde */
@media (max-width: 1180px) {
  .tpl-products .cf__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search tog" "cats count" "tools tools"; gap: 10px 10px; padding-block: 12px; }
  .tpl-products .cf__cats .cf__lab { display: none; }
  .tpl-products .cf__tog {
    grid-area: tog; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line2); background: var(--k0);
    font-size: 12px; font-weight: 700; font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--fg);
  }
  .tpl-products .cf__tog[aria-expanded="true"] { border-color: var(--au); color: var(--au); }
  .tpl-products .cf__tools { display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 14px 0 6px; border-top: 1px solid var(--line); }
  .tpl-products .cf.is-open .cf__tools { display: flex; animation: cf-drop var(--t2) var(--ease-out) both; }
  .tpl-products .cf__fams, .tpl-products .cf__use { flex-direction: column; align-items: stretch; gap: 8px; }
  .tpl-products .cf__fams .cf__lab, .tpl-products .cf__use .cf__lab { display: block; }
  .tpl-products .cf__fams .cf__scroll { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tpl-products .cf__sel { max-width: none; width: 100%; }
  .tpl-products .cf__done {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; background: var(--au); color: #0B0C0F;
    font-size: 12.5px; font-weight: 700; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase;
  }
  .tpl-products .cf__count { min-width: 0; padding-inline-start: 10px; }
  .tpl-products .cf__count .cf__reset { display: none; }
  .tpl-products .cf__shown b { font-size: 28px; }
  .tpl-products .cf__of { font-size: 14px; }
  .tpl-products .cf__reset--m { display: inline-flex; align-self: flex-start; min-height: 40px; }
  .tpl-products .cf__kbd { display: none; }
  /* iOS: 16 px altı alana odaklanınca bütün sayfa yakınlaşıyordu (arama 14,5 / kullanım 14 px idi) */
  .tpl-products .cf__q, .tpl-products .cf__sel { font-size: 16px; }
  .tpl-products .cf-chip { min-height: 44px; }
  /* yapıştığında (panel kapalı): yalnız arama + Filtreler (≈ 68 px); kategori çipleri ve sayaç panelde / akışta görünür */
  .tpl-products .cf.is-stuck:not(.is-open) .cf__cats, .tpl-products .cf.is-stuck:not(.is-open) .cf__count { display: none; }
  .tpl-products .cf.is-stuck:not(.is-open) .cf__in { grid-template-areas: "search tog"; }
  /* açık panel görünüm alanını aşmasın: kendi içinde kayar (SONUÇLARI GÖSTER her zaman erişilir) */
  .tpl-products .cf.is-open .cf__tools { max-height: calc(100svh - var(--mast) - 146px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (min-width: 900px) and (max-width: 1180px) {   /* tablet: arama · Filtreler · sayaç tek satırda; çipler altta */
  .tpl-products .cf__in { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "search tog count" "cats cats cats" "tools tools tools"; }
  .tpl-products .cf.is-stuck:not(.is-open) .cf__count { display: grid; }
  .tpl-products .cf.is-stuck:not(.is-open) .cf__in { grid-template-areas: "search tog count"; }
  .tpl-products .cf__sel { max-width: 380px; }
  .tpl-products .cf__done { align-self: flex-start; padding-inline: 32px; }
}
@media (max-width: 1180px) { .tpl-products .cf__q { padding-inline-start: 38px; } .tpl-products .cf__sico { inset-inline-start: 11px; } }
@media (max-width: 420px) {
  .tpl-products .cf__tog { padding: 0 11px; gap: 6px; }
  .tpl-products .cf__q::placeholder { font-size: 14.5px; }   /* alanın kendisi 16 px kalır (iOS yakınlaştırmaz); yer tutucu dar ekrana sığar */
}
/* alçak görünüm alanı (yatay telefon): yapışkan çubuk ekranın üçte birini kaplıyordu → akışta kalır */
@media (max-height: 500px) {
  .tpl-products .cf { position: relative; top: auto; }
  .tpl-products .cf.is-up { transform: none; }
}
@keyframes cf-drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- ızgara ---------- */
/* sütun sayısı sabit kırılımlarda (4 / 3 / 2 / 1; eski auto-fill ile aynı eşikler) → grup sonu teklif kutusu boş hücreleri tam doldurur */
.tpl-products .cf-grid { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1279px) { .tpl-products .cf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .tpl-products .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* grup sonu teklif kutusu (kalan hücre sayısı kadar yayılır; 0 ise görünmez; süzgeç etkinken JS gizler) */
.tpl-products .cf-cta { display: none; position: relative; min-width: 0; container-type: inline-size; }
.tpl-products .cf-cta[hidden] { display: none !important; }
@media (min-width: 1280px) {
  .tpl-products .cf-cta:is([data-r4="1"], [data-r4="2"], [data-r4="3"]) { display: flex; }
  .tpl-products .cf-cta[data-r4="2"] { grid-column: span 2; }
  .tpl-products .cf-cta[data-r4="3"] { grid-column: span 3; }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .tpl-products .cf-cta:is([data-r3="1"], [data-r3="2"]) { display: flex; }
  .tpl-products .cf-cta[data-r3="2"] { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 899px) { .tpl-products .cf-cta[data-r2="1"] { display: flex; } }
.tpl-products .cf-cta.cf-pre { opacity: 0; }
.tpl-products .cf-cta__in {
  --c: 18px; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; min-height: 100%;
  padding: clamp(24px, 2.2vw, 34px); overflow: hidden;
  background: radial-gradient(90% 80% at 85% 8%, rgba(245,200,66,.16) 0%, rgba(245,200,66,0) 60%), linear-gradient(180deg, #1A1D24, #121419);
  box-shadow: inset 0 0 0 1px rgba(245,200,66,.28);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
[dir="rtl"] .tpl-products .cf-cta__in { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.tpl-products .cf-cta__in::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 46px; height: 2px; background: var(--au); }
.tpl-products .cf-cta__mark { position: absolute; z-index: -1; inset-block-end: -16%; inset-inline-end: -8%; inline-size: min(70%, 300px); height: auto; color: rgba(245,200,66,.07); }
.tpl-products .cf-cta__txt > * + * { margin-top: 12px; }
.tpl-products .cf-cta__t { font-family: var(--f-d); font-stretch: 75%; font-weight: 820; font-size: clamp(27px, 2.1vw, 36px); line-height: .95; text-transform: uppercase; letter-spacing: .004em; text-wrap: balance; color: #fff; }
.tpl-products .cf-cta__t em { font-style: normal; color: var(--au); }
.tpl-products .cf-cta__act { display: grid; gap: 16px; margin-top: auto; }
.tpl-products .cf-cta__p { max-width: 30em; font-size: 15px; line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
.tpl-products .cf-cta__btn { justify-self: start; }
@container (min-width: 560px) {   /* iki-üç hücreye yayılınca yatay kompozisyon */
  .tpl-products .cf-cta__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px clamp(32px, 4vw, 72px); padding: clamp(28px, 3vw, 48px); }
  .tpl-products .cf-cta__txt { flex: 1 1 55%; min-width: 0; }
  .tpl-products .cf-cta__act { flex: 0 1 40%; margin-top: 0; }
  .tpl-products .cf-cta__t { font-size: clamp(34px, 3.2vw, 54px); max-width: 16ch; }
  .tpl-products .cf-cta__mark { inline-size: 260px; inset-block-end: -30%; inset-inline-end: 34%; }
}
/* fotoğraflı kartlar sinematik dereceye otursun (beyaz zeminli platform görselleri parlamasın) */
.tpl-products .cf-item .pvis--photo img { filter: saturate(.8) contrast(1.06) brightness(.84); }
.tpl-products .cf-item .pcard:hover .pvis--photo img { filter: saturate(.94) contrast(1.04) brightness(.95); }
.tpl-products .cf-item .pvis--photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(6,7,8,0) 55%, rgba(6,7,8,.45) 100%); }
.tpl-products .cf-item::after { text-shadow: 0 1px 2px rgba(0,0,0,.65); }
.tpl-products .cf-item .pvis--photo img[src*="/air-2-"] { filter: saturate(.7) contrast(1.1) brightness(.7); }
/* ortak kart: uzun ürün görseli 4:3 kutuyu esnetmesin (aspect-ratio + min-height:auto) — paylaşılan istek olarak da bildirildi */
.tpl-products .pcard__media { min-height: 0; overflow: hidden; }
.tpl-products .pvis__tag { text-wrap: balance; }
.tpl-products .cf-item { position: relative; display: flex; min-width: 0; }
.tpl-products .cf-item > .pcard { width: 100%; }
.tpl-products .cf-item::after {   /* katalog sıra numarası (HUD) */
  content: attr(data-no); position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-start: 16px; pointer-events: none;
  font-family: var(--f-m); font-size: 11px; letter-spacing: .14em; color: rgba(236,234,228,.56);
}
.tpl-products .cf-item.cf-pre, .tpl-products .cf-ghead.cf-pre { opacity: 0; }
.tpl-products .cf-ghost { pointer-events: none; }
.tpl-products mark.cf-hit { background: rgba(245,200,66,.24); color: inherit; box-shadow: inset 0 -2px 0 var(--au); padding: 0 1px; }

/* grup başlığı (ızgarada tam satır) */
.tpl-products .cf-ghead { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; min-width: 0; padding-block: 6px 4px; margin-top: clamp(30px, 3.4vw, 54px); }
.tpl-products .cf-ghead:first-child { margin-top: 0; }
.tpl-products .cf-ghead__t {
  display: flex; align-items: baseline; gap: 14px; min-width: 0;
  font-family: var(--f-d); font-stretch: 75%; font-weight: 820; font-size: clamp(26px, 2.3vw, 40px); line-height: .95; text-transform: uppercase; letter-spacing: .004em;
}
.tpl-products .cf-ghead__i { font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--au); transform: translateY(-.35em); }
.tpl-products .cf-ghead__line { flex: 1 1 24px; min-width: 24px; height: 1px; background: linear-gradient(90deg, rgba(245,200,66,.6), rgba(236,234,228,.08) 70%); }
[dir="rtl"] .tpl-products .cf-ghead__line { background: linear-gradient(270deg, rgba(245,200,66,.6), rgba(236,234,228,.08) 70%); }
.tpl-products .cf-ghead__n { flex: none; font-family: var(--f-m); font-size: 13px; color: var(--lab); }
.tpl-products .cf-ghead__n b { color: var(--fg); font-weight: 600; }
.tpl-products .cf-ghead__link { flex: none; font-size: 12px; }
@media (max-width: 640px) {
  .tpl-products .cf-ghead { flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--line); }
  .tpl-products .cf-ghead:first-child { border-top: 0; padding-top: 0; }
  .tpl-products .cf-ghead__t { flex: 0 1 auto; font-size: 28px; }
  .tpl-products .cf-ghead__line { display: none; }
  .tpl-products .cf-ghead__n { margin-inline-start: auto; }
  .tpl-products .cf-ghead__link { flex: 1 1 100%; justify-content: flex-start; font-size: 11.5px; }
}

/* mobil liste kartı: görsel solda, metin sağda (27 ürün tek sütunda kısa kalır) */
@media (max-width: 639px) {
  .tpl-products .cf-grid { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .tpl-products .cf-item .pcard { --c: 14px; flex-direction: row; min-height: 172px; }
  .tpl-products .cf-item .pcard__media { position: relative; flex: 0 0 36%; aspect-ratio: auto; }
  .tpl-products .cf-item .pcard__media > .pvis { position: absolute; inset: 0; }
  .tpl-products .cf-item .pcard__body { gap: 7px; min-width: 0; padding: 14px 14px 12px 16px; padding-inline: 16px 14px; }
  .tpl-products .cf-item .pcard__cat { display: none; }
  .tpl-products .cf-item .pcard__name { font-size: 21px; }
  .tpl-products .cf-item .pcard__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.45; }
  .tpl-products .cf-item .pcard__foot { justify-content: flex-end; padding-top: 4px; }
  .tpl-products .cf-item .pcard__more { display: none; }
  .tpl-products .cf-item .pcard__add { min-height: 32px; }
  .tpl-products .cf-item .pvis__tag { padding: 0 8px; font-size: 16px; }
  .tpl-products .cf-item .pvis__mark { inline-size: 18px; inset-block-end: 10px; inset-inline-end: 10px; }
  .tpl-products .cf-item .pvis__grid { background-size: 18px 18px; }
  .tpl-products .cf-item::after { inset-block-start: 10px; inset-inline-start: 10px; font-size: 10px; }
}

/* ---------- boş durum ---------- */
.tpl-products .cf-empty {
  --c: 18px; --bg: var(--k2); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 44px;
  padding: clamp(28px, 4vw, 60px); background: var(--k2); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
[dir="rtl"] .tpl-products .cf-empty { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.tpl-products .cf-empty:not([hidden]) { animation: cf-in .5s var(--ease-out) both; }
.tpl-products .cf-empty__n { font-family: var(--f-d); font-stretch: 75%; font-weight: 850; font-size: clamp(110px, 12vw, 200px); line-height: .8; padding-top: .04em; color: transparent; background: linear-gradient(180deg, rgba(245,200,66,.7), rgba(245,200,66,.08)); -webkit-background-clip: text; background-clip: text; }
.tpl-products .cf-empty__t { font-family: var(--f-d); font-stretch: 75%; font-weight: 800; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; text-transform: uppercase; }
.tpl-products .cf-empty__p { margin-top: 12px; max-width: 36em; color: var(--fg2); }
.tpl-products .cf-empty__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 640px) { .tpl-products .cf-empty { grid-template-columns: minmax(0, 1fr); } .tpl-products .cf-empty__n { font-size: 96px; } }
@keyframes cf-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- katalog altı ---------- */
.tpl-products .cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; margin-top: clamp(36px, 4vw, 60px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg2); }
.tpl-products .cf-foot__legend { display: flex; align-items: center; gap: 12px; }
.tpl-products .cf-foot__legend .tag { --tagbg: var(--k1); }
.tpl-products .cf-foot__docs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

/* ==========================================================================
   03 · Doğru seçim
   ========================================================================== */
.tpl-products .ch__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 22px); }
.tpl-products .cstep {
  --c: 20px; position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(24px, 2.3vw, 36px); background: linear-gradient(180deg, var(--k3), #14161B);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
[dir="rtl"] .tpl-products .cstep { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.tpl-products .cstep::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 46px; height: 2px; background: var(--au); }
.tpl-products .cstep__i { font-family: var(--f-d); font-stretch: 75%; font-weight: 850; font-size: 68px; line-height: .82; padding-top: .04em; color: transparent; background: linear-gradient(180deg, rgba(245,200,66,.95), rgba(245,200,66,.22)); -webkit-background-clip: text; background-clip: text; font-variant-numeric: lining-nums proportional-nums; }
.tpl-products .cstep__t { font-family: var(--f-d); font-stretch: 75%; font-weight: 800; font-size: clamp(26px, 2.2vw, 34px); line-height: .95; text-transform: uppercase; letter-spacing: .004em; }
.tpl-products .cstep__p { font-size: 15px; line-height: 1.6; color: var(--fg2); text-wrap: pretty; }

/* NIJ basamakları (tek seri; değerler doğrudan etiketli; altın = derecelendirilmiş KG ürünü olan seviye + sayı) */
.tpl-products .lad { margin-top: auto; padding-top: 12px; }
.tpl-products .lad__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; align-items: end; }
.tpl-products .lad__c { min-width: 0; }
.tpl-products .lad__a { display: grid; gap: 7px; justify-items: center; padding: 4px 0 6px; text-align: center; color: inherit; }
.tpl-products .lad__j { order: 1; } .tpl-products .lad__track { order: 2; } .tpl-products .lad__lvl { order: 3; } .tpl-products .lad__n { order: 4; }
.tpl-products .lad__j { font-family: var(--f-m); font-size: 10.5px; color: var(--lab); white-space: nowrap; }
.tpl-products .lad__track { position: relative; display: block; inline-size: 100%; block-size: 116px; border-bottom: 1px solid var(--line2); }
.tpl-products .lad__fill { position: absolute; bottom: 0; inset-inline: 32%; height: var(--h); background: rgba(236,234,228,.22); transform-origin: 50% 100%; transition: background-color var(--t1) var(--ease); }
.tpl-products .lad__c.is-rated .lad__fill { background: var(--au); }
.tpl-products .lad__lvl { font-family: var(--f-d); font-stretch: 75%; font-weight: 800; font-size: 21px; line-height: 1; }
.tpl-products .lad__n { font-family: var(--f-m); font-size: 10px; letter-spacing: .04em; color: var(--lab); white-space: nowrap; }
.tpl-products .lad__n b { color: var(--fg); font-weight: 600; }
.tpl-products a.lad__a:hover .lad__fill, .tpl-products a.lad__a:focus-visible .lad__fill { background: var(--au2); }
.tpl-products a.lad__a:hover .lad__lvl, .tpl-products a.lad__a:focus-visible .lad__lvl { color: var(--au); }
.tpl-products .lad__kinds { display: flex; gap: 4px; margin-top: 6px; }
.tpl-products .lad__kinds span { flex: var(--n) 1 0; padding-top: 7px; border-top: 1px solid var(--line2); text-align: center; font-family: var(--f-m); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lab); }
@media (prefers-reduced-motion: no-preference) {
  .js .tpl-products .cstep[data-reveal] .lad__fill { transform: scaleY(0); transition: transform 1.1s var(--ease-out), background-color var(--t1) var(--ease); }
  .js .tpl-products .cstep[data-reveal].is-in .lad__fill { transform: none; }
  .js .tpl-products .cstep[data-reveal].is-in .lad__c:nth-child(2) .lad__fill { transition-delay: 80ms; }
  .js .tpl-products .cstep[data-reveal].is-in .lad__c:nth-child(3) .lad__fill { transition-delay: 160ms; }
  .js .tpl-products .cstep[data-reveal].is-in .lad__c:nth-child(4) .lad__fill { transition-delay: 240ms; }
  .js .tpl-products .cstep[data-reveal].is-in .lad__c:nth-child(5) .lad__fill { transition-delay: 320ms; }
}

/* ağırlık aralıkları (0–4 kg tek eksen; çelik yalnız referans, gri) */
.tpl-products .wr { margin-top: auto; padding-top: 12px; }
.tpl-products .wr__rows { display: grid; gap: 14px; }
.tpl-products .wr__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name lvl" "track track" "val val"; gap: 6px 10px; }
.tpl-products .wr__name { grid-area: name; font-size: 13.5px; font-weight: 600; color: var(--fg); }
.tpl-products .wr__ref { font-style: normal; font-family: var(--f-m); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--lab); margin-inline-start: 4px; }
.tpl-products .wr__lvl { grid-area: lvl; font-family: var(--f-m); font-size: 11px; color: var(--au); }
.tpl-products .wr__r.is-ref .wr__lvl { color: var(--fg3); }
.tpl-products .wr__track { grid-area: track; position: relative; display: block; height: 12px; background: repeating-linear-gradient(90deg, rgba(236,234,228,.1) 0 1px, transparent 1px 25%), rgba(236,234,228,.05); }
[dir="rtl"] .tpl-products .wr__track { background: repeating-linear-gradient(270deg, rgba(236,234,228,.1) 0 1px, transparent 1px 25%), rgba(236,234,228,.05); }
.tpl-products .wr__seg { position: absolute; inset-block: 0; inset-inline-start: var(--a); inline-size: calc(var(--b) - var(--a)); background: var(--fg); transform-origin: var(--o, left); }
[dir="rtl"] .tpl-products .wr__seg { --o: right; }
.tpl-products .wr__r.is-ref .wr__seg { background: rgba(236,234,228,.3); }
.tpl-products .wr__val { grid-area: val; font-family: var(--f-m); font-size: 11.5px; color: var(--fg2); }
.tpl-products .wr__axis { position: relative; height: 20px; margin-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-m); font-size: 10px; color: var(--lab); }
.tpl-products .wr__axis span { position: absolute; top: 5px; inset-inline-start: var(--x); translate: -50% 0; white-space: nowrap; }
[dir="rtl"] .tpl-products .wr__axis span { translate: 50% 0; }
.tpl-products .wr__axis span:first-child { translate: 0 0; }
.tpl-products .wr__axis span:last-child { translate: -100% 0; }
[dir="rtl"] .tpl-products .wr__axis span:last-child { translate: 100% 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .tpl-products .cstep[data-reveal] .wr__seg { transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
  .js .tpl-products .cstep[data-reveal].is-in .wr__seg { transform: none; }
  .js .tpl-products .cstep[data-reveal].is-in .wr__r:nth-child(2) .wr__seg { transition-delay: 120ms; }
  .js .tpl-products .cstep[data-reveal].is-in .wr__r:nth-child(3) .wr__seg { transition-delay: 240ms; }
}

/* kullanım alanı bağlantıları (kataloğu süzer) */
.tpl-products .cstep__k { margin-top: auto; padding-top: 6px; font-family: var(--f-m); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lab); }
.tpl-products .uses { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-products .uses__a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line2);
  font-size: 13px; font-weight: 600; color: var(--fg); transition: border-color var(--t1) var(--ease), color var(--t1) var(--ease), background-color var(--t1) var(--ease);
}
.tpl-products .uses__a:hover { border-color: var(--au); background: rgba(245,200,66,.08); }
.tpl-products .uses__n { font-family: var(--f-m); font-size: 11px; color: var(--au); }
.tpl-products .ch__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3vw, 48px); }
.tpl-products .ch .btn--ghost { --bgx: var(--k2); }
@media (max-width: 640px) {
  .tpl-products .ch__links .btn { width: 100%; white-space: normal; line-height: 1.25; text-align: center; padding-block: 12px; }
}

@media (max-width: 1000px) { .tpl-products .ch__steps { grid-template-columns: minmax(0, 1fr); } .tpl-products .lad__track { block-size: 96px; } }

/* ==========================================================================
   Arapça: harf aralığı / büyük harf / dar genişlik yok; Kufi başlıklar biraz küçülür
   ========================================================================== */
[lang="ar"] .tpl-products .cf__lab, [lang="ar"] .tpl-products .cf-chip, [lang="ar"] .tpl-products .cf__reset, [lang="ar"] .tpl-products .cf__tog,
[lang="ar"] .tpl-products .cf__done, [lang="ar"] .tpl-products .cf-head__lab, [lang="ar"] .tpl-products .ctile__n, [lang="ar"] .tpl-products .ctile__go,
[lang="ar"] .tpl-products .lad__kinds span, [lang="ar"] .tpl-products .wr__ref, [lang="ar"] .tpl-products .cstep__k, [lang="ar"] .tpl-products .cf-ghead__link,
[lang="ar"] .tpl-products .lad__n, [lang="ar"] .tpl-products .cf-cta__k {
  letter-spacing: 0; text-transform: none; font-stretch: 100%;
}
[lang="ar"] .tpl-products .cf__lab, [lang="ar"] .tpl-products .cf-chip, [lang="ar"] .tpl-products .cf__reset, [lang="ar"] .tpl-products .cf__tog,
[lang="ar"] .tpl-products .cf__done, [lang="ar"] .tpl-products .ctile__go, [lang="ar"] .tpl-products .cstep__k, [lang="ar"] .tpl-products .lad__kinds span { font-family: var(--f-d); font-weight: 600; }
[lang="ar"] .tpl-products .cf__lab, [lang="ar"] .tpl-products .cstep__k, [lang="ar"] .tpl-products .lad__kinds span { font-size: 12px; }
[lang="ar"] .tpl-products .cf-chip { font-size: 13px; }
[lang="ar"] .tpl-products .ctile__name, [lang="ar"] .tpl-products .cf-ghead__t, [lang="ar"] .tpl-products .cf-empty__t, [lang="ar"] .tpl-products .cstep__t {
  font-family: var(--f-d); font-stretch: 100%; font-weight: 800; text-transform: none; letter-spacing: 0; line-height: 1.3;
}
[lang="ar"] .tpl-products .ctile__name { font-size: clamp(22px, 1.9vw, 32px); }
[lang="ar"] .tpl-products .cf-ghead__t { font-size: clamp(22px, 1.8vw, 30px); }
[lang="ar"] .tpl-products .cstep__t { font-size: clamp(21px, 1.7vw, 27px); }
[lang="ar"] .tpl-products .cf-empty__t { font-size: clamp(21px, 1.9vw, 30px); }
[lang="ar"] .tpl-products .cf-cta__t { font-family: var(--f-d); font-stretch: 100%; text-transform: none; letter-spacing: 0; font-weight: 800; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.35; }
@container (min-width: 560px) { [lang="ar"] .tpl-products .cf-cta__t { font-size: clamp(26px, 2.4vw, 38px); max-width: 18ch; } }
[lang="ar"] .tpl-products .cf__q, [lang="ar"] .tpl-products .cf__sel { font-family: var(--f); }
@media (max-width: 640px) { [lang="ar"] .tpl-products .ctile__name { font-size: 19px; } }

/* Arapça sayfada yer tutucu etiketi çoğunlukla Latin teknik ifade: Hubot'un dar kesimi (Kufi genişliği etkilenmez) */
[lang="ar"] .tpl-products .pvis__tag { font-stretch: 75%; line-height: 1.05; }

/* Arapça: Latin görüntü ifadeleri Hubot dar kesimde; mono etiketler mono kalır */
[lang="ar"] .tpl-products .lad__lvl bdi { font-family: "Hubot Sans", "Hubot Fallback", "Arial Narrow", Arial, sans-serif; font-stretch: 75%; }
[lang="ar"] .tpl-products :is(.wr__lvl, .cf-chip--fam) bdi { font-family: var(--f-m); }

/* Türkçe büyük harf: ikinci satırdaki İ/Ü noktaları üst satırla çakışmasın (.9 satır aralığında çakışıyordu) */
[lang="tr"] .tpl-products .phero__title, [lang="tr"] .tpl-products .t-h2, [lang="tr"] .tpl-products .ctile__name, [lang="tr"] .tpl-products .cstep__t, [lang="tr"] .tpl-products .cf-empty__t, [lang="tr"] .tpl-products .cf-cta__t { line-height: 1; }

/* ---------- şematik çizimli yer tutucu (görseli olmayan ürünler) ---------- */
.tpl-products .pvis--glyph .pvis__glyph {
  position: absolute; z-index: 1; top: 9%; inset-inline-start: 12%; width: 76%; height: 75%; color: var(--au); opacity: .88;
  transition: transform var(--t3) var(--ease-out), opacity var(--t2) var(--ease);
}
.tpl-products .pcard:hover .pvis--glyph .pvis__glyph { transform: scale(1.045); opacity: 1; }
.tpl-products .pvis--glyph .pvis__tag {
  position: absolute; z-index: 2; inset-inline-start: 16px; inset-block-end: 13px; max-width: calc(100% - 76px); padding: 0;
  font-family: var(--f-m); font-stretch: 100%; font-weight: 500; font-size: 11px; line-height: 1.25; letter-spacing: .1em; text-align: start; color: rgba(236,234,228,.6);
}
.tpl-products .pvis__sch { position: absolute; z-index: 2; inset-block-start: 13px; inset-inline-end: 16px; font-family: var(--f-m); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,234,228,.56); }
.tpl-products .pvis--glyph .pvis__mark { inline-size: 24px; opacity: .8; }
/* sinematik zemin (görseli olmayan ürün): koyu, soluk saha fotoğrafı alta doğru kararır; altın şematik çizim üstte */
.tpl-products .pvis__bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.7) brightness(.42) contrast(1.15);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.22) 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.22) 100%);
  transition: transform 1.6s var(--ease-out), filter var(--t3) var(--ease);
}
.tpl-products .pcard:hover .pvis__bg { filter: grayscale(.5) brightness(.52) contrast(1.12); }
.tpl-products .pvis--bg .pvis__grid { opacity: .32; }
.tpl-products .pvis--bg .pvis__mark { z-index: 2; }
.tpl-products .pvis--bg .pvis__tag, .tpl-products .pvis--bg .pvis__sch { color: rgba(236,234,228,.72); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
/* çizim, kart göründüğünde parça parça kurulur (yalnız opaklık + konum; azaltılmış harekette yok) */
@media (prefers-reduced-motion: no-preference) {
  .tpl-products .is-draw .pvis__glyph > * { animation: cf-glyph .8s var(--ease-out) both; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(2) { animation-delay: 80ms; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(3) { animation-delay: 160ms; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(4) { animation-delay: 240ms; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(5) { animation-delay: 320ms; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(6) { animation-delay: 400ms; }
  .tpl-products .is-draw .pvis__glyph > :nth-child(n+7) { animation-delay: 480ms; }
}
@keyframes cf-glyph { from { opacity: 0; transform: translateY(5px); } }
[lang="ar"] .tpl-products .pvis--glyph .pvis__tag { font-family: var(--f); font-size: 12px; letter-spacing: 0; line-height: 1.4; }
[lang="ar"] .tpl-products .pvis__sch { font-family: var(--f); font-size: 11px; letter-spacing: 0; text-transform: none; }
@media (max-width: 639px) {
  .tpl-products .pvis--glyph .pvis__tag, .tpl-products .pvis__sch { display: none; }
  .tpl-products .pvis--glyph .pvis__glyph { top: 12%; inset-inline-start: 8%; width: 84%; height: 72%; }
}

/* karışık yönlü etiketler (ör. RED-DOT · 3–9×, مسبق الصنع): yön içerikten belirlenir */
.tpl-products .pcard__tags .tag, .tpl-products .pvis__tag { unicode-bidi: plaintext; }

/* ---------- azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  .tpl-products .ctile__img, .tpl-products .ctile__bar, .tpl-products .ctile__body::after, .tpl-products .cf, .tpl-products .cf::before, .tpl-products .cf__in::before, .tpl-products .pvis__bg { transition: none; }
  .tpl-products .cf-empty:not([hidden]), .tpl-products .cf.is-open .cf__tools { animation: none; }
}
