/* ========================================================================
   AR-TEK MOBILE STORE — Native App Experience
   Trendyol / Hepsiburada / Amazon mobil mağaza görünümü
   ======================================================================== */

/* ============================================================
   1. BOTTOM NAVIGATION BAR
   ============================================================ */
@media (max-width: 768px) {

    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        height: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .mob-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 0 4px;
        text-decoration: none;
        color: #8c99a6;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.2px;
        position: relative;
        transition: color 0.2s;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .mob-nav-item i {
        font-size: 20px;
        margin-bottom: 3px;
        transition: transform 0.2s, color 0.2s;
    }

    .mob-nav-item.active {
        color: #0077cc;
    }

    .mob-nav-item.active i {
        transform: scale(1.1);
    }

    .mob-nav-item:active i {
        transform: scale(0.9);
    }

    /* Sepet badge on bottom nav */
    .mob-nav-badge {
        position: absolute;
        top: 2px;
        right: calc(50% - 18px);
        background: #e30613;
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
    }

    .mob-nav-badge:empty,
    .mob-nav-badge[data-count="0"] {
        display: none;
    }

    /* Profil menü (bottom nav üstünde açılır) */
    .mob-profile-menu {
        display: none;
        position: fixed;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
        border-radius: 20px 20px 0 0;
        padding: 12px 16px;
        padding-bottom: 8px;
        animation: mobSlideUp 0.25s ease-out;
    }

    .mob-profile-menu.active {
        display: block;
    }

    @keyframes mobSlideUp {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .mob-profile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 8px 16px;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 8px;
    }

    .mob-profile-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0077cc, #00b4d8);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 800;
        flex-shrink: 0;
    }

    .mob-profile-info {
        flex: 1;
        min-width: 0;
    }

    .mob-profile-name {
        font-size: 15px;
        font-weight: 700;
        color: #1a1a2e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mob-profile-sub {
        font-size: 12px;
        color: #94a3b8;
        margin-top: 2px;
    }

    .mob-profile-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f1f5f9;
        border: none;
        color: #64748b;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mob-profile-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .mob-profile-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        text-decoration: none;
        color: #1e293b;
        font-size: 13px;
        font-weight: 600;
        transition: background 0.15s;
    }

    .mob-profile-link:active {
        background: #f1f5f9;
    }

    .mob-profile-link i {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .mob-profile-link .icon-orders { background: #eff6ff; color: #3b82f6; }
    .mob-profile-link .icon-favs { background: #fef3c7; color: #f59e0b; }
    .mob-profile-link .icon-notifs { background: #f0fdf4; color: #22c55e; }
    .mob-profile-link .icon-payments { background: #faf5ff; color: #a855f7; }
    .mob-profile-link .icon-catalog { background: #fff1f2; color: #e30613; }
    .mob-profile-link .icon-cardpay { background: #ecfdf5; color: #10b981; }

    .mob-profile-logout {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
        padding: 12px;
        border: 1px solid #fee2e2;
        background: #fff5f5;
        border-radius: 12px;
        color: #e30613;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
    }

    /* Profil arka plan overlay */
    .mob-profile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
    }

    .mob-profile-overlay.active {
        display: block;
    }

    /* Body padding for bottom nav */
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Footer extra padding */
    .footer {
        padding-bottom: 80px !important;
    }

    /* Back to top butonunu bottom nav üstüne taşı */
    #backToTop {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    /* Bayi float button'u bottom nav üstüne taşı */
    .bayi-float-wrap,
    #bayiFloatBtn {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .bayi-mini-wrap {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

/* ============================================================
   2. MOBILE HEADER — Compact App Bar
   ============================================================ */

    .navbar {
        height: 56px !important;
    }

    .nav-inner {
        height: 56px !important;
        padding: 0 12px !important;
    }

    /* Logo düzenleme */
    .nav-logo {
        gap: 8px !important;
    }

    .logo-img {
        height: 28px !important;
        max-width: 36px !important;
    }

    .logo-divider {
        height: 22px !important;
    }

    .logo-text-wrap {
        gap: 0 !important;
    }

    .logo-title {
        font-size: 8px !important;
        letter-spacing: 0.3px !important;
    }

    .logo-subtitle {
        font-size: 6.5px !important;
    }

    /* Nav links gizle (bottom nav var) */
    .nav-links {
        display: none !important;
    }

    .nav-toggle {
        display: none !important;
    }

    /* Sağ ikonları düzenle */
    .nav-user .user-name,
    .nav-user .fa-chevron-down {
        display: none !important;
    }

    /* User dropdown gizle (profil bottom nav'da) */
    .dd-icon-wrap#userWrap {
        display: none !important;
    }

    /* Favori ve bildirim ikonlarını gizle (profil menüde) */
    .dd-icon-wrap#favWrap,
    .dd-icon-wrap#notifWrap {
        display: none !important;
    }

    /* Sepet ikonu header'da kalsın ama küçültülsün */
    .nav-cart {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    /* Arama butonu → mobilde ayrı bir ikon */
    .nav-search-wrap {
        display: none !important;
    }

    /* Mobil arama ikonu */
    .mob-search-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: transparent;
        border: none;
        color: #1e293b;
        font-size: 16px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-search-btn:active {
        background: #f1f5f9;
    }

    /* Dil butonu küçültme */
    .lang-globe-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }

    /* Kategori bar — mobilde tamamen gizle (bottom nav yeterli) */
    .category-bar,
    .category-bar *,
    .category-bar-inner,
    .cat-bar-link,
    .cat-bar-item,
    .cat-bar-search-btn,
    #categoryBar {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* Kategori bar altındaki mega menüleri de gizle */
    .s2-megamenu,
    .top-mega-menu,
    [class*="mega-menu"],
    .cat-search-overlay,
    #catSearchOverlay {
        display: none !important;
    }

    /* Bayi float butonu — mobilde gizle (profil menüde var) */
    .bayi-float-wrap,
    #bayiFloatBtn,
    .bayi-mini-wrap {
        display: none !important;
    }

/* ============================================================
   3. FULL-SCREEN SEARCH OVERLAY
   ============================================================ */

    .mob-search-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10001;
        background: #fff;
        flex-direction: column;
    }

    .mob-search-overlay.active {
        display: flex !important;
    }

    .mob-search-top {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-bottom: 1px solid #f1f5f9;
        background: #fff;
    }

    .mob-search-back {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: transparent;
        border: none;
        color: #1e293b;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mob-search-input-wrap {
        flex: 1;
        position: relative;
    }

    .mob-search-input {
        width: 100%;
        height: 40px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 14px 0 38px;
        font-size: 15px;
        font-family: 'Inter', sans-serif;
        color: #1a1a2e;
        background: #f8fafc;
        outline: none;
        transition: border-color 0.2s;
    }

    .mob-search-input:focus {
        border-color: #0077cc;
        background: #fff;
    }

    .mob-search-input-wrap i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 14px;
    }

    .mob-search-results {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .mob-search-results .ls-result {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #f8fafc;
        text-decoration: none;
        color: inherit;
        transition: background 0.15s;
    }

    .mob-search-results .ls-result:active {
        background: #f8fafc;
    }

    .mob-search-results .ls-result-img {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        object-fit: contain;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        flex-shrink: 0;
    }

    .mob-search-results .ls-result-name {
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mob-search-results .ls-result-code {
        font-size: 12px;
        color: #94a3b8;
        margin-top: 2px;
    }

    .mob-search-results .ls-footer {
        padding: 16px;
        text-align: center;
    }

    .mob-search-results .ls-footer a {
        display: inline-block;
        padding: 10px 24px;
        background: linear-gradient(135deg, #0077cc, #00b4d8);
        color: #fff;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .mob-search-results .ls-no-result {
        padding: 40px 20px;
        text-align: center;
        color: #94a3b8;
        font-size: 14px;
    }

    .mob-search-results .ls-no-result i {
        display: block;
        font-size: 28px;
        color: #e2e8f0;
        margin-bottom: 12px;
    }

    /* Hızlı erişim — son aramalar / popüler */
    .mob-search-quick {
        padding: 20px 16px;
    }

    .mob-search-quick h4 {
        font-size: 13px;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }

    .mob-search-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mob-search-tag {
        display: inline-block;
        padding: 8px 16px;
        background: #f1f5f9;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        color: #475569;
        text-decoration: none;
        transition: all 0.15s;
    }

    .mob-search-tag:active {
        background: #e2e8f0;
    }

/* ============================================================
   4. HOMEPAGE — Mobile Store Layout
   ============================================================ */

    /* Hero Slider — Full width, shorter */
    .hero-slider {
        margin-top: 56px !important;
        border-radius: 0 !important;
    }

    .hero-slide img {
        height: 180px !important;
        object-fit: cover;
    }

    .hero-slide-overlay {
        padding: 0 16px !important;
    }

    .hero-slide-text h2 {
        font-size: 16px !important;
    }

    /* Slider dots */
    .hero-dots {
        bottom: 8px !important;
    }

    .hero-dot {
        width: 6px !important;
        height: 6px !important;
    }

    /* Kategori bölümü — yuvarlak horizontal scroll */
    .cat-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding: 0 16px 8px !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cat-grid::-webkit-scrollbar {
        display: none;
    }

    .cat-card {
        min-width: 80px !important;
        max-width: 80px !important;
        padding: 12px 8px !important;
        border-radius: 16px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .cat-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .cat-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        margin: 0 auto 8px !important;
        font-size: 20px !important;
        background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
    }

    .cat-card h3 {
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cat-card p {
        display: none !important;
    }

    /* Section spacing */
    .section {
        padding: 24px 0 !important;
    }

    .section-inner {
        padding: 0 16px !important;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    .section-tag {
        font-size: 10px !important;
        padding: 4px 12px !important;
    }

    .section-title {
        font-size: 20px !important;
    }

    .section-desc {
        font-size: 13px !important;
    }

    /* Ürün showcase — 2 sütun grid */
    .showcase-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .showcase {
        padding: 16px !important;
    }

    .showcase-header {
        margin-bottom: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .showcase-left h2 {
        font-size: 18px !important;
    }

    .sc-card {
        border-radius: 12px !important;
    }

    .sc-card-img {
        height: 130px !important;
    }

    .sc-card-info {
        padding: 10px 12px !important;
    }

    .sc-card-name {
        font-size: 12px !important;
        min-height: 32px !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    .sc-card-bottom {
        padding: 8px 12px !important;
    }

    .sc-card-price {
        font-size: 14px !important;
    }

    .sc-card-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    /* Avantajlar — yatay scroll */
    .advantages {
        padding: 24px 0 !important;
    }

    .adv-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding: 0 16px !important;
        grid-template-columns: unset !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .adv-grid::-webkit-scrollbar {
        display: none;
    }

    .adv-card {
        min-width: 200px !important;
        flex-shrink: 0 !important;
        padding: 20px 16px !important;
    }

    .adv-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }

    .adv-card h3 {
        font-size: 14px !important;
    }

    .adv-card p {
        font-size: 12px !important;
    }

    /* Hakkımızda grid → stack */
    .section#hakkimizda [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Markalar */
    .brand-item {
        font-size: 13px !important;
    }

    /* İletişim grid → cards */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .contact-card {
        padding: 20px !important;
    }

    /* Hero Static (giriş yapmamış kullanıcılar) */
    .hero-static h1 {
        font-size: 24px !important;
    }

    .hero-static p {
        font-size: 14px !important;
    }

/* ============================================================
   5. ÜRÜN LİSTESİ SAYFASI — Mobil Grid
   ============================================================ */

    /* Page header — kompakt */
    .page-header {
        padding: 70px 16px 20px !important;
    }

    .page-header h1 {
        font-size: 20px !important;
    }

    /* Filtre bar — sticky */
    .filter-bar,
    .filter-section {
        position: sticky !important;
        top: 56px;
        z-index: 100;
        background: #fff !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Filtre özet göstergesi */
    .filter-toggle-btn {
        display: inline-flex !important;
    }

    /* Ürün grid — 2 sütun */
    .product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .product-card {
        border-radius: 12px !important;
        overflow: hidden;
    }

    .product-card-img {
        height: 140px !important;
    }

    .product-card-info {
        padding: 10px 12px !important;
    }

    .product-card-name {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-card-price {
        font-size: 14px !important;
    }

    .product-card-code {
        font-size: 10px !important;
    }

    /* Sayfalama */
    .pagination {
        padding: 16px !important;
        gap: 4px !important;
    }

    .pagination a,
    .pagination span {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

/* ============================================================
   6. ÜRÜN DETAY SAYFASI — Mobil Mağaza
   ============================================================ */

    .detail-layout {
        padding: 12px !important;
    }

    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Resim galerisi — full width */
    .detail-gallery {
        border-radius: 12px !important;
    }

    .detail-main-img {
        height: 280px !important;
    }

    /* Thumbnail galerisi — horizontal scroll */
    .detail-thumbs {
        display: flex !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 8px 0 !important;
        scrollbar-width: none;
    }

    .detail-thumbs::-webkit-scrollbar {
        display: none;
    }

    .detail-thumb {
        min-width: 56px !important;
        width: 56px !important;
        height: 56px !important;
        flex-shrink: 0;
    }

    /* Fiyat ve bilgi */
    .detail-price {
        font-size: 24px !important;
    }

    .detail-info h1 {
        font-size: 18px !important;
    }

    /* Yapışkan sepete ekle bar */
    .mob-sticky-cart {
        display: flex !important;
        position: fixed;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        z-index: 9990;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 10px 16px;
        align-items: center;
        gap: 12px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    }

    .mob-sticky-price {
        flex: 1;
    }

    .mob-sticky-price .price-val {
        font-size: 20px;
        font-weight: 900;
        color: #e30613;
    }

    .mob-sticky-price .price-label {
        font-size: 11px;
        color: #94a3b8;
        font-weight: 500;
    }

    .mob-sticky-qty {
        display: flex;
        align-items: center;
        gap: 0;
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
    }

    .mob-sticky-qty button {
        width: 34px;
        height: 34px;
        border: none;
        background: #f8fafc;
        color: #1e293b;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mob-sticky-qty button:active {
        background: #e2e8f0;
    }

    .mob-sticky-qty input {
        width: 36px;
        height: 34px;
        border: none;
        border-left: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        font-family: inherit;
        color: #1e293b;
    }

    .mob-sticky-add {
        padding: 0 20px;
        height: 40px;
        border: none;
        border-radius: 10px;
        background: linear-gradient(135deg, #e30613, #ff4136);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
        transition: transform 0.15s;
    }

    .mob-sticky-add:active {
        transform: scale(0.96);
    }

    /* Ürün detay body padding (sticky bar için) */
    body.page-detail {
        padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
    }

/* ============================================================
   7. SEPET SAYFASI — Mobil
   ============================================================ */

    .cart-layout {
        padding: 12px !important;
    }

    .cart-item {
        border-radius: 12px !important;
        padding: 12px !important;
    }

    .cart-item-img {
        width: 70px !important;
        height: 70px !important;
        border-radius: 10px !important;
    }

    .cart-item-name {
        font-size: 13px !important;
    }

    .cart-item-price {
        font-size: 15px !important;
    }

    /* Yapışkan sipariş özeti */
    .cart-summary-sticky {
        position: fixed !important;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        z-index: 9990;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        padding: 12px 16px;
        border-radius: 0 !important;
        margin: 0 !important;
    }

/* ============================================================
   8. SİPARİŞLERİM SAYFASI — Mobil
   ============================================================ */

    .orders-layout {
        padding: 12px !important;
    }

    .order-card {
        border-radius: 12px !important;
        margin-bottom: 10px !important;
    }

    .order-header {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 14px 16px !important;
    }

    .oh-label {
        font-size: 10px !important;
    }

    .oh-val {
        font-size: 13px !important;
    }

/* ============================================================
   9. GİRİŞ SAYFASI — Mobil
   ============================================================ */

    .login-container {
        padding: 70px 16px 100px !important;
    }

    .login-card {
        border-radius: 16px !important;
        padding: 24px 20px !important;
    }

    .login-card h1 {
        font-size: 22px !important;
    }

/* ============================================================
   10. FOOTER — Mobil Optimizasyon
   ============================================================ */

    .footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-inner {
        padding: 30px 16px !important;
    }

    .footer-bottom {
        font-size: 11px !important;
        text-align: center !important;
    }

/* ============================================================
   11. GENEL MOBİL İYİLEŞTİRMELER
   ============================================================ */

    /* Touch-friendly minimum hedef alanı */
    a, button, [role="button"] {
        min-height: 36px;
    }

    /* Kaydırma çubuğu gizle (güzel görünüm) */
    ::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* Smooth scroll her yerde */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* İpucu: Overscroll geri gitme engelleme */
    html {
        overscroll-behavior: none;
    }

    /* Seçim rengi */
    ::selection {
        background: rgba(0, 119, 204, 0.2);
    }

    /* Input zoom engelleme */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Wave animation for loading states */
    @keyframes mobShimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }

    .mob-skeleton {
        background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
        background-size: 200% 100%;
        animation: mobShimmer 1.5s ease-in-out infinite;
        border-radius: 8px;
    }

    /* Pull indicator */
    .mob-pull-indicator {
        text-align: center;
        padding: 8px;
        color: #94a3b8;
        font-size: 12px;
        font-weight: 500;
    }

    /* Smooth page transitions */
    .page-transition {
        animation: mobPageIn 0.3s ease-out;
    }

    @keyframes mobPageIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Toast mesajları — pozisyon */
    .toast {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Compare bar bottom pozisyon */
    .compare-bar {
        bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Favorilerim & Bildirimlerim sayfası */
    .fav-layout,
    .notif-layout {
        padding: 12px !important;
    }

    /* Ödeme sayfası */
    .payment-layout {
        padding: 12px !important;
    }

} /* end @media (max-width: 768px) */

/* ============================================================
   DESKTOP: Bottom nav ve mobil öğeler gizle
   ============================================================ */
@media (min-width: 769px) {
    .mobile-bottom-nav,
    .mob-search-btn,
    .mob-search-overlay,
    .mob-sticky-cart,
    .mob-profile-menu,
    .mob-profile-overlay {
        display: none !important;
    }
}
