﻿/* =========================================
   1. استایل‌های اصلی و صفحه خانه (کد خودتان)
   ========================================= */
@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekanwebregular.eot');
    src: url('../fonts/iranyekanwebregular.eot') format('embedded-opentype'), url('../fonts/iranyekanwebregular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7; /* اضافه شده برای هاور دکمه‌ها */
    --secondary-color: #6c757d;
    --accent-color: #f58d00;
    --light-bg: #f8f9fa;
    --footer-bg: #f8f9fa;
    --footer-text: #495057;
    --border-color: #eaeaea; /* اضافه شده */
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); /* اضافه شده */
}

body {
    font-family: 'IranYekan', 'Segoe UI', Tahoma, sans-serif;
    background-color: #ffffff;
    text-align: right;
    direction: rtl !important;
    
}

a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}
/* کلاس کمکی برای آیکون‌ها */
.icon-svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

.text-gold {
    color: #ffc107;
    fill: #ffc107;
}

.text-red {
    color: #dc3545;
    fill: #dc3545;
}

.text-green {
    color: #198754;
    fill: #198754;
}

.text-blue {
    color: #0d6efd;
    fill: #0d6efd;
}

.container {
    width: 1600px !important;
    max-width: 1600px !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.sp_login {
    border: 1px solid #ededed;
    border-radius: 10px;
    color: #e31e1e;
    font-size: 14px;
    padding: 7px 10px;
    margin-right: 40px;
}

    .sp_login a {
        color: #16457d;
    }
.search-top {
    width: 350px;
    background: rgb(118, 172, 251, 0.10);
    margin-right: 100px;
    height: 40px;
    border-radius: 10px;
}
    .search-top input[type=text] {
        width: 300px;
        padding-right:10px;
        border-radius: 10px;
        background: none !important;
        border: 0 !important;
        height: 40px;
    }
        .search-top input[type=text]::placeholder {
            font-size: 14px !important;
            color:#16457d !important;
        }

    .search-top button {
        width: 40px;
        height:30px;
        line-height:20px;
        background: none !important;
        border: 0 !important;
        
    }
/* استایل‌های منوی سایدبار راست (Offcanvas) */
.offcanvas.offcanvas-end {
    width: 300px;
    border-right: none;
    border-left: 1px solid rgba(0,0,0,.1);
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 1.5rem 1rem;
}

.offcanvas-title {
    font-weight: 700;
    color: var(--primary-color);
}

.offcanvas-body {
    padding: 1.5rem;
}

    .offcanvas-body .nav-item {
        margin-bottom: 0.5rem;
    }

    .offcanvas-body .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        color: #333;
        font-weight: 500;
        transition: all 0.3s;
    }

        .offcanvas-body .nav-link:hover,
        .offcanvas-body .nav-link.active {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
            padding-right: 1.5rem;
        }

        .offcanvas-body .nav-link i {
            width: 24px;
            text-align: center;
            margin-left: 8px;
            color: var(--secondary-color);
        }

        .offcanvas-body .nav-link:hover i,
        .offcanvas-body .nav-link.active i {
            color: var(--primary-color);
        }

    .offcanvas-body .btn-group {
        width: 100%;
        margin-top: 1.5rem;
    }

        .offcanvas-body .btn-group .btn {
            flex: 1;
        }

.offcanvas-backdrop.show {
    opacity: 0.7 !important;
}

/* دکمه همبرگر */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

.navbar-toggler-icon-custom {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: all 0.3s;
}

    .navbar-toggler-icon-custom::before,
    .navbar-toggler-icon-custom::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #333;
        right: 0;
        transition: all 0.3s;
    }

    .navbar-toggler-icon-custom::before {
        top: -8px;
    }

    .navbar-toggler-icon-custom::after {
        bottom: -8px;
    }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom {
    background-color: transparent;
}

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

/* هیرو و فرم جستجو */
.hero-section {
    background: url('/img/srchBg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.search-card-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.search-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .search-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }

    .search-card .form-label {
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .search-card .form-group {
        margin-bottom: 0;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon svg {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #718096;
        z-index: 1;
    }

    .input-with-icon .form-control,
    .input-with-icon .form-select {
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.85rem 45px 0.85rem 1rem;
        font-size: 1rem;
        background: white;
        color: #2d3748;
        transition: all 0.3s ease;
        height: 56px;
        min-height: 56px;
    }

        .input-with-icon .form-control:focus,
        .input-with-icon .form-select:focus {
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
            outline: none;
        }

.guests-selector {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 5px;
}

.guest-btn {
    background: #f7fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .guest-btn:hover {
        background: #edf2f7;
        color: #2d3748;
    }

.guests-selector .form-control {
    border: none !important;
    background: transparent;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.search-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    height: 56px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

    .search-btn:hover {
        background: linear-gradient(135deg, #4338ca, #6d28d9);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    }

/* Owl Carousel Styles */
.carousel-section {
    padding: 3rem 0;
}

    .carousel-section .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

.owl-carousel .owl-stage-outer {
    padding: 10px 5px 30px 5px;
}

.owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .owl-nav button {
        width: 45px;
        height: 45px;
        background-color: white !important;
        color: var(--primary-color) !important;
        border-radius: 50% !important;
        border: 2px solid var(--primary-color) !important;
        margin: 0 10px;
        font-size: 1.5rem !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

        .owl-nav button:hover {
            background-color: var(--primary-color) !important;
            color: white !important;
            transform: scale(1.05);
        }

        .owl-nav button.disabled {
            opacity: 0.4;
            cursor: default;
        }

            .owl-nav button.disabled:hover {
                background-color: white !important;
                color: var(--primary-color) !important;
                transform: none;
            }

/* Hotel Card (Carousel) */
.hotel-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

    .hotel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .hotel-card img {
        height: 200px;
        object-fit: cover;
    }

    .hotel-card .card-body {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        height: calc(100% - 200px);
    }
    .hotel-card .card-text {
        font-size: 13px !important;        
        height: 40px;
        line-height: 20px;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom:0 !important;
    }

.hotel-rating {
    color: #ffc107;
}

.hotel-price {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: bold;
}

    .hotel-price small {
        color: var(--secondary-color);
        font-size: 0.9rem;
    }

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.original-price {
    font-size: 0.9rem;
    color: #888 !important;
}

.price-section {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border-right: 4px solid var(--accent-color);
}

.fas {
    font-size: 0.9rem;
}

/* City Card (Carousel) */
.city-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    margin: 0 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .city-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .city-card:hover img {
        transform: scale(1.05);
    }

    .city-card .overlay {
        position: absolute;
        bottom: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: white;
        width: 100%;
        padding: 1.5rem;
    }

/* FAQ Section */
.faq-section {
    background-color: white !important;
    border-radius: 15px;
    padding: 4rem 0 !important;
    margin: 3rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

    .faq-section .row.justify-content-center {
        justify-content: center !important;
    }

    .faq-section .text-center {
        text-align: center !important;
        margin-bottom: 3rem;
    }

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

    .faq-item:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        border-color: var(--primary-color);
    }

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: none;
    width: 100%;
    text-align: right;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    transition: background-color 0.3s;
}

    .faq-question:hover {
        background-color: #f8f9fa;
    }

    .faq-question.active {
        background-color: #f0f7ff;
        color: var(--primary-color);
        border-right: 4px solid var(--primary-color);
    }

.faq-icon {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: white;
    line-height: 1.8;
    color: #555;
}

    .faq-answer.show {
        padding: 1.25rem 1.5rem;
        max-height: 500px;
    }

    .faq-answer p {
        margin-bottom: 0;
    }

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    border-radius: 20px;
    margin: 4rem auto;
    border: 1px solid #dee2e6;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            display: block;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

.stat-text {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.stat-desc {
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid #dee2e6;
    padding-top: 3rem;
}

.footer-links .list-unstyled {
    padding-right: 0;
}

.footer-links h6 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

    .footer-links h6:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background-color: var(--accent-color);
        border-radius: 2px;
    }

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--footer-text);
    transition: all 0.3s;
    display: inline-block;
    padding: 2px 0;
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 8px;
    }

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
}

.phone-number {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    direction: ltr;
    display: inline-block;
}

.phone-label {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 50%;
    color: var(--footer-text);
    transition: all 0.3s;
    margin-left: 10px;
}

    .social-icons a:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }

.copyright {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 2rem;
    color: #6c757d;
    padding-bottom:10px;
}
.copyright p {
    font-size:13px;
}

/* Blog */
.blog .blog-box .blog-item {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: #f8f9fa;
    margin: 5px;
}

    .blog .blog-box .blog-item .pic-blog {
        position: relative;
    }

        .blog .blog-box .blog-item .pic-blog img {
            border-radius: 15px;
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .blog .blog-box .blog-item .pic-blog .user {
            position: absolute;
            display: flex;
            bottom: 10px;
            right: 10px;
        }

            .blog .blog-box .blog-item .pic-blog .user .pic-user {
                margin-left: 5px;
            }

                .blog .blog-box .blog-item .pic-blog .user .pic-user img {
                    max-width: 45px;
                    border-radius: 50%;
                }

            .blog .blog-box .blog-item .pic-blog .user .name-user h6 {
                font-size: 14px;
                color: #ffffff;
            }

            .blog .blog-box .blog-item .pic-blog .user .name-user p {
                font-size: 12px;
                color: #a4a4a4;
            }

    .blog .blog-box .blog-item .info-blog {
        padding: 0 8px;
        position: relative;
    }

        .blog .blog-box .blog-item .info-blog div {
            overflow: hidden;
            height: 140px;
        }

        .blog .blog-box .blog-item .info-blog .date {
            display: block;
            font-size: 12px;
            background: #f58d00;
            color: #fff;
            position: absolute;
            top: -25px;
            left: 25px;
            border-radius: 20px;
            width: auto;
            border: 4px solid #f8f9fa;
            padding: 0 10px;
            height: 37px;
            line-height: 30px;
            text-align: center;
        }

        .blog .blog-box .blog-item .info-blog .title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-weight: 600;
            padding-top: 15px;
            font-size: 17px !important;
            color: #000 !important;
        }

            .blog .blog-box .blog-item .info-blog .title:hover {
                color: #063637;
            }

        .blog .blog-box .blog-item .info-blog .text {
            font-size: 15px;
            color: #3d3d3d;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 30px;
        }

.blog .blog-box .owl-nav {
    display: none !important;
}

/* Address Bar */

/* --- نوار آدرس (Breadcrumb) --- */
.address-bar {
   
    padding: 20px 0;
    margin-bottom: 5px;
  
}

.box-address {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .box-address li {
        display: inline-flex;
        align-items: center;
        font-size: 0.9rem;
        color: var(--secondary-color);
    }

        .box-address li a {
            color: var(--secondary-color);
            display: flex;
            align-items: center;
            transition: color 0.3s;
        }

            .box-address li a:hover {
                color: var(--primary-color);
            }

        .box-address li i {
            font-size: 10px;
            margin: 0 10px;
            color: #ccc;
        }

        .box-address li.active {
            color: var(--primary-color);
            font-weight: 600;
        }



/* =================================================================
   2. استایل‌های مدرن و فلت صفحه هتل (بازنویسی شده)
   ================================================================= */

/* --- تنظیمات کلی و هدر --- */
.hotel-header {
    background: #fff;
    padding: 2rem 0 1rem;
    margin-bottom: 2rem;
    /* حذف خط و سایه برای ظاهر تمیزتر */
}

.hotel-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.hotel-stars {
    font-size: 1.2rem;
    color: #ffc107;
    margin-right: 15px;
    vertical-align: middle;
}

/* --- گالری مدرن --- */
.gallery-section {
    margin-bottom: 4rem;
}

.main-gallery-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* سایه نرم فقط برای عکس اصلی */
}

.main-gallery-img {
    height: 500px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
    cursor: zoom-in;
    display: block; /* مهم برای کلیک */
}

.main-gallery-wrapper:hover .main-gallery-img, .main-gallery-wrapper:hover .sec-gallery-img {
    transform: scale(1.02);
}

.sec-gallery-img {
    height: 242px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
    cursor: zoom-in;
    display: block; /* مهم برای کلیک */
}

.thumbnail-container {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin; /* اسکرول بار نازک */
}

.thumbnail-img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

    .thumbnail-img.active, .thumbnail-img:hover {
        opacity: 1;
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

/* --- حذف حالت کارت (Card) و تبدیل به سکشن تمیز --- */
/* این کلاس قبلاً باکس و سایه داشت، الان حذف شد */
.hotel-details-card {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 2rem;
    padding: 0;
}

/* هدر سکشن‌ها: فقط یک تیتر بولد */
.details-header {
    background: transparent;
    padding: 0 0 1rem 0;
    border-bottom: 1px solid #eee; /* خط نازک جداکننده */
    margin-bottom: 1.5rem;
}

.details-title {
    font-weight: 800;
    color: #222;
    font-size: 1.5rem;
    position: relative;
    padding-right: 15px;
}

    /* خط رنگی کنار تیتر برای زیبایی */
    .details-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 5px;
        bottom: 5px;
        width: 4px;
        background: var(--accent-color);
        border-radius: 4px;
    }

.details-body {
    padding: 0;
}

/* آیتم‌های اطلاعاتی (ساعت ورود و خروج و...) */
.detail-item {
    display: flex;
    align-items: center;
    background: #fff; /* باکس‌های کوچک سفید */
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

    .detail-item:hover {
        border-color: var(--primary-color);
    }

.detail-icon {
    width: 45px;
    height: 45px;
    background: #f4f7ff;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
}

.amenity-badge {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #444;
    padding: 8px 16px;
    border-radius: 50px; /* کاملاً گرد */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

    .amenity-badge:hover {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    .amenity-badge i {
        margin-left: 5px;
    }

    .amenity-badge:hover i {
        color: #fff !important;
    }


/* --- متن توضیحات (Read More) --- */
.description-content {
    color: #555;
    line-height: 1.9;
    font-size: 1rem;
    text-align: justify;
    max-height: 140px;
    overflow: hidden;
    position: relative;
}

    .description-content.expanded {
        max-height: none;
    }

.btn-read-more {
    margin-top: 15px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-read-more:hover {
        background: var(--primary-color);
        color: #fff;
    }


/* --- لیست اتاق‌ها (اصلاح اسکرول و ظاهر) --- */
/* کانتینر اتاق‌ها برای رفع اسکرول افقی باید تنظیم شود */
.rooms-grid-container {
    padding: 10px 5px;
}
/* --- Room Card Main Layout --- */
.room-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 992px) {
    .room-card {
        flex-direction: row;
        min-height: 240px; /* ارتفاع ثابت برای نظم بهتر */
    }

    .room-image-col {
        width: 32%;
        position: relative;
    }

    .room-content-col {
        width: 68%;
        display: flex;
        flex-direction: column;
    }
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* --- Image Section --- */
.room-image-col {
    padding: 15px;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 200px; /* حداقل ارتفاع برای موبایل */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card:hover .room-img {
    transform: scale(1.1);
}

/* بج روی عکس */
.badge-overlay {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

/* --- Content Section --- */
.room-content-col {
    padding: 1.5rem 1.8rem;
    justify-content: space-between;
}

/* Header */
.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.room-type {
    font-size: 1.35rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.badge-feature {
    background-color: #e6f7ee;
    color: #00b862;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Features */
.room-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: auto; /* هل دادن فوتر به پایین */
}

.room-feature-item {
    font-size: 0.8rem;
    color: #000;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
}

.icon-circle {
    color: #0d6efd; /* Primary Color */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.room-divider {
    border-top: 1px dashed #e0e0e0;
    margin: 1rem 0;
    opacity: 0.6;
}

/* --- Footer & Buttons --- */
.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.room-price-final {
    font-size: 1.6rem;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1;
    margin-top: 4px;
}

.currency {
    font-size: 0.85rem;
    color: #95a5a6;
    font-weight: normal;
}

/* Action Buttons Group */
.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* استایل دکمه رزرو */
.btn-reserve {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-reserve:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
    }

/* استایل دکمه تقویم */
.btn-calendar {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-calendar:hover {
        border-color: #0dcaf0;
        color: #0dcaf0;
        background-color: rgba(13, 202, 240, 0.05);
    }

/* Mobile Tweaks */
@media (max-width: 576px) {
    .room-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 2fr; /* تقویم کوچک، رزرو بزرگ */
    }

    .price-box {
        text-align: center;
        margin-bottom: 5px;
    }
}


/* --- نظرات (تمیزتر) --- */
.review-summary {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.review-card {
    background: #f9f9f9; /* نظرات تکی روی زمینه خاکستری خیلی روشن */
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
}

/* --- قوانین و نقشه --- */
.rules-list li {
    border-bottom: 1px dashed #ddd; /* خط‌چین ظریف‌تر */
    padding: 12px 0;
}

    .rules-list li:last-child {
        border-bottom: none;
    }

.distance-value {
    background: #eee;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
}

/* --- ریسپانسیو --- */
@media (max-width: 768px) {
    .main-gallery-img {
        height: 300px;
    }

    .details-title {
        font-size: 1.3rem;
    }

    .room-features-grid {
        grid-template-columns: 1fr;
    }
}


/* ریسپانسیو اختصاصی صفحه هتل */
@media (max-width: 1600px) {
    .container {
        width: 90% !important;
        max-width: 90% !important;
    }
}

@media (max-width: 768px) {
    .hotel-name {
        font-size: 1.5rem;
    }

    .main-gallery-img {
        height: 250px;
    }

    .room-filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .share-buttons {
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .room-card {
        flex-direction: column;
    }

    .room-image-col, .room-content-col {
        width: 100%;
    }

    .room-img {
        height: 200px;
    }
}

/* --- استایل‌های بخش فاصله‌ها --- */
.distance-card {
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eee !important;
    max-height:250px !important;
    overflow-y:scroll;
}

.distance-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    padding: 5px 0;
}

    .distance-item i {
        width: 20px;
        text-align: center;
    }

.dashed-line {
    flex-grow: 1;
    border-bottom: 1px dashed #ccc;
    margin: 0 10px;
    position: relative;
    top: -3px; /* تنظیم تراز خط چین */
}

.distance-time {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap; /* جلوگیری از شکستن متن */
}

/* --- استایل‌های لیست امکانات (سایدبار) --- */
/*.amenities-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 8px;
}

    .amenities-list li:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
*/

.rooms-section .btn-group{
    direction:ltr !important;
}


/* =========================================
   3. استایل اختصاصی صفحه ورود/ثبت‌نام
   ========================================= */

/* تنظیمات کلی صفحه لاگین برای وسط‌چین کردن */
.login-section {
    min-height: 80vh; /* ارتفاع مناسب برای وسط قرار گرفتن */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    padding: 2rem 0;
}

/* باکس اصلی فرم */
    .login-section .auth-box {
        background: #ffffff;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: var(--card-shadow);
        border: 1px solid var(--border-color);
        width: 100%;
        max-width: 450px; /* حداکثر عرض باکس */
        margin: 0 auto;
        position: relative;
        transition: transform 0.3s ease;
    }

        .login-section .auth-box:hover {
            transform: translateY(-5px);
        }

/* لوگو */
    .login-section .auth-logo {
        text-align: center;
        margin-bottom: 2rem;
    }

        .login-section .auth-logo img {
            height: 60px; /* ارتفاع ثابت برای لوگو */
            width: auto;
            object-fit: contain;
        }

/* متن خوش‌آمدگویی */
    .login-section .auth-title h6 {
        font-weight: 800;
        color: #333;
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .login-section .auth-title p {
        color: var(--secondary-color);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        text-align: center;
    }

/* استایل اینپوت‌ها */
    .login-section .auth-form-group {
        margin-bottom: 1.5rem;
    }

    .login-section .auth-input {
        width: 100%;
        height: 55px;
        padding: 0 1.25rem;
        border-radius: 12px;
        border: 2px solid #e9ecef;
        background-color: #fcfcfc;
        font-size: 1rem;
        color: #495057;
        transition: all 0.3s ease;
    }

        .login-section .auth-input:focus {
            background-color: #ffffff;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
            outline: none;
        }

        .login-section .auth-input::placeholder {
            color: #adb5bd;
            font-size: 0.9rem;
        }

/* دکمه ارسال */
    .login-section .btn-auth {
        width: 100%;
        height: 55px;
        background: var(--primary-color);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25);
    }

        .login-section .btn-auth:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
        }

/* لیست خطاهای اعتبارسنجی */
    .login-section .validation-summary-errors {
        background-color: #fff5f5;
        border: 1px solid #ffebeb;
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.85rem;
    }

        .login-section .validation-summary-errors ul {
            margin: 0;
            padding-right: 1.5rem;
            color: #dc3545;
        }

/* لینک برگشت */
    .login-section .back-to-home {
        display: block;
        text-align: center;
        margin-top: 1.5rem;
        font-size: 0.9rem;
        color: var(--secondary-color);
    }

        .login-section .back-to-home:hover {
            color: var(--primary-color);
        }






/* =========================================
   صفحه لیست بلاگ (Blog Listing)
   ========================================= */

/* --- تنظیمات کلی گرید --- */
.blog-page .blog-content .content {
    margin-bottom: 30px;
}

/* فاصله بین آیتم‌ها در گرید بوت‌استرپ */
#Div_PostBody > div {
    margin-bottom: 30px; /* فاصله عمودی بین کارت‌ها */
}

/* --- استایل کارت مقاله (.blog-item) --- */
.blog-page  .blog-item {
    display: block;
    height: 100%; /* هم‌ارتفاع کردن کارت‌ها در یک ردیف */
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

    /* لینک کل کارت */
    .blog-page .blog-item > a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* افکت هاور روی کل کارت */
    .blog-page .blog-item:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        
    }

    /* --- بخش تصویر (.pic-blog) --- */
    .blog-page .blog-item .pic-blog {
        margin: 0;
        width: 100%;
        height: 220px; /* ارتفاع ثابت برای نظم */
        overflow: hidden;
        position: relative;
    }

        .blog-page .blog-item .pic-blog img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* پر کردن کادر بدون دفرمه شدن */
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

    /* زوم شدن عکس هنگام هاور */
    .blog-page .blog-item:hover .pic-blog img {
        transform: scale(1.1);
    }

    /* لایه تاریک روی عکس (اختیاری برای خوانایی بهتر اگر متن روی عکس بود) */
    .blog-page .blog-item .pic-blog::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .blog-page .blog-item:hover .pic-blog::after {
        opacity: 1;
    }

    /* --- تاریخ انتشار (.date) --- */
    /* تبدیل تاریخ به یک بج (Badge) شناور روی عکس */
    .blog-page .blog-item .info-blog .date {
        /*position: absolute;
        top: 15px;
        right: 15px;*/ /* سمت راست چون RTL است */
        /*background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        padding: 6px 14px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 2;
        transition: background 0.3s, color 0.3s;*/

      
        font-size: 12px;
        background: #f58d00;
        color: #fff;
        position: absolute;
        top: -45px;
        left: 0;
        border-radius: 20px;
        width: auto;
        border: 4px solid #f8f9fa;
        padding: 0 10px;
        height: 37px;
        line-height: 30px;
        text-align: center;
    }

        /* تغییر رنگ SVG داخل تاریخ */
        .blog-page .blog-item .info-blog .date svg {
            width: 16px;
            height: 16px;
            stroke: var(--primary-color); /* تغییر رنگ آیکون به رنگ اصلی */
            transition: stroke 0.3s;
        }

  /*  .blog-page .blog-item:hover .info-blog .date {
        background: var(--primary-color);
        color: #fff;
    }*/

        .blog-page .blog-item:hover .info-blog .date svg {
            stroke: #ffffff;
        }

    /* --- محتوای متنی (.info-blog) --- */
    .blog-page .blog-item .info-blog {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* پر کردن فضای باقی‌مانده */
    }

        /* عنوان مقاله */
        .blog-page .blog-item .info-blog .title {
            font-size: 1.1rem;
            font-weight: 800;
            color: #2d3436;
            margin-bottom: 12px;
            line-height: 1.6;
            /* محدود کردن به 2 خط */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.3s;
        }

    .blog-page .blog-item:hover .info-blog .title {
        color: var(--primary-color);
    }

    /* متن خلاصه */
    .blog-page .blog-item .info-blog .text {
        font-size: 0.9rem;
        color: #636e72;
        line-height: 1.8;
        margin-bottom: 0;
        text-align: justify;
        /* محدود کردن به 3 خط */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* --- صفحه‌بندی (Pagination) --- */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-box {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

    .pagination-box li a,
    .pagination-box li span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        color: #555;
        font-weight: 600;
        border: 1px solid #eee;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

        .pagination-box li a:hover,
        .pagination-box li.active a,
        .pagination-box li.active span {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(var(--primary-color-rgb), 0.3);
        }

    /* حالت غیرفعال */
    .pagination-box li.disabled a {
        background: #f9f9f9;
        color: #ccc;
        cursor: not-allowed;
        transform: none;
    }



/* =========================================
   4. استایل صفحه جزئیات بلاگ (Blog Detail)
   ========================================= */

/* --- تنظیمات کلی صفحه بلاگ --- */
.blog-page {
    background-color: var(--light-bg);
    padding-bottom: 4rem;
}

/* --- محتوای اصلی مقاله --- */
    .blog-page.blog-detail {
        background: #ffffff;
        border-radius: 20px;
        padding: 2rem; /* فاصله داخلی بیشتر */
        box-shadow: var(--card-shadow);
        border: 1px solid var(--border-color);
        margin-bottom: 2rem;
    }

/* تصویر شاخص */
    .blog-page .blog-pic img {
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        object-fit: cover;
        height: auto;
        max-height: 350px; /* جلوگیری از ارتفاع بیش از حد */
        width: 100%;
        transition: transform 0.3s;
    }

    .blog-page .blog-pic:hover img {
        transform: scale(1.02);
    }

/* متادیتا (تاریخ و نظرات) */
    .blog-page .meta.f-parent {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .blog-page .meta span {
        display: flex;
        align-items: center;
        color: var(--secondary-color);
        font-size: 0.85rem;
        font-weight: 500;
    }

        .blog-page .meta span svg, .meta span i {
            margin-left: 8px;
            color: var(--primary-color);
        }

/* عنوان و چکیده */
    .blog-page .blog-inner .description h1 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #212529;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .blog-page .blog-inner blockquote {
        background: #f8f9fa;
        border-right: 4px solid var(--accent-color);
        padding: 1.5rem;
        border-radius: 8px;
        font-style: italic;
        color: #555;
        margin: 1.5rem 0;
        font-size: 1rem;
        line-height: 1.8;
    }

/* شبکه‌های اجتماعی */
    .blog-page .social_icons {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        gap: 10px;
    }

        .blog-page .social_icons li a {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%; /* دایره‌ای */
            background: #f0f2f5;
            color: #555;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

            .blog-page .social_icons li a:hover {
                background: var(--primary-color);
                color: #fff;
                transform: translateY(-3px);
            }

/* متن اصلی مقاله */
    .blog-page .text-justify {
        font-size: 1.05rem;
        line-height: 2.1; /* فاصله خطوط مناسب برای خواندن */
        color: #333;
        margin-top: 2rem;
    }

        .blog-page .text-justify p {
            margin-bottom: 1.5rem;
        }

        .blog-page .text-justify img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            margin: 1.5rem 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .blog-page .text-justify h2, .blog-page .text-justify h3, .blog-page .text-justify h4 {
            font-weight: 700;
            color: #000;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

/* --- بخش نظرات --- */
    .blog-page .box {
        margin-top: 2rem;
        border-top: 1px solid #eee;
        padding-top: 2rem;
    }

/* --- سایدبار --- */
    .blog-page .sidebar .bg {
        background: #ffffff;
        border-radius: 15px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    }

    .blog-page .sidebar .title {
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        position: relative;
    }

        .blog-page .sidebar .title h6 {
            font-weight: 700;
            color: var(--primary-color);
            margin: 0;
            font-size: 1.1rem;
            display: inline-block;
        }

        .blog-page .sidebar .title:after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 50px;
            height: 2px;
            background: var(--accent-color);
        }

/* فرم جستجو سایدبار */
    .blog-page .sidebar form {
        position: relative;
        display: flex;
    }

    .blog-page .sidebar input[type="text"] {
        width: 100%;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 10px 15px 10px 45px;
        height: 45px;
        transition: all 0.3s;
    }

        .blog-page .sidebar input[type="text"]:focus {
            border-color: var(--primary-color);
            outline: none;
        }

    .blog-page .sidebar button {
        position: absolute;
        left: 5px;
        top: 5px;
        background: var(--primary-color);
        border: none;
        color: #fff;
        width: 35px;
        height: 35px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
    }

        .blog-page .sidebar button:hover {
            background: var(--primary-hover);
        }

/* لیست آخرین مطالب */
/* =========================================
   استایل اختصاصی برای لیست آخرین مطالب (سایدبار)
   ========================================= */

    .blog-page .category-box {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .blog-page .category-box .item {
            margin-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            transition: all 0.3s ease;
        }

            .blog-page .category-box .item:last-child {
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }

            .blog-page .category-box .item a {
                text-decoration: none;
                display: block;
            }

        /* چیدمان افقی: تصویر راست، متن چپ */
            .blog-page .category-box .item figure {
                display: flex;
                align-items: flex-start;
                margin: 0;
            }

            /* تنظیمات تصویر بندانگشتی */
                .blog-page .category-box .item figure img {
                    width: 80px; /* عرض ثابت */
                    height: 70px; /* ارتفاع ثابت */
                    border-radius: 10px; /* گردی گوشه */
                    object-fit: cover; /* پر کردن کادر بدون دفرمه شدن */
                    margin-left: 12px; /* فاصله از متن */
                    background-color: #eee;
                    transition: transform 0.3s ease;
                }

        /* افکت هاور روی تصویر */
            .blog-page .category-box .item:hover figure img {
                transform: scale(1.05);
            }

        /* کادر متن */
            .blog-page .category-box .item figcaption {
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: calc(100% - 92px); /* محاسبه عرض باقی‌مانده */
            }

        /* عنوان خبر */
            .blog-page .category-box .item h3 {
                font-size: 0.9rem;
                font-weight: 700;
                line-height: 1.4;
                color: #444;
                margin: 0 0 8px 0;
                /* محدود کردن به 2 خط */
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                transition: color 0.3s;
            }

            .blog-page .category-box .item:hover h3 {
                color: var(--primary-color);
            }

        /* آیکون‌ها و تاریخ/بازدید */
            .blog-page .category-box .item figcaption svg {
                width: 16px;
                height: 16px;
                vertical-align: middle;
                margin-left: 4px;
            }

            /* رنگ آیکون‌ها - هم برای Stroke و هم Fill */
                .blog-page .category-box .item figcaption svg path {
                    stroke: #888; /* برای آیکون‌های خطی */
                    fill: #888; /* برای آیکون‌های توپر */
                }
            /* اصلاح خاص برای آیکون‌هایی که نباید پر شوند */
                .blog-page .category-box .item figcaption svg[fill="none"] path {
                    fill: none;
                    stroke: #888;
                }

            .blog-page .category-box .item figcaption span {
                font-size: 0.75rem;
                color: #888;
                vertical-align: middle;
                font-weight: 500;
            }

/* حالت چسبان سایدبار برای دسکتاپ */
@media (min-width: 992px) {
    .blog-page .sidebar {
        position: sticky;
        top: 20px;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .blog-page .blog-inner .row {
        flex-direction: column;
    }

    .blog-page .blog-pic {
        margin-bottom: 20px;
    }

    .blog-page .blog-inner h1 {
        font-size: 1.4rem;
    }
}


/* =========================================
   بخش نظرات و فرم ارسال نظر
   ========================================= */

/* --- لیست نظرات --- */
.blog-page .questions-box {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-page .questions-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

    .blog-page .questions-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    /* هدر نظر (عکس، نام، تاریخ، ستاره) */
    .blog-page .questions-item .question.f-parent {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 10px;
    }

.blog-page .pic-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-page .name-box {
    flex-grow: 1;
}

    .blog-page .name-box .name {
        font-weight: 700;
        font-size: 1rem;
        color: #333;
        margin: 0;
    }

    .blog-page .name-box .responsibility {
        font-size: 0.8rem;
        color: #888;
        margin: 0;
    }

/* ستاره‌های امتیاز کاربر */
.questions-item .star {
    color: #ffc107; /* رنگ زرد */
    font-size: 0.9rem;
}

/* متن نظر */
.question-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

/* --- پاسخ ادمین --- */
/* این کلاس را به لیست اضافه می‌کنیم یا اگر تودرتو نیست، استایل جداگانه می‌دهیم */
.questions-item.response {
    background-color: #f9fbfd; /* رنگ زمینه متفاوت */
    border-right: 4px solid var(--primary-color);
    margin-right: 40px; /* تو رفتگی برای پاسخ */
    margin-top: -10px; /* کمی نزدیک‌تر به نظر اصلی */
    position: relative;
}
    /* آیکون فلش پاسخ */
    .questions-item.response:before {
        content: '\f3e5'; /* آیکون reply */
        font-family: "Font Awesome 5 Pro", "FontAwesome"; /* بسته به فونت شما */
        position: absolute;
        right: -25px;
        top: 20px;
        color: var(--primary-color);
        font-size: 1.2rem;
    }

/* --- فرم ارسال نظر --- */
.comment-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-top: 30px;
}

    .comment-box .title h6 {
        font-weight: 700;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }

        .comment-box .title h6:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 2px;
        }

/* سیستم امتیازدهی */
.comment-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    width: fit-content;
}

    .comment-rating p {
        margin: 0 0 0 15px;
        font-weight: 600;
        font-size: 0.9rem;
    }

.star_rating span {
    cursor: pointer;
    font-size: 1.2rem;
    color: #ccc;
    transition: color 0.2s;
    margin: 0 2px;
}

    .star_rating span:hover,
    .star_rating span:hover ~ span {
        color: #ffc107; /* هنگام هاور */
    }
    /* وقتی کلاس fas اضافه می‌شود (انتخاب شده) */
    .star_rating span i.fas {
        color: #ffc107;
    }

/* فیلدهای ورودی */
.comment-box .top-box {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-box input,
.comment-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

    .comment-box input:focus,
    .comment-box textarea:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    }

.comment-box textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-box button[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

    .comment-box button[type="submit"]:hover {
        background: var(--primary-hover);
    }

    .comment-box button[type="submit"]:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

/* کلاس کمکی برای مخفی کردن فیلدهای هیدن */
.whz {
    height:0 !important;
    width:0;
    overflow:hidden;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .comment-box .top-box {
        flex-direction: column;
    }

    .questions-item.response {
        margin-right: 15px; /* کاهش تو رفتگی در موبایل */
    }

        .questions-item.response:before {
            display: none; /* حذف آیکون در موبایل برای تمیزی */
        }
}


#priceCalendarModal .modal-header {
    display: inline-block !important;
}

#priceCalendarModal .modal-title {
    float: right !important;
    font-size: 14px !important;
}

#priceCalendarModal .btn-close {
    float: left !important;
}

#priceCalendarModal .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

#priceCalendarModal .calendar-header {
    font-weight: bold;
    background: #f8f9fa;
    padding: 10px 0;
    border-radius: 5px;
}

#priceCalendarModal .calendar-days-container {
    display: contents;
}

#priceCalendarModal .day-cell {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 2px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    background: #fff;
}

    #priceCalendarModal .day-cell:hover {
        border-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
#priceCalendarModal .day-past{
    color:#dedede !important;
}
#priceCalendarModal .day-past:hover {
    border-color: #e9ecef !important;
    box-shadow: none !important;
}

    #priceCalendarModal .day-cell.empty {
        background: transparent;
        border: none;
    }

#priceCalendarModal .day-number {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

#priceCalendarModal .day-price {
    font-size: 0.8rem;
    color: #198754; /* سبز */
}

#priceCalendarModal .day-unavailable {
    background-color: #f8f9fa;
    color: #adb5bd;
}

    #priceCalendarModal .day-unavailable .day-price {
        color: #adb5bd;
        text-decoration: line-through;
    }

/*//======================================================*/

#CalendarModal .modal-header {
    display: inline-block !important;
}

#CalendarModal .modal-title {
    float: right !important;
    font-size: 14px !important;
}

#CalendarModal .btn-close {
    float: left !important;
}

#CalendarModal .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

#CalendarModal .calendar-header {
    font-weight: bold;
    background: #f8f9fa;
    padding: 10px 0;
    border-radius: 5px;
}

#CalendarModal .calendar-days-container {
    display: contents;
}

#CalendarModal .day-cell {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 2px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    background: #fff;
}

    #CalendarModal .day-cell:hover {
        border-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

#CalendarModal .day-past {
    color: #dedede !important;
}

    #CalendarModal .day-past:hover {
        border-color: #e9ecef !important;
        box-shadow: none !important;
    }

#CalendarModal .day-cell.empty {
    background: transparent;
    border: none;
}

#CalendarModal .day-number {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

#CalendarModal .day-price {
    font-size: 0.8rem;
    color: #198754; /* سبز */
}

#CalendarModal .day-unavailable {
    background-color: #f8f9fa;
    color: #adb5bd;
}

    #CalendarModal .day-unavailable .day-price {
        color: #adb5bd;
        text-decoration: line-through;
    }



    /*//=================config modal===============*/


.modal-body-custom {
    padding: 0;
    height: 75vh; /* ارتفاع مودال */
    display: flex;
    flex-direction: column; /* چیدمان عمودی: بالا منو، پایین محتوا */
    overflow: hidden;
}

/* ناحیه منوی بالا (Sticky Nav) */
    .modal-body-custom .category-nav-wrapper {
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        z-index: 10;
        padding: 0 10px;
        flex: 0 0 auto; /* ارتفاع ثابت بر اساس محتوا */
        border-bottom: 1px solid #eee;
    }

    .modal-body-custom .category-nav {
        display: flex;
        overflow-x: auto; /* اسکرول افقی برای موبایل */
        white-space: nowrap;
        gap: 15px;
        padding: 10px 5px;
        /* مخفی کردن اسکرول بار در مرورگرها */
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

        .modal-body-custom .category-nav::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

/* دکمه‌های منو */
    .modal-body-custom .cat-link {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        color: #666;
        text-decoration: none;
        border-radius: 50px; /* دکمه‌های کپسولی */
        font-size: 13px;
        font-weight: 600;
        background-color: #f8f9fa;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

        .modal-body-custom .cat-link:hover {
            background-color: #e9ecef;
            color: #333;
        }

    /* حالت فعال (Active) */
        .modal-body-custom .cat-link.active {
            background-color: #e7f1ff; /* آبی خیلی کمرنگ */
            color: #0d6efd; /* آبی اصلی بوت‌استرپ */
            border-color: #cce5ff;
        }

        .modal-body-custom .cat-link svg {
            width: 18px;
            height: 18px;
            margin-left: 8px;
            fill: currentColor; /* رنگ آیکون هماهنگ با متن */
        }

/* ناحیه محتوا (Scrollable Area) */
    .modal-body-custom .facilities-scroll-area {
        flex: 1 1 auto; /* پر کردن فضای باقی‌مانده */
        overflow-y: auto;
        padding: 20px 25px;
        scroll-behavior: smooth;
        background-color: #fff;
    }

        .modal-body-custom .facilities-scroll-area h4 {
            color: #555;
            padding: 7px;
            border-radius: 5px;
            font-size: 13px;
            background: #f6f6f6;
        }

/* استایل سکشن‌ها */
    .modal-body-custom .facility-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px dashed #eee;
    }

        .modal-body-custom .facility-section:last-child {
            border-bottom: none;
        }

    .modal-body-custom .sec-title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
        color: #444;
        display: flex;
        align-items: center;
    }

        .modal-body-custom .sec-title svg {
            width: 24px;
            height: 24px;
            margin-left: 10px;
            fill: #adb5bd;
        }

/* استایل لیست آیتم‌ها */
    .modal-body-custom .items-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
    }

        .modal-body-custom .items-list li {
            width: 33.33%; /* سه ستونه در دسکتاپ برای استفاده بهتر از فضا */
            margin-bottom: 10px;
            font-size: 13px;
            color: #555;
            display: flex;
            align-items: center;
        }

    .modal-body-custom .dot-icon {
       
        fill: #ccc;
        margin-left: 8px;
    }

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .modal-body-custom .items-list li {
        width: 50%; /* دو ستونه در تبلت */
    }
}

@media (max-width: 576px) {
    .modal-body-custom .items-list li {
        width: 100%; /* تک ستونه در موبایل */
    }

   .modal-body-custom {
        height: 85vh; /* ارتفاع بیشتر در موبایل */
    }
}


/* =========================================
   1. تنظیمات کلی مودال (پس زمینه)
   ========================================= */
#productGalleryModal {
    padding-right: 0 !important;
}

    #productGalleryModal .modal-dialog {
        max-width: 100%;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    #productGalleryModal .modal-content {
        background-color: rgba(0, 0, 0, 0.95); /* مشکی غلیظ */
        height: 100%;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    /* =========================================
   2. دکمه بستن (ضربدر) - بالا چپ
   ========================================= */
    #productGalleryModal .close-gallery {
        position: absolute;
        top: 20px;
        left: 30px;
        z-index: 2000;
        color: #fff;
        font-size: 45px;
        background: none;
        border: none;
        opacity: 0.8;
        line-height: 1;
        cursor: pointer;
        outline: none !important;
    }

        #productGalleryModal .close-gallery:hover {
            color: #ff4d4d;
            opacity: 1;
        }

    /* =========================================
   3. کانتینر اسلایدر و عکس اصلی (800x800)
   ========================================= */
    #productGalleryModal #carouselGallery {
        width: 800px; /* عرض ثابت درخواستی */
        max-width: 90%; /* در موبایل از صفحه نزند بیرون */
        position: relative;
        margin-bottom: 20px;
    }

    #productGalleryModal .gallery-main-img {
        width: 100%;
        height: 800px; /* ارتفاع ثابت درخواستی */
        object-fit: contain; /* عکس کامل دیده شود و دفرمه نشود */
        background-color: #000; /* اگر عکس مستطیل بود، فضای خالی مشکی شود */
    }

/* ریسپانسیو: اگر ارتفاع صفحه کم بود، عکس کوچک شود تا اسکرول نخورد */
@media (max-height: 900px) {
    #productGalleryModal .gallery-main-img {
        height: 60vh; /* 60 درصد ارتفاع صفحه */
    }

    #productGalleryModal #carouselGallery {
        width: auto; /* عرض اتوماتیک بر اساس ارتفاع */
        max-width: 800px;
    }
}

/* =========================================
   4. دکمه‌های جهت‌نما (روی عکس، ثابت و بدون لرزش)
   ========================================= */
#productGalleryModal .carousel-control-prev,
#productGalleryModal .carousel-control-next {
    width: 60px !important; /* عرض دکمه */
    height: 100% !important; /* ارتفاع کامل کادر عکس */
    top: 0 !important;
    bottom: 0 !important;
    opacity: 1 !important;
    z-index: 1050;
    cursor: pointer;
    display: flex;
    align-items: center; /* آیکون وسط عمودی */
    justify-content: center; /* آیکون وسط افقی */
    background: none !important; /* حذف پس زمینه پیش فرض */
}

/* آیکون فلش‌ها */
#productGalleryModal .carousel-control-prev-icon,
#productGalleryModal .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6); /* دایره مشکی پشت فلش */
    border-radius: 50%;
    background-size: 60%; /* سایز فلش داخل دایره */
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

#productGalleryModal .carousel-control-prev {
    left: 0 !important;
}

#productGalleryModal .carousel-control-next {
    right: 0 !important;
}

    /* جلوگیری از هرگونه حرکت هنگام هاور یا کلیک */
    #productGalleryModal .carousel-control-prev:hover .carousel-control-prev-icon,
    #productGalleryModal .carousel-control-next:hover .carousel-control-next-icon {
        background-color: rgba(255, 255, 255, 0.2); /* روشن شدن دایره موقع هاور */
    }

/* =========================================
   5. تصاویر کوچک (Thumbnails)
   ========================================= */
#productGalleryModal .gallery-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    z-index: 1055;
}

#productGalleryModal .thumb-item {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.3s;
}

    #productGalleryModal .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #productGalleryModal .thumb-item:hover, #productGalleryModal .thumb-item.active {
        opacity: 1;
        border-color: #fff;
        transform: scale(1.1);
    }



    /*//===================================
    //===================================*/


/* =========================================
   5. استایل‌های صفحه لیست هتل‌ها (فیلتر و کارت‌ها)
   ========================================= */

/* --- تنظیمات کلی سایدبار فیلتر --- */
.filter {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

    /* جستجوی نام هتل */
    .filter .collapse.show {
        margin-bottom: 1.5rem;
    }

        .filter .collapse.show label {
            font-weight: 700;
            font-size: 0.9rem;
            color: #2d3436;
            margin-bottom: 0.5rem;
            display: block;
        }

        .filter .collapse.show .form-control {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 0.75rem 1rem;
            height: auto;
            transition: all 0.3s;
        }

            .filter .collapse.show .form-control:focus {
                border-color: var(--primary-color);
                box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
                outline: none;
            }

    /* بخش ستاره */
    .filter .star .title h6,
    .filter .score .title h6,
    .filter .pric .title h6 {
        font-size: 1rem;
        font-weight: 800;
        color: #111;
        margin-bottom: 1rem;
        position: relative;
        padding-right: 15px;
    }

        .filter .star .title h6::before,
        .filter .score .title h6::before,
        .filter .pric .title h6::before {
            content: '';
            position: absolute;
            right: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            background: var(--accent-color);
            border-radius: 4px;
        }

    .filter .star-box,
    .filter .score-box {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

        .filter .star-box .item,
        .filter .score-box .item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            color: #495057;
            cursor: pointer;
            transition: color 0.2s;
            position: relative;
        }

            .filter .star-box .item:hover,
            .filter .score-box .item:hover {
                color: var(--primary-color);
            }

            /* چک‌باکس سفارشی */
            .filter .star-box .item .frmImg,
            .filter .score-box .item .frmImg {
                position: relative;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                margin-left: 10px;
                width: 22px;
                height: 22px;
                cursor: pointer;
            }

                .filter .star-box .item .frmImg input[type="checkbox"],
                .filter .score-box .item .frmImg input[type="checkbox"] {
                    position: absolute;
                    opacity: 0;
                    width: 0;
                    height: 0;
                }

                .filter .star-box .item .frmImg .tick,
                .filter .score-box .item .frmImg .tick {
                    position: relative;
                    display: inline-block;
                    width: 22px;
                    height: 22px;
                    border: 2px solid #dee2e6;
                    border-radius: 6px;
                    background: #fff;
                    transition: all 0.2s;
                }

                    .filter .star-box .item .frmImg .tick svg,
                    .filter .score-box .item .frmImg .tick svg {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        color: #fff;
                        font-size: 14px;
                        opacity: 0;
                        transition: opacity 0.2s;
                    }

                .filter .star-box .item .frmImg input[type="checkbox"]:checked + .tick,
                .filter .score-box .item .frmImg input[type="checkbox"]:checked + .tick {
                    background: var(--primary-color);
                    border-color: var(--primary-color);
                }

                    .filter .star-box .item .frmImg input[type="checkbox"]:checked + .tick svg,
                    .filter .score-box .item .frmImg input[type="checkbox"]:checked + .tick svg {
                        opacity: 1;
                    }

            /* آیکون‌های ستاره */
            .filter .star-box .item .svgStar {
                width: 16px;
                height: 16px;
            /*    margin-right: 5px;*/
                fill: #ffc107;
            }
            .filter .star-box .item span.lable {
                min-width:70px;
            }

    /* بخش تخفیف دار */
    .filter .available {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        padding: 0.75rem 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }

        .filter .available .toggle-item {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .filter .available label[for="Chk_HasDiscount"] {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
            background-color: #e0e0e0;
            border-radius: 30px;
            transition: background 0.3s;
            cursor: pointer;
            margin-left: 10px;
        }

            .filter .available label[for="Chk_HasDiscount"]::after {
                content: '';
                position: absolute;
                width: 22px;
                height: 22px;
                background-color: #fff;
                border-radius: 50%;
                top: 2px;
                right: 2px;
                transition: transform 0.3s;
                box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            }

        .filter .available input[type="checkbox"]:checked + label[for="Chk_HasDiscount"] {
            background-color: var(--primary-color);
        }

            .filter .available input[type="checkbox"]:checked + label[for="Chk_HasDiscount"]::after {
                transform: translateX(24px);
            }

        .filter .available .text {
            font-size: 0.9rem;
            font-weight: 500;
            color: #333;
            cursor: pointer;
        }

    /* بخش محدوده قیمت */
    .filter .pric-box {
        margin-bottom: 1.5rem;
    }

    .filter .price-input {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

        .filter .price-input .field {
            display: flex;
            align-items: center;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 10px;
            padding: 0 10px;
            flex: 1;
        }

            .filter .price-input .field input {
                width: 100%;
                height: 40px;
                border: none;
                background: transparent;
                font-size: 0.85rem;
                font-weight: 600;
                color: #333;
                text-align: center;
            }

                .filter .price-input .field input:read-only {
                    background: transparent;
                }

            .filter .price-input .field span {
                font-size: 0.7rem;
                color: #888;
                white-space: nowrap;
                margin-right: 5px;
            }

        .filter .price-input .separator {
            font-size: 1.2rem;
            color: #aaa;
        }

    .filter .slider {
        height: 6px;
        background: #e9ecef;
        border-radius: 3px;
        position: relative;
        margin: 0 5px;
    }

        .filter .slider .progress {
            height: 100%;
            background: var(--primary-color);
            border-radius: 3px;
            position: absolute;
            left: 0;
            right: 0;
        }

    .filter .range-input {
        position: relative;
        height: 30px;
    }

        .filter .range-input input {
            position: absolute;
            width: 100%;
            height: 6px;
            background: none;
            pointer-events: none;
            -webkit-appearance: none;
            top: -3px;
        }

            .filter .range-input input[type="range"]::-webkit-slider-thumb {
                pointer-events: auto;
                -webkit-appearance: none;
                width: 20px;
                height: 20px;
                background: #fff;
                border: 2px solid var(--primary-color);
                border-radius: 50%;
                box-shadow: 0 2px 6px rgba(0,0,0,0.1);
                cursor: pointer;
                margin-top: -7px;
            }

            .filter .range-input input[type="range"]::-moz-range-thumb {
                pointer-events: auto;
                width: 20px;
                height: 20px;
                background: #fff;
                border: 2px solid var(--primary-color);
                border-radius: 50%;
                box-shadow: 0 2px 6px rgba(0,0,0,0.1);
                cursor: pointer;
            }

    .filter .button-filter {
        display: block;
        margin-top: 2rem;
    }

        .filter .button-filter button {
            width: 100%;
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 12px;
            padding: 0.9rem;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25);
        }

            .filter .button-filter button:hover {
                background: var(--primary-hover);
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
            }

/* --- کارت‌های هتل (آیتم‌های لیست) --- */
/* کلاس جدید برای هر آیتم در گرید */


/* =========================================
   کارت‌های هتل به صورت افقی (لیست عمودی)
   ========================================= */

    .hotel-list-item {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .hotel-card-horizontal {
        display: flex;
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        gap: 1rem;
    }

        .hotel-card-horizontal:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            border-color: transparent;
        }

        /* محتوای سمت چپ */
        .hotel-card-horizontal .hotel-card__content {
            flex: 1;
            padding: 1.5rem 1.5rem 1.5rem 1rem;
            display: flex;
            flex-direction: column;
        }

        /* عنوان هتل */
        .hotel-card-horizontal .hotel-card__title {
            margin: 0 0 0.75rem;
            font-size: 1.3rem;
            font-weight: 800;
            line-height: 1.4;
        }

            .hotel-card-horizontal .hotel-card__title a {
                color: #2d3436;
                text-decoration: none;
                transition: color 0.3s;
            }

                .hotel-card-horizontal .hotel-card__title a:hover {
                    color: var(--primary-color);
                }

        /* آدرس */
        .hotel-card-horizontal .hotel-card__address {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            color: #7f8c8d;
            font-size: 0.9rem;
            line-height: 1.6;
        }

            .hotel-card-horizontal .hotel-card__address svg {
                flex-shrink: 0;
                color: #95a5a6;
            }

        /* متا (ستاره و امتیاز) */
        .hotel-card-horizontal .hotel-card__meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .hotel-card-horizontal .hotel-card__stars {
            display: flex;
            gap: 4px;
        }

            .hotel-card-horizontal .hotel-card__stars svg {
                width: 18px;
                height: 18px;
            }

        .hotel-card-horizontal .hotel-card__score {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #e7f5ff;
            padding: 5px 12px;
            border-radius: 30px;
            color: var(--primary-color);
            font-weight: 700;
            font-size: 0.9rem;
        }

            .hotel-card-horizontal .hotel-card__score svg {
                color: var(--primary-color);
                width: 20px;
                height: 20px;
            }

        /* توضیحات کوتاه */
        .hotel-card-horizontal .hotel-card__description {
            margin: 0 0 1.5rem;
            color: #666;
            font-size: 0.95rem;
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        /* فوتر کارت */
        .hotel-card-horizontal .hotel-card__footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: auto;
            padding-top: 1rem;
            border-top: 1px solid #f0f0f0;
        }

        /* قیمت */
        .hotel-card-horizontal .hotel-card__price {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 5px;
        }

        .hotel-card-horizontal .hotel-card__price-label {
            font-size: 0.85rem;
            color: #95a5a6;
        }

        .hotel-card-horizontal .hotel-card__price-value {
            font-size: 1.5rem;
            font-weight: 800;
            color: #2c3e50;
        }

        .hotel-card-horizontal .hotel-card__price-currency {
            font-size: 0.85rem;
            color: #95a5a6;
        }

        /* دکمه‌ها */
        .hotel-card-horizontal .hotel-card__actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hotel-card-horizontal .hotel-card__btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            text-decoration: none;
        }

        .hotel-card-horizontal .hotel-card__btn--primary {
            background: var(--primary-color);
            color: #fff;
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
        }

            .hotel-card-horizontal .hotel-card__btn--primary:hover {
                background: var(--primary-hover);
                transform: translateY(-2px);
                box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
            }

            .hotel-card-horizontal .hotel-card__btn--primary svg {
                stroke: #fff;
            }

        .hotel-card-horizontal .hotel-card__btn--favorite {
            width: 48px;
            height: 48px;
            padding: 0;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            color: #ff6b6b;
        }

            .hotel-card-horizontal .hotel-card__btn--favorite:hover {
                background: #fff0f0;
                border-color: #ff6b6b;
                transform: scale(1.05);
            }

            .hotel-card-horizontal .hotel-card__btn--favorite svg {
                stroke: #ff6b6b;
                fill: transparent;
                transition: fill 0.3s;
            }

            .hotel-card-horizontal .hotel-card__btn--favorite.active svg {
                fill: #ff6b6b;
            }

        /* تصویر سمت راست */
        .hotel-card-horizontal .hotel-card__image-wrapper {
            width: 280px;
            min-width: 280px;
            height: auto;
            overflow: hidden;
            position: relative;
            display: block;
            border-radius: 0 20px 20px 0;
        }

        .hotel-card-horizontal .hotel-card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .hotel-card-horizontal:hover .hotel-card__image {
            transform: scale(1.08);
        }

/* فوتر کارت - قیمت و دکمه در یک خط */
.hotel-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    /* خط جداکننده حذف شد */
}

/* محتوای قیمت */
.hotel-card__price-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.hotel-card__price-info {
    display: flex;
    flex-direction: column;
}

.hotel-card__price-original {
    font-size: 0.9rem;
    color: #868e96;
    text-decoration: line-through;
    text-decoration-color: #ff6b6b;
    text-decoration-thickness: 2px;
    margin-bottom: 0.15rem;
}

.hotel-card__price-discounted {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.hotel-card__price-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

.hotel-card__price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
}

.hotel-card__price-currency {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

.hotel-card__price-discount-percent {
    background: linear-gradient(135deg, #ff6b6b, #fa5252);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(250, 82, 82, 0.25);
    white-space: nowrap;
    align-self: center;
}

/* دکمه‌ها */
.hotel-card__actions {
    display: flex;
    align-items: center;
}

.hotel-card__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

    .hotel-card__btn--primary:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
    }

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .hotel-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hotel-card__price-wrapper {
        justify-content: space-between;
        width: 100%;
    }

    .hotel-card__price-value {
        font-size: 1.3rem;
    }

    .hotel-card__actions {
        width: 100%;
    }

    .hotel-card__btn--primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hotel-card__price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hotel-card__price-discount-percent {
        align-self: flex-start;
    }
}
    /* ریسپانسیو برای موبایل */
    @media (max-width: 768px) {
        .hotel-card-horizontal {
            flex-direction: column-reverse; /* عکس میاد بالا */
            gap: 0;
        }

            .hotel-card-horizontal .hotel-card__content {
                padding: 1.25rem;
            }

            .hotel-card-horizontal .hotel-card__image-wrapper {
                width: 100%;
                min-width: 100%;
                height: 200px;
                border-radius: 20px 20px 0 0;
            }

            .hotel-card-horizontal .hotel-card__title {
                font-size: 1.2rem;
            }

            .hotel-card-horizontal .hotel-card__price-value {
                font-size: 1.3rem;
            }

            .hotel-card-horizontal .hotel-card__footer {
                flex-direction: column;
                align-items: stretch;
            }

            .hotel-card-horizontal .hotel-card__actions {
                justify-content: space-between;
            }

            .hotel-card-horizontal .hotel-card__btn--primary {
                flex: 1;
            }
    }

    @media (max-width: 576px) {
        .hotel-card-horizontal .hotel-card__meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .hotel-card-horizontal .hotel-card__price {
            flex-wrap: wrap;
        }
    }

    /* ستاره‌ها */
    .hotel-grid-item p:nth-of-type(2) {
        padding: 0 1rem;
        margin: 0 0 0.5rem;
        font-size: 0;
    }

        .hotel-grid-item p:nth-of-type(2)::before {
            content: '';
            display: inline-block;
            width: auto;
            height: 16px;
            background-repeat: repeat-x;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffc107' d='m8.654 3.091 1.083 2.291c.106.225.311.38.549.417l2.422.37c.599.09.837.859.404 1.299L11.36 9.25a.783.783 0 0 0-.21.675l.414 2.516c.102.622-.524 1.097-1.06.803L8.34 12.055a.703.703 0 0 0-.68 0l-2.165 1.189c-.535.294-1.16-.18-1.058-.803l.413-2.516a.783.783 0 0 0-.21-.675L2.888 7.468c-.433-.44-.195-1.208.404-1.3L5.714 5.8a.732.732 0 0 0 .55-.417l1.082-2.29a.716.716 0 0 1 1.308 0Z'%3E%3C/path%3E%3C/svg%3E");
        }

    /* امتیاز */
    .hotel-grid-item p:nth-of-type(3) {
        padding: 0 1rem;
        margin: 0 0 0.75rem;
        display: inline-block;
        background: #e7f5ff;
        color: var(--primary-color);
        font-weight: 700;
        font-size: 0.8rem;
        border-radius: 50px;
        padding: 4px 12px;
        width: fit-content;
    }

    /* قیمت */
    .hotel-grid-item p:last-of-type {
        padding: 0.75rem 1rem 1rem;
        margin: 0;
        font-size: 1.2rem;
        font-weight: 800;
        color: #2c3e50;
        border-top: 1px solid #f0f0f0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
    }

        .hotel-grid-item p:last-of-type::before {
            content: 'شروع قیمت از';
            font-size: 0.8rem;
            font-weight: 400;
            color: #95a5a6;
        }

/* --- دکمه‌های مرتب‌سازی (موجود در tabs-nav) --- */
.tabs-nav.sort {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

    .tabs-nav.sort .title {
        display: flex;
        align-items: center;
        margin-left: 0.5rem;
    }

        .tabs-nav.sort .title span {
            background: var(--primary-color);
            color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 8px;
        }

        .tabs-nav.sort .title .text {
            font-weight: 700;
            color: #2d3436;
            margin: 0;
            font-size:14px;
        }

    .tabs-nav.sort li {
        list-style: none;
    }

        .tabs-nav.sort li a {
            display: block;
            padding: 0.5rem 1rem;
            background: #f8f9fa;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #495057;
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid transparent;
            font-size:12px;
        }

            .tabs-nav.sort li a:hover,
            .tabs-nav.sort li a.active {
                background: var(--primary-color);
                color: #fff;
                border-color: var(--primary-color);
                box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
            }

/* --- صفحه‌بندی (در صورت نیاز تنظیم مجدد) --- */
.pagination .pagination-box {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

    .pagination .pagination-box a,
    .pagination .pagination-box span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #e9ecef;
        color: #495057;
        font-weight: 600;
        transition: all 0.3s;
    }

        .pagination .pagination-box a:hover {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }

/* --- دکمه‌های موبایل (فیلتر و مرتب‌سازی) --- */
.mob-filter-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .mob-filter-btn i {
        margin-left: 5px;
        color: var(--primary-color);
    }

/* --- ریسپانسیو --- */
@media (max-width: 768px) {
    .filter {
        margin-top: 1rem;
    }

    .hotel-grid-item .pic-box {
        height: 160px;
    }

    .tabs-nav.sort {
        padding: 0.75rem;
    }

        .tabs-nav.sort .title {
            display: none;
        }

        .tabs-nav.sort li a {
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
        }
}