/* ==========================================================================
   BLOG CSS DEGISKENLERI (eski styles.css'ten; blog detay/liste icin)
   v4'te bu degiskenler yoktu, blog CSS'i kullaniyor. Burada tanimlandi.
   ========================================================================== */
:root {
  --troy-red: #c8102e;
  --primary-color: #c8102e;
  --secondary-color: #f4f4f4;
  --bg-lightgray: #f4f4f4;
  --text-color: #575757;
  --font-gray: #8d8d8d;
  --gray-line: #d9d9d9;
  --heading-font: var(--font-heading, 'Manrope', sans-serif);
}

/* ==========================================================================
   V4 COMPONENTS CSS
   Tasarımdan bağımsız, korunan component stilleri (eski custom.css'ten
   taşındı). Yeni v4 temasında bozulmaması için ayrı dosyada tutulur.
   İçerik: Campaign Popup Form, Contact Form yardımcıları.
   ========================================================================== */

/* ---- reCAPTCHA badge (gizli) ---- */
.grecaptcha-badge {
  visibility: hidden;
}

/* ==========================================================================
   CAMPAIGN POPUP FORM
   ========================================================================== */
.campaign-popup-wrapper {
  position: relative;
}

.campaign-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  line-height: 1;
}

.campaign-popup-close:hover {
  background: #f0f0f0;
  color: #111;
}

.campaign-popup-wrapper-real {
  width: 860px;
  max-width: 95vw;
  margin: 0 auto;
  background: #fff;
  display: flex;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

.campaign-popup-media {
  flex: 0 0 38%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-popup-media .campaign-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-popup-content {
  flex: 1;
  padding: 28px 32px;
}

.campaign-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
}

.campaign-desc {
  margin-bottom: 14px;
}

@media (max-width: 680px) {
  .campaign-popup-wrapper {
    flex-direction: column;
    width: 540px;
  }

  .campaign-popup-media {
    height: 170px;
  }
}

/* ==========================================================================
   CONTACT FORM yardımcıları
   ========================================================================== */
.contact-form textarea.form-control {
  resize: vertical;
}

/* ==========================================================================
   STICKY HEADER INCE AYARI (v4-main.css override)
   Scroll edilince: topbar gizlenir (yukari kayar) + logo kuculur.
   Sadece masaustunde (>=992px). Mobilde topbar zaten kompakt.
   Geri almak icin bu blok silinebilir.
   ========================================================================== */
@media (min-width: 992px) {
  .tm-header .tm-topbar {
    overflow: hidden;
    transition:
      height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      border-color 0.35s ease;
  }

  .tm-header.is-scrolled .tm-topbar {
    height: 0;
    opacity: 0;
    border-bottom-color: transparent;
    pointer-events: none;
  }

  .tm-header.is-scrolled .tm-topbar::after {
    opacity: 0;
  }

  .tm-brand-logo {
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tm-header.is-scrolled .tm-brand-logo {
    width: 118px;
  }
}

/* ==========================================================================
   ARAMA IKONU - TEKLIF AL butonu arasi bosluk (searchToggle saga bosluk)
   ========================================================================== */
.tm-header-actions #searchToggle {
  margin-right: 0.85rem;
}

/* ==========================================================================
   TOPBAR sosyal ikonlar - tiklama alani (yatay+dikey padding) + dikey ortala
   .tm-topbar (38px) icinde tam yukseklik kaplar, icerik dikeyde ortalanir.
   ========================================================================== */
.tm-topbar-right {
  align-items: stretch;
  gap: 0.3rem;
}
.tm-topbar-social {
  display: inline-flex;
  align-items: center;     /* ikonu dikeyde ortala */
  justify-content: center;
  align-self: stretch;     /* topbar yuksekligini tam kapla */
  padding: 0 0.55rem;      /* tiklama alanini yatayda genislet */
}
.tm-topbar-right .tm-lang-switch {
  margin-left: 0.6rem;
}

/* ==========================================================================
   ILETISIM SAYFASI (Contact) - v4 dili
   Mimari: page hero + (sol adres / sag form) + full harita
   ========================================================================== */

/* Sade page hero (gorsel arka plana gerek yok) */
.tm-page-hero.tm-page-hero--plain {
  background: 
    radial-gradient(ellipse at 80% 28%, rgba(207, 32, 47, 0.36) 0%, transparent 54%),
    linear-gradient(135deg, #0b0f19 0%, #1b222d 100%);
  padding: 12rem 0 6rem;
}
.tm-page-hero--plain .tm-page-hero-title {
  color: #fff;
}
.tm-page-hero--plain .tm-breadcrumb .breadcrumb-item,
.tm-page-hero--plain .tm-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}
.tm-page-hero--plain .tm-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

/* Icerik bolumu */
.tm-contact-section {
  padding: 3.5rem 0 4rem;
}

/* Sol: adres bloklari */
.tm-contact-info {
  padding-right: 1rem;
}
.tm-contact-office + .tm-contact-office {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--tm-line, #e6e8ec);
}
.tm-contact-office-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tm-ink, #1f1f1f);
  margin-bottom: 0.9rem;
}
.tm-contact-office-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.tm-contact-office-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8102e;
  border-radius: 6px;
  color: #c8102e;
  font-size: 1.1rem;
}
.tm-contact-office-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a4f57;
}
.tm-contact-office-text a {
  color: inherit;
  text-decoration: none;
}
.tm-contact-office-text a:hover {
  color: #c8102e;
}
.tm-contact-office-phone {
  margin: 0;
}

/* Sag: gri form karti */
.tm-contact-form-card {
  background: var(--tm-bg, #eef0f2);
  padding: 2.25rem 2rem;
  border-radius: 8px;
}
.tm-contact-form-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tm-ink, #1f1f1f);
  margin-bottom: 0.5rem;
}
.tm-contact-form-intro {
  font-size: 0.92rem;
  color: #5a6069;
  margin-bottom: 1.4rem;
}
.tm-contact-form-card .form-control {
  border: 1px solid #d4d8de;
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  background: #fff;
}
.tm-contact-form-card .form-control:focus {
  border-color: #c8102e;
  box-shadow: 0 0 0 0.18rem rgba(200, 16, 46, 0.12);
}
.tm-contact-form-note {
  font-size: 0.8rem;
  color: #80868f;
  margin: 1rem 0 1.1rem;
}

/* Solid aksiyon butonu (Gonder) */
.tm-action-btn--solid {
  background: #c8102e;
  color: #fff;
  border: 1px solid #c8102e;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.7rem 2.2rem;
  border-radius: 5px;
  transition: background 0.2s ease;
}
.tm-action-btn--solid:hover,
.tm-action-btn--solid:focus-visible {
  background: #a50d26;
  border-color: #a50d26;
  color: #fff;
}

/* Full-width harita */
.tm-contact-map {
  width: 100%;
  line-height: 0;
}
.tm-contact-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

@media (max-width: 991.98px) {
  .tm-contact-info {
    padding-right: 0;
    margin-bottom: 1rem;
  }
  .tm-contact-map iframe {
    height: 340px;
  }
}

/* ==========================================================================
   URUN LISTE — kart marka etiketi (v4-main.css'te yok, eklendi)
   ========================================================================== */
.tm-pl-prod-brand {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   BLOG / MAKALE detay + liste stilleri (styles.css'ten tasindi, v4 uyumlu)
   ========================================================================== */
.blog-hero {
  background-color: #fff;
  padding: 60px 0 48px;
  text-align: center;
}

.blog-hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.blog-hero-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--font-gray);
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.blog-hero-date::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background-color: var(--troy-red);
  vertical-align: middle;
  margin-right: 12px;
}

.blog-hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.blog-hero-subtitle {
  font-size: 16px;
  color: var(--font-gray);
  line-height: 1.7;
  margin: 0;
}

.blog-banner {
  background-color: #4a4a4a;
}

.blog-banner-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-banner-img {
  display: block;
  width: 800px;
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.blog-content-area {
  padding: 60px 0 80px;
}

.blog-share {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}

.blog-share-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--font-gray);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blog-share-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-share-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--font-gray);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-share-list li a i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.blog-share-list li a:hover {
  color: var(--troy-red);
}

.blog-article {
  padding: 0 16px;
}

.blog-article h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin-top: 40px;
  margin-bottom: 16px;
}

.blog-article h2:first-child {
  margin-top: 0;
}

.blog-article p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.blog-article img,
.blog-article video,
.blog-article iframe,
.blog-article embed,
.blog-article object,
.blog-article table {
  max-width: 100%;
  height: auto;
}

.blog-conclusion {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-line);
}

.blog-conclusion-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--font-gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.blog-conclusion h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-conclusion p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.blog-details-card {
  background-color: var(--bg-lightgray);
  padding: 28px;
  margin-bottom: 24px;
  border-radius: 0.75rem;
}

.blog-details-title,
.blog-recent-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--troy-red);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blog-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-line);
}

.blog-details-row:last-child {
  border-bottom: none;
}

.blog-details-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--font-gray);
  text-transform: uppercase;
}

.blog-details-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.blog-recent-card {
  border: 1px solid var(--gray-line);
  padding: 28px;
  border-radius: 0.75rem;
}

.blog-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-recent-list li {
  border-bottom: 1px solid var(--gray-line);
}

.blog-recent-list li:last-child {
  border-bottom: none;
}

.blog-recent-list li a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-recent-list li a:hover {
  color: var(--troy-red);
}

.blog-recent-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.blog-recent-list li a:hover .blog-recent-item-title {
  color: var(--troy-red);
}

.blog-recent-item-date {
  font-size: 12px;
  color: var(--font-gray);
}

.blog-prevnext {
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 0;
}

.blog-prevnext .row {
  --bs-gutter-x: 0;
}

.blog-prevnext-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-prevnext-item:hover {
  background-color: var(--bg-lightgray);
  color: inherit;
}

.blog-prevnext-prev {
  border-right: 1px solid var(--gray-line);
}

.blog-prevnext-next {
  text-align: right;
  align-items: flex-end;
}

.blog-prevnext-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--font-gray);
  text-transform: uppercase;
}

.blog-prevnext-label i {
  font-size: 10px;
}

.blog-prevnext-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.blog-prevnext-item:hover .blog-prevnext-title {
  color: var(--troy-red);
}

.blog-related-products {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-line);
}

.blog-section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a1a1a;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.blog-product-card {
  display: block;
  background-color: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
  margin-bottom: 24px;
}

.blog-product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.blog-product-img {
  background-color: var(--secondary-color);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-product-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.blog-product-info {
  padding: 16px 20px 20px;
}

.blog-product-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--troy-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blog-product-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .blog-hero-title {
    font-size: 30px;
  }

  .blog-content-area {
    padding: 40px 0 60px;
  }

  .blog-share {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-top: 0;
    border-bottom: 1px solid var(--gray-line);
    padding-bottom: 24px;
  }

  .blog-share-label {
    margin-bottom: 0;
  }

  .blog-share-list {
    flex-direction: row;
    gap: 20px;
  }

  .blog-article {
    padding: 0;
    margin-bottom: 40px;
  }

  .blog-sidebar {
    position: static;
    display: flex;
    gap: 24px;
  }

  .blog-details-card,
  .blog-recent-card {
    flex: 1;
  }
}

@media (max-width: 767.98px) {
  .blog-hero {
    padding: 40px 0 32px;
  }

  .blog-hero-title {
    font-size: 26px;
  }

  .blog-hero-subtitle {
    font-size: 14px;
  }

  .blog-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .blog-share-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .blog-share-list li a span {
    display: none;
  }

  .blog-share-list li a i {
    font-size: 18px;
  }

  .blog-article h2 {
    font-size: 20px;
  }

  .blog-sidebar {
    flex-direction: column;
    gap: 16px;
  }

  .blog-conclusion h2 {
    font-size: 22px;
  }

  .blog-prevnext-item {
    padding: 24px 16px;
  }

  .blog-prevnext-prev {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
  }

  .blog-prevnext-next {
    text-align: left;
    align-items: flex-start;
  }

  .blog-prevnext-title {
    font-size: 14px;
  }

  .blog-related-products {
    padding: 40px 0 48px;
  }

  .blog-section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .blog-product-info {
    padding: 12px 14px 16px;
  }

  .blog-product-name {
    font-size: 13px;
  }
}

/* Listing: sonsuz kaydirma sentinel + spinner */
.blog-load-sentinel { display:flex; justify-content:center; padding:2rem 0; }
.blog-load-spinner { width:28px; height:28px; border:3px solid #e6e8ec; border-top-color:#c8102e; border-radius:50%; animation:blogspin .7s linear infinite; }
@keyframes blogspin { to { transform:rotate(360deg); } }

/* ==========================================================================
   BLOG SON MAKALELER link rengi guvence (tarih mavi kalmasin)
   ========================================================================== */
.blog-recent-list li a { color: var(--text-color, #575757); }
.blog-recent-item-date { color: var(--font-gray, #8d8d8d) !important; }

/* ==========================================================================
   LIGHT HEADER (blog detay vb. breadcrumb'siz sayfalar)
   Varsayilan header birebir; sadece beyaz arka plan + koyu icerik + blursuz.
   Topbar GORUNUR kalir (dil secimi erisilebilir). is-scrolled'in gorunumunu
   kalici yapar ama topbar'i gizlemez.
   ========================================================================== */
.tm-header.tm-header--light {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(17, 23, 34, 0.05);
}
/* Logo altindaki blurlu liquid-glass'i kaldir */
.tm-header--light .tm-brand::before {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
/* Menu linkleri koyu */
.tm-header--light .tm-main-menu .nav-link { color: var(--tm-ink, #1f1f1f); }
.tm-header--light .tm-search-icon-btn { color: var(--tm-ink, #1f1f1f); }
.tm-header--light .tm-mobile-menu-trigger { color: var(--tm-ink, #1f1f1f); }
/* Topbar koyu (gizlenmez) */
.tm-header--light .tm-topbar-address { color: #6b7280; }
.tm-header--light .tm-topbar-social { color: rgba(31, 31, 31, 0.55); }
.tm-header--light .tm-topbar-social:hover { color: #c8102e; }
.tm-header--light .tm-topbar { border-bottom-color: var(--tm-line, #e6e8ec); }
.tm-header--light .tm-topbar::after { background-color: var(--tm-line, #e6e8ec); }
/* Dil secici koyu + gri arka plan (beyaz uzerine beyaz olmasin) */
.tm-header--light .tm-lang-switch { background: var(--tm-line, #e6e8ec); }
.tm-header--light .tm-lang-option { color: rgba(31, 31, 31, 0.6); }
.tm-header--light .tm-lang-option.is-active { color: var(--tm-ink, #1f1f1f); }
/* Teklif Al ghost buton koyu cerceve */
.tm-header--light .tm-action-btn--ghost { color: var(--tm-ink, #1f1f1f); border-color: var(--tm-line, #d4d8de); }
.tm-header--light .tm-action-btn--ghost:hover { background: #c8102e; color: #fff; border-color: #c8102e; }

/* Light header altindaki icerik header'in altina girmesin */
main.has-light-header { padding-top: 7rem; }
@media (min-width: 992px) {
  main.has-light-header { padding-top: 8.5rem; }
}

/* ==========================================================================
   HATA SAYFALARI (404 / 500) - siteye entegre, beyaz BG, ortali
   ========================================================================== */
.tm-error-page {
  background: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}
.tm-error-inner {
  max-width: 560px;
  margin: 0 auto;
}
.tm-error-code {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tm-ink, #1f1f1f);
  margin: 0;
}
.tm-error-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--tm-ink, #1f1f1f);
  margin: 0.5rem 0 0;
}
.tm-error-desc {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}
.tm-error-btn {
  margin-top: 2rem;
  text-decoration: none;
}

/* ==========================================================================
   COOKIE / CEREZ BILDIRIMI (KVKK) — custom.css'ten tasindi
   ========================================================================== */
.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ececec;
  padding: 1.25rem 2rem;
  z-index: 999;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-notification.hidden {
  display: none;
}

.cookie-notification.fade-out {
  opacity: 0;
  transform: translateY(100%);
}

.cookie-notification .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cookie-notification-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--font-gray, #555);
  margin: 0;
}

.cookie-notification-text p {
  margin: 0;
}

.btn-cookie {
  flex-shrink: 0;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid #282828;
  border-radius: 6px;
  background-color: #fff;
  color: #282828;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-cookie:hover {
  background-color: #282828;
  color: #fff;
}

@media (max-width: 767.98px) {
  .cookie-notification .container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-notification-text {
    font-size: 0.75rem;
    text-align: justify;
  }

  .btn-cookie {
    width: 100%;
  }
}

/* Arama: sonuç bulunamadı mesajı */
.tm-search-empty {
  padding: 0.75rem 0 0;
}

/* ==========================================================================
   MEDIA HERO SLIDER (media-hero-slider PB elementi)
   Full-bleed video/görsel slider. Slide içinde tm-video-hero-* class'ları
   yeniden kullanılır; yükseklik swiper container'a (.tm-media-hero) verilir.
   ========================================================================== */
.tm-media-hero {
  position: relative;
}
.tm-media-hero-swiper {
  height: calc(100vh - 80px);
  min-height: 540px;
}
.tm-media-hero-swiper .swiper-wrapper,
.tm-media-hero-slide {
  height: 100%;
}
/* Slide içi inner tam kaplasın (tm-video-hero-inner zaten height:100%) */
.tm-media-hero-slide .tm-video-hero-inner {
  height: 100%;
}
/* Kontroller: oklar yanda (dikey ortalı), dots altta ortalı.
   Wrapper tüm medya alanını kaplar (inset:0) ki çocuklar slider'a göre konumlansın;
   kendisi tıklamayı geçirir, sadece buton/dots tıklanabilir. */
.tm-media-hero-controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: block;
  transform: none;
}
/* Oklar: sağ-sol kenarda, dikey ortalı, biraz daha büyük (full-bleed hero) */
.tm-media-hero-controls .tm-split-prev,
.tm-media-hero-controls .tm-split-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  pointer-events: auto;
}
.tm-media-hero-controls .tm-split-prev {
  left: 1.75rem;
  right: auto;
}
.tm-media-hero-controls .tm-split-next {
  right: 1.75rem;
  left: auto;
}
.tm-media-hero-controls .tm-split-prev svg,
.tm-media-hero-controls .tm-split-next svg {
  width: 18px;
  height: 18px;
}
/* Dots: altta ortalı */
.tm-media-hero-controls .tm-split-pagination {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}
@media (max-width: 992px) {
  .tm-media-hero-swiper {
    height: auto;
    min-height: 420px;
  }
  .tm-media-hero-controls .tm-split-prev {
    left: 0.75rem;
  }
  .tm-media-hero-controls .tm-split-next {
    right: 0.75rem;
  }
}

/* ==========================================================================
   PAGE BUILDER HERO (hero-banner / .tm-pb-hero) — RESİM DAVRANIŞI
   İstek: sağdaki resim KIRPILMASIN (doğal oran), max-height ile sınırlı,
   width auto. Ayrıca resim her zaman TAM OPAK (slide animasyonu init
   timing'ine bağlı kalıp soluk takılmasın).
   ========================================================================== */
.tm-pb-hero .tm-split-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(320px, 42vw, 560px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0.75rem;
}
.tm-pb-hero .tm-split-img-card {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
/* Resim sarmalayıcı animasyon başlangıcında opacity:0'da takılmasın:
   .tm-pb-hero içinde her zaman görünür (sağdan-kayma animasyonu kapalı). */
.tm-pb-hero .tm-split-slide .tm-split-img-wrap {
  opacity: 1;
  transform: none;
  animation: none;
}
.tm-pb-hero .tm-split-slide.tm-slide-anim .tm-split-img-wrap {
  animation: none;
}

/* Kırmızı radial overlay (::after) + glow (::before) resmi soluklaştırıyordu;
   Page Builder hero'da resmin tam renkli görünmesi için bunları kapat. */
.tm-pb-hero.tm-hero-split::after {
  display: none;
}
.tm-pb-hero .tm-split-right::before {
  display: none;
}
.tm-pb-hero .tm-split-img {
  opacity: 1;
}

/* ==========================================================================
   SOSYAL PAYLAŞIM CAROUSEL (social-posts / home-social-posts — v4)
   tm-social-card: kare görsel + hover overlay (instagram ikonu + label).
   Swiper: cpb-social-posts-swiper (custom.js initCpbSocialPostsSwiper).
   ========================================================================== */
.tm-social-feed-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tm-social-feed-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--tm-line, #e6e8ec);
  color: var(--tm-ink, #1f1f1f);
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tm-social-feed-icon:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}
.cpb-social-posts-swiper {
  overflow: hidden;
}
.tm-social-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
}
.tm-social-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.tm-social-card:hover .tm-social-card-img {
  transform: scale(1.06);
}
.tm-social-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.10) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tm-social-card:hover .tm-social-card-overlay {
  opacity: 1;
}
.tm-social-card-platform {
  font-size: 1.6rem;
}
.tm-social-card-label {
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   PRODUCT TABS — DİNAMİK RENK/GÖRSEL (product-tabs / home-product-tabs)
   Renderer her tab'a --tab-color (zorunlu) ve --tab-bg (opsiyonel görsel)
   CSS değişkeni verir. Sabit tm-vtab-ndt/analytical yerine bu değişkenler
   kullanılır; renk hem buton zeminini hem accent çizgisini/kart border'ını
   etkiler (kullanıcı isteği).
   ========================================================================== */
/* Buton zemini: görsel varsa renk overlay + görsel, yoksa düz renk */
.tm-vtab-btn .tm-vtab-btn-inner {
  background-color: var(--tab-color, #c8102e);
  background-image:
    linear-gradient(color-mix(in srgb, var(--tab-color, #c8102e) 70%, transparent),
                    color-mix(in srgb, var(--tab-color, #c8102e) 70%, transparent)),
    var(--tab-bg, none);
  background-size: cover;
  background-position: center;
}
/* Aktif/hover: renk daha koyu (overlay opaklaşır) */
.tm-vtab-btn.active .tm-vtab-btn-inner,
.tm-vtab-btn:hover .tm-vtab-btn-inner {
  background-image:
    linear-gradient(color-mix(in srgb, var(--tab-color, #c8102e) 88%, black 12%),
                    color-mix(in srgb, var(--tab-color, #c8102e) 88%, black 12%)),
    var(--tab-bg, none);
}

/* Sekme butonlarının container genişliğini ve kolon sayılarını dinamik yapıyoruz */
@media (min-width: 768px) {
  .tm-vtab-buttons {
    grid-template-columns: repeat(var(--tab-count, 3), 1fr) !important;
  }
}

/* Panel accent: kart hover border'ı + alt çizgi tab rengini kullansın */
.tm-vtab-panel[style*="--tab-color"] .tm-vtab-item:hover {
  background-color: color-mix(in srgb, var(--tab-color, #c8102e) 6%, white);
  color: var(--tab-color, #c8102e);
}
.tm-vtab-panel[style*="--tab-color"] .tm-vtab-item:hover::before {
  background-color: var(--tab-color, #c8102e);
}

/* Kutuların yüksekliklerini sabitleyerek dikey/kare görsellerin taşmasını engelliyor ve estetik bir grid elde ediyoruz */
.tm-vtab-item {
  height: 158px;
}
@media (max-width: 767.98px) {
  .tm-vtab-item {
    height: 90px;
  }
}

/* Grid satırlarının dikeyde gereksiz yere uzamasını engelleyip yukarı hizalanmasını sağlıyoruz */
.tm-vtab-grid {
  grid-auto-rows: auto !important;
  align-content: start !important;
  flex: none !important;
}

.container .tm-vtab-buttons-wrap {
  padding: 0 !important;
}
.container .tm-vtab-panels {
  padding: 0 !important;
  max-width: 100% !important;
}
.container .tm-vtab-buttons {
  max-width: 100% !important;
}

.tm-vtab-panel {
  min-height: auto !important;
  height: auto !important;
}

/* Aktif tab panelinin üst çizgisi dinamik olarak o tab için seçilen renge boyansın */
.tm-vtab-panel[style*="--tab-color"].active {
  border-top: 6px solid var(--tab-color, #c8102e) !important;
}

/* Featured (geniş) kart — 2 kolon kaplar, görsel + başlık + açıklama overlay */
.tm-vtab-item--wide {
  grid-column: span 2;
  position: relative;
}
.tm-vtab-item--wide .tm-vtab-item-img {
  height: 100%;
}
.tm-vtab-item-feat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(11, 18, 30, 0.85) 0%, transparent 100%);
  color: #fff;
}
.tm-vtab-item-feat-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.tm-vtab-item-feat-desc {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .tm-vtab-item--wide { grid-column: span 1; }
}

/* ==========================================================================
   ESKI PRODUCT-TABS (product-tabs elementi — eski tasarım korunur)
   styles.css + custom.css'ten taşındı (o dosyalar Layout'ta yüklenmiyor).
   Bootstrap nav-tabs + product-tabs-grid (CSS grid, featured 2x2) + kartlar.
   tm-vtab YENİ home-product-tabs içindir; bu blok ESKİ product-tabs içindir.
   ========================================================================== */
.product-tabs-section { background-color: #fff; }

.product-tabs {
  border: none;
  gap: 20px;
  width: 100%;
}
.product-tabs .nav-item { flex: 1 1 0; }
.product-tabs .nav-link {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--font-gray);
  background-color: var(--bg-lightgray);
  border: none;
  border-radius: 0.5rem;
  padding: 18px 20px;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}
.product-tabs .nav-link:hover { color: var(--text-color); }
.product-tabs .nav-link.active {
  color: #fff;
  background-color: var(--pb-tab-color, var(--troy-red));
}
.product-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--pb-tab-color, var(--troy-red));
}
.product-tabs-content {
  margin-top: 30px;
  background-color: #fff;
}

/* CSS grid düzeni */
.product-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 24px;
}
.product-tabs-grid-item { min-width: 0; }
.product-tabs-grid-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.product-tabs-grid .product-card {
  min-height: 170px;
  height: 100%;
}
.product-tabs-grid-item.is-featured .product-card-featured {
  min-height: 100%;
  height: 100%;
}

/* Standart ürün kartı */
.product-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-color: var(--bg-lightgray);
  padding: 0;
  min-height: 200px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  overflow: hidden;
}
.product-card:hover { background-color: #d9d9d9; }
.product-card:hover .product-card-title h5 { color: var(--pb-tab-color, var(--troy-red)); }
.product-card-title { flex: 1; padding: 35px 10px 35px 25px; }
.product-card-title h5 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.product-card-line {
  width: 100%;
  height: 3px;
  background-color: var(--pb-tab-color, var(--troy-red));
}
.product-card-image { flex: 0 0 auto; max-width: 180px; text-align: right; }
.product-card-image img { max-width: 150px; max-height: 150px; object-fit: contain; }

/* Featured (büyük) kart */
.product-card-featured {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 0.75rem;
}
.product-card-featured-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card-featured-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}
.product-card-featured:hover .product-card-featured-overlay { background-color: rgba(0, 0, 0, 0.5); }
.product-card-featured:hover .product-card-featured-bg { transform: scale(1.05); }
.product-card-featured-content {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 45px;
  text-align: right;
  border-radius: 0.75rem 0 0.75rem 0;
}
.product-card-featured-divider {
  width: 50%;
  height: 3px;
  background-color: var(--pb-tab-color, var(--troy-red));
  border: none;
  opacity: 1;
  margin: 15px 0 15px auto;
}
.product-card-featured-content h4 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tm-ink, #1f1f1f);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}
.product-card-featured:hover .product-card-featured-content h4 { color: var(--pb-tab-color, var(--troy-red)); }
.product-card-featured-content p {
  font-size: 14px;
  font-weight: 500;
  color: #3a3f47;
  line-height: 1.6;
  margin: 0;
}

/* Eski product-tabs responsive */
@media (max-width: 991.98px) {
  .product-tabs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 16px; }
  .product-tabs-grid .product-card { min-height: 160px; }
  .product-card-featured { min-height: 300px; }
  .product-card-featured-content { width: 60%; padding: 20px; }
}
@media (max-width: 767.98px) {
  .product-tabs { gap: 10px; }
  .product-tabs .nav-link { padding: 15px 30px; font-size: 14px; }
  .product-tabs-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .product-tabs-grid-item.is-featured { grid-column: span 1; grid-row: span 1; }
  .product-tabs-grid .product-card { min-height: 130px; height: auto; padding: 20px; }
  .product-card-title h5 { font-size: 14px; }
  .product-card-featured-content { width: 100%; position: relative; background-color: #fff; }
  .product-card-featured { min-height: auto; }
  .product-card-featured-bg { position: relative; height: 200px; }
}
@media (max-width: 575.98px) {
  .product-tabs { flex-direction: column; align-items: center; }
  .product-tabs .nav-item { width: 100%; }
  .product-tabs .nav-link { width: 100%; text-align: center; }
  .product-tabs .nav-link.active::after { display: none; }
}

/* ==========================================================================
   ESKI SECTION-HEADER (section-header elementi — orijinal tasarım korunur)
   Sol başlık + dikey ayraç + sağ içerik. styles.css'ten taşındı (yüklenmiyor).
   v4 yatay versiyon ayrı home-section-header (tm-section-head) elementindedir.
   ========================================================================== */
.section-header { background-color: #fff; }
.section-header h1,
.section-header h2 {
  margin: 0;
  padding-right: 30px;
}
.section-header .section-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: 1.5px;
}
.section-header-divider {
  width: 1px;
  background-color: var(--gray-line);
  flex-shrink: 0;
  align-self: stretch;
}
.section-header-content {
  padding-left: 30px;
}
.section-header-content p {
  font-size: 16px;
  color: var(--font-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.section-header-content p:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .section-header h1,
  .section-header h2 {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .section-header-divider { display: none; }
  .section-header-content { padding-left: 0; }
}

/* ==========================================================================
   KNOWLEDGE HUB CAROUSEL (home-articles-events)
   Swiper + nav okları. watchOverflow ile 3 veya az kartta oklar gizlenir.
   ========================================================================== */
.cpb-articles-swiper {
  overflow: hidden;
}
.cpb-articles-swiper .swiper-slide {
  height: auto;
}
.cpb-articles-swiper .swiper-slide .tm-article-card {
  height: 100%;
}
/* tm-article-img artık <img> içeriyor (background-image yerine) — cover yap */
.cpb-articles-swiper .tm-article-img {
  overflow: hidden;
}
.cpb-articles-swiper .tm-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Görsel boşsa (URL yoksa) gri placeholder zemin — kart tutarlı görünsün */
.cpb-articles-swiper .tm-article-img {
  background-color: var(--bg-lightgray, #f4f4f4);
}
.cpb-articles-nav,
.tm-pd-related-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.cpb-articles-prev,
.cpb-articles-next,
.tm-pd-related-prev,
.tm-pd-related-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-line, #d9d9d9);
  background: #fff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  padding: 0;
}
.cpb-articles-prev:hover,
.cpb-articles-next:hover,
.tm-pd-related-prev:hover,
.tm-pd-related-next:hover {
  border-color: var(--troy-red, #c8102e);
  color: var(--troy-red, #c8102e);
}
/* watchOverflow: yeterli slide yoksa nav gizlenir (JS isLocked ile de) */
.cpb-articles-swiper.swiper-button-lock ~ .cpb-articles-nav,
.tm-pd-related-swiper.swiper-button-lock ~ .tm-pd-related-nav,
.swiper-button-lock + .cpb-articles-nav,
.swiper-button-lock + .tm-pd-related-nav {
  display: none;
}
/* Görsel boşsa (URL yoksa) gri placeholder zemin — kart tutarlı görünsün */
.cpb-articles-swiper .tm-article-img {
  background-color: var(--bg-lightgray, #f4f4f4);
}

/* ==========================================================================
   HOME PRODUCT TABS — üste binme opsiyonu
   Varsayılan: tablar -100px ile üstteki hero'ya biner (v4). overlapTop=false
   ise bu class eklenir ve tablar normal akışta durur (bağımsız kullanım).
   ========================================================================== */
.tm-vtab-buttons-wrap--no-overlap {
  margin-top: 0 !important;
}

/* ==========================================================================
   PAGE BUILDER BASİT ELEMENTLER — v4 dokunuşu (heading + accordion)
   Bootstrap temeli çalışıyor; burada v4 tipografi + kırmızı accent eklenir.
   ========================================================================== */

/* heading elementi — v4 başlık tipografisi */
.heading-element {
  font-family: var(--heading-font, 'Manrope', sans-serif);
  font-weight: 700;
  color: var(--tm-ink, #1f1f1f);
  line-height: 1.25;
}
.heading-wrapper {
  margin-bottom: 1rem;
}

/* accordion elementi (category-faq) — v4 görünüm */
.category-faq .accordion-item {
  border: 1px solid var(--gray-line, #e6e8ec);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.category-faq .accordion-button {
  font-family: var(--heading-font, 'Manrope', sans-serif);
  font-weight: 600;
  color: var(--tm-ink, #1f1f1f);
  background: #fff;
  box-shadow: none;
}
.category-faq .accordion-button:not(.collapsed) {
  color: var(--troy-red, #c8102e);
  background: var(--bg-lightgray, #f7f7f8);
}
.category-faq .accordion-button:not(.collapsed)::after {
  /* ok ikonu kırmızıya boyansın */
  filter: invert(16%) sepia(89%) saturate(5000%) hue-rotate(343deg) brightness(95%);
}

/* ==========================================================================
   ÜRÜN LİSTE açıklaması — 3 satır + üç nokta (HTML strip view'da yapılıyor)
   Gelen metin ne olursa olsun 3 satırdan sonra kırpılır.
   ========================================================================== */
.tm-pl-prod-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   GROUP SAYFASI — kategori kart kısa açıklaması (StripHtmlText sonrası)
   Product listing'deki .tm-pl-prod-desc ile aynı: 3 satırda (…) kırpılır.
   ========================================================================== */
.tm-pg-cat-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
