/**
 * Payment and shipping section.
 *
 * Seção visual para formas de pagamento e envio.
 *
 * @package NexoBase
 */

.nexo-payment-shipping-section {
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 24px;
	padding-left: 24px;
}

.nexo-payment-shipping-section *,
.nexo-payment-shipping-section *::before,
.nexo-payment-shipping-section *::after {
	box-sizing: border-box;
}

.nexo-payment-shipping-section__header {
	margin-bottom: 36px;
}

.nexo-payment-shipping-section__title {
	margin: 0 0 26px;
	color: #25292a;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.nexo-payment-shipping-section__intro {
	max-width: 720px;
	margin: 0;
	color: #25292a;
	font-size: 13px;
	line-height: 1.5;
}

.nexo-payment-shipping-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px 28px;
	align-items: stretch;
	width: 100%;
}

.nexo-payment-shipping-section__header,
.nexo-payment-shipping-section__grid,
.nexo-payment-shipping-section__cta {
	width: 100%;
}

.nexo-payment-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 176px;
	padding: 42px;
	border-radius: 7px;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
}

.nexo-payment-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.74) 0%,
		rgba(0, 0, 0, 0.50) 46%,
		rgba(0, 0, 0, 0.18) 100%
	);
	pointer-events: none;
}

.nexo-payment-card--featured {
	grid-row: span 2;
	min-height: 374px;
}

.nexo-payment-card--small {
	min-height: 180px;
}

.nexo-payment-card--bndes {
	background-image: url("https://testdev.iw8api.com.br/wp-content/uploads/2026/05/Cartao-BNDES.png");
}

.nexo-payment-card--boleto {
	background-image: url("https://testdev.iw8api.com.br/wp-content/uploads/2026/05/boleto.png");
}

.nexo-payment-card--pix {
	background-image: url("https://testdev.iw8api.com.br/wp-content/uploads/2026/05/pix.png");
}

.nexo-payment-card--boleto::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.62) 0%,
		rgba(0, 0, 0, 0.46) 48%,
		rgba(0, 0, 0, 0.20) 100%
	);
}

.nexo-payment-card__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 430px;
}

.nexo-payment-card__title {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.nexo-payment-card--small .nexo-payment-card__title {
	margin-bottom: 12px;
	font-size: 24px;
}

.nexo-payment-card__text {
	max-width: 360px;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	line-height: 1.35;
}

.nexo-payment-shipping-section__cta {
	display: flex;
	justify-content: flex-end;
	margin-top: 54px;
}

.nexo-payment-shipping-section__cta .nexo-cta-button-wrap {
	width: auto;
	margin: 0;
}

.nexo-payment-shipping-section__cta .nexo-cta-button {
	min-width: 336px;
	min-height: 58px;
	padding-right: 26px;
	padding-left: 30px;
	border-radius: 7px;
	font-size: var(--nexo-cta-button-font-size, 12px);
	font-weight: 800;
}

.nexo-payment-shipping-section__cta {
	display: flex;
	justify-content: flex-end;
	margin-top: 54px;
	--nexo-whatsapp-icon-size: 25px;
	--nexo-whatsapp-icon-gap: 14px;
	--nexo-cta-label-offset-y: -2px;
}

@media (max-width: 1024px) {
	.nexo-payment-shipping-section__title {
		font-size: 32px;
	}

	.nexo-payment-shipping-section__grid {
		gap: 14px;
	}

	.nexo-payment-card {
		padding: 32px;
	}

	.nexo-payment-card__title {
		font-size: 23px;
	}
}

@media (max-width: 767px) {
	.nexo-payment-shipping-section__header {
		margin-bottom: 28px;
	}

	.nexo-payment-shipping-section__title {
		font-size: 28px;
	}

	.nexo-payment-shipping-section__grid {
		grid-template-columns: 1fr;
	}

	.nexo-payment-card,
	.nexo-payment-card--featured {
		grid-row: auto;
		min-height: 260px;
		padding: 28px 24px;
	}

	.nexo-payment-card--small {
		min-height: 220px;
	}

	.nexo-payment-card__title,
	.nexo-payment-card--small .nexo-payment-card__title {
		font-size: 22px;
	}

	.nexo-payment-card__text {
		font-size: 13px;
	}

	.nexo-payment-shipping-section__cta {
		justify-content: stretch;
		margin-top: 28px;
	}

	.nexo-payment-shipping-section__cta .nexo-cta-button-wrap,
	.nexo-payment-shipping-section__cta .nexo-cta-button {
		width: 100%;
	}

	.nexo-payment-shipping-section__cta .nexo-cta-button {
		min-width: 0;
	}
}