/*
Theme Name: Hallowheen
Theme URI: https://example.com/hallowheen
Author: Hallowheen
Author URI: https://example.com
Description: A dark, atmospheric Halloween theme built for WooCommerce shops. Flying bats, drifting fog, a glowing jack-o'-lantern hero, countdown to Halloween, product category grids, cursed-deal badges and a fully styled shop, cart, checkout and account experience.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hallowheen
Tags: e-commerce, blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles, dark
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
	--hw-bg: #0b0a14;
	--hw-bg-2: #110f1d;
	--hw-surface: #181528;
	--hw-surface-2: #211d35;
	--hw-border: rgba(243, 234, 215, 0.1);
	--hw-border-strong: rgba(243, 234, 215, 0.2);
	--hw-text: #f3ead7;
	--hw-muted: #a9a1bb;
	--hw-orange: #ff7a1a;
	--hw-orange-2: #ffa653;
	--hw-orange-dark: #c9540a;
	--hw-toxic: #8dff5a;
	--hw-toxic-dark: #4fc12a;
	--hw-purple: #7b3fbf;
	--hw-purple-2: #4b2a7a;
	--hw-blood: #c1121f;
	--hw-moon: #fff3c4;

	--hw-font-display: "Creepster", Impact, "Arial Black", sans-serif;
	--hw-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--hw-radius: 16px;
	--hw-radius-sm: 10px;
	--hw-container: 1240px;
	--hw-gutter: clamp(16px, 4vw, 32px);
	--hw-header-h: 76px;

	--hw-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	--hw-shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
	--hw-glow-orange: 0 0 32px rgba(255, 122, 26, 0.45);
	--hw-glow-toxic: 0 0 32px rgba(141, 255, 90, 0.4);
	--hw-glow-purple: 0 0 40px rgba(123, 63, 191, 0.45);

	--hw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   2. Base
   ========================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--hw-bg);
	color: var(--hw-text);
	font-family: var(--hw-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	background-image:
		radial-gradient(ellipse at 20% 0%, rgba(123, 63, 191, 0.14), transparent 55%),
		radial-gradient(ellipse at 80% 100%, rgba(255, 122, 26, 0.08), transparent 50%);
	background-attachment: fixed;
}

body.menu-open,
body.search-open,
body.filters-open {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--hw-orange-2);
	text-decoration: none;
	transition: color 0.25s var(--hw-ease);
}

a:hover,
a:focus {
	color: var(--hw-toxic);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--hw-toxic);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	line-height: 1.15;
	color: var(--hw-text);
	font-weight: 800;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
	margin: 0 0 1.25em;
}

ul,
ol {
	padding-left: 1.4em;
}

blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-left: 4px solid var(--hw-orange);
	background: var(--hw-surface);
	border-radius: 0 var(--hw-radius-sm) var(--hw-radius-sm) 0;
	font-style: italic;
	color: var(--hw-muted);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.92em;
}

pre {
	padding: 1.2em;
	overflow: auto;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius-sm);
}

code {
	padding: 0.15em 0.4em;
	background: var(--hw-surface-2);
	border-radius: 4px;
}

pre code {
	padding: 0;
	background: none;
}

hr {
	border: 0;
	height: 1px;
	background: var(--hw-border);
	margin: 2.5em 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
}

th,
td {
	padding: 0.75em 1em;
	text-align: left;
	border-bottom: 1px solid var(--hw-border);
}

th {
	color: var(--hw-orange-2);
	font-weight: 700;
}

::selection {
	background: var(--hw-orange);
	color: #140a00;
}

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: var(--hw-bg);
}

::-webkit-scrollbar-thumb {
	background: var(--hw-surface-2);
	border-radius: 10px;
	border: 2px solid var(--hw-bg);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--hw-orange-dark);
}

/* Accessibility helpers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--hw-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--hw-toxic);
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
	border-radius: 8px;
	box-shadow: var(--hw-shadow-sm);
}

/* =========================================================================
   3. Layout
   ========================================================================= */
.container {
	width: 100%;
	max-width: var(--hw-container);
	margin: 0 auto;
	padding-left: var(--hw-gutter);
	padding-right: var(--hw-gutter);
}

.site {
	position: relative;
	z-index: 1;
}

.site-main {
	position: relative;
	padding-bottom: clamp(48px, 6vw, 96px);
}

.site-main--front {
	padding-bottom: 0;
}

.section {
	position: relative;
	padding: clamp(56px, 7vw, 104px) 0;
}

.section--alt {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(123, 63, 191, 0.14), transparent 60%),
		var(--hw-bg-2);
	border-top: 1px solid var(--hw-border);
	border-bottom: 1px solid var(--hw-border);
}

.section-heading {
	margin-bottom: clamp(28px, 4vw, 48px);
	text-align: center;
}

.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(28px, 4vw, 44px);
	flex-wrap: wrap;
}

.section-head-row .section-heading {
	margin-bottom: 0;
	text-align: left;
}

.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--hw-toxic);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.section-eyebrow .hw-icon {
	opacity: 0.8;
}

.section-title {
	margin: 0;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	letter-spacing: 0.02em;
	color: var(--hw-orange-2);
	text-shadow: 0 0 24px rgba(255, 122, 26, 0.35), 0 4px 0 rgba(0, 0, 0, 0.4);
}

.content-layout {
	display: grid;
	gap: 48px;
	padding-top: clamp(32px, 4vw, 56px);
}

.content-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1023px) {
	.content-layout.has-sidebar {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   4. Buttons & forms
   ========================================================================= */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.8em 1.6em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--hw-surface-2);
	color: var(--hw-text);
	font-family: var(--hw-font-body);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s var(--hw-ease), box-shadow 0.3s var(--hw-ease), background 0.3s var(--hw-ease), color 0.3s var(--hw-ease), border-color 0.3s var(--hw-ease);
	-webkit-appearance: none;
	appearance: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	color: var(--hw-text);
	background: var(--hw-purple-2);
}

.button--primary,
.wp-block-button__link,
input[type="submit"] {
	background: linear-gradient(135deg, var(--hw-orange-2), var(--hw-orange) 60%, var(--hw-orange-dark));
	color: #1a0b00;
	box-shadow: 0 8px 24px rgba(255, 122, 26, 0.3);
}

.button--primary:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: linear-gradient(135deg, var(--hw-orange-2), var(--hw-orange));
	color: #1a0b00;
	box-shadow: 0 12px 32px rgba(255, 122, 26, 0.5), var(--hw-glow-orange);
}

.button--toxic {
	background: linear-gradient(135deg, #b6ff8f, var(--hw-toxic) 60%, var(--hw-toxic-dark));
	color: #06200a;
	box-shadow: 0 8px 24px rgba(141, 255, 90, 0.25);
}

.button--toxic:hover {
	color: #06200a;
	background: linear-gradient(135deg, #c8ffa8, var(--hw-toxic));
	box-shadow: 0 12px 32px rgba(141, 255, 90, 0.45), var(--hw-glow-toxic);
}

.button--ghost {
	background: rgba(243, 234, 215, 0.04);
	border-color: var(--hw-border-strong);
	color: var(--hw-text);
	backdrop-filter: blur(6px);
}

.button--ghost:hover {
	background: rgba(243, 234, 215, 0.1);
	border-color: var(--hw-orange);
	color: var(--hw-orange-2);
}

.button--lg {
	padding: 1em 2em;
	font-size: 1.05rem;
}

.button--sm {
	padding: 0.55em 1.1em;
	font-size: 0.85rem;
}

.button .hw-icon {
	transition: transform 0.3s var(--hw-ease);
}

.button:hover .hw-icon--arrow {
	transform: translateX(4px);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.8em 1.1em;
	border: 1px solid var(--hw-border-strong);
	border-radius: var(--hw-radius-sm);
	background: var(--hw-surface);
	color: var(--hw-text);
	font-family: var(--hw-font-body);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.25s, box-shadow 0.25s;
	-webkit-appearance: none;
	appearance: none;
}

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffa653' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--hw-orange);
	box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.2);
}

::placeholder {
	color: rgba(169, 161, 187, 0.7);
}

label {
	display: block;
	margin-bottom: 0.4em;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--hw-muted);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--hw-orange);
	width: 1.05em;
	height: 1.05em;
}

/* Search form */
.hw-search-form,
.search-form {
	position: relative;
	display: flex;
}

.search-form .search-field {
	padding-right: 56px;
	border-radius: 999px;
}

.search-form .search-submit {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: 44px;
	padding: 0;
	border-radius: 999px;
	background: var(--hw-orange);
	color: #1a0b00;
}

.search-form .search-submit:hover {
	transform: none;
	background: var(--hw-orange-2);
}

/* =========================================================================
   5. Announcement bar
   ========================================================================= */
.announcement-bar {
	position: relative;
	z-index: 60;
	background: linear-gradient(90deg, var(--hw-purple-2), var(--hw-purple) 50%, var(--hw-purple-2));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	overflow: hidden;
}

.announcement-bar::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
	transform: translateX(-100%);
	animation: hw-shimmer 6s ease-in-out infinite;
	pointer-events: none;
}

.announcement-bar .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 38px;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
}

.announcement-bar .hw-icon {
	color: var(--hw-toxic);
	flex: none;
}

.announcement-bar__text {
	color: #fff;
}

a.announcement-bar__text:hover {
	color: var(--hw-toxic);
}

/* =========================================================================
   6. Header
   ========================================================================= */
.site-header {
	position: relative;
	z-index: 50;
	background: rgba(11, 10, 20, 0.85);
	border-bottom: 1px solid var(--hw-border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: box-shadow 0.3s, background 0.3s;
}

.site-header--sticky {
	position: sticky;
	top: 0;
}

.site-header.is-scrolled {
	background: rgba(11, 10, 20, 0.95);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.site-header__cobweb {
	position: absolute;
	top: -1px;
	width: 120px;
	height: 120px;
	background: url("assets/images/cobweb.svg") no-repeat top left / contain;
	opacity: 0.35;
	pointer-events: none;
}

.site-header__cobweb--left {
	left: 0;
}

.site-header__cobweb--right {
	right: 0;
	transform: scaleX(-1);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: var(--hw-header-h);
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-logo-link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hw-text);
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

.site-logo-mark {
	display: inline-flex;
	color: var(--hw-orange);
	filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.6));
	animation: hw-pulse-glow 3s ease-in-out infinite;
}

.site-title {
	font-family: var(--hw-font-display);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	letter-spacing: 0.04em;
	color: var(--hw-orange-2);
	text-shadow: 0 0 18px rgba(255, 122, 26, 0.4);
	white-space: nowrap;
	transition: color 0.3s;
}

.site-logo-link:hover .site-title {
	color: var(--hw-toxic);
	text-shadow: 0 0 18px rgba(141, 255, 90, 0.4);
}

/* Primary navigation */
.main-navigation {
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--hw-text);
	font-weight: 700;
	font-size: 0.95rem;
	transition: background 0.3s, color 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	background: rgba(255, 122, 26, 0.12);
	color: var(--hw-orange-2);
}

.main-navigation .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 2px;
	opacity: 0.7;
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 10px;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius-sm);
	box-shadow: var(--hw-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.25s var(--hw-ease), visibility 0.25s;
	z-index: 5;
}

.main-navigation .sub-menu .sub-menu {
	top: -10px;
	left: 100%;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .sub-menu a {
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 0.9rem;
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.header-action,
.header-cart__link,
.menu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--hw-text);
	cursor: pointer;
	transition: background 0.3s, color 0.3s, transform 0.3s;
}

.header-action:hover,
.header-cart__link:hover,
.menu-toggle:hover {
	background: rgba(255, 122, 26, 0.12);
	color: var(--hw-orange-2);
	transform: none;
}

.menu-toggle {
	display: none;
}

.header-cart {
	position: relative;
}

.header-cart__count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--hw-surface-2);
	color: var(--hw-muted);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
	transition: transform 0.3s var(--hw-ease), background 0.3s;
}

.header-cart__count.has-items {
	background: var(--hw-orange);
	color: #1a0b00;
	box-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
}

.header-cart__count.is-bumping {
	animation: hw-bump 0.5s var(--hw-ease);
}

.header-cart__dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 340px;
	max-width: calc(100vw - 32px);
	padding: 18px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.25s var(--hw-ease), visibility 0.25s;
	z-index: 10;
}

.header-cart__dropdown::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

.header-cart:hover .header-cart__dropdown,
.header-cart:focus-within .header-cart__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.header-cart__dropdown {
		display: none;
	}
}

/* Mobile menu */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(360px, 88vw);
	display: flex;
	flex-direction: column;
	background: var(--hw-bg-2);
	border-right: 1px solid var(--hw-border);
	box-shadow: var(--hw-shadow);
	transform: translateX(-105%);
	transition: transform 0.4s var(--hw-ease);
	z-index: 200;
	overflow-y: auto;
}

.mobile-menu.is-open {
	transform: translateX(0);
}

.mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--hw-border);
}

.mobile-menu__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hw-font-display);
	font-size: 1.4rem;
	color: var(--hw-orange-2);
}

.mobile-menu__title .hw-icon {
	color: var(--hw-orange);
}

.mobile-menu__close,
.search-overlay__close,
.shop-filters__close {
	display: inline-flex;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: rgba(243, 234, 215, 0.06);
	color: var(--hw-text);
}

.mobile-navigation {
	padding: 12px 20px;
	flex: 1;
}

.mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-navigation .sub-menu {
	padding-left: 16px;
	border-left: 1px solid var(--hw-border);
	margin: 4px 0 4px 12px;
}

.mobile-navigation .menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.mobile-navigation .menu-item-has-children > a {
	flex: 1;
}

.mobile-navigation .menu-item-has-children > .sub-menu {
	flex-basis: 100%;
}

.submenu-toggle {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--hw-muted);
}

.submenu-toggle:hover {
	background: rgba(255, 122, 26, 0.12);
	color: var(--hw-orange-2);
	transform: none;
}

.submenu-toggle svg {
	transition: transform 0.3s var(--hw-ease);
}

.submenu-toggle.is-open svg {
	transform: rotate(180deg);
}

.mobile-navigation a {
	display: block;
	padding: 12px 10px;
	border-radius: 8px;
	color: var(--hw-text);
	font-weight: 700;
	font-size: 1.05rem;
}

.mobile-navigation a:hover,
.mobile-navigation .current-menu-item > a {
	background: rgba(255, 122, 26, 0.12);
	color: var(--hw-orange-2);
}

.mobile-menu__foot {
	padding: 20px;
	border-top: 1px solid var(--hw-border);
}

.site-overlay {
	position: fixed;
	inset: 0;
	background: rgba(5, 4, 10, 0.7);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s, visibility 0.35s;
	z-index: 150;
}

.site-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Search overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--hw-gutter);
	background: rgba(8, 7, 15, 0.92);
	backdrop-filter: blur(12px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s, visibility 0.35s;
	z-index: 300;
}

.search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.search-overlay__close {
	position: absolute;
	top: 24px;
	right: 24px;
}

.search-overlay__inner {
	width: min(680px, 100%);
	transform: translateY(20px);
	transition: transform 0.4s var(--hw-ease);
}

.search-overlay.is-open .search-overlay__inner {
	transform: translateY(0);
}

.search-overlay__label {
	font-family: var(--hw-font-display);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: var(--hw-orange-2);
	text-align: center;
	margin-bottom: 24px;
	text-shadow: 0 0 24px rgba(255, 122, 26, 0.4);
}

.search-overlay .search-field {
	padding: 1.1em 4em 1.1em 1.5em;
	font-size: 1.15rem;
	background: var(--hw-surface);
}

.search-overlay .search-submit {
	width: 52px;
}

/* =========================================================================
   7. Ambient layer: bats & spider
   ========================================================================= */
.hw-ambient {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 40;
	overflow: hidden;
}

.hw-bats {
	position: absolute;
	inset: 0;
}

.hw-bat {
	position: absolute;
	top: var(--y, 20%);
	left: -8vw;
	width: var(--size, 32px);
	height: var(--size, 32px);
	color: #050409;
	opacity: 0.85;
	animation: hw-bat-fly var(--dur, 22s) linear infinite;
	animation-delay: var(--delay, 0s);
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
}

.hw-bat__inner {
	display: block;
	width: 100%;
	height: 100%;
	animation: hw-bat-bob var(--bob, 3s) ease-in-out infinite alternate;
}

.hw-bat svg {
	display: block;
	width: 100%;
	height: 100%;
	color: #17131f;
	animation: hw-bat-flap var(--flap, 0.35s) ease-in-out infinite alternate;
	transform-origin: 50% 50%;
}

.hw-spider {
	position: absolute;
	top: 0;
	right: 12%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateY(-140px);
	animation: hw-spider-drop 14s ease-in-out infinite;
}

.hw-spider__thread {
	display: block;
	width: 1px;
	height: 120px;
	background: linear-gradient(to bottom, transparent, rgba(243, 234, 215, 0.6));
}

.hw-spider__body {
	display: block;
	color: #1a1424;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
	animation: hw-spider-sway 3s ease-in-out infinite;
	transform-origin: 50% -120px;
}

/* =========================================================================
   8. Hero
   ========================================================================= */
.hero {
	position: relative;
	min-height: calc(100vh - var(--hw-header-h) - 38px);
	display: flex;
	align-items: center;
	padding: clamp(64px, 8vw, 120px) 0 clamp(120px, 16vw, 220px);
	overflow: hidden;
	background:
		radial-gradient(ellipse at 70% 20%, rgba(123, 63, 191, 0.28), transparent 50%),
		linear-gradient(to bottom, #07060d 0%, #120f22 45%, #2a1440 100%);
	isolation: isolate;
}

.hero__stars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero__moon {
	position: absolute;
	top: 6%;
	right: 4%;
	width: clamp(120px, 16vw, 220px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fffbe6, var(--hw-moon) 40%, #e9d79a 70%, #cdb97a 100%);
	box-shadow:
		0 0 40px rgba(255, 243, 196, 0.5),
		0 0 120px rgba(255, 243, 196, 0.35),
		0 0 260px rgba(255, 200, 120, 0.2),
		inset -18px -14px 40px rgba(180, 150, 90, 0.35);
	z-index: 1;
	animation: hw-moon-glow 6s ease-in-out infinite;
}

.hero__moon::before,
.hero__moon::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(160, 135, 80, 0.18);
}

.hero__moon::before {
	width: 22%;
	height: 22%;
	top: 30%;
	left: 25%;
}

.hero__moon::after {
	width: 14%;
	height: 14%;
	top: 60%;
	left: 55%;
}

.hero__cloud {
	position: absolute;
	height: 60px;
	width: 300px;
	border-radius: 999px;
	background: rgba(60, 45, 90, 0.45);
	filter: blur(18px);
	z-index: 2;
	opacity: 0.8;
}

.hero__cloud--1 {
	top: 14%;
	left: -300px;
	animation: hw-cloud 60s linear infinite;
}

.hero__cloud--2 {
	top: 26%;
	left: -300px;
	width: 420px;
	height: 80px;
	animation: hw-cloud 85s linear infinite;
	animation-delay: -30s;
}

.hero__hill {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: clamp(180px, 30vw, 420px);
	background: url("assets/images/haunted-hill.svg") no-repeat bottom center / cover;
	z-index: 3;
	pointer-events: none;
}

.hero__fog {
	position: absolute;
	left: -10%;
	right: -10%;
	bottom: -20px;
	height: 180px;
	background:
		radial-gradient(ellipse at 20% 80%, rgba(200, 190, 230, 0.35), transparent 55%),
		radial-gradient(ellipse at 60% 90%, rgba(200, 190, 230, 0.3), transparent 50%),
		radial-gradient(ellipse at 90% 70%, rgba(200, 190, 230, 0.28), transparent 50%);
	filter: blur(22px);
	z-index: 4;
	pointer-events: none;
	animation: hw-fog 24s ease-in-out infinite alternate;
}

.hero__fog--2 {
	bottom: 20px;
	height: 120px;
	opacity: 0.6;
	animation-duration: 32s;
	animation-direction: alternate-reverse;
}

.hero__lanterns {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.hero__lantern {
	position: absolute;
	top: 0;
	width: 18px;
	height: 120px;
	background:
		linear-gradient(to bottom, rgba(243, 234, 215, 0.15) 0 42px, transparent 42px),
		radial-gradient(ellipse at 50% 58px, rgba(255, 166, 83, 0.95) 0 8px, transparent 9px);
	background-repeat: no-repeat;
}

.hero__lantern::after {
	content: "";
	position: absolute;
	top: 46px;
	left: 50%;
	width: 22px;
	height: 28px;
	margin-left: -11px;
	border-radius: 4px 4px 8px 8px;
	background: linear-gradient(180deg, #ffd166, #ff7a1a 70%, #b8420a);
	box-shadow: 0 0 18px rgba(255, 122, 26, 0.8), 0 0 40px rgba(255, 122, 26, 0.35);
	animation: hw-lantern-flicker 2.4s ease-in-out infinite;
}

.hero__lantern--1 { left: 8%; height: 90px; }
.hero__lantern--2 { left: 22%; height: 130px; animation-delay: -0.6s; }
.hero__lantern--3 { right: 18%; left: auto; height: 110px; animation-delay: -1.2s; }

.hero__lantern--2::after,
.hero__lantern--3::after {
	animation-delay: inherit;
}

.hero__inner {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
}

.hero__content {
	max-width: 620px;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	margin-bottom: 20px;
	border: 1px solid rgba(141, 255, 90, 0.3);
	border-radius: 999px;
	background: rgba(141, 255, 90, 0.08);
	color: var(--hw-toxic);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	animation: hw-fade-up 0.8s var(--hw-ease) both;
}

.hero__eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hw-toxic);
	box-shadow: 0 0 10px var(--hw-toxic);
	animation: hw-blink 1.6s ease-in-out infinite;
}

.hero__title {
	margin: 0 0 20px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(3rem, 8vw, 6rem);
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--hw-orange-2);
	text-shadow:
		0 0 12px rgba(255, 122, 26, 0.6),
		0 0 40px rgba(255, 122, 26, 0.4),
		0 6px 0 rgba(0, 0, 0, 0.45);
	animation: hw-fade-up 0.9s var(--hw-ease) 0.1s both, hw-flicker 8s linear 2s infinite;
}

.hero__text {
	max-width: 520px;
	margin-bottom: 32px;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	color: var(--hw-muted);
	animation: hw-fade-up 0.9s var(--hw-ease) 0.2s both;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	animation: hw-fade-up 0.9s var(--hw-ease) 0.3s both;
}

.hero__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	color: var(--hw-muted);
	font-size: 0.88rem;
	font-weight: 700;
	animation: hw-fade-up 0.9s var(--hw-ease) 0.4s both;
}

.hero__perks li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero__perks .hw-icon {
	color: var(--hw-toxic);
}

.hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 320px;
	animation: hw-fade-in 1.2s var(--hw-ease) 0.3s both;
}

.hero__pumpkin,
.hero__image {
	position: relative;
	width: min(100%, 460px);
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(255, 122, 26, 0.35));
}

.hero__image img {
	width: 100%;
	height: auto;
}

.pumpkin-svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

.pumpkin-face {
	animation: hw-face-flicker 4s ease-in-out infinite;
}

.pumpkin-shadow {
	animation: hw-shadow-breathe 5s ease-in-out infinite;
	transform-origin: 200px 350px;
}

.pumpkin-pupil {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.12s linear;
	pointer-events: none;
}

.hero__deco {
	position: absolute;
	display: inline-flex;
	color: rgba(243, 234, 215, 0.85);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.hero__deco--ghost {
	top: 6%;
	left: 2%;
	color: rgba(243, 234, 215, 0.75);
}

.hero__deco--candy {
	bottom: 18%;
	left: -4%;
	color: var(--hw-toxic);
}

.hero__deco--bat {
	top: 14%;
	right: -2%;
	color: #231a33;
}

.hero__scroll {
	position: absolute;
	bottom: 84px;
	left: 50%;
	transform: translateX(-50%);
	width: 28px;
	height: 46px;
	border: 2px solid rgba(243, 234, 215, 0.4);
	border-radius: 999px;
	z-index: 6;
	transition: border-color 0.3s;
}

.hero__scroll span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 4px;
	background: var(--hw-orange-2);
	animation: hw-scroll-hint 1.8s ease-in-out infinite;
}

.hero__scroll:hover {
	border-color: var(--hw-orange);
}

@media (max-width: 900px) {
	.hero {
		min-height: 0;
		padding-bottom: clamp(140px, 30vw, 220px);
	}

	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__content {
		margin: 0 auto;
	}

	.hero__text {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__actions,
	.hero__perks {
		justify-content: center;
	}

	.hero__visual {
		order: -1;
		min-height: 0;
	}

	.hero__pumpkin,
	.hero__image {
		width: min(70vw, 340px);
	}

	.hero__moon {
		top: 4%;
		right: 6%;
		width: clamp(80px, 18vw, 120px);
	}

	.hero__scroll {
		display: none;
	}
}

/* =========================================================================
   9. Features strip
   ========================================================================= */
.features {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: -60px;
	z-index: 6;
}

.features__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.feature {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px;
	background: linear-gradient(160deg, var(--hw-surface-2), var(--hw-surface));
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow-sm);
	transition: transform 0.35s var(--hw-ease), border-color 0.35s, box-shadow 0.35s;
}

.feature:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 122, 26, 0.4);
	box-shadow: var(--hw-shadow-sm), var(--hw-glow-orange);
}

.feature__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 122, 26, 0.12);
	color: var(--hw-orange-2);
	transition: transform 0.35s var(--hw-ease), background 0.35s;
}

.feature:hover .feature__icon {
	transform: rotate(-8deg) scale(1.08);
	background: rgba(255, 122, 26, 0.22);
}

.feature__title {
	margin: 0 0 4px;
	font-size: 1rem;
}

.feature__text {
	margin: 0;
	font-size: 0.88rem;
	color: var(--hw-muted);
}

@media (max-width: 1023px) {
	.features__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.features {
		margin-top: -40px;
	}

	.features__list {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   10. Categories
   ========================================================================= */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 220px;
	gap: 18px;
}

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	border-radius: var(--hw-radius);
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	color: var(--hw-text);
	box-shadow: var(--hw-shadow-sm);
	transition: transform 0.4s var(--hw-ease), box-shadow 0.4s, border-color 0.4s;
}

.category-card--large {
	grid-column: span 2;
	grid-row: span 2;
}

.category-card:hover {
	transform: translateY(-6px);
	border-color: rgba(141, 255, 90, 0.4);
	box-shadow: var(--hw-shadow), var(--hw-glow-toxic);
	color: var(--hw-text);
}

.category-card__media {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 30% 20%, rgba(123, 63, 191, 0.35), transparent 60%),
		linear-gradient(160deg, var(--hw-surface-2), var(--hw-surface));
}

.category-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hw-ease), filter 0.6s;
	filter: saturate(0.9) brightness(0.85);
}

.category-card:hover .category-card__media img {
	transform: scale(1.08);
	filter: saturate(1.1) brightness(1);
}

.category-card__icon {
	color: rgba(255, 122, 26, 0.55);
	transition: transform 0.5s var(--hw-ease), color 0.5s;
	transform: translateY(-14px);
}

.category-card:hover .category-card__icon {
	color: var(--hw-orange-2);
	transform: translateY(-20px) scale(1.15) rotate(-6deg);
}

.category-card__body {
	position: relative;
	padding: 18px 20px;
	background: linear-gradient(to top, rgba(8, 7, 15, 0.95), rgba(8, 7, 15, 0.6) 70%, transparent);
}

.category-card__title {
	margin: 0 0 4px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: 1.6rem;
	letter-spacing: 0.03em;
	color: var(--hw-orange-2);
}

.category-card--large .category-card__title {
	font-size: 2.4rem;
}

.category-card__count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hw-muted);
	transition: color 0.3s, gap 0.3s;
}

.category-card:hover .category-card__count {
	color: var(--hw-toxic);
	gap: 10px;
}

@media (max-width: 900px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 200px;
	}
}

@media (max-width: 480px) {
	.category-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 180px;
	}

	.category-card--large {
		grid-column: span 1;
		grid-row: span 1;
	}
}

/* =========================================================================
   11. Countdown
   ========================================================================= */
.countdown {
	overflow: hidden;
	background: linear-gradient(135deg, #1a0f2e, #2a1440 50%, #3a1548);
	border-top: 1px solid var(--hw-border);
	border-bottom: 1px solid var(--hw-border);
}

.countdown__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 50%, rgba(255, 122, 26, 0.25), transparent 40%),
		radial-gradient(circle at 85% 50%, rgba(141, 255, 90, 0.18), transparent 40%);
	pointer-events: none;
}

.countdown__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("assets/images/cobweb.svg") no-repeat top right / 260px, url("assets/images/cobweb.svg") no-repeat bottom left / 200px;
	opacity: 0.15;
	transform: scaleY(-1);
}

.countdown__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

.countdown__copy .section-title {
	color: var(--hw-text);
	text-shadow: 0 0 24px rgba(243, 234, 215, 0.25);
}

.countdown__copy p {
	margin: 12px 0 0;
	max-width: 480px;
	color: var(--hw-muted);
}

.countdown__timer {
	display: flex;
	gap: 14px;
}

.countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 104px;
	padding: 18px 14px;
	background: rgba(8, 7, 15, 0.55);
	border: 1px solid var(--hw-border-strong);
	border-radius: var(--hw-radius);
	backdrop-filter: blur(6px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--hw-shadow-sm);
}

.countdown__value {
	font-family: var(--hw-font-display);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1;
	color: var(--hw-orange-2);
	text-shadow: 0 0 20px rgba(255, 122, 26, 0.6);
	font-variant-numeric: tabular-nums;
}

.countdown__value.is-ticking {
	animation: hw-tick 0.4s var(--hw-ease);
}

.countdown__label {
	margin-top: 6px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hw-muted);
}

.countdown__done {
	font-family: var(--hw-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	color: var(--hw-toxic);
	text-shadow: 0 0 24px rgba(141, 255, 90, 0.5);
}

@media (max-width: 900px) {
	.countdown__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.countdown__copy p {
		margin-left: auto;
		margin-right: auto;
	}

	.countdown__timer {
		justify-content: center;
		flex-wrap: wrap;
	}

	.countdown__unit {
		min-width: calc(50% - 7px);
	}
}

/* =========================================================================
   12. Promo banner
   ========================================================================= */
.promo {
	padding-top: 0;
}

.promo__card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	padding: clamp(28px, 4vw, 48px);
	overflow: hidden;
	border-radius: calc(var(--hw-radius) * 1.5);
	background:
		radial-gradient(circle at 0% 0%, rgba(141, 255, 90, 0.18), transparent 40%),
		linear-gradient(120deg, #3a1548, #6a1b3a 55%, #b1122b);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--hw-shadow);
}

.promo__web {
	position: absolute;
	top: -1px;
	width: 160px;
	height: 160px;
	background: url("assets/images/cobweb.svg") no-repeat top left / contain;
	opacity: 0.4;
	pointer-events: none;
}

.promo__web--left {
	left: -1px;
}

.promo__web--right {
	right: -1px;
	transform: scaleX(-1);
}

.promo__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--hw-toxic);
	animation: hw-wiggle 3s ease-in-out infinite;
	filter: drop-shadow(0 0 16px rgba(141, 255, 90, 0.5));
}

.promo__title {
	margin: 0 0 8px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	letter-spacing: 0.02em;
	color: #fff;
	text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.promo__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	max-width: 560px;
}

.promo__code {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 8px 14px;
	border: 1px dashed rgba(141, 255, 90, 0.55);
	border-radius: 999px;
	background: rgba(6, 32, 10, 0.35);
	color: var(--hw-toxic);
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	cursor: pointer;
}

.promo__code:hover {
	background: rgba(141, 255, 90, 0.16);
	transform: none;
	color: var(--hw-toxic);
}

@media (max-width: 900px) {
	.promo__card {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}
}

/* =========================================================================
   13. Blog & content
   ========================================================================= */
.post-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.post-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.content-area .post-grid {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 900px) {
	.post-grid,
	.post-grid--3 {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow-sm);
	transition: transform 0.4s var(--hw-ease), border-color 0.4s, box-shadow 0.4s;
}

.post-card:hover {
	transform: translateY(-6px);
	border-color: rgba(123, 63, 191, 0.5);
	box-shadow: var(--hw-shadow), var(--hw-glow-purple);
}

.post-card .post-thumbnail {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hw-surface-2);
}

.post-card .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hw-ease);
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.06);
}

.post-thumbnail--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 243, 196, 0.5);
	background: radial-gradient(circle at 50% 40%, rgba(123, 63, 191, 0.3), var(--hw-surface-2) 70%);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-bottom: 10px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--hw-muted);
}

.entry-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-meta .hw-icon {
	color: var(--hw-orange);
}

.entry-meta a {
	color: var(--hw-muted);
}

.entry-meta a:hover {
	color: var(--hw-orange-2);
}

.post-type-label {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(123, 63, 191, 0.25);
	color: #c9a9ef;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.7rem;
}

.post-card .entry-title {
	margin: 0 0 10px;
	font-size: 1.3rem;
}

.post-card .entry-title a {
	color: var(--hw-text);
}

.post-card .entry-title a:hover {
	color: var(--hw-orange-2);
}

.entry-summary {
	color: var(--hw-muted);
	font-size: 0.95rem;
	flex: 1;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-weight: 800;
	font-size: 0.9rem;
	color: var(--hw-toxic);
}

.read-more .hw-icon {
	transition: transform 0.3s var(--hw-ease);
}

.read-more:hover .hw-icon {
	transform: translateX(4px);
}

/* Single post */
.single-post .entry-header {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 32px;
}

.single-post .entry-header .entry-meta {
	justify-content: center;
}

.single-post .entry-title {
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(2.4rem, 5vw, 4rem);
	letter-spacing: 0.02em;
	color: var(--hw-orange-2);
	text-shadow: 0 0 24px rgba(255, 122, 26, 0.35);
}

.single-post .post-thumbnail {
	margin: 0 0 40px;
	border-radius: var(--hw-radius);
	overflow: hidden;
	box-shadow: var(--hw-shadow);
}

.entry-content,
.page-content .entry-content {
	max-width: 780px;
	margin: 0 auto;
	font-size: 1.08rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content .alignwide {
	max-width: var(--hw-container);
	margin-left: calc(50% - min(50vw, var(--hw-container) / 2) + var(--hw-gutter));
	margin-right: calc(50% - min(50vw, var(--hw-container) / 2) + var(--hw-gutter));
	width: auto;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content img {
	border-radius: var(--hw-radius-sm);
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 780px;
	margin: 40px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--hw-border);
	font-size: 0.9rem;
}

.entry-footer a {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--hw-surface-2);
	color: var(--hw-muted);
}

.entry-footer a:hover {
	background: var(--hw-orange);
	color: #1a0b00;
}

.page-links {
	margin: 2em 0;
	font-weight: 700;
}

.page-links a {
	display: inline-block;
	padding: 4px 12px;
	margin-left: 6px;
	border-radius: 8px;
	background: var(--hw-surface-2);
}

/* Post navigation */
.post-navigation {
	max-width: 780px;
	margin: 48px auto 0;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: block;
	padding: 18px 22px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius-sm);
	color: var(--hw-text);
	transition: border-color 0.3s, transform 0.3s var(--hw-ease);
}

.post-navigation a:hover {
	border-color: var(--hw-orange);
	transform: translateY(-3px);
}

.nav-subtitle {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--hw-toxic);
	margin-bottom: 4px;
}

.nav-title {
	font-weight: 800;
}

@media (max-width: 600px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

/* Pagination */
.pagination,
.woocommerce-pagination {
	margin-top: 48px;
	text-align: center;
}

.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul.page-numbers li {
	border: 0;
	margin: 0;
	padding: 0;
	float: none;
	display: inline-block;
	overflow: visible;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	color: var(--hw-text);
	font-weight: 800;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	padding: 0 14px;
	min-width: 44px;
	line-height: 42px;
	display: inline-block;
}

.page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--hw-orange);
	border-color: var(--hw-orange);
	color: #1a0b00;
}

a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
	background: var(--hw-surface-2);
	border-color: var(--hw-orange);
	color: var(--hw-orange-2);
}

.pagination .prev .hw-icon {
	transform: rotate(180deg);
}

/* Sidebar & widgets */
.widget-area .widget,
.shop-filters .widget {
	padding: 24px;
	margin-bottom: 24px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
}

.widget-title {
	margin: 0 0 16px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: 1.5rem;
	letter-spacing: 0.04em;
	color: var(--hw-orange-2);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--hw-border);
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget ul li a {
	color: var(--hw-text);
}

.widget ul li a:hover {
	color: var(--hw-orange-2);
}

.widget ul ul {
	padding-left: 16px;
	margin-top: 8px;
}

.widget .wp-block-heading,
.widget h2:not(.widget-title),
.widget h3 {
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: 1.4rem;
	color: var(--hw-orange-2);
}

.wp-block-tag-cloud a,
.tagcloud a {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--hw-surface-2);
	color: var(--hw-muted);
	font-size: 0.85rem !important;
}

.wp-block-tag-cloud a:hover,
.tagcloud a:hover {
	background: var(--hw-orange);
	color: #1a0b00;
}

/* Comments */
.comments-area {
	max-width: 780px;
	margin: 56px auto 0;
}

.comments-title,
.comment-reply-title {
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: 1.9rem;
	letter-spacing: 0.03em;
	color: var(--hw-orange-2);
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 32px;
}

.comment-body {
	position: relative;
	padding: 20px 20px 20px 76px;
	margin-bottom: 16px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
}

.comment-author .avatar {
	position: absolute;
	left: 16px;
	top: 20px;
	border-radius: 50%;
	border: 2px solid var(--hw-orange);
}

.comment-author .fn {
	font-weight: 800;
	font-style: normal;
}

.comment-metadata {
	font-size: 0.8rem;
	color: var(--hw-muted);
}

.comment-content {
	margin-top: 10px;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 800;
}

.comment-respond {
	padding: 28px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
}

.comment-form p {
	margin-bottom: 1em;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.comment-form .logged-in-as a {
	color: var(--hw-orange-2);
}

/* No results */
.no-results,
.error-404__inner {
	text-align: center;
	padding: clamp(40px, 6vw, 80px) 0;
}

.no-results__icon,
.error-404__ghost {
	color: var(--hw-orange);
	filter: drop-shadow(0 0 20px rgba(255, 122, 26, 0.5));
	margin-bottom: 16px;
}

.error-404__ghost {
	color: var(--hw-text);
	animation: hw-float 4s ease-in-out infinite;
	filter: drop-shadow(0 0 24px rgba(243, 234, 215, 0.4));
}

.no-results .search-form,
.error-404__search .search-form {
	max-width: 480px;
	margin: 24px auto 0;
}

.error-404__code {
	margin: 0;
	font-family: var(--hw-font-display);
	font-size: clamp(5rem, 14vw, 10rem);
	line-height: 1;
	color: var(--hw-orange-2);
	text-shadow: 0 0 40px rgba(255, 122, 26, 0.5), 0 10px 0 rgba(0, 0, 0, 0.4);
	animation: hw-flicker 6s linear infinite;
}

.error-404 .page-title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.error-404__inner p {
	max-width: 520px;
	margin: 0 auto 1.25em;
	color: var(--hw-muted);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

/* Admin notice box (front page, no WooCommerce) */
.admin-notice-box {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 24px 28px;
	background: rgba(255, 122, 26, 0.08);
	border: 1px dashed rgba(255, 122, 26, 0.4);
	border-radius: var(--hw-radius);
	color: var(--hw-muted);
}

.admin-notice-box .hw-icon {
	flex: none;
	color: var(--hw-orange);
}

.admin-notice-box p {
	margin: 0;
}

/* =========================================================================
   14. Page hero (archives, pages, shop)
   ========================================================================= */
.page-hero {
	position: relative;
	padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
	text-align: center;
	overflow: hidden;
	background: linear-gradient(to bottom, #07060d, var(--hw-bg));
	border-bottom: 1px solid var(--hw-border);
}

.page-hero__glow {
	position: absolute;
	top: -120px;
	left: 50%;
	width: 700px;
	height: 360px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(123, 63, 191, 0.4), rgba(255, 122, 26, 0.12) 50%, transparent 75%);
	filter: blur(30px);
	pointer-events: none;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: 90px;
	background: url("assets/images/haunted-hill.svg") no-repeat bottom center / cover;
	opacity: 0.35;
	pointer-events: none;
}

.page-hero .container {
	position: relative;
	z-index: 1;
}

.page-hero__title {
	margin: 0;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	letter-spacing: 0.03em;
	color: var(--hw-orange-2);
	text-shadow: 0 0 28px rgba(255, 122, 26, 0.4), 0 6px 0 rgba(0, 0, 0, 0.45);
}

.page-hero__desc {
	max-width: 640px;
	margin: 14px auto 0;
	color: var(--hw-muted);
}

.page-hero__desc p:last-child {
	margin-bottom: 0;
}

.hw-breadcrumb {
	margin-top: 18px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hw-muted);
}

.hw-breadcrumb a {
	color: var(--hw-muted);
}

.hw-breadcrumb a:hover {
	color: var(--hw-orange-2);
}

.hw-breadcrumb .sep {
	margin: 0 8px;
	opacity: 0.5;
}

/* =========================================================================
   15. Newsletter
   ========================================================================= */
.newsletter {
	padding-bottom: clamp(80px, 10vw, 140px);
}

.newsletter__card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(280px, 420px);
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	padding: clamp(28px, 4vw, 48px);
	background: linear-gradient(160deg, var(--hw-surface-2), var(--hw-surface));
	border: 1px solid var(--hw-border);
	border-radius: calc(var(--hw-radius) * 1.5);
	box-shadow: var(--hw-shadow);
	overflow: hidden;
}

.newsletter__card::before {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(141, 255, 90, 0.2), transparent 70%);
	pointer-events: none;
}

.newsletter__ghost {
	color: var(--hw-text);
	filter: drop-shadow(0 0 20px rgba(243, 234, 215, 0.35));
	animation: hw-float 4s ease-in-out infinite;
}

.newsletter__title {
	margin: 0 0 6px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	letter-spacing: 0.03em;
	color: var(--hw-toxic);
	text-shadow: 0 0 24px rgba(141, 255, 90, 0.35);
}

.newsletter__copy p {
	margin: 0;
	color: var(--hw-muted);
}

.newsletter__form {
	position: relative;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.newsletter__form input[type="email"] {
	flex: 1 1 200px;
	border-radius: 999px;
	padding: 0.9em 1.3em;
}

.newsletter__success {
	flex-basis: 100%;
	margin: 6px 0 0;
	font-weight: 700;
	color: var(--hw-toxic);
}

@media (max-width: 900px) {
	.newsletter__card {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.newsletter__form {
		width: 100%;
		justify-content: center;
	}
}

/* =========================================================================
   16. Footer
   ========================================================================= */
.site-footer {
	position: relative;
	margin-top: auto;
	background: #06050c;
	border-top: 1px solid var(--hw-border);
}

.site-footer__graveyard {
	position: relative;
	height: clamp(110px, 16vw, 200px);
	margin-top: -1px;
	overflow: hidden;
	background:
		url("assets/images/graveyard.svg") no-repeat bottom center / cover,
		radial-gradient(ellipse at 72% 100%, rgba(255, 243, 196, 0.22), transparent 55%),
		radial-gradient(ellipse at 20% 100%, rgba(123, 63, 191, 0.4), transparent 60%),
		linear-gradient(to bottom, var(--hw-bg), #221a3d);
}

.site-footer__graveyard::before {
	content: "";
	position: absolute;
	right: 22%;
	bottom: 24px;
	width: clamp(60px, 7vw, 100px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fffbe6, var(--hw-moon) 45%, #e9d79a 75%, #cdb97a 100%);
	box-shadow: 0 0 30px rgba(255, 243, 196, 0.5), 0 0 90px rgba(255, 243, 196, 0.3);
	opacity: 0.9;
}

.site-footer__fog {
	position: absolute;
	inset: auto -10% -30px;
	height: 120px;
	background:
		radial-gradient(ellipse at 30% 80%, rgba(200, 190, 230, 0.25), transparent 55%),
		radial-gradient(ellipse at 75% 90%, rgba(200, 190, 230, 0.2), transparent 50%);
	filter: blur(20px);
	animation: hw-fog 28s ease-in-out infinite alternate;
	pointer-events: none;
}

.site-footer__widgets {
	position: relative;
	padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
	background: #06050c;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-widgets--default {
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.footer-widgets__col--brand .site-branding {
	margin-bottom: 14px;
}

.footer-widgets__col--brand p {
	color: var(--hw-muted);
	font-size: 0.95rem;
}

.footer-widgets .widget-title {
	font-size: 1.35rem;
	margin-bottom: 14px;
}

.footer-widgets .widget {
	margin-bottom: 28px;
}

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

.footer-widgets ul li {
	padding: 6px 0;
}

.footer-widgets ul li a {
	color: var(--hw-muted);
	font-weight: 600;
	transition: color 0.3s, padding-left 0.3s var(--hw-ease);
}

.footer-widgets ul li a:hover {
	color: var(--hw-orange-2);
	padding-left: 6px;
}

.footer-widgets p {
	color: var(--hw-muted);
	font-size: 0.95rem;
}

.footer-note {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--hw-toxic) !important;
	font-weight: 700;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-links li {
	padding: 0 !important;
	border: 0 !important;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	color: var(--hw-text);
	transition: transform 0.3s var(--hw-ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.social-links a:hover {
	transform: translateY(-4px) rotate(-6deg);
	background: var(--hw-orange);
	border-color: var(--hw-orange);
	color: #1a0b00;
}

.site-footer__bottom {
	border-top: 1px solid var(--hw-border);
	background: #04030a;
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 0.85rem;
	color: var(--hw-muted);
}

.payment-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.payment-icons li {
	padding: 4px 10px;
	border: 1px solid var(--hw-border-strong);
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hw-muted);
}

@media (max-width: 1023px) {
	.footer-widgets,
	.footer-widgets--default {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.footer-widgets,
	.footer-widgets--default {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

/* Back to top */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 50%;
	background: var(--hw-surface-2);
	border: 1px solid var(--hw-border-strong);
	color: var(--hw-text);
	box-shadow: var(--hw-shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.35s, transform 0.35s var(--hw-ease), visibility 0.35s, background 0.3s;
	z-index: 90;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--hw-orange);
	color: #1a0b00;
	transform: translateY(-4px);
}

.back-to-top .hw-icon {
	animation: hw-float 3s ease-in-out infinite;
}

/* =========================================================================
   17. Reveal on scroll & helper animations
   ========================================================================= */
.hw-animated .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--hw-ease), transform 0.8s var(--hw-ease);
	transition-delay: var(--delay, 0s);
}

.hw-animated .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.float {
	animation: hw-float 5s ease-in-out infinite;
}

.float-slow {
	animation: hw-float 7s ease-in-out infinite;
}

.spin-slow {
	animation: hw-spin 14s linear infinite;
}

.flap {
	animation: hw-flap-hover 0.5s ease-in-out infinite alternate;
}

@keyframes hw-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-16px); }
}

@keyframes hw-spin {
	to { transform: rotate(360deg); }
}

@keyframes hw-flap-hover {
	from { transform: translateY(0) scaleY(1); }
	to { transform: translateY(-6px) scaleY(0.75); }
}

@keyframes hw-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

@keyframes hw-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes hw-flicker {
	0%, 18%, 22%, 25%, 53%, 57%, 100% {
		opacity: 1;
	}
	20%, 24%, 55% {
		opacity: 0.55;
	}
	21% {
		opacity: 0.85;
	}
}

@keyframes hw-face-flicker {
	0%, 100% { opacity: 1; }
	45% { opacity: 1; }
	48% { opacity: 0.55; }
	50% { opacity: 1; }
	53% { opacity: 0.7; }
	56% { opacity: 1; }
	80% { opacity: 0.9; }
}

@keyframes hw-shadow-breathe {
	0%, 100% { transform: scaleX(1); opacity: 0.45; }
	50% { transform: scaleX(0.9); opacity: 0.3; }
}

@keyframes hw-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

@keyframes hw-pulse-glow {
	0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 122, 26, 0.5)); }
	50% { filter: drop-shadow(0 0 16px rgba(255, 122, 26, 0.9)); }
}

@keyframes hw-moon-glow {
	0%, 100% {
		box-shadow:
			0 0 40px rgba(255, 243, 196, 0.5),
			0 0 120px rgba(255, 243, 196, 0.35),
			0 0 260px rgba(255, 200, 120, 0.2),
			inset -18px -14px 40px rgba(180, 150, 90, 0.35);
	}
	50% {
		box-shadow:
			0 0 60px rgba(255, 243, 196, 0.65),
			0 0 160px rgba(255, 243, 196, 0.45),
			0 0 320px rgba(255, 200, 120, 0.25),
			inset -18px -14px 40px rgba(180, 150, 90, 0.35);
	}
}

@keyframes hw-cloud {
	from { transform: translateX(0); }
	to { transform: translateX(calc(100vw + 600px)); }
}

@keyframes hw-fog {
	from { transform: translateX(-4%) scaleX(1); }
	to { transform: translateX(4%) scaleX(1.08); }
}

@keyframes hw-scroll-hint {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(18px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

@keyframes hw-shimmer {
	0%, 60% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

@keyframes hw-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.5); }
	100% { transform: scale(1); }
}

@keyframes hw-tick {
	0% { transform: translateY(-6px); opacity: 0.4; }
	100% { transform: none; opacity: 1; }
}

@keyframes hw-wiggle {
	0%, 100% { transform: rotate(-6deg); }
	50% { transform: rotate(6deg); }
}

@keyframes hw-bat-fly {
	0% { transform: translateX(0) scale(0.8); }
	50% { transform: translateX(60vw) scale(1.1); }
	100% { transform: translateX(120vw) scale(0.8); }
}

@keyframes hw-bat-bob {
	from { transform: translateY(-30px); }
	to { transform: translateY(30px); }
}

@keyframes hw-bat-flap {
	from { transform: scaleY(1); }
	to { transform: scaleY(0.6); }
}

@keyframes hw-spider-drop {
	0%, 8% { transform: translateY(-160px); }
	20%, 45% { transform: translateY(0); }
	55%, 100% { transform: translateY(-160px); }
}

@keyframes hw-spider-sway {
	0%, 100% { transform: rotate(-6deg); }
	50% { transform: rotate(6deg); }
}

@keyframes hw-lantern-flicker {
	0%, 100% { opacity: 1; filter: brightness(1); }
	40% { opacity: 0.85; filter: brightness(0.9); }
	48% { opacity: 1; filter: brightness(1.15); }
	62% { opacity: 0.7; filter: brightness(0.75); }
	70% { opacity: 1; filter: brightness(1.05); }
}

@keyframes hw-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes hw-firefly {
	0%, 100% { opacity: 0.15; transform: scale(0.7); }
	50% { opacity: 1; transform: scale(1.2); }
}

@keyframes hw-firefly-drift {
	from { transform: translate(0, 0); }
	50% { transform: translate(24px, -18px); }
	to { transform: translate(-10px, 12px); }
}

@keyframes hw-leaf-fall {
	0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
	8% { opacity: 0.9; }
	100% { transform: translateY(110vh) rotate(360deg); opacity: 0.2; }
}

@keyframes hw-leaf-spin {
	from { transform: rotate(0deg) skewX(8deg); }
	to { transform: rotate(360deg) skewX(-8deg); }
}

/* =========================================================================
   17b. Marquee, looks, testimonials, FAQ, toast, particles
   ========================================================================= */
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--hw-border);
	border-bottom: 1px solid var(--hw-border);
	background: #08070f;
	padding: 14px 0;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: hw-marquee 36s linear infinite;
}

.marquee__group {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	color: var(--hw-orange-2);
	font-family: var(--hw-font-display);
	font-size: 1.35rem;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.marquee__group .hw-icon {
	color: var(--hw-toxic);
	opacity: 0.7;
}

.looks-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	grid-template-rows: 220px 220px;
	gap: 18px;
}

.look-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--hw-radius);
	border: 1px solid var(--hw-border);
	color: var(--hw-text);
	min-height: 220px;
	box-shadow: var(--hw-shadow-sm);
}

.look-card--tall {
	grid-row: span 2;
	min-height: 458px;
}

.look-card--wide {
	grid-column: 2 / 4;
}

.look-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--hw-ease), filter 0.5s;
	filter: saturate(0.95) brightness(0.72);
}

.look-card:hover {
	color: var(--hw-text);
	border-color: rgba(255, 122, 26, 0.45);
	box-shadow: var(--hw-shadow), var(--hw-glow-orange);
}

.look-card:hover img {
	transform: scale(1.07);
	filter: saturate(1.1) brightness(0.9);
}

.look-card__body {
	position: absolute;
	inset: auto 0 0;
	padding: 22px 24px;
	background: linear-gradient(to top, rgba(8, 7, 15, 0.92), transparent);
	z-index: 1;
}

.look-card__title {
	margin: 0 0 4px;
	font-family: var(--hw-font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	letter-spacing: 0.03em;
	color: var(--hw-orange-2);
}

.look-card__text {
	margin: 0 0 10px;
	color: var(--hw-muted);
	font-size: 0.95rem;
}

.look-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 800;
	color: var(--hw-toxic);
}

@media (max-width: 900px) {
	.looks-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.look-card--tall,
	.look-card--wide {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 240px;
	}
}

@media (max-width: 560px) {
	.looks-grid {
		grid-template-columns: 1fr;
	}
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.testimonial {
	margin: 0;
	padding: 28px;
	background: var(--hw-surface);
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow-sm);
}

.testimonial__stars {
	display: flex;
	gap: 4px;
	margin-bottom: 14px;
	color: var(--hw-orange);
}

.testimonial blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: italic;
	color: var(--hw-text);
}

.testimonial blockquote p {
	margin: 0;
}

.testimonial figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
}

.testimonial__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--hw-purple), var(--hw-orange));
	color: #1a0b00;
	font-weight: 800;
}

.testimonial__meta {
	display: block;
	color: var(--hw-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

@media (max-width: 900px) {
	.testimonial-grid {
		grid-template-columns: 1fr;
	}
}

.faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.faq__intro .section-heading {
	text-align: left;
	margin-bottom: 16px;
}

.faq__intro p {
	margin: 0;
	color: var(--hw-muted);
	max-width: 420px;
}

.faq-item {
	border-bottom: 1px solid var(--hw-border);
}

.faq-item h3 {
	margin: 0;
}

.faq-item__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	background: none;
	border: 0;
	border-radius: 0;
	color: var(--hw-text);
	font-size: 1.05rem;
	font-weight: 800;
	text-align: left;
}

.faq-item__trigger:hover {
	background: none;
	transform: none;
	color: var(--hw-orange-2);
}

.faq-item__trigger .hw-icon {
	flex: none;
	transition: transform 0.3s var(--hw-ease);
}

.faq-item__trigger[aria-expanded="true"] .hw-icon {
	transform: rotate(180deg);
	color: var(--hw-toxic);
}

.faq-item__panel {
	padding: 0 0 18px;
	color: var(--hw-muted);
}

.faq-item__panel p {
	margin: 0;
}

@media (max-width: 800px) {
	.faq__inner {
		grid-template-columns: 1fr;
	}
}

.hw-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 220;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--hw-surface-2);
	border: 1px solid var(--hw-toxic);
	color: var(--hw-toxic);
	font-weight: 800;
	box-shadow: var(--hw-shadow), var(--hw-glow-toxic);
	transform: translate(-50%, 16px);
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s var(--hw-ease);
	pointer-events: none;
}

.hw-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.hw-fireflies,
.hw-leaves {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hw-firefly {
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff3c4;
	box-shadow: 0 0 8px #fff3c4, 0 0 16px rgba(141, 255, 90, 0.5);
	animation: hw-firefly var(--dur, 4s) ease-in-out infinite, hw-firefly-drift var(--drift, 12s) ease-in-out infinite alternate;
	animation-delay: var(--delay, 0s);
}

.hw-leaf {
	position: absolute;
	top: -20px;
	width: var(--size, 14px);
	height: calc(var(--size, 14px) * 0.7);
	border-radius: 0 70% 0 70%;
	opacity: 0.75;
	animation: hw-leaf-fall var(--dur, 16s) linear infinite;
	animation-delay: var(--delay, 0s);
}

@media (max-width: 900px) {
	.hero__lantern--2,
	.hero__lantern--3 {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.hw-animated .reveal {
		opacity: 1;
		transform: none;
	}

	.hw-ambient {
		display: none;
	}
}

/* =========================================================================
   18. WordPress core & blocks
   ========================================================================= */
.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin: 0 auto 1.5em;
	clear: both;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption-text,
.wp-element-caption,
figcaption {
	margin-top: 0.5em;
	font-size: 0.85rem;
	color: var(--hw-muted);
	text-align: center;
}

.sticky .entry-title::before {
	content: "★ ";
	color: var(--hw-orange);
}

.bypostauthor {
	display: block;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 1.5em;
}

.gallery-item {
	margin: 0;
}

.wp-block-quote,
.wp-block-pullquote {
	border-color: var(--hw-orange);
}

.wp-block-pullquote {
	padding: 2em 0;
	color: var(--hw-text);
}

.wp-block-separator {
	border-color: var(--hw-border);
}

.wp-block-button__link {
	border-radius: 999px;
}

.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--hw-orange-2);
	border-color: var(--hw-orange);
	box-shadow: none;
}

.wp-block-cover {
	border-radius: var(--hw-radius);
	overflow: hidden;
}

.wp-block-table td,
.wp-block-table th {
	border-color: var(--hw-border);
}

.wp-block-search .wp-block-search__input {
	background: var(--hw-surface);
	color: var(--hw-text);
	border-color: var(--hw-border-strong);
}

.wp-block-search .wp-block-search__button {
	background: var(--hw-orange);
	color: #1a0b00;
	border: 0;
}

.has-pumpkin-color { color: #ff7a1a !important; }
.has-pumpkin-background-color { background-color: #ff7a1a !important; }
.has-toxic-color { color: #8dff5a !important; }
.has-toxic-background-color { background-color: #8dff5a !important; }
.has-witch-color { color: #7b3fbf !important; }
.has-witch-background-color { background-color: #7b3fbf !important; }
.has-blood-color { color: #c1121f !important; }
.has-blood-background-color { background-color: #c1121f !important; }
.has-bone-color { color: #f3ead7 !important; }
.has-bone-background-color { background-color: #f3ead7 !important; }
.has-midnight-color { color: #0b0a14 !important; }
.has-midnight-background-color { background-color: #0b0a14 !important; }

/* =========================================================================
   19. Responsive header
   ========================================================================= */
@media (max-width: 1023px) {
	.site-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.main-navigation {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-branding {
		justify-content: center;
	}

	.site-header__cobweb {
		width: 70px;
		height: 70px;
	}

	:root {
		--hw-header-h: 66px;
	}
}

@media (max-width: 560px) {
	.site-title {
		font-size: 1.35rem;
	}

	.custom-logo {
		max-height: 40px;
	}

	.header-account {
		display: none;
	}

	.hw-spider {
		right: 6%;
	}
}
