/**
 * LeBonResto — Restaurant Detail Page (show.php)
 * Extracted from inline <style> blocks.
 *
 * Variable mapping from legacy show.php :root → tokens.css:
 *   --accent        → --primary
 *   --accent-light  → --primary-dark
 *   --accent-bg     → --primary-light
 *   --dark          → --text
 *   --radius        → --radius-lg
 *   --radius-sm     → --radius-sm  (kept as-is)
 *   --shadow        → --shadow-md
 *   --shadow-lg     → --shadow-lg
 *   --font-display  → --font-serif
 *   --font-body     → --font-display
 *   --transition    → --transition
 */

/* ═══ HEADER STICKY ═══ */
.page-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%); transition: var(--transition);
}
.page-header.visible { transform: translateY(0); }
.header-content { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-back { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gray-100); transition: var(--transition); }
.header-back:hover { background: var(--gray-200); }
.header-title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--gray-600); }
.header-rating i { color: var(--warning); font-size: 12px; }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.header-btn { padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 600; transition: var(--transition); }
.header-btn.primary { background: var(--primary); color: white; }
.header-btn.primary:hover { background: var(--primary-dark); }

/* ═══ HERO GALLERY ═══ */
.hero-gallery { position: relative; height: 42vh; min-height: 300px; max-height: 460px; background: #2a2420; overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 100%; }
.gallery-grid[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; max-width: 900px; margin: 0 auto; height: 100%; }
.gallery-grid[data-count="1"] .gallery-item { border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); overflow: hidden; }
.gallery-grid[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.gallery-grid[data-count="3"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid[data-count="1"] .gallery-item:first-child,
.gallery-grid[data-count="2"] .gallery-item:first-child { grid-row: span 1; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-grid[data-count="3"] .gallery-item:nth-child(2),
.gallery-grid[data-count="3"] .gallery-item:nth-child(3) { grid-column: 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3)); pointer-events: none; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 80px; color: rgba(255,255,255,0.3); }
.gallery-placeholder.ph-hero { background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 40%, #22c55e 100%); }
.gallery-placeholder.ph-hero .ph-icon { font-size: 64px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1)); }
.gallery-placeholder.ph-hero .ph-label { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.7; margin-top: 4px; }
.gallery-nav { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 10; }
.nav-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text); transition: var(--transition); box-shadow: var(--shadow-md); }
.nav-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.nav-actions { display: flex; gap: 10px; }
.nav-btn.active, .nav-btn.active i { color: #e74c3c; }
.btn-photos { position: absolute; bottom: 20px; right: 20px; z-index: 10; padding: 12px 20px; background: rgba(0,0,0,0.75); color: white; border-radius: 24px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-photos:hover { background: rgba(0,0,0,0.9); }

/* ═══ LAYOUT ═══ */
.main-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 0; }

/* ═══ BREADCRUMBS ═══ */
.breadcrumbs { max-width: 1200px; margin: 16px auto 0; padding: 0 20px; font-size: 13px; color: var(--gray-500); }
.breadcrumbs a { color: var(--primary); text-decoration: underline; }
.breadcrumbs a:hover { opacity: 0.8; }
.breadcrumbs .sep { margin: 0 6px; }

/* ═══ RESTAURANT HEADER ═══ */
.resto-header { padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.resto-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.badge-halal { background: #dcfce7; color: #166534; }
.badge-verified { background: #dbeafe; color: #1e40af; }
.badge-featured { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.badge-award-tc { background: linear-gradient(135deg, #fef3c7, #fbbf24); color: #78350f; font-weight: 600; }
.badge-award-top { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #3730a3; }
.badge-award-cuisine { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #9d174d; }
.badge-award-trending { background: linear-gradient(135deg, #fee2e2, #fca5a5); color: #991b1b; }
.badge-award-new { background: linear-gradient(135deg, #d1fae5, #6ee7b7); color: #065f46; }
.resto-title { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 38px); font-weight: 600; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
.resto-subtitle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: var(--gray-600); margin-bottom: 20px; }
.resto-subtitle span { display: flex; align-items: center; gap: 6px; }
.resto-subtitle .separator { width: 4px; height: 4px; background: var(--gray-400); border-radius: 50%; }
.resto-ranking-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.resto-rank-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 20px; font-size: 13px; color: #166534; text-decoration: none; transition: all 0.2s; }
.resto-rank-badge:hover { background: #dcfce7; border-color: #86efac; }
.resto-rank-badge.cuisine { background: #fefce8; border-color: #fde68a; color: #854d0e; }
.resto-rank-badge.cuisine:hover { background: #fef9c3; border-color: #fcd34d; }
.resto-rank-badge .rank-num { font-weight: 800; font-size: 15px; }
.resto-rank-badge .rank-text { font-weight: 500; }
.rating-large { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #f0fdf4; border-left: 4px solid var(--primary); border-radius: var(--radius-lg); }
.rating-score { display: flex; align-items: baseline; gap: 4px; }
.rating-score .number { font-family: var(--font-serif); font-size: 42px; font-weight: 700; color: var(--text); line-height: 1; }
.rating-score .max { font-size: 18px; color: var(--gray-500); }
.rating-stars { display: flex; gap: 4px; }
.rating-stars i { font-size: 20px; color: var(--warning); }
.rating-stars i.empty { color: var(--gray-300); }
.rating-meta { font-size: 14px; color: var(--gray-600); }
.rating-meta a { color: var(--primary); font-weight: 500; }
.rating-meta a:hover { text-decoration: underline; }

/* ═══ SECTIONS & NAV ═══ */
.section { margin-bottom: 40px; scroll-margin-top: 70px; }
.section-title { font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-title i { color: var(--primary); }

.section-nav { background: var(--bg-elevated); border-bottom: 1px solid var(--gray-200); position: relative; z-index: 900; }
.section-nav.sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 8px rgba(28,25,23,0.08); animation: slideDown 0.25s ease; }
.section-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav-link { padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--gray-500); white-space: nowrap; border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s; text-decoration: none; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.section-nav-link:hover { color: var(--text); }
.section-nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.section-nav-link i { font-size: 13px; }

.description-text { font-size: 16px; line-height: 1.8; color: var(--gray-700); }

/* ═══ MENU ACCORDION ═══ */
.menu-accordion { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.menu-accordion-header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--gray-50); border: none; cursor: pointer; transition: background 0.2s; }
.menu-accordion-header:hover { background: var(--gray-100); }
.menu-accordion-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--text); }
.menu-accordion-title i { color: var(--primary); font-size: 14px; }
.menu-accordion-count { background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.menu-accordion-arrow { color: var(--gray-400); font-size: 13px; transition: transform 0.3s; }
.menu-accordion-header.open .menu-accordion-arrow { transform: rotate(180deg); }
.menu-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 18px; }
.menu-accordion-header.open + .menu-accordion-body { padding: 4px 18px 14px; }
.menu-accordion-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.menu-accordion-item:last-child { border-bottom: none; }
.menu-accordion-photo { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; transition: transform 0.2s; box-shadow: 0 2px 8px rgba(28,25,23,0.08); }
.menu-accordion-photo:hover { transform: scale(1.05); }
.menu-accordion-info { flex: 1; min-width: 0; }
.menu-accordion-name { font-weight: 600; font-size: 15px; color: var(--text); }
.menu-accordion-desc { font-size: 13px; color: var(--gray-500); margin: 3px 0 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-accordion-price { font-weight: 700; color: var(--primary); font-size: 16px; white-space: nowrap; flex-shrink: 0; background: var(--primary-light); padding: 4px 12px; border-radius: 8px; }
.menu-order-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s; }
.menu-order-btn:hover { background: var(--primary-dark); }

/* Menu photo lightbox */
.menu-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); z-index: 3000; align-items: center; justify-content: center; cursor: pointer; }
.menu-lightbox.open { display: flex; }
.menu-lightbox img { max-width: 90%; max-height: 85vh; border-radius: 12px; object-fit: contain; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.menu-lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; background: rgba(0,0,0,0.4); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; }

/* ═══ HORAIRES ═══ */
.horaires-status { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 24px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.horaires-status.open { background: #dcfce7; color: #166534; }
.horaires-status.closed { background: #fee2e2; color: #991b1b; }
.horaires-status .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.horaires-list { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.horaire-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--gray-100); transition: background 0.2s; }
.horaire-row:last-child { border-bottom: none; }
.horaire-row:hover { background: var(--gray-50); }
.horaire-row.today { background: var(--primary-light); font-weight: 600; }
.horaire-row .jour { color: var(--gray-700); min-width: 100px; }
.horaire-row .heures { color: var(--text); text-align: right; }
.horaire-row .heures.ferme { color: var(--danger); }

/* ═══ REVIEWS STATS ═══ */
.reviews-stats { display: grid; grid-template-columns: auto 1fr; gap: 32px; padding: 24px; background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 24px; }
.stats-overview { text-align: center; padding-right: 32px; border-right: 1px solid var(--gray-200); }
.stats-score { font-family: var(--font-serif); font-size: 56px; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stats-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
.stats-stars i { font-size: 18px; color: var(--warning); }
.stats-count { font-size: 14px; color: var(--gray-500); }
.stats-bars { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.stats-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.stats-bar-row .label { width: 20px; text-align: right; color: var(--gray-600); }
.stats-bar-track { flex: 1; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.stats-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s ease; }
.stats-bar-row .count { width: 30px; font-size: 12px; color: var(--gray-500); }
.stats-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-200); grid-column: span 2; }
.stat-category { text-align: center; }
.stat-category .value { font-size: 20px; font-weight: 700; color: var(--text); }
.stat-category .label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ═══ REVIEW CARDS ═══ */
.review-card { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-header { display: flex; gap: 16px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #b45309, var(--warning)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author { flex: 1; min-width: 0; }
.review-author-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.review-author-meta { font-size: 13px; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 8px; }
.review-rating { display: flex; align-items: center; gap: 8px; }
.review-rating .stars { display: flex; gap: 2px; }
.review-rating .stars i { font-size: 14px; color: var(--warning); }
.review-rating .stars i.empty { color: var(--gray-300); }
.review-title { font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.review-content { font-size: 15px; line-height: 1.7; color: var(--gray-700); }
.review-visit { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-500); }
.review-visit span { display: flex; align-items: center; gap: 6px; }
.review-helpful { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); flex-wrap: wrap; }

/* Review load-more & sentinel */
.btn-load-more { width: 100%; padding: 16px; background: var(--gray-100); border-radius: var(--radius-lg); font-weight: 600; font-size: 14px; color: var(--text); transition: var(--transition); cursor: pointer; border: none; }
.btn-load-more:hover { background: var(--gray-200); }
.btn-load-more:disabled { opacity: 0.6; cursor: wait; }
.reviews-sentinel { text-align: center; padding: 20px 0; }
.reviews-sentinel-spinner { font-size: 14px; color: var(--gray-500); }
.reviews-end { text-align: center; padding: 16px 0; font-size: 13px; color: var(--gray-400); }
.write-review-prompt { background: linear-gradient(135deg, var(--primary-light), #f0fdf4); border: 2px dashed var(--primary); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-top: 24px; }
.write-review-prompt h4 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; }
.write-review-prompt p { color: var(--gray-600); margin-bottom: 20px; }

/* ═══ EMOJI REACTIONS ═══ */
.emoji-reactions { display: inline-flex; align-items: center; gap: 0; position: relative; }
.emoji-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: 24px; font-size: 18px; color: var(--gray-500); cursor: pointer; background: var(--bg-elevated); transition: all .2s; user-select: none; }
.emoji-trigger:hover { border-color: var(--gray-300); background: var(--gray-50); }
.emoji-trigger .emoji-icon { font-size: 18px; line-height: 1; transition: transform .2s; }
.emoji-picker { position: absolute; bottom: calc(100% + 8px); left: 0; display: none; background: var(--bg-elevated); border-radius: 28px; padding: 8px 6px; box-shadow: 0 4px 24px rgba(28,25,23,0.15); z-index: 100; white-space: nowrap; }
.emoji-picker.visible { display: flex; animation: emojiPopIn .2s ease-out; }
.emoji-picker-btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 28px; border-radius: 50%; cursor: pointer; transition: transform .15s cubic-bezier(0.4, 0, 0.2, 1); border: none; background: none; }
.emoji-picker-btn:hover { transform: scale(1.4); }
.emoji-picker-btn.selected { background: #fdf2f8; transform: scale(1.2); }
.emoji-picker-btn[data-reaction="love"]:hover { animation: emojiHeartbeat .6s ease infinite; }
.emoji-picker-btn[data-reaction="thanks"]:hover { animation: emojiPray .5s ease infinite; }
.emoji-picker-btn[data-reaction="fire"]:hover { animation: emojiFire .3s ease-in-out infinite alternate; }
.emoji-picker-btn[data-reaction="yummy"]:hover { animation: emojiYummy .6s ease infinite; }
.emoji-picker-btn[data-reaction="mindblown"]:hover { animation: emojiMindblown .4s ease infinite; }
.reaction-badges { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reaction-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 15px; cursor: default; }
.reaction-badge .rb-emoji { font-size: 16px; }
.reaction-badge .rb-count { font-size: 13px; font-weight: 600; color: var(--gray-600); }

/* ═══ SIDEBAR ═══ */
.sidebar { position: relative; }
.sidebar-sticky {
    position: sticky; top: var(--sidebar-top, 120px);
}

.card { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.card-body { padding: 20px; }
.action-buttons { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.btn-action { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 135, 90, 0.3); }
.btn-secondary { background: var(--gray-100); color: var(--text); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-outline { border: 2px solid var(--gray-200); color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: var(--gray-50); }

/* Contact */
.contact-list { display: flex; flex-direction: column; padding: 0 20px 8px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 40px; height: 40px; background: var(--gray-100); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-content { flex: 1; min-width: 0; }
.contact-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-value { font-size: 14px; font-weight: 500; color: var(--text); word-break: break-word; }
.contact-value a { color: var(--primary); }
.contact-value a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 12px; padding: 20px; border-top: 1px solid var(--gray-100); }
.social-link { width: 44px; height: 44px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gray-600); transition: var(--transition); }
.social-link:hover { background: var(--text); color: white; transform: translateY(-3px); }
.social-link.whatsapp:hover { background: #25D366; }
.social-link.facebook:hover { background: #1877F2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Map inline dans la sidebar card */
.map-inline-wrap { overflow: hidden; }
.map-inline-wrap iframe { width: 100%; height: 170px; border: none; display: block; }
.map-sv-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 16px; font-size: 13px; font-weight: 600;
    color: var(--gray-600); text-decoration: none; transition: var(--transition);
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}
.map-sv-btn:hover { color: var(--primary); background: var(--primary-light); }
.map-sv-btn i { color: var(--warning); font-size: 14px; }
/* legacy — kept for dark mode compat */
.map-action-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 8px; border-radius: 8px;
    font-size: 12px; font-weight: 600; text-align: center;
    border: 1px solid var(--gray-200); background: var(--bg-elevated); color: var(--gray-600);
    transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.map-action-btn:hover { border-color: var(--primary); color: var(--primary); background: #f0fdf4; }
.map-action-btn i { font-size: 13px; }
.map-action-btn.sv { color: var(--warning); }
.map-action-btn.sv:hover { border-color: var(--warning); background: #fffbeb; }

/* ═══ REVIEW SUMMARY ═══ */
.review-summary { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #bbf7d0; border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 24px; }
.review-summary-title { font-weight: 600; font-size: 15px; margin-bottom: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.review-summary-title i { color: var(--primary); }
.summary-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.summary-keyword { padding: 4px 12px; border-radius: 16px; font-size: 12px; font-weight: 500; }
.summary-keyword.positive { background: #dcfce7; color: #166534; }
.summary-keyword.negative { background: #fee2e2; color: #991b1b; }
.summary-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.summary-score-item { text-align: center; }
.summary-score-item .score-val { font-size: 18px; font-weight: 700; color: var(--text); }
.summary-score-item .score-lbl { font-size: 11px; color: var(--gray-500); }

/* ═══ OFFERS ═══ */
.offer-banner { background: linear-gradient(135deg, #fef3c7, #fde68a); border: 1px solid #fbbf24; border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 24px; display: flex; align-items: center; gap: 16px; }
.offer-discount { background: var(--danger); color: white; font-size: 20px; font-weight: 800; padding: 10px 14px; border-radius: 12px; white-space: nowrap; }
.offer-details h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.offer-details p { font-size: 13px; color: var(--gray-600); }
.offer-conditions { font-size: 11px; color: var(--gray-500); margin-top: 4px; }

/* ═══ ENRICHMENT SECTION ═══ */
.enr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.enr-chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.enr-chip--spec { background: var(--primary-light); color: var(--primary-dark); border: 1px solid rgba(0,99,90,0.15); }
.enr-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.enr-tag { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text); }
.enr-tag i { color: var(--primary); font-size: 12px; }

/* ═══ SKELETON LOADING ═══ */
.skeleton { background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 24px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 180px; margin-bottom: 16px; }
.skeleton-header { display: flex; gap: 16px; margin-bottom: 16px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gray-200); }
.skeleton-author { flex: 1; }
.skeleton-line { height: 12px; background: var(--gray-200); border-radius: 6px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
.skeleton-content { margin-top: 16px; }

/* Verified owner info */
.owner-verified-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #dbeafe; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 13px; color: #1e40af; }
.owner-verified-banner i { font-size: 16px; }

/* ═══ SIMILAR RESTAURANTS ═══ */
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.similar-card { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.similar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.similar-photo { height: 160px; background: var(--gray-200); position: relative; overflow: hidden; }
.similar-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.similar-card:hover .similar-photo img { transform: scale(1.1); }
.similar-info { padding: 16px; }
.similar-name { font-weight: 600; font-size: 15px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-meta { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.similar-meta .rating { display: flex; align-items: center; gap: 4px; }
.similar-meta .rating i { color: var(--warning); font-size: 12px; }

/* ═══ MODAL GALLERY ═══ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.modal-close:hover { background: rgba(255,255,255,0.2); }
.gallery-modal-content { width: 100%; height: 100%; display: flex; flex-direction: column; }
.gallery-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 80px; position: relative; min-height: 0; overflow: hidden; }
.gallery-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; display: block; }
.gallery-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: white; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); z-index: 5; }
.gallery-nav-btn:hover { background: rgba(255,255,255,0.2); }
.gallery-nav-btn.prev { left: 20px; }
.gallery-nav-btn.next { right: 20px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 20px; overflow-x: auto; justify-content: center; background: rgba(0,0,0,0.5); }
.gallery-thumb { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.5; transition: var(--transition); flex-shrink: 0; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; }
.gallery-thumb.active { outline: 3px solid var(--primary); outline-offset: 2px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery filter tabs */
.gallery-filters { display: flex; gap: 8px; padding: 12px 20px 0; justify-content: center; flex-wrap: wrap; background: rgba(0,0,0,0.5); }
.gallery-filter-btn { padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.25); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; background: transparent; color: rgba(255,255,255,0.7); }
.gallery-filter-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.gallery-filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.gallery-filter-count { font-size: 11px; opacity: 0.7; margin-left: 4px; }

/* ═══ MOBILE CTA ═══ */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-elevated); padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gray-200); z-index: 100; box-shadow: 0 -4px 24px rgba(28,25,23,0.1); }
.mobile-cta-content { display: flex; gap: 12px; }
.mobile-cta .btn-action { flex: 1; padding: 14px; }

.animate-in { animation: fadeIn 0.6s ease forwards; }

/* ═══ REVIEW PHOTOS & LIGHTBOX ═══ */
.review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin: 16px 0;
}
.review-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}
.review-photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(28,25,23,0.2);
}
.review-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-photo-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-content {
    position: relative;
    max-width: min(90vw, 1400px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10010;
    pointer-events: all;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10010;
    pointer-events: all;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ═══ REVIEWS CONTROLS (sort / filter) ═══ */
.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.sort-control {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sort-control label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}
.sort-select {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-elevated);
    cursor: pointer;
    transition: var(--transition);
}
.sort-select:hover, .sort-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Filter badge */
.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}
.filter-badge-close {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: var(--transition);
}
.filter-badge-close:hover { transform: scale(1.1); }

/* Clickable stats bars */
.stats-bar-row {
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
    border-radius: 8px;
}
.stats-bar-row:hover { background: var(--gray-50); }
.stats-bar-row.active { background: var(--primary-light); }
.stats-bar-row.active .stats-bar-fill {
    background: var(--primary-dark);
    box-shadow: 0 0 12px rgba(0, 135, 90, 0.3);
}

/* Review photos (in-review grid) */
.review-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
}
.review-photo-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    position: relative;
}
.review-photo-thumb:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}
.review-photo-more {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

/* ═══ OWNER FEATURES ═══ */

/* Owner response */
.owner-response {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-hover, #fafaf9);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
}
.owner-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.owner-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
}
.owner-badge i { font-size: 16px; }
.owner-response-date { font-size: 12px; color: var(--gray-500); }
.owner-response-text { font-size: 14px; line-height: 1.7; color: var(--gray-700); }

/* Check-in badge */
.review-checkin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #dcfce7;
    color: #166534;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.review-checkin-badge i { font-size: 10px; }

/* Photo badge */
.review-photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.review-photo-badge i { font-size: 10px; }

/* Loyalty badges */
.review-loyalty-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
}
.review-loyalty-badge .rlb-icon { font-size: 12px; }
.review-top-contributor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Special review card borders */
.review-card.review-ambassadeur { border-left: 3px solid #eab308; }
.review-card.review-legendaire { border-left: 3px solid var(--danger); background: linear-gradient(135deg, #fff 0%, #fef2f2 100%); }

/* Helpful vote state */
.helpful-btn.voted {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    cursor: not-allowed;
}
.helpful-btn.voted i { color: var(--primary); }

/* Report button */
.btn-report-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.btn-report-review:hover {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.05);
}
.btn-report-review.reported {
    color: var(--primary);
    border-color: var(--primary);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Respond button */
.btn-respond {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
    margin-bottom: 16px;
}
.btn-respond:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

/* Owner banner */
.owner-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}
.owner-banner-content { display: flex; align-items: center; gap: 16px; }
.owner-banner-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.owner-banner-text h4 { font-size: 16px; margin-bottom: 4px; color: #fff; }
.owner-banner-text p { font-size: 13px; opacity: 0.9; }
.owner-banner-actions { display: flex; gap: 12px; }
.owner-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    border-radius: 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.owner-btn:hover { background: var(--bg-elevated); color: #667eea; }

/* Owner stats */
.owner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}
.owner-stat-item {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
}
.owner-stat-value { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.owner-stat-label { font-size: 12px; color: var(--gray-600); }

/* Response form */
.response-form {
    margin-top: 16px;
    padding: 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    animation: slideDown 0.3s ease;
}
.response-form-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.response-form-header h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.response-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: var(--transition);
}
.response-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.response-form-actions { display: flex; gap: 12px; margin-top: 16px; }
.btn-cancel-response,
.btn-submit-response {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-cancel-response {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}
.btn-cancel-response:hover { background: var(--gray-200); }
.btn-submit-response {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}
.btn-submit-response:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 135, 90, 0.3);
}
.btn-submit-response:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.response-form-tip {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fef3c7;
    border-left: 3px solid var(--warning);
    border-radius: 6px;
    font-size: 13px;
    color: var(--gray-700);
}
.response-form-tip strong { color: var(--text); }

/* AI Response Templates */
.response-templates { margin-bottom: 14px; background: #f5f3ff; border: 1px solid #e9e5ff; border-radius: var(--radius-sm); overflow: hidden; }
.response-templates.collapsed .response-templates-list { display: none; }
.response-templates.collapsed .response-templates-toggle i { transform: rotate(180deg); }
.response-templates-header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: #6d28d9; }
.response-templates-toggle { margin-left: auto; background: none; border: none; color: #6d28d9; cursor: pointer; padding: 2px 6px; }
.response-templates-toggle i { transition: transform 0.2s; }
.response-templates-list { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.response-template-btn { text-align: left; background: var(--bg-elevated); border: 1px solid #e9e5ff; border-radius: 8px; padding: 10px 14px; font-size: 13px; line-height: 1.5; color: var(--gray-700); cursor: pointer; transition: all 0.2s; }
.response-template-btn:hover { border-color: #8b5cf6; background: #faf5ff; transform: translateX(4px); }

/* ═══ REPORT MODAL ═══ */
.report-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.report-modal-overlay.active { opacity: 1; }
.report-modal {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}
.report-modal-overlay.active .report-modal { transform: scale(1) translateY(0); }
.report-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 10;
}
.report-modal-close:hover { background: var(--gray-200); transform: rotate(90deg); }
.report-modal-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}
.report-modal-header i { font-size: 48px; color: var(--danger); margin-bottom: 16px; }
.report-modal-header h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.report-modal-header p { font-size: 14px; color: var(--gray-500); }
.report-modal-body { padding: 24px; }
.report-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Form controls (used in report modal) */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
textarea.form-control { resize: vertical; min-height: 80px; }

.report-warning {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #fef3c7;
    border-left: 3px solid var(--warning);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray-700);
}
.report-warning i { color: var(--warning); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.btn-danger {
    background: var(--danger);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-danger:hover {
    background: var(--danger);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* No reviews message */
.no-reviews-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-elevated);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
}
.no-reviews-message i { font-size: 48px; color: var(--gray-300); margin-bottom: 16px; }
.no-reviews-message h4 { font-size: 18px; margin-bottom: 8px; color: var(--gray-700); }
.no-reviews-message p { color: var(--gray-500); font-size: 14px; }

/* Toast notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-notification.show { opacity: 1; transform: translateX(0); }
.toast-notification i { font-size: 20px; }
.toast-success { border-left: 4px solid #10b981; }
.toast-success i { color: #10b981; }
.toast-error { border-left: 4px solid var(--danger); }
.toast-error i { color: var(--danger); }

/* ═══ Q&A SECTION ═══ */
.qa-section { margin-top: 32px; }
.qa-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.qa-item { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; transition: var(--transition); }
.qa-item:hover { box-shadow: var(--shadow-md); }
.qa-question-header { display: flex; gap: 12px; align-items: flex-start; }
.qa-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; overflow: hidden; }
.qa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.qa-question-content { flex: 1; }
.qa-question-text { font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.qa-question-meta { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.qa-answers { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 12px; }
.qa-answer { display: flex; gap: 12px; padding: 12px; background: var(--gray-50); border-radius: var(--radius-sm); }
.qa-answer.owner-answer { background: #f0fdf4; border: 1px solid #bbf7d0; }
.qa-answer-content { flex: 1; }
.qa-answer-author { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.qa-owner-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: var(--primary); color: white; border-radius: 4px; font-size: 11px; font-weight: 600; }
.qa-answer-text { font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.qa-answer-date { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.qa-reply-toggle { background: none; border: none; color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 0; margin-top: 8px; }
.qa-reply-toggle:hover { text-decoration: underline; }
.qa-reply-form { margin-top: 12px; display: none; }
.qa-reply-form.visible { display: block; }
.qa-reply-form textarea { width: 100%; padding: 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; resize: vertical; min-height: 60px; transition: border-color 0.2s; }
.qa-reply-form textarea:focus { outline: none; border-color: var(--primary); }
.qa-reply-actions { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }
.qa-btn { padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.qa-btn-primary { background: var(--primary); color: white; }
.qa-btn-primary:hover { background: var(--primary-dark); }
.qa-btn-cancel { background: var(--gray-100); color: var(--gray-600); }
.qa-ask-form { background: var(--bg-elevated); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; }
.qa-ask-form h4 { font-size: 15px; margin-bottom: 12px; color: var(--text); }
.qa-ask-form textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; resize: vertical; min-height: 80px; transition: border-color 0.2s; }
.qa-ask-form textarea:focus { outline: none; border-color: var(--primary); }
.qa-ask-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.qa-char-count { font-size: 12px; color: var(--gray-400); }
.qa-no-questions { text-align: center; padding: 32px; color: var(--gray-400); }
.qa-no-questions i { font-size: 32px; margin-bottom: 12px; display: block; }
.qa-answer-count { font-size: 13px; color: var(--primary); font-weight: 600; cursor: pointer; }

/* Friends reviews section */
.friends-reviews-section { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #bbf7d0; border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.friends-reviews-title { font-size: 16px; font-weight: 700; color: #166534; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.friends-reviews-title i { color: #22c55e; }
.friends-reviews-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.friend-review-card { flex-shrink: 0; width: 220px; background: var(--bg-elevated); border-radius: 10px; padding: 14px; box-shadow: 0 1px 4px rgba(28,25,23,0.06); }
.friend-review-header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.friend-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; overflow: hidden; flex-shrink: 0; }
.friend-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friend-name { font-size: 13px; font-weight: 600; color: var(--gray-900); text-decoration: none; }
.friend-name:hover { text-decoration: underline; }
.friend-rating { margin-top: 2px; }
.friend-review-text { font-size: 13px; color: var(--gray-600); line-height: 1.4; margin: 0; }

/* ═══ KEYFRAMES ═══ */
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes emojiPopIn { from { opacity: 0; transform: translateY(8px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes emojiHeartbeat {
    0%, 100% { transform: scale(1.3); }
    15% { transform: scale(1.5); }
    30% { transform: scale(1.25); }
    45% { transform: scale(1.5); }
    60% { transform: scale(1.3); }
}
@keyframes emojiPray {
    0%, 100% { transform: scale(1.35) rotate(0deg); }
    25% { transform: scale(1.4) rotate(-10deg); }
    75% { transform: scale(1.4) rotate(10deg); }
}
@keyframes emojiFire {
    0% { transform: scale(1.35) translateY(0px); }
    33% { transform: scale(1.4) translateY(-3px) rotate(-2deg); }
    66% { transform: scale(1.3) translateY(-1px) rotate(2deg); }
    100% { transform: scale(1.4) translateY(-4px); }
}
@keyframes emojiYummy {
    0%, 100% { transform: scale(1.35) rotate(0deg); }
    20% { transform: scale(1.4) rotate(-6deg); }
    40% { transform: scale(1.45) rotate(3deg); }
    60% { transform: scale(1.4) rotate(-3deg); }
    80% { transform: scale(1.35) rotate(6deg); }
}
@keyframes emojiMindblown {
    0%, 100% { transform: scale(1.35); }
    10% { transform: scale(1.5) rotate(-3deg); }
    20% { transform: scale(1.35) rotate(3deg); }
    30% { transform: scale(1.5) rotate(-2deg); }
    40% { transform: scale(1.35) rotate(2deg); }
    50% { transform: scale(1.55); }
    60% { transform: scale(1.35); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
    .sidebar-sticky { position: static; max-height: none; overflow-y: visible; }
    .mobile-cta { display: block; }
    body { padding-bottom: 80px; }
}

@media (max-width: 900px) {
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-gallery { height: 45vh; min-height: 320px; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .gallery-item:not(:first-child) { display: none; }
    .gallery-item:first-child { grid-row: span 1; }

    .owner-banner { flex-direction: column; text-align: center; gap: 16px; }
    .owner-banner-content { flex-direction: column; }
    .owner-stats { grid-template-columns: 1fr; }
    .review-photos { grid-template-columns: repeat(3, 1fr); }
    .gallery-main { padding: 60px 16px; }
    .gallery-nav-btn { width: 40px; height: 40px; font-size: 18px; }
    .gallery-nav-btn.prev { left: 8px; }
    .gallery-nav-btn.next { right: 8px; }
    .gallery-thumbs { gap: 6px; padding: 12px; }
    .gallery-thumb { width: 60px; height: 45px; }
    .offer-banner { flex-direction: column; text-align: center; gap: 12px; }
    .owner-banner-actions { flex-direction: column; width: 100%; }
    .owner-btn { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
    .reviews-stats { grid-template-columns: 1fr; gap: 20px; }
    .stats-overview { padding-right: 0; padding-bottom: 20px; border-right: none; border-bottom: 1px solid var(--gray-200); }
    .stats-categories { grid-template-columns: repeat(2, 1fr); grid-column: span 1; }
    .toast-notification { left: 20px; right: 20px; min-width: auto; }
}

@media (max-width: 600px) {
    .section-nav-link { padding: 12px 14px; font-size: 13px; }
    .similar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .summary-scores { grid-template-columns: repeat(2, 1fr); }
    .resto-title { font-size: 28px; }
    .rating-large { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .review-photos { grid-template-columns: repeat(2, 1fr); }
    .gallery-main { padding: 50px 10px; }
    .section-title { font-size: 20px; }
    .gallery-filters { gap: 6px; padding: 10px 12px 0; }
    .review-header { gap: 10px; }
    .emoji-picker-btn { width: 40px; height: 40px; font-size: 22px; }
    .contact-item { gap: 10px; }
}

/* ═══ DARK MODE ═══ */
[data-theme="dark"] .page-header { background: rgba(12,10,9,0.95); border-color: var(--border); }
[data-theme="dark"] .header-back { background: var(--border); color: var(--text); }
[data-theme="dark"] .header-title { color: var(--text); }
[data-theme="dark"] .header-rating { color: var(--text-muted); }
[data-theme="dark"] .hero-gallery { background: var(--bg-elevated); }
[data-theme="dark"] .nav-btn { background: rgba(28,25,23,0.95); color: var(--text); }
[data-theme="dark"] .breadcrumbs { color: var(--text-muted); }
[data-theme="dark"] .breadcrumbs a { color: var(--primary); }
[data-theme="dark"] .section-nav { background: var(--bg); border-color: var(--border); }
[data-theme="dark"] .section-nav.sticky { background: rgba(12,10,9,0.95); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
[data-theme="dark"] .section-nav-link { color: var(--text-muted); }
[data-theme="dark"] .section-nav-link:hover { color: var(--text); }
[data-theme="dark"] .section-nav-link.active { color: var(--primary); border-color: var(--primary); }
[data-theme="dark"] .resto-header { border-color: var(--border); }
[data-theme="dark"] .resto-title { color: var(--text); }
[data-theme="dark"] .resto-subtitle { color: var(--text-muted); }
[data-theme="dark"] .resto-subtitle .separator { background: var(--gray-400); }
[data-theme="dark"] .rating-large { background: var(--bg-elevated); }
[data-theme="dark"] .rating-score .number { color: var(--text); }
[data-theme="dark"] .rating-score .max { color: var(--text-muted); }
[data-theme="dark"] .rating-meta { color: var(--text-muted); }
[data-theme="dark"] .rating-meta a { color: var(--primary); }
[data-theme="dark"] .section-title { color: var(--text); }
[data-theme="dark"] .section-title i { color: var(--primary); }
[data-theme="dark"] .description-text { color: var(--text-secondary); }
[data-theme="dark"] .horaires-list { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .horaire-row { border-color: var(--border); color: var(--text); }
[data-theme="dark"] .horaire-row:hover { background: var(--border); }
[data-theme="dark"] .horaire-row.today { background: rgba(0,99,90,0.15); }
[data-theme="dark"] .horaire-row .jour { color: var(--text-secondary); }
[data-theme="dark"] .horaire-row .heures { color: var(--text); }
[data-theme="dark"] .menu-accordion { border-color: var(--border); }
[data-theme="dark"] .menu-accordion-header { background: var(--bg-elevated); }
[data-theme="dark"] .menu-accordion-header:hover { background: var(--border); }
[data-theme="dark"] .menu-accordion-title { color: var(--text); }
[data-theme="dark"] .menu-accordion-desc { color: var(--text-muted); }
[data-theme="dark"] .menu-accordion-item { border-color: var(--border); }
[data-theme="dark"] .menu-accordion-name { color: var(--text); }
[data-theme="dark"] .reviews-stats { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .stats-overview { border-color: var(--border); }
[data-theme="dark"] .stats-score { color: var(--text); }
[data-theme="dark"] .stats-count { color: var(--text-muted); }
[data-theme="dark"] .stats-bar-track { background: var(--border); }
[data-theme="dark"] .stats-categories { border-color: var(--border); }
[data-theme="dark"] .stat-category .value { color: var(--text); }
[data-theme="dark"] .stat-category .label { color: var(--text-muted); }
[data-theme="dark"] .review-card { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .review-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
[data-theme="dark"] .review-author-name { color: var(--text); }
[data-theme="dark"] .review-author-meta { color: var(--text-muted); }
[data-theme="dark"] .review-content { color: var(--text-secondary); }
[data-theme="dark"] .review-visit { border-color: var(--border); color: var(--text-muted); }
[data-theme="dark"] .review-helpful { border-color: var(--border); }
[data-theme="dark"] .review-summary { background: rgba(0,99,90,0.1); border-color: rgba(0,99,90,0.3); }
[data-theme="dark"] .review-summary-title { color: var(--text); }
[data-theme="dark"] .summary-keyword.positive { background: rgba(22,163,74,0.15); color: #86efac; }
[data-theme="dark"] .summary-keyword.negative { background: rgba(239,68,68,0.15); color: #fca5a5; }
[data-theme="dark"] .summary-score-item .score-val { color: var(--text); }
[data-theme="dark"] .summary-score-item .score-lbl { color: var(--text-muted); }
[data-theme="dark"] .write-review-prompt { background: rgba(0,99,90,0.1); border-color: rgba(0,99,90,0.3); }
[data-theme="dark"] .write-review-prompt h4 { color: var(--text); }
[data-theme="dark"] .write-review-prompt p { color: var(--text-muted); }
[data-theme="dark"] .btn-load-more { background: var(--bg-elevated); color: var(--text); }
[data-theme="dark"] .btn-load-more:hover { background: var(--border); }
[data-theme="dark"] .card { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .btn-secondary { background: var(--border); color: var(--text); }
[data-theme="dark"] .btn-secondary:hover { background: var(--border-strong); }
[data-theme="dark"] .btn-outline { border-color: var(--border); color: var(--text); }
[data-theme="dark"] .btn-outline:hover { border-color: var(--text-muted); background: var(--border); }
[data-theme="dark"] .contact-item { border-color: var(--border); }
[data-theme="dark"] .contact-icon { background: var(--border); }
[data-theme="dark"] .contact-label { color: var(--text-muted); }
[data-theme="dark"] .contact-value { color: var(--text); }
[data-theme="dark"] .contact-value a { color: var(--primary); }
[data-theme="dark"] .social-links { border-color: var(--border); }
[data-theme="dark"] .social-link { background: var(--border); color: var(--text-muted); }
[data-theme="dark"] .social-link:hover { color: white; }
[data-theme="dark"] .map-action-btn { background: var(--bg-elevated); border-color: var(--border); color: var(--text-muted); }
[data-theme="dark"] .map-action-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,99,90,0.1); }
[data-theme="dark"] .similar-card { background: var(--bg-elevated); border-color: var(--border); }
[data-theme="dark"] .similar-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
[data-theme="dark"] .similar-name { color: var(--text); }
[data-theme="dark"] .similar-meta { color: var(--text-muted); }
[data-theme="dark"] .similar-photo { background: var(--border); }
[data-theme="dark"] .offer-banner { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); }
[data-theme="dark"] .offer-details h4 { color: var(--text); }
[data-theme="dark"] .offer-details p { color: var(--text-muted); }
[data-theme="dark"] .owner-verified-banner { background: rgba(59,130,246,0.1); color: #93c5fd; }
[data-theme="dark"] .badge-halal { background: rgba(22,163,74,0.15); color: #86efac; }
[data-theme="dark"] .badge-verified { background: rgba(59,130,246,0.15); color: #93c5fd; }
[data-theme="dark"] .emoji-trigger { background: var(--bg-elevated); border-color: var(--border); color: var(--text-muted); }
[data-theme="dark"] .emoji-trigger:hover { background: var(--border); border-color: var(--border-strong); }
[data-theme="dark"] .emoji-picker { background: var(--bg-elevated); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
[data-theme="dark"] .mobile-cta { background: var(--bg); border-color: var(--border); box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }
[data-theme="dark"] .skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--bg-elevated) 50%, var(--border) 75%); }
[data-theme="dark"] .qa-question-text { color: var(--text); }
[data-theme="dark"] .qa-answer-author { color: var(--text); }
[data-theme="dark"] .qa-ask-form h4 { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   SECTION PHOTOS (gallery tab) — TripAdvisor style
   ═══════════════════════════════════════════════════════════════ */
.pg-section { margin: 32px 0; }

.pg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.pg-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.pg-count {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

.pg-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pg-filter {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pg-filter span {
    font-weight: 400;
    opacity: 0.7;
}

.pg-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pg-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pg-filter.active span {
    opacity: 0.85;
}

/* Grid uniforme — hauteur fixe, 4 colonnes */
.pg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.pg-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--gray-100);
    aspect-ratio: 1 / 1;
}

.pg-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pg-item:hover img {
    transform: scale(1.06);
}

.pg-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    gap: 4px;
    border-radius: 10px;
}

.pg-item:hover .pg-item-overlay {
    opacity: 1;
}

.pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    width: fit-content;
}

.pg-badge--restaurant {
    background: rgba(0,99,90,0.9);
    color: #fff;
}

.pg-badge--avis {
    background: rgba(180,83,9,0.9);
    color: #fff;
}

.pg-caption {
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg-note {
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 768px) {
    .pg-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .pg-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .pg-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}

/* Dark mode */
[data-theme="dark"] .pg-filter {
    background: var(--bg-elevated);
    border-color: var(--border);
    color: var(--text-muted);
}
[data-theme="dark"] .pg-filter:hover { border-color: var(--primary); color: var(--primary); }
[data-theme="dark"] .pg-filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }
[data-theme="dark"] .pg-title { color: var(--text); }
[data-theme="dark"] .pg-item { background: var(--border); }
