/**
 * Tour Details Widget Styles
 *
 * Compact info bar showing duration, languages, meeting point & price.
 * Uses theme CSS custom properties from tt-theme.css.
 *
 * @package TourTiranaBooking
 */

/* ── Loading state ────────────────────────────────── */
.tt-tour-details-bar-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 0;
	color: var(--paragraphColor, #8c8c8c);
	font-size: 14px;
}

.tt-tour-details-bar-loading .spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid #e8e8e8;
	border-top-color: var(--mainColor, #D60F90);
	border-radius: 50%;
	animation: tt-details-spin 0.7s linear infinite;
}

@keyframes tt-details-spin {
	to { transform: rotate(360deg); }
}

/* ── Details bar container ────────────────────────── */
.tt-tour-details-bar {
	border: 1px solid #ededed;
	border-radius: 12px 12px 0 0;
	background: var(--whiteColor, #fff);
	overflow: hidden;
}

/* ── Card grid ────────────────────────────────────── */
.tt-details-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.tt-details-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 16px;
	border-right: 1px solid #ededed;
}

.tt-details-card:last-child {
	border-right: none;
}

.tt-details-card > i {
	font-size: 22px;
	color: var(--mainColor, #D60F90);
	flex-shrink: 0;
	margin-top: 2px;
}

.tt-details-card-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tt-details-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--titleColor, #2a2a2a);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.tt-details-value {
	font-size: 14px;
	color: var(--paragraphColor, #8c8c8c);
	line-height: 1.4;
}

.tt-details-value a {
	color: var(--optionalColor, #0098DA);
	text-decoration: none;
}

.tt-details-value a:hover {
	color: var(--mainColor, #D60F90);
}

/* ── Price row ────────────────────────────────────── */
.tt-details-price-row {
	border-top: 1px solid #ededed;
	padding: 14px 16px;
	background: rgba(214, 15, 144, 0.03);
}

.tt-details-price-card {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tt-details-price-card > i {
	font-size: 22px;
	color: var(--mainColor, #D60F90);
	flex-shrink: 0;
}

.tt-details-price-text {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.tt-details-price-amount {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: var(--mainColor, #D60F90);
}

.tt-details-price-note {
	font-size: 13px;
	color: var(--paragraphColor, #8c8c8c);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
	.tt-details-grid {
		grid-template-columns: 1fr;
	}

	.tt-details-card {
		border-right: none;
		border-bottom: 1px solid #ededed;
		padding: 14px 16px;
	}

	.tt-details-card:last-child {
		border-bottom: none;
	}
}
