/* wrapper */
.cs-carousel-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	position: relative;
}

/* Filtros */
.cs-filters {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.cs-filter-btn {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 10px 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #666;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0,0,0,0.02);
	white-space: nowrap;
	flex: 1 1 auto;
}

.cs-filter-btn:hover {
	border-color: #003399;
	color: #003399;
}

.cs-filter-btn.active {
	background: #003399;
	color: #fff;
	border-color: #003399;
}

.cs-filter-btn.active .cs-filter-icon svg {
	fill: #fff;
}

.cs-filter-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}
.cs-filter-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* Swiper Container */
.cs-swiper {
	padding: 20px 40px; /* Espacio para las flechas */
	position: relative;
}

/* Tarjetas */
.cs-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 15px rgba(0,0,0,0.05);
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.cs-card-img {
	width: 100%;
	padding-top: 65%; /* aspect ratio */
	position: relative;
	overflow: hidden;
}
.cs-card-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-card-content {
	padding: 25px 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.cs-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #333;
	line-height: 1.4;
	min-height: 2.8em;
	/* Truncar a 2 líneas */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cs-card-desc {
	font-size: 0.9rem;
	color: #777;
	margin: 0 0 20px 0;
	line-height: 1.5;
	flex-grow: 1;
	
	/* Truncar texto a 3 líneas */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cs-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	border-top: 1px solid #f0f0f0;
	padding-top: 15px;
}

.cs-card-price {
	font-weight: 700;
	color: #003399;
	font-size: 1.1rem;
}

.cs-card-link {
	color: #cda86f;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s;
}
.cs-card-link:hover {
	color: #b5925a;
}

/* Boton Inferior */
.cs-bottom-btn-wrapper {
	text-align: center;
	margin-top: 40px;
}
.cs-bottom-btn {
	display: inline-block;
	background: #003399;
	color: #fff;
	padding: 15px 40px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s;
}
.cs-bottom-btn:hover {
	background: #002266;
	color: #fff;
}

/* Swiper Nav */
.swiper-button-prev.cs-swiper-prev, 
.swiper-button-next.cs-swiper-next {
	width: 40px !important;
	height: 40px !important;
	background-color: #fff !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin-top: 0 !important;
	z-index: 10 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
}
.swiper-button-prev.cs-swiper-prev {
	left: 0px !important;
}
.swiper-button-next.cs-swiper-next {
	right: 0px !important;
}
.swiper-button-prev.cs-swiper-prev:after, 
.swiper-button-next.cs-swiper-next:after {
	color: #003399 !important;
	font-size: 18px !important;
	font-weight: bold !important;
}
.swiper-button-prev.cs-swiper-prev.swiper-button-disabled, 
.swiper-button-next.cs-swiper-next.swiper-button-disabled {
	display: none !important;
}

/* Grid layout for Grid Widget */
.cs-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	padding: 20px 0;
}

@media (min-width: 768px) {
	.cs-grid-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

}

/* =========================================
   SINGLE SERVICE STYLES
   ========================================= */

/* Galería */
.cs-single-gallery-wrapper {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.cs-single-main-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	aspect-ratio: 4/3;
}
.cs-single-thumbnails {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 5px;
}
.cs-single-thumb {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.3s ease;
}
.cs-single-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cs-single-thumb.active {
	border-color: #003399;
	opacity: 0.8;
}

/* Header (Título y precio) */
.cs-single-header {
	margin-bottom: 20px;
}
.cs-single-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin: 0 0 10px 0;
}
.cs-single-price {
	font-size: 1.5rem;
	font-weight: 600;
	color: #003399;
}

/* Descripción */
.cs-single-desc {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 20px;
}

/* Beneficios */
.cs-single-benefits {
	margin-bottom: 30px;
}
.cs-single-benefits-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}
.cs-single-benefits-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.cs-single-benefits-list li {
	position: relative;
	padding-left: 25px;
	margin-bottom: 10px;
	color: #555;
}
.cs-single-benefits-list li:before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: #cda86f;
	font-weight: bold;
}

/* Meta Info */
.cs-single-meta-wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 25px;
	margin-bottom: 30px;
}
.cs-single-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.cs-single-meta-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: #cda86f;
}
.cs-single-meta-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.cs-single-meta-content {
	display: flex;
	flex-direction: column;
}
.cs-single-meta-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #333;
}
.cs-single-meta-text {
	font-size: 0.9rem;
	color: #666;
}

/* Botón Reserva */
.cs-single-btn-wrapper {
	margin-top: 20px;
}
.cs-single-btn {
	display: inline-block;
	background: #003399;
	color: #fff;
	padding: 15px 30px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s;
	text-align: center;
	width: 100%;
	max-width: 300px;
}
.cs-single-btn:hover {
	background: #002266;
	color: #fff;
}
.cs-single-btn-sub {
	margin-top: 10px;
	font-size: 0.85rem;
	color: #777;
	display: flex;
	align-items: center;
}
