/* Vitrine staging d'un itinéraire : tout est scopé sous html.pxv2-vitrine (posé par vitrine.js), rien ne sort de cette page. */

/* Habillage du site inutile dans l'iframe : header, bandeau cookies, barre d'admin. */
html.pxv2-vitrine #wpadminbar,
html.pxv2-vitrine .pxd-site-header,
html.pxv2-vitrine #pixidia-header,
html.pxv2-vitrine header.hx,
html.pxv2-vitrine .pxd-header-drawer,
html.pxv2-vitrine .pxd-header-drawer-overlay,
html.pxv2-vitrine #pix-cookies-banner,
html.pxv2-vitrine .pix-cookies-banner,
html.pxv2-vitrine .pix-cookies-backdrop,
html.pxv2-vitrine #pix-cookies-toast { display: none !important; }
html.pxv2-vitrine { margin-top: 0 !important; }

/* Lecture seule : contrôles d'édition de l'auteur (repris de l'iframe de la page d'accueil, éprouvée en prod). */
html.pxv2-vitrine .pxd-hero-action-btn--invite,
html.pxv2-vitrine .pxd-hero-action-btn--edit,
html.pxv2-vitrine .pxd-hero-action-btn--delete,
html.pxv2-vitrine .pxd-hero-action-btn--leave,
html.pxv2-vitrine .pxd-hero-action-btn--pdf,
html.pxv2-vitrine .pxd-collab-action,
html.pxv2-vitrine #add-comment-btn, html.pxv2-vitrine #add-transport-btn, html.pxv2-vitrine #add-logement-btn,
html.pxv2-vitrine #add-restaurant-btn, html.pxv2-vitrine #add-activite-btn, html.pxv2-vitrine #add-location-btn,
html.pxv2-vitrine #add-comment-empty-btn,
html.pxv2-vitrine .pxd-section--depenses,
html.pxv2-vitrine .pxd-comment-edit-btn, html.pxv2-vitrine .pxd-comment-delete-btn, html.pxv2-vitrine .pxd-comment-actions,
html.pxv2-vitrine .pxd-chat-widget, html.pxv2-vitrine .pxd-chat-input, html.pxv2-vitrine #chat-input, html.pxv2-vitrine #chat-send-btn,
html.pxv2-vitrine #comment-editor-overlay, html.pxv2-vitrine #invite-modal-overlay, html.pxv2-vitrine #expense-modal-overlay,
html.pxv2-vitrine #budget-modal-overlay, html.pxv2-vitrine #image-modal-overlay, html.pxv2-vitrine #confirm-delete-overlay,
html.pxv2-vitrine #confirm-comment-delete-overlay, html.pxv2-vitrine #confirm-leave-overlay,
html.pxv2-vitrine .pxditcrd-edit, html.pxv2-vitrine .pxditcrd-visibility-toggle,
html.pxv2-vitrine .pxd-card-edit, html.pxv2-vitrine .pxd-card-delete, html.pxv2-vitrine .pxd-card-actions { display: none !important; }

/* Contrôles d'auteur de la page actuelle (relevés sur le rendu du 13/10) : titre éditable, actions du héros,
   points à vérifier, statuts de réservation, cartes de notes, sections Réservations et Dépenses. La wishlist reste. */
html.pxv2-vitrine .pxd-btn-icon.pxd-author-only,
html.pxv2-vitrine .pxd-hero-fav,
html.pxv2-vitrine .pxdie-badge--review,
html.pxv2-vitrine body .pxdc-actions > .pxdc-reservation.pxd-status-icon,
html.pxv2-vitrine .pxd-cc-action-btn,
html.pxv2-vitrine #reservations,
html.pxv2-vitrine body .pxd-sidebar-nav .pxd-nav-item.pxd-collab-only,
html.pxv2-vitrine body .pxd-sidebar-nav .pxd-nav-item.pxd-author-only,
html.pxv2-vitrine #depenses { display: none !important; }

/* Édition en ligne de l'auteur : les valeurs restent affichées (titre, départ, destination, dates, budget,
   visibilité), leurs déclencheurs ne réagissent plus. */
html.pxv2-vitrine .pxdie-trigger { pointer-events: none !important; cursor: default !important; }

/* Panneau Pixi : on garde la conversation, on retire saisie, barre d'outils et actions. */
html.pxv2-vitrine #pxd-assistant .pxd-assistant-input-bar,
html.pxv2-vitrine #pxd-assistant .pxd-pixi-conversation-toolbar,
html.pxv2-vitrine #pxd-assistant .pxd-pixi-conversation-actions,
html.pxv2-vitrine #pxd-assistant .pxd-pixi-sessions { display: none !important; }

/* Explication affichée à la place d'une décision. */
html.pxv2-vitrine .pxv2-vitrine-note {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(30, 155, 82, .08);
	border: 1px solid rgba(30, 155, 82, .25);
	color: #0A3D3A;
	font: 600 13px/1.45 Urbanist, system-ui, sans-serif;
}

/* La grille de la page réserve 60 px au header masqué : on rend cette hauteur au contenu (ordinateur). */
@media (min-width: 769px) {
	html.pxv2-vitrine .pxd-page { grid-template-rows: 0 minmax(0, 1fr) !important; }
}
