/* Activyz homepage — section layouts ported from design/index.html v3.
   Everything is scoped under .az-home (the front-page wrapper) so these
   class names can't collide with Woodmart/plugin styles.
   Colors come exclusively from the token set (tokens/<skin>.css). */

.az-home { background: var(--paper); color: var(--ink); }
.az-home .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Full-bleed breakout — frees each slot from the theme's content container. */
.az-home .az-full { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ============ HERO ============ */
.az-home .hero {
	overflow: hidden;
	position: relative;
	background: radial-gradient(900px 480px at 85% -10%, var(--accent-soft), transparent 65%), var(--paper);
}
.az-home .hero .wrap {
	display: grid;
	grid-template-columns: 1.12fr .88fr;
	gap: 56px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 88px;
}
.az-home .hero h1 { font-size: clamp(3rem, 7.2vw, 5.6rem); line-height: .96; letter-spacing: .01em; }
.az-home .hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 33rem; margin: 26px 0 32px; }
.az-home .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.az-home .hero-left > * { animation: az-rise .6s ease both; }
.az-home .hero-left > .az-kicker { animation-delay: .05s; }
.az-home .hero-left > h1 { animation-delay: .16s; }
.az-home .hero-left > .hero-sub { animation-delay: .3s; }
.az-home .hero-left > .hero-ctas { animation-delay: .44s; }
@keyframes az-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.az-home .hero-visual { position: relative; min-height: 500px; }
.az-home .hero-photo {
	position: absolute;
	inset: 0;
	border: 2px solid var(--ink);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 12px 12px 0 var(--ink);
	transform: rotate(1.2deg);
	background: var(--accent-soft);
}
.az-home .hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: contrast(1.06) saturate(1.08);
	transition: transform .6s ease;
}
.az-home .hero-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	mix-blend-mode: multiply;
	background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 55%);
}
.az-home .hero-visual:hover .hero-photo img { transform: scale(1.04); }

.az-home .hv-card {
	position: absolute;
	width: 36%;
	background: var(--card);
	border: 2px solid var(--ink);
	box-shadow: var(--hard) var(--ink);
	padding: 12px 12px 10px;
	border-radius: 6px;
	transition: transform .25s ease;
	z-index: 2;
}
.az-home .hv-1 { left: -4%; bottom: -7%; transform: rotate(-5deg); }
.az-home .hv-1:hover { transform: rotate(-2deg) translateY(-6px); }
.az-home .hv-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 5px;
	border: 1.5px solid var(--line);
	overflow: hidden;
	background: linear-gradient(165deg, color-mix(in srgb, var(--gB) 20%, var(--card)), color-mix(in srgb, var(--gB) 5%, var(--card)));
}
.az-home .hv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.az-home .hv-name { font-weight: 600; font-size: .92rem; margin-top: 10px; }
.az-home .hv-price { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.az-home .hv-spin {
	position: absolute;
	z-index: 3;
	right: -4%;
	top: -7%;
	width: 128px;
	height: 128px;
	animation: az-spin 16s linear infinite;
}
@keyframes az-spin { to { transform: rotate(360deg); } }
.az-home .hv-spin circle { fill: var(--pop); stroke: var(--ink); stroke-width: 3; }
.az-home .hv-spin text { font: 700 13.5px 'Rubik', sans-serif; letter-spacing: .16em; fill: #fff; }
html[data-skin="halloween"] .az-home .hv-spin text { fill: #12240A; }
.az-home .hv-tag {
	position: absolute;
	z-index: 3;
	right: 6%;
	bottom: -4%;
	transform: rotate(-4deg);
	background: var(--accent);
	color: var(--accent-ink);
	border: 2px solid var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	font-family: 'Anton', sans-serif;
	font-size: 1rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .55rem 1rem;
}

/* ============ PROMO STRIP ============ */
.az-home .promo { border-block: 2px solid var(--ink); background: var(--support); color: var(--support-ink); }
.az-home .promo .wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 18px;
	padding-top: 22px;
	padding-bottom: 22px;
}
.az-home .promo-item { display: flex; gap: 12px; align-items: center; font-size: .95rem; font-weight: 700; }
.az-home .promo-item svg { flex: none; }

/* ============ SECTIONS ============ */
.az-home .section { padding: 72px 0 8px; }
.az-home .section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 32px; }
.az-home .section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.az-home .section-head h2 em { font-style: normal; color: var(--accent); }
.az-home .section-head > a {
	margin-left: auto;
	font-weight: 700;
	color: var(--accent);
	font-size: .95rem;
	white-space: nowrap;
	border-bottom: 2px solid var(--accent);
}

/* collections */
.az-home .collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.az-home .col-card {
	position: relative;
	border-radius: 8px;
	border: 2px solid var(--ink);
	box-shadow: var(--hard) var(--ink);
	padding: 26px 22px 20px;
	min-height: 270px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: transform .18s ease, box-shadow .18s ease;
	background: color-mix(in srgb, var(--accent) 18%, var(--card));
}
.az-home .col-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.az-home .tile-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
	filter: saturate(1.05);
}
.az-home .col-card:hover .tile-img { transform: scale(1.07); }
.az-home .col-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(10, 10, 14, .78), rgba(10, 10, 14, .05) 58%);
}
.az-home .col-card h3 {
	position: relative;
	z-index: 2;
	color: #fff;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: 1.7rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 0;
}
.az-home .col-card > span:not(.col-arrow) { position: relative; z-index: 2; color: rgba(255, 255, 255, .88); font-size: .85rem; font-weight: 600; }
.az-home .col-arrow {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--ink);
	background: var(--support);
	color: var(--support-ink);
	display: grid;
	place-items: center;
	font-weight: 700;
	transition: transform .25s ease;
}
.az-home .col-card:hover .col-arrow { transform: rotate(45deg); }

/* countdown */
.az-home .countdown {
	margin-top: 64px;
	background: var(--ink);
	color: var(--paper);
	border-block: 2px solid var(--ink);
	background-image: repeating-linear-gradient(-45deg, transparent 0 26px, color-mix(in srgb, var(--paper) 6%, transparent) 26px 52px);
}
.az-home .cd { display: flex; flex-wrap: wrap; gap: 22px 38px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.az-home .cd-kicker {
	display: block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--support);
}
html[data-skin="halloween"] .az-home .cd-kicker { color: var(--pop); }
.az-home .cd-label { font-size: 1.2rem; font-weight: 700; max-width: 24rem; }
.az-home .cd-timer { display: flex; gap: 10px; margin-left: auto; }
.az-home .cd-cell {
	background: var(--paper);
	color: var(--ink);
	border: 2px solid var(--paper);
	min-width: 70px;
	text-align: center;
	padding: 8px 6px;
	border-radius: 4px;
	box-shadow: 4px 4px 0 color-mix(in srgb, var(--paper) 35%, transparent);
}
.az-home .cd-cell b {
	display: block;
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: 1.8rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .03em;
}
.az-home .cd-cell b.tick { animation: az-pulse .35s ease; }
@keyframes az-pulse { 40% { transform: scale(1.18); color: var(--accent); } }
.az-home .cd-cell i {
	font-style: normal;
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .7;
}
.az-home .countdown .az-btn {
	border-color: var(--paper);
	background: var(--support);
	color: var(--support-ink);
	box-shadow: var(--hard) color-mix(in srgb, var(--paper) 40%, transparent);
}

/* product grid — WooCommerce [products] output styled to match the mockup cards */
.az-home .products.columns-4 { margin-top: 0; }
.az-home ul.products li.product {
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: 8px;
	padding: 14px;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform .18s ease, box-shadow .18s ease;
}
.az-home ul.products li.product:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--ink); }
.az-home ul.products li.product img { border-radius: 5px; border: 1.5px solid var(--line); }
.az-home ul.products li.product .price { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============ BRAND STRIP ============ */
.az-home .brandstrip {
	position: relative;
	background: var(--accent);
	color: var(--accent-ink);
	overflow: hidden;
	border-block: 2px solid var(--ink);
	margin-top: 64px;
}
.az-home .brandstrip .wrap { padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.az-home .brandstrip h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 46rem; color: var(--accent-ink); }
.az-home .brandstrip .wrap > p { margin-top: 18px; max-width: 38rem; opacity: .92; font-size: 1.05rem; }
.az-home .bs-yz {
	position: absolute;
	right: -50px;
	bottom: -110px;
	font-family: 'Anton', sans-serif;
	font-size: 24rem;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2.5px color-mix(in srgb, var(--accent-ink) 35%, transparent);
	pointer-events: none;
	user-select: none;
	animation: az-floaty 7s ease-in-out infinite alternate;
}
@keyframes az-floaty { to { transform: translateY(-18px) rotate(-2deg); } }
.az-home .bs-stats { display: flex; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.az-home .bs-stat b { display: block; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 2.6rem; letter-spacing: .02em; }
.az-home .bs-stat span { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.az-home .pols { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.az-home .pol {
	margin: 0;
	background: #FDFDFB;
	padding: 10px 10px 12px;
	border: 2px solid var(--ink);
	box-shadow: 8px 8px 0 rgba(0, 0, 0, .28);
	transform: rotate(var(--r, 0deg));
	width: 210px;
	position: relative;
	transition: transform .25s ease;
	z-index: 1;
}
.az-home .pol:hover { transform: rotate(0deg) scale(1.06); z-index: 3; }
.az-home .pol::before {
	content: "";
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%) rotate(-3deg);
	width: 80px;
	height: 22px;
	background: color-mix(in srgb, var(--support) 80%, transparent);
	border: 1px solid rgba(0, 0, 0, .1);
	z-index: 2;
}
.az-home .pol img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; display: block; filter: saturate(1.06); }
.az-home .pol figcaption { font-size: .78rem; font-weight: 600; color: #23201A; text-align: center; margin-top: 9px; }

/* ============ NEWSLETTER ============ */
.az-home .newsletter .wrap { padding-top: 72px; padding-bottom: 80px; max-width: 720px; }
.az-home .nl-card {
	background: var(--card);
	border: 2px solid var(--ink);
	box-shadow: var(--hard) var(--ink);
	border-radius: 10px;
	padding: 44px 40px;
	text-align: center;
}
.az-home .nl-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.az-home .nl-card h2 em {
	font-style: normal;
	background: var(--support);
	color: var(--support-ink);
	padding: 0 .35em;
	display: inline-block;
	transform: rotate(-1.5deg);
}
.az-home .nl-card p { color: var(--muted); margin: 14px 0 26px; }
.az-home .nl-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.az-home .nl-form input[type="email"] {
	flex: 1;
	min-width: 220px;
	padding: .9rem 1.1rem;
	border: 2px solid var(--ink);
	border-radius: 3px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.az-home .nl-form input::placeholder { color: var(--muted); }
.az-home .nl-form .az-btn { cursor: pointer; font: inherit; font-weight: 700; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
	.az-home .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
	.az-home .hero-visual { min-height: 340px; }
	.az-home .cd-timer { margin-left: 0; }
	.az-home .bs-yz { font-size: 13rem; right: -30px; bottom: -60px; }
	.az-divider span { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
	.az-home .hero-left > *, .az-home .hv-spin, .az-home .bs-yz, .az-home .cd-cell b.tick { animation: none !important; }
	.az-home .hero-photo img, .az-home .tile-img, .az-home .col-card, .az-home .pol { transition: none; }
}
