/* ============================================================
   Ride2Atlas Pricing — v1.1.0
   ============================================================ */

/* ── Price intro line ── */
.r2a-price-intro {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #888;
	margin: 0 0 8px;
	font-weight: 600;
}

/* ── High-demand notice ── */
.r2a-high-demand {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #c0392b;
	font-style: italic;
	font-weight: 600;
	font-size: 0.82rem;
	margin: 0 0 6px;
}

.r2a-high-demand__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	background: #c0392b;
	border-radius: 50%;
	flex-shrink: 0;
	animation: r2a-pulse 1.4s ease-in-out infinite;
}

@keyframes r2a-pulse {
	0%,100% { opacity: 1; transform: scale(1);   }
	50%      { opacity: .4; transform: scale(.7); }
}

/* ── Grid wrapper ── */
.r2a-price-grid {
	margin: 0 0 1.25rem;
}

/* ── 3 columns ── */
.r2a-price-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

/* ── Individual column card ── */
.r2a-price-col {
	border: 1.5px solid #e0e0e0;
	border-radius: 10px;
	padding: 12px 8px 10px;
	text-align: center;
	background: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

/* ── Star / featured column ── */
.r2a-price-col--star {
	border-color: #e67e22;
	background: #fffaf3;
	box-shadow: 0 0 0 2px rgba(230,126,34,.12);
}

/* ── Star badge ── */
.r2a-badge-star {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #e67e22;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 3px 7px;
	border-radius: 20px;
	margin-bottom: 3px;
	white-space: nowrap;
}

.r2a-badge-star--ghost {
	background: transparent;
	height: 19px;
	pointer-events: none;
}

/* ── Duration label ── */
.r2a-col-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: #555;
	letter-spacing: .01em;
}

/* ── Price number ── */
.r2a-col-price {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	color: #111;
	line-height: 1.1;
	margin: 2px 0 0;
}

.r2a-col-price .woocommerce-Price-currencySymbol {
	font-size: 1rem;
	vertical-align: super;
	font-weight: 600;
}

/* ── "/ jour" unit ── */
.r2a-col-unit {
	display: block;
	font-size: 0.7rem;
	color: #aaa;
}

/* ── Short desc ── */
.r2a-col-desc {
	display: block;
	font-size: 0.68rem;
	color: #888;
	margin-top: 3px;
	line-height: 1.3;
}

.r2a-price-col--star .r2a-col-desc {
	color: #b35c00;
	font-weight: 600;
}

/* ── No-hidden-fees line ── */
.r2a-no-hidden-fees {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.71rem;
	color: #27ae60;
	font-weight: 600;
	margin: 8px 0 0;
	padding: 6px 8px;
	background: #f0faf4;
	border-radius: 6px;
	border: 1px solid #c8e6c9;
}

/* ============================================================
   Rental block — dates + accessories
   ============================================================ */
.r2a-rental-block {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border: 1px solid #eee;
	border-radius: 10px;
	background: #fafafa;
}

.r2a-section-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.r2a-date-fields {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.r2a-date-fields .form-row {
	flex: 1;
	min-width: 180px;
}

.r2a-live-summary {
	margin: 1rem 0;
	padding: .75rem 1rem;
	background: #fff;
	border-left: 4px solid #e67e22;
	border-radius: 0 4px 4px 0;
	font-weight: 600;
	font-size: .95rem;
}

.r2a-equipment-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.r2a-equipment-block {
	background: #fff;
	border-radius: 8px;
	padding: 1rem;
	border: 1px solid #e5e5e5;
}

.r2a-equipment-block--free {
	background: #f0faf4;
	border-color: #c8e6c9;
}

.r2a-equipment-block h4 {
	margin: 0 0 .75rem;
	font-size: .95rem;
}

.r2a-accessory-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.r2a-accessory-list li {
	padding: .6rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.r2a-accessory-list li:last-child { border-bottom: none; }

.r2a-accessory-list label {
	display: block;
	cursor: pointer;
}

.r2a-acc-price {
	display: block;
	color: #333;
	font-weight: 600;
}

.r2a-accessory-list small {
	display: block;
	color: #777;
	margin-top: .15rem;
}

.r2a-badge-offert {
	display: inline-block;
	background: #27ae60;
	color: #fff;
	font-size: .62rem;
	font-weight: 700;
	padding: .15rem .4rem;
	border-radius: 3px;
	margin-right: .35rem;
	vertical-align: middle;
}

.flatpickr-calendar {
	z-index: 999999 !important;
}

.r2a-date-fields .form-row input.r2a-flatpickr,
.r2a-date-fields .form-row input.flatpickr-input {
	width: 100%;
	padding: .5rem .65rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: .95rem;
}

.r2a-date-fields .form-row .flatpickr-input[readonly] {
	background: #fff;
	cursor: pointer;
}

/* ============================================================
   Forte demande badge (archive / shop / Elementor product cards)
   ============================================================ */
.r2a-badge-bestseller {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e74c3c;
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: .28rem .55rem;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(231,76,60,.4);
	pointer-events: none;
	line-height: 1;
}

.r2a-badge-bestseller::before {
	content: '★';
	font-size: .72rem;
}

.product-image {
	position: relative;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
	.r2a-price-col {
		padding: 8px 4px;
	}
	.r2a-col-price {
		font-size: 1.2rem;
	}
	.r2a-col-label,
	.r2a-col-desc {
		font-size: .62rem;
	}
	.r2a-badge-star {
		font-size: .55rem;
		padding: 2px 5px;
	}
	.r2a-equipment-grid {
		grid-template-columns: 1fr;
	}
}
