/* ==========================================================================
   ZoolPlay Astra Child — home page.
   Product cards come from shop.css (same as the shop pages).
   ========================================================================== */

/* Astra's full-width container is a flex row: let the page take all of it. */
.zt-home {
	flex: 1 1 100%;
	font-family: var(--zt-font);
	min-width: 0;
	padding-bottom: 40px;
	width: 100%;
}

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

.zt-hero {
	background:
		radial-gradient(900px 420px at 88% -20%, rgba(255, 255, 255, .18), transparent 60%),
		radial-gradient(700px 380px at 0% 120%, rgba(26, 23, 44, .38), transparent 60%),
		linear-gradient(135deg, var(--zt-primary) 0%, var(--zt-primary-press) 100%);
	color: #fff;
	isolation: isolate;
	overflow: hidden;
	padding-block: 40px 92px;
	position: relative;
}

.zt-hero__bg { inset: 0; pointer-events: none; position: absolute; z-index: -1; }
.zt-hero__pad { color: rgba(255, 255, 255, .07); position: absolute; stroke-width: 1.1; }
.zt-hero__pad--1 { height: 420px; inset-block-start: -90px; inset-inline-end: -70px; transform: rotate(-14deg); width: 420px; }
.zt-hero__pad--2 { height: 260px; inset-block-end: -60px; inset-inline-start: 34%; transform: rotate(12deg); width: 260px; }

/* Text only: centered, so it fills the hero without a picture beside it. */
.zt-hero__inner { display: grid; justify-items: center; text-align: center; }
.zt-hero__content { max-width: 760px; }

.zt-hero__eyebrow {
	align-items: center;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.4;
	padding: 6px 13px;
}
.zt-hero__eyebrow .zt-icon { color: #ffd77a; height: 15px; width: 15px; }

.zt-hero .zt-hero__title {
	color: #fff;
	font: 700 32px/1.28 var(--zt-font);
	margin: 16px 0 12px;
	text-wrap: balance;
}
.zt-hero__text {
	color: rgba(255, 255, 255, .86);
	font-size: 16px;
	line-height: 1.85;
	margin: 0 auto 24px;
	max-width: 560px;
}
.zt-hero .zt-search { margin-inline: auto; max-width: 580px; text-align: start; }
.zt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

@media (min-width: 768px) {
	.zt-hero { padding-block: 56px 112px; }
	.zt-hero .zt-hero__title { font-size: 44px; }
	.zt-hero__text { font-size: 17px; }
}

@media (min-width: 1200px) {
	.zt-hero .zt-hero__title { font-size: 52px; }
}

/* Stats card overlapping the hero */
.zt-stats {
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: var(--zt-radius-lg);
	box-shadow: var(--zt-shadow-raised);
	display: grid;
	list-style: none;
	margin: -60px 0 0;
	padding: 6px;
	position: relative;
	z-index: 2;
}
.zt-stats__item {
	align-items: center;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 14px 14px;
}
.zt-stats__item + .zt-stats__item { border-top: 1px solid var(--zt-line); }
.zt-stats__icon {
	align-items: center;
	background: var(--zt-primary-soft);
	border-radius: 14px;
	color: var(--zt-primary-press);
	display: inline-flex;
	flex: none;
	height: 46px;
	justify-content: center;
	width: 46px;
}
.zt-stats__icon .zt-icon { height: 22px; width: 22px; }
.zt-stats__item strong { color: var(--zt-ink); display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
.zt-stats__item strong + span { color: var(--zt-muted); display: block; font-size: 13px; line-height: 1.5; }

/* Phones: three compact columns instead of a tall list. */
@media (max-width: 767px) {
	.zt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -52px; }
	.zt-stats__item { flex-direction: column; gap: 8px; padding: 12px 4px; text-align: center; }
	.zt-stats__item + .zt-stats__item { border-inline-start: 1px solid var(--zt-line); border-top: 0; }
	.zt-stats__icon { border-radius: 12px; height: 40px; width: 40px; }
	.zt-stats__icon .zt-icon { height: 20px; width: 20px; }
	.zt-stats__item strong { font-size: 13px; }
	.zt-stats__item strong + span { font-size: 11px; }
}

@media (min-width: 768px) {
	.zt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px; }
	.zt-stats__item { padding: 16px 18px; }
	.zt-stats__item + .zt-stats__item { border-inline-start: 1px solid var(--zt-line); border-top: 0; }
}

/* -------------------------------------------------------------------------
   Categories
   ------------------------------------------------------------------------- */

.zt-section--cats { padding-top: 34px; }
.zt-cats {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}
.zt-cats > li { margin: 0; min-width: 0; }
.zt-cat,
a.zt-cat {
	align-items: center;
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: 18px;
	color: var(--zt-ink);
	column-gap: 12px;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	grid-template-rows: auto auto;
	padding: 10px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.zt-cat:hover { border-color: rgba(var(--zt-primary-rgb), .35); box-shadow: var(--zt-shadow-card); color: var(--zt-ink); transform: translateY(-2px); }
.zt-cat__media {
	align-items: center;
	background: var(--zt-primary-soft);
	border-radius: 14px;
	display: flex;
	grid-row: 1 / 3;
	height: 56px;
	justify-content: center;
	overflow: hidden;
	width: 56px;
}
.zt-cat__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.zt-cat__letter { color: var(--zt-primary-press); font-size: 22px; font-weight: 700; }
.zt-cat__name {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	align-self: end;
	display: -webkit-box;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	overflow: hidden;
}
@media (max-width: 480px) {
	.zt-cat,
	a.zt-cat { column-gap: 10px; grid-template-columns: 48px minmax(0, 1fr); padding: 8px; }
	.zt-cat__media { height: 48px; width: 48px; }
	.zt-cat__name { font-size: 14px; }
}
.zt-cat__count { align-self: start; color: var(--zt-muted); font-size: 12px; line-height: 1.6; }

@media (min-width: 560px) { .zt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .zt-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .zt-cats { gap: 14px; } }

/* -------------------------------------------------------------------------
   How it works
   ------------------------------------------------------------------------- */

.zt-section--steps {
	background: #fff;
	border-block: 1px solid var(--zt-line);
	margin-block: 18px;
}
.zt-how {
	counter-reset: none;
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.zt-how__item {
	background: var(--zt-page);
	border: 1px solid var(--zt-line);
	border-radius: var(--zt-radius-lg);
	margin: 0;
	overflow: hidden;
	padding: 22px;
	position: relative;
}
.zt-how__num {
	color: rgba(var(--zt-primary-rgb), .12);
	font-size: 64px;
	font-weight: 700;
	inset-block-start: 4px;
	inset-inline-end: 18px;
	line-height: 1;
	position: absolute;
}
.zt-how__icon {
	align-items: center;
	background: linear-gradient(135deg, var(--zt-primary) 0%, var(--zt-primary-press) 100%);
	border-radius: 16px;
	box-shadow: 0 8px 18px rgba(var(--zt-primary-rgb), .28);
	color: #fff;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	width: 52px;
}
.zt-how__icon .zt-icon { height: 26px; width: 26px; }
.zt-how .zt-how__title { color: var(--zt-ink); font: 700 17px/1.45 var(--zt-font); margin: 16px 0 6px; }
.zt-how__text { color: var(--zt-muted); font-size: 14px; line-height: 1.85; margin: 0; }
@media (min-width: 768px) {
	.zt-how { gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zt-how__item { padding: 26px; }
}

/* -------------------------------------------------------------------------
   Features + payments
   ------------------------------------------------------------------------- */

.zt-features {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.zt-feature {
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: var(--zt-radius-lg);
	margin: 0;
	padding: 20px;
}
.zt-feature__icon {
	align-items: center;
	background: var(--zt-primary-soft);
	border-radius: 14px;
	color: var(--zt-primary-press);
	display: inline-flex;
	height: 46px;
	justify-content: center;
	width: 46px;
}
.zt-feature__icon .zt-icon { height: 22px; width: 22px; }
.zt-feature .zt-feature__title { color: var(--zt-ink); font: 700 16px/1.45 var(--zt-font); margin: 14px 0 4px; }
.zt-feature__text { color: var(--zt-muted); font-size: 14px; line-height: 1.8; margin: 0; }
@media (min-width: 560px) { .zt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .zt-features { gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.zt-paybar {
	align-items: center;
	background: var(--zt-primary-soft);
	border: 1px dashed rgba(var(--zt-primary-rgb), .32);
	border-radius: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: space-between;
	margin-top: 18px;
	padding: 16px 18px;
}
.zt-paybar__label { align-items: center; color: var(--zt-primary-press); display: flex; font-size: 15px; font-weight: 600; gap: 10px; }
.zt-paybar__label .zt-icon { height: 22px; width: 22px; }

/* -------------------------------------------------------------------------
   FAQ + support
   ------------------------------------------------------------------------- */

.zt-faq-layout { align-items: start; display: grid; gap: 24px; }
@media (min-width: 960px) {
	.zt-faq-layout { gap: 32px; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
	.zt-faq-layout--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
	.zt-help-card { position: sticky; top: 100px; }
	/* Line the card up with the first question, below the section title. */
	.zt-faq-layout:not(.zt-faq-layout--single) .zt-help-card { margin-top: 53px; }
}

.zt-faq__item {
	background: #fff;
	border: 1px solid var(--zt-line);
	border-radius: 16px;
	margin: 0 0 10px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.zt-faq__item[open] { border-color: rgba(var(--zt-primary-rgb), .35); box-shadow: var(--zt-shadow-card); }
.zt-faq__item summary {
	align-items: center;
	color: var(--zt-ink);
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.6;
	list-style: none;
	padding: 16px 18px;
}
.zt-faq__item summary::-webkit-details-marker { display: none; }
.zt-faq__item summary .zt-icon { color: var(--zt-muted); height: 20px; transition: transform .2s ease; width: 20px; }
.zt-faq__item[open] summary .zt-icon { color: var(--zt-primary); transform: rotate(180deg); }
.zt-faq__item summary:focus-visible { border-radius: 16px; outline: 3px solid var(--zt-primary-ring); }
.zt-faq__answer { color: var(--zt-text); font-size: 14.5px; line-height: 1.9; padding: 0 18px 18px; }

.zt-help-card {
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
		linear-gradient(135deg, var(--zt-primary) 0%, var(--zt-primary-press) 100%);
	border-radius: var(--zt-radius-xl);
	box-shadow: 0 18px 40px rgba(var(--zt-primary-rgb), .28);
	color: #fff;
	padding: 26px;
}
.zt-help-card__icon {
	align-items: center;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	width: 52px;
}
.zt-help-card__icon .zt-icon { height: 26px; width: 26px; }
.zt-help-card .zt-help-card__title { color: #fff; font: 700 20px/1.45 var(--zt-font); margin: 14px 0 6px; }
.zt-help-card__text { color: rgba(255, 255, 255, .86); font-size: 14.5px; line-height: 1.85; margin: 0; }
.zt-help-card__actions { display: grid; gap: 10px; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
	.zt-cat,
	.zt-faq__item summary .zt-icon { transition: none; }
}
