/**
 * Mobil-only düzenlemeler (masaüstüne dokunmaz).
 * Breakpoint: 900px — site genel mobil menü ile uyumlu.
 */

@media (max-width: 900px) {
  :root {
    --mobile-nav-h: calc(64px + env(safe-area-inset-bottom, 0px));
    --mobile-float-bottom: calc(var(--mobile-nav-h) + 0.85rem);
    --mobile-fab-size: 48px;
    --mobile-radius-lg: 20px;
    --mobile-radius-md: 16px;
    --mobile-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    --mobile-shadow-nav: 0 -4px 24px rgba(15, 23, 42, 0.06);
  }

  /* Uygulama kabuğu */
  body.mobile-app {
    padding-bottom: var(--mobile-nav-h);
    min-height: calc(var(--mobile-vh, 1vh) * 100);
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
  }

  body.mobile-app .footer {
    padding-bottom: calc(1.5rem + var(--mobile-nav-h));
  }

  body.mobile-app .header-ilan-btn {
    display: none !important;
  }

  /* Üst bar: mesaj yerine bildirim zili */
  body.mobile-app #header-auth .msg-nav {
    display: none !important;
  }

  body.mobile-app #header-auth .notif {
    display: inline-flex !important;
    align-items: center;
    position: relative;
  }

  body.mobile-app #header-auth .notif__trigger {
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
  }

  body.mobile-app #header-auth .notif__dropdown {
    z-index: 1300;
    top: calc(var(--header-h, 56px) + env(safe-area-inset-top, 0px) + 0.35rem);
    bottom: auto;
    max-height: min(78dvh, calc(100dvh - var(--header-h, 56px) - var(--mobile-nav-h, 64px) - 1rem));
    overflow: hidden;
  }

  body.mobile-app #header-auth .header-inbox {
    display: inline-flex !important;
    align-items: center;
    position: relative;
  }

  body.mobile-app #header-auth .header-inbox__trigger {
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  body.mobile-app #header-auth .header-inbox__dropdown {
    z-index: 1300;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    top: calc(var(--header-h, 56px) + env(safe-area-inset-top, 0px) + 0.35rem);
    bottom: auto;
    max-height: min(78dvh, calc(100dvh - var(--header-h, 56px) - var(--mobile-nav-h, 64px) - 1rem));
  }

  /* Bildirim paneli açıkken arka plan bulanıklığını kapat (iOS) */
  body.mobile-app.notif-panel-open .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
  }

  /* Bağlantı banner */
  .app-connection-banner {
    position: sticky;
    top: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
    border-bottom: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .app-connection-banner[hidden] {
    display: none !important;
  }

  .app-connection-banner__retry {
    margin-left: auto;
    border: none;
    background: #f59e0b;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }

  .app-connection-banner__close {
    border: none;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    color: #b45309;
    cursor: pointer;
    padding: 0 0.25rem;
  }

  /* Alt gezinme */
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border, #e2e8f0);
    box-shadow: var(--mobile-shadow-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  [data-theme="dark"] .mobile-bottom-nav {
    background: rgba(15, 23, 42, 0.96);
    border-top-color: rgba(51, 65, 85, 0.65);
  }

  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 54px;
    padding: 0.25rem 0.1rem;
    border-radius: 12px;
    color: var(--color-muted, #64748b);
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease, transform 0.15s ease;
  }

  .mobile-bottom-nav__item.is-active {
    color: var(--color-primary, #16a34a);
  }

  .mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon {
    color: var(--color-primary, #16a34a);
    transform: translateY(-1px);
  }

  .mobile-bottom-nav__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: inherit;
    transition: color 0.2s ease, transform 0.15s ease;
  }

  .mobile-bottom-nav__label {
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__badge {
    position: absolute;
    top: 0;
    right: calc(50% - 24px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid var(--color-surface, #fff);
  }

  /* İlan Ver — sol alt, menünün üstünde */
  .mobile-fab {
    position: fixed;
    left: max(1rem, env(safe-area-inset-left, 0px));
    right: auto;
    bottom: var(--mobile-float-bottom);
    z-index: 1101;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: auto;
    height: 44px;
    padding: 0 0.75rem 0 0.65rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
      0 8px 20px rgba(22, 163, 74, 0.34),
      0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-fab__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    line-height: 0;
  }

  .mobile-fab__icon .icon,
  .mobile-fab__icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-fab__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
  }

  .mobile-fab:active {
    transform: scale(0.96);
  }

  /* Dokunma geri bildirimi */
  .mobile-tap {
    transform: scale(0.97);
    opacity: 0.92;
  }

  /* Header — kompakt uygulama çubuğu (blur kaldırıldı: kaydırınca sayfa bulanık görünüyordu) */
  body.mobile-app .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  }

  [data-theme="dark"] body.mobile-app .header {
    background: #0b1120;
    border-bottom-color: #1e293b;
  }

  body.mobile-app .header__inner {
    min-height: 56px;
    padding-top: env(safe-area-inset-top, 0px);
  }

  body.mobile-app .logo__img {
    max-height: 34px;
    max-width: min(148px, 38vw);
    width: auto;
  }

  /* Drawer menü — display:none kaldırıldı (hamburger + kategoriler çalışsın) */
  body.mobile-app .nav {
    display: flex;
  }

  body.mobile-app .menu-toggle {
    display: flex;
  }

  /* Kartlar — iOS benzeri */
  body.mobile-app .product-card,
  body.mobile-app .category-card,
  body.mobile-app .request-card,
  body.mobile-app .data-card {
    border-radius: var(--mobile-radius-md);
    box-shadow: var(--mobile-shadow);
    border: 1px solid rgba(226, 232, 240, 0.7);
  }

  body.mobile-app .products-grid {
    gap: 0.85rem;
  }

  body.mobile-app .product-card__image {
    border-radius: var(--mobile-radius-md) var(--mobile-radius-md) 0 0;
  }

  /* Hero arama */
  body.mobile-app .hero__search {
    border-radius: 999px;
    box-shadow: var(--mobile-shadow);
    overflow: hidden;
  }

  body.mobile-app .hero__search input {
    font-size: 1rem;
    min-height: 48px;
  }

  /* Ürünler sayfası — eski yapışkan toolbar (yeni düzen products-mobile.css) */
  body.mobile-app[data-page="products"] .panel__head {
    position: static;
  }

  body.mobile-app .products-toolbar:not(.products-page__toolbar) {
    position: sticky;
    top: calc(56px + env(safe-area-inset-top, 0px));
    z-index: 50;
    background: var(--color-bg, #f8fafc);
    padding-bottom: 0.5rem;
  }

  /* İlan detay — tam ekran hissi */
  body.mobile-app[data-page="detail"] .detail {
    border-radius: var(--mobile-radius-lg) var(--mobile-radius-lg) 0 0;
    margin-top: -0.5rem;
    background: var(--color-surface, #fff);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.06);
  }

  body.mobile-app[data-page="detail"] .breadcrumb {
    font-size: 0.82rem;
  }

  /* Hesabım — uygulama profili */
  body.mobile-app[data-page="account"] .account-page {
    padding-top: 0.5rem;
  }

  body.mobile-app[data-page="account"] .account-nav {
    position: sticky;
    top: calc(56px + env(safe-area-inset-top, 0px));
    z-index: 40;
    background: var(--color-bg, #f8fafc);
    padding: 0.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.mobile-app[data-page="account"] .account-nav::-webkit-scrollbar {
    display: none;
  }

  body.mobile-app[data-page="account"] .account-panel {
    border-radius: var(--mobile-radius-md);
    box-shadow: var(--mobile-shadow);
    border: 1px solid rgba(226, 232, 240, 0.75);
  }

  /* Mesajlar — tam ekran sohbet */
  body.mobile-app[data-page="messages"] .msg-page {
    height: calc(
      var(--mobile-vh, 1vh) * 100
      - 56px
      - env(safe-area-inset-top, 0px)
      - var(--mobile-nav-h, 0px)
    );
    min-height: 0;
    padding-bottom: 0;
  }

  body.mobile-app.msg-chat-open .msg-page,
  body.mobile-app.msg-chat-open {
    padding-bottom: 0;
  }

  body.mobile-app.msg-chat-open .mobile-bottom-nav,
  body.mobile-app.msg-chat-open .mobile-fab {
    display: none !important;
  }

  body.mobile-app[data-page="messages"] .msg-layout {
    height: 100%;
    border-radius: 0;
  }

  body.mobile-app[data-page="messages"] .msg-layout--chat-open .msg-sidebar {
    display: none;
  }

  body.mobile-app[data-page="messages"] .msg-chat__active {
    height: 100%;
  }

  body.mobile-app[data-page="messages"] .msg-composer {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface, #fff);
    border-top: 1px solid var(--color-border, #e2e8f0);
  }

  body.mobile-app[data-page="messages"] .msg-composer__input {
    min-height: 44px;
    font-size: 1rem;
    border-radius: 22px;
  }

  body.mobile-app.mobile-keyboard-open .mobile-bottom-nav,
  body.mobile-app.mobile-keyboard-open .mobile-fab {
    transform: translateY(110%);
    pointer-events: none;
  }

  /* Skeleton */
  body.mobile-app .product-card--skeleton,
  body.mobile-app .skeleton {
    border-radius: var(--mobile-radius-md);
    animation: mobile-shimmer 1.2s ease-in-out infinite;
  }

  @keyframes mobile-shimmer {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
  }

  /* Sayfa geçişi */
  body.mobile-app.ux-ready main,
  body.mobile-app.ux-ready .hero {
    animation: mobile-page-in 0.35s ease both;
  }

  @keyframes mobile-page-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }

  /* Butonlar — büyük dokunma alanı */
  body.mobile-app .btn {
    min-height: 44px;
  }

  body.mobile-app .btn--sm {
    min-height: 38px;
  }

  /* Header — Kiralama Süreci kısayolu */
  .header-mobile-process {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
    background: var(--color-surface, #fff);
    color: var(--color-primary, #16a34a);
    flex-shrink: 0;
    text-decoration: none;
  }

  .header-mobile-process__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid var(--color-bg, #fff);
  }

  /* Masaüstünde gizli kalır */
  .header-mobile-process {
    display: inline-flex;
  }

  /* Mobil menü — QR hub (kompakt satır) */
  .nav-extras__qr-hub-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    margin: 0.25rem 0 0.35rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    color: #166534;
    text-align: left;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.08);
    min-height: 48px;
  }

  .nav-extras__qr-hub-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
  }

  .nav-extras__qr-hub-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 0;
  }

  .nav-extras__qr-hub-text strong {
    font-size: 0.88rem;
    font-weight: 700;
  }

  .nav-extras__qr-hub-text span {
    font-size: 0.72rem;
    color: #15803d;
    line-height: 1.3;
    max-width: none;
  }

  .nav-extras__qr-hub-badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #f0fdf4;
  }

  /* Profil açılır menü — mobil alt sayfa QR kartı */
  .user-menu__dropdown--mobile .user-menu__qr {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: calc(100% - 0.5rem);
    margin: 0.65rem auto 0.5rem;
    padding: 1rem 1.15rem !important;
    text-align: center;
  }

  .user-menu__dropdown--mobile .user-menu__qr-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  }

  .user-menu__dropdown--mobile .user-menu__qr-text {
    align-items: center;
    text-align: center;
    flex: none;
  }

  .user-menu__dropdown--mobile .user-menu__qr-text small {
    line-height: 1.35;
    max-width: 260px;
  }

  .user-menu__dropdown--mobile .user-menu__qr-badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    min-width: 22px;
    height: 22px;
    border: 2px solid #f0fdf4;
  }

  .nav-extras__account-title {
    text-align: left;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    padding-bottom: 0.65rem;
    margin-bottom: 0.15rem;
  }

  .nav-extras__account-title strong,
  .nav-extras__account-title span {
    text-align: left;
  }

  /* Hesap mobil şerit */
  .account-mobile-strip__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .account-mobile-strip__qr {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #16a34a;
    display: grid;
    place-items: center;
  }

  .account-mobile-strip__qr-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border: 2px solid var(--color-bg, #fff);
  }

  .account-mobile-strip__ilan {
    white-space: nowrap;
  }

  /* Kart içi QR — masaüstü kartı gizle, mobil CTA göster */
  .qr-rental-card--desktop {
    display: none !important;
  }

  .request-card__qr-mobile {
    display: block;
    margin-top: 0.75rem;
  }

  .request-card__qr-mobile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    color: #166534;
    text-align: left;
    cursor: pointer;
  }

  .request-card__qr-mobile-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .request-card__qr-mobile-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
  }

  .request-card__qr-mobile-text strong {
    font-size: 0.92rem;
    color: #14532d;
  }

  .request-card__qr-mobile-text small {
    font-size: 0.78rem;
    color: #15803d;
  }

  .request-card__qr-mobile-arrow {
    font-size: 1.25rem;
    color: #16a34a;
    opacity: 0.7;
  }

  /* Doğrulama hub — mobil alt sayfa */
  .verify-hub-modal,
  .verify-entry-modal,
  .verify-display-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    align-self: flex-end;
  }

  #qr-hub-modal.is-open,
  #qr-display-modal.is-open,
  #qr-scanner-modal.is-open {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .verify-hub-modal__body {
    max-height: min(58vh, 480px);
  }

  .verify-otp__digit {
    width: 42px;
    height: 50px;
    font-size: 1.2rem;
  }

  .verify-display-modal__digit {
    width: 38px;
    height: 46px;
    font-size: 1.25rem;
  }

  /* Eski sınıflar — geriye uyumluluk */
  .qr-hub-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    align-self: flex-end;
  }

  #qr-hub-modal.is-open {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .qr-hub-modal__head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .qr-hub-modal__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #16a34a;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .qr-hub-section {
    margin-top: 1rem;
  }

  .qr-hub-section__title {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted, #64748b);
  }

  .qr-hub-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .qr-hub-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 14px;
    background: var(--color-surface, #fff);
    text-align: left;
    cursor: pointer;
  }

  .qr-hub-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #16a34a;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .qr-hub-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
  }

  .qr-hub-item__body strong {
    font-size: 0.9rem;
  }

  .qr-hub-item__body span {
    font-size: 0.8rem;
    color: var(--color-text-muted, #64748b);
  }

  .qr-hub-item__body code {
    font-size: 0.75rem;
    color: #166534;
  }

  .qr-hub-item__arrow {
    color: var(--color-text-muted, #94a3b8);
    font-size: 1.2rem;
  }

  .qr-hub-empty {
    text-align: center;
    color: var(--color-text-muted, #64748b);
    padding: 1.5rem 0;
  }

  /* QR gösterim modal — tam ekran hissi */
  .qr-display-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: 96vh;
    overflow-y: auto;
    align-self: flex-end;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  #qr-display-modal.is-open,
  #qr-scanner-modal.is-open {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .qr-display-modal__badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .qr-display-modal__code {
    display: flex;
    justify-content: center;
    padding: 0.75rem;
    margin: 0.75rem 0;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
  }

  .qr-display-modal__code .qr-code-canvas,
  .qr-display-modal__code .qr-code-canvas img,
  .qr-display-modal__code .qr-code-canvas canvas {
    max-width: min(280px, 100%);
    height: auto !important;
    width: auto !important;
  }

  .qr-display-modal__manual {
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    background: #f8fafc;
    margin-bottom: 0.75rem;
  }

  .qr-display-modal__manual .qr-manual-code__value {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin: 0.35rem 0 0.75rem;
    color: #0f172a;
  }

  .qr-display-modal__hint {
    font-size: 0.85rem;
    color: var(--color-text-muted, #64748b);
    text-align: center;
    line-height: 1.5;
  }

  .qr-display-modal__reservation {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted, #64748b);
  }

  /* Scanner modal mobil */
  .qr-scanner-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: 96vh;
    overflow-y: auto;
    align-self: flex-end;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .qr-scanner-reader {
    min-height: 240px;
  }

  /* Talep kartları */
  .request-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .request-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .request-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .request-card__actions {
    flex-direction: column;
  }

  .request-card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .request-card__detail-link {
    display: block;
    margin-top: 0.75rem;
    padding: 0.65rem;
    text-align: center;
    border-radius: 10px;
    background: #f8fafc;
  }

  /* Hesap navigasyonu */
  .account-nav__link span:not(.account-nav__badge):not(.account-nav__count) {
    font-size: 0.72rem;
  }

  .profile-v2__qr-btn {
    width: 100%;
    justify-content: center;
  }

  /* Genel modal iyileştirmeleri */
  .photo-modal-overlay.is-open {
    padding: 0;
  }

  .photo-modal {
    border-radius: 20px 20px 0 0;
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  /* Ürünler — filtreler (eski düzen; products-mobile.css ile değiştirildi) */
  body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding-bottom: 0.5rem;
  }

  body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters::-webkit-scrollbar {
    display: none;
  }

  body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters__search {
    flex: 0 0 min(100%, 280px);
    scroll-snap-align: start;
  }

  body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters select {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: none;
    scroll-snap-align: start;
  }

  body.mobile-app[data-page="products"] main,
  body.mobile-app[data-page="products"] .products-page {
    padding-bottom: calc(var(--mobile-nav-h) + 4.5rem);
  }

  @media (max-width: 520px) {
    body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters {
      flex-direction: column;
      flex-wrap: wrap;
      overflow-x: visible;
      overflow-y: visible;
      scroll-snap-type: none;
    }

    body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters__search,
    body.mobile-app[data-page="products"]:not(:has(.products-page__toolbar)) .filters select {
      flex: 1 1 100%;
      width: 100%;
      min-width: 0;
      max-width: 100%;
    }
  }

  /* Harita — tam genişlik, alt nav üstü */
  body.mobile-app #products-map {
    height: min(50dvh, 420px);
    border-radius: var(--mobile-radius-md);
  }

  body.mobile-app .map-product-preview {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: none;
  }

  /* Formlar — tam genişlik kart */
  body.mobile-app .auth-card {
    margin-inline: 0;
    border-radius: var(--mobile-radius-lg);
    box-shadow: var(--mobile-shadow);
  }

  body.mobile-app .form-row {
    flex-direction: column;
    gap: 0;
  }

  body.mobile-app .agreement-check__text {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* İlan ekle — adım kartları */
  body.mobile-app[data-page="add-product"] .product-form,
  body.mobile-app[data-page="add-product"] .ilan-wizard {
    padding-bottom: calc(var(--mobile-nav-h) + 1rem);
  }

  /* Popup / toast */
  body.mobile-app .toast-container {
    bottom: calc(var(--mobile-nav-h) + 0.75rem);
    left: 0.75rem;
    right: 0.75rem;
  }

  body.mobile-app .toast {
    max-width: 100%;
  }

  /* Kategori dropdown — drawer içinde tam genişlik */
  body.mobile-app .nav-cat__menu {
    position: static;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0 0.75rem;
  }

  /* Hesabım — alt nav ile çakışma */
  body.mobile-app[data-page="account"] .account-page {
    padding-bottom: calc(var(--mobile-nav-h) + 0.5rem);
  }

  /* Rezervasyon detay */
  body.mobile-app .reservation-detail,
  body.mobile-app .rental-timeline {
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Menü / doğrulama açıkken alt bar ve FAB gizle — çakışmayı önler */
  body.menu-open .mobile-bottom-nav,
  body.menu-open .mobile-fab,
  body.user-menu-open .mobile-bottom-nav,
  body.user-menu-open .mobile-fab,
  body.verify-modal-open .mobile-bottom-nav,
  body.verify-modal-open .mobile-fab,
  body.menu-open #support-widget,
  body.user-menu-open #support-widget,
  body.verify-modal-open #support-widget {
    display: none !important;
  }

  body.menu-open .support-widget,
  body.user-menu-open .support-widget,
  body.verify-modal-open .support-widget {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Doğrulama modalları — tam ekran alt sayfa, menünün üstünde */
  .photo-modal-overlay.verify-overlay {
    z-index: 2000 !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .photo-modal-overlay.verify-overlay.is-open {
    display: flex;
  }

  .verify-hub-modal,
  .verify-entry-modal,
  .verify-display-modal,
  .verify-picker-modal {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: min(88dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 0.5rem));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .verify-hub-modal__body {
    max-height: min(48dvh, 360px);
    padding-bottom: 0.5rem;
  }

  .nav-extras__account {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav-extras__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: var(--color-text, #0f172a);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .nav-extras__link:hover,
  .nav-extras__link:focus-visible {
    background: var(--color-primary-light, #f0fdf4);
    color: var(--color-primary-dark, #15803d);
  }
}

@media (min-width: 901px) {
  .header-mobile-process,
  .header-mobile-qr {
    display: none !important;
  }

  .request-card__qr-mobile {
    display: none !important;
  }

  .nav-extras__qr-hub-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .account-nav__link span:not(.account-nav__badge):not(.account-nav__count) {
    display: none;
  }

  .account-nav__link {
    min-width: 52px;
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
