/* Deipskire Store: homepage layout. */

.dsk-home-page .site-content > .ast-container {
	display: block;
}

.dsk-home-wrap {
	width: 100%;
	flex: 1 1 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 0 64px;
}

.dsk-home {
	display: grid;
	gap: 40px;
}

.dsk-home .dsk-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

/* ---------- Hero ---------- */

.dsk-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: 48px;
	padding: 56px 56px;
	border: 1px solid var(--dsk-primary-border);
	border-radius: 24px;
	background:
		radial-gradient(1200px 420px at 100% 0%, var(--dsk-primary-soft) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, var(--dsk-primary-softer) 0%, #fff 100%);
	overflow: hidden;
}

.dsk-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px 14px;
	border: 1px solid var(--dsk-primary-border);
	border-radius: 999px;
	background: #fff;
	color: var(--dsk-primary);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.dsk-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dsk-primary);
	box-shadow: 0 0 0 4px var(--dsk-ring);
}

.dsk-home .dsk-hero__title {
	margin: 0 0 16px;
	color: var(--dsk-heading);
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.025em;
}

.dsk-hero__title span {
	color: var(--dsk-primary);
}

.dsk-hero__sub {
	max-width: 560px;
	margin: 0 0 28px;
	color: var(--dsk-text);
	font-size: 1.12rem;
	line-height: 1.6;
}

.dsk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.dsk-home .dsk-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px !important;
	font-size: 1.02rem !important;
	line-height: 1 !important;
	text-decoration: none;
	box-shadow: 0 10px 24px -10px var(--dsk-glow) !important;
}

.dsk-home .dsk-btn--ghost {
	background-color: #fff !important;
	color: var(--dsk-primary) !important;
	box-shadow: none !important;
}

.dsk-home .dsk-btn--ghost:hover {
	background-color: var(--dsk-primary-soft) !important;
	color: var(--dsk-primary-dark) !important;
}

.dsk-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.dsk-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--dsk-text);
	font-size: .93rem;
	font-weight: 500;
}

.dsk-hero__trust .dsk-icon {
	color: var(--dsk-primary);
}

.dsk-hero__trust a {
	color: var(--dsk-text);
	text-decoration: none;
}

.dsk-hero__trust a:hover {
	color: var(--dsk-primary);
}

/* Voucher illustration */
.dsk-hero__art {
	display: flex;
	justify-content: center;
}

.dsk-voucher {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 22px 22px 20px;
	border: 1px solid var(--dsk-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 30px 60px -24px rgba(4, 40, 16, .28), 0 2px 6px rgba(16, 24, 40, .06);
	transform: rotate(-2deg);
}

.dsk-voucher::before,
.dsk-voucher::after {
	content: "";
	position: absolute;
	top: 58%;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--dsk-primary-softer);
	border: 1px solid var(--dsk-border);
}

.dsk-voucher::before {
	left: -12px;
	clip-path: inset(0 0 0 50%);
}

.dsk-voucher::after {
	right: -12px;
	clip-path: inset(0 50% 0 0);
}

.dsk-voucher__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.dsk-voucher__status {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--dsk-primary-soft);
	color: var(--dsk-primary);
	font-size: .75rem;
	font-weight: 700;
}

.dsk-voucher__brand {
	color: var(--dsk-muted);
	font-size: .8rem;
	font-weight: 600;
}

.dsk-voucher__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}

.dsk-voucher__label {
	color: var(--dsk-muted);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.dsk-voucher__code {
	padding: 10px 14px;
	border: 1.5px dashed var(--dsk-primary-border);
	border-radius: 10px;
	background: var(--dsk-primary-softer);
	color: var(--dsk-heading);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .12em;
}

.dsk-voucher__barcode {
	height: 46px;
	margin: 16px 0 14px;
	border-radius: 4px;
	background: repeating-linear-gradient(90deg, var(--dsk-heading) 0 2px, transparent 2px 4px, var(--dsk-heading) 4px 5px, transparent 5px 8px, var(--dsk-heading) 8px 11px, transparent 11px 13px);
	opacity: .85;
}

.dsk-voucher__hint {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--dsk-primary);
	font-size: .85rem;
	font-weight: 600;
}

.dsk-voucher__hint .dsk-icon {
	width: 16px;
	height: 16px;
	flex-basis: 16px;
}

/* ---------- Redeem: form + steps ---------- */

.dsk-redeem {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	scroll-margin-top: 100px;
}

.dsk-card {
	padding: 32px;
	border: 1px solid var(--dsk-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -16px rgba(16, 24, 40, .12);
}

.dsk-home .dsk-card__title,
.dsk-home .dsk-steps__title {
	margin: 0 0 6px;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
}

.dsk-card__sub {
	margin: 0 0 22px;
	color: var(--dsk-muted);
	font-size: .98rem;
}

.dsk-steps {
	padding: 32px;
	border-radius: 20px;
	background: var(--dsk-primary);
	background-image: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%);
	color: #fff;
}

.dsk-home .dsk-steps__title {
	margin-bottom: 22px;
	color: #fff;
}

.dsk-steps__list {
	margin: 0 0 24px !important;
	padding: 0 !important;
	list-style: none;
	counter-reset: dsk-step;
}

.dsk-steps__list li {
	position: relative;
	margin: 0 0 18px;
	padding-left: 50px;
	min-height: 34px;
	display: flex;
	align-items: center;
	counter-increment: dsk-step;
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.45;
}

.dsk-steps__list li:last-child {
	margin-bottom: 0;
}

.dsk-steps__list li::before {
	content: counter(dsk-step);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	color: var(--dsk-primary);
	font-size: .95rem;
	font-weight: 800;
}

.dsk-steps__list li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 16px;
	top: calc(50% + 20px);
	width: 2px;
	height: calc(100% - 22px);
	background: rgba(255, 255, 255, .25);
}

.dsk-steps__notice {
	display: flex;
	gap: 12px;
	padding: 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: .93rem;
	line-height: 1.5;
}

.dsk-steps__notice .dsk-icon {
	margin-top: 1px;
	color: #fff;
}

.dsk-steps__notice p {
	margin: 0;
	color: rgba(255, 255, 255, .92);
}

.dsk-steps__notice p + p {
	margin-top: 6px;
}

.dsk-steps__notice a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Products ---------- */

.dsk-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.dsk-home .dsk-section-head h2 {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
}

.dsk-section-head a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--dsk-primary);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.dsk-section-head a .dsk-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

.dsk-products .woocommerce ul.products {
	margin-bottom: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 921px) {
	.dsk-home-wrap {
		padding-top: 20px;
	}

	.dsk-hero {
		grid-template-columns: 1fr;
		padding: 40px 28px;
		gap: 32px;
		text-align: center;
	}

	.dsk-hero__sub {
		margin-left: auto;
		margin-right: auto;
	}

	.dsk-hero__actions,
	.dsk-hero__trust {
		justify-content: center;
	}

	.dsk-voucher {
		max-width: 320px;
		transform: none;
	}

	.dsk-redeem {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 544px) {
	.dsk-home {
		gap: 28px;
	}

	.dsk-hero {
		padding: 32px 20px;
		border-radius: 18px;
	}

	.dsk-hero__actions .dsk-btn {
		flex: 1 1 100%;
	}

	.dsk-card,
	.dsk-steps {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.dsk-hero__art {
		display: none;
	}
}
