.business-logo-wrapper {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
}
.business-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.business-logo-wrapper.verified .business-logo-img {
    border-color: #3b82f6;
    padding: 2px;
}
.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: 10px;
    z-index: 10;
}
.fav-btn.active {
    background-color: #dc3545;
    color: white;
}
.fav-btn.active .fav-icon {
    fill: white;
    stroke: white;
}
.fav-btn:hover .fav-icon {
    animation: heartbeat 1s infinite;
}
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}
.horizontal-gallery {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}
.horizontal-gallery::-webkit-scrollbar {
    height: 6px;
}
.horizontal-gallery::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.horizontal-gallery::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.gallery-item {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}

#galleryModal .modal-content {
    background-color: #ffffff;
    overflow: hidden;
    height: 90vh;
}
#galleryModal .modal-body {
    height: 100%;
    background-color: #ffffff;
}
.modal-main-image {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    user-select: none;
    transition: opacity 0.2s;
}
.btn-close-modal,
.btn-close-modal-grid {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-close-modal:hover,
.btn-close-modal-grid:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1050;
}
.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

#modalGalleryWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
}
.rating-badge {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}
.hero-section {
    position: relative;
    width: 100%;
    background-color: #fff;
}
.hero-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.mobile-header-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.icon-btn-glass {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.icon-btn-glass:hover {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}
.business-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 30px;
    background: #fff;
    z-index: 5;
    bottom: 15px;
    right: 15px;
}
.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.content-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: none;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
    .container-custom {
        max-width: 1100px;
        margin: 0 auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .hero-image {
        border-radius: 15px;
        height: 350px;
    }
    .mobile-header-overlay {
        display: none;
    }
    .business-logo {
        bottom: 15px;
        right: 15px;
        width: 120px;
        height: 120px;
    }
    .info-header-spacing {
        margin-top: 0px;
    }
    .sticky-sidebar {
        position: sticky;
        top: 90px;
    }
}
@media (max-width: 991.98px) {
    .container-custom {
        padding: 0;
    }

    .first-card-mobile {
        border-radius: 25px 25px 0 0;
        margin-top: -25px ;
        position: relative;
        z-index: 2;
        border-bottom: 1px solid #eee;
    }
    .hero-image {
        border-radius: 0;
    }
    .info-header-spacing {
        margin-top: 0;
    }

}
.info-pill {
    background-color: #f8f9fa;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
}
.leaflet-container {
    font-family: 'IRANYekanX' !important;
}
.leaflet-touch .leaflet-bar a,
.leaflet-popup-content,
.leaflet-control {
    font-family: 'IRANYekanX' !important;
}
.leaflet-gesture-handling-touch-warning,
.leaflet-gesture-handling-scroll-warning {
    font-family: 'IRANYekanX' !important;
}
.app-map {
    width: 100%;
    height: 350px;
    z-index: 1;
}
.leaflet-control-attribution {
    display: none !important;
}
.info-tag-businesses svg
{
    width: 32px !important;
    height: 32px !important;
}
.quick-access-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.quick-access-scroll::-webkit-scrollbar {
    display: none;
}
.qa-item {
    white-space: nowrap;
    flex: 0 0 auto;
    text-decoration: none;
    color: #555;
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 7px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.qa-item:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}
.qa-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hours-badge-b
{
    height: 32px !important;
    padding: 5px 8px !important;
    border-radius: 7px !important;
    font-size: 0.85rem !important;
}
.btnShareContent
{
    height: 32px;
}
.fav-btn
{
    height: 32px;
}

.quick-access-link {
    width: max-content;
}

