/* 🌾 KÖY MEYDANI - DOĞAL EVİM & ÇİFTLİK TEMASI (MODERN ORGANİK TASARIM) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@700&display=swap');

:root {
    --primary: #1b4d2e;          /* Koyu Organik Köy Yeşili */
    --primary-light: #2d6a4f;
    --primary-dark: #143620;
    
    --accent: #d97706;           /* Sıcak Toprak / Güneş Sarısı */
    --accent-red: #c2410c;       /* Salça / Domates Doğal Kırmızısı */
    --accent-gold: #eab308;
    
    --bg-main: #fbf9f5;          /* Görsel 2'deki Doğal Krem / Kağıt Dokusu */
    --bg-card: #ffffff;
    --border: #e8e3d9;           /* Yumuşak Doğal Kenarlık */
    
    --text-main: #1c1917;        /* Sıcak Koyu Kömür */
    --text-muted: #78716c;       /* Toprak Grisi */
    --text-light: #a8a29e;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 14px rgba(60, 40, 20, 0.05);
    --shadow-hover: 0 8px 24px rgba(27, 77, 46, 0.12);
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* 1. NAVBAR & MOBİL DOSTU HEADER */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #faf7f2;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-nav-icon:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.9rem;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    background: #f5f0e6;
}

/* 2. SOL IZGARA ÇEKMECE MENÜ (SIDEBAR DRAWER) */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 2600;
    box-shadow: 6px 0 28px rgba(0,0,0,0.25);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.sidebar-drawer.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #fdfcf9;
}

.btn-close-sidebar {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.drawer-user-box {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.drawer-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.6px;
    padding: 1rem 1.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ÇEKMECE İÇİNDEKİ KATEGORİ IZGARASI */
.drawer-cat-grid {
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.drawer-cat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
    background: #faf7f2;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}
.drawer-cat-card:hover, .drawer-cat-card.active {
    background: #f0fdf4;
    border-color: var(--primary);
    transform: translateX(4px);
}
.drawer-cat-card.active {
    font-weight: 700;
}

.drawer-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.drawer-cat-icon.icon-all { background: #e6f4ea; color: #137333; }
.drawer-cat-icon.icon-tarla { background: #ecfdf5; color: #047857; }
.drawer-cat-icon.icon-hayvan { background: #fef3c7; color: #b45309; }
.drawer-cat-icon.icon-mahsul { background: #fee2e2; color: #b91c1c; }
.drawer-cat-icon.icon-ekipman { background: #fef3c7; color: #d97706; }

.drawer-cat-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}
.drawer-cat-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.drawer-links-list {
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.drawer-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}
.drawer-link-item:hover {
    background: #f5f0e6;
    color: var(--primary);
}
.drawer-link-item.highlight {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
}
.drawer-link-item.highlight:hover {
    background: var(--primary-light);
    color: #ffffff;
}

.drawer-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    background: #fdfcf9;
}

/* 3. BÜYÜTEÇ ARAMA VE FİLTRELEME MODALI */
.search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-modal-backdrop.active .search-modal-box {
    transform: translateY(0);
}

.search-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fdfcf9;
}
.search-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.search-modal-body {
    padding: 1.5rem;
}

.search-modal-input-group {
    position: relative;
    margin-bottom: 1.25rem;
}
.search-modal-input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}
.search-modal-input-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
    background: #faf7f2;
    transition: var(--transition);
}
.search-modal-input-group input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 46, 0.12);
}

.search-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    background: #faf7f2;
    color: var(--text-main);
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.search-modal-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* KATEGORİ SAYFALARI FİLTRE KARTI */
.search-box-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-group .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}
.search-input-group input {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    background: #faf7f2;
    outline: none;
}

/* 4. ŞIK VE MODERN YATAY KATEGORİ ÇİPLERİ (APP CHIPS) */
.category-chips-wrapper {
    max-width: 1300px;
    width: 100%;
    margin: 1.25rem auto 1rem;
    padding: 0 1.5rem;
    overflow: hidden;
}

.category-chips-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.25rem;
}
.category-chips-bar::-webkit-scrollbar {
    display: none;
}

.cat-pill-chip {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    flex-shrink: 0;
}
.cat-pill-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.cat-pill-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(27, 77, 46, 0.25);
}
.cat-pill-chip .chip-count {
    font-size: 0.75rem;
    background: #f1ede4;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 800;
}
.cat-pill-chip.active .chip-count {
    background: rgba(255,255,255,0.22);
    color: #ffffff;
}

/* AKTİF ARAMA / FİLTRE ROZETİ */
.active-filter-banner {
    max-width: 1300px;
    margin: 0 auto 1rem;
    padding: 0 1.5rem;
}
.active-filter-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}
.btn-clear-chip {
    background: none;
    border: none;
    color: #b45309;
    cursor: pointer;
    font-weight: 800;
    padding: 0 2px;
}

/* 5. GÖRSEL 2'DEKİ KAYAN VİTRİN (CAROUSEL / SLIDER) */
.carousel-section {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    overflow: hidden;
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    width: 100%;
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
}

.carousel-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d6d3cb;
    background: #ffffff;
    color: #44403c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}
.arrow-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Firefox */
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome */
}

/* VİTRİN KARTI (Görsel 2 Tasarımı) */
.vitrin-card {
    flex: 0 0 280px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}

.vitrin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.vitrin-img-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f5f0e6;
}

.vitrin-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vitrin-card:hover .vitrin-img-wrapper img {
    transform: scale(1.06);
}

.vitrin-pill-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1b4d2e;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vitrin-cat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.vitrin-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.vitrin-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}

.vitrin-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 0.25rem;
}

.vitrin-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.btn-card-action {
    margin-top: auto;
    background: #ffffff;
    border: 1px solid #d6d3cb;
    color: var(--primary);
    padding: 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.vitrin-card:hover .btn-card-action {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* 6. GÖRSEL 2'DEKİ EL ÇİZİMİ YEŞİL ALT ÇİZGİLİ BÖLÜM BAŞLIĞI */
.organic-section-title-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.organic-section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.brush-underline {
    display: block;
    width: 140px;
    height: 10px;
    margin: 4px auto 0;
    background: #84cc16;
    border-radius: 6px;
    opacity: 0.85;
}

/* 7. TÜM İLANLAR GRID */
.section-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    width: 100%;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* YÜZEN WHATSAPP BUTONU (Görsel 2'deki gibi sol altta) */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

/* FOOTER */
.footer {
    background: #143620;
    color: #e2e8f0;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: auto;
    border-top: 4px solid #84cc16;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: #84cc16;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

.legal-notice-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-card);
}

/* MOBİL VE TABLET UYUMU */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0.75rem;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    .nav-container {
        gap: 0.35rem;
        width: 100%;
    }
    .nav-left {
        gap: 0.4rem;
        flex-shrink: 0;
    }
    .logo-brand {
        gap: 0.35rem;
    }
    .logo-text h1 {
        font-size: 1.05rem;
        white-space: nowrap;
    }
    .logo-icon {
        font-size: 1.35rem;
    }
    .btn-nav-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        flex-shrink: 0;
        padding: 0;
    }
    .nav-actions {
        gap: 0.35rem;
        flex-shrink: 0;
    }
    .nav-actions .btn {
        padding: 0.42rem 0.65rem;
        font-size: 0.76rem;
    }
    #userAuthArea {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }
    #userAuthArea .btn,
    .btn-nav-auth {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: var(--radius-sm) !important;
        font-size: 0.95rem !important;
        min-width: 34px !important;
    }

    .search-box-card {
        grid-template-columns: 1fr;
        padding: 0.85rem;
        gap: 0.5rem;
    }

    /* KATEGORİLER: EKRANA TAM OTURAN, ASLA TAŞMAYAN VE SOLA KAYMAYAN ÇİPLER */
    .category-chips-wrapper {
        padding: 0 0.75rem;
        margin: 0.75rem auto 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .category-chips-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
        white-space: normal;
        padding-bottom: 0;
    }
    .cat-pill-chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.78rem;
        gap: 0.35rem;
        border-radius: var(--radius-full);
        flex-shrink: 0;
    }
    .cat-pill-chip .chip-count {
        font-size: 0.7rem;
        padding: 1px 5px;
    }

    /* VİTRİN SLIDER: KULLANICI KONTROLÜNDE, SABİT VE TAŞMAYAN GÖRÜNÜM */
    .carousel-section {
        padding: 0 0.75rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .carousel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    .carousel-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
        white-space: nowrap;
    }
    .carousel-arrows {
        display: none !important; /* Mobilde oklar ekranı taşırmaz, parmakla kaydırılır */
    }
    .carousel-track {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
        width: 100%;
        max-width: 100%;
        padding-bottom: 0.5rem;
    }
    .vitrin-card {
        flex: 0 0 76vw;
        max-width: 290px;
        scroll-snap-align: start;
        border-radius: var(--radius-md);
        box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    }
    .vitrin-img-wrapper {
        height: 155px;
    }
    .vitrin-body {
        padding: 0.75rem;
    }
    .vitrin-title {
        font-size: 0.86rem;
        height: 2.2rem;
        margin-bottom: 0.25rem;
    }
    .vitrin-price {
        font-size: 1.05rem;
        margin-bottom: 0.25rem;
    }
    .vitrin-location {
        font-size: 0.75rem;
    }

    .section-wrapper {
        padding: 0 0.75rem 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .organic-section-title {
        font-size: 1.35rem;
    }
    .brush-underline {
        width: 90px;
        height: 7px;
    }

    .legal-notice-card {
        padding: 1rem;
        margin-top: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .floating-whatsapp {
        bottom: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
    }

    .profile-container {
        padding: 0 1rem;
        margin: 1rem auto 3rem;
    }
    .profile-header-card {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .admin-layout {
        padding: 0 0.75rem;
        margin: 1rem auto;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-tabs {
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: inline !important;
    }

    .search-modal-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .listings-grid .vitrin-card {
        flex: unset;
        border-radius: var(--radius-sm);
    }
    .listings-grid .vitrin-img-wrapper {
        height: 120px;
    }
    .listings-grid .vitrin-body {
        padding: 0.55rem;
    }
    .listings-grid .vitrin-title {
        font-size: 0.78rem;
        height: 2.1rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }
    .listings-grid .vitrin-price {
        font-size: 0.92rem;
        margin-bottom: 0.15rem;
    }
    .listings-grid .vitrin-location {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    .listings-grid .btn-card-action {
        font-size: 0.7rem;
        padding: 0.35rem;
    }

    #editListingModal form > div[style*="grid-template-columns"],
    #adminEditListingModal form > div[style*="grid-template-columns"],
    #profileUpdateForm > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
