/* ============================================================
   TEKBEN — Kurumsal Site CSS
   Renk paleti logoya uyumlu: Kırmızı #CE181E + Grafit + Çelik
   ============================================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --tk-red:         #CE181E;
  --tk-red-dark:    #A4141A;
  --tk-red-light:   #E8303680;
  --tk-graphite:    #1C2530;
  --tk-graphite-2:  #253041;
  --tk-steel:       #5A6675;
  --tk-steel-light: #8A95A1;
  --tk-bg:          #FFFFFF;
  --tk-bg-soft:     #F4F6F8;
  --tk-bg-dark:     #0F1820;
  --tk-footer-bottom: #080e14;
  --tk-whatsapp:    #25D366;
  --tk-pulse:       #ff3b3b;
  --tk-border:      #E3E7EB;
  --tk-text:        #232A31;
  --tk-text-muted:  #6B7684;
  --tk-gold:        #C8A24B;
  --tk-white:       #FFFFFF;

  --font-sans: 'Montserrat', sans-serif;
  --font-ar:   'Cairo', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);
  --transition: all .3s ease;
}

/* ---------- BASE RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--tk-text);
  background: var(--tk-bg);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tk-red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--tk-red-dark); }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  color: var(--tk-graphite);
  line-height: 1.25;
  margin-bottom: .75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--tk-text); }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--tk-graphite);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: .45rem 0;
  border-bottom: 2px solid var(--tk-red);
}

.topbar a {
  color: rgba(255,255,255,.75);
  transition: var(--transition);
}
.topbar a:hover { color: #fff; }

.topbar .topbar-contact span,
.topbar .topbar-contact a {
  margin-right: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.topbar-store {
  color: rgba(255,255,255,.85) !important;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .2rem .65rem;
  gap: .3rem;
  transition: var(--transition);
  white-space: nowrap;
}
.topbar-store:hover {
  background: var(--tk-red);
  border-color: var(--tk-red);
  color: #fff !important;
}

.topbar .lang-switcher {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.topbar .lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
  padding: .15rem .55rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.topbar .lang-btn:hover,
.topbar .lang-btn.active {
  background: var(--tk-red);
  border-color: var(--tk-red);
  color: #fff;
}

/* ---------- NAVBAR ---------- */
.navbar-main {
  background: var(--tk-bg);
  box-shadow: none;
  padding: 0;
  transition: box-shadow .3s, padding .3s;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-main.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-main .navbar-brand img {
  /* Yükseklik Site Ayarları'ndaki "Logo yüksekliği" alanından gelir.
     Temel reset img'lere height:auto verdiği için HTML'deki height
     niteliği tek başına yetmiyor; CSS ile açıkça belirtmek gerekiyor. */
  height: var(--tb-logo-h, 42px);
  width: auto;
}

.navbar-main .nav-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--tk-graphite) !important;
  padding: 1.1rem .85rem !important;
  letter-spacing: .3px;
  transition: var(--transition);
  position: relative;
}
.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--tk-red);
  transition: left .25s ease, right .25s ease;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
  left: .85rem;
  right: .85rem;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--tk-red) !important;
}

.btn-teklif {
  background: var(--tk-red);
  color: #fff !important;
  padding: .55rem 1.25rem !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .4px;
  white-space: nowrap;
  transition: background .2s;
}
.btn-teklif::after { display: none !important; }
.btn-teklif:hover {
  background: var(--tk-red-dark) !important;
  color: #fff !important;
}

/* Dropdown */
.navbar-main .dropdown-toggle::after { display: none; }

.navbar-main .dropdown-menu {
  border: none;
  border-top: 3px solid var(--tk-red);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem 0;
  min-width: 220px;
}
.navbar-main .dropdown-item {
  font-size: .87rem;
  font-weight: 500;
  color: var(--tk-graphite);
  padding: .55rem 1.2rem;
  transition: var(--transition);
}
.navbar-main .dropdown-item:hover {
  background: var(--tk-bg-soft);
  color: var(--tk-red);
  padding-left: 1.6rem;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  height: 92vh;
  min-height: 520px;
  max-height: 860px;
  overflow: hidden;
}
.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
  width: 100%;
}
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
}
.hero-slide .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(12,18,26,.78) 0%,
    rgba(12,18,26,.45) 50%,
    rgba(12,18,26,.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}
.hero-content .hero-eyebrow {
  display: inline-block;
  background: var(--tk-red);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}
.hero-content h1,
.hero-content .hero-h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-content p {
  color: rgba(255,255,255,.88);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-slider .swiper-pagination-bullet {
  background: rgba(255,255,255,.5);
  opacity: 1;
  width: 10px; height: 10px;
}
.hero-slider .swiper-pagination-bullet-active {
  background: var(--tk-red);
  width: 28px;
  border-radius: 5px;
}

/* ---------- BUTTONS ---------- */
.btn-primary-tk {
  background: var(--tk-red);
  color: #fff;
  border: 2px solid var(--tk-red);
  padding: .75rem 1.8rem;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .5rem;
  cursor: pointer;
}
.btn-primary-tk:hover {
  background: var(--tk-red-dark);
  border-color: var(--tk-red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(206,24,30,.35);
}

.btn-outline-tk {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  padding: .75rem 1.8rem;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-outline-tk:hover {
  background: #fff;
  color: var(--tk-graphite);
  border-color: #fff;
}

.btn-red-sm {
  background: var(--tk-red);
  color: #fff;
  border: none;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-red-sm:hover {
  background: var(--tk-red-dark);
  color: #fff;
}

.btn-ghost-tk {
  background: transparent;
  color: var(--tk-red);
  border: 2px solid var(--tk-red);
  padding: .65rem 1.5rem;
  font-weight: 700;
  font-size: .88rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-ghost-tk:hover {
  background: var(--tk-red);
  color: #fff;
}

/* ---------- SECTION UTILITIES ---------- */
.section {
  padding: 4rem 0;
}
.section-sm {
  padding: 2.5rem 0;
}
.section-lg {
  padding: 6rem 0;
}
.section-dark {
  background: var(--tk-graphite);
  color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #fff;
}
.section-dark p { color: rgba(255,255,255,.78); }

.section-soft { background: var(--tk-bg-soft); }

.section-header {
  margin-bottom: 2.5rem;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--tk-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-header h2 {
  margin-bottom: .75rem;
}
.section-header .lead {
  color: var(--tk-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.divider-red {
  width: 48px;
  height: 3px;
  background: var(--tk-red);
  border: none;
  margin: .8rem 0 1.4rem;
  border-radius: 2px;
}
.text-center .divider-red { margin-left: auto; margin-right: auto; }

/* ---------- PARTNERS BAND ---------- */
.partners-band {
  background: var(--tk-bg-soft);
  border-top: 1px solid var(--tk-border);
  border-bottom: 1px solid var(--tk-border);
  padding: 2.2rem 0;
}
.partners-band .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 60px;
  filter: grayscale(100%) opacity(.55);
  transition: var(--transition);
}
.partners-band .partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}
.partners-band .partner-logo img {
  max-height: 44px;
  max-width: 130px;
  object-fit: contain;
}
.partners-band .partner-logo .partner-wordmark {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--tk-graphite);
  text-transform: uppercase;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tk-red);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .icon-wrap {
  width: 72px; height: 72px;
  background: var(--tk-bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  transition: var(--transition);
}
.service-card:hover .icon-wrap {
  background: var(--tk-red);
  color: #fff;
}
.service-card .icon-wrap i {
  font-size: 2rem;
  color: var(--tk-red);
  transition: var(--transition);
}
.service-card:hover .icon-wrap i { color: #fff; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--tk-text-muted);
  margin-bottom: 1.2rem;
}
.service-card .card-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--tk-red);
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.service-card .card-link:hover { gap: .6rem; }

/* ---------- PROCESS / TIMELINE ---------- */
.process-section { background: var(--tk-bg-soft); }

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.process-step .step-num {
  width: 64px; height: 64px;
  background: var(--tk-red);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  position: relative;
  z-index: 1;
}
.process-connector {
  position: absolute;
  top: calc(1.5rem + 32px);
  left: 50%;
  right: calc(-50% - 32px);
  height: 2px;
  background: var(--tk-border);
  z-index: 0;
}
.process-step:last-child .process-connector { display: none; }
.process-step h4 { font-size: 1rem; margin-bottom: .4rem; }
.process-step p { font-size: .88rem; color: var(--tk-text-muted); margin: 0; }

/* ---------- PROJECT CARDS ---------- */
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  aspect-ratio: 16/9;
  height: auto;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.06); }

.project-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,24,32,.85) 0%, rgba(15,24,32,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}
.project-card .card-cat {
  display: inline-block;
  background: var(--tk-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 2px;
  margin-bottom: .6rem;
  align-self: flex-start;
}
.project-card .card-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.project-card .card-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(.8);
  background: var(--tk-red);
  color: #fff;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
}
.project-card:hover .card-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Project filter */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: #fff;
  border: 1.5px solid var(--tk-border);
  color: var(--tk-steel);
  padding: .45rem 1.1rem;
  border-radius: 30px;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--tk-red);
  border-color: var(--tk-red);
  color: #fff;
}

/* ---------- STATS COUNTER ---------- */
.stats-band {
  background: var(--tk-graphite);
  padding: 4rem 0;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--tk-red);
  line-height: 1;
  display: block;
  margin-bottom: .4rem;
}
.stat-item .stat-label {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- ABOUT TEASER ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}
@media (max-width: 767.98px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split-img { height: 280px; }
}
.about-split-img {
  position: relative;
  overflow: hidden;
}
.about-split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(206,24,30,.12) 0%, transparent 60%);
}
.about-split-content {
  background: var(--tk-graphite);
  color: #fff;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .about-split-content { padding: 3rem 2rem; }
}
.about-split-content .eyebrow { color: var(--tk-red); }
.about-split-content h2 { color: #fff; }
.about-split-content p { color: rgba(255,255,255,.78); }

/* ---------- PRODUCT CATEGORY CARDS ---------- */
.product-cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  height: auto;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-cat-card:hover img { transform: scale(1.07); }

.product-cat-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,18,26,.82) 0%, rgba(12,18,26,.15) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.product-cat-card .cat-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.product-cat-card .cat-count {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
}
.product-cat-card .cat-arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--tk-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}
.product-cat-card:hover .cat-arrow { opacity: 1; }

/* ---------- REFERENCES LOGO GRID ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.ref-cat-title {
  color: var(--tk-graphite);
  border-bottom: 3px solid var(--cat, var(--tk-red));
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.ref-cat-title i { color: var(--cat, var(--tk-red)); }
.ref-card {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-top: 3px solid var(--cat, var(--tk-red));
  border-radius: var(--radius-md);
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem .85rem;
  text-align: center;
  transition: var(--transition);
}
.ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat, var(--tk-red));
  box-shadow: var(--shadow-md);
}
.ref-card > i {
  font-size: 1.25rem;
  color: var(--cat, var(--tk-red));
  line-height: 1;
}
.ref-card img { max-height: 52px; max-width: 120px; object-fit: contain; }
.ref-card .ref-wordmark {
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  color: var(--tk-graphite);
  letter-spacing: .2px;
  line-height: 1.3;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--tk-graphite) 0%, var(--tk-graphite-2) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: var(--tk-red);
  opacity: .08;
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 260px; height: 260px;
  background: var(--tk-red);
  opacity: .06;
  border-radius: 50%;
}
.cta-band .cta-content { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); }

/* ---------- FOOTER ---------- */
.footer-main {
  background: var(--tk-bg-dark);
  padding: 5rem 0 3rem;
  color: rgba(255,255,255,.7);
}
.footer-main h5 {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.4rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--tk-red);
  display: inline-block;
}
.footer-main .footer-logo img {
  height: 38px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.2rem;
}
.footer-main .footer-desc {
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,.6);
}
.footer-main .footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-main .footer-links li { margin-bottom: .6rem; }
.footer-main .footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-main .footer-links a:hover {
  color: var(--tk-red);
  padding-left: .35rem;
}
.footer-main .footer-contact-item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .8rem;
  font-size: .87rem;
  color: rgba(255,255,255,.65);
}
.footer-main .footer-contact-item i {
  color: var(--tk-red);
  font-size: 1rem;
  margin-top: .15rem;
  flex-shrink: 0;
}
.footer-main .social-icons {
  display: flex;
  gap: .6rem;
  margin-top: 1.4rem;
}
.footer-main .social-icons a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: var(--transition);
}
.footer-main .social-icons a:hover {
  background: var(--tk-red);
  color: #fff;
}

.footer-bottom {
  background: var(--tk-footer-bottom);
  padding: 1.1rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--tk-red); }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.wa-float a {
  position: relative;
  width: 52px; height: 52px;
  background: var(--tk-whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: var(--transition);
}
.wa-float a:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: var(--tk-pulse);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}

html[dir="rtl"] .wa-float { right: auto; left: 2rem; }

/* ---------- BREADCRUMB ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--tk-graphite) 0%, #253041 60%, #1a0f12 100%);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,24,32,.75) 0%, rgba(15,24,32,.6) 100%);
}
.page-hero h1 {
  color: #fff;
  margin-bottom: .5rem;
  position: relative;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative;
}
.page-hero .breadcrumb-item { font-size: .85rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb-item.active { color: var(--tk-red); }
.page-hero .accent-line {
  width: 48px; height: 3px;
  background: var(--tk-red);
  margin: .8rem 0;
  border-radius: 2px;
}

/* ---------- SERVICE DETAIL BLOCK ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
html[dir="rtl"] .service-block.reverse { direction: ltr; }
html[dir="rtl"] .service-block:not(.reverse) { direction: rtl; }
@media (max-width: 767.98px) {
  .service-block { grid-template-columns: 1fr; gap: 2rem; }
  .service-block.reverse { direction: ltr; }
}
.service-block-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 360px;
}
.service-block-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-block-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--tk-red);
  opacity: .12;
  line-height: 1;
  margin-bottom: -.8rem;
}
.service-block h2 { font-size: 1.65rem; margin-bottom: .75rem; }
.service-block ul {
  list-style: none;
  padding: 0; margin: 1rem 0 1.5rem;
}
.service-block ul li {
  padding: .4rem 0 .4rem 1.6rem;
  position: relative;
  font-size: .92rem;
  color: var(--tk-steel);
}
.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--tk-red);
  border-radius: 50%;
}

/* ---------- PROJECT DETAIL ---------- */
.project-detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  margin-bottom: 2rem;
  position: relative;
}
.pg-prev, .pg-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.pg-prev:hover, .pg-next:hover { background: rgba(0,0,0,.7); }
.pg-prev { left: 1rem; }
.pg-next { right: 1rem; }
.project-detail-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.project-meta-item {
  background: var(--tk-bg-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border-left: 3px solid var(--tk-red);
}
html[dir="rtl"] .project-meta-item { border-left: none; border-right: 3px solid var(--tk-red); }
.project-meta-item .meta-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tk-text-muted);
  margin-bottom: .3rem;
}
.project-meta-item .meta-val {
  font-size: .95rem;
  font-weight: 700;
  color: var(--tk-graphite);
}

/* ---------- PRODUCT CARD ---------- */
.product-item-card {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.product-item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}
.product-item-card .prod-img {
  height: 200px;
  overflow: hidden;
  background: var(--tk-bg-soft);
}
.product-item-card .prod-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-item-card:hover .prod-img img { transform: scale(1.06); }
.product-item-card .prod-body { padding: 1.4rem; }
.product-item-card .prod-cat {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tk-red);
  font-weight: 700;
  margin-bottom: .3rem;
}
.product-item-card h4 {
  font-size: 1rem;
  margin-bottom: .5rem;
}
.product-item-card p {
  font-size: .85rem;
  color: var(--tk-text-muted);
  margin-bottom: 1rem;
}

/* ---------- CONTACT (defined in aliases section below) ---------- */

.form-tk .form-control,
.form-tk .form-select {
  border: 1.5px solid var(--tk-border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: border-color .2s;
}
.form-tk .form-control:focus,
.form-tk .form-select:focus {
  border-color: var(--tk-red);
  box-shadow: 0 0 0 3px rgba(206,24,30,.1);
}
.form-tk label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tk-graphite);
  margin-bottom: .35rem;
}
.form-tk textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- RTL ADJUSTMENTS ---------- */
html[dir="rtl"] .footer-main .footer-links a:hover { padding-left: 0; padding-right: .35rem; }
html[dir="rtl"] .service-card .card-link { flex-direction: row-reverse; }
html[dir="rtl"] .service-block ul li { padding-left: 0; padding-right: 1.6rem; }
html[dir="rtl"] .service-block ul li::before { left: auto; right: 0; }
html[dir="rtl"] .process-connector { left: auto; right: calc(-50% - 32px); }
html[dir="rtl"] .topbar .topbar-contact span,
html[dir="rtl"] .topbar .topbar-contact a { margin-right: 0; margin-left: 1.4rem; }
html[dir="rtl"] .navbar-main .nav-link::after {
  left: .85rem;
  right: .85rem;
  transform: scaleX(0);
  transform-origin: center;
}
html[dir="rtl"] .navbar-main .nav-link:hover::after,
html[dir="rtl"] .navbar-main .nav-link.active::after {
  transform: scaleX(1);
}
html[dir="rtl"] .section-header .lead { max-width: 100%; }
html[dir="rtl"] .divider-red { margin-right: 0; }
html[dir="rtl"] .footer-main .footer-links a { flex-direction: row-reverse; }

/* ---------- ANIMATIONS VIA AOS ---------- */
/* AOS handles this — just ensure no overflow issues */

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .navbar-main .nav-link { padding: .7rem .65rem !important; }
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  .stats-band { padding: 3rem 0; }
}
@media (max-width: 767.98px) {
  .hero-slider { height: 75vh; min-height: 420px; }
  .hero-content { text-align: center; }
  .hero-btns { justify-content: center; }
  .topbar .topbar-contact span:not(:first-child) { display: none; }
  .section { padding: 2.5rem 0; }
  .about-split-content { padding: 2.5rem 1.5rem; }
  .ref-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .project-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .hero-content h1, .hero-content .hero-h2 { font-size: 1.75rem; }
  .stats-band { padding: 2.5rem 0; }
  .stat-item .stat-num { font-size: 2rem; }
  .cta-band { padding: 3rem 0; }
}

/* =====================================================
   ALIASES — HTML uses these alternate class names
   ===================================================== */

/* product-item-card: alternate child class names */
.product-item-card .product-img { height: 200px; overflow: hidden; background: var(--tk-bg-soft); }
.product-item-card .product-img img { width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.product-item-card:hover .product-img img { transform: scale(1.06); }
.product-item-card .product-body { padding: 1.4rem; }
.product-item-card .product-brand {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tk-red);
  font-weight: 700;
  display: block;
  margin-bottom: .3rem;
}

/* project-meta-grid: alternate child class names */
.project-meta-grid .meta-item {
  background: var(--tk-bg-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border-left: 3px solid var(--tk-red);
}
html[dir="rtl"] .meta-item { border-left: none; border-right: 3px solid var(--tk-red); }
.meta-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tk-steel);
  display: block;
  margin-bottom: .25rem;
}
.meta-val {
  font-size: .95rem;
  font-weight: 700;
  color: var(--tk-graphite);
}

/* contact-card: flex layout variant */
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--tk-bg-soft);
  border: 1px solid var(--tk-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}
.contact-card:last-of-type { margin-bottom: 0; }
.contact-card .contact-icon {
  width: 44px; height: 44px;
  background: var(--tk-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing:.8px; color: var(--tk-steel); margin-bottom: .25rem; }
.contact-card p { font-size: .9rem; color: var(--tk-text); margin: 0; }
.contact-card a { color: var(--tk-red); font-weight: 600; }

/* fw-600 utility (Bootstrap uses fw-semibold) */
.fw-600 { font-weight: 600 !important; }


/* ---------- MARKA IZGARASI (Merchant kataloğu) ---------- */
.partners-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: .86rem;
  color: var(--tk-steel);
}
.partners-note a { color: var(--tk-red); font-weight: 600; }
.partners-band .partner-logo { text-decoration: none; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .75rem;
}
.brand-tile {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: var(--radius-md);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .6rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}
.brand-tile:hover {
  border-color: var(--tk-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.brand-tile img { max-height: 40px; max-width: 108px; object-fit: contain; }
.brand-tile .brand-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--tk-graphite);
  line-height: 1.25;
  transition: var(--transition);
}
.brand-tile:hover .brand-name { color: var(--tk-red); }

/* ---------- KATALOG ÜRÜN KARTI ---------- */
.catalog-card {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.catalog-card:hover {
  border-color: var(--tk-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.catalog-img {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--tk-border);
  height: 240px;
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}
.catalog-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.catalog-cat {
  position: absolute;
  top: .7rem; left: .7rem;
  background: var(--tk-red);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: var(--radius-sm);
}
.catalog-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.catalog-brand {
  display: inline-block;
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--tk-red);
  text-decoration: none;
  margin-bottom: .45rem;
}
.catalog-brand:hover { text-decoration: underline; }
.catalog-body h4 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 .55rem;
  color: var(--tk-graphite);
}
.catalog-body p {
  font-size: .84rem;
  color: var(--tk-steel);
  line-height: 1.6;
  margin: 0 0 1.1rem;
  flex: 1;
}
.catalog-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-order, .btn-quote {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .58rem .8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-order {
  background: var(--tk-red);
  color: #fff;
  border: 1px solid var(--tk-red);
}
.btn-order:hover { background: var(--tk-red-dark); border-color: var(--tk-red-dark); color: #fff; }
.btn-quote {
  background: transparent;
  color: var(--tk-graphite);
  border: 1px solid var(--tk-border);
}
.btn-quote:hover { border-color: var(--tk-graphite); background: var(--tk-bg-soft); color: var(--tk-graphite); }

@media (max-width: 575.98px) {
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
  .catalog-actions { flex-direction: column; }
}


/* ---------- MOBİL YATAY TAŞMA DÜZELTMESİ ----------
   Bootstrap g-5 boşlukları (-1.5rem negatif margin) .container'ın
   varsayılan .75rem dolgusundan büyük olduğu için satırlar ekrandan
   taşıyordu. Dar ekranlarda container dolgusunu boşluğa eşitliyoruz. */
@media (max-width: 991.98px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
/* Kalan taşmalar için güvenlik ağı — sticky navbar'ı bozmayan "clip" */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* ============================================================
   FOOTER — ORTALI DÜZEN (web + mobil)
   Ürünler sütunu kaldırıldı; marka bloğu ve bağlantı sütunları
   her ekran boyutunda ortalanır.
   ============================================================ */
.tb-footer-center .footer-main { text-align: center; }

.tb-footer-center .footer-brand {
  max-width: 640px;
  margin: 0 auto 3rem;
}
.tb-footer-center .footer-logo img {
  height: 46px;
  filter: brightness(0) invert(1);
  /* Temel reset img'leri display:block yapıyor; blok görsel text-align:center'ı
     yok saydığı için ortalamayı margin ile yapıyoruz. */
  margin: 0 auto 1.2rem;
}
.tb-footer-center .footer-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  margin: 0 auto 1.6rem;
  max-width: 56ch;
}
.tb-footer-center .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.tb-footer-center .footer-contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  max-width: 52ch;
  margin: 0;
}
.tb-footer-center .footer-contact-item i { color: var(--tk-red); margin-top: .2rem; flex: 0 0 auto; }
.tb-footer-center .footer-contact-item a { color: rgba(255,255,255,.75); }
.tb-footer-center .footer-contact-item a:hover { color: #fff; }

.tb-footer-center .social-icons {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.6rem;
}

.tb-footer-center .footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tb-footer-center .footer-col {
  flex: 0 1 200px;
  min-width: 150px;
}
.tb-footer-center .footer-col h5 {
  border-bottom: 2px solid var(--tk-red);
  display: inline-block;
}
/* Başlığı iki satıra düşen sütunun bağlantıları diğerleriyle aynı hizada başlasın */
.tb-footer-center .footer-col > h5 { min-height: 2.6em; }
.tb-footer-center .footer-links { list-style: none; padding: 0; margin: 0; }
.tb-footer-center .footer-links li { margin-bottom: .6rem; }
.tb-footer-center .footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: var(--transition);
}
.tb-footer-center .footer-links a:hover { color: var(--tk-red); }

.tb-footer-center .footer-bottom .container {
  display: flex;
  justify-content: center;
  text-align: center;
}

@media (max-width: 575.98px) {
  .tb-footer-center .footer-cols { gap: 2rem; }
  .tb-footer-center .footer-col { min-width: 130px; }
  .tb-footer-center .footer-contact-item { flex-direction: column; align-items: center; gap: .25rem; }
  .tb-footer-center .footer-contact-item i { margin-top: 0; }
}

/* ============================================================
   ÜRÜN KATALOĞU — yan panel, filtre çubuğu, sayfalama
   ============================================================ */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 991.98px) { .catalog-layout { grid-template-columns: 1fr; gap: 1.5rem; } }

.catalog-side-toggle {
  width: 100%; background: var(--tk-bg-soft); border: 1px solid var(--tk-border);
  border-radius: var(--radius-md); padding: .8rem 1rem; font-weight: 600;
  color: var(--tk-graphite); margin-bottom: 1rem; text-align: left;
}
.catalog-box {
  background: #fff; border: 1px solid var(--tk-border);
  border-radius: var(--radius-lg); padding: 1.35rem; margin-bottom: 1.25rem;
}
.catalog-box h4 {
  font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: var(--tk-graphite); padding-bottom: .6rem; margin: 0 0 .9rem;
  border-bottom: 2px solid var(--tk-red); display: inline-block;
}
.catalog-cats, .catalog-cats ul { list-style: none; padding: 0; margin: 0; }
.catalog-cats ul { padding-inline-start: .85rem; margin-top: .3rem;
  border-inline-start: 1px solid var(--tk-border); }
.catalog-cats li { margin-bottom: .15rem; }
.catalog-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .42rem .55rem; border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--tk-steel); text-decoration: none; transition: var(--transition);
}
.catalog-cats a span { font-size: .72rem; color: var(--tk-steel-light); flex: 0 0 auto; }
.catalog-cats a:hover { background: var(--tk-bg-soft); color: var(--tk-graphite); }
.catalog-cats a.is-active { background: var(--tk-red); color: #fff; font-weight: 600; }
.catalog-cats a.is-active span { color: rgba(255,255,255,.8); }
.catalog-cats .depth-1 > a { font-weight: 600; color: var(--tk-graphite); }

.catalog-brands { display: flex; flex-wrap: wrap; gap: .4rem; }
.catalog-brands a {
  font-size: .76rem; padding: .32rem .6rem; border: 1px solid var(--tk-border);
  border-radius: 999px; color: var(--tk-steel); text-decoration: none; transition: var(--transition);
}
.catalog-brands a span { color: var(--tk-steel-light); font-size: .68rem; }
.catalog-brands a:hover { border-color: var(--tk-red); color: var(--tk-red); }
.catalog-brands a.is-active { background: var(--tk-red); border-color: var(--tk-red); color: #fff; }
.catalog-brands a.is-active span { color: rgba(255,255,255,.8); }

.catalog-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  background: var(--tk-bg-soft); border: 1px solid var(--tk-border);
  border-radius: var(--radius-md); padding: .8rem 1rem; margin-bottom: 1.75rem;
}
.catalog-search { position: relative; flex: 1 1 240px; }
.catalog-search i {
  position: absolute; inset-inline-start: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--tk-steel-light); font-size: .9rem;
}
.catalog-search input {
  width: 100%; padding: .55rem .8rem; padding-inline-start: 2.2rem;
  border: 1px solid var(--tk-border); border-radius: var(--radius-sm);
  font-size: .87rem; background: #fff; color: var(--tk-text);
}
.catalog-search input:focus { outline: 2px solid var(--tk-red-light); border-color: var(--tk-red); }
.catalog-bar select {
  padding: .55rem .8rem; border: 1px solid var(--tk-border);
  border-radius: var(--radius-sm); font-size: .85rem; background: #fff; color: var(--tk-text);
}
.catalog-count { font-size: .85rem; color: var(--tk-steel); margin-inline-start: auto; }
.catalog-clear {
  font-size: .8rem; color: var(--tk-red); text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem; font-weight: 600;
}

.catalog-empty { text-align: center; padding: 4rem 1rem; }
.catalog-empty i { font-size: 2.5rem; color: var(--tk-border); }
.catalog-empty h3 { margin: 1rem 0 .5rem; color: var(--tk-graphite); }
.catalog-empty p { color: var(--tk-steel); margin-bottom: 1.5rem; }

.catalog-pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .4rem; margin-top: 3rem;
}
.catalog-pagination a, .catalog-pagination .gap {
  min-width: 42px; height: 42px; padding: 0 .7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  border: 1px solid var(--tk-border); border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; color: var(--tk-graphite);
  text-decoration: none; background: #fff; transition: var(--transition);
}
.catalog-pagination .gap { border-color: transparent; color: var(--tk-steel-light); }
.catalog-pagination a:hover { border-color: var(--tk-red); color: var(--tk-red); }
.catalog-pagination a.is-active { background: var(--tk-red); border-color: var(--tk-red); color: #fff; }

/* ============================================================
   RTL — LATİN İÇERİK YÖNÜ
   Telefon, e-posta, URL ve fiyat gibi Latin/rakam içerikler
   Arapça sayfada ters okunmasın diye kendi yönlerinde kalır.
   ============================================================ */
[dir="rtl"] .topbar-contact a,
[dir="rtl"] .footer-contact-item a[href^="tel"],
[dir="rtl"] .footer-contact-item a[href^="mailto"],
[dir="rtl"] .topbar-store,
[dir="rtl"] .contact-card a[href^="tel"],
[dir="rtl"] .contact-card a[href^="mailto"],
[dir="rtl"] .catalog-brands a,
[dir="rtl"] .brand-tile .brand-name,
[dir="rtl"] .partner-wordmark {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .topbar-contact { direction: rtl; }
[dir="rtl"] .catalog-pagination { direction: ltr; }

/* ------------------------------------------------------------
   g-5 SATIR HİZASI
   Bootstrap'ın g-5 boşluğu (-1.5rem negatif margin) .container'ın
   varsayılan .75rem dolgusundan büyük olduğu için bu satırlar diğer
   bölümlerden 12px daha geniş duruyordu. Yalnızca g-5 satırı barındıran
   container'ların dolgusunu boşluğa eşitleyerek hizayı düzeltiyoruz.
   ------------------------------------------------------------ */
.container:has(> .row.g-5) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ------------------------------------------------------------
   MOBİL MENÜ — DİL DEĞİŞTİRİCİ
   .lang-btn stilleri .topbar'a kilitli olduğu için offcanvas
   kopyası stilsiz kalıyordu; koyu zemin yerine açık zemine
   uygun kendi varyantını tanımlıyoruz.
   ------------------------------------------------------------ */
.offcanvas .lang-switcher {
  display: flex;
  gap: .4rem;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--tk-border);
}
.offcanvas .lang-btn {
  background: transparent;
  border: 1px solid var(--tk-border);
  color: var(--tk-steel);
  padding: .32rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: var(--transition);
}
.offcanvas .lang-btn:hover {
  border-color: var(--tk-red);
  color: var(--tk-red);
}
.offcanvas .lang-btn.active {
  background: var(--tk-red);
  border-color: var(--tk-red);
  color: #fff;
}


/* ------------------------------------------------------------
   MOBİL MENÜ BAŞLIĞI — LOGO
   Kural yokken temel reset (height:auto + max-width:100%) devreye
   girip logoyu panel genişliğine kadar büyütüyordu.
   ------------------------------------------------------------ */
.offcanvas-header img {
  height: var(--tb-logo-mobil, 34px);
  width: auto;
  max-width: 70%;
}
.offcanvas-header {
  align-items: center;
  padding-block: 1rem;
}

/* ---------- Katalog canlı arama göstergesi ---------- */
.catalog-search { position: relative; }
.catalog-spinner {
  position: absolute;
  inset-inline-end: .7rem;
  top: 50%;
  width: 15px; height: 15px;
  margin-top: -7.5px;
  border: 2px solid var(--tk-border);
  border-top-color: var(--tk-red);
  border-radius: 50%;
  animation: tb-spin .7s linear infinite;
  pointer-events: none;
}
@keyframes tb-spin { to { transform: rotate(360deg); } }
.catalog-results { transition: opacity .15s ease; }
.catalog-results .row { transition: opacity .15s ease; }

/* ---------- Arama yazım düzeltmesi bildirimi ---------- */
.catalog-correction {
  margin: -0.75rem 0 1.25rem;
  padding: .65rem .9rem;
  background: #fff8e6;
  border: 1px solid #f0dca6;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  color: #7a5c15;
}
.catalog-correction em { font-style: normal; text-decoration: line-through; opacity: .7; }
.catalog-correction strong { color: var(--tk-red); }
