/**
 * DCM Booking System - Frontend Styles
 * Fluent Design-inspired styles for public-facing pages
 */

:root {
	/* Colors - Fluent Design Palette */
	--color-primary: #0078D4;
	--color-primary-hover: #106EBE;
	--color-primary-light: #E8F4F8;
	--color-secondary: #6B7280;
	--color-success: #10B981;
	--color-warning: #F59E0B;
	--color-danger: #EF4444;
	--color-info: #3B82F6;
	--color-accent-teal: #0D9488;
	--color-accent-purple: #7C3AED;
	--color-accent-pink: #DB2777;
	--color-accent-orange: #F97316;
	--color-accent-slate: #475569;
	--color-accent-cyan: #0EA5E9;
	--color-accent-lime: #84CC16;
	
	/* Neutral Colors */
	--color-bg: #FFFFFF;
	--color-bg-secondary: #F9FAFB;
	--color-bg-tertiary: #F3F4F6;
	--color-border: #E5E7EB;
	--color-text: #111827;
	--color-text-secondary: #6B7280;
	--color-text-light: #9CA3AF;
	
	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	
	/* Spacing */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2rem;
	--spacing-2xl: 3rem;
	
	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	
	/* Transitions */
	--transition: all 0.2s ease;
}

/* ============================================
   Frontend Layout
   ============================================ */

.dcm-frontend-tours,
.dcm-frontend-tour-detail,
.dcm-frontend-booking-form {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}

.dcm-frontend-tours--with-sidebar .dcm-tours-layout {
	display: flex;
	gap: 2rem;
}

.dcm-frontend-tours.dcm-tours-loading {
	position: relative;
	opacity: 0.6;
	pointer-events: none;
}

.dcm-frontend-tours.dcm-tours-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border-radius: 50%;
	border: 3px solid var(--color-border);
	border-top-color: var(--color-primary);
	animation: dcm-spin 0.8s linear infinite;
	z-index: 2;
}

.dcm-tours-sidebar {
	flex: 0 0 300px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: var(--spacing-lg);
	position: sticky;
	top: var(--spacing-lg);
	align-self: flex-start;
}

.dcm-tours-content {
	flex: 1;
	min-width: 0;
}

@keyframes dcm-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.dcm-sidebar-title {
	margin: 0 0 var(--spacing-sm) 0;
	font-size: 20px;
	font-weight: 600;
	color: var(--color-text);
}

.dcm-sidebar-description {
	margin: 0 0 var(--spacing-lg) 0;
	color: var(--color-text-secondary);
	font-size: 14px;
	line-height: 1.5;
}

.dcm-tours-filters--stacked {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

/* ============================================
   Tours List
   ============================================ */

.dcm-tours-filters {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.dcm-filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dcm-filter-group--duration {
	gap: 0.75rem;
}

.dcm-filter-group label {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text-secondary);
}

.dcm-filter-group-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
}

.dcm-filter-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dcm-filter-checkbox-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dcm-filter-checkbox-items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.dcm-filter-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 14px;
	color: var(--color-text);
	cursor: pointer;
	user-select: none;
}

.dcm-filter-checkbox input[type="checkbox"] {
	accent-color: var(--color-primary);
}

.dcm-filter-select {
	padding: 0.5rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: 14px;
	background: var(--color-bg);
	color: var(--color-text);
	min-width: 200px;
}

.dcm-tours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

/* ============================================
   Tour Card - Fluent Design Style
   ============================================ */

.dcm-tour-card {
	background: var(--color-bg);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
}

.dcm-tour-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
	border-color: var(--color-primary);
}

.dcm-tour-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none !important;
	color: inherit;
}

.dcm-tour-card-link:hover,
.dcm-tour-card-link:focus,
.dcm-tour-card-link:active {
	text-decoration: none !important;
	outline: none;
}

.dcm-tour-card-link * {
	text-decoration: none !important;
}

.dcm-tour-card-link:hover *,
.dcm-tour-card-link:focus *,
.dcm-tour-card-link:active * {
	text-decoration: none !important;
}

/* Card Header with Featured Image */
.dcm-tour-card-header {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
}

.dcm-tour-card-image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dcm-tour-card:hover .dcm-tour-card-image {
	transform: scale(1.05);
}

.dcm-tour-card-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.dcm-tour-card:hover .dcm-tour-card-image-overlay {
	opacity: 1;
}

.dcm-tour-card-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dcm-tour-card-image-icon {
	font-size: 64px;
	opacity: 0.8;
}

/* Category Badge */
.dcm-tour-card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	color: var(--color-primary);
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.dcm-tour-card-badge-secondary {
	right: auto;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Group Type Ribbon */
.dcm-tour-card-ribbon {
	position: absolute;
	top: -30px;
	right: -30px;
	width: 140px;
	height: 140px;
	overflow: visible;
	z-index: 3;
	pointer-events: none;
}

.dcm-tour-card-ribbon-text {
	position: absolute;
	top: 46px;
	left: -35px;
	width: 220px;
	padding: 0.4rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0078D4 0%, #106EBE 100%);
	color: #fff;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	transform: rotate(45deg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dcm-tour-card-ribbon-non_guided .dcm-tour-card-ribbon-text {
	background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
}

.dcm-tour-card:hover .dcm-tour-card-ribbon-text {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Card Body */
.dcm-tour-card-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dcm-tour-card-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	color: var(--color-text);
	line-height: 1.3;
	transition: color 0.2s ease;
}

.dcm-tour-card:hover .dcm-tour-card-title {
	color: var(--color-primary);
}

.dcm-tour-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	font-size: 13px;
	color: var(--color-text-secondary);
}

.dcm-tour-card-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 4px 8px;
	background: var(--color-bg-secondary);
	border-radius: 6px;
	font-weight: 500;
}

.dcm-tour-card-meta-item svg {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	color: var(--color-primary);
}

.dcm-tour-card-dates {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.dcm-tour-card-dates-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dcm-tour-card-dates-label svg {
	color: var(--color-primary);
}

.dcm-tour-card-date-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.dcm-tour-card-date-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.6rem;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-primary);
	background: var(--color-primary-light);
	border-radius: 999px;
	border: 1px solid rgba(0, 120, 212, 0.2);
}

.dcm-tour-card-date-badge--more {
	color: var(--color-text-secondary);
	background: var(--color-bg-tertiary);
	border-color: var(--color-border);
}

.dcm-tour-card-description {
	color: var(--color-text-secondary);
	line-height: 1.6;
	margin: 0;
	flex: 1;
	font-size: 14px;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Card Footer */
.dcm-tour-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-secondary);
	margin-top: auto;
}

.dcm-tour-card-price {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.dcm-tour-card-price-header {
	display: inline-flex;
	align-items: baseline;
	gap: 0.25rem;
}

.dcm-tour-card-price-from {
	font-size: 11px;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dcm-tour-card-price-currency {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dcm-tour-card-price-amount {
	font-size: 28px;
	font-weight: 800;
	color: var(--color-primary);
}

.dcm-tour-card-price-label {
	font-size: 11px;
	color: var(--color-text-light);
	font-weight: 500;
	margin-top: 2px;
}

.dcm-tour-card-action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-primary);
	font-weight: 600;
	font-size: 14px;
	transition: gap 0.2s ease;
}

.dcm-tour-card:hover .dcm-tour-card-action {
	gap: 0.75rem;
}

.dcm-tour-card-action svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.dcm-tour-card:hover .dcm-tour-card-action svg {
	transform: translateX(2px);
}

.dcm-empty-state {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--color-text-secondary);
}

/* ============================================
   Tour Detail
   ============================================ */

.dcm-tour-detail-header {
	margin-bottom: 2rem;
}

.dcm-tour-detail-header h1 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 1rem;
}

.dcm-tour-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	color: var(--color-text-secondary);
}

.dcm-tour-detail-meta span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dcm-tour-detail-content {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
	align-items: flex-start;
	width: 100%;
}

.dcm-tour-detail-main,
.dcm-tour-detail-sidebar {
	min-width: 0;
}

.dcm-tour-detail-sidebar {
	width: 100%;
}

@media (max-width: 1024px) {
	.dcm-tour-detail-content {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.dcm-booking-widget {
		position: static;
		top: auto;
	}

	.dcm-tour-detail-sidebar {
		width: 100%;
	}

	.dcm-tour-tab-btn--booking {
		display: flex;
	}
}

.dcm-tour-detail-main {
}

.dcm-tour-gallery {
	margin: 0 auto;
	position: relative;
	max-width: 900px;
}

.dcm-tour-gallery-main {
	width: 100%;
	height: 380px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 1rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.dcm-tour-gallery-autoplay-toggle {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	z-index: 3;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	cursor: pointer;
	transition: var(--transition);
}

.dcm-tour-gallery-autoplay-toggle:hover {
	background: rgba(0, 0, 0, 0.8);
}

.dcm-tour-gallery-autoplay-toggle i {
	font-size: 12px;
}

.dcm-tour-gallery-autoplay-progress {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.2);
	box-sizing: border-box;
	opacity: 0.9;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	color: #fff; /* ensure countdown number is clearly visible */
	z-index: 1; /* keep text above ring layers */
}

.dcm-tour-gallery-autoplay-progress::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff; /* bright moving segment */
	border-right-color: #fff;
	box-sizing: border-box;
	z-index: -1; /* behind the text */
}

.dcm-tour-gallery-autoplay-progress::after {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: inherit;
	/* Match the toggle background so only the ring shows progress */
	background: rgba(0, 0, 0, 0.6);
	z-index: -1; /* render behind the text */
}

.dcm-tour-gallery-autoplay-progress--active::before {
	animation: dcm-autoplay-progress 5s linear forwards;
}

@keyframes dcm-autoplay-progress {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.dcm-tour-gallery-main::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: inherit;
	background-size: inherit;
	background-repeat: inherit;
	filter: blur(20px);
	transform: scale(1.1);
	z-index: 0;
}

.dcm-tour-gallery-main img {
	position: relative;
	z-index: 1;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.4s ease, transform 0.4s ease;
	opacity: 1;
}

.dcm-tour-gallery-main img.dcm-gallery-image-fading {
	opacity: 0;
	border-radius: var(--radius-md);
}

.dcm-tour-gallery-main::after {
	content: '\f00e';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 16px;
	opacity: 0;
	transition: var(--transition);
	z-index: 2;
}

.dcm-tour-gallery-main:hover::after {
	opacity: 1;
}

.dcm-tour-gallery-thumbs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	cursor: grab;
	padding-bottom: 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--color-primary) var(--color-border);
}

.dcm-tour-gallery-thumbs.dcm-thumbs-dragging {
	cursor: grabbing;
}

.dcm-tour-gallery-thumbs::-webkit-scrollbar {
	height: 6px;
}

.dcm-tour-gallery-thumbs::-webkit-scrollbar-track {
	background: var(--color-bg-secondary);
	border-radius: 3px;
}

.dcm-tour-gallery-thumbs::-webkit-scrollbar-thumb {
	background: var(--color-primary);
	border-radius: 3px;
}

.dcm-tour-gallery-thumbs::-webkit-scrollbar-thumb:hover {
	background: var(--color-primary-hover);
}

.dcm-tour-gallery-thumbs img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--radius-md);
	cursor: pointer;
	border: 3px solid transparent;
	transition: var(--transition);
	flex-shrink: 0;
	-webkit-user-drag: none;
	user-select: none;
}

.dcm-tour-gallery-thumbs img:hover {
	border-color: var(--color-primary);
	transform: scale(1.05);
}

.dcm-tour-gallery-thumbs img.active {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px var(--color-primary-light);
}

.dcm-gallery-bottom-left {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 0.35rem 0.5rem;
	border-radius: var(--radius-md);
	backdrop-filter: blur(10px);
	line-height: 1;
}

.dcm-gallery-counter {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 0 0.25rem;
	font-size: 14px;
	font-weight: 600;
}

.dcm-tour-gallery-arrow {
	border: none;
	padding: 0;
	margin: 0;
	background: transparent;
	color: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	cursor: pointer;
	transition: var(--transition);
	font-size: 12px;
	line-height: 1;
}

.dcm-tour-gallery-arrow:hover {
	background: rgba(255, 255, 255, 0.15);
}

.dcm-tour-gallery-arrow i {
	display: block;
	line-height: 1;
}

/* Gallery Lightbox */
.dcm-gallery-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.dcm-gallery-lightbox.active {
	display: flex;
}

.dcm-gallery-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dcm-gallery-lightbox img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius-md);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dcm-gallery-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	backdrop-filter: blur(10px);
	z-index: 10000;
}

.dcm-gallery-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.dcm-gallery-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	backdrop-filter: blur(10px);
	z-index: 10000;
}

.dcm-gallery-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%) scale(1.1);
}

.dcm-gallery-lightbox-prev {
	left: 1rem;
}

.dcm-gallery-lightbox-next {
	right: 1rem;
}

.dcm-gallery-lightbox-counter {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-md);
	font-size: 16px;
	font-weight: 600;
	backdrop-filter: blur(10px);
}

.dcm-content-card {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	margin-bottom: 2rem;
	overflow: hidden;
}

.dcm-card-header {
	padding: 1.5rem;
	background: var(--color-bg-secondary);
}

.dcm-card-header h1,
.dcm-card-header h2,
.dcm-card-header h3,
.dcm-card-header h4,
.dcm-card-header h5,
.dcm-card-header h6 {
	margin: 0;
	font-weight: 600;
	color: var(--color-text);
}

/* Normalize any stray paragraphs inside card headers (from editor content) */
.dcm-card-header p {
	margin: 0;
	padding: 0;
}

.dcm-card-header br {
	display: none;
}

.dcm-quick-fact-item br {
	display: none;
}

.dcm-card-header h3 {
	font-size: 18px;
}

.dcm-card-header h4 {
	font-size: 16px;
}

.dcm-card-body {
	padding: 1.5rem;
}

.dcm-itinerary-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.dcm-itinerary-day {
	display: flex;
	gap: 1.5rem;
}

.dcm-itinerary-day-number {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary);
	color: white;
	border-radius: 50%;
	font-weight: 600;
	flex-shrink: 0;
}

.dcm-itinerary-day-content {
	flex: 1;
}

.dcm-itinerary-day-content h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.dcm-itinerary-day-content p {
	margin-bottom: 0.5rem;
	color: var(--color-text-secondary);
	line-height: 1.6;
}

.dcm-included-list {
	list-style: none;
	padding: 0;
}

.dcm-included-list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--color-border);
}

.dcm-included-list li:last-child {
	border-bottom: none;
}

/* ============================================
   Tour Tabs
   ============================================ */

.dcm-tour-tabs-wrapper {
	margin-top: 1.5rem;
}

.dcm-tour-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-primary);
	margin-bottom: 0;
	box-shadow: none;
}

.dcm-tour-tab-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	background: var(--color-primary);
	border: none;
	color: white;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	flex: 1;
	min-width: 0;
}

.dcm-tour-tab-btn--booking {
	display: none;
}

.dcm-tour-tab-btn:hover {
	background: var(--color-primary-hover);
	color: white;
}

.dcm-tour-tab-btn.active {
	background: var(--color-primary-hover);
	color: white;
}

.dcm-tour-tab-btn i {
	font-size: 16px;
	color: white;
}

.dcm-tour-tabs-content {
	position: relative;
}

.dcm-tour-tab-panel {
	display: none;
	animation: fadeIn 0.3s ease-in-out;
}

.dcm-tour-tab-panel.active {
	display: block;
}

/* Route image */
.dcm-route-image-wrapper {
	text-align: center;
	margin: 0;
}

.dcm-route-image {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dcm-route-image:hover {
	transform: scale(1.02);
	box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dcm-quick-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.dcm-quick-facts-grid--compact {
	gap: 0.75rem;
}

/* Legal documents fullscreen modal */
.dcm-legal-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.dcm-legal-modal.is-open {
	display: block;
}

.dcm-legal-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.dcm-legal-modal__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90vw;
	height: 90vh;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.dcm-legal-modal__frame {
	border: none;
	width: 100%;
	height: 100%;
}

.dcm-legal-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	z-index: 2;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.dcm-legal-modal__close span {
	font-size: 20px;
	line-height: 1;
}

@media (max-width: 768px) {
	.dcm-legal-modal__content {
		width: 100vw;
		height: 100vh;
		border-radius: 0;
	}
}

.dcm-quick-fact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--color-bg-secondary);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.dcm-quick-fact-item i {
	font-size: 24px;
	color: var(--color-primary);
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.dcm-quick-fact-item div {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dcm-quick-fact-item strong {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-secondary);
	font-weight: 600;
}

.dcm-quick-fact-item span {
	font-size: 15px;
	color: var(--color-text);
	font-weight: 500;
}

@media (max-width: 768px) {
	.dcm-tour-tabs-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
		border-radius: var(--radius-md);
	}

	.dcm-tour-tabs-nav::-webkit-scrollbar {
		height: 4px;
	}

	.dcm-tour-tabs-nav::-webkit-scrollbar-track {
		background: transparent;
	}

	.dcm-tour-tabs-nav::-webkit-scrollbar-thumb {
		background: rgba(255, 255, 255, 0.3);
		border-radius: 2px;
	}

	.dcm-tour-tab-btn {
		flex: 0 0 auto;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0.4rem;
		padding: 0.5rem 0.75rem;
		font-size: 13px;
		min-width: auto;
		white-space: nowrap;
		text-align: left;
	}

	.dcm-tour-tab-btn span {
		display: inline;
		font-size: 13px;
	}

	.dcm-tour-tab-btn i {
		margin: 0;
		font-size: 16px;
	}

	.dcm-quick-facts-grid {
		grid-template-columns: 1fr;
	}

	.dcm-tour-gallery-main {
		height: 260px;
	}

	.dcm-gallery-bottom-left,
	.dcm-tour-gallery-arrow {
		display: none;
	}

	.dcm-gallery-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.dcm-gallery-lightbox-close {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.dcm-tour-detail-sidebar {
		display: none;
	}
}

/* ============================================
   Booking Widget
   ============================================ */

.dcm-booking-widget {
	position: sticky;
	top: 100px;
}

.dcm-booking-widget-body {
	padding: 0;
}

.dcm-price-amount {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 0;
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}

.dcm-price-from {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 0.25rem;
}

.dcm-price-currency {
	color: var(--color-primary);
	margin-right: 0.25rem;
}

.dcm-price-value {
	color: var(--color-text);
}

.dcm-price-label {
	color: var(--color-text-secondary);
	font-size: 14px;
}

/* Normalize text spacing inside booking widget */
.dcm-booking-widget p {
	margin: 0;
	line-height: 1.5;
}

.dcm-booking-widget p + p {
	margin-top: 0.35rem;
}

.dcm-booking-widget-form {
	display: block;
}

.dcm-booking-widget-sections {
	display: flex;
	flex-direction: column;
}

.dcm-booking-section {
	padding: 1.25rem 1.5rem;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.dcm-booking-section--price {
	background: var(--color-bg);
}

.dcm-booking-section--date {
	background: var(--color-bg-secondary);
}

.dcm-booking-section--participants {
	background: var(--color-bg);
}

.dcm-booking-section--vehicle {
	background: var(--color-bg-secondary);
}

.dcm-booking-section--footer {
	background: var(--color-bg-secondary);
	display: flex;
	padding: 1rem 1.5rem 1.25rem;
}

.dcm-booking-section--footer .dcm-btn {
	margin: 0;
}

.dcm-form-group {
	display: block;
}

.dcm-form-group p {
	margin: 0;
}

.dcm-form-group br {
	display: none;
}

.dcm-form-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.dcm-tooltip-icon {
	color: var(--color-text-secondary);
	cursor: help;
	font-size: 12px;
}

.dcm-tooltip {
	position: absolute;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 0.4rem 0.6rem;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1.4;
	z-index: 9999;
	max-width: 240px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.dcm-tooltip.dcm-tooltip--visible {
	opacity: 1;
	transform: translateY(0);
}

.dcm-form-input,
.dcm-form-select,
.dcm-form-textarea {
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: 14px;
	background: var(--color-bg);
	color: var(--color-text);
	width: 100%;
	font-family: inherit;
	margin-bottom: 0;
}

/* Ensure nationality dropdown matches other form controls */
.dcm-nationality-select {
	display: block;
	width: 100%;
}

/* Unify select appearance with text inputs */
.dcm-form-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--color-text-secondary) 50%),
		linear-gradient(135deg, var(--color-text-secondary) 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% - 3px), calc(100% - 9px) calc(50% - 3px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.25rem;
}

.dcm-form-input:focus,
.dcm-form-select:focus,
.dcm-form-textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.dcm-form-textarea {
	resize: vertical;
	min-height: 100px;
}

.dcm-addons-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dcm-addon-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--color-border);
}

.dcm-addon-item:last-child {
	border-bottom: none;
}

.dcm-addon-name {
	font-weight: 600;
}

.dcm-addon-price {
	font-weight: 600;
}

.dcm-price-breakdown {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dcm-price-line {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.dcm-price-total {
	border-top: 2px solid var(--color-primary);
	padding-top: 1rem;
	margin-top: 1rem;
	font-size: 20px;
	font-weight: 700;
}

/* ============================================
   Booking Form
   ============================================ */

.dcm-booking-steps {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 3rem 0;
}

.dcm-booking-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	position: relative;
}

.dcm-booking-step::after {
	content: '';
	position: absolute;
	top: 20px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: var(--color-border);
	z-index: -1;
}

.dcm-booking-step:last-child::after {
	display: none;
}

.dcm-booking-step-active::after {
	background: var(--color-primary);
}

.dcm-step-number {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg-tertiary);
	color: var(--color-text-secondary);
	border-radius: 50%;
	font-weight: 600;
	border: 2px solid var(--color-border);
}

.dcm-booking-step-active .dcm-step-number {
	background: var(--color-primary);
	color: white;
	border-color: var(--color-primary);
}

.dcm-step-label {
	font-size: 14px;
	color: var(--color-text-secondary);
}

.dcm-booking-step-active .dcm-step-label {
	color: var(--color-primary);
	font-weight: 500;
}

.dcm-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 768px) {
	.dcm-form-row {
		grid-template-columns: 1fr;
	}
}

.dcm-content-card--muted {
	margin: 2rem 0;
	background: var(--color-bg-secondary);
}

.dcm-vehicle-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

@media (min-width: 1024px) {
	.dcm-vehicle-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.dcm-vehicle-item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border: 2px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 1rem;
	background: var(--color-bg);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	cursor: pointer;
	text-decoration: none !important;
}

.dcm-vehicle-item:hover {
	border-color: var(--color-primary);
	box-shadow: var(--shadow-md);
}

.dcm-vehicle-item input[type="radio"] {
	margin-top: 0.25rem;
	accent-color: var(--color-primary);
}

.dcm-vehicle-item__image {
	width: 100%;
	border-radius: var(--radius-md);
	background: var(--color-bg-secondary);
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dcm-vehicle-item__image img {
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: contain;
	border-radius: var(--radius-sm);
	display: block;
}

.dcm-vehicle-item__content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dcm-vehicle-item__heading {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: flex-start;
}

.dcm-vehicle-item__text-group {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.dcm-vehicle-item__name {
	font-size: 16px;
	color: var(--color-text);
}

.dcm-vehicle-item__meta {
	font-size: 13px;
	color: var(--color-text-secondary);
}

.dcm-vehicle-item__price {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-weight: 600;
	font-size: 13px;
	color: var(--color-text);
}

.dcm-vehicle-item__price span {
	white-space: nowrap;
}

.dcm-vehicle-item__price-free {
	color: var(--color-success);
	font-size: 14px;
}

.dcm-vehicle-item__description {
	font-size: 13px;
	color: var(--color-text-secondary);
	margin: 0;
}

.dcm-vehicle-item__properties {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.35rem 0.75rem;
}

.dcm-vehicle-item__properties li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.5rem 0.65rem;
	background: var(--color-bg-secondary);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
}

.dcm-vehicle-item__property-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-secondary);
	text-transform: capitalize;
}

.dcm-vehicle-item__property-value {
	font-size: 13px;
	color: var(--color-text);
	font-weight: 500;
}

.dcm-vehicle-item--selected {
	border-color: var(--color-primary);
	background: var(--color-primary-light);
	box-shadow: var(--shadow-md);
}

.dcm-vehicle-helper-text {
	margin-top: 1rem;
	font-size: 12px;
	color: var(--color-text-secondary);
}

/* ============================================
   Buttons
   ============================================ */

.dcm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 14px;
	font-weight: 500;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: var(--transition);
	text-decoration: none;
	line-height: 1;
}

.dcm-btn-primary {
	background: var(--color-primary);
	color: white;
}

.dcm-btn-primary:hover {
	background: var(--color-primary-hover);
}

.dcm-btn-secondary {
	background: var(--color-bg-tertiary);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.dcm-btn-secondary:hover {
	background: var(--color-border);
}

.dcm-btn-block {
	width: 100%;
}

.dcm-link-primary {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
}

.dcm-link-primary:hover {
	text-decoration: underline;
}

/* Button Action Variations */
.dcm-btn-action-add {
	background: var(--color-primary);
	color: #fff;
}

.dcm-btn-action-add:hover {
	background: var(--color-primary-hover);
	color: #fff;
}

.dcm-btn-action-book {
	background: var(--color-accent-lime);
	color: #fff;
}

.dcm-btn-action-book:hover {
	background: #65A30D;
	color: #fff;
}

.dcm-btn-action-save {
	background: #16A34A;
	color: #fff;
}

.dcm-btn-action-save:hover {
	background: #15803D;
	color: #fff;
}

.dcm-btn-action-cancel {
	background: var(--color-bg-tertiary);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.dcm-btn-action-cancel:hover {
	background: var(--color-bg-secondary);
	color: var(--color-text);
}

.dcm-btn-action-back {
	background: var(--color-accent-slate);
	color: #fff;
}

.dcm-btn-action-back:hover {
	background: #334155;
	color: #fff;
}

.dcm-btn-action-edit {
	background: var(--color-info);
	color: #fff;
}

.dcm-btn-action-edit:hover {
	background: #2563EB;
	color: #fff;
}

.dcm-btn-action-delete {
	background: var(--color-danger);
	color: #fff;
}

.dcm-btn-action-delete:hover {
	background: #DC2626;
	color: #fff;
}

.dcm-btn-action-view {
	color: var(--color-accent-orange);
	background: transparent;
	border: none;
}

.dcm-btn-action-view:hover {
	color: #EA580C;
	background: transparent;
}

.dcm-btn-action-calendar-nav {
	background: var(--color-primary);
	color: #fff;
}

.dcm-btn-action-calendar-nav:hover {
	background: var(--color-primary-hover);
	color: #fff;
}

.dcm-btn-action-itinerary {
	background: var(--color-accent-teal);
	color: #fff;
}

.dcm-btn-action-itinerary:hover {
	background: #0F766E;
	color: #fff;
}

.dcm-btn-action-update {
	background: var(--color-accent-purple);
	color: #fff;
}

.dcm-btn-action-update:hover {
	background: #6D28D9;
	color: #fff;
}

.dcm-btn-action-email {
	background: var(--color-accent-pink);
	color: #fff;
}

.dcm-btn-action-email:hover {
	background: #BE185D;
	color: #fff;
}

.dcm-btn-action-continue {
	background: var(--color-accent-cyan);
	color: #fff;
}

.dcm-btn-action-continue:hover {
	background: #0284C7;
	color: #fff;
}

/* ============================================
   Price List
   ============================================ */

.dcm-price-list {
	margin: var(--spacing-lg) 0;
}

.dcm-price-list-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
}

.dcm-price-list-table thead {
	background: var(--color-bg-secondary);
}

.dcm-price-list-table th {
	padding: var(--spacing-md) var(--spacing-lg);
	text-align: left;
	font-weight: 600;
	color: var(--color-text);
	border-bottom: 2px solid var(--color-border);
	font-size: 14px;
}

.dcm-price-list-table td {
	padding: var(--spacing-md) var(--spacing-lg);
	border-bottom: 1px solid var(--color-border);
	vertical-align: middle;
}

.dcm-price-list-table tbody tr:hover {
	background: var(--color-bg-secondary);
}

.dcm-price-list-table tbody tr:last-child td {
	border-bottom: none;
}

.dcm-price-list-image {
	width: 80px;
}

.dcm-price-list-image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
}

.dcm-price-list-no-image {
	color: var(--color-text-light);
	font-style: italic;
}

.dcm-price-list-title {
	font-weight: 500;
}

.dcm-price-list-title strong {
	color: var(--color-text);
}

.dcm-price-list-duration {
	color: var(--color-text-secondary);
}

.dcm-price-list-price {
	font-weight: 600;
}

.dcm-price-list-price strong {
	color: var(--color-primary);
	font-size: 16px;
}

.dcm-price-list-category,
.dcm-price-list-fitness-level,
.dcm-price-list-group-type {
	color: var(--color-text-secondary);
	font-size: 14px;
}

.dcm-price-list-description {
	color: var(--color-text-secondary);
	font-size: 14px;
	line-height: 1.5;
	max-width: 300px;
}

.dcm-price-list-link {
	text-align: center;
}

.dcm-price-list-link .dcm-btn {
	padding: var(--spacing-sm) var(--spacing-md);
	font-size: 13px;
	white-space: nowrap;
}

/* ============================================
   Tour Highlights Grid
   ============================================ */

.dcm-tour-highlights {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.dcm-tour-highlight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.dcm-tour-highlight-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	min-height: 360px;
	background: var(--color-bg-secondary);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dcm-tour-highlight-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}

.dcm-tour-highlight-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #fff;
	text-decoration: none;
	position: relative;
}

.dcm-tour-highlight-media {
	position: absolute;
	inset: 0;
}

.dcm-tour-highlight-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s ease;
}

.dcm-tour-highlight-image--placeholder {
	background: linear-gradient(135deg, #5a67d8 0%, #805ad5 100%);
}

.dcm-tour-highlight-card:hover .dcm-tour-highlight-image {
	transform: scale(1.05);
}

.dcm-tour-highlight-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.dcm-tour-highlight-content {
	position: relative;
	margin-top: auto;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	z-index: 1;
}

.dcm-tour-highlight-route {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.9);
}

.dcm-tour-highlight-title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #fff;
}

.dcm-tour-highlight-description {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dcm-tour-highlight-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.dcm-tour-highlight-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.dcm-tour-highlight-meta-item svg {
	color: rgba(255, 255, 255, 0.8);
}

.dcm-tour-highlight-cta {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
}

.dcm-tour-highlight-cta .dcm-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	font-size: 16px;
	font-weight: 600;
	border-radius: 999px;
}

.dcm-tour-highlight-cta-icon {
	font-size: 1.1em;
	line-height: 1;
}

/* ============================================
   Inline Date Calendar
   ============================================ */

.dcm-date-picker-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dcm-date-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.dcm-date-calendar-title {
	font-weight: 600;
	color: var(--color-text);
}

.dcm-date-calendar-nav {
	padding: 0.25rem 0.6rem;
	font-size: 0.85rem;
	min-width: auto;
}

.dcm-date-calendar-grid {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	padding: 0.5rem;
	background: var(--color-bg-secondary);
}

.dcm-date-calendar-row {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.15rem;
}

.dcm-date-calendar-cell {
	min-height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	border-radius: var(--radius-sm);
}

.dcm-date-calendar-weekdays .dcm-date-calendar-weekday {
	font-size: 0.75rem;
	color: var(--color-text-secondary);
	font-weight: 600;
}

.dcm-date-calendar-cell-empty {
	opacity: 0;
}

.dcm-date-calendar-unavailable {
	color: var(--color-text-secondary);
	background: transparent;
}

.dcm-date-calendar-unavailable span {
	opacity: 0.4;
}

.dcm-date-calendar-available {
	cursor: pointer;
	border: 1px solid transparent;
	background: var(--color-bg);
	color: var(--color-text);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.dcm-date-calendar-available:hover {
	transform: translateY(-1px);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}

.dcm-date-calendar-selected {
	border-color: var(--color-primary);
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	font-weight: 600;
}

.dcm-date-calendar-today:not(.dcm-date-calendar-selected) {
	border-color: var(--color-border-strong);
}

.dcm-date-calendar-available.dcm-avail-low:not(.dcm-date-calendar-selected) {
	background: rgba(245, 158, 11, 0.1);
	color: #92400e;
}

.dcm-date-calendar-available.dcm-avail-full {
	background: rgba(239, 68, 68, 0.1);
	color: #991b1b;
	cursor: not-allowed;
}

.dcm-date-calendar-available.dcm-avail-full:hover {
	transform: none;
	box-shadow: none;
}

.dcm-date-calendar-available.dcm-avail-full.dcm-date-calendar-selected {
	border-color: rgba(239, 68, 68, 0.6);
}

.dcm-date-select-hidden {
	display: none;
}

@media (max-width: 640px) {
	.dcm-tour-highlight-content {
		padding: 1.5rem;
	}

	.dcm-tour-highlight-title {
		font-size: 22px;
	}

	.dcm-tour-highlight-route {
		font-size: 12px;
	}
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
	.dcm-frontend-tours--with-sidebar .dcm-tours-layout {
		flex-direction: column;
	}

	.dcm-tours-sidebar {
		position: static;
		width: 100%;
	}
}

@media (max-width: 768px) {
	.dcm-frontend-tours,
	.dcm-frontend-tour-detail,
	.dcm-frontend-booking-form {
		padding: 1rem;
	}

	.dcm-tours-grid {
		grid-template-columns: 1fr;
	}

	.dcm-booking-steps {
		gap: 1rem;
	}

	.dcm-booking-step::after {
		display: none;
	}

	.dcm-price-list-table {
		font-size: 13px;
	}

	.dcm-price-list-table th,
	.dcm-price-list-table td {
		padding: var(--spacing-sm) var(--spacing-md);
	}

	.dcm-price-list-image {
		width: 60px;
	}

	.dcm-price-list-image img {
		width: 50px;
		height: 50px;
	}

	.dcm-price-list-description {
		max-width: 200px;
		font-size: 12px;
	}

/* Compact price breakdown tables in booking widgets and forms */
.dcm-price-breakdown-table {
	width: 100%;
	border-collapse: collapse;
}

.dcm-price-breakdown-table td {
	padding: 2px 0;
	vertical-align: top;
}

.dcm-price-breakdown-table td.dcm-price-align-right {
	text-align: right;
	white-space: nowrap;
}
}

