/* style.css */
a { 
    text-decoration: none; 
    color: inherit; 
}

a:hover { 
    color: #2980b9; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
    box-sizing: border-box; 
}

/* Search Section */
section.search form {
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    margin: 5px 0 10px; 
    justify-content: center;
}

section.search {
    padding: 20px;
    min-width: unset !important;
    width: 100%;
    box-sizing: border-box;
}

section.search input[type="text"],
section.search input[type="number"],
section.search select {
    padding: 8px 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    min-width: unset; 
    font-size: 14px; 
    flex-grow: 1; 
    max-width: 100%;
}

section.search button {
    background-color: #0d6efd; 
    color: #fff; 
    border: none; 
    padding: 9px 18px; 
    border-radius: 4px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
    min-width: 100px;
}

section.search button:hover { 
    background-color: #0d6efd; 
}



/* Favorite Button */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
}

.fav-btn:hover {
    color: #ff4d4d;
}

.fav-btn.active {
    color: #ff4d4d;
}

/* Cards Layout */
.cards {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-content: start;
}

.card {
    background: white;
    position: relative;
    height: 370px; 
    border-radius: 0px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.4);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card .info {
    background-color:#ffffff;
    padding: 10px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 200;
}

.card h3 {
    margin: 0 0 6px; 
    color: rgb(47, 31, 25); 
    font-size: 1rem; 
    line-height: 1.2; 
    font-weight: 200;
}

.card p {
    margin: 0; 
    font-weight: 900; 
    color:#060707; 
    font-family: 'sans-serif'; 
    font-size: 1.05rem;
}

.card .location-date {
    margin-top: 6px;
    color: #555;
    font-weight: 400;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.video-icon {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color:rgb(243, 201, 77);
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
    pointer-events: none;
}

.card.vip {
    border: 2px solid #e67e22;
}

#filterForm select,
#filterForm input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Pagination */
.pagination {
    text-align: center; 
    margin: 40px 0 20px;
}

.pagination a {
    display: inline-block; 
    margin: 0 6px; 
    padding: 7px 14px;
    background-color: #ddd; 
    color: #333; 
    border-radius: 4px; 
    font-weight: 600; 
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #2980b9; 
    color: white;
}

.pagination a.active {
    background-color: #2980b9; 
    color: white; 
    pointer-events: none;
}

/* Filter Lists */
#rayon_list,
#qesebe_list,
#metro_list {
    display: none;
    margin-bottom: 10px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    background: #f9f9f9;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

#rayon_list label,
#qesebe_list label,
#metro_list label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

#rayon_list input,
#qesebe_list input,
#metro_list input {
    margin-right: 6px;
}

#rayon_list::-webkit-scrollbar,
#qesebe_list::-webkit-scrollbar,
#metro_list::-webkit-scrollbar {
    width: 6px;
}

#rayon_list::-webkit-scrollbar-thumb,
#qesebe_list::-webkit-scrollbar-thumb,
#metro_list::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

/* General Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: rgb(255, 255, 255);
}
/* ❄️ REAL QAR DƏNƏCİKLƏRİ */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9998;
    user-select: none;
    cursor: default;
    animation-name: snowfall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

@keyframes snowfall {
    0% {
        transform: translateY(0vh) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0.8;
    }
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 10px 20px;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    font-weight: 700;
    font-size: 24px;
    color: #0d6efd;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Dropdown */
.dropdown-menu {
    position: relative;
}

.dropdown-menu button {
    background: none;
    border: none;
    color: black;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    padding: 5px 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    background: #444;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    border-radius: 3px;
    min-width: 180px;
    z-index: 1001;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-content li a:hover {
    background: #555;
}

.dropdown-menu.show .dropdown-content {
    display: block;
}

/* Left Navigation */
nav.left-nav {
    display: flex;
    gap: 15px;
}

nav.left-nav a {
    color: rgba(0,0,0, 0.65);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

nav.left-nav a:hover {
    color: rgba(0, 0, 0, 0.82);
}

/* Main Navigation */
nav.main-nav a {
    color: rgba(0,0,0, 0.65);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav.main-nav a:hover {
    color: rgba(0, 0, 0, 0.82);
}

/* Slider */
.slider-wrapper {
    flex: 0 0 70%;
    max-width: 70%;
    max-height: 450px;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 8px;
}

.slider-image.active {
    opacity: 1;
}

.listings h2 {
    text-align: center;
}
.useful-section {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
}
.useful-section h2 {
    text-align: left;
    padding-left: 0;
}

.useful-section .useful-tags {
    justify-content: flex-start;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.checkbox-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.projects-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.projects-header h2 {
    margin: 0;
}

.projects-header a {
    text-decoration: none;
    color: #666;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.projects-header a:hover {
    background: #1F9DFF;
    color: #FFFFFF;
}

.img-wrapper {
    position: relative;
    display: inline-block;
}

.agent-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 128, 255, 0.7);
    color: white;
    font-weight: 900;
    font-size: 10px;
    padding: 4px 10px;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    z-index: 10;
    border-top-right-radius: 8px;
}

.card .info .address {
    font-size: 0.8rem;
    color: rgb(47, 31, 25);
    margin-top: 5px;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 200;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card .info .address i {
    margin-right: 5px;
    color: #2980b9;
}

h3 i {
    font-size: 1rem;
    color: #007bff;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 90;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666666;
    font-size: 0.8rem;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #0d6efd;
}
.mobile-nav-item .add-btn-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    background-color: #22c55e !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    margin-bottom: 3px !important;
}
.qiymet-wrapper {
    position: relative;
    display: inline-block;
}

.qiymet {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    background-color: #f4f4f4;
    padding: 6px 12px;
    border-radius: 8px;
}

.vip-emoji {
    position: absolute;
    bottom: -6px;
    right: -6px;
    font-size: 18px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.card .info .details {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
    font-weight: 400;
}
.logo img {
    width: auto;
    height: 25px;
    display: block;
    max-width: 100%;
    vertical-align: middle;
    margin-top: -6px;
}

/* Mobil üçün */
@media (max-width: 768px) {
    .logo img {
        height: 20px;
        width: auto;
    }
}

/* Footer Styles */
footer {
    background-color: #f0f0f0;
    color: #ccc;
    padding: 30px 20px 15px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    color: #000000;
    margin-bottom: 15px;
}

.footer-section p {
    color: #333;
    margin: 5px 0;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    color: #333;
    font-size: 13px;
    margin-bottom: 50px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    width: 28px;
    height: 28px;
}

.social-link img {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.social-link:hover img {
    transform: scale(1.15);
}

/* Media Queries */
@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
    
    nav a {
        margin-left: 10px; 
        font-size: 14px;
    }
    
    header {
        justify-content: center; 
        flex-wrap: wrap; 
        gap: 10px;
    }
    
    .logo a {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    .left-nav,
    .main-nav {
        display: none !important;
    }
    
    .slider-wrapper {
        flex: none !important;
        width: 100%;
        max-width: 100% !important;
        height: 250px !important;
        margin-bottom: 20px;
    }

    .slider-container {
        position: relative !important;
        height: 100% !important;
    }

    .slider-image {
        position: absolute !important;
        opacity: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transition: opacity 1s ease-in-out !important;
    }
    
    .slider-image.active {
        opacity: 1 !important;
    }
    
    .dropdown-content {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }
    
    section.search > div {
        flex-direction: column !important;
    }
    
    section.search > div > div:last-child {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px; 
        box-sizing: border-box;
    }
    
    section.search form select,
    section.search form input {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .logo-dropdown {
        width: 100%;
    }
    
    .header-left {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .social-buttons {
        justify-content: center;
    }
}
    /* Faydalı Linklər Bölməsi */
    .useful-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 25px;
        justify-content: flex-start;
        max-width: 100%;
        margin-right: 0;
        padding-left: 0;
    }
    
    .useful-tag {
        display: inline-block;
        padding: 3px 10px;
        background-color: #f0f0f0;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 400;
        transition: all 0.3s ease;
        border: 1px solid #e0e0e0;
    }
    
    .useful-tag:hover {
        background-color: #0d6efd;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
        border-color: #0d6efd;
    }
    
    /* Mobil responsive */
    @media (max-width: 600px) {
        .useful-tags {
            gap: 8px;
            padding: 0 10px;
        }
        
        .useful-tag {
            padding: 8px 14px;
            font-size: 13px;
        }
    }
    
/* =============================================
   MARQUEE LENTİ - SEO optimized
   ============================================= */
.marquee-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background: linear-gradient(135deg, rgb(13, 205, 189) 0%, rgb(15, 49, 230) 50%, rgb(20, 184, 166) 100%);
    padding: 3px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marquee-wrapper {
    display: inline-block;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee {
    display: inline-block;
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding-right: 100px;
    line-height: 1;
}

/* Hover zamanı dayandır */
.marquee-container:hover .marquee-wrapper {
    animation-play-state: paused;
}

/* Seamless scroll animasiyası */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobil optimizasiya */
@media (max-width: 768px) {
    .marquee-container {
        padding: 3px 0;
    }

    .marquee {
        font-size: clamp(9px, 4vw, 13px);
        padding-right: 60px;
    }

    .marquee-wrapper {
        animation-duration: 20s;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .marquee {
        font-size: clamp(18px, 3vw, 22px);
        padding-right: 80px;
    }
}

/* Accessibility - reduced motion üçün */
@media (prefers-reduced-motion: reduce) {
    .marquee-wrapper {
        animation: none;
    }
    
    .marquee-container {
        overflow-x: auto;
    }
}
/* ========================================
   MOBİL FİLTR DÜYMƏSİ
======================================== */

.mobile-filter-btn {
    display: none; /* Desktop-da gizli */
    position: fixed;
    bottom: 90px; /* Mobile nav-dan yuxarı */
    right: 20px;
    z-index: 998;
    
    /* Bina.az mavi rəngi */
    background: #4169E1; /* Royal Blue */
    color: white;
    border: none;
    border-radius: 50px;
    
    /* Ölçülər */
    padding: 16px 24px;
    min-width: 130px;
    height: 56px;
    
    /* Mətn */
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    
    /* Kölgə */
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.4);
    
    cursor: pointer;
    
    /* Flexbox (ikon + mətn) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    /* Animasiya */
    opacity: 0;
    transform: scale(0) translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* SVG ikon */
.mobile-filter-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* Mətn stil */
.mobile-filter-btn span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Düymə görünəndə */
.mobile-filter-btn.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Klik effekti */
.mobile-filter-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.3);
}

.mobile-filter-btn:active svg {
    transform: rotate(5deg);
}

/* Hover effekti (tablet üçün) */
@media (hover: hover) and (max-width: 768px) {
    .mobile-filter-btn:hover {
        background: #3152C7; /* Daha tünd mavi */
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 6px 25px rgba(65, 105, 225, 0.5);
    }
}

/* Yalnız mobil cihazlarda göstər */
@media (max-width: 768px) {
    .mobile-filter-btn {
        display: flex;
    }
}

/* Çox kiçik ekranlarda (iPhone SE) */
@media (max-width: 375px) {
    .mobile-filter-btn {
        bottom: 80px;
        right: 15px;
        padding: 14px 20px;
        min-width: 120px;
        height: 52px;
        font-size: 15px;
    }
    
    .mobile-filter-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Pulse animasiyası */
@keyframes filterPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(65, 105, 225, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(65, 105, 225, 0.6);
    }
}

.mobile-filter-btn.show {
    animation: filterPulse 2s infinite;
}

/* ========================================
   BOTTOM SHEET MODAL
======================================== */

/* Overlay (qaraltı) */
.filter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filter-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal özü */
.filter-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.filter-modal.active {
    transform: translateY(0);
}

/* Modal Header */
.filter-modal-header {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

/* Yuxarıdakı tutacaq (handle) */
.modal-handle {
    width: 40px;
    height: 4px;
    background: #d0d0d0;
    border-radius: 2px;
    margin: 0 auto 15px;
}

.filter-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close-btn:active {
    background: #e0e0e0;
}

/* Modal Body */
.filter-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
}

/* Modal içindəki filtr inputları */
.filter-modal-body select,
.filter-modal-body input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: white;
}

.filter-modal-body select:focus,
.filter-modal-body input:focus {
    outline: none;
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.filter-modal-body .checkbox-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.filter-modal-body .checkbox-right input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.3);
}

/* Modal Footer */
.filter-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.modal-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-reset {
    background: white;
    color: #666;
    border: 2px solid #ddd;
}

.modal-btn-reset:active {
    background: #f5f5f5;
}

.modal-btn-apply {
    background: #4169E1;
    color: white;
}

.modal-btn-apply:active {
    background: #3152C7;
    transform: scale(0.98);
}

/* Desktop-da modalı göstərmə */
@media (min-width: 769px) {
    .filter-modal,
    .filter-modal-overlay {
        display: none !important;
    }
}
/* ========================================
   FİLTR SEKSİYALARI MOBIL
======================================== */

.filter-section {
    padding: 0 20px 15px;
}

/* Ətraflı filtr düyməsi */
.advanced-filter-toggle {
    width: calc(100% - 40px);
    margin: 10px 20px;
    padding: 14px 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.advanced-filter-toggle:active {
    background: #f8f9fa;
    border-color: #4169E1;
}

.advanced-filter-toggle .toggle-icon {
    margin-left: auto;
    transition: transform 0.3s;
    font-size: 18px;
}

.advanced-filter-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Ətraflı filtr bölməsi (başlanğıcda gizli) */
.advanced-section {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-section.active {
    max-height: 1000px; /* Kifayət qədər böyük
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Input/Select stil */
.filter-section label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.filter-section input,
.filter-section select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    transition: border-color 0.3s;
}

.filter-section input:focus,
.filter-section select:focus {
    outline: none;
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

/* Checkbox stil */
.filter-section .checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section .checkbox-wrapper:last-child {
    border-bottom: none;
}

.filter-section .checkbox-wrapper label {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.filter-section .checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.3);
    cursor: pointer;
}

/* 2 sütun (qiymət, mərtəbə) */
.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-row input {
    margin-bottom: 0;
}
.add-btn-circle {
    width: 32px;
    height: 32px;
    background-color: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 3px;
}
.useful-section {
  margin-top: 40px;
  margin-bottom: 40px;
  min-height: 100px;
  contain: layout;
}

.useful-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
}

.useful-tag {
  display: inline-block;
  /* mövcud stillərini saxla */
}