body {
	background: transparent;
	color: var(--black);
	position: relative;

	p {
		color: var(--black);
	}
}

.grid {
	height: 100%;
	display: flex;
	flex-direction: row;
}

.image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 40%;
	overflow: hidden;
}

html:has(dialog[open]) {
  overflow: hidden;
}

#contactDialog {
	width: 420px;
	max-width: calc(100% - 1rem);
	box-shadow: 4px 4px 0 var(--black);
	padding: 2rem;
	border-radius: var(--card-border-radius);

	.close-dialog {
		text-align: right;

		button {
			border: none;
			background: none;
			color: var(--black);
			font-size: 1.5rem;
		}
	}
}

dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.45);
}

.swiper-slide {
	position: relative;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;

	.slide-description {
		position: absolute;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		bottom: 0;
		width: 100%;
		max-height: 100%;
		height: 100%;
		overflow: scroll;
		padding: 1.5rem;
		background-image: linear-gradient(180deg, rgba(21, 18, 31, 0) 60%, rgb(21, 18, 31, 90%) 100%);

		h5,
		p {
			text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
		}

		h5 {
			color: var(--white);
			margin-bottom: 0.25rem;
		}

		p {
			color: var(--white);
			margin: 0;
			font-size: 0.95rem;
			opacity: 1;
			font-weight: 300;
			letter-spacing: 0.025rem;
		}
	}
}

.info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem 3rem;
	padding-right: 1rem;
	width: 60%;
	gap: 3rem;

	h3 {
		word-wrap: break-word;
		font-size: 4rem;
		line-height: 1;
		margin-bottom: 0;
	}

	p {
		line-height: 1.5;
		margin: 0;
	}

	h4 {
		margin-top: 0;
		font-weight: 500;
	}

	ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		row-gap: 0.5rem;

		li {
			.feature-link {
				color: var(--violeta-oscuro);
				text-decoration: underline !important;
				text-underline-offset: 0.4rem !important;
				text-decoration-style: dotted !important;
				text-decoration-thickness: 0.12em !important;
				text-decoration-skip-ink: none;
				line-height: 2;
				user-select: none;
			}

			.feature-link:hover,
			.feature-link:active,
			.feature-link:focus {
				color: var(--accent);
				text-decoration-style: solid !important;
				text-underline-offset: 0.5rem !important;
			}
		}
	}

	.prices-container {
		display: flex;
		align-items: center;
		gap: 2rem;
		width: fit-content;

		h2 {
			margin: 0;
			line-height: 1;
			position: relative;
			display: flex;
			flex-direction: column;
			align-items: flex-end;

			span {
				margin-right: 4px;
				font-size: 0.75rem;
				line-height: 1;
				font-weight: 400;
				text-transform: uppercase;
			}
		}

		.discount {
			width: 70px;
			height: auto;
			position: absolute;
			top: -16px;
			right: -74px;
		}

		hr {
			border: none;
			border-left: 1px solid var(--violeta-oscuro);
			height: 40px;
			width: 1px;
			margin: 0;
		}
	}
}

.much-more {
	margin-top: 1.5rem !important;
	font-weight: 600;
}

.footer {
	padding: 0;
}

.close-button {
	padding: 1rem;

	button {
		border: none;
		background: none;

		i {
			line-height: 1;
			font-size: 2rem;
		}
	}
}

.close-button-mobile {
	display: none;
}

@media (max-width: 976px) {
	.grid {
		flex-direction: column;
	}

	.image {
		width: 100%;
		min-height: 250px;
		position: sticky;
		top: 60px;
		z-index: 1;
	}

	.info {
		width: 100%;
		padding: 2rem 1rem;
		padding-bottom: 7rem;
		gap: 2rem;

		h3 {
			font-size: 3rem;
			display: none;
		}
	}

	.slide-description {
		padding: 1rem !important;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none !important;
	}

	.footer {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 1rem;
		padding-top: 0;

		button {
			width: 100% !important;
		}
	}

	.footer::after {
		content: "";
		position: absolute;
		top: -40px;
		left: 0;
		width: 100%;
		height: 40px;
	}

	.close-button {
		display: none;
	}

	.close-button-mobile {
		display: flex;
		justify-content: space-between;
		align-items: center;
		min-height: 60px;
		padding: 0.5rem 1rem;
		position: sticky;
		top: 0;
		z-index: 1;

		h3 {
			margin: 0;
			font-size: 1.75rem;
		}

		button {
			border: none;
			background: none;

			i {
				line-height: 1;
				font-size: 1.5rem;
			}
		}
	}

	.prices-container {
		gap: 1.5rem !important;
		padding-left: 1rem;
	}
}
