/* KUN — mobil alt CTA bar */

.kun-mobile-cta {
  display: none;
}

@media (max-width: 1023px) {
  .kun-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 1px;
    background: #0f0f0e;
    border-top: 1px solid rgba(250, 250, 250, 0.14);
    padding: 0 0 env(safe-area-inset-bottom, 0);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
  }

  .kun-mobile-cta__btn {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    padding: 10px 6px 12px;
    border: 0;
    background: #161616;
    color: #fafafa;
    text-decoration: none;
    font-family: Outfit, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .kun-mobile-cta__btn--whatsapp {
    background: #128c7e;
  }

  .kun-mobile-cta__btn--call {
    background: #0f0f0e;
  }

  .kun-mobile-cta__btn--quote {
    background: #bc0f10;
  }

  .kun-mobile-cta__btn:active {
    filter: brightness(1.08);
  }

  .kun-mobile-cta__icon {
    display: inline-flex;
    line-height: 0;
  }

  .kun-mobile-cta__label {
    display: block;
  }

  /* Menü / iletişim açıkken gizle */
  html.kun-menu-open .kun-mobile-cta,
  html.kun-contact-open .kun-mobile-cta {
    display: none;
  }

  /* İçerik barın altında kalmasın (yalnızca sitede bar varken) */
  body:has(.kun-mobile-cta) {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .footer.kun-footer {
    margin-bottom: 0;
  }
}
