﻿
.booking-card {
    margin: 2px !important;
}

.product-description {
    margin: 20px;
}

.description-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* محدود کردن به 3 خط */
    -webkit-box-orient: vertical;
    position: relative;
}

    .description-text.full {
        display: block; /* نمایش کامل متن */
        -webkit-line-clamp: unset;
    }

.toggle-btn {
    color: #007bff;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
}

    .toggle-btn:hover {
        text-decoration: underline;
    }


.search_right_sidebar {
    display: block !important;
}

.s-box {
    display: none !important;
}

@media (min-width: 768px) {
    .s-box {
        display: block !important;
    }
}



.s-catalog-link.is-active {
    color: #007bff;
    font-weight: bold;
}

.s-catalog-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: .9rem;
    line-height: 1.5;
    color: #333;
    text-decoration: none;
}

    .s-catalog-link:hover {
        background-color: #f8f9fa;
    }

.accordion-toggle {
    padding: 1rem;
    font-size: .9rem;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}


.modal-content {
    border-radius: 15px;
    height: 100% !important;
    overflow-y: hidden !important;
    overflow-x: hidden;
}


.modal-header {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.filter-btn {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

    .filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        color: white;
    }

.form-check-label {
    cursor: pointer;
}

.s-box-filter {
    max-height: 300px;
    overflow-y: auto;
}


/* استایل عمومی */
.custom-checkbox {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox label {
    cursor: pointer;
    position: relative;
    padding-right: 35px;
    font-size: 16px;
}

    .custom-checkbox label::before {
        content: '';
        position: absolute;
        right: 0;
        width: 24px;
        height: 24px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

.custom-checkbox input:checked + label::after {
    content: '✔';
    position: absolute;
    right: 4px;
    top: 2px;
    font-size: 16px;
    color: white;
}

/* استایل 1: گرادینت مدرن */
.checkbox-style-1 input + label::before {
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
    border: 2px solid #007bff;
}

.checkbox-style-1 input:checked + label::before {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-color: #007bff;
}

/* استایل 2: انیمیشن مقیاس‌پذیر */
.checkbox-style-2 input + label::before {
    background: #ffffff;
    border: 2px solid #28a745;
}

.checkbox-style-2 input:checked + label::before {
    background: #28a745;
    transform: scale(1.1);
}

/* استایل 3: شکل دایره‌ای */
.checkbox-style-3 input + label::before {
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #dc3545;
}

.checkbox-style-3 input:checked + label::before {
    background: #dc3545;
}

/* استایل 4: افکت نئون */
.checkbox-style-4 input + label::before {
    background: #ffffff;
    border: 2px solid #6f42c1;
    box-shadow: 0 0 5px rgba(111, 66, 193, 0.3);
}

.checkbox-style-4 input:checked + label::before {
    background: #6f42c1;
    box-shadow: 0 0 10px rgba(111, 66, 193, 0.7);
}

/* ریسپانسیو برای موبایل و تبلت */
@media (max-width: 767px) {
    .custom-checkbox label {
        font-size: 14px;
    }

        .custom-checkbox label::before {
            width: 20px;
            height: 20px;
        }

    .custom-checkbox input:checked + label::after {
        right: 3px;
        top: 1px;
        font-size: 14px;
    }
}


.filter-badge {
    background-color: #e3f2fd;
    color: #0d47a1;
    font-weight: 500;
    padding: .6rem .8rem !important;
    line-height: 0 !important;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.filter-badge:hover {
    background-color: #bbdefb;
}

.filter-badge .close {
    margin-right: 8px;
    color: #d32f2f;
    opacity: 1;
    font-size: 16px;
    line-height: 1;
}

    .filter-badge .close:hover {
        color: #b71c1c;
    }

.checkbox-container {
    margin-top: 20px;
}

.hidden {
    display: none;
}

.filter-badge {
    opacity: 1;
    transition: opacity 0.3s ease;
}

    .filter-badge.removing {
        opacity: 0;
    }


