/* ==========================================================================
   RESPONSIVE PATCH v1.0 - Aydın Etiket
   Tüm public sayfalar için mobil/tablet/desktop uyumluluk düzeltmeleri
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL TAŞMA GÜVENLİK - YATAY SCROLL ENGELLEMESİ
   ========================================================================== */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-width: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Tüm elemanların taşmasını engelle */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Container taşma güvenliği */
.main-container,
.container,
.header-container,
.footer-container,
section,
main,
article,
aside {
    max-width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER - MOBİL MENÜ DÜZELTMELERİ
   ========================================================================== */

/* Header temel düzeltmeler */
.clean-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
}

.header-container {
    max-width: 100%;
    padding: 0 15px;
}

/* Mobil menü butonu */
.mobile-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 10px;
    color: #333;
    z-index: 2100;
}

/* Tablet ve altı için header düzenlemeleri */
@media (max-width: 1100px) {
    .clean-nav {
        display: none !important;
        position: fixed !important;
        top: 85px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        padding: 20px !important;
        flex-direction: column !important;
        gap: 0 !important;
        max-height: calc(100vh - 85px);
        overflow-y: auto;
        z-index: 2050 !important;
    }
    
    .clean-nav.mobile-open {
        display: flex !important;
    }
    
    .mobile-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .nav-item-wrapper {
        height: auto;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-text {
        display: block;
        padding: 15px 10px;
        width: 100%;
        font-size: 15px;
    }
    
    /* Dropdown mobil görünüm */
    .simple-dropdown {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: #f9f9f9 !important;
        border-radius: 0 !important;
        display: none;
    }
    
    .nav-item-wrapper:hover .simple-dropdown,
    .nav-item-wrapper.active .simple-dropdown {
        display: block;
    }
    
    .simple-dropdown a {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Header sağ butonlar */
    .header-right-actions {
        gap: 5px;
    }
    
    .pill-btn {
        padding: 8px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }
    
    .pill-btn span {
        display: none !important;
    }
    
    .pill-btn i {
        margin: 0 !important;
        font-size: 16px;
    }
    
    /* Kullanıcı menüsü mobil */
    .user-menu-wrapper .pill-btn span {
        display: none !important;
    }
    
    .profile-dropdown {
        right: -50px;
        min-width: 200px;
    }
}

/* Küçük mobil için header */
@media (max-width: 480px) {
    .clean-header {
        height: 70px;
    }
    
    .logo-area .main-logo {
        height: 35px;
    }
    
    .pill-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .cart-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .header-right-actions {
        gap: 3px;
    }
}

/* ==========================================================================
   3. MAIN CONTENT - PADDING TOP DÜZELTMESİ
   ========================================================================== */

/* Ana sayfa padding düzeltmesi */
main {
    padding-top: 100px;
}

@media (max-width: 1100px) {
    main {
        padding-top: 90px;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 80px;
    }
}

/* ==========================================================================
   4. HERO BÖLÜMÜ - MOBİL UYUM
   ========================================================================== */

.hero-real-barcode {
    min-height: 400px;
    padding: 40px 15px 100px;
}

@media (max-width: 768px) {
    .hero-real-barcode {
        height: auto;
        min-height: 350px;
        margin-bottom: 40px;
        border-radius: 0 0 20px 20px;
        padding: 30px 10px 80px;
    }
    
    .barcode-zone {
        padding: 20px;
        width: 100%;
    }
    
    .barcode-structure {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .guard {
        width: 80%;
        height: 8px;
    }
    
    .bars {
        width: 90% !important;
        max-width: 280px;
        height: 50px;
    }
    
    .b-text {
        font-size: 0.9rem;
    }
    
    .dock-container {
        position: relative;
        bottom: auto;
        flex-direction: column;
        width: 95%;
        max-width: 400px;
        margin-top: 20px;
        padding: 10px;
        gap: 8px;
    }
    
    .dock-card {
        width: 100%;
        height: 70px;
        flex-direction: row;
        gap: 15px;
        border-radius: 12px;
    }
    
    .dock-card:hover {
        width: 100%;
        height: 75px;
        transform: none;
    }
    
    .dock-card .icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .dock-card .info h3 {
        font-size: 0.9rem;
    }
    
    .dock-card .info p {
        display: block;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   5. İSTATİSTİKLER - MOBİL GRİD
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-data h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   6. HİZMETLER KARTI - MOBİL GRİD
   ========================================================================== */

.hizmet-listesi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .hizmet-listesi {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hizmet-listesi {
        grid-template-columns: 1fr;
    }
    
    .hizmet-karti {
        padding: 15px;
    }
    
    .hizmet-karti img {
        max-width: 120px;
        height: 120px;
    }
}

/* ==========================================================================
   7. PROMO BANNER - MOBİL UYUM
   ========================================================================== */

.promo-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .promo-wrapper {
        height: auto;
        min-height: auto;
        padding: 30px 15px;
    }
    
    .promo-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .promo-left {
        align-items: center;
    }
    
    .promo-right {
        order: -1;
        justify-content: center;
    }
    
    .promo-image {
        max-width: 300px;
    }
    
    .promo-text h2 {
        font-size: 1.4rem;
    }
    
    .promo-text p {
        font-size: 0.95rem;
    }
    
    .shop-btn-lg {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   8. MAĞAZA / ÜRÜNLER SAYFASI - MOBİL UYUM
   ========================================================================== */

/* Mağaza ana düzen */
.container {
    padding: 0 15px;
}

/* Filtre ve ürün grid yan yana düzeni */
@media (max-width: 1024px) {
    .flex.flex-col.lg\:flex-row {
        flex-direction: column !important;
    }
    
    .w-full.lg\:w-1\/4 {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    /* Filtre sidebar mobil */
    aside.w-full.lg\:w-1\/4 > div {
        position: relative !important;
        top: auto !important;
    }
}

/* Ürün grid mobil */
@media (max-width: 768px) {
    /* Tailwind grid override */
    .grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Ürün kartı mobil */
    .product-card {
        border-radius: 12px;
    }
    
    .product-card .p-4,
    .product-card .p-5 {
        padding: 12px !important;
    }
    
    /* Ölçü butonları mobil */
    .size-btn {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    
    /* Adet kontrolü mobil */
    .qty-ctrl-btn {
        width: 24px;
        height: 24px;
    }
    
    .qty-input-card {
        width: 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Filtre sidebar mobil toggle */
@media (max-width: 768px) {
    aside.w-full.lg\:w-1\/4 {
        position: relative;
    }
    
    aside.w-full.lg\:w-1\/4 > div.bg-white {
        position: relative !important;
        top: 0 !important;
    }
}

/* ==========================================================================
   9. SEPET SAYFASI - MOBİL UYUM
   ========================================================================== */

/* Sepet ana düzen */
.cart-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .cart-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-left {
        width: 100%;
    }
    
    .cart-right {
        width: 100%;
        position: relative;
        top: auto;
    }
}

/* Sepet ürün kartı mobil */
@media (max-width: 576px) {
    .cart-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .cart-img {
        width: 100%;
        max-width: 150px;
        height: auto;
        margin: 0 auto;
    }
    
    .cart-info {
        width: 100%;
        text-align: center;
    }
    
    .cart-prices {
        width: 100%;
        text-align: center;
        min-width: auto;
    }
    
    .qty-wrapper {
        margin: 10px auto;
    }
    
    .btn-trash {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-left: 0;
    }
    
    /* Sepet özet kutusu */
    .summary-box {
        padding: 20px;
    }
    
    .summary-row.total {
        font-size: 1.1rem;
    }
    
    .btn-checkout {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Boş sepet durumu */
.cart-page-wrapper {
    min-height: 50vh;
}

@media (max-width: 576px) {
    .empty-state-card {
        padding: 40px 25px;
        border-radius: 20px;
        width: 95%;
    }
    
    .illustration-3d-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .icon-layer {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   10. SEPET DRAWER - MOBİL UYUM
   ========================================================================== */

#cart-drawer,
.cart-drawer {
    max-width: 100%;
    width: 400px;
}

@media (max-width: 480px) {
    #cart-drawer,
    .cart-drawer {
        width: 100%;
    }
    
    .drawer-header {
        padding: 15px;
    }
    
    .drawer-items {
        padding: 15px;
    }
    
    .drawer-item {
        gap: 10px;
    }
    
    .drawer-item img {
        width: 60px;
        height: 60px;
    }
    
    .drawer-footer {
        padding: 15px;
    }
}

/* ==========================================================================
   11. ÖDEME SAYFASI - MOBİL UYUM
   ========================================================================== */

/* Ödeme sayfası ana grid */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 992px) {
    /* Grid düzeni tek sütuna */
    .main-container {
        display: block !important;
        padding: 0 15px;
        margin: 20px auto;
    }
    
    /* Sol ve sağ kolonlar alt alta */
    .steps-container {
        margin-bottom: 30px;
    }
    
    /* Sipariş özeti sağ panel */
    .main-container > div:last-child {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
    }
}

/* Form grid mobil */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .form-group.full {
        grid-column: span 1 !important;
    }
    
    /* Step kartlar */
    .step-card {
        border-radius: 12px;
    }
    
    .step-header {
        padding: 18px 15px;
    }
    
    .step-body {
        padding: 20px 15px;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    /* Input boyutları */
    .form-input,
    .form-select {
        padding: 12px 14px;
        font-size: 16px; /* iOS zoom engelleme */
    }
    
    /* Kargo ve adres seçim kartları */
    .option-grid {
        gap: 10px;
    }
    
    .option-item {
        padding: 14px;
    }
    
    .option-title {
        font-size: 0.9rem;
    }
    
    /* Butonlar */
    .btn-primary,
    .btn-next {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Ödeme özeti mobil */
@media (max-width: 576px) {
    /* Sipariş özeti kartı */
    .order-summary-box,
    .summary-sticky {
        padding: 20px;
        border-radius: 12px;
    }
    
    /* Ürün listesi özet */
    .summary-item {
        gap: 10px;
    }
    
    .summary-item img {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   12. MÜŞTERİ PANELİ - MOBİL UYUM
   ========================================================================== */

/* Müşteri paneli ana düzen */
.main-container {
    display: block;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 0 20px;
}

@media (max-width: 992px) {
    body:has(.sidebar) .main-container,
    .main-container:has(.sidebar) {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
    }
    
    /* Sidebar mobil */
    .sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 12px;
    }
    
    /* Sidebar menü yatay scroll */
    .sidebar nav {
        display: block;
        overflow-x: auto;
        gap: 5px;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .menu-link {
        flex-shrink: 0;
        padding: 12px 16px;
        border-radius: 8px;
        border-left: none !important;
        white-space: nowrap;
        font-size: 0.85rem;
    }
    
    .menu-link.active {
        background: #1e3a8a;
        color: white !important;
    }
    
    .menu-link i {
        margin-right: 6px;
    }
    
    /* Kullanıcı kartı mobil */
    .user-card {
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .avatar {
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Panel kutuları mobil */
@media (max-width: 768px) {
    .panel-box {
        padding: 20px;
        border-radius: 12px;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .panel-title {
        font-size: 1.1rem;
    }
    
    /* Form grid */
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Tab butonları */
    .tab-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 5px;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Tablolar mobil */
    .modern-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modern-table th,
    .modern-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Adres kartları */
    .address-card {
        padding: 15px;
    }
    
    .addr-actions {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 15px;
        justify-content: flex-end;
    }
}

/* Dashboard istatistik kartları mobil */
@media (max-width: 576px) {
    .form-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    
    #tab-dashboard .form-grid > div {
        padding: 15px !important;
    }
}

/* ==========================================================================
   13. SİPARİŞ DETAY MODAL - MOBİL UYUM
   ========================================================================== */

.modal-content {
    max-width: 95vw;
    max-height: 90vh;
    width: 95%;
    margin: 10px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .modal-content {
        height: 95vh;
        max-height: 95vh;
        margin: 0;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    /* Timeline mobil */
    .timeline-wrapper {
        padding: 20px 15px;
        overflow-x: auto;
    }
    
    .timeline {
        min-width: 500px;
    }
    
    .tl-item {
        padding: 0 5px;
    }
    
    .tl-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .tl-text {
        font-size: 0.7rem;
    }
    
    /* Sipariş detay grid */
    .order-detail-layout {
        grid-template-columns: 1fr !important;
        padding: 15px;
        gap: 20px;
    }
    
    .detail-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .address-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Ürün tablosu mobil */
    .products-table {
        display: block;
        overflow-x: auto;
    }
    
    .products-table th,
    .products-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .products-table img {
        width: 45px;
        height: 45px;
    }
    
    /* Özet kutusu */
    .summary-box {
        margin-top: 0;
    }
    
    .summary-row {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .summary-row.total {
        font-size: 1rem;
        padding: 15px;
    }
    
    /* Kargo takip */
    .tracking-alert {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .tracking-code {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   14. GİRİŞ / KAYIT SAYFASI - MOBİL UYUM
   ========================================================================== */

@media (max-width: 768px) {
    /* Auth container */
    .auth-container,
    .login-container,
    .register-container {
        padding: 30px 20px;
        margin: 20px 15px;
        border-radius: 16px;
    }
    
    /* Form inputlar */
    .auth-input,
    .login-input {
        padding: 14px;
        font-size: 16px;
    }
    
    /* Butonlar */
    .auth-btn,
    .login-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   15. İLETİŞİM SAYFASI - MOBİL UYUM
   ========================================================================== */

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 15px;
        gap: 15px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-box {
        padding: 25px 20px;
    }
    
    .input-wrapper input,
    .input-wrapper textarea {
        font-size: 16px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Harita */
    .full-map {
        border-radius: 12px;
    }
    
    .full-map iframe {
        height: 300px;
    }
}

/* ==========================================================================
   16. HAKKIMIZDA SAYFASI - MOBİL UYUM
   ========================================================================== */

.biz-kimiz-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .biz-kimiz-grid-container {
        grid-template-columns: 1fr;
    }
    
    .biz-kimiz-icerik {
        order: 2;
        padding: 25px 20px;
    }
    
    .biz-kimiz-image {
        order: 1;
        max-height: 250px;
    }
    
    /* Vizyon/Misyon */
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Timeline kartları */
    .timeline-3d-card {
        width: 260px !important;
    }
}

/* ==========================================================================
   17. SİPARİŞ TAKİP SAYFASI - MOBİL UYUM
   ========================================================================== */

@media (max-width: 768px) {
    .tracking-container {
        padding: 20px 15px;
        margin: 20px 15px;
    }
    
    .tracking-form input {
        padding: 14px;
        font-size: 16px;
    }
    
    .tracking-result {
        padding: 20px;
    }
}

/* ==========================================================================
   18. FOOTER - MOBİL UYUM
   ========================================================================== */

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1.2fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .site-footer {
        padding: 30px 20px;
        margin: 20px 15px 0;
        border-radius: 12px 12px 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    #footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    #footer-about .footer-logo {
        margin: 0 auto 15px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        margin: 15px 10px 0;
        padding: 25px 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    #footer-about {
        text-align: left;
    }
    
    #footer-about .footer-logo {
        margin: 0 0 15px;
        max-width: 180px;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    /* Ödeme logoları */
    .footer-payment-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .payment-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .trust-text {
        border-left: none;
        padding-left: 0;
        font-size: 0.75rem;
    }
    
    .payment-cards {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .payment-cards img {
        height: 18px;
    }
    
    .creator-credit {
        font-size: 0.75rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   19. AY ASİSTAN / FAQ - MOBİL UYUM
   ========================================================================== */

.faq-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    height: 700px;
}

@media (max-width: 992px) {
    .smart-faq-section {
        padding: 40px 15px;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 90vh;
    }
    
    .faq-sidebar {
        padding: 25px 20px;
    }
    
    .ai-logo-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .ai-main-logo {
        width: 70px;
        height: 70px;
    }
    
    .brand-text h2 {
        font-size: 1.3rem;
    }
    
    .brand-text p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .ai-tools-grid {
        display: none; /* Mobilde araçları gizle */
    }
}

@media (max-width: 576px) {
    .faq-chat-area {
        height: auto;
        min-height: 400px;
    }
    
    .chat-window {
        height: 300px !important;
        max-height: 300px !important;
        padding: 15px;
    }
    
    .chat-filters {
        padding: 15px;
        gap: 8px;
    }
    
    .filter-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .chat-input-wrapper {
        padding: 15px;
    }
    
    .chat-input-wrapper input {
        padding: 12px 18px;
        font-size: 16px;
    }
    
    .send-btn {
        width: 44px;
        height: 44px;
    }
    
    .message-content {
        max-width: 90%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   20. TOAST BİLDİRİMLERİ - MOBİL UYUM
   ========================================================================== */

#toast-container {
    top: 80px;
    right: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
}

@media (max-width: 576px) {
    .custom-toast {
        min-width: auto;
        width: 100%;
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}

/* ==========================================================================
   21. WHATSAPP BUTONU - MOBİL UYUM
   ========================================================================== */

.whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 26px;
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .wa-message-bubble {
        display: none;
    }
}

/* ==========================================================================
   22. AI BİLDİRİM CHIP - MOBİL UYUM
   ========================================================================== */

.ai-notif-chip {
    bottom: 20px;
    max-width: 95%;
}

@media (max-width: 576px) {
    .ai-notif-chip {
        bottom: 75px; /* WhatsApp butonunun üstünde */
        min-width: auto;
        width: 90%;
    }
    
    .chip-content {
        padding: 6px 12px 6px 6px;
        gap: 10px;
    }
    
    .chip-avatar {
        width: 35px;
        height: 35px;
    }
    
    .chip-title {
        font-size: 0.85rem;
    }
    
    .chip-subtitle {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   23. MODAL / OVERLAY GENEL - MOBİL UYUM
   ========================================================================== */

.modal-overlay {
    padding: 10px;
}

@media (max-width: 576px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        margin: 0;
    }
}

/* ==========================================================================
   24. TAILWIND CSS OVERRIDE - MOBİL GRID DÜZELTMELERİ
   ========================================================================== */

@media (max-width: 768px) {
    /* Grid column overrides */
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    .gap-4 {
        gap: 12px !important;
    }
    
    .gap-6 {
        gap: 15px !important;
    }
    
    /* Padding overrides */
    .p-4 {
        padding: 12px !important;
    }
    
    .p-5 {
        padding: 15px !important;
    }
    
    .p-6 {
        padding: 18px !important;
    }
    
    .px-4 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Text size */
    .text-xl {
        font-size: 1.1rem !important;
    }
    
    .text-2xl {
        font-size: 1.3rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   25. ÜRÜN DETAY SAYFASI - MOBİL UYUM
   ========================================================================== */

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .product-gallery {
        max-height: 350px;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .size-options {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .size-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .add-to-cart-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   26. INPUT iOS ZOOM ENGELLEMESİ
   ========================================================================== */

/* iOS'ta input focus zoom'u engellemek için minimum 16px font */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   27. SAYFA BAŞLIKLARI - MOBİL UYUM
   ========================================================================== */

@media (max-width: 768px) {
    .hizmetler h2,
    .referanslar h2,
    .biz-kimiz h2 {
        font-size: 2.5rem;
    }
    
    .hizmetler h2::before,
    .referanslar h2::before,
    .biz-kimiz h2::before {
        width: 40px;
        height: 3px;
    }
    
    .hizmetler-intro,
    .referanslar-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hizmetler h2,
    .referanslar h2,
    .biz-kimiz h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   28. SCROLL YASAKLAMA - MOBİL MENÜ AÇIKKEN
   ========================================================================== */

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ==========================================================================
   29. SAFE AREA - iPhone X ve sonrası için
   ========================================================================== */

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .site-footer,
    .drawer-footer,
    .modal-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   30. PRINT STİLLERİ - Yazdırma için temel ayarlar
   ========================================================================== */

@media print {
    .clean-header,
    .site-footer,
    .whatsapp-float,
    .ai-notif-chip,
    #cart-drawer,
    .cart-overlay,
    .modal-overlay {
        display: none !important;
    }
    
    main {
        padding-top: 0 !important;
    }
    
    body {
        background: white !important;
    }
}