/* Zillions homepage — mockup layout (clean sans + orange accent) */
.zillions-home {
	--z-ink: #1a1a1a;
	--z-muted: #6b6b6b;
	--z-soft: #8a8a8a;
	--z-line: #ebebeb;
	--z-orange: #fa4700;
	--z-orange-hover: #e04000;
	--z-surface: #f4f4f4;
	--z-surface-2: #f7f7f7;
	--z-font: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
	font-family: var(--z-font);
	color: var(--z-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

.zillions-home-body .wp-site-blocks > header {
	margin-bottom: 0;
}

.zillions-home a {
	color: inherit;
	text-decoration: none;
}

.zillions-home__inner {
	width: min(1240px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.zillions-home-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* —— Hero —— */
.zillions-home-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(420px, 62vw, 560px);
	display: grid;
	align-items: center;
	overflow: hidden;
	background: #ddd;
}

.zillions-home-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.zillions-home-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: z-home-fade 0.9s ease both;
}

.zillions-home-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 42%, transparent 68%);
	pointer-events: none;
}

.zillions-home-hero__content {
	width: min(1240px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 3.5rem 0;
	max-width: 34rem;
	animation: z-home-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zillions-home-hero__headline {
	margin: 0 0 0.85rem;
	font-size: clamp(2.1rem, 4.2vw, 3.15rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: var(--z-ink);
}

.zillions-home-hero__lede {
	margin: 0 0 1.5rem;
	max-width: 26rem;
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 400;
	color: #3a3a3a;
}

.zillions-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.zillions-home-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	display: flex;
	gap: 0.45rem;
	z-index: 2;
}

.zillions-home-hero__dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.zillions-home-hero__dots span.is-active {
	background: var(--z-orange);
	box-shadow: none;
}

/* —— Buttons —— */
.z-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.75rem;
	padding: 0.65rem 1.2rem;
	border-radius: 4px;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.z-btn:hover,
.z-btn:focus-visible {
	transform: translateY(-1px);
}

.z-btn--orange {
	background: var(--z-orange);
	color: #fff !important;
	border-color: var(--z-orange);
}

.z-btn--orange:hover,
.z-btn--orange:focus-visible {
	background: var(--z-orange-hover);
	border-color: var(--z-orange-hover);
}

.z-btn--white {
	background: #fff;
	color: var(--z-ink) !important;
	border-color: rgba(0, 0, 0, 0.14);
}

.z-btn--white:hover,
.z-btn--white:focus-visible {
	border-color: rgba(0, 0, 0, 0.35);
}

.z-btn--ghost-light {
	background: rgba(255, 255, 255, 0.92);
	color: var(--z-ink) !important;
	border-color: transparent;
}

.z-link {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--z-ink);
}

.z-link:hover {
	color: var(--z-orange);
}

/* —— Section heads —— */
.zillions-home-section {
	padding: 3.25rem 0 0.5rem;
}

.zillions-home-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.zillions-home-section__head h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

/* —— Categories —— */
.zillions-home-cats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.1rem;
}

@media (min-width: 700px) {
	.zillions-home-cats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.zillions-home-cats__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 1.15rem;
	}
}

.zillions-home-cat {
	display: block;
	color: inherit !important;
}

.zillions-home-cat__media {
	aspect-ratio: 1;
	background: var(--z-surface);
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.zillions-home-cat__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.zillions-home-cat:hover img,
.zillions-home-cat:focus-visible img {
	transform: scale(1.04);
}

.zillions-home-cat__name {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.zillions-home-cat__cta {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--z-muted);
}

.zillions-home-cat:hover .zillions-home-cat__cta {
	color: var(--z-orange);
}

/* —— Featured products —— */
.zillions-home-products {
	padding-bottom: 1rem;
}

.zillions-home-products__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 700px) {
	.zillions-home-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.zillions-home-products__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1.35rem 1.1rem;
	}
}

.zillions-home-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.zillions-home-product__media {
	position: relative;
	aspect-ratio: 1;
	background: var(--z-surface-2);
	margin-bottom: 0.85rem;
	overflow: hidden;
}

.zillions-home-product__media a {
	display: block;
	height: 100%;
}

.zillions-home-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zillions-home-product__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: #c5c5c5;
	font-size: 0.75rem;
}

.zillions-home-product__wish {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--z-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.zillions-home-product__wish svg {
	width: 1rem;
	height: 1rem;
}

.zillions-home-product__wish:hover {
	color: var(--z-orange);
}

.zillions-home-product__title {
	margin: 0 0 0.2rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.zillions-home-product__title a:hover {
	color: var(--z-orange);
}

.zillions-home-product__meta {
	margin: 0 0 0.45rem;
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--z-soft);
}

.zillions-home-product__price {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.zillions-home-product__price del {
	color: var(--z-soft);
	font-weight: 500;
	margin-right: 0.35rem;
}

/* —— Promo banners —— */
.zillions-home-promos {
	padding: 2.75rem 0 0.5rem;
}

.zillions-home-promos__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 800px) {
	.zillions-home-promos__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.15rem;
	}
}

.zillions-home-promo {
	position: relative;
	isolation: isolate;
	min-height: 280px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	color: #fff;
}

.zillions-home-promo__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.zillions-home-promo__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.zillions-home-promo:hover .zillions-home-promo__media img {
	transform: scale(1.04);
}

.zillions-home-promo__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent 20%, rgba(20, 20, 20, 0.62) 100%);
}

.zillions-home-promo__content {
	padding: 1.6rem 1.5rem;
	max-width: 22rem;
}

.zillions-home-promo__content h3 {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.zillions-home-promo__content p {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

/* —— Services —— */
.zillions-home-services {
	margin-top: 2.75rem;
	padding: 1.75rem 0;
	background: var(--z-surface-2);
}

.zillions-home-services__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1rem;
}

@media (min-width: 900px) {
	.zillions-home-services__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.zillions-home-service {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.zillions-home-service__icon {
	flex: 0 0 auto;
	width: 1.65rem;
	height: 1.65rem;
	color: var(--z-ink);
	margin-top: 0.1rem;
}

.zillions-home-service__icon svg {
	width: 100%;
	height: 100%;
}

.zillions-home-service strong {
	display: block;
	margin: 0 0 0.15rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.zillions-home-service span {
	display: block;
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--z-muted);
}

/* —— Home footer —— */
.zillions-home-footer {
	margin-top: 0;
	padding: 3rem 0 1.25rem;
	background: #fff;
	border-top: 1px solid var(--z-line);
	color: var(--z-ink);
}

.zillions-home-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem 1.5rem;
	padding-bottom: 2rem;
}

@media (min-width: 900px) {
	.zillions-home-footer__top {
		grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr;
	}
}

.zillions-home-footer__brand-name {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.zillions-home-footer__brand p {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--z-muted);
	max-width: 16rem;
}

.zillions-home-footer__social {
	display: flex;
	gap: 0.75rem;
}

.zillions-home-footer__social a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid var(--z-line);
	color: var(--z-ink);
}

.zillions-home-footer__social a:hover {
	border-color: var(--z-orange);
	color: var(--z-orange);
}

.zillions-home-footer__social svg {
	width: 0.95rem;
	height: 0.95rem;
}

.zillions-home-footer h4 {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	font-weight: 700;
}

.zillions-home-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zillions-home-footer li + li {
	margin-top: 0.45rem;
}

.zillions-home-footer li a {
	font-size: 0.88rem;
	color: var(--z-muted);
}

.zillions-home-footer li a:hover {
	color: var(--z-orange);
}

.zillions-home-footer__news p {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--z-muted);
}

.zillions-home-footer__form {
	display: flex;
	border: 1px solid var(--z-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.zillions-home-footer__form input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.88rem;
	outline: none;
}

.zillions-home-footer__form button {
	border: 0;
	background: var(--z-orange);
	color: #fff;
	padding: 0 0.9rem;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.zillions-home-footer__form button:hover {
	background: var(--z-orange-hover);
}

.zillions-home-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--z-line);
	font-size: 0.8rem;
	color: var(--z-muted);
}

.zillions-home-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.1rem;
}

.zillions-home-footer__legal a:hover {
	color: var(--z-ink);
}

/* Hide default theme footer on this landing — we render a matching footer */
.zillions-home-body .wp-site-blocks > footer.wp-block-template-part {
	display: none;
}

@keyframes z-home-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes z-home-fade {
	from { opacity: 0.7; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.zillions-home-hero__media img,
	.zillions-home-hero__content,
	.zillions-home-cat__media img,
	.zillions-home-promo__media img {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
