/* =====================================================================
   TEKTAR Footer — authoritative layout owner
   v1.9.138.0

   Geometry contract:
   - footer width is always the containing .tektar-main-panel width
   - no 100vw / negative margin / translateX viewport compensation
   - padding lives on .tektar-footer-inner, never on the outer card
   - safe-area values are internal padding only
   - rounded corners remain visible on desktop and mobile
   ===================================================================== */

.tektar-main-panel > .tektar-footer-reference{
  position:relative!important;
  display:block!important;
  box-sizing:border-box!important;
  inline-size:100%!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border-radius:30px!important;
  overflow:hidden!important;
  contain:paint;
}

.tektar-footer-reference > .tektar-footer-inner{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:40px 38px 20px!important;
}

.tektar-footer-reference .tektar-footer-grid,
.tektar-footer-reference .tektar-footer-bottom,
.tektar-footer-reference .tektar-footer-social-center,
.tektar-footer-reference .tektar-footer-policies{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Tablet / narrow desktop */
@media (max-width:980px){
  .tektar-main-panel{
    min-width:0!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .tektar-main-panel > .tektar-footer-reference{
    inline-size:100%!important;
    width:100%!important;
    max-width:100%!important;
    margin-inline:0!important;
    border-radius:28px!important;
  }

  .tektar-footer-reference > .tektar-footer-inner{
    padding-top:44px!important;
    padding-right:calc(26px + env(safe-area-inset-right, 0px))!important;
    padding-bottom:20px!important;
    padding-left:calc(26px + env(safe-area-inset-left, 0px))!important;
  }

  .tektar-footer-reference .tektar-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .tektar-footer-reference .tektar-footer-bottom{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:14px!important;
    width:100%!important;
    text-align:left!important;
  }

  .tektar-footer-reference .tektar-footer-copyright{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    white-space:normal!important;
  }

  .tektar-footer-reference .tektar-footer-policies{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    width:100%!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    white-space:normal!important;
  }

  .tektar-footer-reference .tektar-footer-policies a,
  .tektar-footer-reference .tektar-footer-policies a+a{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    text-align:left!important;
  }

  .tektar-footer-reference .tektar-footer-policies a::before,
  .tektar-footer-reference .tektar-footer-policies a::after{
    content:none!important;
    display:none!important;
  }
}

/* Phones */
@media (max-width:620px){
  .tektar-main-panel > .tektar-footer-reference{
    border-radius:clamp(22px,6vw,28px)!important;
  }

  .tektar-footer-reference > .tektar-footer-inner{
    padding-top:40px!important;
    padding-right:calc(clamp(20px,5.5vw,26px) + env(safe-area-inset-right, 0px))!important;
    padding-bottom:20px!important;
    padding-left:calc(clamp(20px,5.5vw,26px) + env(safe-area-inset-left, 0px))!important;
  }

  .tektar-footer-reference .tektar-footer-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:28px!important;
  }

  .tektar-footer-reference .tektar-footer-brand,
  .tektar-footer-reference .tektar-footer-address,
  .tektar-footer-reference .tektar-footer-contact,
  .tektar-footer-reference .tektar-footer-column{
    min-width:0!important;
    max-width:100%!important;
  }

  .tektar-footer-reference .tektar-footer-contact-row{
    max-width:100%!important;
  }

  .tektar-footer-reference .tektar-footer-contact-row a{
    min-width:0!important;
    max-width:100%!important;
  }
}

/* v1.9.192.0 — ALBA MILAGRO bağlantısı + başlık + marka listesi ayrı satırlarda; bağlantısız markalar düz yazı */
.tektar-footer-brands-main{flex:0 0 100%;font-size:14px;font-weight:700;letter-spacing:.05em;color:#fff;text-decoration:none}
.tektar-footer-brands-main:hover,.tektar-footer-brands-main:focus-visible{color:#fff;text-decoration:underline}
.tektar-footer-brands-title{flex:0 0 100%}
.tektar-footer-brands ul{flex:0 0 100%;gap:6px 16px}
.tektar-footer-brands li span{color:rgba(255,255,255,.82);font-size:13px;letter-spacing:.02em}
@media(max-width:700px){.tektar-footer-brands li span{font-size:12.5px}}
