/* ============================================
   YönHost — Site geneli mobil uyumluluk
   Tüm sayfalara layout.js ile yüklenir
   ============================================ */

/* Mobil menü — overlay sınıf uyumu (header PHP + JS) */
.yonhost-nav-overlay,
.yonhost-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
}

.yonhost-nav-overlay.yonhost-active,
.yonhost-nav__overlay.yonhost-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .yonhost-mobile-toggle {
    position: relative;
    z-index: 1003;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .yonhost-header__actions {
    position: relative;
    z-index: 1003;
  }

  .yonhost-site-header {
    overflow: visible;
  }
}

:root {
  --header-height: 72px;
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .yonhost-section__header--split,
  .yonhost-section__head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .yonhost-section__aside--pricing,
  .yonhost-section__aside--corp {
    width: 100%;
    align-items: stretch;
  }

  .yonhost-corp-billing {
    width: 100%;
    max-width: 100%;
  }

  .yonhost-corp-billing__inner {
    width: 100%;
  }

  .yonhost-corp-compare-wrap,
  .yonhost-compare-scroll,
  .yonhost-corp-table-wrap,
  .yonhost-srv-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--container-padding));
    padding-inline: var(--container-padding);
    scrollbar-width: thin;
  }

  .yonhost-corp-faq__grid,
  .yonhost-faq-grid--2 {
    grid-template-columns: 1fr;
  }

  .yonhost-ultra-plans,
  .yonhost-pricing-grid--3,
  .yonhost-pricing-grid--4,
  .yonhost-ip-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .yonhost-srv-hub-nav,
  .yonhost-hub-tabs,
  .yonhost-corp-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }

  .yonhost-srv-hub-nav::-webkit-scrollbar,
  .yonhost-hub-tabs::-webkit-scrollbar,
  .yonhost-corp-tabs::-webkit-scrollbar {
    display: none;
  }

  .yonhost-srv-hub-nav__link,
  .yonhost-hub-tabs__item,
  .yonhost-corp-tabs__item {
    flex-shrink: 0;
  }
}

/* ── Mobil (≤768px) ── */
@media (max-width: 768px) {
  .yonhost-ultra-hero__body,
  .yonhost-ultra-hero__wrap--split {
    flex-direction: column;
    gap: 20px;
  }

  .yonhost-ultra-hero__aside,
  .yonhost-ultra-hero__side {
    width: 100%;
    max-width: none;
  }

  .yonhost-ultra-hero__kicker {
    flex-wrap: wrap;
    gap: 8px;
  }

  .yonhost-ultra-hero__quote {
    margin-left: 0;
  }

  .yonhost-ultra-hero__crumb {
    font-size: 0.6875rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .yonhost-ultra-hero__actions,
  .yonhost-ultra-hero__cta,
  .yonhost-ultra-hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .yonhost-ultra-hero__actions .yonhost-btn,
  .yonhost-ultra-hero__cta .yonhost-btn,
  .yonhost-ultra-hero__cta-row .yonhost-btn {
    width: 100%;
    justify-content: center;
  }

  .yonhost-hero__pills,
  .yonhost-ultra-hero__pills,
  .yonhost-ultra-hero__tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }

  .yonhost-hero__pills::-webkit-scrollbar,
  .yonhost-ultra-hero__pills::-webkit-scrollbar {
    display: none;
  }

  .yonhost-hero__pill,
  .yonhost-ultra-hero__pill {
    flex-shrink: 0;
  }

  .yonhost-trust-strip__inner,
  .yonhost-corp-trust__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .yonhost-corp-trust--brand .yonhost-corp-trust__rating {
    width: 100%;
    justify-content: center;
  }

  .yonhost-corp-trust--brand .yonhost-corp-trust__logos {
    width: 100%;
    justify-content: flex-start;
    border-left: none;
    padding-left: 0;
  }

  .yonhost-corp-kpi-band__grid,
  .yonhost-corp-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yonhost-corp-showcase__row,
  .yonhost-corp-infra,
  .yonhost-corp-process {
    grid-template-columns: 1fr;
  }

  .yonhost-corp-platform__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .yonhost-corp-platform__item {
    min-height: 96px;
    padding: 14px 10px;
  }

  .yonhost-corp-platform__icon-wrap,
  .yonhost-corp-platform__item i {
    width: 40px;
    height: 40px;
  }

  .yonhost-corp-support__inner {
    padding: 22px 18px;
  }

  .yonhost-corp-support__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .yonhost-corp-support__icon {
    width: 56px;
    height: 56px;
  }

  .yonhost-corp-support__actions {
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
    width: 100%;
  }

  .yonhost-section {
    padding-block: clamp(36px, 7vw, 56px);
  }

  .yonhost-section__title {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .yonhost-footer__grid,
  .yonhost-footer__catalog {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .yonhost-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .yonhost-footer__cta-actions {
    width: 100%;
  }

  .yonhost-footer__cta-actions .yonhost-btn {
    flex: 1;
    min-width: 0;
  }

  .yonhost-srv-row__body,
  .yonhost-ultra-plan__row {
    grid-template-columns: 1fr;
  }

  .yonhost-srv-row__aside,
  .yonhost-ultra-plan__aside-h {
    flex-direction: column;
    align-items: stretch;
  }

  .yonhost-host-plan__grid,
  .yonhost-corp-plans--triple,
  .yonhost-corp-plans--quad,
  .yonhost-corp-plans--duo {
    grid-template-columns: 1fr;
  }

  .yonhost-brand-hub__grid,
  .yonhost-security-hub__grid {
    grid-template-columns: 1fr;
  }

  .yonhost-contact-grid,
  .yonhost-contact-channels {
    grid-template-columns: 1fr;
  }

  .yonhost-domain-search__form {
    flex-direction: column;
  }

  .yonhost-domain-search__input-wrap {
    width: 100%;
  }

  .yonhost-page-hero {
    padding: 36px 0 44px;
  }

  .yonhost-auth__card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .yonhost-auth__aside {
    padding: 24px 20px;
  }

  .yonhost-auth-form__row {
    grid-template-columns: 1fr;
  }
}

/* ── Küçük mobil (≤640px) ── */
@media (max-width: 640px) {
  .yonhost-btn,
  .yonhost-corp-billing__opt,
  .yonhost-pricing-billing__opt,
  .yonhost-auth__tab {
    min-height: 44px;
  }

  .yonhost-corp-platform__grid,
  .yonhost-about-stats--corp {
    grid-template-columns: 1fr 1fr;
  }

  .yonhost-corp-kpi-band__grid,
  .yonhost-corp-metrics__grid {
    grid-template-columns: 1fr;
  }

  .yonhost-footer__grid,
  .yonhost-footer__catalog {
    grid-template-columns: 1fr;
  }

  .yonhost-trust-badges--corp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yonhost-corp-darkfeat__grid,
  .yonhost-corp-sectors {
    grid-template-columns: 1fr;
  }

  .yonhost-pricing-card__inner,
  .yonhost-host-plan__card {
    padding: 20px 16px;
  }

  .yonhost-cta-banner {
    padding: 32px 18px;
    text-align: center;
  }

  .yonhost-cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .yonhost-cta-banner__actions .yonhost-btn {
    width: 100%;
  }

  .yonhost-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .yonhost-cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .yonhost-cookie-banner__actions .yonhost-btn {
    width: 100%;
  }
}

/* ── Çok küçük ekran (≤480px) ── */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .yonhost-container {
    padding-inline: clamp(12px, 4vw, 16px);
  }

  .yonhost-ultra-hero__head {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .yonhost-ultra-hero__brand-logo,
  .yonhost-ultra-hero__brand-mark {
    opacity: 0.06;
  }

  .yonhost-corp-platform__grid,
  .yonhost-trust-badges--corp,
  .yonhost-about-stats--corp {
    grid-template-columns: 1fr;
  }

  .yonhost-hero-features__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Yatay taşma koruması ── */
.yonhost-section,
.yonhost-ultra-hero,
.yonhost-srv-hub,
.yonhost-brand-hub {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* ── Dokunmatik kaydırma ipucu ── */
@media (max-width: 768px) {
  .yonhost-scroll-hint {
    position: relative;
  }

  .yonhost-scroll-hint::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(90deg, transparent, var(--bg, #fff));
    pointer-events: none;
  }
}

/* Performans / CLS — hero ve logo alanı */
:is(.yonhost-corp-page--index, #ynhIndexClassic) .yon-hero-visual {
  min-height: 280px;
}

:is(.yonhost-corp-page--index, #ynhIndexClassic) #yonHeroImage {
  width: min(340px, 100%);
  height: auto;
  aspect-ratio: 1;
}

.yonhost-mobile-nav[inert] {
  pointer-events: none;
}

.yonhost-mobile-nav[inert] * {
  user-select: none;
}

@media (max-width: 768px) {
  .yonhost-mega-menu,
  .yonhost-nav .yonhost-mega-menu,
  .yonhost-has-mega .yonhost-mega-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* Kontrast — domain fiyat etiketleri */
.yon-domain-item span {
  color: #0f172a;
}

/* ============================================
   v9 — Site geneli mobil uyumluluk genişletmesi
   Tüm kurumsal / WiseCP sayfaları
   ============================================ */
@media (max-width: 768px) {
  .yonhost-wisecp-content,
  .yonhost-corp-page,
  .yonhost-corp-page--index {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .yonhost-wisecp-content .yon-wrap,
  .yonhost-corp-page .yon-wrap,
  :is(.yon-home, #ynhIndexClassic) .yon-wrap {
    padding-inline: 16px;
  }

  /* Ana sayfa */
  :is(.yon-home, #ynhIndexClassic) .yon-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 24px;
    min-height: auto;
    padding: 20px 0 28px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pills::-webkit-scrollbar {
    display: none;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pill {
    flex-shrink: 0;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-visual,
  :is(.yon-home, #ynhIndexClassic) .yon-visual-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 280px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-actions .yon-btn {
    width: 100%;
    justify-content: center;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-tabs-grid {
    grid-template-columns: 1fr !important;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-highlight-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-trust-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-services-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-saas-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-plans-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-review-grid,
  :is(.yon-home, #ynhIndexClassic) .yon-process-grid {
    grid-template-columns: 1fr !important;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-domain-search,
  :is(.yon-home, #ynhIndexClassic) .yon-domain-search--wisecp {
    flex-direction: column;
    align-items: stretch;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-domain-search input,
  :is(.yon-home, #ynhIndexClassic) .yon-domain-search button {
    width: 100%;
    min-height: 48px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-domain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-domain-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-saas-landing-pricing .yonhost-corp-plans,
  :is(.yon-home, #ynhIndexClassic) .yonhost-corp-plans--quad,
  :is(.yon-home, #ynhIndexClassic) .yonhost-host-plan__grid {
    grid-template-columns: 1fr !important;
  }

  /* Kurumsal / hosting / sunucu sayfaları */
  .yonhost-host-plan__grid,
  .yonhost-corp-plans,
  .yonhost-corp-plans--quad,
  .yonhost-pricing-grid,
  .yonhost-pricing-grid--3,
  .yonhost-pricing-grid--4,
  .yonhost-srv-plans,
  .yonhost-ip-grid,
  .yon-saas-landing-features__grid,
  .yon-saas-landing-included__grid,
  .yon-saas-landing-steps__grid {
    grid-template-columns: 1fr !important;
    max-width: 440px;
    margin-inline: auto;
  }

  .yonhost-ultra-hero,
  .yon-saas-hero,
  .yonhost-page-hero {
    padding-inline: 16px;
  }

  .yonhost-ultra-hero__body,
  .yon-saas-hero__inner,
  .yonhost-page-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .yonhost-ultra-hero__actions,
  .yon-saas-actions,
  .yonhost-page-hero__actions,
  .yonhost-corp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .yonhost-ultra-hero__actions .yonhost-btn,
  .yon-saas-actions .yonhost-btn,
  .yonhost-page-hero__actions .yonhost-btn,
  .yonhost-corp-hero__actions .yonhost-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .yonhost-domain-search__box,
  .yonhost-domain-search__form,
  .yonhost-corp-domain__form {
    flex-direction: column;
    align-items: stretch;
  }

  .yonhost-domain-search__input,
  .yonhost-domain-search__submit,
  .yonhost-corp-domain__input,
  .yonhost-corp-domain__btn {
    width: 100%;
    min-height: 48px;
  }

  .yonhost-footer__grid,
  .yonhost-footer__catalog,
  .yon-footer__grid,
  .yon-footer__cols {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .yonhost-mobile-nav {
    width: min(100vw, 360px);
    max-width: 100%;
  }

  .yonhost-wisecp-content table,
  .yonhost-corp-page table,
  .yonhost-corp-table,
  .yonhost-srv-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .yonhost-wisecp-content iframe,
  .yonhost-corp-page iframe {
    max-width: 100%;
  }

  .yonhost-btn,
  .yon-btn,
  button.yonhost-host-plan__order {
    min-height: 44px;
  }

  .yonhost-wisecp-content input[type="text"],
  .yonhost-wisecp-content input[type="email"],
  .yonhost-wisecp-content input[type="tel"],
  .yonhost-wisecp-content input[type="password"],
  .yonhost-wisecp-content select,
  .yonhost-wisecp-content textarea {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :is(.yon-home, #ynhIndexClassic) .yon-domain-list {
    grid-template-columns: 1fr !important;
  }

  .yonhost-footer__grid,
  .yon-footer__grid {
    grid-template-columns: 1fr !important;
  }

  .yonhost-corp-kpi-band__grid,
  .yonhost-corp-metrics__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   v10 — Mobil responsive (site geneli)
   Header, Tawk.to, taşma, footer, widget'lar
   ============================================ */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .yonhost-site-header,
  #site-header {
    max-width: 100vw;
  }

  .yonhost-top-bar {
    display: none !important;
  }

  .yonhost-announcement-bar {
    font-size: 0.6875rem;
  }

  .yonhost-announcement-bar__inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding-block: 8px;
    min-height: 0;
  }

  .yonhost-announcement-bar__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .yonhost-announcement-bar__right {
    flex-shrink: 0;
    gap: 6px;
  }

  .yonhost-announcement-bar__btn--panel {
    padding: 7px 10px;
    font-size: 0.6875rem;
    white-space: nowrap;
  }

  .yonhost-header__inner {
    min-height: 56px !important;
    padding-left: max(12px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(12px, env(safe-area-inset-right, 0px)) !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .yonhost-site-header,
  .yonhost-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .yonhost-logo--header .yonhost-logo__img {
    height: auto !important;
    min-height: 0 !important;
    max-height: 44px !important;
    max-width: min(168px, 46vw) !important;
  }

  .yonhost-header__actions--saas .yonhost-header__cart-btn-label {
    display: none !important;
  }

  .yonhost-header__actions--saas .yonhost-header__cart-btn {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
  }

  .yonhost-header__phone {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .yonhost-header__phone span {
    display: none;
  }

  .yonhost-container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .yonhost-wisecp-content,
  .yonhost-corp-page,
  main,
  #wrapper {
    max-width: 100%;
    overflow-x: clip;
  }

  /* Ana sayfa hero */
  :is(.yon-home, #ynhIndexClassic) .yon-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px 0 24px !important;
    min-height: auto !important;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-content,
  :is(.yon-home, #ynhIndexClassic) #yonHeroContent {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-visual {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-visual-frame {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    max-height: none;
    right: auto !important;
    top: auto !important;
    left: auto !important;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-float-card,
  :is(.yon-home, #ynhIndexClassic) .yon-visual-note {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero h1,
  :is(.yon-home, #ynhIndexClassic) #yonHeroTitle {
    font-size: clamp(1.5rem, 7vw, 1.875rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    word-break: break-word;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-hero-actions .yon-btn,
  :is(.yon-home, #ynhIndexClassic) .yon-hero-actions .yonhost-btn {
    width: 100%;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pills::-webkit-scrollbar {
    display: none;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-pill {
    flex-shrink: 0;
  }

  /* Ultra hero — kurumsal sayfalar */
  .yonhost-ultra-hero__figure,
  .yonhost-ultra-hero__aside,
  .yonhost-ultra-hero__side {
    width: 100%;
    max-width: 100%;
  }

  .yonhost-ultra-hero__fig-stats {
    flex-wrap: wrap;
    gap: 8px;
  }

  .yonhost-ultra-hero__head {
    font-size: clamp(1.375rem, 6vw, 2rem) !important;
    word-break: break-word;
  }

  .yonhost-contact-grid--v2 {
    grid-template-columns: 1fr !important;
  }

  .yonhost-legal-registry {
    grid-template-columns: 1fr;
  }

  .yonhost-legal-registry__label {
    border-right: 1px solid #bdbdbd;
    border-bottom: none;
  }

  /* Footer — compact mobile */
  .yon-footer {
    padding-top: 12px !important;
  }

  .yon-footer .yon-contact-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
  }

  .yon-footer .yon-contact-box {
    min-height: 0 !important;
    padding: 7px 6px !important;
    gap: 5px !important;
  }

  .yon-footer .yon-company-title,
  .yon-footer .yon-company-desc,
  .yon-footer .yon-badge-list,
  .yon-footer .yon-about-text,
  .yon-footer .yon-info-row {
    display: none !important;
  }

  .yon-footer .yon-footer-main {
    gap: 10px !important;
    padding-bottom: 8px !important;
  }

  .yon-footer .yon-links-grid {
    gap: 8px !important;
  }

  .yon-footer .yon-link-col ul {
    gap: 2px !important;
  }

  .yon-footer .yon-bottom {
    padding: 8px 0 10px !important;
  }

  /* Tawk.to — karşılama kutusu mobilde gizli, yalnızca baloncuk */
  #tawk-bubble-container,
  .widget-visible {
    z-index: 9990 !important;
    pointer-events: auto;
  }

  #tawk-bubble-container {
    bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    left: auto !important;
    max-width: calc(100vw - 28px) !important;
  }

  #tawk-chat-message-preview,
  .tawk-message-preview,
  .tawk-max-container:not(.tawk-min-container) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Asil modül iletişim widget */
  .asil-modul-contact-wrapper {
    z-index: 9985 !important;
  }

  .asil-modul-contact-popup {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: max(72px, env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(50vh, 360px);
    overflow-y: auto;
  }

  .asil-modul-contact-wrapper.asil-modul-left-bottom,
  .asil-modul-contact-wrapper.asil-modul-right-bottom {
    left: 12px !important;
    right: auto !important;
    bottom: max(72px, env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Sayfa altı — sabit widget + CTA çakışması */
  body {
    padding-bottom: max(72px, env(safe-area-inset-bottom, 0px));
  }

  .yonhost-footer,
  .yon-footer,
  .yonhost-corp-support,
  .yonhost-cta-banner {
    margin-bottom: env(safe-area-inset-bottom, 0px);
  }

  .cd-top,
  .yonhost-footer__back-top {
    bottom: max(80px, calc(14px + env(safe-area-inset-bottom, 0px))) !important;
    right: 14px !important;
  }

  /* Kurumsal popup — mobil */
  .ynh-adv-popup {
    padding: 12px;
    align-items: flex-end;
  }

  .ynh-adv-popup__dialog--bottom-right {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
  }

  .ynh-adv-popup__dialog:not(.ynh-adv-popup__dialog--bottom-right) {
    width: min(480px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .yonhost-header__inner {
    padding-inline: 12px !important;
  }

  .yonhost-announcement-bar__btn--panel {
    font-size: 0.625rem;
    padding: 6px 8px;
  }

  :is(.yon-home, #ynhIndexClassic) .yon-domain-list {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   v11 — Tablet + mobil (≤1024px) site geneli
   ============================================ */
@media (max-width: 1024px) {
  html,
  body,
  .yonhost-wisecp-content,
  .yonhost-corp-page {
    overflow-x: clip;
    max-width: 100%;
  }

  .yonhost-container,
  .yonhost-wisecp-content .yon-wrap,
  .yonhost-corp-page .yon-wrap {
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .yonhost-ultra-hero,
  .yonhost-basket-hero,
  .yonhost-order-hero {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
  }

  .yonhost-basket .sepet,
  .yonhost-basket .sepetleft,
  .yonhost-basket .sepetright,
  .yonhost-order .sepet,
  .yonhost-order .sepetleft,
  .yonhost-order .sepetright {
    width: 100% !important;
    float: none !important;
    max-width: 100%;
  }

  .yonhost-basket .sepetrightshadow,
  .yonhost-order .sepetrightshadow {
    position: static !important;
    width: 100% !important;
  }

  .yonhost-wisecp-content img,
  .yonhost-corp-page img,
  .yonhost-wisecp-content video,
  .yonhost-corp-page video {
    max-width: 100%;
    height: auto;
  }

  .yonhost-wisecp-content pre,
  .yonhost-corp-page pre,
  .yonhost-wisecp-content .code-block {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .yonhost-news-grid,
  .yonhost-blog-grid,
  .yonhost-kb-grid {
    grid-template-columns: 1fr !important;
  }

  .yonhost-contact-grid,
  .yonhost-contact-grid--v2,
  .legal-registry-wrap {
    grid-template-columns: 1fr !important;
  }

  .yonhost-mega-menu,
  .yonhost-nav .yonhost-mega-menu {
    display: none !important;
    pointer-events: none !important;
  }
}
