/* =========================================================
   ABAL GAMING - SECCIÓN ARMA TU PC
   ========================================================= */

.abal-build-pc {
	display: grid !important;
	grid-template-columns: 50%50% !important;
	align-items: stretch !important;
	gap: 0 !important;

	width: 100%;
	margin: 40px 0;

	overflow: hidden;

	border-radius: 20px;
	background: #111214;

	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.10);
}


/* Quitar espacios que pueda agregar Gutenberg */
.abal-build-pc > .wp-block-column {
	margin: 0 !important;
	padding: 0 !important;

	width: 100% !important;
	max-width: none !important;
	flex-basis: auto !important;
	min-width: 0 !important;
}


/* =========================================================
   COLUMNA IZQUIERDA - IMAGEN
   ========================================================= */

.abal-build-pc > .wp-block-column:first-child {
	position: relative;

	min-height: 420px;
	overflow: hidden;

	background: #111214;
}


/* Contenedor de imagen */
.abal-build-pc > .wp-block-column:first-child .wp-block-image {
	width: 100% !important;
	height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;
}


/* Imagen */
.abal-build-pc > .wp-block-column:first-child .wp-block-image img {
	display: block !important;

	width: 100% !important;
	height: 100% !important;
	min-height: 420px !important;

	object-fit: cover !important;
	object-position: center !important;

	border: 0 !important;
	border-radius: 0 !important;

	transition:
		transform 0.4s ease,
		filter 0.4s ease;
}


/* Efecto hover suave */
.abal-build-pc:hover
	> .wp-block-column:first-child
	.wp-block-image img {
	transform: scale(1.015);
}


/* =========================================================
   COLUMNA DERECHA - CONTENIDO
   ========================================================= */

.abal-build-pc > .wp-block-column:last-child {
	position: relative;

	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: flex-start !important;

	min-height: 420px;

	padding: 44px 52px !important;

	background:
		linear-gradient(
			135deg,
			#111214 0%,
			#161617 62%,
			#291719 100%
		);

	color: #ffffff;
}


/* =========================================================
   LÍNEA DECORATIVA BURDEOS
   ========================================================= */

abal-build-pc > .wp-block-column:last-child {
	position: relative;

	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: flex-start !important;

	min-height: 420px;

	padding: 44px 52px 44px 82px !important;

	background:
		linear-gradient(
			135deg,
			#111214 0%,
			#161617 62%,
			#291719 100%
		);

	color: #ffffff;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.abal-build-pc h2 {
	max-width: 620px;

	margin: 0 0 14px !important;
	padding: 0 !important;

	font-size: clamp(31px, 3vw, 43px);
	font-weight: 750;
	line-height: 1.08;
	letter-spacing: -0.03em;

	color: #ffffff;
}


/* =========================================================
   PÁRRAFO
   ========================================================= */

.abal-build-pc p {
	max-width: 580px;

	margin: 0 0 20px !important;
	padding: 0 !important;

	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;

	color: rgba(255, 255, 255, 0.86);
}


/* =========================================================
   LISTA
   ========================================================= */

.abal-build-pc ul {
	display: flex;
	flex-direction: column;
	gap: 8px;

	width: 100%;

	margin: 0 0 20px !important;
	padding: 0 !important;

	list-style: none !important;
}


.abal-build-pc li {
	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: none !important;

	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;

	color: #ffffff;
}


/* =========================================================
   BOTONES
   ========================================================= */

.abal-build-pc .wp-block-buttons {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;

	width: auto !important;

	margin: 0 !important;
	padding: 0 !important;
}


.abal-build-pc .wp-block-button {
	width: auto !important;

	margin: 0 !important;
	padding: 0 !important;
}


.abal-build-pc .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: auto !important;
	min-height: 48px;

	padding: 11px 24px !important;

	border: 0 !important;
	border-radius: 9px;

	background: #882826 !important;
	color: #ffffff !important;

	font-size: 14px;
	font-weight: 700;
	line-height: 1;

	text-decoration: none !important;

	box-shadow:
		0 8px 20px rgba(136, 40, 38, 0.24);

	transition:
		background-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}


.abal-build-pc .wp-block-button__link:hover {
	background: #6f1f1e !important;
	color: #ffffff !important;

	transform: translateY(-2px);

	box-shadow:
		0 11px 25px rgba(136, 40, 38, 0.32);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

@media (max-width: 1024px) and (min-width: 768px) {

	.abal-build-pc {
		grid-template-columns: 40% 60% !important;
		border-radius: 17px;
	}

	.abal-build-pc > .wp-block-column:first-child,
	.abal-build-pc > .wp-block-column:last-child,
	.abal-build-pc > .wp-block-column:first-child .wp-block-image img {
		min-height: 380px;
	}

	.abal-build-pc > .wp-block-column:last-child {
		padding: 36px 34px !important;
	}

	.abal-build-pc h2 {
		font-size: 32px;
	}

	.abal-build-pc p {
		font-size: 15px;
	}

	.abal-build-pc li {
		font-size: 14px;
	}
}

/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 767px) {

	.abal-build-pc {
		grid-template-columns: 1fr;

		margin: 26px 0;

		border-radius: 15px;
	}

	/* Imagen arriba */
	.abal-build-pc > .wp-block-column:first-child {
		min-height: 250px;
	}

	.abal-build-pc
		> .wp-block-column:first-child
		.wp-block-image img {
		min-height: 250px;
		max-height: 290px;

		object-position: center;
	}

	/* Contenido debajo */
	.abal-build-pc > .wp-block-column:last-child {
		min-height: auto;

		padding: 28px 22px 30px !important;
	}

	/* La línea pasa arriba en móvil */
	.abal-build-pc > .wp-block-column:last-child::before {
		top: 0;
		left: 22px;

		width: 60px;
		height: 4px;

		border-radius: 0 0 4px 4px;

		transform: none;
	}

	.abal-build-pc h2 {
		margin-bottom: 12px !important;

		font-size: 27px;
		line-height: 1.1;
	}

	.abal-build-pc p {
		margin-bottom: 17px !important;

		font-size: 14px;
		line-height: 1.5;
	}

	.abal-build-pc ul {
		gap: 7px;

		margin-bottom: 19px !important;
	}

	.abal-build-pc li {
		font-size: 14px;
	}

	/* Botón ancho completo en móvil */
	.abal-build-pc .wp-block-buttons {
		width: 100% !important;
	}

	.abal-build-pc .wp-block-button {
		width: 100% !important;
	}

	.abal-build-pc .wp-block-button__link {
		width: 100% !important;
		min-height: 46px;

		padding: 11px 18px !important;
	}
}

/* =========================================================
   ABAL GAMING - MARCAS
   ========================================================= */

/* TÍTULO */
.abal-marcas-titulo {
	position: relative;
	margin: 34px 0 18px !important;
	padding: 0 !important;

	text-align: center;

	font-size: clamp(26px, 2.5vw, 34px) !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.025em;

	color: #171719 !important;
}

/* Detalle burdeos bajo el título */
.abal-marcas-titulo::after {
	content: "";
	display: block;

	width: 52px;
	height: 4px;

	margin: 10px auto 0;

	background: #882826;
	border-radius: 999px;
}


/* =========================================================
   CARRUSEL
   ========================================================= */

.abal-marcas {
	width: 100% !important;

	margin: 0 0 28px !important;
	padding: 0 !important;

	overflow: hidden !important;

	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}


/* Eliminar padding/márgenes de contenedores internos */
.abal-marcas > *,
.abal-marcas > * > *,
.abal-marcas figure,
.abal-marcas .wp-block-image {
	margin-top: 0 !important;
	margin-bottom: 0 !important;

	padding-top: 0 !important;
	padding-bottom: 0 !important;
}


/* =========================================================
   DIAPOSITIVAS
   ========================================================= */

.abal-marcas [class*="slide"] {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	height: 90px !important;
	min-height: 90px !important;
	max-height: 90px !important;

	margin: 0 !important;
	padding: 0 22px !important;

	background: transparent !important;
}


/* =========================================================
   IMÁGENES / LOGOS
   ========================================================= */

.abal-marcas figure,
.abal-marcas .wp-block-image {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 100% !important;
	height: 90px !important;

	margin: 0 !important;
	padding: 0 !important;
}


.abal-marcas img {
	display: block !important;

	width: auto !important;
	height: auto !important;

	max-width: 175px !important;
	max-height: 58px !important;

	margin: 0 auto !important;
	padding: 0 !important;

	object-fit: contain !important;

	filter: grayscale(100%);
	opacity: 0.78;

	transition:
		filter 0.25s ease,
		opacity 0.25s ease,
		transform 0.25s ease;
}


/* Hover */
.abal-marcas img:hover {
	filter: grayscale(0%);
	opacity: 1;

	transform: scale(1.06);
}


/* =========================================================
   OCULTAR CONTROLES
   ========================================================= */

.abal-marcas button,
.abal-marcas [class*="arrow"],
.abal-marcas [class*="pagination"],
.abal-marcas [class*="dots"],
.abal-marcas [class*="navigation"] {
	display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.abal-marcas-titulo {
		margin-top: 28px !important;
		margin-bottom: 15px !important;

		font-size: 28px !important;
	}

	.abal-marcas [class*="slide"],
	.abal-marcas figure,
	.abal-marcas .wp-block-image {
		height: 80px !important;
		min-height: 80px !important;
		max-height: 80px !important;
	}

	.abal-marcas img {
		max-width: 145px !important;
		max-height: 50px !important;
	}
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

	.abal-marcas-titulo {
		margin: 25px 0 12px !important;

		font-size: 23px !important;
	}

	.abal-marcas-titulo::after {
		width: 42px;
		height: 3px;

		margin-top: 8px;
	}

	.abal-marcas {
		margin-bottom: 20px !important;
	}

	.abal-marcas [class*="slide"],
	.abal-marcas figure,
	.abal-marcas .wp-block-image {
		height: 65px !important;
		min-height: 65px !important;
		max-height: 65px !important;
	}

	.abal-marcas [class*="slide"] {
		padding: 0 12px !important;
	}

	.abal-marcas img {
		max-width: 110px !important;
		max-height: 40px !important;
	}
}
