/**
 * 00-tokens.css - Pixidia Design System Tokens (Transport)
 * Shared design tokens adapted for transport mockup
 */

: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-transport-light: #42a5f5;
    --pxd-color-transport-alpha: rgba(25, 118, 210, 0.1);
    --pxd-color-transport-gradient: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    --pxd-color-transport-dark: #0d47a1;
    --pxd-color-restauration: #d32f2f;
    --pxd-color-activite: #ff9800;
    --pxd-color-location: #9c27b0;

    /* === Neutrals === */
    --pixidia-white: #ffffff;
    --pixidia-off-white: #f8fafa;
    --pixidia-bg: #f0f4f4;
    --pixidia-gray-50: #f5f7f7;
    --pixidia-gray-100: #eef2f2;
    --pixidia-gray-200: #dce4e4;
    --pixidia-gray-300: #b8c5c5;
    --pixidia-gray-400: #8a9c9c;
    --pixidia-gray-500: #5d7070;
    --pixidia-text: #1a2e2e;
    --pixidia-text-muted: rgba(1, 40, 39, 0.55);
    --pixidia-text-light: rgba(1, 40, 39, 0.4);

    /* === 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);

    /* === CO2 Colors === */
    --co2-green: #4caf50;
    --co2-green-alpha: rgba(76, 175, 80, 0.1);
    --co2-orange: #ff9800;
    --co2-orange-alpha: rgba(255, 152, 0, 0.1);
    --co2-red: #f44336;
    --co2-red-alpha: rgba(244, 67, 54, 0.1);

    /* === 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-transport: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    --gradient-transport-hero: linear-gradient(135deg, #1976d2 0%, #0d47a1 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-blue: 0 0 24px rgba(25, 118, 210, 0.25);

    /* === 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 (transport single) === */
    --pxd-header-height: 60px;
    --pxd-map-width: 38%;
    --pxd-content-width: 62%;
}
/**
 * 01-reset.css - Reset & Base Styles
 * Scoped to .single-transport to override BuddyX theme conflicts
 */

/* --- Global box-sizing (safe) --- */
.single-transport .pxd-page *,
.single-transport .pxd-page *::before,
.single-transport .pxd-page *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- Body base on transport pages --- */
body.single-transport {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--pixidia-bg);
    color: var(--pixidia-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- BuddyX theme overrides --- */

/* Override BuddyX content container max-width */
body.single-transport .site,
body.single-transport .site-content,
body.single-transport #content,
body.single-transport #primary,
body.single-transport .entry-content,
body.single-transport .entry-content > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

/* Override BuddyX heading styles */
.single-transport .pxd-page h1,
.single-transport .pxd-page h2,
.single-transport .pxd-page h3,
.single-transport .pxd-page h4,
.single-transport .pxd-page h5,
.single-transport .pxd-page h6 {
    margin: 0;
    padding: 0;
    clear: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--pixidia-text);
    line-height: 1.3;
}

/* Override BuddyX link colors */
.single-transport .pxd-page a {
    color: inherit;
    text-decoration: none;
}

.single-transport .pxd-site-header a {
    color: inherit;
    text-decoration: none;
}

.single-transport .pxd-site-header a:hover,
.single-transport .pxd-site-header a:focus,
.single-transport .pxd-site-header a:active {
    color: inherit;
    text-decoration: none;
}

/* Override BuddyX list margins */
.single-transport .pxd-page ul,
.single-transport .pxd-page ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-transport .pxd-page li {
    margin: 0;
    padding: 0;
}

/* Override BuddyX image styles */
.single-transport .pxd-page img {
    max-width: 100%;
    height: auto;
}

/* Override BuddyX paragraph margins */
.single-transport .pxd-page p {
    margin: 0;
}

/* Override BuddyX button styles */
.single-transport .pxd-page button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* Override BuddyX input styles inside our page */
.single-transport .pxd-page input,
.single-transport .pxd-page textarea {
    font-family: inherit;
}

/* Hide BuddyX site-header on transport pages (we use our own) */
body.single-transport .site-header-wrapper,
body.single-transport #masthead,
body.single-transport .site-header,
body.single-transport .site-sub-header,
body.single-transport .buddyx-mobile-header,
body.single-transport .site-footer,
body.single-transport #colophon,
body.single-transport .entry-header,
body.single-transport .buddypress-wrap,
body.single-transport .post-navigation,
body.single-transport .entry-footer,
body.single-transport .comments-area,
body.single-transport aside#secondary {
    display: none !important;
}

/* Override BuddyX content area wrapper */
body.single-transport .site-content-area {
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Ensure our header z-index beats BuddyX */
body.single-transport .pxd-site-header {
    z-index: 1000;
}

/* Admin bar offset */
.admin-bar .pxd-page .pxd-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .pxd-page .pxd-site-header {
        top: 46px;
    }
}
/**
 * 02-layout.css - Split-view layout for Transport single page
 * CSS Grid: left panel (62% scrollable content) + right panel (38% sticky map)
 */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
    .pxd-page {
        display: block;
        height: auto;
        overflow: visible;
        overflow-x: hidden;
    }

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

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

    .pxd-panel-right {
        grid-column: 1;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        z-index: 600;
        transition: height 400ms cubic-bezier(0.4, 0, 0.2, 1);
    }

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

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

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

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

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

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

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

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

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

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

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

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

/* === Modal Overlays (scoped to .single-transport, with !important to beat restaurant) === */
.single-transport .pxd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 40, 39, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20000;
    display: none;
    place-items: center;
}

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

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

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

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

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

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

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

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

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

.single-transport .pxd-confirm-icon svg,
.single-transport .pxd-confirm-icon i {
    width: 28px;
    height: 28px;
}

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

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

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

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

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

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

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

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

.single-transport .pxd-modal-btn--danger svg,
.single-transport .pxd-modal-btn--danger i {
    width: 15px;
    height: 15px;
}

/* Mobile: bottom sheet */
@media (max-width: 768px) {
    .single-transport .pxd-modal-overlay {
        align-items: flex-end;
    }

    .single-transport .pxd-modal-overlay .pxd-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        margin: 0;
    }

    .single-transport .pxd-modal--confirm {
        max-width: 100% !important;
    }
}

/* === Share modal header === */
.single-transport .pxd-modal-overlay .pxd-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: transparent !important;
}

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

.single-transport .pxd-modal-overlay .pxd-modal-header-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: var(--pxd-color-transport-alpha, rgba(25, 118, 210, 0.1)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-transport .pxd-modal-overlay .pxd-modal-header-icon svg,
.single-transport .pxd-modal-overlay .pxd-modal-header-icon i {
    width: 18px !important;
    height: 18px !important;
    color: var(--pxd-color-transport, #1976d2) !important;
}

.single-transport .pxd-modal-overlay .pxd-modal-header h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--pixidia-text, #0A3D3A) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-transport .pxd-modal-overlay .pxd-modal-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: var(--pixidia-text-muted) !important;
    transition: background 0.2s ease !important;
}

.single-transport .pxd-modal-overlay .pxd-modal-close:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}

.single-transport .pxd-modal-overlay .pxd-modal-close svg,
.single-transport .pxd-modal-overlay .pxd-modal-close i {
    width: 16px !important;
    height: 16px !important;
}

/* === Share link row === */
.single-transport .pxd-modal-overlay .pxd-share-link-row {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
}

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

.single-transport .pxd-modal-overlay .pxd-share-link-input:focus {
    border-color: var(--pxd-color-transport, #1976d2) !important;
}

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

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

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

.single-transport .pxd-modal-overlay .pxd-share-copy-btn--copied {
    background: var(--pxd-color-transport, #1976d2) !important;
}

.single-transport .pxd-modal-overlay .pxd-share-copy-btn svg,
.single-transport .pxd-modal-overlay .pxd-share-copy-btn i {
    width: 16px !important;
    height: 16px !important;
}

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

/* === Social buttons grid === */
.single-transport .pxd-modal-overlay .pxd-share-socials {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
}

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

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

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

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

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

/* Comment editor modal */
.pxd-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pxd-editor-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pxd-editor-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--pixidia-text-muted);
    padding: 4px;
}

.pxd-editor-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid var(--pixidia-gray-200, #dce4e4);
    border-radius: var(--radius-sm, 8px);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.pxd-editor-count {
    font-size: 12px;
    color: var(--pixidia-text-light);
    margin-top: 4px;
}

.pxd-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.pxd-editor-btn {
    padding: 8px 18px;
    border-radius: var(--radius-sm, 8px);
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pxd-editor-btn--cancel {
    background: var(--pixidia-gray-100, #eef2f2);
    color: var(--pixidia-text, #1a2e2e);
}

.pxd-editor-btn--primary {
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === Share modal mobile (<=480px) === */
@media (max-width: 480px) {
    .single-transport .pxd-modal-overlay .pxd-share-socials {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.pxd-header-btn-new:hover,
.pxd-header-btn-new:focus,
.pxd-header-btn-new:active {
    background: rgba(255, 255, 255, 0.7);
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

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

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

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

.pxd-header-btn-offers:hover,
.pxd-header-btn-offers:focus,
.pxd-header-btn-offers:active {
    background: rgba(255, 255, 255, 0.65);
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

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

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

.pxd-header-login-pill:hover,
.pxd-header-login-pill:focus,
.pxd-header-login-pill:active {
    background: rgba(255, 255, 255, 0.7);
    color: var(--pixidia-blue) !important;
    -webkit-text-fill-color: var(--pixidia-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .pxd-header-drawer-nav-item--highlight svg {
        color: var(--pixidia-green);
        stroke: var(--pixidia-green);
    }
}
/**
 * 04-hero.css - Journey Hero Banner (replaces photo gallery)
 * Blue gradient with transport mode icon + departure/arrival info
 */

/* ============================================
   JOURNEY HERO BANNER
   ============================================ */

.pxd-journey-hero {
    position: relative;
    background: var(--gradient-transport-hero);
    padding: 40px 36px 36px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background decoration */
.pxd-journey-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.pxd-journey-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Route visualization: Departure → Arrival */
.pxd-journey-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

/* City endpoint */
.pxd-journey-city {
    text-align: center;
    flex: 1;
    max-width: 240px;
}

.pxd-journey-city--depart {
    text-align: right;
}

.pxd-journey-city--arrivee {
    text-align: left;
}

.pxd-journey-code {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.pxd-journey-code--long {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.pxd-journey-city-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

.pxd-journey-datetime {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Arrow connector with transport icon */
.pxd-journey-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
    min-width: 100px;
}

.pxd-journey-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pxd-journey-icon svg,
.pxd-journey-icon i {
    width: 24px;
    height: 24px;
}

/* Animated dashed line */
.pxd-journey-line {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    height: 2px;
    z-index: -1;
}

.pxd-journey-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.4) 0px,
        rgba(255, 255, 255, 0.4) 8px,
        transparent 8px,
        transparent 14px
    );
    animation: pxd-dash-flow 12s linear infinite;
}

@keyframes pxd-dash-flow {
    from { transform: translateX(0); }
    to { transform: translateX(14px); }
}

.pxd-journey-duration-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Info pills row */
.pxd-journey-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pxd-journey-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.pxd-journey-pill svg,
.pxd-journey-pill i {
    width: 13px;
    height: 13px;
    opacity: 0.7;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.single-transport .pxd-action-btn--danger {
    border-color: var(--pixidia-red) !important;
    color: var(--pixidia-red) !important;
    -webkit-text-fill-color: var(--pixidia-red) !important;
    background: white !important;
}

.single-transport .pxd-action-btn--danger:hover {
    background: var(--pixidia-red) !important;
    color: white !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: var(--pixidia-red) !important;
}

.single-transport .pxd-action-btn svg,
.single-transport .pxd-action-btn i {
    width: 15px;
    height: 15px;
}

/* ============================================
   META ROW (duration, distance, travelers)
   ============================================ */

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

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

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

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

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

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

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

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

@media (max-width: 1200px) and (min-width: 769px) {
    .pxd-journey-hero {
        padding: 32px 24px 28px;
        min-height: 200px;
    }

    .pxd-journey-code {
        font-size: 1.8rem;
    }

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

    .pxd-title-bar h1.pxd-title-name {
        font-size: 1.4rem;
    }
}

/* --- Mobile (<768px) --- */
@media (max-width: 768px) {
    .pxd-journey-hero {
        padding: 28px 20px 24px;
        min-height: 180px;
    }

    .pxd-journey-route {
        flex-direction: column;
        gap: 12px;
    }

    .pxd-journey-city {
        text-align: center !important;
    }

    .pxd-journey-code {
        font-size: 1.6rem;
    }

    .pxd-journey-connector {
        flex-direction: row;
        min-width: auto;
    }

    .pxd-journey-line {
        display: none;
    }

    .pxd-journey-icon {
        width: 44px;
        height: 44px;
    }

    .pxd-journey-icon svg,
    .pxd-journey-icon i {
        width: 20px;
        height: 20px;
    }

    .pxd-journey-pills {
        gap: 6px;
    }

    .pxd-journey-pill {
        padding: 4px 10px;
        font-size: 11px;
    }

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

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

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

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

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

    .pxd-title-bar h1.pxd-title-name {
        font-size: 1.3rem;
    }

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

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

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

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-journey-hero {
        padding: 22px 16px 20px;
        min-height: 160px;
    }

    .pxd-journey-code {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .pxd-journey-city-name {
        font-size: 12px;
    }

    .pxd-title-bar h1.pxd-title-name {
        font-size: 1.15rem;
    }

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

    .single-transport .pxd-action-btn span {
        display: none !important;
    }

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

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

/* --- Tiny mobile (<=375px) --- */
@media (max-width: 375px) {
    .pxd-journey-hero {
        padding: 18px 12px 16px;
    }

    .pxd-journey-code {
        font-size: 1.2rem;
    }

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

    .pxd-title-bar h1.pxd-title-name {
        font-size: 1.05rem;
    }
}
/**
 * 05-details.css - Timeline, Route Insights, Pricing, Itinerary link
 * Transport-specific content sections
 */

/* ============================================
   JOURNEY TIMELINE
   ============================================ */

.pxd-timeline {
    position: relative;
    padding-left: 28px;
}

/* Vertical line */
.pxd-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 10px;
    bottom: 8px;
    width: 2px;
    background: var(--pxd-color-transport);
    border-radius: 2px;
}

.pxd-timeline--retour::before {
    background: var(--pxd-color-transport-light);
    opacity: 0.6;
    border-style: dashed;
}

/* Timeline node (dot) */
.pxd-timeline-node {
    position: relative;
    padding: 16px 0;
}

.pxd-timeline-node:first-child {
    padding-top: 0;
}

.pxd-timeline-node:last-child {
    padding-bottom: 0;
}

/* Dot on the line */
.pxd-timeline-dot {
    position: absolute;
    left: -24px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--pxd-color-transport);
    z-index: 2;
}

.pxd-timeline-node:first-child .pxd-timeline-dot {
    top: 4px;
}

.pxd-timeline-node:last-child .pxd-timeline-dot {
    top: auto;
    bottom: 4px;
}

.pxd-timeline-dot--filled {
    background: var(--pxd-color-transport);
}

.pxd-timeline-dot--stopover {
    width: 10px;
    height: 10px;
    left: -22px;
    border-width: 2px;
    border-color: var(--pxd-color-transport-light);
}

/* Node content card */
.pxd-timeline-card {
    background: white;
    border: 1px solid var(--pixidia-gray-100);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.pxd-timeline-card:hover {
    border-color: var(--pxd-color-transport-alpha);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.pxd-timeline-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pxd-timeline-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: white;
    background: var(--pxd-color-transport);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.pxd-timeline-label--stopover {
    background: var(--pxd-color-transport-alpha);
    color: var(--pxd-color-transport);
}

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

.pxd-timeline-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.pxd-timeline-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pixidia-text-muted);
}

.pxd-timeline-detail svg,
.pxd-timeline-detail i {
    width: 14px;
    height: 14px;
    color: var(--pxd-color-transport);
    flex-shrink: 0;
}

.pxd-timeline-detail strong {
    color: var(--pixidia-text);
    font-weight: 600;
}

/* Segment connector between nodes */
.pxd-timeline-segment {
    position: relative;
    padding: 12px 0;
    margin-left: -4px;
}

.pxd-timeline-segment-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--pxd-color-transport-alpha);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(25, 118, 210, 0.2);
}

.pxd-timeline-segment-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

.pxd-timeline-segment-icon svg,
.pxd-timeline-segment-icon i {
    width: 14px;
    height: 14px;
    color: var(--pxd-color-transport);
}

.pxd-timeline-segment-info {
    font-size: 12.5px;
    color: var(--pixidia-text-muted);
    line-height: 1.4;
}

.pxd-timeline-segment-info strong {
    color: var(--pixidia-text);
    font-weight: 600;
}

/* Retour section separator */
.pxd-timeline-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
}

.pxd-timeline-separator-line {
    flex: 1;
    height: 1px;
    background: var(--pixidia-gray-200);
}

.pxd-timeline-separator-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pixidia-text-muted);
    white-space: nowrap;
}

/* ============================================
   ROUTE INSIGHTS
   ============================================ */

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

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

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

.pxd-insight-card--full {
    grid-column: 1 / -1;
}

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

.pxd-insight-icon--blue {
    background: var(--pxd-color-transport-alpha);
}

.pxd-insight-icon--green {
    background: var(--co2-green-alpha);
}

.pxd-insight-icon--orange {
    background: var(--pixidia-orange-alpha);
}

.pxd-insight-icon svg,
.pxd-insight-icon i {
    width: 20px;
    height: 20px;
}

.pxd-insight-icon--blue svg,
.pxd-insight-icon--blue i { color: var(--pxd-color-transport); }
.pxd-insight-icon--green svg,
.pxd-insight-icon--green i { color: var(--co2-green); }
.pxd-insight-icon--orange svg,
.pxd-insight-icon--orange i { color: var(--pixidia-orange); }

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

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

.pxd-insight-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--pixidia-text);
    line-height: 1.2;
}

.pxd-insight-value--small {
    font-size: 16px;
}

.pxd-insight-sub {
    font-size: 12px;
    color: var(--pixidia-text-muted);
    margin-top: 2px;
}

/* CO2 indicator bar */
.pxd-co2-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.pxd-co2-bar-track {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--pixidia-gray-100);
    overflow: hidden;
}

.pxd-co2-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.pxd-co2-bar-fill--green { background: var(--co2-green); }
.pxd-co2-bar-fill--orange { background: var(--co2-orange); }
.pxd-co2-bar-fill--red { background: var(--co2-red); }

.pxd-co2-bar-label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pxd-co2-bar-label--green { color: var(--co2-green); }
.pxd-co2-bar-label--orange { color: var(--co2-orange); }
.pxd-co2-bar-label--red { color: var(--co2-red); }

/* Duration comparison bar */
.pxd-duration-compare {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.pxd-duration-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pxd-duration-bar-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--pixidia-text-muted);
    width: 70px;
    flex-shrink: 0;
}

.pxd-duration-bar-track {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--pixidia-gray-100);
    overflow: hidden;
}

.pxd-duration-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.pxd-duration-bar-fill--user {
    background: var(--pxd-color-transport);
}

.pxd-duration-bar-fill--google {
    background: var(--pxd-color-transport-light);
    opacity: 0.7;
}

.pxd-duration-bar-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--pixidia-text);
    white-space: nowrap;
    min-width: 55px;
}

/* ============================================
   PRICING SECTION
   ============================================ */

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

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

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

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

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

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

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

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

/* Separate pricing cards */
.pxd-pricing-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pxd-pricing-split-card {
    background: var(--pixidia-gray-50);
    border: 1px solid var(--pixidia-gray-100);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

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

.pxd-pricing-split-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--pxd-color-transport);
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 1024px) {
    .pxd-insights-grid { grid-template-columns: 1fr; }
    .pxd-insight-card--full { grid-column: 1; }
}

@media (max-width: 768px) {
    .pxd-timeline {
        padding-left: 24px;
    }

    .pxd-timeline-card {
        padding: 14px 16px;
    }

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

    .pxd-pricing-grid { grid-template-columns: 1fr; }
    .pxd-pricing-split { grid-template-columns: 1fr 1fr; }

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

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

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

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

    .pxd-insight-value {
        font-size: 18px;
    }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-timeline {
        padding-left: 20px;
    }

    .pxd-timeline::before {
        left: 8px;
    }

    .pxd-timeline-dot {
        left: -18px;
        width: 12px;
        height: 12px;
    }

    .pxd-timeline-dot--stopover {
        width: 8px;
        height: 8px;
        left: -16px;
    }

    .pxd-timeline-card {
        padding: 12px 14px;
    }

    .pxd-timeline-place {
        font-size: 14px;
    }

    .pxd-timeline-detail {
        font-size: 12px;
    }

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

    .pxd-pricing-split {
        grid-template-columns: 1fr;
    }

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

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

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

/* --- Extreme small (<=320px) --- */
@media (max-width: 320px) {
    .pxd-timeline {
        padding-left: 16px;
    }

    .pxd-timeline::before {
        left: 6px;
    }
}
/**
 * 06-reviews.css - Comment cards, empty state, modals (transport blue)
 * Aligned with pixidia-restaurant-single pattern
 */

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

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

/* Icon gradient (transport blue) */
.pxd-section-icon--comments {
    background: linear-gradient(135deg, #1976d2 25%, #42a5f5 100%);
}

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

/* Bouton Ajouter (transport blue) */
.pxd-section--comments .pxd-section-header-btn {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 14px !important;
    margin-left: auto !important;
    background: var(--pxd-color-transport-gradient) !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(25, 118, 210, 0.25) !important;
    flex-shrink: 0;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

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

.pxd-section--comments .pxd-section-header-btn:hover {
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.35) !important;
    transform: translateY(-1px);
    background: var(--pxd-color-transport-gradient) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

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

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

/* ============================================
   COMMENT CARD (glassmorphism)
   ============================================ */

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

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

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

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

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

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

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

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

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

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

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

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

/* Blue gradient tooltip — override badge plugin ::after */
.pxd-cc-name .pixidia-badge::after {
    background: var(--pxd-color-transport-gradient) !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(25, 118, 210, 0.25) !important;
    bottom: calc(100% + 8px) !important;
    transform: translateX(-50%) translateY(4px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

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

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

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

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

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

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

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

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

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

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

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

.pxd-cc-edit {
    background: rgba(25, 118, 210, 0.08) !important;
    color: var(--pxd-color-transport) !important;
}

.pxd-cc-edit:hover {
    background: rgba(25, 118, 210, 0.18) !important;
    transform: translateY(-1px);
}

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

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

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

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

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

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

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

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

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

.pxd-cc-toggle-btn:hover {
    color: var(--pxd-color-transport-dark) !important;
    -webkit-text-fill-color: var(--pxd-color-transport-dark) !important;
    background: none !important;
    border: none !important;
}

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

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

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

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

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

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

/* Primary button (empty state CTA - transport blue) */
.pxd-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    background: var(--pxd-color-transport-gradient) !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(25, 118, 210, 0.25) !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    outline: none !important;
}

.pxd-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.35) !important;
    transform: translateY(-1px);
    background: var(--pxd-color-transport-gradient) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

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

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

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

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

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

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

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

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

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

/* Save button (transport blue) */
.pxd-modal-btn--save {
    background: var(--pxd-color-transport-gradient) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(25, 118, 210, 0.25) !important;
}

.pxd-modal-btn--save:hover {
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.35) !important;
    transform: translateY(-1px);
    background: var(--pxd-color-transport-gradient) !important;
    border: none !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

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

.pxd-modal-btn--save svg {
    width: 14px;
    height: 14px;
}

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

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

.pxd-modal-btn--danger svg {
    width: 14px;
    height: 14px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
    /* Hide count badge on mobile */
    .pxd-section-count {
        display: none !important;
    }

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

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

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

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

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

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

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

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
    .pxd-cc-content {
        font-size: 13px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* BuddyX conflict overrides — prevent green/dark backgrounds on button states */
body.single-transport .pxd-map-container .pxd-map-btn,
body.single-transport .pxd-map-container .pxd-map-btn:hover,
body.single-transport .pxd-map-container .pxd-map-btn:focus,
body.single-transport .pxd-map-container .pxd-map-btn:active,
body.single-transport .pxd-map-container .pxd-map-btn:focus-visible {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--pixidia-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    outline: none !important;
    box-shadow: var(--shadow-md) !important;
}
body.single-transport .pxd-map-container .pxd-map-btn:hover {
    background: white !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Protect route toggle buttons from BuddyX overrides */
body.single-transport .pxd-route-toggle-btn,
body.single-transport .pxd-route-toggle-btn:focus,
body.single-transport .pxd-route-toggle-btn:active,
body.single-transport .pxd-route-toggle-btn:focus-visible {
    background: transparent !important;
    color: var(--pixidia-text-muted) !important;
    border: none !important;
    outline: none !important;
}
body.single-transport .pxd-route-toggle-btn.is-active,
body.single-transport .pxd-route-toggle-btn.is-active:focus,
body.single-transport .pxd-route-toggle-btn.is-active:active {
    background: var(--pxd-color-transport) !important;
    color: white !important;
}
body.single-transport .pxd-route-toggle-btn:not(.is-active):hover {
    background: var(--pixidia-gray-50) !important;
    color: var(--pixidia-text) !important;
}

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

/* Recenter button — top-right below zoom */
.pxd-map-btn--recenter {
    position: absolute;
    top: 100px;
    right: 10px;
    z-index: 400;
}

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

/* Route toggle controls */
.pxd-map-route-controls {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 400;
    display: flex;
    justify-content: center;
}

.pxd-route-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.pxd-route-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pixidia-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pxd-route-toggle-btn.is-active {
    background: var(--pxd-color-transport);
    color: white;
    box-shadow: var(--shadow-sm);
}

.pxd-route-toggle-btn:not(.is-active):hover {
    background: var(--pixidia-gray-50);
    color: var(--pixidia-text);
}

.pxd-route-toggle-btn svg,
.pxd-route-toggle-btn i {
    width: 14px;
    height: 14px;
}

/* Custom markers */
.pxd-marker-transport {
    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(--pxd-color-transport) !important;
}

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

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

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

/* Simple popup for transport */
.pxd-popup-simple {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

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

.pxd-popup-simple .pxd-popup-detail {
    font-size: 12px;
    color: var(--pixidia-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pxd-popup-simple .pxd-popup-detail svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .pxd-map-route-controls {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .pxd-route-toggle-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }

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

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

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

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

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

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

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

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

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

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

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

/* ============================================
   HERO ENTRANCE
   ============================================ */

@keyframes pxd-hero-fade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pxd-journey-hero {
    animation: pxd-hero-fade 0.6s var(--ease-smooth);
}

/* ============================================
   ROUTE ARROW ANIMATION
   ============================================ */

@keyframes pxd-route-arrow {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.pxd-journey-connector {
    animation: pxd-route-arrow 0.8s var(--ease-smooth) 0.3s both;
}

/* ============================================
   TIMELINE NODE ENTRANCE
   ============================================ */

@keyframes pxd-timeline-enter {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

.pxd-timeline-node {
    animation: pxd-timeline-enter 0.4s var(--ease-smooth) both;
}

.pxd-timeline-node:nth-child(1) { animation-delay: 0.1s; }
.pxd-timeline-node:nth-child(2) { animation-delay: 0.2s; }
.pxd-timeline-node:nth-child(3) { animation-delay: 0.3s; }
.pxd-timeline-node:nth-child(4) { animation-delay: 0.4s; }
.pxd-timeline-node:nth-child(5) { animation-delay: 0.5s; }

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

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

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

/* ============================================
   POLYLINE DRAW ANIMATION
   ============================================ */

@keyframes pxd-polyline-draw {
    from { stroke-dashoffset: 2000; }
    to { stroke-dashoffset: 0; }
}

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

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

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

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

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

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

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

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

    /* Disable hover transforms on touch */
    .pxd-insight-card:hover,
    .pxd-timeline-card:hover {
        transform: none;
    }

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

/* ============================================
   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, 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). */
.pxd-title-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

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

.pxd-title-actions {
    flex-wrap: wrap;
    margin-top: 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;
}
