/* GestionPark — Public */
.gp-public-wrap, .gp-single-wrap, .gp-archive-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
}

.gp-back-link {
	display: inline-block;
	margin-bottom: 18px;
	color: #2271b1;
	text-decoration: none;
	font-weight: 600;
}
.gp-back-link:hover { text-decoration: underline; }

/* Filters */
.gp-public-filters {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.gp-public-filters-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.gp-public-filters input[type="search"],
.gp-public-filters select {
	padding: 10px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	flex: 1;
	min-width: 160px;
}
.gp-price-row { gap: 16px; }
.gp-price-label { font-size: 14px; font-weight: 600; }
#gp-price-range { flex: 1; min-width: 200px; }

.gp-btn-primary {
	background: #2271b1;
	color: #fff;
	padding: 10px 22px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: background .15s;
}
.gp-btn-primary:hover { background: #135e96; color: #fff; }

/* Grid */
.gp-public-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.gp-card-vehicule {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	overflow: hidden;
	transition: all .2s;
	display: flex;
	flex-direction: column;
}
.gp-card-vehicule:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	transform: translateY(-2px);
}
.gp-card-photo {
	position: relative;
	display: block;
	aspect-ratio: 16/10;
	background: #f0f0f1;
	overflow: hidden;
}
.gp-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.gp-no-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 64px;
	color: #c3c4c7;
}
.gp-avail-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	backdrop-filter: blur(6px);
}
.gp-avail-available    { background: rgba(212,244,221,.95); color: #00712b; }
.gp-avail-unavailable, .gp-avail-reserved { background: rgba(252,232,230,.95); color: #a8071a; }
.gp-avail-maintenance  { background: rgba(255,244,206,.95); color: #855f00; }

.gp-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gp-card-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.gp-card-title a { color: #1d2327; text-decoration: none; }
.gp-card-title a:hover { color: #2271b1; }
.gp-card-meta { color: #757575; font-size: 13px; display: flex; gap: 6px; flex-wrap: wrap; }
.gp-card-equipements { display: flex; gap: 8px; font-size: 18px; }
.gp-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #f0f0f1;
}
.gp-card-price { font-size: 20px; font-weight: 700; color: #1d2327; }
.gp-card-price-unit { font-size: 13px; font-weight: 400; color: #757575; }
.gp-public-empty { text-align: center; color: #757575; padding: 60px 20px; font-size: 16px; }

/* Single */
.gp-single-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}
.gp-gallery-main {
	border-radius: 12px;
	overflow: hidden;
	background: #f0f0f1;
	aspect-ratio: 4/3;
	margin-bottom: 12px;
	cursor: zoom-in;
}
.gp-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 8px;
}
.gp-gallery-thumbs img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color .15s;
}
.gp-gallery-thumbs img:hover { border-color: #2271b1; }

.gp-summary-card {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	padding: 28px;
	position: sticky;
	top: 24px;
}
.gp-summary-cat {
	display: inline-block;
	background: #e7f1fa;
	color: #2271b1;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: 12px;
}
.gp-summary-title { font-size: 28px; font-weight: 700; margin: 0 0 4px; line-height: 1.2; }
.gp-summary-year { color: #757575; margin-bottom: 20px; }
.gp-summary-price { font-size: 32px; font-weight: 700; color: #1d2327; margin-bottom: 6px; }
.gp-summary-price-unit { font-size: 14px; font-weight: 400; color: #757575; }
.gp-summary-card .gp-avail-badge { position: static; display: block; text-align: center; margin: 18px 0; }
.gp-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-top: 1px solid #f0f0f1;
	font-size: 14px;
}

.gp-section {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 20px;
}
.gp-section-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #1d2327;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f0f1;
}
.gp-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}
.gp-spec {
	background: #f6f7f7;
	padding: 14px 18px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.gp-spec-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #757575; letter-spacing: .04em; }
.gp-spec strong { font-size: 15px; }

.gp-equipements-public { display: flex; flex-wrap: wrap; gap: 10px; }
.gp-equipement-tag {
	background: #f6f7f7;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.gp-equipement-tag .gp-emoji { font-size: 16px; }

.gp-single-description { font-size: 15px; line-height: 1.7; }
.gp-single-description p { margin: 0 0 12px; }

/* Lightbox */
.gp-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.92);
	z-index: 99999;
	align-items: center;
	justify-content: center;
}
.gp-lightbox.is-open { display: flex; }
.gp-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.gp-lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	font-weight: 300;
}

@media (max-width: 782px) {
	.gp-single-grid { grid-template-columns: 1fr; }
	.gp-summary-card { position: static; padding: 20px; }
	.gp-public-filters-row { flex-direction: column; align-items: stretch; }
	.gp-public-filters input, .gp-public-filters select { width: 100%; }
}
