/**
 * Gift card landing page styles.
 * This file is intentionally scoped with vs-gift-card-* classes.
 */

/* ==========================================================
   WordPress / Twenty Twenty-Five page context
   ========================================================== */

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body:has(.vs-gift-card-page) .wp-site-blocks,
body:has(.vs-gift-card-page) main,
body:has(.vs-gift-card-page) .entry-content,
body:has(.vs-gift-card-page) .wp-block-post-content {
	max-width: 100%;
}

body:has(.vs-gift-card-page) .wp-site-blocks > main,
body:has(.vs-gift-card-page) .wp-block-post-content,
body:has(.vs-gift-card-page) .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body:has(.vs-gift-card-page) .wp-block-post-content > :first-child,
body:has(.vs-gift-card-page) .entry-content > :first-child {
	margin-top: 0 !important;
}

body:has(.vs-gift-card-page) .wp-block-post-content > :where(p, div):has(.vs-gift-card-page),
body:has(.vs-gift-card-page) .entry-content > :where(p, div):has(.vs-gift-card-page) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* ==========================================================
   Page base
   ========================================================== */

.vs-gift-card-page {
	background: #ffffff;
	color: #45464a;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.vs-gift-card-page,
.vs-gift-card-page * {
	box-sizing: border-box;
}

.vs-gift-card-page img,
.vs-gift-card-page svg,
.vs-gift-card-page video,
.vs-gift-card-page canvas {
	max-width: 100%;
	height: auto;
}

.vs-gift-card-container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.vs-gift-card-container--narrow {
	width: min(860px, calc(100% - 40px));
}

/* ==========================================================
   Sections
   ========================================================== */

.vs-gift-card-hero {
	padding: clamp(44px, 6vw, 84px) 0 clamp(72px, 9vw, 128px);
}

.vs-gift-card-formats-section,
.vs-gift-card-faq-section {
	padding: clamp(72px, 9vw, 128px) 0;
}

.vs-gift-card-purchase-section,
.vs-gift-card-how-section {
	padding: clamp(72px, 9vw, 128px) 0;
	background: #f2fbfb;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.vs-gift-card-hero__inner,
.vs-gift-card-section-header {
	text-align: center;
}

.vs-gift-card-eyebrow {
	margin: 0 0 20px;
	font-weight: 800;
	color: #31a8b2;
}

.vs-gift-card-hero h1,
.vs-gift-card-section-header h2,
.vs-gift-card-faq-section h2 {
	margin: 0;
	font-size: clamp(42px, 6vw, 76px);
	line-height: .98;
	letter-spacing: -0.055em;
	color: #44454a;
}

.vs-gift-card-section-header h2,
.vs-gift-card-faq-section h2 {
	font-size: clamp(34px, 4vw, 52px);
}

.vs-gift-card-hero__intro,
.vs-gift-card-section-header p {
	max-width: 720px;
	margin: 26px auto 0;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.65;
	color: #7b8490;
}

.vs-gift-card-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 28px 0 24px;
	padding: 14px 24px;
	border-radius: 999px;
	background: #e6f8f9;
	font-weight: 800;
	color: #48636a;
}

.vs-gift-card-hero__actions,
.vs-gift-card-form-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.vs-gift-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.vs-gift-card-button--primary {
	background: #36abb3;
	color: #ffffff;
}

.vs-gift-card-button--secondary {
	background: #ffffff;
	border-color: #e3ecef;
	color: #45464a;
}

.vs-gift-card-benefits,
.vs-gift-card-universe-grid,
.vs-gift-card-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 64px;
}

.vs-gift-card-benefit-card,
.vs-gift-card-step-card,
.vs-gift-card-faq-item,
.vs-gift-card-purchase-panel,
.vs-gift-card-preview-card {
	background: #ffffff;
	border: 1px solid #dcebed;
	border-radius: 24px;
}

.vs-gift-card-benefit-card,
.vs-gift-card-step-card {
	padding: 24px;
	text-align: left;
}

.vs-gift-card-icon,
.vs-gift-card-step-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e6f8f9;
	color: #31a8b2;
	font-weight: 900;
}

.vs-gift-card-benefit-card h2,
.vs-gift-card-step-card h3,
.vs-gift-card-format-list h3,
.vs-gift-card-faq-item h3 {
	margin: 20px 0 8px;
	font-size: 18px;
	line-height: 1.25;
	color: #383a40;
}

.vs-gift-card-benefit-card p,
.vs-gift-card-step-card p,
.vs-gift-card-format-list p,
.vs-gift-card-faq-item p {
	margin: 0;
	line-height: 1.6;
	color: #7b8490;
}

.vs-gift-card-purchase-panel {
	width: min(920px, 100%);
	margin: 0 auto;
	padding: clamp(28px, 5vw, 56px);
}

.vs-gift-card-form {
	margin-top: 44px;
}

.vs-gift-card-form-step + .vs-gift-card-form-step {
	margin-top: 38px;
}

.vs-gift-card-form-step h3 {
	margin: 0 0 16px;
	font-size: 16px;
	color: #31a8b2;
}

.vs-gift-card-universe-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
}

.vs-gift-card-universe-card {
	position: relative;
}

.vs-gift-card-universe-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vs-gift-card-universe-card__content {
	display: block;
	min-height: 148px;
	padding: 24px;
	border: 1px solid #dcebed;
	border-radius: 22px;
	cursor: pointer;
}

.vs-gift-card-universe-card input:checked + .vs-gift-card-universe-card__content {
	border-color: #31a8b2;
	box-shadow: 0 0 0 1px #31a8b2 inset;
}

.vs-gift-card-universe-card__price {
	display: block;
	margin-bottom: 16px;
	font-size: 22px;
	font-weight: 900;
	color: #31a8b2;
}

.vs-gift-card-universe-card strong,
.vs-gift-card-universe-card span:last-child {
	display: block;
}

.vs-gift-card-universe-card strong {
	margin-bottom: 8px;
	color: #34363b;
}

.vs-gift-card-info-box {
	margin: 18px 0 0;
	padding: 18px 20px;
	border-radius: 18px;
	background: #e6f8f9;
	color: #60747b;
}

.vs-gift-card-fields-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.vs-gift-card-fields-grid p {
	margin: 0;
}

.vs-gift-card-field-full {
	grid-column: 1 / -1;
}

.vs-gift-card-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
	color: #34363b;
}

.vs-gift-card-form input,
.vs-gift-card-form textarea {
	width: 100%;
	border: 1px solid #dcebed;
	border-radius: 18px;
	padding: 16px 18px;
	font: inherit;
	color: #45464a;
}

.vs-gift-card-form-footer {
	justify-content: space-between;
	margin-top: 32px;
}

.vs-gift-card-form-footer p {
	margin: 0;
	color: #7b8490;
}

.vs-gift-card-formats-layout {
	display: grid;
	grid-template-columns: .95fr 1fr;
	gap: clamp(36px, 6vw, 88px);
	align-items: center;
	margin-top: 64px;
}

.vs-gift-card-preview-card {
	padding: 36px;
	min-height: 420px;
	position: relative;
	overflow: hidden;
}

.vs-gift-card-preview-card::before {
	content: '';
	position: absolute;
	top: 40px;
	right: 32px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: #e6f8f9;
}

.vs-gift-card-preview-card__brand {
	position: relative;
	z-index: 1;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #31a8b2;
}

.vs-gift-card-preview-card h3 {
	position: relative;
	z-index: 1;
	margin: 58px 0 28px;
	font-size: 36px;
	line-height: 1;
	color: #44454a;
}

.vs-gift-card-preview-card__footer {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 72px;
}

.vs-gift-card-preview-card__qr {
	width: 92px;
	height: 92px;
	border-radius: 16px;
	background: repeating-linear-gradient(90deg, #72777a 0 10px, transparent 10px 18px), repeating-linear-gradient(0deg, #72777a 0 10px, transparent 10px 18px);
}

.vs-gift-card-format-list {
	display: grid;
	gap: 30px;
}

.vs-gift-card-format-list article {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 18px;
}

.vs-gift-card-steps {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vs-gift-card-faq-section h2 {
	text-align: center;
	margin-bottom: 44px;
}

.vs-gift-card-faq-list {
	display: grid;
	gap: 16px;
}

.vs-gift-card-faq-item {
	padding: 24px 28px;
}

.vs-gift-card-faq-item h3 {
	margin-top: 0;
}

.vs-gift-card-universe-card,
.vs-gift-card-benefit-card,
.vs-gift-card-step-card,
.vs-gift-card-faq-item,
.vs-gift-card-purchase-panel,
.vs-gift-card-preview-card,
.vs-gift-card-format-list article {
	min-width: 0;
}

@media (max-width: 980px) {
	.vs-gift-card-benefits,
	.vs-gift-card-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-gift-card-universe-grid,
	.vs-gift-card-formats-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.vs-gift-card-container,
	.vs-gift-card-container--narrow {
		width: min(100% - 28px, 1120px);
	}

	.vs-gift-card-benefits,
	.vs-gift-card-steps,
	.vs-gift-card-fields-grid {
		grid-template-columns: 1fr;
	}

	.vs-gift-card-form-footer {
		justify-content: center;
		text-align: center;
	}
}
