/* Generated bundle: tools/build-runtime-bundles.php */
/* =========================================================
   ENB LAYOUT ALIGNMENT GUARD
   Amaç: masaüstünde sayfa kart/grid başlangıcını header logo
   başlangıç çizgisiyle aynı shell'e almak.

   Notlar:
   - Yalnızca 1280px ve üzeri ekranlarda devreye girer.
   - Mobil/tablet padding düzenlerine dokunmaz.
   - Header CSS'teki --enb-header-shell değerini referans alır.
   - Sayfa içindeki hero <header> kabukları da section/div gibi aynı hizaya alınır.
========================================================= */

@media (min-width:1280px){
  :root{
    --enb-layout-shell: var(--enb-header-shell, 1552px);
    --enb-layout-edge-gap: 48px;
  }

  /* Header logo çizgisi için tek kaynak */
  html body header#siteHeader.enb-header > div[data-header-bar="1"],
  html body header#siteHeader.enb-header > div[data-header-bar="1"].max-w-7xl{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* Doğrudan sayfa kabukları */
  html body.enb-body > main.max-w-7xl.mx-auto,
  html body.enb-body > main.max-w-6xl.mx-auto,
  html body.enb-body > main.max-w-\[1600px\].mx-auto,
  html body.enb-body > main.container.mx-auto,
  html body.enb-body > main.dkh-container.mx-auto,
  html body.enb-body > main.eh-container.mx-auto,
  html body.enb-body > main.fh-shell,
  html body.enb-body > main.fsh-container,
  html body.enb-body > main.fasil-page,
  html body.enb-body #mainContent.dansoz-page.dkh-container,
  html body.page-dansoz-kiralama #mainContent.dansoz-page.dkh-container{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* Main içindeki bölüm kabukları: kart/grid başlangıcı header logosuyla aynı çizgiye gelir.
     İkram fiyat/portföy modülleri Tailwind max-w sınıfı kullanmadığı için ayrıca kapsama alınır. */
  html body.enb-body main > header.max-w-7xl.mx-auto,
  html body.enb-body main > header.max-w-6xl.mx-auto,
  html body.enb-body main > header.container.mx-auto,
  html body.enb-body main > section.max-w-7xl.mx-auto,
  html body.enb-body main > section.max-w-6xl.mx-auto,
  html body.enb-body main > section.container.mx-auto,
  html body.enb-body main > section > .max-w-7xl.mx-auto,
  html body.enb-body main > section > .max-w-6xl.mx-auto,
  html body.enb-body main > section > .container.mx-auto,
  html body.enb-body main > div.max-w-7xl.mx-auto,
  html body.enb-body main > div.max-w-6xl.mx-auto,
  html body.enb-body main > div.container.mx-auto,
  html body.enb-body main > article.max-w-7xl.mx-auto,
  html body.enb-body main > article.max-w-6xl.mx-auto,
  html body.enb-body main > article.container.mx-auto,
  html body.enb-body main > .enb-ikram-calc,
  html body.enb-body main > .enb-ikram-portfolios{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* Eski/container kullanan sayfalar */
  html body.enb-body .container.mx-auto:is(main, section, div),
  html body.enb-body main.container.mx-auto,
  html body.enb-body main > .container.mx-auto,
  html body.page-bistro-masa-kiralama .container.mx-auto,
  html body.page-masa-sandalye-kiralama main .container,
  html body.page-masa-sandalye-kiralama section .container,
  html body.page-hizmetler main.max-w-\[1600px\].mx-auto,
  html body.page-hizmetler > main.max-w-\[1600px\].mx-auto{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* Custom sayfa shell'leri */
  html body.enb-body .dkh-container,
  html body.enb-body .eh-container,
  html body.enb-body .fsh-container,
  html body.enb-body .fh-shell,
  html body.page-fasil-ekibi-kiralama main.fasil-page .fasil-container,
  html body.page-dondurma-arabasi-kiralama .enb-treat-wrap,
  html body.page-temsili-nikah-memuru-kiralama .tnm-shell{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Footer da aynı shell'e otursun. */
  html body.enb-body footer .max-w-screen-2xl.mx-auto{
    width:min(calc(100vw - var(--enb-layout-edge-gap)), var(--enb-layout-shell)) !important;
    max-width:var(--enb-layout-shell) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}
/* Global, erişilebilir ikon açıklamaları */
#enbGlobalTooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100500;
  max-width: min(260px, calc(100vw - 24px));
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 9px;
  background: rgba(15, 23, 42, .96);
  color: #fff;
  box-shadow: 0 12px 30px rgba(2, 6, 23, .24);
  font: 750 12px/1.25 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-9999px, -9999px, 0) scale(.97);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

#enbGlobalTooltip[data-open="1"] {
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--enb-tooltip-x, -9999px), var(--enb-tooltip-y, -9999px), 0) scale(1);
}

#enbGlobalTooltip::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
  border: inherit;
  transform: rotate(45deg);
}

#enbGlobalTooltip[data-side="top"]::after {
  left: calc(50% - 4px);
  bottom: -5px;
  border-left: 0;
  border-top: 0;
}

#enbGlobalTooltip[data-side="bottom"]::after {
  left: calc(50% - 4px);
  top: -5px;
  border-right: 0;
  border-bottom: 0;
}

#enbGlobalTooltip[data-side="left"]::after {
  right: -5px;
  top: calc(50% - 4px);
  border-left: 0;
  border-bottom: 0;
}

#enbGlobalTooltip[data-side="right"]::after {
  left: -5px;
  top: calc(50% - 4px);
  border-right: 0;
  border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  #enbGlobalTooltip { transition: none; }
}
/* Hizmet ailesi içinde görselli önceki / sonraki geçiş */
.enb-adjacent-nav {
  --enb-adjacent-ink: #142033;
  --enb-adjacent-muted: #64748b;
  --enb-adjacent-line: rgba(148, 163, 184, .34);
  --enb-adjacent-accent: #f97316;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.enb-adjacent-nav__desktop {
  display: none;
}

.enb-adjacent-nav__mobile {
  width: min(var(--enb-global-shell-width, 1552px), calc(100% - 20px));
  margin: 26px auto 30px;
  padding: 16px;
  border: 1px solid var(--enb-adjacent-line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.enb-adjacent-nav__mobile-title {
  margin: 0 0 12px;
  color: var(--enb-adjacent-ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.015em;
}

.enb-adjacent-nav__mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.enb-adjacent-nav__mobile-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 9px;
  border: 1px solid var(--enb-adjacent-line);
  border-radius: 15px;
  background: #fff;
  color: var(--enb-adjacent-ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.enb-adjacent-nav__mobile-link img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  background: #eef2f7;
}

.enb-adjacent-nav__eyebrow {
  display: block;
  color: var(--enb-adjacent-accent);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.enb-adjacent-nav__name {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--enb-adjacent-ink);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 1024px) {
  .enb-adjacent-nav__mobile { display: none; }

  .enb-adjacent-nav__desktop {
    position: fixed;
    inset: 50% 0 auto;
    z-index: 38;
    display: block;
    pointer-events: none;
  }

  .enb-adjacent-nav__tab {
    position: absolute;
    top: 0;
    width: 286px;
    height: 84px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid var(--enb-adjacent-line);
    background: rgba(255,255,255,.97);
    color: var(--enb-adjacent-ink);
    text-decoration: none;
    box-shadow: 0 16px 42px rgba(15,23,42,.16);
    pointer-events: auto;
    transition: transform .24s ease, box-shadow .24s ease;
    backdrop-filter: blur(12px);
  }

  .enb-adjacent-nav__tab--prev {
    left: 0;
    padding: 7px 12px 7px 7px;
    border-left: 0;
    border-radius: 0 18px 18px 0;
    transform: translate3d(-238px, -50%, 0);
  }

  .enb-adjacent-nav__tab--next {
    right: 0;
    grid-template-columns: 34px minmax(0, 1fr) 72px;
    padding: 7px 7px 7px 12px;
    border-right: 0;
    border-radius: 18px 0 0 18px;
    transform: translate3d(238px, -50%, 0);
  }

  .enb-adjacent-nav__tab:hover,
  .enb-adjacent-nav__tab:focus-visible {
    transform: translate3d(0, -50%, 0);
    box-shadow: 0 22px 54px rgba(15,23,42,.22);
    outline: none;
  }

  .enb-adjacent-nav__tab:focus-visible {
    box-shadow: 0 0 0 4px rgba(249,115,22,.2), 0 22px 54px rgba(15,23,42,.22);
  }

  .enb-adjacent-nav__tab img {
    width: 72px;
    height: 68px;
    border-radius: 13px;
    object-fit: cover;
    background: #eef2f7;
  }

  .enb-adjacent-nav__copy { min-width: 0; }
  .enb-adjacent-nav__tab--next .enb-adjacent-nav__copy { text-align: right; }

  .enb-adjacent-nav__arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #172033;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
  }
}

@media (max-width: 430px) {
  .enb-adjacent-nav__mobile-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .enb-adjacent-nav__tab { transition: none; }
}

html[data-theme="dark"] .enb-adjacent-nav{
  --enb-adjacent-ink:#f8fafc;
  --enb-adjacent-muted:#a8b5c7;
  --enb-adjacent-line:rgba(100,116,139,.54);
}
html[data-theme="dark"] .enb-adjacent-nav__mobile,
html[data-theme="dark"] .enb-adjacent-nav__mobile-link,
html[data-theme="dark"] .enb-adjacent-nav__tab{
  background:rgba(15,23,42,.96);
}
html[data-theme="dark"] .enb-adjacent-nav__mobile-link img,
html[data-theme="dark"] .enb-adjacent-nav__tab img{background:#1e293b}
