/**
 * 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-location: #9c27b0;
    --pxd-color-location-light: #ba68c8;
    --pxd-color-location-alpha: rgba(156, 39, 176, 0.1);
    --pxd-color-location-gradient: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);

    /* === 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-location: linear-gradient(135deg, #9c27b0 0%, #ba68c8 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-purple: 0 0 24px rgba(156, 39, 176, 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 (location-vehicule single) === */
    --pxd-header-height: 60px;
    --pxd-map-width: 38%;
    --pxd-content-width: 62%;
}
/**
 * 01-reset.css - Scoped reset for location-vehicule single page
 */

.pxd-location-vehicule-single *,
.pxd-location-vehicule-single *::before,
.pxd-location-vehicule-single *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pxd-location-vehicule-single {
    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;
}

.pxd-location-vehicule-single a { color: inherit; text-decoration: none; }
.pxd-location-vehicule-single button { font-family: inherit; cursor: pointer; }
.pxd-location-vehicule-single img { max-width: 100%; height: auto; display: block; }
.pxd-location-vehicule-single ul,
.pxd-location-vehicule-single ol { list-style: none; }
/**
 * 02-layout.css - Split-view layout for location-vehicule 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 */
.pxdlv-panel-left {
    grid-column: 1;
    grid-row: 2;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pixidia-gray-300) transparent;
}

.pxdlv-panel-left::-webkit-scrollbar { width: 6px; }
.pxdlv-panel-left::-webkit-scrollbar-track { background: transparent; }
.pxdlv-panel-left::-webkit-scrollbar-thumb {
    background: var(--pixidia-gray-300);
    border-radius: 3px;
}
.pxdlv-panel-left::-webkit-scrollbar-thumb:hover {
    background: var(--pixidia-gray-400);
}

/* Right panel: sticky map */
.pxdlv-panel-right {
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    position: relative;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */

.pxdlv-content {
    padding: 0 0 60px;
}

/* ============================================
   SECTION BASE
   ============================================ */

.pxdlv-section {
    padding: 24px 28px;
    border-bottom: 1px solid var(--pixidia-gray-100);
}

.pxdlv-section:last-child {
    border-bottom: none;
}

.pxdlv-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pxdlv-section-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pixidia-text);
    flex: 1;
}

.pxdlv-section-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pxdlv-section-icon svg,
.pxdlv-section-icon i {
    width: 18px;
    height: 18px;
    color: white;
}

.pxdlv-section-icon--location { background: var(--pxd-color-location-gradient); }

/* Section header button (e.g. "Ajouter") */
.pxdlv-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-location);
    background: transparent;
    color: var(--pxd-color-location);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pxdlv-section-header-btn:hover {
    background: var(--pxd-color-location);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.pxdlv-section-header-btn svg,
.pxdlv-section-header-btn i {
    width: 14px;
    height: 14px;
}

/* Section count badge */
.pxdlv-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) {
    .pxdlv-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;
    }

    .pxdlv-panel-left {
        grid-column: 1;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .pxdlv-panel-left::-webkit-scrollbar {
        display: none;
    }

    /* Map becomes a fixed bottom panel (toggled via JS) */
    .pxdlv-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);
    }

    .pxdlv-panel-right.is-map-open {
        height: 55vh;
    }

    .pxdlv-section {
        padding: 20px 16px;
    }

    .pxdlv-section-header {
        gap: 10px;
        margin-bottom: 16px;
    }

    .pxdlv-section-icon {
        width: 32px;
        height: 32px;
    }

    .pxdlv-section-icon svg,
    .pxdlv-section-icon i {
        width: 16px;
        height: 16px;
    }
}

/* Mobile map toggle button (hidden on desktop) */
.pxdlv-mobile-map-toggle {
    display: none;
}

@media (max-width: 768px) {
    .pxdlv-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;
    }

    .pxdlv-mobile-map-toggle:active {
        transform: translateX(-50%) scale(0.95);
    }

    .pxdlv-mobile-map-toggle svg,
    .pxdlv-mobile-map-toggle i {
        width: 18px;
        height: 18px;
    }

    .pxdlv-mobile-map-toggle.is-map-open {
        bottom: calc(55vh + 12px);
    }
}

/* === Small Mobile (<=480px) === */
@media (max-width: 480px) {
    .pxdlv-section {
        padding: 16px 14px;
    }

    .pxdlv-section-header h2 {
        font-size: 1rem;
    }
}

/* === Extreme small (<=320px) === */
@media (max-width: 320px) {
    .pxdlv-section {
        padding: 14px 10px !important;
    }

    .pxdlv-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 !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 16px !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;
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: 'Urbanist', sans-serif !important;
    white-space: nowrap;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    line-height: 1.2 !important;
}

.pxd-header-btn-offers svg { width: 14px; height: 14px; }

.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 !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 3px 4px 3px 14px !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;
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: 'Urbanist', sans-serif !important;
    white-space: nowrap;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    line-height: 1.2 !important;
}

.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; }

.pxd-header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Override for <button> icon buttons — beats Elementor kit (.elementor-kit-1489 button)
   and our own reset (.single-location-vehicule .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;
}

/* 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 !important; }

/* 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;
    }

    .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;
    }
    .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;
    }

    .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; }

    .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
 * Classes: pxdlv-gallery (PHP) wraps pxd-gallery-item (JS-rendered)
 */

/* ============================================
   PHOTO GALLERY (Hero)
   ============================================ */

.pxdlv-gallery {
    position: relative;
    height: 380px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    overflow: hidden;
}

.pxdlv-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* ---- 3 photos (default): hero left + 2 stacked right ---- */
.pxdlv-gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / -1; }
.pxdlv-gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.pxdlv-gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }

/* ---- 2 photos: side by side ---- */
.pxdlv-gallery[data-photos="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.pxdlv-gallery[data-photos="2"] .pxdlv-gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.pxdlv-gallery[data-photos="2"] .pxdlv-gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }

/* ---- 1 photo: full width ---- */
.pxdlv-gallery[data-photos="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pxdlv-gallery[data-photos="1"] .pxdlv-gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }

.pxdlv-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);
}

.pxdlv-gallery-item:hover img { transform: scale(1.05); }

/* Overlay gradient on hover */
.pxdlv-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;
}

.pxdlv-gallery-item:hover::after { opacity: 1; }

/* "See all photos" button */
.pxdlv-gallery-more {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-full) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Urbanist', sans-serif !important;
    color: var(--pixidia-text) !important;
    -webkit-text-fill-color: var(--pixidia-text) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.25s ease !important;
    z-index: 5;
    line-height: 1 !important;
    height: auto !important;
}

.pxdlv-gallery-more:hover {
    background: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
    color: var(--pixidia-text) !important;
    -webkit-text-fill-color: var(--pixidia-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.pxdlv-gallery-more:focus,
.pxdlv-gallery-more:focus-visible {
    outline: none !important;
}

.pxdlv-gallery-more svg,
.pxdlv-gallery-more i { width: 14px; height: 14px; }

/* Google attribution badge */
.pxdlv-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;
}

.pxdlv-gallery-attribution img { height: 14px; width: auto; }

/* ============================================
   TITLE BAR (below gallery)
   ============================================ */

.pxdlv-title-bar {
    padding: 20px 28px 16px;
    background: white;
    border-bottom: 1px solid var(--pixidia-gray-100);
}

.pxdlv-title-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.pxdlv-title-left { flex: 1; }

.pxdlv-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-location-gradient);
    margin-bottom: 8px;
}

.pxdlv-type-badge svg,
.pxdlv-type-badge i { width: 13px; height: 13px; }

.pxdlv-title-name,
.pxdlv-title-bar h1.pxdlv-title-name {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--pixidia-text) !important;
    -webkit-text-fill-color: var(--pixidia-text) !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-family: 'Urbanist', sans-serif !important;
}

.pxdlv-title-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pixidia-text-muted);
}

.pxdlv-title-address svg,
.pxdlv-title-address i {
    width: 14px; height: 14px;
    color: var(--pxd-color-location);
    flex-shrink: 0;
}

/* Actions */
.pxdlv-title-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 4px;
}

.pxdlv-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;
}

.pxdlv-action-btn:hover {
    border-color: var(--pxd-color-location) !important;
    color: var(--pxd-color-location) !important;
    -webkit-text-fill-color: var(--pxd-color-location) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: translateY(-1px);
    background: white !important;
}

.pxdlv-action-btn--primary {
    background: var(--gradient-location) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border-color: transparent !important;
}

.pxdlv-action-btn--primary:hover {
    color: white !important;
    -webkit-text-fill-color: white !important;
    box-shadow: var(--shadow-glow-purple) !important;
    transform: translateY(-2px);
    background: var(--gradient-location) !important;
    border-color: transparent !important;
}

.pxdlv-action-btn:focus,
.pxdlv-action-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.pxdlv-action-btn svg,
.pxdlv-action-btn i { width: 15px; height: 15px; }

/* ============================================
   ICON BUTTONS (Edit / Delete)
   ============================================ */

.pxdlv-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;
}

.pxdlv-btn-icon:hover {
    background: var(--pixidia-gray-50, #f8f9fa) !important;
    color: var(--pixidia-text) !important;
    border-color: var(--pixidia-gray-300, #dee2e6) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: translateY(-1px);
}

.pxdlv-btn-icon:focus,
.pxdlv-btn-icon:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.pxdlv-btn-icon svg,
.pxdlv-btn-icon i { width: 18px; height: 18px; }

.pxdlv-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 */
.pxdlv-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, #9c27b0 25%, #ba68c8 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(156, 39, 176, 0.25);
}

.pxdlv-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: #9c27b0;
    pointer-events: none; opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease; z-index: 50;
}

.pxdlv-btn-icon[data-tooltip]:hover::after,
.pxdlv-btn-icon[data-tooltip]:hover::before {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ============================================
   META ROW (rating, dates, cost)
   ============================================ */

.pxdlv-meta-row {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.pxdlv-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; color: var(--pixidia-text-muted);
}

.pxdlv-meta-item svg,
.pxdlv-meta-item i { width: 15px; height: 15px; flex-shrink: 0; }

.pxdlv-meta-separator { color: var(--pixidia-gray-300); margin: 0 2px; }

.pxdlv-meta-divider { width: 1px; height: 20px; background: var(--pixidia-gray-200); }

/* Google rating */
.pxdlv-google-rating { display: flex; align-items: center; gap: 6px; }

.pxdlv-google-rating-score { font-size: 15px; font-weight: 700; color: var(--pixidia-text); }

.pxdlv-google-stars { display: flex; gap: 2px; }

.pxdlv-google-star { width: 16px; height: 16px; color: var(--google-star); fill: var(--google-star); }
.pxdlv-google-star--empty { color: var(--google-star-empty); fill: var(--google-star-empty); }
.pxdlv-google-star--half { color: var(--google-star); fill: var(--google-star); position: relative; }

.pxdlv-google-rating-count { font-size: 13px; color: var(--pixidia-text-muted); }

.pxdlv-google-rating-logo { height: 16px; width: auto; margin-left: 4px; opacity: 0.6; }

/* Cost / Price level highlight */
.pxdlv-meta-cost { font-weight: 700; color: var(--pxd-color-location); font-size: 16px; }
.pxdlv-meta-cost-label { font-size: 12px; color: var(--pixidia-text-muted); font-weight: 400; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) and (min-width: 769px) {
    .pxdlv-gallery { height: 320px; }
    .pxdlv-title-bar { padding: 18px 20px 14px; }
    .pxdlv-title-name,
    .pxdlv-title-bar h1.pxdlv-title-name { font-size: 22px !important; }
}

@media (max-width: 768px) {
    .pxdlv-gallery {
        height: 260px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .pxdlv-gallery-item:nth-child(n+3) { display: none; }
    .pxdlv-gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
    .pxdlv-gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }

    .pxdlv-gallery-more { padding: 6px 12px; font-size: 12px; bottom: 10px; right: 10px; }
    .pxdlv-gallery-attribution { padding: 4px 10px; font-size: 10px; bottom: 10px; left: 10px; }

    .pxdlv-title-bar { padding: 16px 16px 14px; }
    .pxdlv-title-top { flex-direction: column; gap: 12px; }

    .pxdlv-title-actions {
        width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap;
    }
    .pxdlv-title-actions::-webkit-scrollbar { display: none; }
    .pxdlv-action-btn { white-space: nowrap; flex-shrink: 0; }

    .pxdlv-title-name,
    .pxdlv-title-bar h1.pxdlv-title-name { font-size: 21px !important; }
    .pxdlv-title-address { font-size: 13px; }
    .pxdlv-meta-row { gap: 10px; flex-wrap: wrap; }
    .pxdlv-meta-divider { display: none; }
}

@media (max-width: 480px) {
    .pxdlv-gallery { height: 200px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .pxdlv-gallery-item:not(:first-child) { display: none; }
    .pxdlv-gallery-item:first-child { grid-column: 1; grid-row: 1; }

    .pxdlv-title-name,
    .pxdlv-title-bar h1.pxdlv-title-name { font-size: 18px !important; }
    .pxdlv-type-badge { font-size: 11px; padding: 3px 10px; }

    .pxdlv-action-btn span { display: none; }
    .pxdlv-action-btn { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
    .pxdlv-meta-item { font-size: 13px; }
    .pxdlv-google-rating-count { font-size: 11px; }
    .pxdlv-duration-pill { font-size: 11px; padding: 2px 8px; }
}

@media (max-width: 375px) {
    .pxdlv-gallery { height: 180px; }
    .pxdlv-title-bar { padding: 12px 12px 10px; }
    .pxdlv-title-name,
    .pxdlv-title-bar h1.pxdlv-title-name { font-size: 17px !important; }
}

@media (hover: hover) {
    .pxdlv-gallery-item:hover img { transform: scale(1.05); }
}

@media (hover: none) {
    .pxdlv-gallery-item::after { display: none; }
}
/**
 * 05-details.css - Reservation details, drivers, pricing, highlights
 * Adapted for location-vehicule CPT (purple theme)
 */

/* ============================================
   RESERVATION DETAILS CARD
   ============================================ */

.pxdlv-reservation-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pixidia-gray-100);
}

.pxdlv-reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pxdlv-reservation-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pxdlv-reservation-field--full {
    grid-column: 1 / -1;
}

.pxdlv-field-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pixidia-text-muted);
}

.pxdlv-field-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--pixidia-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pxdlv-field-value svg,
.pxdlv-field-value i {
    width: 16px; height: 16px;
    color: var(--pxd-color-location);
    flex-shrink: 0;
}

.pxdlv-field-value--highlight {
    color: var(--pxd-color-location);
    font-size: 18px;
    font-weight: 800;
}

/* Duration pill */
.pxdlv-duration-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: var(--radius-full);
    background: var(--pxd-color-location-alpha);
    color: var(--pxd-color-location);
    font-size: 12px; font-weight: 600; margin-left: 8px;
}

/* ============================================
   PICKUP / RETURN LOCATION INDICATOR
   ============================================ */

.pxdlv-location-flow {
    display: flex; gap: 0; margin-top: 8px;
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--pixidia-gray-100);
}

.pxdlv-location-flow-item {
    flex: 1; padding: 16px; background: white;
    display: flex; gap: 12px; align-items: flex-start;
}

.pxdlv-location-flow-item + .pxdlv-location-flow-item {
    border-left: 1px solid var(--pixidia-gray-100);
}

.pxdlv-location-flow-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--pxd-color-location);
    flex-shrink: 0; margin-top: 4px;
}

.pxdlv-location-flow-dot--return {
    background: var(--pxd-color-location-light);
}

.pxdlv-location-flow-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--pixidia-text-muted); margin-bottom: 4px;
}

.pxdlv-location-flow-address {
    font-size: 14px; font-weight: 600;
    color: var(--pixidia-text); line-height: 1.4;
}

.pxdlv-location-same-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: var(--radius-full);
    background: rgba(76, 175, 80, 0.1); color: #388e3c;
    font-size: 11px; font-weight: 600; margin-top: 6px;
}

.pxdlv-location-same-badge svg,
.pxdlv-location-same-badge i { width: 12px; height: 12px; }

/* ============================================
   ITINERARY LINK
   ============================================ */

.pxdlv-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;
}

.pxdlv-itinerary-link:hover {
    background: rgba(1, 40, 39, 0.06);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pxdlv-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;
}

.pxdlv-itinerary-link-icon svg,
.pxdlv-itinerary-link-icon i { width: 18px; height: 18px; color: white; }

.pxdlv-itinerary-link-info { flex: 1; }

.pxdlv-itinerary-link-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--pixidia-text-muted);
}

.pxdlv-itinerary-link-title {
    font-size: 15px; font-weight: 700;
    color: var(--pixidia-text); line-height: 1.3;
}

.pxdlv-itinerary-link-arrow {
    width: 20px; height: 20px;
    color: var(--pixidia-gray-400);
    transition: transform 0.2s ease;
}

.pxdlv-itinerary-link:hover .pxdlv-itinerary-link-arrow {
    transform: translateX(4px); color: var(--pixidia-text);
}

/* ============================================
   DRIVERS SECTION
   ============================================ */

.pxdlv-drivers-card {
    background: white; border-radius: var(--radius-lg);
    padding: 20px 24px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--pixidia-gray-100);
}

.pxdlv-driver-main {
    display: flex; align-items: center; gap: 14px; padding-bottom: 16px;
}

.pxdlv-driver-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--pxd-color-location-alpha);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.pxdlv-driver-avatar svg,
.pxdlv-driver-avatar i { width: 22px; height: 22px; color: var(--pxd-color-location); }

.pxdlv-driver-info { flex: 1; }

.pxdlv-driver-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--pixidia-text-muted);
}

.pxdlv-driver-name { font-size: 16px; font-weight: 700; color: var(--pixidia-text); }

.pxdlv-driver-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: var(--radius-full);
    background: var(--pxd-color-location-alpha);
    color: var(--pxd-color-location);
    font-size: 11px; font-weight: 600;
}

.pxdlv-drivers-additional {
    border-top: 1px solid var(--pixidia-gray-100); padding-top: 14px;
}

.pxdlv-drivers-additional-title {
    font-size: 12px; font-weight: 600; color: var(--pixidia-text-muted);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}

.pxdlv-driver-item {
    display: flex; align-items: center; gap: 10px; padding: 8px 0;
}

.pxdlv-driver-item + .pxdlv-driver-item {
    border-top: 1px solid var(--pixidia-gray-50);
}

.pxdlv-driver-item-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--pixidia-gray-50);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.pxdlv-driver-item-icon svg,
.pxdlv-driver-item-icon i { width: 16px; height: 16px; color: var(--pixidia-gray-400); }

.pxdlv-driver-item-name { font-size: 14px; font-weight: 500; color: var(--pixidia-text); }

/* ============================================
   PRICING SECTION
   ============================================ */

.pxdlv-pricing-card {
    background: white; border-radius: var(--radius-lg);
    padding: 20px 24px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--pixidia-gray-100);
}

.pxdlv-pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.pxdlv-pricing-total {
    display: flex; flex-direction: column; gap: 4px;
}

.pxdlv-pricing-amount {
    font-size: 28px; font-weight: 800;
    color: var(--pxd-color-location); line-height: 1;
}

.pxdlv-pricing-per-day {
    font-size: 13px; font-weight: 500; color: var(--pixidia-text-muted);
}

/* Payment status badges */
.pxdlv-payment-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 600;
}

.pxdlv-payment-badge svg,
.pxdlv-payment-badge i { width: 14px; height: 14px; }

.pxdlv-payment-badge--paid { background: rgba(76, 175, 80, 0.1); color: #388e3c; }
.pxdlv-payment-badge--partial { background: var(--pixidia-orange-alpha); color: #e67e22; }
.pxdlv-payment-badge--pending { background: var(--pixidia-gray-50); color: var(--pixidia-gray-500); }

.pxdlv-pricing-detail {
    display: flex; flex-direction: column; gap: 4px;
}

/* ============================================
   HIGHLIGHTS (key features)
   ============================================ */

.pxdlv-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pxdlv-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;
}

.pxdlv-highlight:hover {
    box-shadow: var(--shadow-md); transform: translateY(-2px);
}

.pxdlv-highlight-icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: var(--pxd-color-location-alpha);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.pxdlv-highlight-icon svg,
.pxdlv-highlight-icon i { width: 20px; height: 20px; color: var(--pxd-color-location); }

.pxdlv-highlight-content { flex: 1; }

.pxdlv-highlight-title { font-size: 14px; font-weight: 700; color: var(--pixidia-text); margin-bottom: 2px; }
.pxdlv-highlight-desc { font-size: 13px; color: var(--pixidia-text-muted); line-height: 1.4; }

/* ============================================
   DESCRIPTION
   ============================================ */

.pxdlv-description-text {
    padding: 20px 24px; background: var(--pixidia-gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--pxd-color-location);
    font-size: 14.5px; line-height: 1.8; color: var(--pixidia-text);
}

.pxdlv-description-text p { margin-bottom: 14px; }

.pxdlv-description-text p:first-child::first-letter {
    font-size: 1.6em; font-weight: 700; color: var(--pxd-color-location); line-height: 1;
}

.pxdlv-description-text p:last-child { margin-bottom: 0; }

.pxdlv-read-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    margin-top: 8px;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Urbanist', sans-serif !important;
    color: var(--pxd-color-location) !important;
    -webkit-text-fill-color: var(--pxd-color-location) !important;
    cursor: pointer !important;
    transition: gap 0.2s ease;
    min-height: auto !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    outline: none !important;
}

.pxdlv-read-more-btn:hover {
    gap: 8px;
    background: none !important;
    border: none !important;
}

.pxdlv-read-more-btn:focus,
.pxdlv-read-more-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.pxdlv-read-more-btn svg { width: 14px; height: 14px; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .pxdlv-highlights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pxdlv-reservation-grid { grid-template-columns: 1fr; }
    .pxdlv-pricing-grid { grid-template-columns: 1fr; }
    .pxdlv-reservation-card { padding: 18px; }
    .pxdlv-itinerary-link { padding: 12px 14px; }
    .pxdlv-description-text { padding: 16px 18px; font-size: 14px; }
    .pxdlv-highlight { padding: 14px; gap: 12px; }
    .pxdlv-highlight-icon { width: 38px; height: 38px; }
    .pxdlv-highlight-icon svg, .pxdlv-highlight-icon i { width: 18px; height: 18px; }

    .pxdlv-location-flow { flex-direction: column; }
    .pxdlv-location-flow-item + .pxdlv-location-flow-item { border-left: none; border-top: 1px solid var(--pixidia-gray-100); }
    .pxdlv-drivers-card { padding: 16px 18px; }
    .pxdlv-pricing-card { padding: 16px 18px; }
}

@media (max-width: 480px) {
    .pxdlv-reservation-card { padding: 14px; }
    .pxdlv-field-value { font-size: 14px; }
    .pxdlv-itinerary-link { gap: 10px; }
    .pxdlv-itinerary-link-icon { width: 36px; height: 36px; }
    .pxdlv-description-text { padding: 14px 16px; font-size: 13.5px; line-height: 1.7; }
    .pxdlv-highlight-title { font-size: 13px; }
    .pxdlv-highlight-desc { font-size: 12px; }
    .pxdlv-pricing-amount { font-size: 24px; }
    .pxdlv-driver-main { gap: 10px; }
    .pxdlv-driver-avatar { width: 38px; height: 38px; }
}

@media (max-width: 320px) {
    .pxdlv-pricing-amount { font-size: 20px; }
}
/**
 * 06-reviews.css - Google rating CTA + user notes (comment cards)
 * Adapted for location-vehicule CPT (purple theme)
 */

/* ============================================
   GOOGLE RATING CTA
   ============================================ */

.pxdlv-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);
}

.pxdlv-google-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Score circle (reuse conic gradient) */
.pxdlv-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;
}

.pxdlv-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);
}

.pxdlv-google-cta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pxdlv-reviews-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pxdlv-reviews-count-text {
    font-size: 14px;
    color: var(--pixidia-text-muted);
}

.pxdlv-reviews-count-text strong {
    color: var(--pixidia-text);
    font-weight: 700;
}

.pxdlv-google-cta-update {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--pixidia-gray-400);
    margin-top: 2px;
}

.pxdlv-google-cta-update svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* CTA Button */
.pxdlv-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;
}

.pxdlv-google-cta-btn:hover {
    border-color: #4285F4;
    color: #4285F4;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.15);
    transform: translateY(-2px);
}

.pxdlv-google-cta-btn svg {
    flex-shrink: 0;
}

.pxdlv-google-cta-btn svg:last-child {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.pxdlv-google-cta-btn:hover svg:last-child {
    opacity: 1;
}

/* ============================================
   SECTION — COMMENTS (Notes & descriptions)
   ============================================ */

/* Ensure section is always visible */
.pxdlv-section--comments {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override cursor (pas d'accordeon) */
.pxdlv-section--comments .pxdlv-section-header {
    cursor: default;
    user-select: auto;
}

/* Icon gradient */
.pxdlv-section-icon--comments {
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 100%);
}

/* Count badge */
.pxdlv-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 */
.pxdlv-section--comments .pxdlv-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, #9c27b0 25%, #ba68c8 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(156, 39, 176, 0.25) !important;
    flex-shrink: 0;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxdlv-section--comments .pxdlv-section-header-btn svg {
    width: 14px;
    height: 14px;
}

.pxdlv-section--comments .pxdlv-section-header-btn:hover {
    box-shadow: 0 6px 16px rgba(156, 39, 176, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxdlv-section--comments .pxdlv-section-header-btn:focus,
.pxdlv-section--comments .pxdlv-section-header-btn:focus-visible {
    outline: none !important;
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.25) !important;
    border: none !important;
}

/* Comments list */
.pxdlv-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   COMMENT CARD (glassmorphism - style itineraire v2)
   ============================================ */

.pxdlv-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: pxdlv-ccSlideIn 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s + 0.15s);
}

@keyframes pxdlv-ccSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.pxdlv-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 */
.pxdlv-cc-accent {
    position: absolute;
    top: 12px;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--pxd-color-location), #ba68c8);
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pxdlv-cc:hover .pxdlv-cc-accent {
    height: calc(100% - 24px);
}

/* Header */
.pxdlv-cc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pxdlv-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;
}

.pxdlv-cc:hover .pxdlv-cc-avatar img {
    transform: scale(1.05);
}

.pxdlv-cc-meta {
    flex: 1;
    min-width: 0;
}

.pxdlv-cc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--pxd-color-location);
    display: flex;
    align-items: center;
    line-height: 1.3;
}

/* Badge inside comment card name */
.pxdlv-cc-name .pixidia-badge {
    margin-left: 4px !important;
}

.pxdlv-cc-name .pixidia-badge-img {
    max-width: 16px !important;
    max-height: 16px !important;
}

/* Purple gradient tooltip — override badge plugin ::after */
.pxdlv-cc-name .pixidia-badge::after {
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 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(156, 39, 176, 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;
}

.pxdlv-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: #9c27b0 !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;
}

.pxdlv-cc-name .pixidia-badge:hover::after {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pxdlv-cc-name .pixidia-badge:hover::before {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Date with purple dot */
.pxdlv-cc-date {
    font-size: 12px;
    color: var(--pixidia-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.pxdlv-cc-date::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pxd-color-location);
    opacity: 0.5;
    flex-shrink: 0;
}

/* "Modifie le..." indicator */
.pxdlv-cc-updated {
    font-size: 11px;
    color: var(--pixidia-text-muted);
    font-style: italic;
    margin-top: 1px;
}

/* Edit/Delete actions */
.pxdlv-cc-actions {
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pxdlv-cc:hover .pxdlv-cc-actions {
    opacity: 1;
}

.pxdlv-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;
}

.pxdlv-cc-action-btn:focus,
.pxdlv-cc-action-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.pxdlv-cc-action-btn svg {
    width: 14px;
    height: 14px;
}

.pxdlv-cc-edit {
    background: rgba(156, 39, 176, 0.08) !important;
    color: var(--pxd-color-location) !important;
}

.pxdlv-cc-edit:hover {
    background: rgba(156, 39, 176, 0.18) !important;
    transform: translateY(-1px);
}

.pxdlv-cc-delete {
    background: rgba(220, 53, 69, 0.06) !important;
    color: #dc3545 !important;
}

.pxdlv-cc-delete:hover {
    background: rgba(220, 53, 69, 0.15) !important;
    transform: translateY(-1px);
}

/* Body & content */
.pxdlv-cc-body {
    position: relative;
}

.pxdlv-cc-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    overflow-wrap: break-word;
}

.pxdlv-cc-content p {
    margin-bottom: 10px;
}

.pxdlv-cc-content p:last-child {
    margin-bottom: 0;
}

/* Truncation: clamped state (4 lines) */
.pxdlv-cc-content--clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Expanded state */
.pxdlv-cc-content--expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Toggle button */
.pxdlv-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-location) !important;
    -webkit-text-fill-color: var(--pxd-color-location) !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;
}

.pxdlv-cc-toggle-btn:hover {
    color: #7b1fa2 !important;
    -webkit-text-fill-color: #7b1fa2 !important;
    background: none !important;
    border: none !important;
}

.pxdlv-cc-toggle-btn:focus,
.pxdlv-cc-toggle-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.pxdlv-cc-toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.pxdlv-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    text-align: center;
}

.pxdlv-empty-state svg {
    width: 44px;
    height: 44px;
    color: var(--pixidia-gray-300);
    opacity: 0.6;
}

.pxdlv-empty-state p {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Primary button (empty state CTA) */
.pxdlv-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 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(156, 39, 176, 0.25) !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxdlv-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(156, 39, 176, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxdlv-btn-primary:focus,
.pxdlv-btn-primary:focus-visible {
    outline: none !important;
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.25) !important;
    border: none !important;
}

.pxdlv-btn-primary svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   MODAL — Footer, Actions, Buttons
   (comment editor + confirm delete)
   ============================================ */

.pxdlv-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(1, 40, 39, 0.06);
}

.pxdlv-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Base modal button */
.pxdlv-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;
}

.pxdlv-modal-btn:focus,
.pxdlv-modal-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Cancel button */
.pxdlv-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;
}

.pxdlv-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 */
.pxdlv-modal-btn--save {
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 100%) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.25) !important;
}

.pxdlv-modal-btn--save:hover {
    box-shadow: 0 6px 16px rgba(156, 39, 176, 0.35) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #9c27b0 25%, #ba68c8 100%) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.pxdlv-modal-btn--save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Danger button (delete confirm) */
.pxdlv-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;
}

.pxdlv-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
   ============================================ */

.pxdlv-modal--confirm {
    max-width: 380px !important;
    text-align: center;
}

.pxdlv-modal--confirm .pxdlv-modal-body {
    padding: 32px 28px 24px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pxdlv-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.pxdlv-confirm-icon--danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.pxdlv-confirm-icon svg {
    width: 28px;
    height: 28px;
}

.pxdlv-confirm-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pxdlv-confirm-text {
    font-size: 14px;
    color: var(--pixidia-text-muted);
    line-height: 1.5;
    margin: 0;
}

.pxdlv-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* ============================================
   COMMENT EDITOR MODAL
   ============================================ */

.pxdlv-modal--comment-editor {
    max-width: 520px !important;
}

/* Textarea */
.pxdlv-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;
}

.pxdlv-comment-textarea:focus {
    border-color: var(--pxd-color-location) !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1) !important;
}

.pxdlv-comment-textarea::placeholder {
    color: var(--pixidia-text-muted) !important;
    opacity: 0.7;
}

/* Character count hint */
.pxdlv-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) {
    .pxdlv-google-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }

    .pxdlv-google-cta-btn {
        justify-content: center;
        width: 100%;
    }

    .pxdlv-reviews-score-circle {
        width: 60px;
        height: 60px;
    }

    .pxdlv-reviews-score-inner {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    /* Hide count badge on mobile */
    .pxdlv-section-count {
        display: none !important;
    }

    /* Add button icon-only mode on mobile */
    .pxdlv-section--comments .pxdlv-section-header-btn {
        padding: 10px !important;
        border-radius: 8px !important;
        width: 36px !important;
        height: 36px !important;
        justify-content: center !important;
        box-sizing: content-box;
    }

    .pxdlv-section--comments .pxdlv-section-header-btn span {
        display: none;
    }

    .pxdlv-section--comments .pxdlv-section-header-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Comment card: reduce glassmorphism on mobile */
    .pxdlv-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;
    }

    .pxdlv-cc-avatar img {
        width: 36px;
        height: 36px;
    }

    /* Always show actions on mobile (no hover) */
    .pxdlv-cc-actions {
        opacity: 1;
    }

    /* Modal bottom-sheet on mobile */
    .pxdlv-modal--comment-editor,
    .pxdlv-modal--confirm {
        max-width: 100% !important;
    }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxdlv-google-cta {
        padding: 16px;
        gap: 14px;
    }

    .pxdlv-google-cta-left {
        gap: 12px;
    }

    .pxdlv-reviews-score-circle {
        width: 52px;
        height: 52px;
    }

    .pxdlv-reviews-score-inner {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .pxdlv-reviews-count-text {
        font-size: 13px;
    }

    .pxdlv-google-cta-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .pxdlv-cc-content {
        font-size: 13px;
    }

    /* 3-line clamp on small mobile */
    .pxdlv-cc-content--clamped {
        -webkit-line-clamp: 3;
    }

    .pxdlv-confirm-actions {
        flex-direction: column;
    }
}
/**
 * 07-map.css - Map panel styles
 * Adapted for location-vehicule CPT (purple theme)
 */

/* ============================================
   MAP CONTAINER
   ============================================ */

.pxdlv-map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#pxdlv-map {
    width: 100%;
    height: 100%;
}

/* Map overlay info */
.pxdlv-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;
}

.pxdlv-map-overlay > * {
    pointer-events: auto;
}

/* Map info badge (name + type) */
.pxdlv-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);
}

.pxdlv-map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pxd-color-location);
    box-shadow: 0 0 0 3px var(--pxd-color-location-alpha);
}

.pxdlv-map-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--pixidia-text);
}

/* Map action buttons */
.pxdlv-map-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pxdlv-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);
}

.pxdlv-map-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pxdlv-map-btn svg,
.pxdlv-map-btn i {
    width: 16px;
    height: 16px;
}

/* Google Maps button — bottom-left of map */
.pxdlv-map-btn--gmaps {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 400;
}

/* Custom marker */
.pxdlv-marker-location {
    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,
.pxdlv-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,
.pxdlv-popup-wrapper .leaflet-popup-content {
    margin: 0 !important;
    width: 260px !important;
}

.leaflet-popup-tip-container {
    width: 40px !important;
    height: 20px !important;
    position: absolute !important;
    left: 50% !important;
    margin-left: -20px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.leaflet-popup-tip {
    width: 17px !important;
    height: 17px !important;
    padding: 1px !important;
    margin: -10px auto 0 !important;
    pointer-events: auto !important;
    transform: rotate(45deg) !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Rich popup */
.pxdlv-popup-rich {
    display: flex;
    flex-direction: column;
}

.pxdlv-popup-photo {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
}

.pxdlv-popup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pxdlv-popup-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pxdlv-popup-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pxd-color-location);
    background: var(--pxd-color-location-alpha);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.pxdlv-popup-rich .pxdlv-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--pixidia-text);
    line-height: 1.3;
}

.pxdlv-popup-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pxdlv-popup-score {
    font-size: 13px;
    font-weight: 700;
    color: var(--pixidia-text);
}

.pxdlv-popup-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.pxdlv-popup-star {
    width: 13px;
    height: 13px;
}

.pxdlv-popup-star--full { fill: #fbbc04; }
.pxdlv-popup-star--empty { fill: #e0e0e0; }

.pxdlv-popup-count {
    font-size: 11px;
    color: var(--pixidia-text-muted);
    margin-left: 2px;
}

.pxdlv-popup-rich .pxdlv-popup-address {
    font-size: 11.5px;
    color: var(--pixidia-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.4;
}

.pxdlv-popup-rich .pxdlv-popup-address svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pxdlv-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;
}

.pxdlv-popup-cta:hover {
    border-color: #4285F4;
    color: #4285F4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.pxdlv-popup-cta svg:last-child {
    opacity: 0.4;
    transition: opacity 0.2s;
}

.pxdlv-popup-cta:hover svg:last-child {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .pxdlv-map-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .pxdlv-map-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .pxdlv-map-badge-text {
        font-size: 12px;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pxdlv-map-btn {
        width: 34px;
        height: 34px;
    }

    /* Popup: narrower on mobile */
    .leaflet-popup-content,
    .pxdlv-popup-wrapper .leaflet-popup-content {
        width: 230px !important;
    }

    .pxdlv-popup-photo {
        height: 110px;
    }

    .pxdlv-popup-body {
        padding: 12px 14px 14px;
    }

    .pxdlv-popup-rich .pxdlv-popup-title {
        font-size: 14px;
    }

    /* Map close button for mobile panel */
    .pxdlv-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) */
.pxdlv-map-close-btn {
    display: none;
}
/**
 * 08-animations.css - Transitions & keyframe animations
 * Adapted for location-vehicule CPT (purple theme)
 */

/* ============================================
   FADE IN UP (sections)
   ============================================ */

@keyframes pxdlv-fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pxdlv-section {
    animation: pxdlv-fade-in-up 0.4s var(--ease-smooth) both;
}

.pxdlv-section:nth-child(1) { animation-delay: 0s; }
.pxdlv-section:nth-child(2) { animation-delay: 0.06s; }
.pxdlv-section:nth-child(3) { animation-delay: 0.12s; }
.pxdlv-section:nth-child(4) { animation-delay: 0.18s; }
.pxdlv-section:nth-child(5) { animation-delay: 0.24s; }
.pxdlv-section:nth-child(6) { animation-delay: 0.30s; }

/* ============================================
   GALLERY IMAGE ZOOM
   ============================================ */

@keyframes pxdlv-gallery-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.pxdlv-gallery-item img {
    animation: pxdlv-gallery-zoom 0.8s var(--ease-smooth);
}

/* ============================================
   MARKER BOUNCE
   ============================================ */

@keyframes pxdlv-marker-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-14px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-7px); }
}

.pxdlv-marker-bouncing {
    animation: pxdlv-marker-bounce 0.6s var(--ease-bounce);
}

/* ============================================
   PULSE (Google rating circle)
   ============================================ */

@keyframes pxdlv-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); }
}

.pxdlv-reviews-score-circle {
    animation: pxdlv-score-pulse 3s ease-in-out infinite;
}

/* ============================================
   SKELETON LOADING
   ============================================ */

@keyframes pxdlv-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.pxdlv-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: pxdlv-shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ============================================
   TRANSITIONS
   ============================================ */

.pxdlv-highlight {
    transition:
        box-shadow var(--duration-normal) var(--ease-smooth),
        transform var(--duration-normal) var(--ease-smooth),
        border-color var(--duration-normal) var(--ease-smooth);
}

.pxdlv-action-btn {
    transition:
        all var(--duration-normal) var(--ease-smooth);
}

/* ============================================
   MODAL OVERLAY + CONTAINER
   Override BuddyX: bg, borders, button, input
   ============================================ */

.pxdlv-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;
}

.pxdlv-modal-overlay.open {
    display: grid;
    animation: pxdlv-modalFadeIn 0.25s ease;
}

@keyframes pxdlv-modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pxdlv-modal-overlay .pxdlv-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: pxdlv-modalSlideUp 0.3s ease;
    overflow: hidden;
}

@keyframes pxdlv-modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pxdlv-modal-overlay .pxdlv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(1, 40, 39, 0.06);
}

.pxdlv-modal-overlay .pxdlv-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pxdlv-modal-overlay .pxdlv-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, #9c27b0 25%, #ba68c8 100%);
}

.pxdlv-modal-overlay .pxdlv-modal-header-icon svg {
    width: 18px;
    height: 18px;
}

.pxdlv-modal-overlay .pxdlv-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;
}

.pxdlv-modal-overlay .pxdlv-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;
}

.pxdlv-modal-overlay .pxdlv-modal-close:hover {
    background: rgba(1, 40, 39, 0.1);
    color: var(--pixidia-text, #0A3D3A);
}

.pxdlv-modal-overlay .pxdlv-modal-close svg {
    width: 16px;
    height: 16px;
}

.pxdlv-modal-overlay .pxdlv-modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

/* --- Share Modal Content --- */

.pxdlv-modal-overlay .pxdlv-share-link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pxdlv-modal-overlay .pxdlv-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;
}

.pxdlv-modal-overlay .pxdlv-share-link-input:focus {
    border-color: var(--pxd-color-location, #9c27b0);
}

.pxdlv-modal-overlay .pxdlv-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;
}

.pxdlv-modal-overlay .pxdlv-share-copy-btn:hover {
    background: var(--pixidia-primary-dark, #072e2c);
}

.pxdlv-modal-overlay .pxdlv-share-copy-btn:active {
    transform: scale(0.97);
}

.pxdlv-modal-overlay .pxdlv-share-copy-btn--copied {
    background: var(--pxd-color-location, #9c27b0);
}

.pxdlv-modal-overlay .pxdlv-share-copy-btn svg {
    width: 16px;
    height: 16px;
}

.pxdlv-modal-overlay .pxdlv-share-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pixidia-gray-500, #6b8585);
    margin: 0 0 12px;
    padding: 0;
}

.pxdlv-modal-overlay .pxdlv-share-socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pxdlv-modal-overlay .pxdlv-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;
}

.pxdlv-modal-overlay .pxdlv-share-social-btn:hover {
    border-color: var(--pixidia-gray-300, #b8c5c5);
    background: var(--pixidia-gray-50, #f5f8f8);
}

.pxdlv-modal-overlay .pxdlv-share-social-btn:active {
    transform: scale(0.96);
}

.pxdlv-modal-overlay .pxdlv-share-social-btn svg {
    width: 22px;
    height: 22px;
}

.pxdlv-modal-overlay .pxdlv-share-social-btn--whatsapp svg { color: #25D366; }
.pxdlv-modal-overlay .pxdlv-share-social-btn--facebook svg { color: #1877F2; }
.pxdlv-modal-overlay .pxdlv-share-social-btn--twitter svg  { color: #000; }
.pxdlv-modal-overlay .pxdlv-share-social-btn--email svg    { color: var(--pixidia-primary, #0A3D3A); }

/* ============================================
   MOBILE PERFORMANCE: reduce blur and shadow
   ============================================ */

@media (max-width: 768px) {
    .pxdlv-map-badge,
    .pxdlv-map-btn {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Disable hover transforms on touch */
    .pxdlv-highlight:hover {
        transform: none;
    }

    .pxdlv-cc:hover {
        transform: none;
    }

    /* Modal bottom-sheet on mobile */
    .pxdlv-modal-overlay {
        align-items: flex-end;
    }

    .pxdlv-modal-overlay .pxdlv-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        margin: 0;
        animation: pxdlv-modal-slide-up 300ms var(--ease-smooth);
    }

    .pxdlv-modal-overlay .pxdlv-modal::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        border-radius: 2px;
        background: var(--pixidia-gray-300, #b8c5c5);
        margin: 8px auto 4px;
    }

    .pxdlv-modal-overlay .pxdlv-modal-body {
        padding: 16px;
    }

    @keyframes pxdlv-modal-slide-up {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .pxdlv-modal--comment-editor,
    .pxdlv-modal--confirm {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pxdlv-modal-overlay .pxdlv-share-socials {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pxdlv-modal-overlay .pxdlv-share-social-btn {
        min-height: 72px;
        padding: 16px 8px;
    }

    .pxdlv-modal-overlay .pxdlv-share-link-row {
        flex-direction: column;
        gap: 8px;
    }

    .pxdlv-modal-overlay .pxdlv-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;
    }
}

/* Notes/reviews — listes/surlignage/emphase (Leo 2026-07-21, meme correctif que pixidia-itinerary-single) */
.pxd-cc-content ul {
  list-style: disc !important;
  padding-left: 1.4em !important;
  margin: 0.5em 0 !important;
}
.pxd-cc-content ol {
  list-style: decimal !important;
  padding-left: 1.4em !important;
  margin: 0.5em 0 !important;
}
.pxd-cc-content li {
  margin-bottom: 0.4em;
}
.pxd-cc-content li:last-child {
  margin-bottom: 0;
}
.pxd-cc-content mark {
  background-color: rgba(245, 158, 11, 0.25);
  color: var(--pixidia-text);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}
.pxd-cc-content strong {
  color: var(--pixidia-blue);
  font-weight: 700;
}
.pxd-cc-content em {
  color: var(--pixidia-green);
  font-style: italic;
}


/* ============================================
   FICHE ELEMENT : MISE EN PAGE (audit esthetique 2, 12/11/2026, D21 D22 D23)
   ============================================ */

/* D23 : le titre garde toute la largeur du panneau, les actions passent sur
   leur propre ligne (avant : rangee unique, le titre etait ecrase a ~270 px). */
.pxdlv-title-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.pxdlv-title-left {
    flex: 0 1 auto;
    min-width: 0;
}

.pxdlv-title-actions {
    flex-wrap: wrap;
    margin-top: 0;
}

/* D21 : les icones ne rétrécissent jamais dans le flex du bouton. */
.pxdlv-action-btn svg,
.pxdlv-action-btn i {
    flex-shrink: 0;
}

/* D21 : en petit mobile le bouton devient un rond de 38 px. Le padding de base
   est en !important : le `padding: 0` non important de la media query perdait,
   ne laissant que 6 px de contenu et ecrasant l icone a 4 px (la corbeille,
   .pxd-btn-icon, avait deja son padding en !important). */
@media (max-width: 480px) {
    .pxdlv-action-btn {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        gap: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0;
    }

}

/* D22 : sans coordonnees, la carte est masquee (map.js) et la colonne de
   droite disparait : le contenu prend toute la largeur. */
.pxd-page.pxd-page--sans-carte {
    grid-template-columns: minmax(0, 1fr);
}

/* D22 : largeur de lecture bornee quand le contenu occupe toute la page. */
.pxd-page.pxd-page--sans-carte .pxd-panel-left > .pxd-content {
    max-width: 1100px;
    margin-inline: auto;
}
