/*
Theme Name: TirolX
Theme URI: https://tirolx.com
Author: TirolX
Description: TirolX premium çoklu marka mağaza teması — MARINE/OUTLIFE/WORKSHOP
Version: 1.0.0
Text Domain: tirolx
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
*/

:root {
  --ink: #0A0A0A;
  --body: #1A1A1A;
  --muted: #6B6B6B;
  --accent: #D9031D;
  --accent-dark: #A00214;
  --paper: #FFFFFF;
  --fog: #F5F5F5;
  --line: #E5E5E5;
  --hover-grey: #3A3A3A;
  /* G21+G22+G25 sync (UMG 2026-05-16) — thumb / brand logo / video ikon hepsi bu değişkenden okur.
   * UMG screenshot feedback'i sonrası tek satır değişiklikle 3 hedef sync güncellenir.
   * 2026-05-16 13:30 UMG feedback: 48px küçük → 64px ideal.
   * 2026-05-16 13:45 UMG feedback: 64 hâlâ küçük → 80px. */
  --thumb-size: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  background: transparent;
}

/* 2026-05-14 G16.2 — Anasayfa hero açık renkli olunca (su köpüğü, kar, açık zemin)
   beyaz logo + nav görünmüyordu. Solution: header'a üstten koyuya gradient overlay
   (yalnız anasayfa, scroll edilmemişken). Scroll edince .scrolled state beyaz alır. */
body.tirolx-home .header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
}
.header-left {
  justify-self: start;
}
.header-center {
  justify-self: center;
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 8px 56px;
}
.logo {
  /* 2026-05-09 UMG: %20 küçültüldü (52→42).
     2026-05-13 UMG G15: header minimum yükseklik → logo 36px desktop, 26px mobile + SVG'den siyah bg kaldırıldı.
     2026-05-13 G16: Yeni UMG SVG (viewBox 150×37.5, aspect 4:1) → max-width aspect'e uygun ayarlandı (36×4=144 + buffer). */
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 160px !important;
  flex-shrink: 0;
  transition: filter 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .logo {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 120px !important;
  }
}
.header:not(.scrolled) .logo-dark { display: none; }
.header.scrolled .logo-light { display: none; }

.nav {
  display: flex;
  gap: 72px;
  align-items: center;
}
.nav-item {
  position: relative;
  padding: 8px 0;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.header.scrolled .nav-link {
  color: var(--ink);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-item:hover .nav-link::after { width: 100%; }

/* Mega menu — HOVER BRIDGE SİSTEMİ */
.nav-item {
  position: relative !important;
  /* Aşağı doğru hover area — alt menü ile bitişik */
  padding-bottom: 28px !important;
}
/* Görünmez hover bridge — nav-item ve mega arasındaki gap'i kapatır */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 28px;
  background: transparent;
  pointer-events: none;
}
.nav-item:hover::after {
  pointer-events: auto;
}
.mega {
  position: absolute;
  top: 100% !important; /* GAP YOK — nav-item'a bitişik */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 320px;
  background: rgba(10, 10, 10, 0.45) !important; /* %40 daha şeffaf */
  backdrop-filter: blur(36px) !important;
  -webkit-backdrop-filter: blur(36px) !important;
  padding: 28px 22px 22px !important;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  visibility: hidden;
  /* Kapanma gecikmesi: 0.5s — mouse menüye geçecek süre */
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.5s !important;
  pointer-events: none;
}
/* Mega'nın üst kısmında ekstra invisible bridge — nav-item ile mega arasındaki çakışmayı garantiler */
.mega::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 28px;
  background: transparent;
  pointer-events: auto;
}
.nav-item:hover .mega,
.mega:hover,
.nav-item:focus-within .mega {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
  /* Açılışta gecikme yok */
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s !important;
}
.mega-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mega-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-link {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  padding: 9px 12px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
}
.mega-link::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
  flex-shrink: 0;
}
/* 2026-05-09 UMG ricası: mega-link hover'daki beyaz arka plan + padding-left
   shift kaldırıldı — beyaz zeminde metin okunmuyor şikâyeti. Hover indicator
   olarak sadece kırmızı renk değişimi + kısa kırmızı tire. */
.mega-link:hover {
  color: var(--accent);
}
.mega-link:hover::before { width: 16px; }

/* G17 — Search bar sadece ikon mode (2026-05-14 UMG ricası)
   Geniş text input header bar'ı dolduruyordu, premium hissi azaltıyordu.
   Şimdi: 42×42 daire ikon (icon-btn'lerle aynı boy). Form korundu (input gizli),
   ileride click-to-expand drawer/overlay eklenebilir. */
.search-area {
  width: auto !important;
}
.search-bar {
  position: relative;
  width: auto;
  display: flex;
  align-items: center;
}
.search-input {
  display: none !important;
}
.search-bar .search-submit {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}
.search-bar .search-submit:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
.search-icon {
  position: static;
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}
/* Beyaz tema (scrolled veya anasayfa-olmayan tüm sayfalar G12) */
.header.scrolled .search-bar .search-submit,
body:not(.tirolx-home) .header .search-bar .search-submit {
  border-color: rgba(0, 0, 0, 0.15) !important;
}
.header.scrolled .search-bar .search-submit:hover,
body:not(.tirolx-home) .header .search-bar .search-submit:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.4) !important;
}
.header.scrolled .search-icon,
body:not(.tirolx-home) .header .search-icon {
  stroke: var(--ink);
}

.icons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 0.2s ease;
  position: relative;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.header.scrolled .icon-btn:hover { background: var(--fog); }
.icon-btn svg {
  width: 20px; height: 20px;
  stroke: #FFFFFF;
  stroke-width: 1.8;
  fill: none;
  transition: stroke 0.25s ease;
}
.header.scrolled .icon-btn svg { stroke: var(--ink); }

/* G23 — Hamburger sadece mobile'da görünür (UMG 2026-05-16).
 * Desktop'ta .nav menüsü zaten var → hamburger gereksiz/çakışma.
 * Mobile'da .nav gizleniyor → hamburger mobil drawer için ZORUNLU.
 * Mobile media query (max-width: 640px) içinde explicit display ile geri açılır. */
.icons .hamburger { display: none; }

.cart-badge {
  position: absolute;
  top: 6px; right: 6px;
  width: 16px; height: 16px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.25) 35%,
    rgba(10,10,10,0.45) 80%,
    rgba(10,10,10,0.75) 100%
  );
  z-index: 1;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 96px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 0.9s 0.2s ease forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  max-width: 22ch;
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 1s 0.4s ease forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 52ch;
  line-height: 1.5;
  margin-bottom: 38px;
  opacity: 0;
  animation: rise 1s 0.6s ease forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  opacity: 0;
  animation: rise 1s 0.8s ease forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border-radius: 2px;
}
.btn-primary {
  background: #FFFFFF;
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  color: #FFFFFF;
  gap: 16px;
}
.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.08);
  gap: 16px;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; stroke: currentColor; fill: none; }

/* Hero scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1s 1.2s ease forwards;
}
.scroll-ind-line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.5);
  animation: scrollPulse 2s infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ TAGLINE BANDI ============ */
.tagline-band {
  padding: 100px 56px;
  text-align: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.tagline {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 auto 18px;
}
/* ============ TIROLX İMZA DİSİPLİNİ (global) ============ */
/* Kural: Latin "o/O" → kırmızı (.o-mark) — Türkçe "ö/Ö" UYGULANMAZ */
/* Kural: Cümle sonu nokta ve soru işareti → kırmızı (.dot, .q-mark) */
span.o-mark,
.o-mark {
  color: var(--accent);
}
span.dot,
.dot {
  color: var(--accent);
}
/* Soru işareti vurgusu — başlık boyutunda + kırmızı, .dot'un küçültme kuralını override eder */
span.q-mark,
.q-mark {
  color: var(--accent);
  font-size: inherit;
}
/* Tagline-mini için legacy .dot rengi (footer minimal) */
.tagline-mini .dot {
  color: var(--accent);
}
.tagline-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============ 3 DEPARTMAN KARTLARI ============ */
.departments {
  padding: 40px 56px 100px;
  max-width: 1440px;
  margin: 0 auto;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dept-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  box-shadow:
    0 32px 64px -12px rgba(10, 10, 10, 0.32),
    0 18px 32px -8px rgba(10, 10, 10, 0.20),
    0 6px 12px rgba(10, 10, 10, 0.08);
}
.dept-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.85) brightness(0.75);
}
.dept-card:hover .dept-bg {
  transform: scale(1.15);
  filter: saturate(1) brightness(0.88);
}
.dept-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}
.dept-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 36px 38px;
  color: #FFFFFF;
}
.dept-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dept-kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.dept-name {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1;
}
.dept-slogan {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 28ch;
  margin-bottom: 22px;
}
.dept-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: gap 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
}
.dept-card:hover .dept-cta {
  gap: 16px;
  border-bottom-color: #FFFFFF;
}
.dept-cta svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============ AMIRAL MARKALAR ============ */
.admirals {
  padding: 100px 56px;
  background: var(--ink);
  color: #FFFFFF;
  text-align: center;
}
.admirals-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.admirals-eyebrow::before,
.admirals-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.admirals-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: #FFFFFF;
}
.admirals-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 52ch;
  margin: 0 auto 60px;
  line-height: 1.6;
}
.admirals-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
}
.admiral {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transition: all 0.35s ease;
  border-right: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}
.admiral:last-child { border-right: none; }
.admiral img {
  max-width: 85%;
  max-height: 75%;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(0.3);
  transition: all 0.35s ease;
}
.admiral:hover {
  background: rgba(217, 3, 29, 0.08);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 16px 44px rgba(0,0,0,0.4);
}
.admiral:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.08);
}

/* ============ VIDEO BANDI ============ */
.video-band {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.video-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 56px;
  color: #FFFFFF;
}
.video-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.video-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.video-title {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 28px;
  line-height: 1.05;
}
.video-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.video-cta:hover {
  background: rgba(255,255,255,0.2);
  border-color: #FFFFFF;
  gap: 20px;
}
.video-cta svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============ FOOTER ============ */
.footer {
  background: var(--paper);
  padding: 80px 56px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  font-size: 13px;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.6;
}
.footer-col h3.brand-name {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 14px;
  font-weight: 700;
}
.footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1440px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom .tagline-mini {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}


/* User dropdown */
.user-wrap {
  position: relative;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 260px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  z-index: 110;
}
.user-wrap:hover .user-dropdown,
.user-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.header.scrolled .user-dropdown {
  background: rgba(10, 10, 10, 0.92);
}
.user-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  position: relative;
}
.user-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}
.user-link:hover {
  background: rgba(255,255,255,0.95);
  color: #3A3A3A;
  padding-left: 18px;
}
.user-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 6px 8px;
}
.user-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1100px) {
  .header { padding: 18px 32px; gap: 20px; }
  .header.scrolled { padding: 12px 32px; }
  .nav { gap: 40px; }
  .search-area { max-width: 280px; }
  .hero-content, .departments, .tagline-band, .admirals, .video-content, .footer { padding-left: 32px; padding-right: 32px; }
  .dept-grid { grid-template-columns: 1fr; gap: 16px; }
  .dept-card { aspect-ratio: 16/10; }
  .admirals-grid { grid-template-columns: repeat(4, 1fr); }
  .admiral:nth-child(4) { border-right: none; }
  .admiral:nth-child(5), .admiral:nth-child(6), .admiral:nth-child(7) {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .header { padding: 14px 20px; }
  .search-area { max-width: 100%; margin-left: 12px; }
  .icons .icon-btn:not(.hamburger):not(.cart) { display: none; }
  /* G23 — Mobile'da hamburger görünür (desktop'taki display:none override) */
  .icons .hamburger { display: inline-flex; }
  .hero-content { padding: 0 20px 60px; }
  .hero-title { font-size: 40px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .tagline-band, .departments, .admirals, .video-band { padding-left: 20px; padding-right: 20px; }
  .admirals-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

/* A. Foto bandı "+N daha" overlay (single-product.php prd-thumb-more) */
.prd-thumb-more { position: relative; }
.prd-thumb-more img {
  opacity: 0.45;
  filter: brightness(0.55);
  transition: opacity .15s;
}
.prd-thumb-more:hover img { opacity: 0.65; }
.prd-thumb-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 22px/1 'Montserrat', system-ui, sans-serif;
  color: #fff;
  letter-spacing: -0.01em;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* B. Footer sosyal medya iconları (CSS hiç yoktu, SVG default boyutsuz dev görünüyordu) */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* C. Fiyat etiket gri full-width bant fix
   Mockup CSS extract'ı media query'leri sarmadığı için bare-context'ta
   "position: static; width: 100%" rule'u kalmış. Specificity ile override. */
body.tirolx-product .prd-hero-price {
  position: absolute !important;
  width: auto !important;
  max-width: max-content;
  bottom: 48px;
  right: 64px;
  padding: 28px 40px;
  background: rgba(10,10,10,0.45);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 3;
  text-align: right;
}
body.tirolx-product .prd-hero-price-value,
body.tirolx-product .prd-hero-price .price,
body.tirolx-product .prd-hero-price .amount {
  font-size: 42px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
body.tirolx-product .prd-hero-price del .amount,
body.tirolx-product .prd-hero-price del {
  font-size: 22px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.6) !important;
  margin-right: 12px !important;
}
@media (max-width: 1100px) {
  body.tirolx-product .prd-hero-price {
    bottom: 24px !important;
    right: 24px !important;
    padding: 16px 22px !important;
  }
}
@media (max-width: 720px) {
  body.tirolx-product .prd-hero-price {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    background: var(--ink);
    text-align: center;
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   2026-05-07 Sonnet 4.6 audit fix paketi (G1-G4 + grid)
   ═══════════════════════════════════════════════════ */

/* G1 — Mobile drawer ghost: kapalıyken DOM'dan çıkmıyor, footer altına döküyor */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--ink);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* G2 — H1 bullet artifact: tema reset eksik, default list-style mirası */
h1, h2, h3, h4, h5, h6 {
  list-style: none;
}
.cat-hero-content h1,
.brand-header h1,
.prd-hero-content h1,
.tx-deneyim-title {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}

/* G4 — Brand sayfası padding 0 — metin sol kenara yapışık */
.brand-header,
.brand-content,
.brand-info,
.brand-description {
  padding: 32px 48px;
}
@media (max-width: 768px) {
  .brand-header,
  .brand-content,
  .brand-info,
  .brand-description {
    padding: 24px 20px;
  }
}

/* Brand & kategori ürün grid — display:inline çökmesi düzelt
   2026-05-09 G5: WC plugin (.woocommerce ul.products li.product { width:22.05%; float:left })
   bizim grid'i ezdiği için !important + .woocommerce-page selector eklendi.
   Aksi halde tek-ürün sayfası "İlgili ürünler" 4 kart dar + görsel ufacık.
   2026-05-10 G5.2: `.products` selector'u <section class="related products">'a da
   uygulanıyordu (SECTION grid olunca UL tek cell'e sıkıştı, 65×65 kart). `.products`
   genel selector'u kaldırıldı, sadece ul.products + child selectors kaldı. */
.product-grid,
ul.products,
.related.products > ul.products,
.upsells.products > ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* SECTION wrapper grid değil block (G5.2 kök fix) */
.related.products,
.upsells.products,
section.products {
  display: block !important;
}

/* G5.3 — WC clearfix ::before/::after pseudo-element grid cell kaplıyordu.
   `ul.products::before { content:' '; display:table }` görünmez ama 1. cell'i tutuyordu.
   Sonuç: 4 kart 2-3-4-5. cell'e kayıyor, 4. kart alt satıra. */
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   G14 — Ürün tanıtım video modal (2026-05-13)
   UMG: "video olan ürünlerde video ya tıklandığında sayfa donuyor"
   Tanı: main.js openVideoModal() body.overflow=hidden + .video-modal yarat,
   ama .video-modal için CSS YOK → modal görünmez, scroll kilit → "dondu" sanılır.
   Pattern: mini-cart-drawer / qv-modal / bridge ile aynı (JS hazır, CSS eksik).
   ═══════════════════════════════════════════════════ */
.prd-thumb-video {
  position: relative;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}
.prd-thumb-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prd-thumb-video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 14px solid #FFFFFF;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   G21 + G22 + G25 — Ürün altı thumb strip + brand logo + video rozeti (UMG 2026-05-16)
   "Ürün sayfasındaki ürünün altındaki Thumbnail resimler %70 küçülmeli"
   "Marka logosu thumbnail ile EŞİT boyut" + "Video rozeti thumbnail ile EŞİT boyut ▶"
   Tek sistem: --thumb-size CSS var (default 48px) tüm 3 hedefi sync.
   ═══════════════════════════════════════════════════ */

/* G21 — Thumb strip container (horizontal scroll, premium minimal)
 * 2026-05-16 13:30 UMG feedback: thumb'lar sola yapışık, ortalanmalı → justify-content: center. */
.prd-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
  align-items: center;
  justify-content: center;
  scrollbar-width: thin;
}

/* G21 — Thumb button (button reset + fixed thumb-size) */
.prd-thumb {
  flex: 0 0 var(--thumb-size);
  width: var(--thumb-size);
  height: var(--thumb-size);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.prd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--fog);
}
.prd-thumb:hover {
  border-color: rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
}
.prd-thumb.active {
  border-color: var(--accent);
  border-width: 2px;
  padding: 1px; /* compensate border-width artışı için boyut sabit */
}

/* G25 — Video thumb rozeti: "VIDEO" yazısı kaldır, ▶ ikon kalır (mevcut ::before triangle).
 * .prd-thumb-video thumb boyutuna otomatik eşit (yukarıdaki .prd-thumb rule'undan).
 * .prd-thumb-tag (HTML'de "VIDEO" yazısı span) gizle — UMG: "▶ ikon yeterli". */
.prd-thumb-tag {
  display: none;
}

/* G22 v4 (UMG 2026-05-16 14:25) — Brand hero yeniden tasarım:
 * 1) Brand logo SAĞ ALT köşeye taşındı (önce sol üst, hero'yu eziyordu + yarısı kesiliyordu)
 * 2) Hero content (title + tagline) SOL ALT köşede, beyaz renk
 * 3) Hero yüksekliği 75vh → 90vh
 * 4) Alt yarıya gradient overlay (text + logo okunabilirlik)
 *
 * HTML değişikliği: brand-logo, brand-hero-content dışına çıkartıldı (sibling).
 * Şimdi her ikisi .container'ın doğrudan child'ı (mutual position: absolute). */
.brand-hero .brand-logo {
  /* UMG 2026-05-17: "Brand logo etrafında beyaz çerçeve olmasın"
   * Önceki: background:rgba(255,255,255,0.95) + padding + border-radius
   * Şimdi: direkt hero üzerinde, kart yok (gradient overlay zaten kontrast sağlar). */
  position: absolute;
  bottom: 56px;
  right: 64px;
  max-width: calc(var(--thumb-size) * 3.5);   /* ~280px @ 80 */
  max-height: calc(var(--thumb-size) * 1.2);  /* ~96px @ 80 */
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 2;
}
@media (max-width: 1100px) {
  .brand-hero .brand-logo { right: 32px; bottom: 32px; }
}
@media (max-width: 720px) {
  .brand-hero .brand-logo { right: 20px; bottom: 20px; max-width: calc(var(--thumb-size) * 2.5); }
}

/* ═══════════════════════════════════════════════════
   G24.B — Lightbox modal CSS (UMG 2026-05-16: "sola bitişik, kötü duruyor")
   Mevcut HTML + JS vardı ama CSS rule SIFIR idi → browser default davranış
   (display:block, position:static) sebebiyle sola yapışık görünüyordu.
   Premium fullscreen modal + center. UMG: prev/next oklar gerek değil → display:none.
   ═══════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
  z-index: 1;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-close svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
/* G24.B v2 — UMG 2026-05-16 13:45 iterate:
 * "Lightbox keyboard arrow da istemiyor — açılır modalda görselin sağında ve solunda olabilir."
 * Önceki sürüm display:none ile tamamen gizliydi → şimdi image-side positioned (modal merkez vertical hizalı). */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 1;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev svg,
.lightbox-next svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
}
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox-counter { bottom: 16px; font-size: 12px; }
  .lightbox-prev,
  .lightbox-next { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev svg,
  .lightbox-next svg { width: 22px; height: 22px; }
}

/* ═══════════════════════════════════════════════════
   G24.C — Brand hero height (UMG 2026-05-16: "hero yüksekliği düşük görsel görünmüyor")
   .brand-hero için height CSS rule SIFIR idi → content-driven (sadece h1 + tagline).
   single-brand.php'de background-image inline style ile basılıyor.
   Premium e-commerce brand page hero ~480-600px.
   ═══════════════════════════════════════════════════ */
.brand-hero {
  /* UMG 2026-05-16 iterate v4: 75vh/600/860 hâlâ düşük → 90vh/720/1000
   * + content sol alt absolute + logo sağ alt + gradient overlay + beyaz text */
  position: relative;
  height: 90vh;
  min-height: 720px;
  max-height: 1000px;
  background-size: cover;
  background-position: center;
  background-color: #0A0A0A;
  overflow: hidden;
}
.brand-hero::after {
  /* Alt yarı gradient — text + logo kontrastı için */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.45) 75%,
    rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.brand-hero .container {
  position: relative;
  height: 100%;
  z-index: 2;
}
/* G4 padding override — absolute pozisyonda padding gereksiz */
.brand-hero-content {
  position: absolute;
  bottom: 56px;
  left: 64px;
  max-width: 720px;
  color: #FFFFFF;
  padding: 0;  /* G4 fix override */
}
.brand-hero-content h1.brand-name {
  color: #FFFFFF;
  margin: 0 0 14px;
}
.brand-hero-content .brand-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 1100px) {
  .brand-hero { height: 80vh; min-height: 620px; }
  .brand-hero-content { left: 40px; bottom: 40px; padding: 0; }
}
@media (max-width: 720px) {
  .brand-hero { height: 70vh; min-height: 520px; }
  .brand-hero-content { left: 20px; bottom: 20px; right: 20px; padding: 0; }
  .brand-hero-content .brand-tagline { font-size: 14px; }
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.video-modal.active {
  display: flex;
  opacity: 1;
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  z-index: 2;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.video-modal-close:hover {
  background: #DA031D;
  border-color: #DA031D;
}
.video-modal-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
@media (max-width: 768px) {
  .video-modal { padding: 16px; }
  .video-modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .video-modal-close svg { width: 18px; height: 18px; }
}

/* ═══════════════════════════════════════════════════
   G13 — Ürün PDF buton render (2026-05-14)
   CU Katalog G10.A 99 yeni Thule ürününe 5 farklı PDF meta yazdı.
   Açıklama tab altında premium kart liste.
   ═══════════════════════════════════════════════════ */
.prd-pdf-buttons {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: #F5F5F5;
  border-left: 3px solid #DA031D;
  border-radius: 2px;
}
.prd-pdf-buttons h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prd-pdf-buttons h4::before {
  content: '';
  width: 16px;
  height: 2px;
  background: #DA031D;
}
.prd-pdf-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 2px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #0A0A0A;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.prd-pdf-btn:last-child {
  margin-bottom: 0;
}
.prd-pdf-btn:hover {
  border-color: #DA031D;
  background: #FFFFFF;
  transform: translateX(4px);
}
.prd-pdf-btn .pdf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #FFF5F5;
  border-radius: 50%;
  flex-shrink: 0;
}
.prd-pdf-btn .pdf-icon svg {
  width: 18px;
  height: 18px;
  stroke: #DA031D;
}
.prd-pdf-btn .pdf-label {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  color: #0A0A0A;
}
.prd-pdf-btn .pdf-action {
  font-size: 12px;
  font-weight: 500;
  color: #6B6B6B;
  letter-spacing: 0.04em;
}
.prd-pdf-btn:hover .pdf-action {
  color: #DA031D;
}
@media (max-width: 768px) {
  .prd-pdf-buttons { padding: 18px 16px; }
  .prd-pdf-btn { padding: 12px 14px; gap: 10px; }
  .prd-pdf-btn .pdf-icon { width: 32px; height: 32px; }
  .prd-pdf-btn .pdf-action { display: none; }
}

/* ═══════════════════════════════════════════════════
   G1 — Hesabım (/hesabim/) login formu cila (2026-05-12)
   UMG: "Hesabım" + "Giriş Yap" iki başlık üst üste → tek başlık.
   Form alanları çıplak → border + focus state.
   ═══════════════════════════════════════════════════ */

/* 1) Login değilken (form ekranı) h2 "Giriş Yap" gizle — h1 "Hesabım" tek başlık kalır.
   Login sonrası dashboard h2'leri (Siparişler, Adres, vb.) etkilenmez. */
body.woocommerce-account:not(.logged-in) .woocommerce h2 {
  display: none;
}

/* 2) Login form wrapper — merkezi card */
body.woocommerce-account .woocommerce-form-login.login {
  max-width: 480px;
  margin: 32px auto;
  padding: 36px 32px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 2px;
}

/* 3) Form-row spacing */
body.woocommerce-account .woocommerce-form-login .form-row {
  margin: 0 0 18px;
  display: block;
}
body.woocommerce-account .woocommerce-form-login .form-row.form-row-wide {
  width: 100%;
}

/* 4) Label */
body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account .woocommerce-form-login .woocommerce-form__label-for-checkbox {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0A0A0A;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

/* 5) Input border + focus (kırmızı) */
body.woocommerce-account .woocommerce-form-login input[type="text"],
body.woocommerce-account .woocommerce-form-login input[type="email"],
body.woocommerce-account .woocommerce-form-login input[type="password"],
body.woocommerce-account .woocommerce-form-login input.input-text {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #E5E5E5;
  border-radius: 2px;
  background: #FFFFFF;
  font-size: 14px;
  font-family: inherit;
  color: #0A0A0A;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.woocommerce-account .woocommerce-form-login input:focus {
  border-color: #DA031D;
  outline: none;
  box-shadow: 0 0 0 3px rgba(218, 3, 29, 0.12);
}

/* 6) Rememberme checkbox inline */
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #2A2A2A;
  cursor: pointer;
  margin-bottom: 18px;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #DA031D;
}

/* 7) Submit button — kırmızı CTA full-width */
body.woocommerce-account .woocommerce-form-login button[type="submit"],
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-login .button {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 14px 24px !important;
  background: #DA031D !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
body.woocommerce-account .woocommerce-form-login button[type="submit"]:hover,
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:hover {
  background: #B30218 !important;
}

/* 8) "Parolanızı mı unuttunuz?" link */
body.woocommerce-account .woocommerce-LostPassword,
body.woocommerce-account .lost_password {
  text-align: center;
  margin: 12px 0 0;
}
body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .lost_password a {
  color: #DA031D;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
body.woocommerce-account .woocommerce-LostPassword a:hover,
body.woocommerce-account .lost_password a:hover {
  border-bottom-color: currentColor;
}

/* 9) H1 "Hesabım" başlık — sayfanın üstünde merkez */
body.woocommerce-account .entry-title,
body.woocommerce-account h1.page-title,
body.woocommerce-account main h1 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin: 24px 0 0;
}
.product-card,
li.product,
.products > .product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
/* G5.4 — Kart içerik flex column: link blok title+price'ı sarar, button bottom'a sabit */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}
.woocommerce ul.products li.product .button,
ul.products li.product .button,
ul.products li.product a.add_to_cart_button {
  margin-top: auto !important;
}
li.product:hover,
.woocommerce ul.products li.product:hover {
  border-color: #DA031D;
}
@media (max-width: 1100px) {
  .product-grid, ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  .product-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .product-grid, ul.products { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════
   2026-05-07 Sonnet 4.6 re-audit fix paketi (G2 marker + G4 overlay)
   ═══════════════════════════════════════════════════ */

/* G2 — Chromium ::marker pseudo-element kaldırma (list-style:none yetmiyor) */
.cat-hero-content h1::marker,
.brand-header h1::marker,
.brand-hero-content h1::marker,
h1::marker, h2::marker, h3::marker {
  content: none;
  display: none;
  color: transparent; /* Sonnet 4.6 not: bazı Chromium sürümlerinde display:none ignore */
}
.cat-hero-content h1,
.brand-header h1,
.brand-hero-content h1 {
  display: block; /* list-item davranışından çık */
  list-style: none;
  list-style-position: inside; /* fallback: hâlâ list-item ise marker görünmez */
}

/* G4 — Brand sayfası başlık overlay padding (.brand-hero-content kapsamı dışındaydı) */
.brand-hero-content,
.brand-hero-overlay,
.brand-hero-text {
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 768px) {
  .brand-hero-content,
  .brand-hero-overlay,
  .brand-hero-text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Mirka hero altındaki carousel indicator (· ·) gizle —
   yeni hero görseli ile gelen artifact, mockup'ta yoktu.
   Sonnet 4.6 re-audit: gerçek class SPAN.dot, .slick-dots/.carousel-indicators DOM'da yok */
.brand-hero .slick-dots,
.brand-hero .carousel-indicators,
.brand-hero .slide-dots,
.brand-hero ul.dots,
.brand-hero .dot,
.brand-hero span.dot {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   2026-05-07 P1/1 — Mini cart drawer (footer raw markup fix)
   Sonnet 4.6 raporu: footer altında stilsiz mini-cart akıyor.
   Tanı: footer.php'de markup var, style.css'te kural yoktu (ezilmiş/hiç yazılmamış).
   Çözüm: mobile-drawer ile aynı slide-in pattern (sağdan).
   ═══════════════════════════════════════════════════ */
.mini-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.3s;
}
.mini-cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.mini-cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.mini-cart-drawer.is-open .mini-cart-overlay {
  opacity: 1;
}
.mini-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mini-cart-drawer.is-open .mini-cart-panel {
  transform: translateX(0);
}
.mini-cart-head {
  padding: 24px 28px;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mini-cart-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0A0A0A;
}
.mini-cart-title .dot {
  color: #DA031D;
}
.mini-cart-close {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 0.15s ease;
}
.mini-cart-close:hover {
  background: #F5F5F5;
}
.mini-cart-close svg {
  width: 20px;
  height: 20px;
  stroke: #0A0A0A;
  stroke-width: 2;
  fill: none;
}
.mini-cart-body {
  flex: 1;
  padding: 20px 28px;
  overflow-y: auto;
}
.mini-cart-body .woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mini-cart-body .woocommerce-mini-cart__empty-message {
  color: #6B6B6B;
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
}
.mini-cart-body .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
}
.mini-cart-body .woocommerce-mini-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #F5F5F5;
}
.mini-cart-body .woocommerce-mini-cart-item a {
  color: #0A0A0A;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.mini-cart-body .quantity {
  color: #6B6B6B;
  font-size: 12px;
  margin-top: 4px;
}
.mini-cart-body .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 0;
  border-top: 1px solid #E5E5E5;
  margin-top: 8px;
}
.mini-cart-body .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.mini-cart-body .woocommerce-mini-cart__buttons .button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid #0A0A0A;
  background: #FFFFFF;
  color: #0A0A0A;
  transition: all 0.2s ease;
  cursor: pointer;
}
.mini-cart-body .woocommerce-mini-cart__buttons .button:hover {
  background: #0A0A0A;
  color: #FFFFFF;
}
.mini-cart-body .woocommerce-mini-cart__buttons .checkout {
  background: #DA031D;
  border-color: #DA031D;
  color: #FFFFFF;
}
.mini-cart-body .woocommerce-mini-cart__buttons .checkout:hover {
  background: #B30218;
  border-color: #B30218;
}
.mini-cart-body .remove,
.mini-cart-body a.remove_from_cart_button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F5F5F5;
  color: #6B6B6B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  align-self: flex-start;
}
.mini-cart-body .remove:hover {
  background: #DA031D;
  color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════
   2026-05-07 P1/2 — Header z-index iç sayfa örtüşmesi fix.
   Sonnet 4.6 raporu: Sepet/Ödeme/ürün/marka sayfalarında TirolX logosu
   sayfa başlığını/breadcrumb'ı/giriş linkini örtüyor.
   Tanı: .header position:fixed (z:100) + 22px+52px+22px = ~96px header.
   Front-page hero header'ı önceler (kasıtlı), iç sayfalarda body pad-top yok.
   Çözüm: sadece etkilenen body class'larına padding-top.
   archive-product.php zaten <main> içinde manuel margin verir, ona dokunmuyoruz.
   ═══════════════════════════════════════════════════ */
/* Header gerçek yüksekliği = padding 22+22 + logo 52 + iç element tolerans = 144px (Sonnet 4.6 2026-05-08 ölçüm).
   CSS değişkeni ile flexible: gelecekte header değişirse tek yer güncellenir. */
:root {
  /* 2026-05-13 G15: header padding 22→12, logo 42→36 ile yükseklik 144→64.
     Body padding-top buna göre azaltıldı (önceki 144 fazla boşluk veriyordu). */
  --header-h: 64px;
  --header-h-mobile: 52px;
}
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.single-brand,
body.tirolx-brand,
body.tirolx-product,
body.error404,
body.page:not(.home),
body.single:not(.single-product):not(.single-brand) {
  padding-top: var(--header-h);
}
@media (max-width: 768px) {
  body.single-product,
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-account,
  body.single-brand,
  body.tirolx-brand,
  body.tirolx-product,
  body.error404,
  body.page:not(.home),
  body.single:not(.single-product):not(.single-brand) {
    padding-top: var(--header-h-mobile);
  }
}

/* ═══════════════════════════════════════════════════
   2026-05-09 — Ürün hero full-bleed + sol-alt overlay copy.
   UMG ricası: hero görseli FULL genişlik, fiyat etiketi yarı şeffaf büyük (önce eklendi).
   ═══════════════════════════════════════════════════ */
.prd-hero-full {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}
.prd-hero-image-wrap {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
  background: #0A0A0A;
}
#prd-main-img {
  width: 100%;
  height: 100%;
  display: block;
  /* UMG 2026-05-16 iterate v4 — class-based object-fit:
   * .is-landscape-hero → contain (oran koru, hero'yu doldurur tam çünkü 16:9 ≈ 70vh ratio)
   * .is-square-hero    → cover (büyüt + üst-alt eşit kırp, UMG: "kare olamaz")
   * Default fallback: contain (safe) */
  object-fit: contain;
}
#prd-main-img.is-landscape-hero {
  object-fit: contain;
}
#prd-main-img.is-square-hero {
  /* UMG 2026-05-16 14:25: "kare ise büyütüp alttan üstten eşit şekilde kendi hero ayarlarımıza getir" */
  object-fit: cover;
  object-position: center;
}
/* Alt gradient — sol-alt copy okunabilirliği için */
.prd-hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.55) 78%,
    rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Sol-alt: brand + title + tagline */
.prd-hero-copy {
  position: absolute;
  left: 64px;
  bottom: 56px;
  max-width: 720px;
  color: #FFFFFF;
  z-index: 2;
}
.prd-hero-copy .prd-hero-brand {
  margin-bottom: 16px;
}
.prd-hero-copy .prd-hero-brand span:not(.prd-brand-line) {
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.prd-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0 0 14px;
}
.prd-title .dot { color: #DA031D; }
.prd-tagline {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 1100px) {
  .prd-hero-image-wrap { height: 60vh; min-height: 420px; }
  .prd-hero-copy { left: 32px; bottom: 32px; right: 32px; }
  .prd-title { font-size: 38px; }
  .prd-tagline { font-size: 15px; }
}
@media (max-width: 720px) {
  .prd-hero-image-wrap { height: 50vh; min-height: 320px; }
  .prd-hero-copy { left: 20px; bottom: 24px; right: 20px; }
  .prd-title { font-size: 28px; }
  .prd-tagline { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════
   2026-05-07 P1/4 — Trust badge / rozet boyut fix.
   Sonnet 4.6 raporu: rozet SVG'leri neredeyse tam ekran kapsıyor.
   Tanı: CSS YOK, default SVG render 300×150 px (viewBox var, width attr yok).
   Sayfa: single-product.php prd-action-strip bloğu (8 rozet + meta + butonlar).
   ═══════════════════════════════════════════════════ */
.prd-action-rozets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rozet-real,
.rozet-placeholder {
  width: 48px;
  height: 48px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}
.rozet-real svg {
  width: 32px;
  height: 32px;
  display: block;
}
.rozet-placeholder {
  flex-direction: column;
  gap: 1px;
  padding: 4px;
}
.rozet-placeholder-ref {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #DA031D;
  text-transform: uppercase;
  line-height: 1;
  /* Y1 ek: uzun key (örn. AĞIRLIK, KAPASİTE) için ellipsis */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   2026-05-08 Y2 — .prd-hero-brand uzun marka adı taşma fix.
   CU Test bulgusu: "Victron Ener" gibi 12 karakter sonra kesik görünüyor.
   Tanı: parent container overflow:hidden + width limit varmış.
   Çözüm: inline-flex + nowrap + visible overflow.
   ═══════════════════════════════════════════════════ */
.prd-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}
.prd-hero-brand span:not(.prd-brand-line) {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.prd-brand-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #DA031D;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   2026-05-09 — Ürün sayfası tab sistemi CSS (.prd-tabs).
   single-product.php tab-nav + tab-panel + içerik partial'ları.
   Tanı: CSS YOKTU. HTML/JS sağlam, CSS ezilmiş — tüm panel'lar block görünüyordu.
   Test: Thule Bike Stacker sayfasında tüm tab içerikleri tek-akış halinde dökülüyordu.
   ═══════════════════════════════════════════════════ */
.prd-tabs {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .prd-tabs { padding: 0 20px; margin: 40px auto; }
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 36px;
}
@media (max-width: 768px) { .tab-nav { gap: 20px; } }

.tab-btn {
  background: transparent;
  border: 0;
  padding: 16px 0;
  font: 600 13px/1 'Montserrat', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #6B6B6B;
  position: relative;
  transition: color 0.2s ease;
}
.tab-btn:hover { color: #0A0A0A; }
.tab-btn.active { color: #0A0A0A; }
.tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #DA031D;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Açıklama tab — editorial layout (sol metin + sağ PDF/galeri) */
.tab-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .tab-editorial { grid-template-columns: 2fr 1fr; }
}
.tab-h {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
  color: #0A0A0A;
}
.tab-h:first-child { margin-top: 0; }
.tab-h .q-mark, .tab-h .o-mark, .tab-h .dot { color: #DA031D; }
.tab-p {
  font-size: 15px;
  line-height: 1.7;
  color: #2A2A2A;
  margin: 0 0 16px;
}
.tab-editorial-col p { margin: 0 0 16px; line-height: 1.7; }

/* Teknik Özellikler tab — tablo */
.prd-tabs table,
.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  max-width: 720px;
}
.prd-tabs table tr,
.tech-table tr {
  border-bottom: 1px solid #F0F0F0;
}
.prd-tabs table td,
.tech-table td {
  padding: 12px 16px 12px 0;
  font-size: 14px;
  vertical-align: top;
}
.prd-tabs table td:first-child,
.tech-table td:first-child {
  font-weight: 600;
  color: #6B6B6B;
  width: 38%;
}
.prd-tabs table td:last-child,
.tech-table td:last-child { color: #0A0A0A; }

/* Kutu İçeriği tab */
.tab-box-wrap { max-width: 720px; }
.box-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.box-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 15px;
  color: #2A2A2A;
}
.box-check {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #DA031D;
  position: relative;
  flex-shrink: 0;
}
.box-check::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 4px; height: 7px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.box-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: #F5F5F5;
  border-left: 3px solid #DA031D;
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.6;
}
.tab-pdfs { margin-top: 24px; }
.tab-pdf {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  text-decoration: none;
  color: #0A0A0A;
  transition: all 0.15s ease;
}
.tab-pdf:hover { border-color: #DA031D; color: #DA031D; }
.tab-pdf svg { width: 22px; height: 22px; flex-shrink: 0; }
.tab-pdf-text { display: flex; flex-direction: column; }
.tab-pdf-name { font-size: 14px; font-weight: 600; }
.tab-pdf-size { font-size: 12px; color: #6B6B6B; margin-top: 2px; }

/* Uyumluluk tab */
.compat-info { max-width: 800px; }
.compat-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}
.compat-type {
  padding: 14px 16px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
}
.compat-type-name {
  font-size: 14px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 4px;
}
.compat-type-foot {
  font-size: 12px;
  color: #6B6B6B;
}
.compat-finder-cta { margin-top: 24px; }
.compat-cta-note {
  font-size: 12px;
  color: #6B6B6B;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Kargo & İade tab */
.ship-prose { max-width: 720px; }
.ship-prose .tab-h { font-size: 20px; margin-top: 28px; }
.ship-prose .tab-h:first-child { margin-top: 0; }

/* Kullanıcı Deneyimleri tab */
.exp-header { max-width: 720px; margin-bottom: 32px; }
.exp-intro { font-size: 15px; line-height: 1.7; color: #6B6B6B; }
.exp-link { color: #DA031D; text-decoration: none; border-bottom: 1px solid currentColor; }
.exp-link:hover { color: #B30218; }
.tab-btn-exp::before {
  content: '★';
  margin-right: 6px;
  color: #DA031D;
}
.rozet-placeholder-name {
  font-size: 8px;
  font-weight: 600;
  color: #0A0A0A;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* prd-action-strip layout — sol rozet + orta meta + sağ buton */
.prd-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 48px;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
  background: #FFFFFF;
}
.prd-action-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: #6B6B6B;
}
.prd-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0A0A0A;
}
.prd-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BB673;
  flex-shrink: 0;
}
.prd-meta-sep {
  width: 1px;
  height: 14px;
  background: #E5E5E5;
}
.prd-assurance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6B6B6B;
  white-space: nowrap;
}
.prd-assurance svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* prd-action-buttons — favori + sahip ol */
.prd-action-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.prd-fav-ico {
  width: 44px;
  height: 44px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 2px;
  color: #0A0A0A;
}
.prd-fav-ico:hover {
  border-color: #DA031D;
  color: #DA031D;
}
.prd-fav-ico svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .prd-action-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 16px;
  }
  .prd-action-rozets,
  .prd-action-meta,
  .prd-action-buttons {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════
   2026-05-07 P1/6 — Brand post_content markdown stiller.
   functions.php tirolx_render_brand_markdown() çıktısı için minimum tipografi.
   ═══════════════════════════════════════════════════ */
.brand-description {
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2A;
}
.brand-description p {
  margin: 0 0 18px;
}
.brand-description .brand-h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 36px 0 16px;
  color: #0A0A0A;
}
.brand-description .brand-h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
  color: #0A0A0A;
}
.brand-description .brand-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.brand-description .brand-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-bottom: 1px solid #F0F0F0;
}
.brand-description .brand-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: #DA031D;
}
.brand-description strong {
  font-weight: 700;
  color: #0A0A0A;
}
.brand-description a {
  color: #DA031D;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.brand-description a:hover {
  color: #B30218;
}

/* ═══════════════════════════════════════════════════
   2026-05-07 P2/11 — WooCommerce default mor (#a46497) butonları
   TirolX paletine override (siyah/kırmızı).
   Sonnet 4.6 raporu: "Ödeme sayfasına git", "Siparişi onayla" mor → brand uyumsuz.
   ═══════════════════════════════════════════════════ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.wc-block-components-button {
  background: #0A0A0A !important;
  color: #FFFFFF !important;
  border: 1px solid #0A0A0A !important;
  border-radius: 2px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.wc-block-components-button:hover {
  background: #2A2A2A !important;
  border-color: #2A2A2A !important;
}

/* Primary / .alt butonlar (checkout, place order, add to cart) — kırmızı */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page input.button.alt,
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button,
#place_order,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
  background: #DA031D !important;
  color: #FFFFFF !important;
  border: 1px solid #DA031D !important;
  border-radius: 2px !important;
  padding: 16px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover,
#place_order:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
  background: #B30218 !important;
  border-color: #B30218 !important;
}

/* Disabled state (saç teli — uniform gri) */
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button[disabled],
.woocommerce-page a.button.disabled {
  background: #E5E5E5 !important;
  border-color: #E5E5E5 !important;
  color: #6B6B6B !important;
  cursor: not-allowed !important;
}

/* Form input'larda mor focus highlight'ı kaldır */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form .form-row input.input-text:focus,
.wc-block-components-text-input input:focus {
  border-color: #0A0A0A !important;
  box-shadow: 0 0 0 1px #0A0A0A !important;
  outline: none !important;
}

/* WC notice (info/success) accent kırmızı */
.woocommerce-info,
.woocommerce-message {
  border-top-color: #DA031D !important;
}
.woocommerce-info::before,
.woocommerce-message::before {
  color: #DA031D !important;
}

/* ═══════════════════════════════════════════════════
   2026-05-08 P0 — Quick View modal CSS (footer altı görünür kalıyor).
   test raporu: #qv-modal her sayfada display:block + position:static → "Yükleniyor…" body sonunda block.
   Tanı: CSS YOK. Mini-cart-drawer ile aynı pattern (eksik/ezilmiş).
   Çözüm: hidden default, .is-open ile görünür, fixed overlay + center modal.
   ═══════════════════════════════════════════════════ */
.qv-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.3s;
}
.qv-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.qv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.qv-modal.is-open .qv-overlay {
  opacity: 1;
}
/* 2026-05-09 — UMG kararı: SAĞDAN side drawer (mini-cart ile aynı pattern, premium tutarlılık) */
.qv-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #FFFFFF;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}
.qv-modal.is-open .qv-panel {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .qv-panel { width: 100vw; }
}
.qv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E5E5E5;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.qv-close:hover {
  background: #DA031D;
  border-color: #DA031D;
  color: #FFFFFF;
}
.qv-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.qv-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}
.qv-loading {
  text-align: center;
  padding: 60px 20px;
  color: #6B6B6B;
  font-size: 14px;
}
.qv-error {
  text-align: center;
  padding: 60px 20px;
  color: #DA031D;
  font-size: 14px;
}

/* Quick View trigger (ürün kartı üstünde otomatik enjekte edilen göz ikonu)
   2026-05-09: REST/admin-ajax endpoint hazır olunca display:none !important kaldırıldı. */
.qv-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  z-index: 2;
}

/* QV içerik (footer.php JS'in inject ettiği DOM) — sağdan drawer içinde dikey yığım */
.qv-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.qv-image {
  width: 100%;
  height: 360px;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.qv-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F5F5F5;
}
.qv-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  flex: 1;
}
.qv-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #DA031D;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.qv-brand::before {
  content: '';
  width: 24px;
  height: 2px;
  background: #DA031D;
}
.qv-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #0A0A0A;
  margin: 0;
}
.qv-price {
  font-size: 22px;
  font-weight: 700;
  color: #0A0A0A;
  margin: 4px 0;
}
.qv-price del {
  font-size: 14px;
  font-weight: 500;
  color: #6B6B6B;
  margin-right: 8px;
}
.qv-stock {
  font-size: 13px;
  font-weight: 600;
  color: #6B6B6B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qv-stock.in { color: #2BB673; }
.qv-stock.out { color: #DA031D; }
.qv-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #2A2A2A;
  margin: 8px 0 0;
}
.qv-actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #F0F0F0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qv-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: #DA031D;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.qv-detail:hover {
  background: #B30218;
  color: #FFFFFF;
}
.qv-trigger svg {
  width: 18px;
  height: 18px;
  stroke: #0A0A0A;
  stroke-width: 1.6;
  fill: none;
}
a:hover > .qv-trigger,
.qv-trigger:hover,
.qv-trigger:focus {
  opacity: 1;
  transform: translateY(0);
  background: #FFFFFF;
}
.qv-trigger:hover {
  background: #DA031D;
}
.qv-trigger:hover svg {
  stroke: #FFFFFF;
}
@media (max-width: 768px) {
  .qv-panel {
    margin: 3vh auto;
    max-height: 94vh;
  }
  .qv-body {
    padding: 20px;
  }
  /* mobile'da qv-trigger her zaman görünür (hover yok) */
  .qv-trigger {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════
   2026-05-07 Sonnet 4.6 tur 3 — departman sayfaları (P1-P4)
   ═══════════════════════════════════════════════════ */

/* P1 — Ürün kart görseli üst/alt beyaz bant fix.
   Karar: object-fit:contain (kesim yok) + nötr gri arkaplan.
   2026-05-09 G5: width 100% + aspect 1:1 eklendi (WC default 300×300 attribute kartı taşırıyordu) */
.cat-products-grid img,
.product-grid img,
.products img,
ul.products img,
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f5f5f5;
  display: block;
  margin: 0 !important;
}

/* 2026-05-09 G5 — WC native kart içeriği (title + price + button) premium stil */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0A0A0A !important;
  padding: 12px 14px 6px !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}
.woocommerce ul.products li.product .price,
ul.products li.product .price {
  /* G5.5 — Fiyat simetrik hizalama:
     margin-top: auto fiyatı link bloğunun ALT kenarına yapıştırır (başlık uzun
     veya kısa olsa da fiyat her kartta aynı seviyede). flex+baseline regular+sale
     yan yana (del + amount) düzgün hizalanır. */
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  padding: 8px 14px 12px !important;
  margin: auto 0 0 !important;
  min-height: 1.5em;
}
.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
  font-size: 12px;
  font-weight: 500;
  color: #6B6B6B;
  margin-right: 6px;
}
.woocommerce ul.products li.product .button,
ul.products li.product .button,
ul.products li.product a.add_to_cart_button {
  display: block !important;
  margin: 0 14px 14px !important;
  padding: 12px 16px !important;
  background: #0A0A0A !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
  transition: background 0.15s ease !important;
}
.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover,
ul.products li.product a.add_to_cart_button:hover {
  background: #DA031D !important;
}

/* "İlgili Ürünler" section padding + heading */
.related.products,
.upsells.products {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 48px;
}
.related.products > h2,
.upsells.products > h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin: 0 0 32px;
}
@media (max-width: 768px) {
  .related.products,
  .upsells.products { padding: 40px 20px; }
}

/* P2 — Mobile (≤480px) tek-kolon grid: yatay overflow engelle.
   220px sabit kolon ≤480px viewport'ta scroll yapıyordu. */
@media (max-width: 480px) {
  .cat-products-grid,
  .product-grid,
  ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* P3 — Hero h1 font-size base + responsive (768px altı).
   archive-product.php h1 inline style'ından font-size:64px kaldırıldı,
   bu yüzden hem desktop base hem mobile clamp burada. */
.cat-hero-content h1,
.brand-hero-content h1 {
  font-size: 64px;
}
@media (max-width: 768px) {
  .cat-hero-content h1,
  .brand-hero-content h1 {
    font-size: clamp(32px, 8vw, 64px);
  }
}

/* P4 — .cat-hero-content padding (top/right/bottom/left tam kontrol).
   archive-product.php div'inden padding:80px 20px 60px kaldırıldı,
   tüm 4 yönü buradan veriyoruz. */
.cat-hero-content {
  padding: 80px 48px 60px;
}
@media (max-width: 768px) {
  .cat-hero-content {
    padding: 60px 20px 40px;
  }
}

/* ═══════════════════════════════════════════════════
   G12 — Header beyaz ürünlerde görünmez (2026-05-13)
   CU Test TR-8 tanısı + UMG onay: anasayfa hariç tüm sayfalarda header
   default beyaz olsun (scrolled-state CSS davranışı). Anasayfa hero koyu için
   transparent kalır, scroll edince white (mevcut .scrolled JS class korundu).
   ═══════════════════════════════════════════════════ */
body:not(.tirolx-home) .header {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
body:not(.tirolx-home) .header .nav-link {
  color: var(--ink) !important;
}
body:not(.tirolx-home) .header:not(.scrolled) .logo-dark {
  display: inline-block !important;
}
body:not(.tirolx-home) .header:not(.scrolled) .logo-light {
  display: none !important;
}
body:not(.tirolx-home) .header .search-input {
  background: var(--fog);
  border-color: var(--line);
  color: var(--ink);
}
body:not(.tirolx-home) .header .search-input::placeholder {
  color: var(--muted);
}
body:not(.tirolx-home) .header .search-icon {
  stroke: var(--ink);
}
body:not(.tirolx-home) .header .icon-btn:hover {
  background: var(--fog);
}
body:not(.tirolx-home) .header .icon-btn svg {
  stroke: var(--ink);
}
