/* Site iskeleti: B2B şerit, header, marka menüsü, footer, ortak sayfa parçaları */

.b2b-bar { background: var(--mh-primary); color: var(--mh-on-primary); font-size: .84rem; padding: .45rem 0; }
.b2b-bar .b2b-tag { font-weight: 800; font-size: .95rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .2rem; }
.b2b-bar .b2b-text { color: rgba(255,255,255,.85); }
.b2b-bar .b2b-text strong { color: #fff; }
.b2b-bar .b2b-apply { border-radius: 8px; font-size: .8rem; padding: .35rem .85rem; white-space: nowrap; }

.header-fx {
  flex: 0 0 auto;
  width: 132px;
  height: 44px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mh-mid-gray);
}
.fx-track { position: relative; width: 100%; height: 100%; }
.fx-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .55rem 0 .4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.fx-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fx-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mh-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  flex: 0 0 auto;
  line-height: 1;
}
.fx-icon.fx-usd {
  background: #1a7f4b;
}
.fx-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.fx-code {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--mh-gray);
  text-transform: uppercase;
}
.fx-eq {
  font-size: .88rem;
  font-weight: 800;
  color: var(--mh-dark);
  white-space: nowrap;
}

.site-header { background: #fff; position: sticky; top: 0; z-index: 1020; box-shadow: 0 1px 0 var(--mh-mid-gray); }
.header-row { display: flex; align-items: center; gap: 1.25rem; padding: .9rem 0; }
.site-logo img { height: 48px; width: auto; display: block; max-width: 220px; object-fit: contain; }
.header-search { position: relative; flex: 1 1 auto; max-width: 420px; margin: 0 auto; }
.header-search > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mh-gray); }
.header-search input { width: 100%; border: 1px solid var(--mh-mid-gray); background: var(--mh-light-gray); border-radius: var(--mh-radius-sm); padding: .8rem 1rem .8rem 2.6rem; font-size: .92rem; outline: none; transition: .15s; }
.header-search input:focus { background: #fff; border-color: var(--mh-primary); box-shadow: 0 0 0 .2rem var(--mh-primary-trans); }
.search-suggest { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--mh-mid-gray); border-radius: var(--mh-radius-sm); box-shadow: 0 12px 30px var(--shadow-color); z-index: 1050; overflow: hidden; max-height: 420px; overflow-y: auto; }
.search-suggest.show { display: block; }
.search-suggest a { display: flex; gap: .75rem; align-items: center; padding: .6rem .9rem; border-bottom: 1px solid var(--mh-light-gray); color: var(--mh-dark); font-size: .85rem; }
.search-suggest a:hover { background: var(--mh-light-gray); }
.search-suggest .s-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--mh-light-gray); display: grid; place-items: center; color: var(--mh-gray); flex: 0 0 auto; }
.search-suggest .s-oem { color: var(--mh-primary-dark); font-weight: 700; font-size: .75rem; }
.search-suggest .s-price { margin-left: auto; font-weight: 800; white-space: nowrap; }
.search-suggest .s-head { padding: .45rem .9rem; font-size: .72rem; text-transform: uppercase; color: var(--mh-gray); letter-spacing: .06em; background: #fafafa; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-action { display: inline-flex; align-items: center; gap: .5rem; color: var(--mh-dark); font-weight: 600; font-size: .88rem; }
.header-action .label { white-space: nowrap; }
.btn-garage { position: relative; width: 46px; height: 46px; border-radius: var(--mh-radius-sm); background: var(--mh-primary); color: var(--mh-on-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.btn-garage .count-badge { background: var(--mh-dark); color: #fff; }

.brand-nav { border-top: 1px solid var(--mh-mid-gray); background: #fff; }
.brand-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.main-nav-list { justify-content: flex-start; flex-wrap: nowrap; overflow: visible; }
.brand-nav-list > li > a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem; margin: .35rem 0;
  font-size: .8rem; font-weight: 600;
  color: var(--mh-mid-dark-gray); letter-spacing: .02em; white-space: nowrap;
  border-radius: 999px; border-bottom: none; text-transform: none;
  transition: background .15s, color .15s;
}
.brand-nav-list > li > a i { font-size: .95rem; opacity: .75; }
.brand-nav-list > li > a:hover,
.brand-nav-list > li > a.active,
.brand-nav-list > li.show > a {
  color: var(--mh-primary-dark);
  background: var(--mh-primary-trans);
  border-bottom-color: transparent;
}
.brand-nav-list .dropdown-toggle::after { display: none; }
.brand-nav-list > li > a .bi-chevron-down { font-size: .7rem; opacity: .6; }

.araclar-mega {
  border: 0; border-radius: 0 0 16px 16px;
  border-top: 1px solid var(--mh-mid-gray);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .1);
  padding: 0; margin-top: 0 !important;
  left: 0 !important; right: 0 !important;
  background: #fff;
}
.araclar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .2rem .15rem;
  max-height: 440px;
  overflow-y: auto;
  padding: .1rem;
}
.araclar-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; padding: .7rem .35rem .6rem; border-radius: 12px; color: var(--mh-dark);
  text-align: center; transition: background .15s, box-shadow .15s;
  border: 1px solid transparent;
  min-height: 108px;
}
.araclar-item:hover, .araclar-item.active {
  background: #f7f9fc;
  border-color: var(--mh-mid-gray);
  color: var(--mh-dark);
}
.araclar-logo {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.araclar-logo img {
  max-width: 92%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.araclar-name {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mh-dark);
}
.araclar-foot {
  border-top: 1px solid var(--mh-mid-gray); margin-top: .85rem; padding-top: .85rem;
}
.araclar-foot a { font-weight: 700; font-size: .86rem; color: var(--mh-primary-dark); }
.mobile-araclar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
}

.brand-mega { border-radius: var(--mh-radius-sm); border: 1px solid var(--mh-mid-gray); box-shadow: 0 16px 40px var(--shadow-color); padding: .75rem; min-width: 620px; }
.brand-mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.brand-mega .dropdown-item { font-size: .82rem; font-weight: 600; padding: .4rem .7rem; border-radius: 6px; }
.brand-mega .dropdown-item:hover { background: var(--mh-primary-trans); color: var(--mh-primary-dark); }

.section { padding: 1.5rem 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; gap: 1rem; }
.section-head h2 { font-size: 1.85rem; margin: 0; }
.section-head .more { font-weight: 700; font-size: .88rem; color: var(--mh-gray); }
.section-head .more:hover { color: var(--mh-primary-dark); }
.slider-arrows { display: flex; gap: .5rem; }
.slider-arrows button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--mh-light-gray); color: var(--mh-gray); font-size: 1rem; }
.slider-arrows button:hover { background: var(--mh-dark); color: #fff; }

.trust-strip { background: var(--mh-dark); color: #fff; padding: 2.25rem 0; margin-top: 3rem; }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-icon { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; background: var(--mh-dark-light); display: grid; place-items: center; font-size: 1.6rem; color: #fff; }
.trust-item h5 { color: #fff; font-size: 1rem; margin-bottom: .25rem; }
.trust-item p { color: #aeb4c2; font-size: .84rem; margin: 0; }

.site-footer { padding: 3rem 0 1.5rem; }
.footer-about { color: var(--mh-mid-dark-gray); font-size: .9rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--mh-mid-gray); display: grid; place-items: center; color: var(--mh-dark); font-size: 1rem; }
.social a:hover { background: var(--mh-dark); color: #fff; border-color: var(--mh-dark); }
.footer-links, .footer-brands { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .3rem 0; }
.footer-links a { font-weight: 700; font-size: .95rem; color: var(--mh-dark); }
.footer-links a:hover { color: var(--mh-primary-dark); }
.footer-brands li { padding: .38rem 0; }
.footer-brands a { font-size: .85rem; font-weight: 600; color: var(--mh-mid-dark-gray); }
.footer-brands a:hover { color: var(--mh-primary-dark); }

@media (max-width: 1199.98px) {
  .araclar-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .araclar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-hr { border-color: var(--mh-mid-gray); opacity: 1; margin: 2rem 0; }
.footer-contact h5 { font-size: 1.05rem; }
.footer-contact h5 i { color: var(--mh-primary-light); }
.footer-contact p { color: var(--mh-gray); font-size: .85rem; margin: 0; }
.footer-contact a { color: var(--mh-primary-dark); font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom .legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom .legal a { font-size: .8rem; color: var(--mh-gray); font-weight: 600; }
.footer-bottom .copy { font-size: .8rem; color: var(--mh-gray); margin: 0; }

.back-to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--mh-primary); color: var(--mh-on-primary); font-size: 1.2rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); opacity: 0; pointer-events: none; transition: .2s; z-index: 1030; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

.breadcrumb { font-size: .84rem; margin: 1.25rem 0; }
.breadcrumb a { color: var(--mh-gray); font-weight: 600; }
.breadcrumb .active { color: var(--mh-primary-dark); font-weight: 700; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--mh-gray); }

.page-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.page-title .title-icon { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--mh-mid-gray); display: grid; place-items: center; font-size: 1.5rem; color: var(--mh-dark); background: #fff; }
.page-title h1 { font-size: 1.9rem; margin: 0; }
.page-title .sub { color: var(--mh-primary-dark); font-weight: 700; font-size: .85rem; }

.card { border-radius: var(--mh-radius); border: 1px solid var(--mh-mid-gray); }
.card-header { background: #fff; border-bottom: 1px solid var(--mh-mid-gray); font-weight: 800; border-radius: var(--mh-radius) var(--mh-radius) 0 0 !important; padding: 1rem 1.25rem; }
.card-body { padding: 1.25rem; }

.qty-input { display: inline-flex; border: 1px solid var(--mh-mid-gray); border-radius: var(--mh-radius-sm); overflow: hidden; }
.qty-input button { border: none; background: var(--mh-light-gray); width: 40px; font-weight: 800; color: var(--mh-dark); }
.qty-input input { width: 56px; text-align: center; border: none; font-weight: 800; outline: none; }

@media (max-width: 991.98px) {
  .header-row { flex-wrap: wrap; gap: .75rem; }
  .header-search { order: 3; flex: 1 1 100%; max-width: none; }
  .header-fx { order: 2; margin-left: auto; }
  .header-actions { gap: .6rem; }
  .header-action .label { display: none; }
  .site-logo img { height: 40px; }
  .section-head h2 { font-size: 1.4rem; }
}
@media (max-width: 575.98px) {
  .b2b-bar .b2b-text { display: none; }
  .btn-garage { display: none; }
  .header-row { gap: .5rem; padding: .6rem 0; }
  .site-logo { flex: 0 1 auto; min-width: 0; }
  .site-logo img { height: 34px; max-width: 150px; }
  .header-actions { flex: 0 0 auto; gap: .4rem; }
  .btn-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .header-fx { width: 120px; height: 40px; }
  .fx-icon { width: 26px; height: 26px; font-size: .9rem; }
  .fx-eq { font-size: .8rem; }
}
