.like-button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: #ff6b6b; /* رنگ پیش‌فرض قلب */
    transition: transform 0.2s ease;
}

.like-button:hover {
    transform: scale(1.2); /* افکت بزرگ‌نمایی هنگام هاور */
}

.fas.fa-heart {
    color: #ff6b6b; /* قلب توپر */
}

.far.fa-heart {
    color: #ccc; /* قلب خالی */
}


.whatsapp_icon {
    position: fixed;
    bottom: 30px !important;
    right: 20px !important;
}

.whatsapp_icon a {
    position: relative;
}

.whatsapp_icon .notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp_icon .notification-dot i {
    font-size: 7px;
    margin-top: 1px;
}

.whatsapp_icon img {
    width: 50px !important;
    border-radius: 50%;
}

.whatsapp-bubble {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 24px 0px;
    max-width: 360px !important;
    position: fixed;
    right: 20px;
    bottom: 90px !important;
}

.whatsapp-bubble .card-header {
    position: relative;
    padding: 24px 20px;
}

.whatsapp-bubble .card {
    border: none;
    border: none;
}

.whatsapp-bubble .card-header .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.whatsapp-bubble .card-header .close-btn i {
    font-size: 16px;
}

.whatsapp-bubble .card-body {
    padding: 20px 20px 20px 10px;
    background-color: rgb(230, 221, 212);
    position: relative;
    overflow: auto;
    max-height: 382px;
}

.whatsapp-bubble .card-body::before {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 0.08;
    /*background-image: url(http://127.0.0.1/listplace_codecanyon/project/assets/themes/classic/img/whatsapp-bg.webp);*/
}

.whatsapp-bubble .card-body .whatsapp-chat-text {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
}

.whatsapp-bubble .profile {
    display: flex;
}

.whatsapp-bubble .profile .profile-thum {
    min-width: 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.whatsapp-bubble .profile .profile-thum .active-dot {
    position: absolute;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: rgb(74, 213, 4);
    bottom: 4px;
    left: 40px;
    border: 1px solid white;
}

.whatsapp-bubble .profile .profile-thum img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

.whatsapp-bubble .profile .profile-content .profile-title {
    font-weight: 600;
}

.whatsapp-bubble .profile .profile-content p {
    font-size: 14px;
}

.whatsapp-bubble .card-footer {
    padding: 20px;
}

.whatsapp-bubble .card-footer .btn-custom {
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    text-transform: capitalize;
}

.whatsapp-bubble .card-footer .btn-custom i {
    font-size: 14px;
}


.scroll-box {
    display: flex;
    justify-content: space-between; /* فاصله مساوی بین آیکون‌ها */
    align-items: center;

    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scroll-box span {
    font-family: IranSans !important;

}

.scroll-box-item {
    flex: 1; /* عرض مساوی برای همه آیتم‌ها */
    text-align: center;
    cursor: pointer;
    color: #4150e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.scroll-box-item span {
    font-size: 10px;
}

.scroll-box-item:hover {
    transform: scale(1.1);
    color: #082c53;
}

.scroll-box-item i {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

section {
    /*height: 100vh;*/
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

/* استایل اصلی مودال */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 1px;
    border-radius: 8px;
    /*width: 90%;*/
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin: 0 0 20px;
    font-size: 18px;
}

.share-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 100px;
}

.share-button {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.share-button img {
    width: 24px;
    height: 24px;
}

.share-button:hover {
    transform: scale(1.1);
}

.close-button {
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.close-button:hover {
    background-color: #d32f2f;
}

#fullText {
    display: none;
}

.show-more-btn {
    cursor: pointer;
    color: blue;
}

#map {
    height: 200px; /* ارتفاع نقشه */
    width: 100%; /* عرض نقشه */
    /*max-width: 400px; !* حداکثر عرض نقشه *!*/
    border: 1px solid #ccc; /* حاشیه برای زیبایی */
    border-radius: 8px; /* گوشه‌های گرد */
    overflow: hidden; /* جلوگیری از بیرون زدن محتوا */
    margin: 0 auto; /*居中 نمایش نقشه */
}

/* استایل‌های مربوط به باکس کناری */
.side-bar {
    /*padding: 20px;*/
    background-color: #f9f9f9;
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    /*margin: 20px auto;*/
    /*max-width: 400px;*/
}

#section-description h3 {
    font-size: 1.1em !important;
}

#section-description h4 {
    font-size: 1em !important;

}

#section-description h5 {
    font-size: 0.9em !important;

}

#section-description ul {
    list-style: none; /* حذف استایل پیش‌فرض */
    padding-right: 20px; /* فاصله از چپ برای تنظیم دایره */
}

#section-description ul li {
    position: relative;
    padding-right: 20px; /* فاصله از چپ برای دایره */
}

#section-description ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px; /* قطر دایره */
    height: 6px; /* قطر دایره */
    background-color: #10256b; /* رنگ دایره */
    border-radius: 50%; /* ساخت دایره */
}

.far.fa-heart {
    color: black;
}

.fas.fa-heart {
    color: #ac0c0c;
}

.bussines-logo-top {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.social-link-detail {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}


.contact-info {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.contact-button {
    background-color: #0a2472;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-button i {
    margin-right: 10px;
}

.ftco-degree-bg {
    position: relative;
}


.main-media {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    cursor: pointer;
}

.thumbnail-img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    margin: 0 5px;
}

.slick-slide {
    margin: 0 5px;
}

.slick-slider {
    margin: 20px 0;
}

.listing-details .owl-carousel .owl-nav, .listing-details .owl-carousel .owl-nav.disabled {
    display: none !important;
}

.gallery-container {
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
}

.main-media {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    cursor: pointer;
}

.thumbnail-slider {
    margin-top: 15px;
    overflow: hidden;
    position: relative;
}

.thumbnails {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
}

.thumb-item.active {
    border: 2px solid #4150e1;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(65, 80, 225, 0.7);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Modal Animation */
.modal-content {
    /*opacity: 0;*/
    transform: scale(0.8);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    opacity: 1;
    transform: scale(1);
}

.fixedd {
    /*    position: fixed;*/
    /*    top: 74px;*/
    /*    z-index: 1000;*/
    /*    background-color: var(--white);*/
}

.listing-details .info-box .address {
    font-size: 15px;
}

/* سایز و مرکز کردن آیکون‌ها */
#mapModal .modal-body img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

/* تنظیم مودال برای زیبایی بیشتر */
#mapModal .modal-content {
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.3s ease-in-out;
    overflow: hidden;
}

/* افکت باز شدن مودال */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* تنظیم hover برای هر نقشه */
#mapModal .modal-body a {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#mapModal .modal-body a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* عنوان مودال */
#mapModal .modal-title {
    font-size: 1.3rem;
    color: #333;
}

/* متن راهنما */
#mapModal p.text-muted {
    font-size: 0.95rem;
}


@media screen and (max-width: 640px) {
    #mapModal .modal-dialog {
        margin: 1rem;
    }

    .bussines-logo-top {
        width: 50px;
        height: 50px;
    }

    .fixedd {
        position: fixed;
        top: 93px;
        z-index: 1000;
        background-color: var(--white);
        left: 0;
        right: 0;
    }

    .fixedd i {
        display: inline-block !important;
        font-size: 14px;
    }

    .listing-details .info-box .address {
        font-size: 13px;
    }
}


.thumbnail-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.thumbnail-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.thumb-item-fancy {
    flex: 0 0 auto;
    width: 100px;
    height: 75px;
    scroll-snap-align: center;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s;
}

.thumb-item-fancy.active {
    outline: 2px solid #4150e1;
    transform: scale(1.05);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.review-username {
    font-weight: 700;
}

#mainPreview {
    /*position: relative;*/
    width: 100%;
    height: 400px; /* ارتفاع ثابت برای مدیای بزرگ */
    background-color: #f5f5f5; /* رنگ پس‌زمینه در زمان لود */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.main-preview-media {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.rating-star {
    font-size: 35px;
    color: #ccc;
    transition: color .3s;
    pointer-events: none; /* آیکن کلیک‌گیر نباشه */
}

/* پوسته هر ستاره */
.star-btn {
    position: relative;
    display: inline-block;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

/* عدد وسط ستاره */
.star-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: .9rem;
    font-weight: 700;
    color: #000;
    pointer-events: none; /* کلیک روی عدد جلو رو نگیرد */
    text-shadow: 0 0 2px #fff; /* خواناتر وسط ستاره */
}

/* رنگ‌دهی هنگام hover/انتخاب */
.star-btn.hovered .rating-star,
.star-btn.selected .rating-star {
    color: #ffc107;
}

.rating-view .fa-star {
    font-size: 20px;
    margin: 0 2px;
}

.rating-view .fas.fa-star {
    color: #ffc107;
}

/* پر (طلایی) */
.rating-view .far.fa-star {
    color: #ccc;
}

/* توخالی (خاکستری) */
.rating-view .star {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    font-size: 22px;
    margin: 0 2px;
    line-height: 1;
}

.star-base {
    color: #ccc;
}

.star-fill {
    color: #ffc107;
    position: absolute;
    inset: 0;
    overflow: hidden; /* فقط درصد موردنظر دیده شود */
}

#business-hours .list-group-item {
    background-color: #fdfdfd;
    border-color: #eee;
    font-size: 15px;
    font-family: IranSans;
}

#business-hours .badge {
    font-size: 13px;
    padding: 5px 10px;
}

#business-hours i {
    font-size: 16px;
    color: #555;
    padding: 0 10px;
}

#business-hours .card-header {
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

#business-hours .table td {
    padding: 6px 8px;
}

#business-hours .badge {
    font-size: 12px;
    font-family: IranSans, sans-serif;
    background-color: #f0fdf4;
    border: 1px solid #b5e0c5;
}

#business-hours .text-muted {
    font-size: 13px;
}

@media (max-width: 640px) {
    #business-hours .table td {
        font-size: 12px;
    }
}

#business-hours-box .card-header {
    font-size: 14px;
    transition: background 0.3s;
}

#business-hours-box .card-header:hover {
    background-color: #f8f9fa;
}

#business-hours-box .fa-chevron-down,
#business-hours-box .fa-chevron-up {
    transition: transform 0.3s;
}


.review-card {
    border-radius: 14px;
    border: 1px solid #eef0fb;
    background: #fff;
    padding: 14px 16px;
    box-shadow: 0 6px 20px rgba(45, 42, 223, .06)
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.review-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700
}

.review-stars i {
    font-size: 14px
}

.owner-reply {
    border-radius: 12px;
    border: 1px dashed #9aa5ff;
    background: linear-gradient(180deg, #f7f8ff 0, #ffffff 100%);
    padding: 12px 14px;
    margin-top: 10px;
    position: relative
}

.owner-reply:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 22px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #9aa5ff2b transparent
}

.owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .2rem .5rem;
    border-radius: 30px;
    background: #eef0ff;
    color: #2d2adf;
    font-weight: 600;
    font-size: .8rem
}

.owner-meta {
    font-size: .75rem;
    color: #8a8fa3
}

.review-text {
    white-space: pre-line;
    margin: .5rem 0 0
}
