/* ============================================
   MOBILE-FIRST RESTAURANT PAGE STYLES
   Optimized for: SEO, E-E-A-T, Menu CTA
   ============================================ */

/* Base Reset & Overflow Prevention */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
}
@media (min-width: 769px) {
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
}

/* ============================================
   BREADCRUMB - Compact
   ============================================ */
.breadcrumb-custom {
    background: #f8f9fa;
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 12px;
    border-bottom: 1px solid #eee;
}
.breadcrumb-custom a {
    color: #888;
    text-decoration: none;
}
.breadcrumb-custom a:hover {
    color: #ec7205;
}
.breadcrumb-custom span {
    color: #555;
}

/* ============================================
   HERO SECTION - Mobile Optimized
   ============================================ */
.restaurant-hero {
    background: #fff;
    padding: 12px 0 16px;
}

/* Mobile: Header with photo thumbnail on right */
.hero-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.hero-info {
    flex: 1;
    min-width: 0;
}
.hero-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 769px) {
    .hero-thumbnail {
        width: 140px;
        height: 180px;
        border-radius: 12px;
    }
}

/* Restaurant Name - H1 */
.restaurant-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.2;
}
@media (min-width: 769px) {
    .restaurant-name { font-size: 32px; margin-bottom: 10px; }
}

/* Address - Compact */
.restaurant-address {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}
.restaurant-address svg {
    flex-shrink: 0;
    margin-top: 2px;
}
@media (min-width: 769px) {
    .restaurant-address { font-size: 15px; }
}

/* Status & Price - Inline badges */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.status-badge.open {
    background: #d4edda;
    color: #155724;
}
.status-badge.closed {
    background: #f8d7da;
    color: #721c24;
}
.status-badge .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.price-badge, .cuisine-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    background: #f0f2f5;
    color: #555;
}

/* Rating Section - Compact */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}
.stars-container {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}
.stars-empty {
    color: #ddd;
    letter-spacing: 2px;
}
.stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f6ad55;
    letter-spacing: 2px;
}
.rating-score {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}
.rating-count {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}
.btn-recommend-small {
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid #28a745;
    background: transparent;
    color: #28a745;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-recommend-small:hover {
    background: #28a745;
    color: #fff;
}

/* ============================================
   MENU CTA - HERO BUTTON (Primary Focus)
   ============================================ */
.menu-cta {
    margin: 12px 0 8px;
    text-align: center;
}
.btn-menu-hero {
    display: block;
    width: 94%;
    max-width: 500px;
    margin: 0 auto;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ec7205 0%, #ff8c1a 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(236, 114, 5, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-menu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-menu-hero:hover::before {
    left: 100%;
}
.btn-menu-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 114, 5, 0.5);
    color: #fff;
    text-decoration: none;
}
@media (min-width: 769px) {
    .btn-menu-hero {
        width: auto;
        min-width: 350px;
        padding: 18px 40px;
        font-size: 20px;
    }
    .menu-cta {
        text-align: left;
        margin: 20px 0;
    }
}

/* ============================================
   PHOTO STRIP - Horizontal scroll
   ============================================ */
.photo-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip a {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}
.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-strip a:hover img {
    transform: scale(1.1);
}
.photo-strip .more-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    min-width: 70px;
}
@media (min-width: 769px) {
    .photo-strip {
        margin: 0;
        padding: 10px 0;
    }
    .photo-strip a, .photo-strip .more-photos {
        width: 90px;
        height: 90px;
    }
}

/* ============================================
   DESKTOP: Two Column Layout
   ============================================ */
@media (min-width: 769px) {
    .restaurant-hero {
        padding: 20px 0 25px;
    }
    .hero-header {
        gap: 25px;
    }
    .hero-thumbnail {
        order: 2;
    }
}

/* ============================================
   LEGACY STYLES - Keep for compatibility
   ============================================ */
.box-info-indirizzo {
    color: #666;
    font-size: 14px;
    display: block;
}
.badge-sp {
    background: #f0f2f5;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin: 4px;
    display: inline-block;
}
.badge-open {
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}
/* Recommend Button */
.btn-recommend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}
.btn-recommend:hover {
    background: #e9ecef;
    border-color: #ccc;
}
.btn-recommend.recommended {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}
.btn-recommend.recommended:hover {
    background: #218838;
}
.btn-recommend.loading {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
    cursor: wait;
}
.btn-recommend.error {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.btn-recommend .icon {
    font-size: 16px;
    transition: transform 0.2s;
}
.container-voto-consigli {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.container-voto-locale {
    display: flex;
    align-items: center;
    gap: 10px;
}
.star-rating {
    display: inline-block;
    position: relative;
    font-size: 24px;
    color: #ddd;
}
.star-rating::before {
    content: '★★★★★';
}
.star-vote {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffa500;
}
.star-vote::before {
    content: '★★★★★';
}
.rating-number {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.raccomandato {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}
/* Menu CTA Section - Button only on desktop (image is on right column) */
.menu-cta-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
    padding: 0;
}
/* Mobile: show thumbnail above button */
.menu-thumbnail {
    display: block;
    width: 140px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    margin: 0 auto;
}
.menu-thumbnail:hover {
    transform: scale(1.03);
}
.menu-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Desktop: hide thumbnail in menu-cta-section (shown in right column instead) */
@media (min-width: 769px) {
    .menu-cta-section {
        align-items: flex-start;
    }
    .menu-cta-section .menu-thumbnail {
        display: none;
    }
}
/* Hero Menu Button - Primary CTA */
.btn-menu-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}
.btn-menu {
    background: linear-gradient(135deg, #ec7205 0%, #ff8c1a 100%);
    color: #fff;
    padding: 20px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(236, 114, 5, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.btn-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-menu:hover::before {
    left: 100%;
}
.btn-menu:hover {
    background: linear-gradient(135deg, #d46604 0%, #ec7205 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 114, 5, 0.45);
}
.btn-menu:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(236, 114, 5, 0.35);
}
@media (max-width: 768px) {
    .btn-menu {
        width: 90%;
        padding: 18px 30px;
        font-size: 20px;
    }
}
@media (min-width: 769px) {
    .btn-menu {
        width: auto;
        min-width: 400px;
    }
}
.info-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.info-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}
.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    font-weight: 600;
    color: #666;
    width: 140px;
    flex-shrink: 0;
}
.info-value {
    color: #333;
    flex: 1;
}
.similar-restaurants {
    margin-top: 40px;
}
.restaurant-card-small {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.restaurant-card-small:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.restaurant-card-small h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.restaurant-card-small .rating {
    color: #ffa500;
    font-size: 14px;
}
@media (max-width: 768px) {
    .box-info {
        padding: 20px;
    }
    .box-info-nome {
        font-size: 24px;
    }
    .container-voto-consigli {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Restaurant Description Styles */
.restaurant-description {
    background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid #e74c3c;
}
.restaurant-description h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.restaurant-description h2::before {
    content: '';
    width: 6px;
    height: 24px;
    background: #e74c3c;
    border-radius: 3px;
}
.restaurant-description-text {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}
.restaurant-description-text p {
    margin-bottom: 16px;
}
.restaurant-description-text p:last-child {
    margin-bottom: 0;
}
.description-author {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}
.description-author .author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}
.description-author .author-badge i {
    color: #ec7205;
    font-size: 14px;
}
@media (max-width: 768px) {
    .restaurant-description {
        padding: 20px;
    }
    .restaurant-description-text {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }
}

/* Popular Dishes Styles */
.popular-dishes-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.popular-dishes-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.popular-dishes-section h2 .icon {
    color: #e74c3c;
    font-size: 22px;
}
.dishes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dish-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #fcd5d5;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #c0392b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.dish-item:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
    text-decoration: none;
}
.dish-item:hover .dish-star {
    color: #ffd700;
}
.dish-star {
    font-size: 12px;
    color: #e74c3c;
    transition: color 0.2s;
}
.dish-recommendations {
    font-size: 11px;
    background: rgba(231,76,60,0.15);
    padding: 2px 8px;
    border-radius: 10px;
    color: #c0392b;
}
@media (max-width: 768px) {
    .popular-dishes-section {
        padding: 20px;
    }
    .dish-item {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Photo Gallery Styles */
.photo-gallery-section {
    margin-top: 30px;
}
.photo-gallery-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.photo-grid-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #f0f2f5;
}
.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.photo-grid-item:hover img {
    transform: scale(1.05);
}
.photo-grid-item.more-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.photo-grid-item.more-photos:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* Photo Lightbox */
.photo-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    flex-direction: column;
}
.photo-lightbox.active {
    display: flex;
}
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.lightbox-header .photo-counter {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    touch-action: none;
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    user-select: none;
}
.lightbox-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 10;
}
.lightbox-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.lightbox-nav-btn:hover:not(:disabled) {
    background: #e74c3c;
    transform: scale(1.1);
}
.lightbox-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.zoom-indicator.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .lightbox-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Google Reviews Styles */
.reviews-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.reviews-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Google Reviews hero card */
.google-reviews-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid #e6eefb;
    border-radius: 12px;
}
.google-reviews-hero .google-logo-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.google-reviews-hero .google-logo-wrap svg {
    width: 32px;
    height: 32px;
}
.google-reviews-hero .gr-rating-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.google-reviews-hero .gr-big {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
    letter-spacing: -1px;
}
.google-reviews-hero .gr-big .scale {
    font-size: 18px;
    font-weight: 600;
    color: #718096;
    margin-left: 2px;
}
.google-reviews-hero .gr-stars {
    color: #f6c23e;
    font-size: 18px;
    letter-spacing: 2px;
}
.google-reviews-hero .gr-stars .empty {
    color: #e2e8f0;
}
.google-reviews-hero .gr-count {
    margin-left: auto;
    text-align: right;
    color: #4a5568;
    font-size: 13px;
    line-height: 1.4;
}
.google-reviews-hero .gr-count strong {
    display: block;
    font-size: 22px;
    color: #1a202c;
    font-weight: 700;
}
@media (max-width: 640px) {
    .google-reviews-hero {
        flex-wrap: wrap;
        gap: 16px;
    }
    .google-reviews-hero .gr-count {
        margin-left: 0;
        text-align: left;
        flex: 1 0 100%;
    }
}
.review-card {
    padding: 20px 0;
    border-bottom: 1px solid #f0f2f5;
}
.review-card:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.review-author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 3px 0;
}
.review-date {
    font-size: 13px;
    color: #999;
}
.review-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.review-stars {
    color: #ffa500;
    font-size: 16px;
    letter-spacing: 1px;
}
.review-score {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}
.review-text {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}
.review-text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-read-more {
    color: #e74c3c;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    display: inline-block;
    font-size: 14px;
}
.review-read-more:hover {
    text-decoration: underline;
}
.review-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}
.google-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 20px;
    }
    .review-header {
        flex-direction: column;
    }
}

/* Menu Items Styles */
.menu-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.menu-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-category {
    margin-bottom: 30px;
}
.menu-category:last-child {
    margin-bottom: 0;
}
.menu-category-title {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-item-info {
    flex: 1;
    padding-right: 15px;
}
.menu-item-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}
.menu-item-description {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}
.menu-item-format {
    font-size: 12px;
    color: #999;
    font-style: italic;
}
.menu-item-price {
    font-weight: 700;
    color: #27ae60;
    font-size: 16px;
    white-space: nowrap;
}
.menu-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
}

@media (max-width: 768px) {
    .menu-section {
        padding: 20px;
    }
    .menu-item {
        flex-direction: column;
        gap: 8px;
    }
    .menu-item-price {
        align-self: flex-start;
    }
}

/* Opening Hours Styles */
.opening-hours-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.opening-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}
.opening-status-badge.open {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}
.opening-status-badge.closed {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: #fff;
}
.opening-status-badge .pulse {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hours-grid {
    display: grid;
    gap: 8px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hours-row:hover {
    background: #f8f9fa;
}
.hours-row.today {
    background: #fff3cd;
    font-weight: 600;
}
.hours-day {
    color: #333;
}
.hours-time {
    color: #666;
}

/* Opening Hours Sidebar Styles */
.opening-hours-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.opening-hours-sidebar .hours-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.opening-hours-sidebar .hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
}
.opening-hours-sidebar .hours-row.today {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    font-weight: 600;
    border-left: 3px solid #ffc107;
}
.opening-hours-sidebar .day-name {
    color: #444;
    font-weight: 500;
}
.opening-hours-sidebar .day-hours {
    color: #666;
}
.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.closed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Sluurpy "Recommended" yearly badges */
.sluurpy-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px;
}
.sluurpy-badges-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-right: 4px;
}
.sluurpy-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 2px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #86efac;
    border-radius: 999px;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    transition: transform .15s;
}
.sluurpy-badge:hover {
    transform: translateY(-1px);
}
.sluurpy-badge-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}
.sluurpy-badge-year {
    padding-right: 4px;
}

/* Rank badge — Trip ranking credibility */
.rank-badge-wrap {
    margin-top: 4px;
}
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.rank-badge-icon {
    font-size: 14px;
    line-height: 1;
}

/* Sluurpy Quality Index */
.quality-index-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.quality-index-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.quality-index-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}
.quality-index-header .qi-tag {
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.quality-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}
.qi-metric {
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    padding: 12px 14px;
}
.qi-metric-label {
    font-size: 11px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}
.qi-metric-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}
.qi-metric-value .qi-big {
    font-size: 24px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
}
.qi-metric-value .qi-scale {
    font-size: 12px;
    color: #a0aec0;
}
.qi-metric-bar {
    background: #e5e7eb;
    border-radius: 99px;
    height: 6px;
    overflow: hidden;
}
.qi-metric-bar-fill {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    height: 100%;
    border-radius: 99px;
}

/* Tag pills — search.tags (compact inline) */
.tag-pills-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 4px;
}
.tag-pills-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-right: 2px;
}
.tag-pills {
    display: contents;
}
.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
    text-transform: capitalize;
}
.tag-pill:hover {
    background: #ec7205;
    color: #fff;
}

/* UGC strip — compact footer-style contribution bar */
.ugc-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 30px;
    font-size: 13px;
}
.ugc-strip-label {
    color: #4a5568;
    font-weight: 500;
    margin-right: 6px;
}
.ugc-strip-btn {
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #2d3748;
    transition: background .15s, border-color .15s;
}
.ugc-strip-btn:hover {
    background: #fef5ec;
    border-color: #ec7205;
}

/* Highlights Section — Google-verified attributes */
.highlights-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.highlights-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.highlight-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #fde4c5;
    font-size: 14px;
    color: #1a202c;
    line-height: 1.3;
}
.highlight-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.highlights-source {
    margin: 14px 0 0;
    font-size: 12px;
    color: #94a3b8;
    text-align: right;
    font-style: italic;
}

/* Sluurpy Community Card — original Sluurpy reviews data */
.sluurpy-community-card {
    background: linear-gradient(135deg, #0BD496 0%, #08b67d 100%);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.sluurpy-community-card .sc-logo {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}
.sluurpy-community-card .sc-rating {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sluurpy-community-card .sc-big {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.sluurpy-community-card .sc-big .scale {
    font-size: 16px;
    opacity: 0.7;
    font-weight: 600;
}
.sluurpy-community-card .sc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}
.sluurpy-community-card .sc-text {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    line-height: 1.4;
}
.sluurpy-community-card .sc-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

/* TripAdvisor Rating Distribution histogram */
.rating-distribution {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}
.rating-distribution h3 {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rating-distribution-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rating-distribution-row {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.rating-distribution-row .rd-stars {
    color: #f6c23e;
    font-weight: 600;
}
.rating-distribution-row .rd-bar {
    background: #edf2f7;
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
}
.rating-distribution-row .rd-bar-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #ec7205 100%);
    height: 100%;
    border-radius: 99px;
}
.rating-distribution-row .rd-count {
    color: #718096;
    font-size: 12px;
    text-align: right;
}

/* Multi-Source Ratings Styles — clean light design */
.multi-ratings-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    color: #1a202c;
}
.multi-ratings-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    flex-wrap: wrap;
}
.overall-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.overall-score-value {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    color: #ec7205;
}
.overall-score-value .scale {
    font-size: 22px;
    font-weight: 600;
    color: #cbd5e0;
    margin-left: 4px;
}
.overall-score-value-sub {
    margin-top: 6px;
    font-size: 11px;
    color: #a0aec0;
    letter-spacing: 0.5px;
}
.overall-score-label {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.total-reviews-count {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
    align-self: center;
}
.total-reviews-count strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
}
.ratings-sources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.rating-source-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    transition: background .2s, transform .2s, border-color .2s;
}
.rating-source-card:hover {
    background: #fff;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}
.rating-source-card-sluurpy {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #86efac;
    position: relative;
}
.rating-source-card-sluurpy::before {
    content: 'OWN';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #16a34a;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.rating-source-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}
.rating-source-name {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    vertical-align: middle;
}
.rating-source-value {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.rating-source-value .scale {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 500;
}
.rating-source-reviews {
    font-size: 11px;
    color: #a0aec0;
    margin-top: 2px;
}

/* Service Badges Styles */
.services-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f2f5;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
}
.service-badge:hover {
    background: #e3e6ea;
    transform: translateY(-1px);
}
.service-badge .icon {
    font-size: 16px;
}
.price-range-display {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
}

/* Popular Times Chart Styles */
.popular-times-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.popular-times-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.day-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.day-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: #f0f2f5;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s;
}
.day-tab:hover {
    background: #e3e6ea;
}
.day-tab.active {
    background: #e74c3c;
    color: #fff;
}
.hours-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100px;
    padding: 10px 0;
}
.hour-bar {
    flex: 1;
    min-width: 20px;
    background: linear-gradient(to top, #e74c3c, #f39c12);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}
.hour-bar:hover {
    opacity: 0.8;
}
.hour-bar::after {
    content: attr(data-hour);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: #999;
    white-space: nowrap;
}
.hour-bar[data-percentage="0"] {
    background: #f0f2f5;
}
.busyness-legend {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}
.legend-dot.low { background: #f0f2f5; }
.legend-dot.medium { background: #f39c12; }
.legend-dot.high { background: #e74c3c; }

/* Review Tags Styles */
.review-tags-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.review-tags-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}
.review-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.review-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    transition: all 0.2s;
}
.review-tag:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}
.review-tag-count {
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* User Recommendations Styles */
.recommendations-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}
.recommendations-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.recommendations-count {
    color: #e74c3c;
    font-weight: 700;
}
.user-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.user-avatar:first-child {
    margin-left: 0;
}
.user-avatar:hover {
    transform: scale(1.1);
    z-index: 10;
    position: relative;
}
.more-users {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-left: -12px;
    border: 3px solid #fff;
}
.user-names {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.user-names strong {
    color: #333;
}

/* Related Restaurants Styles */
.related-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.related-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a202c;
}
.related-section h2 i {
    color: #ec7205;
    margin-right: 6px;
}
.related-section .related-subtitle {
    font-size: 13px;
    color: #718096;
    margin: 0 0 18px 4px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.related-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.related-card-image {
    position: relative;
    height: 140px;
    background: #f0f2f5;
    overflow: hidden;
}
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
}
.related-rating-badge i {
    color: #f6c23e;
    margin-right: 3px;
}
.related-card-info {
    padding: 12px 14px 14px;
}
.related-card-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1a202c;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-card-cat {
    font-size: 12px;
    color: #4a5568;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-card-dist {
    font-size: 12px;
    color: #718096;
}
.related-card-dist i {
    color: #ec7205;
    margin-right: 3px;
}
.related-card-city {
    font-size: 13px;
    color: #999;
}
.related-see-all {
    text-align: center;
    margin-top: 18px;
}
.btn-see-all {
    display: inline-block;
    padding: 10px 20px;
    background: #ec7205;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}
.btn-see-all:hover {
    background: #d56504;
    color: #fff;
    text-decoration: none;
}

/* Competitor Comparison Styles */
.comparison-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.comparison-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.comparison-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #e9ecef;
}
.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}
.comparison-table tr:hover td {
    background: #f8f9fa;
}
.comparison-table .restaurant-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.comparison-table .restaurant-link:hover {
    color: #e74c3c;
}
.score-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 13px;
}
.score-badge.excellent { background: #d4edda; color: #155724; }
.score-badge.good { background: #fff3cd; color: #856404; }
.score-badge.average { background: #f8d7da; color: #721c24; }

@media (max-width: 768px) {
    .multi-ratings-header {
        flex-direction: column;
        text-align: center;
    }
    .ratings-sources {
        justify-content: center;
    }
    .hours-chart {
        overflow-x: auto;
    }
    .comparison-table {
        font-size: 12px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }
}

/* ============================================
   UGC CONTRIBUTION SECTION
   ============================================ */
.ugc-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.ugc-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ugc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ugc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
}

.ugc-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.ugc-btn.primary {
    background: #ec7205;
    color: #fff;
    border-color: #ec7205;
}

.ugc-btn.primary:hover {
    background: #d56605;
}

.ugc-btn.danger {
    color: #dc3545;
    border-color: #dc3545;
}

.ugc-btn.danger:hover {
    background: #dc3545;
    color: #fff;
}

/* Modal Styles */
.ugc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ugc-modal.active {
    display: flex;
}

.ugc-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ugc-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ugc-modal-header h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #2d3748;
}

.ugc-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    line-height: 1;
}

.ugc-modal-close:hover {
    color: #343a40;
}

.ugc-modal-body {
    padding: 24px;
}

.ugc-form-group {
    margin-bottom: 16px;
}

.ugc-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}

.ugc-form-group input,
.ugc-form-group textarea,
.ugc-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.ugc-form-group input:focus,
.ugc-form-group textarea:focus,
.ugc-form-group select:focus {
    outline: none;
    border-color: #ec7205;
}

.ugc-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.ugc-submit-btn {
    width: 100%;
    padding: 12px;
    background: #ec7205;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ugc-submit-btn:hover {
    background: #d56605;
}

.ugc-submit-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

.ugc-success {
    text-align: center;
    padding: 30px;
}

.ugc-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ugc-success h4 {
    color: #28a745;
    margin-bottom: 8px;
}

.ugc-success p {
    color: #6c757d;
}

@media (max-width: 480px) {
    .ugc-buttons {
        flex-direction: column;
    }
    .ugc-btn {
        justify-content: center;
    }
}

/* ============================================
   ENHANCED DATA SECTIONS
   E-E-A-T Enhanced Content
   ============================================ */

/* Menu Verified Badge - smaller */
.menu-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.25);
    max-width: 100%;
    text-align: center;
}

.menu-verified-badge i {
    font-size: 11px;
}

@media (max-width: 480px) {
    .menu-verified-badge {
        font-size: 9px;
        padding: 4px 8px;
        gap: 4px;
    }
    .menu-verified-badge i {
        font-size: 9px;
    }
}

/* Popular Dishes Menu Style */
.menu-dishes-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.menu-dishes-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #ec7205;
    padding-bottom: 12px;
}

/* Popular Dishes — clean MENU-LIST (the Google dish image URLs are dead/403, so no image boxes:
   a real-menu layout of crawlable, linked dish names — monogram + dotted leader + chevron). */
.menu-dishes-intro {
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
}
.menu-dishes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 0;
}
@media (max-width: 640px) {
    .menu-dishes-list {
        grid-template-columns: 1fr;
    }
}
.menu-dish-row {
    margin: 0;
}
.menu-dish-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 8px;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 8px;
    transition: background 0.15s ease, padding-left 0.15s ease;
}
.menu-dish-link:hover {
    background: #fff7ed;
    padding-left: 12px;
}
.menu-dish-link .dish-monogram {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    color: #c2410c;
    font-weight: 700;
    font-size: 15px;
    font-family: Georgia, 'Times New Roman', serif;
}
.menu-dish-link .dish-name {
    flex: 0 1 auto;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-dish-link .dish-leader {
    flex: 1 1 auto;
    min-width: 14px;
    align-self: flex-end;
    height: 0;
    margin: 0 2px 7px;
    border-bottom: 1px dotted #cbd5e1;
}
.menu-dish-link .dish-cta {
    flex: 0 0 auto;
    color: #ec7205;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.45;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.menu-dish-link:hover .dish-cta {
    opacity: 1;
    transform: translateX(2px);
}

/* Menu Insights Section - EEAT Exclusive */
.menu-insights-section {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.menu-insights-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.menu-insights-section .exclusive-badge {
    background: linear-gradient(135deg, #ec7205 0%, #d4650a 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.insight-card {
    background: white;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.insight-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.insight-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2px;
}

.insight-card small {
    font-size: 11px;
    color: #6b7280;
    display: block;
}

.insight-card .variety-high { color: #10b981; }
.insight-card .variety-medium { color: #f59e0b; }
.insight-card .variety-low { color: #6b7280; }

.insight-card .price-budget { color: #10b981; }
.insight-card .price-mid-range { color: #3b82f6; }
.insight-card .price-premium { color: #8b5cf6; }

.menu-insights-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 480px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insight-value {
        font-size: 16px;
    }
    .menu-insights-section h4 {
        font-size: 13px;
    }
}

/* UGC Contribution Buttons - Compact */
.ugc-contribute-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, #fef3e8 0%, #fff 100%);
    border-radius: 10px;
    border: 1px dashed #ec7205;
}

.ugc-contribute-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ugc-contribute-btn:hover {
    background: #ec7205;
    color: white;
    border-color: #ec7205;
}

.ugc-contribute-btn i {
    font-size: 16px;
}

.ugc-contribute-btn.verified {
    border-color: #10b981;
}

.ugc-contribute-btn.verified:hover {
    background: #10b981;
    border-color: #10b981;
}

.ugc-contribute-btn.detective {
    border-color: #6366f1;
}

.ugc-contribute-btn.detective:hover {
    background: #6366f1;
    border-color: #6366f1;
}

/* UGC Modal Compact */
.ugc-modal-compact {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ugc-modal-compact.active {
    display: flex;
}

.ugc-modal-box {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ugc-modal-box header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ugc-modal-box header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.ugc-modal-box .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.ugc-modal-box .modal-body {
    padding: 20px;
}

.ugc-modal-box .form-group {
    margin-bottom: 16px;
}

.ugc-modal-box label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.ugc-modal-box input,
.ugc-modal-box textarea,
.ugc-modal-box select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.ugc-modal-box input:focus,
.ugc-modal-box textarea:focus {
    outline: none;
    border-color: #ec7205;
    box-shadow: 0 0 0 3px rgba(236, 114, 5, 0.1);
}

.ugc-modal-box .submit-btn {
    width: 100%;
    padding: 12px;
    background: #ec7205;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ugc-modal-box .submit-btn:hover {
    background: #d66a04;
}

.ugc-modal-box .submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .ugc-contribute-bar {
        flex-direction: column;
    }
    .ugc-contribute-btn {
        justify-content: center;
    }
}

/* Google Reviews Section */
.enhanced-reviews {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.enhanced-reviews h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px;
    border-left: 4px solid #fbbf24;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #1f2937;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
}

.review-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
}

/* Amenities Grid */
.enhanced-amenities {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.enhanced-amenities h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenity-category {
    margin-bottom: 25px;
}

.amenity-category:last-child {
    margin-bottom: 0;
}

.amenity-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ec7205;
    display: flex;
    align-items: center;
    gap: 8px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .amenity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .amenity-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 90px;
}

.amenity-item:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.amenity-icon {
    font-size: 22px;
    margin-bottom: 8px;
    color: #ec7205;
}

.amenity-text {
    font-size: 11px;
    line-height: 1.3;
    color: #4a5568;
    font-weight: 500;
}
/* Explore More — internal linking footer */
.explore-more-section {
    margin: 40px 0 20px;
    padding: 28px 24px;
    background: #f8fafc;
    border-radius: 12px;
}
.explore-more-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
}
.explore-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.explore-col h3 {
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ec7205;
}
.explore-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.explore-col li {
    margin-bottom: 6px;
}
.explore-col a {
    font-size: 13px;
    color: #4a5568;
    text-decoration: none;
    transition: color .15s;
}
.explore-col a:hover {
    color: #ec7205;
    text-decoration: underline;
}
