/* کارت محصول */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* تصویر محصول */
.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

/* بج محصول */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

/* اطلاعات محصول */
.product-info {
    border-top: 2px solid #f8f9fa;
}

.product-location {
    font-size: 14px;
    color: #666;
}

.product-location i {
    margin-left: 5px;
    font-size: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.product-title a:hover {
    color: #667eea;
}

/* متا اطلاعات */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-left: 5px;
    font-size: 12px;
    color: #667eea;
}

/* قیمت و امتیاز */
.product-price {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.price {
    font-size: 18px;
}

.rating-stars {
    color: #ffc107;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
}

/* عدم وجود نتیجه */
.no-results {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    border-radius: 12px;
}

/* پیجینیشن */
.pagination {
    justify-content: center;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.pagination .page-link {
    color: #667eea;
    border-radius: 6px;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: #f8f9ff;
    color: #667eea;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .product-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-inner {
        flex-direction: column;
    }
    
    .search-field {
        max-width: 100%;
    }
}
        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: #f8f9fa;
            direction: rtl;
            overflow-x: hidden
        }
    
        .red-t {
            color: red
        }
    
        .property-title {
            font-weight: 800;
            color: #333;
        }
    
        .price-tag {
            color: #2ecc71;
            font-weight: 700;
            font-size: 1.4rem;
        }
    
        .facility-box {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            margin-bottom: 10px;
            transition: 0.3s;
        }
    
        .facility-box:hover {
            border-color: #0d6efd;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
    
        .facility-icon {
            font-size: 1.5rem;
            color: #0d6efd;
            margin-bottom: 5px;
            display: block;
        }
    
        .sidebar-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 20px;
            position: sticky;
            top: 20px;
        }
    
        .swiper-main {
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 10px;
        }
    
        .swiper-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        .swiper-thumbs {
            height: 100px;
            box-sizing: border-box;
            padding: 10px 0;
        }
    
        .swiper-thumbs .swiper-slide {
            width: 25%;
            height: 100%;
            opacity: 0.4;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
        }
    
        .swiper-thumbs .swiper-slide-thumb-active {
            opacity: 1;
            border: 2px solid #0d6efd;
        }
    
        .swiper-thumbs img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        .review-card {
            background: #fff;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 15px;
            border: 1px solid #eee;
        }
    
        .calendar-day {
            cursor: pointer;
            text-align: center;
            padding: 5px;
            border-radius: 5px;
        }
    
        .calendar-day.selected {
            background: #0d6efd;
            color: #fff;
        }
    
        .calendar-day.disabled {
            color: #ccc;
            text-decoration: line-through;
            cursor: not-allowed;
        }
    
        .btn-reserve {
            width: 100%;
            padding: 12px;
            font-weight: bold;
            font-size: 1.1rem;
        }
    
      .gallery-wrapper {
            position: relative;
            width: 100%;
            height: 85vh;
            min-height: 500px;
            background: #1a1a2e;
            margin-bottom: 30px;
            border-radius: 0 0 20px 20px;
            overflow: hidden;
        }
    
        .gallery-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 20;
            background: rgba(0, 0, 0, 0.6);
            padding: 15px 25px;
            border-radius: 12px;
            color: #fff;
            backdrop-filter: blur(5px);
        }
    
        .gallery-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 5px;
            display: block;
        }
    
        .gallery-meta {
            font-size: 0.9rem;
            opacity: 0.9;
        }
    
        /* Swiper Main */
        .gallery-slider {
            width: 100%;
            height: 100%;
        }
    
        .gallery-slider .swiper-slide {
            position: relative;
        }
    
        .gallery-slider .swiper-slide::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
            z-index: 2;
            pointer-events: none;
        }
    
        .gallery-slider img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    
        /* Swiper Thumbs */
        .gallery-thumbs {
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 20;
            width: 280px;
            height: 80px;
            padding: 5px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(5px);
        }
    
        .gallery-thumbs .swiper-slide {
            width: 70px;
            height: 100%;
            opacity: 0.5;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: 0.3s;
            border: 2px solid transparent;
        }
    
        .gallery-thumbs .swiper-slide-thumb-active {
            opacity: 1;
            border-color: #fff;
            transform: scale(1.05);
        }
    
        .gallery-thumbs img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        /* Responsive */
        @media (max-width: 768px) {
            .gallery-wrapper {
                height: 60vh;
            }
    
            .gallery-thumbs {
                width: 90%;
                right: 5%;
                bottom: 15px;
            }
    
            .gallery-thumbs .swiper-slide {
                width: 60px;
            }
    
            .gallery-overlay {
                right: 10px;
                left: 10px;
            }
        }