/**
 * 00-tokens.css - Pixidia Design System Tokens
 * Shared design tokens for all Pixidia mockups
 */

:root {
    /* === Brand Colors === */
    --pixidia-blue: #012827;
    --pixidia-blue-light: #023d3b;
    --pixidia-blue-alpha: rgba(1, 40, 39, 0.08);
    --pixidia-green: #208D3E;
    --pixidia-green-light: #2ba84a;
    --pixidia-green-alpha: rgba(32, 141, 62, 0.1);
    --pixidia-turquoise: #20c9b8;
    --pixidia-turquoise-light: #3dd4c5;
    --pixidia-turquoise-alpha: rgba(32, 201, 184, 0.1);

    /* === CPT Category Colors === */
    --pxd-color-logement: #388e3c;
    --pxd-color-logement-light: #4caf50;
    --pxd-color-logement-alpha: rgba(56, 142, 60, 0.1);
    --pxd-color-logement-gradient: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
    --pxd-color-transport: #1976d2;
    --pxd-color-restauration: #d32f2f;
    --pxd-color-restauration-light: #ef5350;
    --pxd-color-restauration-alpha: rgba(211, 47, 47, 0.1);
    --pxd-color-restauration-gradient: linear-gradient(135deg, #d32f2f 0%, #ef5350 100%);
    --pxd-color-activite: #ff9800;
    --pxd-color-activite-light: #ffb74d;
    --pxd-color-activite-alpha: rgba(255, 152, 0, 0.1);
    --pxd-color-activite-gradient: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    --pxd-color-location: #9c27b0;

    /* === Neutrals === */
    --pixidia-white: #ffffff;
    --pixidia-off-white: #f8fafa;
    --pixidia-bg: #f0f4f4;
    --pixidia-gray-50: #f5f7f7;
    --pixidia-gray-100: #eef2f2;
    --pixidia-gray-200: #dce4e4;
    --pixidia-gray-300: #b8c5c5;
    --pixidia-gray-400: #8a9c9c;
    --pixidia-gray-500: #5d7070;
    --pixidia-text: #1a2e2e;
    --pixidia-text-muted: rgba(1, 40, 39, 0.55);

    /* === Status Colors === */
    --pixidia-red: #e53935;
    --pixidia-red-alpha: rgba(229, 57, 53, 0.1);
    --pixidia-orange: #f59e0b;
    --pixidia-orange-alpha: rgba(245, 158, 11, 0.1);

    /* === Google Rating Colors === */
    --google-star: #fbbc04;
    --google-star-empty: #dadce0;
    --google-blue: #4285f4;

    /* === Gradients === */
    --gradient-primary: linear-gradient(135deg, var(--pixidia-blue) 0%, #0a4a47 100%);
    --gradient-accent: linear-gradient(135deg, var(--pixidia-green) 0%, var(--pixidia-turquoise) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 250, 1) 100%);
    --gradient-activite: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);

    /* === Shadows === */
    --shadow-xs: 0 1px 2px rgba(1, 40, 39, 0.04);
    --shadow-sm: 0 2px 8px rgba(1, 40, 39, 0.06);
    --shadow-md: 0 4px 16px rgba(1, 40, 39, 0.08);
    --shadow-lg: 0 8px 32px rgba(1, 40, 39, 0.12);
    --shadow-xl: 0 16px 48px rgba(1, 40, 39, 0.16);
    --shadow-glow: 0 0 24px rgba(32, 201, 184, 0.2);
    --shadow-glow-orange: 0 0 24px rgba(255, 152, 0, 0.2);

    /* === Border Radius === */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 100px;

    /* === Timing === */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    /* === Layout (activite single) === */
    --pxd-header-height: 60px;
    --pxd-map-width: 38%;
    --pxd-content-width: 62%;
}
/**
 * 01-reset.css - Reset & Base Styles
 * Scoped to .single-exp-act to override BuddyX theme conflicts
 */

/* --- Global box-sizing (safe) --- */
.single-exp-act .pxd-page *,
.single-exp-act .pxd-page *::before,
.single-exp-act .pxd-page *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- Body base on activité pages --- */
body.single-exp-act {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--pixidia-bg);
    color: var(--pixidia-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- BuddyX theme overrides --- */

/* Override BuddyX content container max-width */
body.single-exp-act .site,
body.single-exp-act .site-content,
body.single-exp-act #content,
body.single-exp-act #primary,
body.single-exp-act .entry-content,
body.single-exp-act .entry-content > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

/* Override BuddyX heading styles */
.single-exp-act .pxd-page h1,
.single-exp-act .pxd-page h2,
.single-exp-act .pxd-page h3,
.single-exp-act .pxd-page h4,
.single-exp-act .pxd-page h5,
.single-exp-act .pxd-page h6 {
    margin: 0;
    padding: 0;
    clear: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--pixidia-text);
    line-height: 1.3;
}

/* Override BuddyX link colors */
.single-exp-act .pxd-page a {
    color: inherit;
    text-decoration: none;
}

.single-exp-act .pxd-site-header a {
    color: inherit;
    text-decoration: none;
}

.single-exp-act .pxd-site-header a:hover,
.single-exp-act .pxd-site-header a:focus,
.single-exp-act .pxd-site-header a:active {
    color: inherit;
    text-decoration: none;
}

/* Override BuddyX list margins */
.single-exp-act .pxd-page ul,
.single-exp-act .pxd-page ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-exp-act .pxd-page li {
    margin: 0;
    padding: 0;
}

/* Override BuddyX image styles */
.single-exp-act .pxd-page img {
    max-width: 100%;
    height: auto;
}

/* Override BuddyX paragraph margins */
.single-exp-act .pxd-page p {
    margin: 0;
}

/* Override BuddyX button styles */
.single-exp-act .pxd-page button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* Override BuddyX input styles inside our page */
.single-exp-act .pxd-page input,
.single-exp-act .pxd-page textarea {
    font-family: inherit;
}

/* Hide BuddyX site-header on activité pages (we use our own) */
body.single-exp-act .site-header-wrapper,
body.single-exp-act #masthead,
body.single-exp-act .site-header,
body.single-exp-act .site-sub-header,
body.single-exp-act .buddyx-mobile-header,
body.single-exp-act .site-footer,
body.single-exp-act #colophon,
body.single-exp-act .entry-header,
body.single-exp-act .buddypress-wrap,
body.single-exp-act .post-navigation,
body.single-exp-act .entry-footer,
body.single-exp-act .comments-area,
body.single-exp-act aside#secondary {
    display: none !important;
}

/* Override BuddyX content area wrapper */
body.single-exp-act .site-content-area {
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Ensure our header z-index beats BuddyX */
body.single-exp-act .pxd-site-header {
    z-index: 1000;
}

/* Admin bar offset */
.admin-bar .pxd-page .pxd-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .pxd-page .pxd-site-header {
        top: 46px;
    }
}

/* Urbanist font loaded via Google Fonts CDN in plugin bootstrap */
/**
 * 02-layout.css - Split-view layout for Restaurant single page
 * CSS Grid: left panel (62% scrollable content) + right panel (38% sticky map)
 */

/* ============================================
   SPLIT-VIEW LAYOUT (CSS Grid)
   ============================================ */

.pxd-page {
    display: grid;
    grid-template-columns: var(--pxd-content-width) var(--pxd-map-width);
    grid-template-rows: var(--pxd-header-height) 1fr;
    height: 100vh;
    overflow: hidden;
}

/* Header: full width */
.pxd-site-header {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 200;
}

/* Left panel: scrollable content */
.pxd-panel-left {
    grid-column: 1;
    grid-row: 2;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pixidia-gray-300) transparent;
}

.pxd-panel-left::-webkit-scrollbar { width: 6px; }
.pxd-panel-left::-webkit-scrollbar-track { background: transparent; }
.pxd-panel-left::-webkit-scrollbar-thumb {
    background: var(--pixidia-gray-300);
    border-radius: 3px;
}
.pxd-panel-left::-webkit-scrollbar-thumb:hover {
    background: var(--pixidia-gray-400);
}

/* Right panel: sticky map */
.pxd-panel-right {
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    position: relative;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */

.pxd-content {
    padding: 0 0 60px;
}

/* ============================================
   SECTION BASE
   ============================================ */

.pxd-section {
    padding: 24px 28px;
    border-bottom: 1px solid var(--pixidia-gray-100);
}

.pxd-section:last-child {
    border-bottom: none;
}

.pxd-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pxd-section-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pixidia-text);
    flex: 1;
}

.pxd-section-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pxd-section-icon svg,
.pxd-section-icon i {
    width: 18px;
    height: 18px;
    color: white;
}

.pxd-section-icon--activite { background: var(--pxd-color-activite-gradient); }

/* Section header button (e.g. "Ajouter") */
.pxd-section-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--pxd-color-activite);
    background: transparent;
    color: var(--pxd-color-activite);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pxd-section-header-btn:hover {
    background: var(--pxd-color-activite);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.pxd-section-header-btn svg,
.pxd-section-header-btn i {
    width: 14px;
    height: 14px;
}

/* Section count badge */
.pxd-section-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--pixidia-text-muted);
    background: var(--pixidia-gray-100);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* ============================================
   RESPONSIVE: TABLET (768-1200px)
   ============================================ */

@media (max-width: 1200px) {
    :root {
        --pxd-map-width: 42%;
        --pxd-content-width: 58%;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .pxd-section {
        padding: 22px 20px;
    }
}

/* ============================================
   RESPONSIVE: MOBILE (<768px)
   ============================================ */

@media (max-width: 768px) {
    /* Switch from fixed split-view to scrollable single-column layout */
    .pxd-page {
        display: block;
        height: auto;
        overflow: visible;
        overflow-x: hidden;
    }

    .pxd-panel-left {
        grid-column: 1;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .pxd-panel-left::-webkit-scrollbar {
        display: none;
    }

    /* Map becomes a fixed bottom panel (toggled via JS) */
    .pxd-panel-right {
        grid-column: 1;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        z-index: 600;
        transition: height 400ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .pxd-panel-right.is-map-open {
        height: 55vh;
    }

    .pxd-section {
        padding: 20px 16px;
    }

    .pxd-section-header {
        gap: 10px;
        margin-bottom: 16px;
    }

    .pxd-section-icon {
        width: 32px;
        height: 32px;
    }

    .pxd-section-icon svg,
    .pxd-section-icon i {
        width: 16px;
        height: 16px;
    }
}

/* Mobile map toggle button (hidden on desktop) */
.pxd-mobile-map-toggle {
    display: none;
}

@media (max-width: 768px) {
    .pxd-mobile-map-toggle {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 500;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: var(--radius-full);
        border: none;
        background: var(--gradient-primary);
        color: white;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(1, 40, 39, 0.3);
        transition: all 0.3s ease;
    }

    .pxd-mobile-map-toggle:active {
        transform: translateX(-50%) scale(0.95);
    }

    .pxd-mobile-map-toggle svg,
    .pxd-mobile-map-toggle i {
        width: 18px;
        height: 18px;
    }

    .pxd-mobile-map-toggle.is-map-open {
        bottom: calc(55vh + 12px);
    }
}

/* === Small Mobile (<=480px) === */
@media (max-width: 480px) {
    .pxd-section {
        padding: 16px 14px;
    }

    .pxd-section-header h2 {
        font-size: 1rem;
    }
}

/* === Extreme small (<=320px) === */
@media (max-width: 320px) {
    .pxd-section {
        padding: 14px 10px !important;
    }

    .pxd-section-header {
        gap: 8px;
    }
}
/**
 * 03-header.css - Site header (glassmorphism pill)
 * Aligned with pixidia-logement-single v1.4.0 03-header.css
 * No search bar — uses breadcrumb instead
 */

.pxd-site-header {
    height: var(--pxd-header-height, 60px);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    position: relative;
    z-index: 200;
}

/* --- Pill container (glassmorphism) --- */
.pxd-header-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 98%;
    max-width: 1600px;
    height: 44px;
    padding: 0 8px 0 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: visible;
}

.pxd-header-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* --- Left: logo + breadcrumb --- */
.pxd-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.pxd-header-logo-link {
    text-decoration: none;
    flex-shrink: 0;
}

.pxd-header-logo-wrap {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 5px 14px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pxd-header-logo-wrap:hover {
    background: rgba(255, 255, 255, 0.65);
}

.pxd-header-logo-wrap:hover .pxd-header-logo {
    transform: scale(1.05);
}

.pxd-header-logo {
    height: 22px !important;
    width: auto !important;
    max-width: 120px !important;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    border: none !important;
    background: transparent !important;
}

/* --- Breadcrumb (replaces search bar) --- */
.pxd-header-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    white-space: nowrap;
}

.pxd-header-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    flex-shrink: 1;
    min-width: 0;
}

.pxd-header-breadcrumb a:hover { color: white; }

.pxd-header-breadcrumb .pxd-breadcrumb-sep {
    font-size: 10px;
    opacity: 0.5;
    flex-shrink: 0;
}

.pxd-header-breadcrumb .pxd-breadcrumb-current {
    color: white;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    flex-shrink: 1;
    min-width: 0;
}

/* --- User actions --- */
.pxd-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 20px;
}

/* "Nouvel itinéraire" button */
.pxd-header-btn-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 34px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pixidia-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pxd-header-btn-new svg {
    width: 14px;
    height: 14px;
}

.pxd-header-btn-new:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* "Nos offres" button — glassmorphic pill with sweep glow (logged-out) */
.pxd-header-btn-offers {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 34px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pixidia-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.2;
}

.pxd-header-btn-offers svg {
    width: 14px;
    height: 14px;
}

/* Sweep glow effect */
.pxd-header-btn-glow {
    position: absolute;
    width: 40px;
    height: 100%;
    top: 0;
    left: -60px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    filter: blur(4px);
    transition: left 0.8s ease;
    pointer-events: none;
}

.pxd-header-btn-offers:hover,
.pxd-header-btn-offers:focus {
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pxd-header-btn-offers:hover .pxd-header-btn-glow {
    left: calc(100% + 20px);
}

/* Connexion pill — logged-out */
.pxd-header-login-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 4px 3px 14px;
    height: 34px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pixidia-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.2;
}

.pxd-header-login-pill:hover,
.pxd-header-login-pill:focus {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pxd-header-login-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--pixidia-blue);
}

.pxd-header-login-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--pixidia-blue);
}

.pxd-header-login-avatar svg {
    width: 16px;
    height: 16px;
}

.pxd-header-login-pill:hover .pxd-header-login-avatar {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Icon buttons (fav, notif, lang) */
.pxd-header-icon-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative;
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-family: 'Urbanist', sans-serif !important;
    line-height: 1 !important;
}

.pxd-header-icon-btn svg {
    width: 16px;
    height: 16px;
}

/* Override for <button> icon buttons — beats Elementor kit (.elementor-kit-1489 button)
   and our own reset (.single-restauration .pxd-page button) */
.pxd-site-header button.pxd-header-icon-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: none;
}

.pxd-header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pxd-site-header button.pxd-header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

/* Focus / active states — override BuddyX button:focus defaults */
.pxd-site-header button.pxd-header-icon-btn:focus,
.pxd-site-header button.pxd-header-icon-btn:active,
.pxd-site-header button.pxd-header-icon-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: var(--pixidia-blue) !important;
}

.pxd-header-fav {
    color: #ff3b5c;
}

/* Notification badge */
.pxd-header-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    background: #ff3b5c;
    color: white;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 6px rgba(255, 59, 92, 0.4);
    animation: pxd-header-pulse 2s infinite;
}

@keyframes pxd-header-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* --- Language button --- */
.pxd-header-lang-wrap {
    position: relative;
}

.pxd-header-lang {
    font-size: 14px;
}

.pxd-header-lang svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pxd-header-lang-code {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    font-size: 7px !important;
    font-weight: 700 !important;
    background: rgba(1, 40, 39, 0.8) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    padding: 1px 3px !important;
    border-radius: 3px !important;
    line-height: 1 !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
}

/* Language dropdown */
.pxd-header-lang-dropdown {
    width: 200px;
}

.pxd-header-lang-dropdown li a {
    justify-content: space-between;
}

.pxd-lang-name {
    flex: 1;
}

.pxd-lang-badge {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.pxd-header-lang-dropdown li.is-active {
    background: rgba(255, 255, 255, 0.1);
}

.pxd-header-lang-dropdown li.is-active::before {
    opacity: 1;
}

.pxd-header-lang-dropdown li.is-active .pxd-lang-badge {
    background: var(--pixidia-green);
    color: white;
}

/* --- Profile button --- */
.pxd-header-profile-wrap {
    position: relative;
}

.pxd-header-profile {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 3px 4px 3px 12px !important;
    height: 34px !important;
    border-radius: 100px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: var(--pixidia-blue) !important;
    box-shadow: none !important;
}

.pxd-header-profile:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pxd-header-profile-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pxd-header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pxd-header-profile:hover .pxd-header-avatar {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.8);
}

.pxd-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pxd-header-profile-status {
    position: absolute;
    bottom: 3px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4AD66D;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* --- Dropdown menu --- */
.pxd-header-dropdown {
    position: fixed;
    width: 240px;
    background: var(--pixidia-blue);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth), visibility 0.25s;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.pxd-header-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.25), rgba(255,255,255,0));
}

.pxd-header-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.pxd-header-dropdown ul {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.pxd-header-dropdown li {
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pxd-header-dropdown li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--pixidia-green);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pxd-header-dropdown li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.pxd-header-dropdown li:hover::before {
    opacity: 1;
}

.pxd-header-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.pxd-dropdown-icon {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pxd-dropdown-icon--green {
    background: rgba(32, 141, 62, 0.3);
}

.pxd-dropdown-icon--red {
    background: rgba(244, 67, 54, 0.3);
}

.pxd-header-dropdown li:hover .pxd-dropdown-icon--green {
    background: rgba(32, 141, 62, 0.7);
}

.pxd-header-dropdown li:hover .pxd-dropdown-icon--red {
    background: rgba(244, 67, 54, 0.7);
}

.pxd-dropdown-logout:hover a {
    color: #f44336;
}

/* --- Hamburger button (hidden on desktop) --- */
.pxd-header-hamburger {
    display: none;
}

/* --- Header Drawer (hidden on desktop) --- */
.pxd-header-drawer-overlay {
    display: none;
}

.pxd-header-drawer {
    display: none;
}

/* --- Header responsive --- */
@media (max-width: 1100px) {
    .pxd-header-btn-text,
    .pxd-header-profile-name,
    .pxd-header-login-text {
        display: none;
    }
    .pxd-header-btn-new {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    .pxd-header-btn-offers {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    .pxd-header-btn-offers .pxd-header-btn-glow {
        display: none;
    }
    .pxd-header-login-pill {
        padding: 3px;
        gap: 0;
    }
    .pxd-header-profile {
        padding: 3px;
    }
    .pxd-header-breadcrumb {
        display: none;
    }
}

@media (max-width: 1000px) {
    .pxd-header-actions {
        gap: 8px;
    }
}

/* ============================================
   MOBILE HEADER (<768px)
   ============================================ */

@media (max-width: 768px) {
    .pxd-site-header {
        height: calc(var(--pxd-header-height, 52px) + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
    }

    .pxd-header-pill {
        height: 40px;
        padding: 0 6px;
    }

    .pxd-header-logo {
        height: 18px;
    }

    .pxd-header-logo-wrap {
        height: 30px;
        padding: 4px 10px;
        border-radius: 10px;
    }

    /* Hide desktop-only elements on mobile */
    .pxd-header-breadcrumb,
    .pxd-header-btn-new,
    .pxd-header-fav,
    .pxd-header-notif,
    .pxd-header-lang-wrap,
    .pxd-header-profile-wrap,
    .pxd-header-btn-offers,
    .pxd-header-login-pill {
        display: none !important;
    }

    /* Show hamburger */
    .pxd-header-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease;
        position: relative;
        flex-shrink: 0;
    }

    /* Invisible 44x44 touch target */
    .pxd-header-hamburger::after {
        content: "";
        position: absolute;
        inset: -6px;
        min-width: 44px;
        min-height: 44px;
    }

    .pxd-header-hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background: white;
        border-radius: 1px;
        transition: all 0.3s ease;
    }

    .pxd-header-hamburger:active {
        background: rgba(255, 255, 255, 0.5);
    }

    .pxd-header-actions {
        gap: 6px;
        margin-left: auto;
    }

    /* Drawer overlay */
    .pxd-header-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
        opacity: 0;
        transition: opacity 300ms var(--ease-smooth);
    }

    .pxd-header-drawer-overlay.is-open {
        display: block;
        opacity: 1;
    }

    /* Drawer panel */
    .pxd-header-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 9999;
        background: var(--pixidia-blue, #012827);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        transition: transform 300ms var(--ease-smooth);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pxd-header-drawer.is-open {
        transform: translateX(0);
    }

    .pxd-header-drawer-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pxd-header-drawer-profile {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .pxd-header-drawer .pxd-header-avatar {
        width: 36px;
        height: 36px;
    }

    .pxd-header-drawer-profile-info {
        display: flex;
        flex-direction: column;
    }

    .pxd-header-drawer-profile-name {
        font-size: 14px;
        font-weight: 600;
        color: white;
    }

    .pxd-header-drawer-profile-status {
        font-size: 11px;
        color: #4AD66D;
    }

    .pxd-header-drawer-close {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 8px;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s ease;
        position: relative;
        flex-shrink: 0;
        padding: 0;
    }

    /* Touch target for drawer close */
    .pxd-header-drawer-close::after {
        content: "";
        position: absolute;
        inset: -4px;
        min-width: 44px;
        min-height: 44px;
    }

    .pxd-header-drawer-close:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .pxd-header-drawer-search {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 12px 16px;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pxd-header-drawer-search svg {
        color: #ffffff;
        stroke: #ffffff;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .pxd-header-drawer-search input {
        flex: 1;
        background: none;
        border: none;
        outline: none;
        color: white;
        font-family: inherit;
        font-size: 13px;
    }

    .pxd-header-drawer-search input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .pxd-header-drawer-nav {
        display: flex;
        flex-direction: column;
        padding: 8px;
    }

    .pxd-header-drawer-nav a,
    .pxd-header-drawer-nav button.pxd-header-drawer-nav-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        border-radius: 10px;
        transition: background 0.2s ease;
        min-height: 44px;
    }

    .pxd-header-drawer-nav a svg,
    .pxd-header-drawer-nav button svg {
        width: 18px;
        height: 18px;
        text-align: center;
        flex-shrink: 0;
        color: #ffffff;
        stroke: #ffffff;
        fill: none;
    }

    .pxd-header-drawer-nav a:active,
    .pxd-header-drawer-nav button:active {
        background: rgba(255, 255, 255, 0.08);
    }

    .pxd-header-drawer-nav-item--danger {
        color: #f44336;
    }

    .pxd-header-drawer-nav-item--danger svg {
        color: #f44336;
        stroke: #f44336;
    }

    .pxd-header-drawer-badge {
        margin-left: auto;
        min-width: 20px;
        height: 20px;
        border-radius: 10px;
        background: #ff3b5c;
        color: white;
        font-size: 11px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 6px;
    }

    /* --- Drawer language selector --- */
    .pxd-header-drawer-lang {
        margin-left: auto;
        font-size: 12px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.1);
        padding: 2px 8px;
        border-radius: 4px;
    }

    .pxd-header-drawer-lang-item,
    .pxd-header-drawer-nav button.pxd-header-drawer-lang-item {
        background: none;
        background-color: transparent;
        border: none;
        width: 100%;
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        -webkit-appearance: none;
        appearance: none;
        color: #ffffff;
    }

    .pxd-header-drawer-lang-item svg {
        fill: #ffffff;
        stroke: none;
    }

    .pxd-header-drawer-lang-list {
        padding: 0 0 0 30px;
    }

    .pxd-header-drawer-lang-option {
        padding: 10px 14px;
        min-height: 40px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
    }

    .pxd-header-drawer-lang-option:active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .pxd-header-drawer-lang-option.is-active {
        color: #ffffff;
        font-weight: 600;
    }

    .pxd-header-drawer-lang-option.is-active .pxd-header-drawer-lang {
        background: var(--pixidia-green);
        color: #fff;
    }

    .pxd-header-drawer-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 4px 14px;
    }

    /* Highlight Connexion item in drawer for logged-out users */
    .pxd-header-drawer-nav-item--highlight {
        color: var(--pixidia-green);
        font-weight: 600;
    }

    .pxd-header-drawer-nav-item--highlight svg {
        color: var(--pixidia-green);
        stroke: var(--pixidia-green);
    }
}
/**
 * 04-hero.css - Hero section with photo gallery
 * Displays Google Places photos in an asymmetric grid
 */

/* ============================================
   PHOTO GALLERY (Hero)
   ============================================ */

.pxd-gallery {
    position: relative;
    height: 380px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    overflow: hidden;
}

.pxd-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* ---- 3 photos (default): hero left + 2 stacked right ---- */

/* Photo 1: large hero left, spans full height */
.pxd-gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / -1;
}

/* Photo 2: top-right */
.pxd-gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* Photo 3: bottom-right */
.pxd-gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* ---- 2 photos: side by side ---- */
.pxd-gallery[data-photos="2"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}
.pxd-gallery[data-photos="2"] .pxd-gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
.pxd-gallery[data-photos="2"] .pxd-gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* ---- 1 photo: full width ---- */
.pxd-gallery[data-photos="1"] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.pxd-gallery[data-photos="1"] .pxd-gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.pxd-gallery-item img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s var(--ease-smooth);
}

.pxd-gallery-item:hover img {
    transform: scale(1.05);
}

/* Overlay gradient on hover */
.pxd-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.pxd-gallery-item:hover::after { opacity: 1; }

/* "See all photos" button */
.pxd-gallery-more {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    color: var(--pixidia-text);
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    z-index: 5;
}

.pxd-gallery-more:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pxd-gallery-more svg,
.pxd-gallery-more i {
    width: 14px;
    height: 14px;
}

/* Google attribution badge */
.pxd-gallery-attribution {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 5;
}

.pxd-gallery-attribution img {
    height: 14px;
    width: auto;
}

/* ============================================
   TITLE BAR (below gallery)
   ============================================ */

.pxd-title-bar {
    padding: 20px 28px 16px;
    background: white;
    border-bottom: 1px solid var(--pixidia-gray-100);
}

.pxd-title-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.pxd-title-left { flex: 1; }

.pxd-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--pxd-color-activite-gradient);
    margin-bottom: 8px;
}

.pxd-type-badge svg,
.pxd-type-badge i {
    width: 13px;
    height: 13px;
}

.pxd-title-bar h1.pxd-title-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--pixidia-text);
    line-height: 1.2;
    margin-bottom: 6px;
}

.pxd-title-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pixidia-text-muted);
}

.pxd-title-address svg,
.pxd-title-address i {
    width: 14px;
    height: 14px;
    color: var(--pxd-color-activite);
    flex-shrink: 0;
}

/* Actions */
.pxd-title-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 4px;
}

.pxd-action-btn {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-full) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Urbanist', sans-serif !important;
    border: 1px solid var(--pixidia-gray-200) !important;
    background: white !important;
    color: var(--pixidia-text) !important;
    -webkit-text-fill-color: var(--pixidia-text) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    white-space: nowrap;
    line-height: 1 !important;
    box-shadow: none !important;
    height: auto !important;
}

.pxd-action-btn:hover {
    border-color: var(--pxd-color-activite) !important;
    color: var(--pxd-color-activite) !important;
    -webkit-text-fill-color: var(--pxd-color-activite) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: translateY(-1px);
}

.pxd-action-btn--primary {
    background: var(--gradient-activite) !important;
    color: white !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: transparent !important;
}

.pxd-action-btn--primary:hover {
    color: white !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: var(--shadow-glow-orange) !important;
    transform: translateY(-2px);
}

.pxd-action-btn svg,
.pxd-action-btn i {
    width: 18px;
    height: 18px;
}

/* ============================================
   ICON BUTTONS (Edit / Delete)
   ============================================ */

.pxd-btn-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid var(--pixidia-gray-200) !important;
    background: white !important;
    color: var(--pixidia-text-muted) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0;
    position: relative;
    text-decoration: none !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    font-family: 'Urbanist', sans-serif !important;
}

.pxd-btn-icon:hover {
    background: var(--pixidia-gray-50, #f8f9fa);
    color: var(--pixidia-text);
    border-color: var(--pixidia-gray-300, #dee2e6);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.pxd-btn-icon svg,
.pxd-btn-icon i {
    width: 18px;
    height: 18px;
}

.pxd-btn-icon--danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.1);
}

/* Tooltip */
.pxd-btn-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
}

.pxd-btn-icon[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: #ff9800;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
}

.pxd-btn-icon[data-tooltip]:hover::after,
.pxd-btn-icon[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   META ROW (rating, dates, cost)
   ============================================ */

.pxd-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pxd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pixidia-text-muted);
}

.pxd-meta-item svg,
.pxd-meta-item i {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.pxd-meta-separator {
    color: var(--pixidia-gray-300);
    margin: 0 2px;
}

.pxd-meta-divider {
    width: 1px;
    height: 20px;
    background: var(--pixidia-gray-200);
}

/* Google rating */
.pxd-google-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pxd-google-rating-score {
    font-size: 15px;
    font-weight: 700;
    color: var(--pixidia-text);
}

.pxd-google-stars {
    display: flex;
    gap: 2px;
}

.pxd-google-star {
    width: 16px;
    height: 16px;
    color: var(--google-star);
    fill: var(--google-star);
}

.pxd-google-star--empty {
    color: var(--google-star-empty);
    fill: var(--google-star-empty);
}

.pxd-google-star--half {
    color: var(--google-star);
    fill: var(--google-star);
    position: relative;
}

.pxd-google-rating-count {
    font-size: 13px;
    color: var(--pixidia-text-muted);
}

.pxd-google-rating-logo {
    height: 16px;
    width: auto;
    margin-left: 4px;
    opacity: 0.6;
}

/* Cost / Price level highlight */
.pxd-meta-cost {
    font-weight: 700;
    color: var(--pxd-color-activite);
    font-size: 16px;
}

.pxd-meta-cost-label {
    font-size: 12px;
    color: var(--pixidia-text-muted);
    font-weight: 400;
}

/* ============================================
   AFFILIATE DISCLOSURE (legal: loi 2023-451)
   ============================================ */

.pxd-affiliate-disclosure {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 11px;
    color: var(--pixidia-gray-400);
}

.pxd-affiliate-disclosure svg,
.pxd-affiliate-disclosure i {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.pxd-affiliate-disclosure a {
    color: var(--pixidia-gray-400);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.pxd-affiliate-disclosure a:hover {
    color: var(--pixidia-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet (769-1200px) --- */
@media (max-width: 1200px) and (min-width: 769px) {
    .pxd-gallery {
        height: 320px;
    }

    .pxd-title-bar {
        padding: 18px 20px 14px;
    }

    .pxd-title-bar h1.pxd-title-name {
        font-size: 22px;
    }
}

/* --- Mobile (<768px) --- */
@media (max-width: 768px) {
    .pxd-gallery {
        height: 260px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    /* Show only first 2 photos side by side */
    .pxd-gallery-item:nth-child(n+3) { display: none; }
    .pxd-gallery-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .pxd-gallery-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .pxd-gallery-more {
        padding: 6px 12px;
        font-size: 12px;
        bottom: 10px;
        right: 10px;
    }

    .pxd-gallery-attribution {
        padding: 4px 10px;
        font-size: 10px;
        bottom: 10px;
        left: 10px;
    }

    .pxd-title-bar {
        padding: 16px 16px 14px;
    }

    .pxd-title-top {
        flex-direction: column;
        gap: 12px;
    }

    .pxd-title-actions {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }

    .pxd-title-actions::-webkit-scrollbar { display: none; }

    .pxd-action-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .pxd-title-bar h1.pxd-title-name {
        font-size: 21px;
    }

    .pxd-title-address {
        font-size: 13px;
    }

    .pxd-meta-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .pxd-meta-divider {
        display: none;
    }

    .pxd-affiliate-disclosure {
        margin-left: 0;
    }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-gallery {
        height: 200px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    /* Show only first photo */
    .pxd-gallery-item:not(:first-child) { display: none; }
    .pxd-gallery-item:first-child { grid-column: 1; grid-row: 1; }

    .pxd-title-bar h1.pxd-title-name {
        font-size: 18px;
    }

    .pxd-type-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    /* Action buttons: icon-only on small mobile */
    .pxd-action-btn span {
        display: none;
    }

    .pxd-action-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .pxd-meta-item {
        font-size: 13px;
    }

    .pxd-google-rating-count {
        font-size: 11px;
    }

    .pxd-duration-pill {
        font-size: 11px;
        padding: 2px 8px;
    }

    .pxd-affiliate-disclosure {
        font-size: 10px;
    }
}

/* --- Tiny mobile (<=375px) --- */
@media (max-width: 375px) {
    .pxd-gallery {
        height: 180px;
    }

    .pxd-title-bar {
        padding: 12px 12px 10px;
    }

    .pxd-title-bar h1.pxd-title-name {
        font-size: 17px;
    }
}

/* Scope hover-only styles for desktop */
@media (hover: hover) {
    .pxd-gallery-item:hover img {
        transform: scale(1.05);
    }
}

/* Disable hover effects on touch */
@media (hover: none) {
    .pxd-gallery-item::after {
        display: none;
    }
}
/**
 * 05-details.css - Reservation details, services, highlights, opening hours
 */

/* ============================================
   RESERVATION DETAILS CARD
   ============================================ */

.pxd-reservation-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pixidia-gray-100);
}

.pxd-reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pxd-reservation-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pxd-reservation-field--full {
    grid-column: 1 / -1;
}

.pxd-field-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pixidia-text-muted);
}

.pxd-field-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--pixidia-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pxd-field-value svg,
.pxd-field-value i {
    width: 16px;
    height: 16px;
    color: var(--pxd-color-activite);
    flex-shrink: 0;
}

.pxd-field-value--highlight {
    color: var(--pxd-color-activite);
    font-size: 18px;
    font-weight: 800;
}

/* Duration / covers pill */
.pxd-duration-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--pxd-color-activite-alpha);
    color: var(--pxd-color-activite);
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* ============================================
   ITINERARY LINK
   ============================================ */

.pxd-itinerary-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--pixidia-blue-alpha);
    border-radius: var(--radius-md);
    border: 1px solid rgba(1, 40, 39, 0.06);
    transition: all 0.25s ease;
    cursor: pointer;
    margin-top: 8px;
}

.pxd-itinerary-link:hover {
    background: rgba(1, 40, 39, 0.06);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pxd-itinerary-link-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pxd-itinerary-link-icon svg,
.pxd-itinerary-link-icon i {
    width: 18px;
    height: 18px;
    color: white;
}

.pxd-itinerary-link-info { flex: 1; }

.pxd-itinerary-link-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pixidia-text-muted);
}

.pxd-itinerary-link-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--pixidia-text);
    line-height: 1.3;
}

.pxd-itinerary-link-arrow {
    width: 20px;
    height: 20px;
    color: var(--pixidia-gray-400);
    transition: transform 0.2s ease;
}

.pxd-itinerary-link:hover .pxd-itinerary-link-arrow {
    transform: translateX(4px);
    color: var(--pixidia-text);
}

/* ============================================
   SERVICES (replaces amenities)
   ============================================ */

.pxd-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pxd-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: white;
    border: 1px solid var(--pixidia-gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.pxd-amenity:hover {
    border-color: var(--pxd-color-activite-alpha);
    background: var(--pxd-color-activite-alpha);
    transform: translateY(-1px);
}

.pxd-amenity-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--pixidia-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.pxd-amenity:hover .pxd-amenity-icon {
    background: rgba(255, 152, 0, 0.15);
}

.pxd-amenity-icon svg,
.pxd-amenity-icon i {
    width: 18px;
    height: 18px;
    color: var(--pxd-color-activite);
}

.pxd-amenity-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--pixidia-text);
    flex: 1;
}

/* Unavailable service state */
.pxd-amenity--unavailable {
    opacity: 0.45;
}

.pxd-amenity--unavailable:hover {
    transform: none;
    border-color: var(--pixidia-gray-100);
    background: white;
}

.pxd-amenity--unavailable .pxd-amenity-label {
    text-decoration: line-through;
    text-decoration-color: var(--pixidia-gray-300);
}

.pxd-amenity-unavailable-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pixidia-red-alpha);
    color: var(--pixidia-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pxd-amenity-unavailable-badge svg,
.pxd-amenity-unavailable-badge i {
    width: 12px;
    height: 12px;
    color: var(--pixidia-red);
}

/* ============================================
   HIGHLIGHTS (key features)
   ============================================ */

.pxd-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pxd-highlight {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--pixidia-gray-100);
    transition: all 0.25s ease;
}

.pxd-highlight:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pxd-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--pxd-color-activite-alpha);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pxd-highlight-icon svg,
.pxd-highlight-icon i {
    width: 20px;
    height: 20px;
    color: var(--pxd-color-activite);
}

.pxd-highlight-content { flex: 1; }

.pxd-highlight-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pixidia-text);
    margin-bottom: 2px;
}

.pxd-highlight-desc {
    font-size: 13px;
    color: var(--pixidia-text-muted);
    line-height: 1.4;
}

/* ============================================
   DESCRIPTION
   ============================================ */

.pxd-description-text {
    padding: 20px 24px;
    background: var(--pixidia-gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--pxd-color-activite);
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--pixidia-text);
}

.pxd-description-text p {
    margin-bottom: 14px;
}

.pxd-description-text p:first-child::first-letter {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--pxd-color-activite);
    line-height: 1;
}

.pxd-description-text p:last-child {
    margin-bottom: 0;
}

.pxd-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--pxd-color-activite);
    cursor: pointer;
    transition: gap 0.2s ease;
}

.pxd-read-more-btn:hover { gap: 8px; }

.pxd-read-more-btn svg { width: 14px; height: 14px; }

/* ============================================
   OPENING HOURS (restaurant-specific)
   ============================================ */

.pxd-hours-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pixidia-gray-100);
}

.pxd-hours-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pxd-hours-status svg,
.pxd-hours-status i {
    width: 16px;
    height: 16px;
}

.pxd-hours-status--open {
    background: rgba(76, 175, 80, 0.1);
    color: #388e3c;
}

.pxd-hours-status--closed {
    background: var(--pxd-color-activite-alpha);
    color: var(--pxd-color-activite);
}

.pxd-hours-list {
    display: flex;
    flex-direction: column;
}

.pxd-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.pxd-hours-row:nth-child(even) {
    background: var(--pixidia-gray-50);
}

.pxd-hours-row--today {
    background: var(--pxd-color-activite-alpha) !important;
    font-weight: 700;
}

.pxd-hours-day {
    font-size: 14px;
    color: var(--pixidia-text);
    font-weight: 500;
    min-width: 100px;
}

.pxd-hours-row--today .pxd-hours-day {
    color: var(--pxd-color-activite);
}

.pxd-hours-time {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    font-weight: 500;
}

.pxd-hours-row--today .pxd-hours-time {
    color: var(--pxd-color-activite);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .pxd-amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .pxd-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pxd-reservation-grid { grid-template-columns: 1fr; }
    .pxd-amenities-grid { grid-template-columns: 1fr 1fr; }

    .pxd-reservation-card {
        padding: 18px;
    }

    .pxd-itinerary-link {
        padding: 12px 14px;
    }

    .pxd-description-text {
        padding: 16px 18px;
        font-size: 14px;
    }

    .pxd-highlight {
        padding: 14px;
        gap: 12px;
    }

    .pxd-highlight-icon {
        width: 38px;
        height: 38px;
    }

    .pxd-highlight-icon svg,
    .pxd-highlight-icon i {
        width: 18px;
        height: 18px;
    }

    /* Comment card: reduce glassmorphism on mobile for performance */
    .pxd-cc {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(1, 40, 39, 0.06);
        padding: 16px 16px 16px 20px;
    }

    .pxd-cc-avatar img {
        width: 36px;
        height: 36px;
    }

    .pxd-cc-actions {
        opacity: 1;
    }

    .pxd-hours-card {
        padding: 16px 18px;
    }

    .pxd-hours-row {
        padding: 8px 10px;
    }

    .pxd-hours-day,
    .pxd-hours-time {
        font-size: 13px;
    }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-amenities-grid {
        grid-template-columns: 1fr;
    }

    .pxd-amenity {
        padding: 10px 12px;
    }

    .pxd-reservation-card {
        padding: 14px;
    }

    .pxd-field-value {
        font-size: 14px;
    }

    .pxd-itinerary-link {
        gap: 10px;
    }

    .pxd-itinerary-link-icon {
        width: 36px;
        height: 36px;
    }

    .pxd-description-text {
        padding: 14px 16px;
        font-size: 13.5px;
        line-height: 1.7;
    }

    .pxd-highlight-title {
        font-size: 13px;
    }

    .pxd-highlight-desc {
        font-size: 12px;
    }

    .pxd-hours-card {
        padding: 14px;
    }

    .pxd-hours-status {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* --- Extreme small (<=320px) --- */
@media (max-width: 320px) {
    .pxd-amenities-grid {
        gap: 8px;
    }

    .pxd-amenity-icon {
        width: 30px;
        height: 30px;
    }

    .pxd-amenity-label {
        font-size: 12px;
    }
}
/**
 * 06-reviews.css - Google rating CTA + user notes
 */

/* ============================================
   GOOGLE RATING CTA
   ============================================ */

.pxd-google-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--pixidia-gray-100);
    box-shadow: var(--shadow-sm);
}

.pxd-google-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Score circle (reuse conic gradient) */
.pxd-reviews-score-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: conic-gradient(
        var(--google-star) calc(var(--score-pct, 0) * 1%),
        var(--pixidia-gray-100) 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.pxd-reviews-score-inner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--pixidia-text);
}

.pxd-google-cta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pxd-reviews-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pxd-reviews-count-text {
    font-size: 14px;
    color: var(--pixidia-text-muted);
}

.pxd-reviews-count-text strong {
    color: var(--pixidia-text);
    font-weight: 700;
}

.pxd-google-cta-update {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--pixidia-gray-400);
    margin-top: 2px;
}

.pxd-google-cta-update svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* CTA Button */
.pxd-google-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: white;
    border: 1.5px solid var(--pixidia-gray-200);
    font-size: 14px;
    font-weight: 600;
    color: var(--pixidia-text);
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
}

.pxd-google-cta-btn:hover {
    border-color: #4285F4;
    color: #4285F4;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.15);
    transform: translateY(-2px);
}

.pxd-google-cta-btn svg {
    flex-shrink: 0;
}

.pxd-google-cta-btn svg:last-child {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.pxd-google-cta-btn:hover svg:last-child {
    opacity: 1;
}

/* ============================================
   SECTION — COMMENTS (Notes & descriptions)
   ============================================ */

/* Ensure section is always visible */
.pxd-section--comments {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override cursor (pas d'accordeon) */
.pxd-section--comments .pxd-section-header {
    cursor: default;
    user-select: auto;
}

/* Icon gradient */
.pxd-section-icon--comments {
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%);
}

/* Count badge */
.pxd-section-count {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 600;
    color: var(--pixidia-text-muted);
}

/* Bouton Ajouter */
.pxd-section--comments .pxd-section-header-btn {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 14px !important;
    margin-left: auto !important;
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25) !important;
    flex-shrink: 0;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxd-section--comments .pxd-section-header-btn svg {
    width: 14px;
    height: 14px;
}

.pxd-section--comments .pxd-section-header-btn:hover {
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxd-section--comments .pxd-section-header-btn:focus,
.pxd-section--comments .pxd-section-header-btn:focus-visible {
    outline: none !important;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25) !important;
    border: none !important;
}

/* Comments list */
.pxd-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   COMMENT CARD (glassmorphism - style itineraire v2)
   ============================================ */

.pxd-cc {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 20px 20px 20px 24px;
    box-shadow: 0 4px 16px rgba(1, 40, 39, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease;
    opacity: 0;
    animation: pxd-ccSlideIn 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s + 0.15s);
}

@keyframes pxd-ccSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.pxd-cc:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(1, 40, 39, 0.10),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Left accent bar */
.pxd-cc-accent {
    position: absolute;
    top: 12px;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--pxd-color-activite), #ffb74d);
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pxd-cc:hover .pxd-cc-accent {
    height: calc(100% - 24px);
}

/* Header */
.pxd-cc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pxd-cc-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}

.pxd-cc:hover .pxd-cc-avatar img {
    transform: scale(1.05);
}

.pxd-cc-meta {
    flex: 1;
    min-width: 0;
}

.pxd-cc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--pxd-color-activite);
    display: flex;
    align-items: center;
    line-height: 1.3;
}

/* Badge inside comment card name */
.pxd-cc-name .pixidia-badge {
    margin-left: 4px !important;
}

.pxd-cc-name .pixidia-badge-img {
    max-width: 16px !important;
    max-height: 16px !important;
}

/* Red gradient tooltip — override badge plugin ::after */
.pxd-cc-name .pixidia-badge::after {
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    background-color: transparent !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25) !important;
    bottom: calc(100% + 8px) !important;
    transform: translateX(-50%) translateY(4px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

.pxd-cc-name .pixidia-badge::before {
    content: '' !important;
    position: absolute !important;
    bottom: calc(100% + 4px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(4px) !important;
    border: 5px solid transparent !important;
    border-top-color: #ff9800 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 10001 !important;
    display: block !important;
}

.pxd-cc-name .pixidia-badge:hover::after {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pxd-cc-name .pixidia-badge:hover::before {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Date with red dot */
.pxd-cc-date {
    font-size: 12px;
    color: var(--pixidia-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.pxd-cc-date::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pxd-color-activite);
    opacity: 0.5;
    flex-shrink: 0;
}

/* "Modifie le..." indicator */
.pxd-cc-updated {
    font-size: 11px;
    color: var(--pixidia-text-muted);
    font-style: italic;
    margin-top: 1px;
}

/* Edit/Delete actions */
.pxd-cc-actions {
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pxd-cc:hover .pxd-cc-actions {
    opacity: 1;
}

.pxd-cc-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-height: auto !important;
    padding: 0 !important;
    outline: none !important;
}

.pxd-cc-action-btn:focus,
.pxd-cc-action-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.pxd-cc-action-btn svg {
    width: 14px;
    height: 14px;
}

.pxd-cc-edit {
    background: rgba(255, 152, 0, 0.08) !important;
    color: var(--pxd-color-activite) !important;
}

.pxd-cc-edit:hover {
    background: rgba(255, 152, 0, 0.18) !important;
    transform: translateY(-1px);
}

.pxd-cc-delete {
    background: rgba(220, 53, 69, 0.06) !important;
    color: #dc3545 !important;
}

.pxd-cc-delete:hover {
    background: rgba(220, 53, 69, 0.15) !important;
    transform: translateY(-1px);
}

/* Body & content */
.pxd-cc-body {
    position: relative;
}

.pxd-cc-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    overflow-wrap: break-word;
}

.pxd-cc-content p {
    margin-bottom: 10px;
}

.pxd-cc-content p:last-child {
    margin-bottom: 0;
}

/* Truncation: clamped state (4 lines) */
.pxd-cc-content--clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Expanded state */
.pxd-cc-content--expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Toggle button */
.pxd-cc-toggle-btn {
    display: none;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: var(--pxd-color-activite) !important;
    -webkit-text-fill-color: var(--pxd-color-activite) !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: color 0.2s;
    min-height: auto !important;
    outline: none !important;
    line-height: 1.3 !important;
}

.pxd-cc-toggle-btn:hover {
    color: #e65100 !important;
    -webkit-text-fill-color: #e65100 !important;
    background: none !important;
    border: none !important;
}

.pxd-cc-toggle-btn:focus,
.pxd-cc-toggle-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.pxd-cc-toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.pxd-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    text-align: center;
}

.pxd-empty-state svg {
    width: 44px;
    height: 44px;
    color: var(--pixidia-gray-300);
    opacity: 0.6;
}

.pxd-empty-state p {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Primary button (empty state CTA) */
.pxd-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25) !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxd-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxd-btn-primary:focus,
.pxd-btn-primary:focus-visible {
    outline: none !important;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25) !important;
    border: none !important;
}

.pxd-btn-primary svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   MODAL — Footer, Actions, Buttons
   (comment editor + confirm delete)
   ============================================ */

.pxd-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(1, 40, 39, 0.06);
}

.pxd-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Base modal button */
.pxd-modal-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxd-modal-btn:focus,
.pxd-modal-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Cancel button */
.pxd-modal-btn--cancel {
    background: rgba(1, 40, 39, 0.05) !important;
    color: var(--pixidia-text-muted) !important;
    -webkit-text-fill-color: var(--pixidia-text-muted) !important;
    border: none !important;
}

.pxd-modal-btn--cancel:hover {
    background: rgba(1, 40, 39, 0.1) !important;
    color: var(--pixidia-text) !important;
    -webkit-text-fill-color: var(--pixidia-text) !important;
    border: none !important;
}

/* Save button */
.pxd-modal-btn--save {
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25) !important;
}

.pxd-modal-btn--save:hover {
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxd-modal-btn--save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Danger button (delete confirm) */
.pxd-modal-btn--danger {
    background: #dc3545 !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.25) !important;
}

.pxd-modal-btn--danger:hover {
    background: #c82333 !important;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35) !important;
    transform: translateY(-1px);
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* ============================================
   CONFIRM DELETE MODAL
   ============================================ */

.pxd-modal--confirm {
    max-width: 380px !important;
    text-align: center;
}

.pxd-modal--confirm .pxd-modal-body {
    padding: 32px 28px 24px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pxd-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.pxd-confirm-icon--danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.pxd-confirm-icon svg {
    width: 28px;
    height: 28px;
}

.pxd-confirm-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pxd-confirm-text {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    line-height: 1.5;
    margin: 0;
}

.pxd-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* ============================================
   COMMENT EDITOR MODAL
   ============================================ */

.pxd-modal--comment-editor {
    max-width: 520px !important;
}

/* Textarea */
.pxd-comment-textarea {
    width: 100% !important;
    min-height: 160px !important;
    max-height: 300px;
    padding: 14px 16px !important;
    border: 1.5px solid var(--pixidia-gray-200, #d5dfdf) !important;
    border-radius: 12px !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    background: var(--pixidia-gray-50, #f5f8f8) !important;
    resize: vertical;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    transition: border-color 0.2s ease;
    box-sizing: border-box !important;
}

.pxd-comment-textarea:focus {
    border-color: var(--pxd-color-activite) !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1) !important;
}

.pxd-comment-textarea::placeholder {
    color: var(--pixidia-text-muted) !important;
    opacity: 0.7;
}

/* Character count hint */
.pxd-comment-editor-hint {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    font-size: 12px;
    color: var(--pixidia-text-muted);
    margin-top: 6px;
    padding-right: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .pxd-google-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }

    .pxd-google-cta-btn {
        justify-content: center;
        width: 100%;
    }

    .pxd-reviews-score-circle {
        width: 60px;
        height: 60px;
    }

    .pxd-reviews-score-inner {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    /* Hide count badge on mobile */
    .pxd-section-count {
        display: none !important;
    }

    /* Add button icon-only mode on mobile */
    .pxd-section--comments .pxd-section-header-btn {
        padding: 10px !important;
        border-radius: 8px !important;
        width: 36px !important;
        height: 36px !important;
        justify-content: center !important;
        box-sizing: content-box;
    }

    .pxd-section--comments .pxd-section-header-btn span {
        display: none;
    }

    .pxd-section--comments .pxd-section-header-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Comment card: reduce glassmorphism on mobile */
    .pxd-cc {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(1, 40, 39, 0.06);
        padding: 16px 16px 16px 20px;
    }

    .pxd-cc-avatar img {
        width: 36px;
        height: 36px;
    }

    /* Always show actions on mobile (no hover) */
    .pxd-cc-actions {
        opacity: 1;
    }

    /* Modal bottom-sheet on mobile */
    .pxd-modal--comment-editor,
    .pxd-modal--confirm {
        max-width: 100% !important;
    }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-google-cta {
        padding: 16px;
        gap: 14px;
    }

    .pxd-google-cta-left {
        gap: 12px;
    }

    .pxd-reviews-score-circle {
        width: 52px;
        height: 52px;
    }

    .pxd-reviews-score-inner {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .pxd-reviews-count-text {
        font-size: 13px;
    }

    .pxd-google-cta-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .pxd-cc-content {
        font-size: 13px;
    }

    /* 3-line clamp on small mobile */
    .pxd-cc-content--clamped {
        -webkit-line-clamp: 3;
    }

    .pxd-confirm-actions {
        flex-direction: column;
    }
}
/**
 * 07-map.css - Map panel styles
 */

/* ============================================
   MAP CONTAINER
   ============================================ */

.pxd-map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#pxd-map {
    width: 100%;
    height: 100%;
}

/* Map overlay info */
.pxd-map-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 400;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.pxd-map-overlay > * {
    pointer-events: auto;
}

/* Map info badge (name + type) */
.pxd-map-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.pxd-map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pxd-color-activite);
    box-shadow: 0 0 0 3px var(--pxd-color-activite-alpha);
}

.pxd-map-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--pixidia-text);
}

/* Map action buttons */
.pxd-map-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pxd-map-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--pixidia-text);
}

.pxd-map-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pxd-map-btn svg,
.pxd-map-btn i {
    width: 16px;
    height: 16px;
}

/* Google Maps button — bottom-left of map */
.pxd-map-btn--gmaps {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 400;
}

/* Nearby places */
.pxd-map-nearby {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 400;
}

.pxd-nearby-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px;
}

.pxd-nearby-scroll::-webkit-scrollbar { display: none; }

.pxd-nearby-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--pixidia-text);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pxd-nearby-chip:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pxd-nearby-chip svg,
.pxd-nearby-chip i {
    width: 14px;
    height: 14px;
    color: var(--pixidia-text-muted);
}

.pxd-nearby-chip--active {
    background: var(--pixidia-blue);
    color: white;
    border-color: var(--pixidia-blue);
}

.pxd-nearby-chip--active svg,
.pxd-nearby-chip--active i {
    color: rgba(255, 255, 255, 0.8);
}

/* Custom marker */
.pxd-marker-activite {
    background: none !important;
    border: none !important;
}

/* Leaflet overrides */
.leaflet-bar {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.leaflet-bar a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: var(--pixidia-text) !important;
    background: white !important;
    border: none !important;
    border-bottom: 1px solid var(--pixidia-gray-100) !important;
    transition: background 0.15s, color 0.15s;
}

.leaflet-bar a:last-child { border-bottom: none !important; }
.leaflet-bar a:hover {
    background: var(--pixidia-gray-50) !important;
    color: var(--pixidia-green) !important;
}

/* Popup */
.leaflet-popup-content-wrapper,
.pxd-popup-wrapper .leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.leaflet-popup-content,
.pxd-popup-wrapper .leaflet-popup-content {
    margin: 0 !important;
    width: 260px !important;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Rich popup */
.pxd-popup-rich {
    display: flex;
    flex-direction: column;
}

.pxd-popup-photo {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
}

.pxd-popup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pxd-popup-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pxd-popup-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pxd-color-activite);
    background: var(--pxd-color-activite-alpha);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.pxd-popup-rich .pxd-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--pixidia-text);
    line-height: 1.3;
}

.pxd-popup-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pxd-popup-score {
    font-size: 13px;
    font-weight: 700;
    color: var(--pixidia-text);
}

.pxd-popup-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.pxd-popup-star {
    width: 13px;
    height: 13px;
}

.pxd-popup-star--full { fill: #fbbc04; }
.pxd-popup-star--empty { fill: #e0e0e0; }

.pxd-popup-count {
    font-size: 11px;
    color: var(--pixidia-text-muted);
    margin-left: 2px;
}

.pxd-popup-rich .pxd-popup-address {
    font-size: 11.5px;
    color: var(--pixidia-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.4;
}

.pxd-popup-rich .pxd-popup-address svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pxd-popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    margin-top: 4px;
    border-radius: var(--radius-full);
    background: white;
    border: 1.5px solid var(--pixidia-gray-200);
    font-size: 12px;
    font-weight: 600;
    color: var(--pixidia-text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pxd-popup-cta:hover {
    border-color: #4285F4;
    color: #4285F4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.pxd-popup-cta svg:last-child {
    opacity: 0.4;
    transition: opacity 0.2s;
}

.pxd-popup-cta:hover svg:last-child {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .pxd-map-nearby { display: none; }

    .pxd-map-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .pxd-map-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .pxd-map-badge-text {
        font-size: 12px;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pxd-map-btn {
        width: 34px;
        height: 34px;
    }

    /* Popup: narrower on mobile */
    .leaflet-popup-content,
    .pxd-popup-wrapper .leaflet-popup-content {
        width: 230px !important;
    }

    .pxd-popup-photo {
        height: 110px;
    }

    .pxd-popup-body {
        padding: 12px 14px 14px;
    }

    .pxd-popup-rich .pxd-popup-title {
        font-size: 14px;
    }

    /* Map close button for mobile panel */
    .pxd-map-close-btn {
        display: flex;
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 500;
        width: 40px;
        height: 5px;
        border-radius: 3px;
        background: rgba(0, 0, 0, 0.25);
        border: none;
        cursor: pointer;
    }
}

/* Map close handle (hidden on desktop) */
.pxd-map-close-btn {
    display: none;
}
/**
 * 08-animations.css - Transitions & keyframe animations
 */

/* ============================================
   FADE IN UP (sections)
   ============================================ */

@keyframes pxd-fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pxd-section {
    animation: pxd-fade-in-up 0.4s var(--ease-smooth) both;
}

.pxd-section:nth-child(1) { animation-delay: 0s; }
.pxd-section:nth-child(2) { animation-delay: 0.06s; }
.pxd-section:nth-child(3) { animation-delay: 0.12s; }
.pxd-section:nth-child(4) { animation-delay: 0.18s; }
.pxd-section:nth-child(5) { animation-delay: 0.24s; }
.pxd-section:nth-child(6) { animation-delay: 0.30s; }

/* ============================================
   GALLERY IMAGE ZOOM
   ============================================ */

@keyframes pxd-gallery-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.pxd-gallery-item img {
    animation: pxd-gallery-zoom 0.8s var(--ease-smooth);
}

/* ============================================
   MARKER BOUNCE
   ============================================ */

@keyframes pxd-marker-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-14px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-7px); }
}

.pxd-marker-bouncing {
    animation: pxd-marker-bounce 0.6s var(--ease-bounce);
}

/* ============================================
   PULSE (Google rating circle)
   ============================================ */

@keyframes pxd-score-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 188, 4, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(251, 188, 4, 0); }
}

.pxd-reviews-score-circle {
    animation: pxd-score-pulse 3s ease-in-out infinite;
}

/* ============================================
   SKELETON LOADING
   ============================================ */

@keyframes pxd-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.pxd-skeleton {
    background: linear-gradient(
        90deg,
        var(--pixidia-gray-100) 25%,
        var(--pixidia-gray-50) 50%,
        var(--pixidia-gray-100) 75%
    );
    background-size: 400px 100%;
    animation: pxd-shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ============================================
   TRANSITIONS
   ============================================ */

.pxd-amenity,
.pxd-highlight,
.pxd-review-card {
    transition:
        box-shadow var(--duration-normal) var(--ease-smooth),
        transform var(--duration-normal) var(--ease-smooth),
        border-color var(--duration-normal) var(--ease-smooth);
}

.pxd-action-btn {
    transition:
        all var(--duration-normal) var(--ease-smooth);
}

.pxd-nearby-chip {
    transition: all var(--duration-normal) var(--ease-bounce);
}

/* ============================================
   MODAL OVERLAY + CONTAINER
   Override BuddyX: bg, borders, button, input
   ============================================ */

.pxd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 40, 39, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20000;
    display: none;
    place-items: center;
}

.pxd-modal-overlay.open {
    display: grid;
    animation: pxd-modalFadeIn 0.25s ease;
}

@keyframes pxd-modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pxd-modal-overlay .pxd-modal {
    position: relative;
    width: 90%;
    max-width: 440px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow:
        0 24px 64px rgba(1, 40, 39, 0.20),
        0 0 0 1px rgba(1, 40, 39, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: pxd-modalSlideUp 0.3s ease;
    overflow: hidden;
}

@keyframes pxd-modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pxd-modal-overlay .pxd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(1, 40, 39, 0.06);
}

.pxd-modal-overlay .pxd-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pxd-modal-overlay .pxd-modal-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%);
}

.pxd-modal-overlay .pxd-modal-header-icon svg {
    width: 18px;
    height: 18px;
}

.pxd-modal-overlay .pxd-modal-header-left h3 {
    margin: 0;
    padding: 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pixidia-text, #0A3D3A);
    line-height: 1.3;
}

.pxd-modal-overlay .pxd-modal-close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: none;
    background: rgba(1, 40, 39, 0.05);
    color: #778494;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    outline: none;
}

.pxd-modal-overlay .pxd-modal-close:hover {
    background: rgba(1, 40, 39, 0.1);
    color: var(--pixidia-text, #0A3D3A);
}

.pxd-modal-overlay .pxd-modal-close svg {
    width: 16px;
    height: 16px;
}

.pxd-modal-overlay .pxd-modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

/* --- Share Modal Content --- */

.pxd-modal-overlay .pxd-share-link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pxd-modal-overlay .pxd-share-link-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--pixidia-gray-200, #d5dfdf);
    border-radius: 10px;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem;
    color: var(--pixidia-gray-700, #3a5252);
    background: var(--pixidia-gray-50, #f5f8f8);
    outline: none;
    min-width: 0;
    box-shadow: none;
}

.pxd-modal-overlay .pxd-share-link-input:focus {
    border-color: var(--pxd-color-activite, #ff9800);
}

.pxd-modal-overlay .pxd-share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    background: var(--pixidia-primary, #0A3D3A);
    color: #fff;
    transition: background 200ms ease, transform 100ms ease;
    outline: none;
}

.pxd-modal-overlay .pxd-share-copy-btn:hover {
    background: var(--pixidia-primary-dark, #072e2c);
}

.pxd-modal-overlay .pxd-share-copy-btn:active {
    transform: scale(0.97);
}

.pxd-modal-overlay .pxd-share-copy-btn--copied {
    background: var(--pxd-color-activite, #ff9800);
}

.pxd-modal-overlay .pxd-share-copy-btn svg {
    width: 16px;
    height: 16px;
}

.pxd-modal-overlay .pxd-share-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pixidia-gray-500, #6b8585);
    margin: 0 0 12px;
    padding: 0;
}

.pxd-modal-overlay .pxd-share-socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pxd-modal-overlay .pxd-share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border: 1px solid var(--pixidia-gray-200, #d5dfdf);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pixidia-gray-700, #3a5252);
    transition: border-color 200ms ease, background 200ms ease, transform 100ms ease;
    outline: none;
}

.pxd-modal-overlay .pxd-share-social-btn:hover {
    border-color: var(--pixidia-gray-300, #b8c5c5);
    background: var(--pixidia-gray-50, #f5f8f8);
}

.pxd-modal-overlay .pxd-share-social-btn:active {
    transform: scale(0.96);
}

.pxd-modal-overlay .pxd-share-social-btn svg {
    width: 22px;
    height: 22px;
}

.pxd-modal-overlay .pxd-share-social-btn--whatsapp svg { color: #25D366; }
.pxd-modal-overlay .pxd-share-social-btn--facebook svg { color: #1877F2; }
.pxd-modal-overlay .pxd-share-social-btn--twitter svg  { color: #000; }
.pxd-modal-overlay .pxd-share-social-btn--email svg    { color: var(--pixidia-primary, #0A3D3A); }

/* --- Modal Footer & Buttons --- */

.pxd-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(1, 40, 39, 0.06);
}

.pxd-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.pxd-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Urbanist', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.pxd-modal-btn--cancel {
    background: rgba(1, 40, 39, 0.05);
    color: var(--pixidia-text-muted);
    border: none;
}

.pxd-modal-btn--cancel:hover {
    background: rgba(1, 40, 39, 0.1);
    color: var(--pixidia-text);
}

.pxd-modal-btn--save {
    background: linear-gradient(135deg, #ff9800 25%, #ffb74d 100%);
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.25);
}

.pxd-modal-btn--save:hover {
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35);
    transform: translateY(-1px);
}

.pxd-modal-btn--save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pxd-modal-btn--danger {
    background: #dc3545;
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.25);
}

.pxd-modal-btn--danger:hover {
    background: #c82333;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
    transform: translateY(-1px);
}

/* --- Confirm Delete Modal --- */

.pxd-modal--confirm {
    max-width: 380px;
    text-align: center;
}

.pxd-modal--confirm .pxd-modal-body {
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pxd-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.pxd-confirm-icon--danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.pxd-confirm-icon svg {
    width: 28px;
    height: 28px;
}

.pxd-confirm-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pixidia-text, #0A3D3A);
    margin: 0;
    padding: 0;
}

.pxd-confirm-text {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    line-height: 1.5;
    margin: 0;
}

.pxd-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* --- Comment Editor Modal --- */

.pxd-modal--comment-editor {
    max-width: 520px;
}

.pxd-comment-textarea {
    width: 100%;
    min-height: 160px;
    max-height: 300px;
    padding: 14px 16px;
    border: 1.5px solid var(--pixidia-gray-200, #d5dfdf);
    border-radius: 12px;
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--pixidia-text, #0A3D3A);
    background: var(--pixidia-gray-50, #f5f8f8);
    resize: vertical;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.pxd-comment-textarea:focus {
    border-color: var(--pxd-color-activite, #ff9800);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.pxd-comment-textarea::placeholder {
    color: var(--pixidia-text-muted);
    opacity: 0.7;
}

.pxd-comment-editor-hint {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    font-size: 12px;
    color: var(--pixidia-text-muted);
    margin-top: 6px;
    padding-right: 4px;
}

/* ============================================
   MOBILE PERFORMANCE: reduce blur and shadow
   ============================================ */

@media (max-width: 768px) {
    .pxd-map-badge,
    .pxd-map-btn,
    .pxd-nearby-chip {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Disable hover transforms on touch */
    .pxd-amenity:hover,
    .pxd-highlight:hover {
        transform: none;
    }

    .pxd-cc:hover {
        transform: none;
    }

    /* Modal bottom-sheet on mobile */
    .pxd-modal-overlay {
        align-items: flex-end;
    }

    .pxd-modal-overlay .pxd-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        margin: 0;
        animation: pxd-modal-slide-up 300ms var(--ease-smooth);
    }

    .pxd-modal-overlay .pxd-modal::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        border-radius: 2px;
        background: var(--pixidia-gray-300, #b8c5c5);
        margin: 8px auto 4px;
    }

    .pxd-modal-overlay .pxd-modal-body {
        padding: 16px;
    }

    @keyframes pxd-modal-slide-up {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .pxd-modal--comment-editor,
    .pxd-modal--confirm {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pxd-modal-overlay .pxd-share-socials {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pxd-modal-overlay .pxd-share-social-btn {
        min-height: 72px;
        padding: 16px 8px;
    }

    .pxd-modal-overlay .pxd-share-link-row {
        flex-direction: column;
        gap: 8px;
    }

    .pxd-modal-overlay .pxd-share-copy-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }
}

/* ============================================
   RESPECT PREFERS-REDUCED-MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.pxd-viator-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pxd-viator-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:999px;background:var(--pxd-color-activite-alpha);color:var(--pxd-color-activite);font-size:12.5px;font-weight:600;line-height:1.2}.pxd-viator-badge svg,.pxd-viator-badge i{width:13px;height:13px;flex-shrink:0}
.pxd-popup-cta .pxd-popup-cta-logo{width:14px;height:14px;object-fit:contain;flex-shrink:0}.pxd-google-cta-btn .pxd-viator-wordmark{height:14px;width:auto;display:inline-block;vertical-align:-2px}body[class*="elementor-kit"] .pxd-modal-overlay .pxd-modal-close:hover,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-modal-close:focus,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-modal-close:focus-visible,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-modal-close:active{background:rgba(1,40,39,.1)!important;color:var(--pixidia-text,#0A3D3A)!important;border:none!important;box-shadow:none!important;outline:none!important}body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn:hover,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn:focus,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn:focus-visible{background:var(--pixidia-primary-dark,#072e2c)!important;color:#fff!important;border:none!important;box-shadow:none!important;outline:none!important}body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn:active{background:var(--pixidia-primary-dark,#072e2c)!important;color:#fff!important;border:none!important;box-shadow:none!important;outline:none!important;transform:scale(.97)!important}body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn--copied,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn--copied:hover,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn--copied:focus,body[class*="elementor-kit"] .pxd-modal-overlay .pxd-share-copy-btn--copied:active{background:var(--pxd-color-activite,#ff9800)!important;color:#fff!important}
.pxd-google-cta-btn img.pxd-viator-wordmark{height:13px!important;width:auto!important;max-width:none!important;max-height:13px!important;display:inline-block!important;vertical-align:-1px!important;flex-shrink:0!important}.pxd-popup-cta img.pxd-popup-cta-logo{width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important;object-fit:contain!important;flex-shrink:0!important}
