/**
 * Estilos para Maurice Coffee Categories
 * Shortcode: [maurice-coffee-categories]
 */

.maurice-coffee-categories-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
}

.maurice-coffee-category {
	position: relative;
	padding: 60px 20px 60px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	min-height: 600px;
	overflow-x: hidden;
}

.maurice-category-content {
	max-width: 600px;
	width: 100%;
	z-index: 2;
	position: relative;
	text-align: center;
}

/* Estilos por defecto (categoría izquierda - texto blanco) */
.maurice-coffee-category:first-child .maurice-category-small-title,
.maurice-coffee-category:first-child .maurice-category-title,
.maurice-coffee-category:first-child .maurice-category-description {
	color: #ffffff;
}

/* Estilos para categoría derecha (texto negro) */
.maurice-coffee-category:last-child .maurice-category-small-title,
.maurice-coffee-category:last-child .maurice-category-title,
.maurice-coffee-category:last-child .maurice-category-description {
	color: #1a1a1a;
}

/* Selectores específicos para el shortcode de categorías de café */
.maurice-coffee-categories-wrapper .maurice-category-small-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	display: block !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	font-family: 'Outfit', sans-serif !important;
	text-align: center !important;
	color: inherit !important;
}

.maurice-coffee-categories-wrapper .maurice-category-title,
.maurice-coffee-categories-wrapper .maurice-category-content h2.maurice-category-title,
.maurice-coffee-category .maurice-category-title {
	font-size: 53px !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	margin-bottom: 0 !important;
	margin-top: 8px !important;
	font-family: 'Fraunces', serif !important;
	letter-spacing: -0.5px !important;
	text-align: center !important;
	color: inherit !important;
}

.maurice-coffee-categories-wrapper .maurice-category-description,
.maurice-coffee-category .maurice-category-description {
	font-size: 20px !important;
	line-height: 1.6 !important;
	margin-bottom: 0 !important;
	margin-top: 12px !important;
	font-family: 'Outfit', sans-serif !important;
	font-weight: 400 !important;
	max-width: 500px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	color: inherit !important;
	margin-bottom: -110px !important;
}

/* Carrusel de productos */
.maurice-category-carousel-wrapper {
	margin: 20px auto 30px;
	max-width: 700px;
	position: relative;
	padding: 0 80px;
	width: 100%;
	box-sizing: border-box;
}

.maurice-category-carousel {
	width: 100%;
}

.maurice-carousel-item {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
}

.maurice-carousel-item img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

/* Controles de navegación del carrusel */
.maurice-category-carousel .owl-dots {
	display: none !important;
}

.maurice-category-carousel .owl-nav {
	display: block !important;
	margin: 0 !important;
}

.maurice-category-carousel .owl-nav .owl-prev,
.maurice-category-carousel .owl-nav .owl-next {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 60px !important;
	height: 60px !important;
	background-color: transparent !important;
	background: transparent !important;
	color: #1a1a1a !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	font-size: 32px !important;
	font-weight: normal !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	z-index: 5 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	font-style: normal !important;
}

.maurice-category-carousel .owl-nav .owl-prev:hover,
.maurice-category-carousel .owl-nav .owl-next:hover {
	background-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: translateY(-50%) !important;
	color: #1a1a1a !important;
}

.maurice-category-carousel .owl-nav .owl-prev {
	left: 10px !important;
}

.maurice-category-carousel .owl-nav .owl-next {
	right: 10px !important;
}

.maurice-category-carousel .owl-nav .owl-prev span,
.maurice-category-carousel .owl-nav .owl-next span {
	display: none !important;
}

.maurice-category-carousel .owl-nav .owl-prev i,
.maurice-category-carousel .owl-nav .owl-next i {
	display: block !important;
	line-height: 1 !important;
	color: #1a1a1a !important;
	font-size: 32px !important;
	font-style: normal !important;
	font-weight: normal !important;
}

.maurice-category-carousel .owl-nav .owl-prev:hover i,
.maurice-category-carousel .owl-nav .owl-next:hover i {
	color: #1a1a1a !important;
}


.maurice-category-button {
	display: inline-block;
	padding: 18px 38px;
	background-color: #1a1a1a;
	color: #ffffff !important;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 60px;
	transition: all 0.3s ease;
	font-family: 'Outfit', sans-serif;
	text-transform: none;
	letter-spacing: 0.3px;
	border: 3px solid #1a1a1a;
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.maurice-category-button:hover {
	background-color: #000000;
	color: #ffffff !important;
	border-color: #000000;
	transform: translateX(-50%);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 959px) {
	.maurice-coffee-categories-wrapper {
		grid-template-columns: 1fr;
	}
	
	.maurice-coffee-category {
		min-height: 550px;
		padding: 40px 15px 50px;
		overflow-x: hidden;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-small-title,
	.maurice-coffee-category .maurice-category-small-title {
		font-size: 16px !important;
		margin-bottom: 0 !important;
		font-family: 'Outfit', sans-serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-title,
	.maurice-coffee-categories-wrapper .maurice-category-content h2.maurice-category-title,
	.maurice-coffee-category .maurice-category-title {
		font-size: 42px !important;
		margin-bottom: 0 !important;
		font-family: 'Fraunces', serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-description,
	.maurice-coffee-category .maurice-category-description {
		font-size: 18px !important;
		margin-bottom: 0 !important;
		font-family: 'Outfit', sans-serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-category-carousel-wrapper {
		max-width: 550px;
		margin: 0 auto 30px;
		padding: 0 70px;
		width: 100%;
		box-sizing: border-box;
	}
	
	/* Flechas en tablet */
	.maurice-category-carousel .owl-nav .owl-prev,
	.maurice-category-carousel .owl-nav .owl-next {
		width: 50px !important;
		height: 50px !important;
		font-size: 28px !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-prev i,
	.maurice-category-carousel .owl-nav .owl-next i {
		font-size: 28px !important;
		color: #1a1a1a !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-prev:hover i,
	.maurice-category-carousel .owl-nav .owl-next:hover i {
		color: #1a1a1a !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-prev {
		left: 5px !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-next {
		right: 5px !important;
	}
	
	.maurice-category-button {
		bottom: 40px;
		font-size: 18px;
		padding: 16px 32px;
		border-width: 3px;
	}
}

@media (max-width: 600px) {
	.maurice-coffee-category {
		min-height: 500px;
		padding: 30px 10px 40px;
		overflow-x: hidden;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-small-title,
	.maurice-coffee-category .maurice-category-small-title {
		font-size: 16px !important;
		margin-bottom: 0 !important;
		font-family: 'Outfit', sans-serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-title,
	.maurice-coffee-categories-wrapper .maurice-category-content h2.maurice-category-title,
	.maurice-coffee-category .maurice-category-title {
		font-size: 32px !important;
		margin-bottom: 0 !important;
		font-family: 'Fraunces', serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-coffee-categories-wrapper .maurice-category-description,
	.maurice-coffee-category .maurice-category-description {
		font-size: 18px !important;
		line-height: 1.6 !important;
		margin-bottom: 0 !important;
		font-family: 'Outfit', sans-serif !important;
		text-align: center !important;
		color: inherit !important;
	}
	
	.maurice-category-carousel-wrapper {
		max-width: 100%;
		margin: 0 auto 20px;
		padding: 0 60px;
		width: 100%;
		box-sizing: border-box;
	}
	
	.maurice-carousel-item img {
		max-width: 100%;
		width: 100%;
	}
	
	/* Flechas en móvil */
	.maurice-category-carousel .owl-nav .owl-prev,
	.maurice-category-carousel .owl-nav .owl-next {
		width: 45px !important;
		height: 45px !important;
		font-size: 24px !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-prev i,
	.maurice-category-carousel .owl-nav .owl-next i {
		font-size: 24px !important;
		color: #1a1a1a !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-prev {
		left: 0 !important;
	}
	
	.maurice-category-carousel .owl-nav .owl-next {
		right: 0 !important;
	}
	
	.maurice-category-button {
		bottom: 30px;
		font-size: 16px;
		padding: 14px 28px;
		border-width: 3px;
	}
}

