/*
Theme Name: Aether Outerwear
Theme URI: https://example.com/aether-outerwear
Author: Custom Build
Author URI: https://example.com
Description: A performance-optimised, self-contained WooCommerce theme for premium jacket brands. Includes a touch-enabled hero slider with per-slide 3D (.glb/.gltf) model support via Three.js, Material-depth product cards, a reviews carousel and an off-canvas mobile menu. Every string, colour and section is editable in the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: aether
Tags: e-commerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* =============================================================================
   TABLE OF CONTENTS
   01. Design tokens (CSS custom properties)
   02. Reset & base
   03. Typography
   04. Layout helpers
   05. Buttons & forms
   06. Header / navigation / off-canvas
   07. Hero slider (+ 3D stage)
   08. Section headers
   09. Product cards (Material depth + hover micro-interaction)
   10. Marquee / USP strip
   11. Reviews & testimonials
   12. Footer
   13. Blog, single, comments, 404
   14. WooCommerce overrides
   15. Utilities, accessibility, reduced motion
   16. Responsive breakpoints
   -----------------------------------------------------------------------------
   Tokens in section 01 are overwritten at runtime by the Customizer
   (see inc/dynamic-css.php). Edit the fallbacks here for hard defaults.
   ========================================================================== */


/* 01. DESIGN TOKENS ------------------------------------------------------- */
:root {
	--ae-ink:            #12151a;   /* primary dark surface / text            */
	--ae-ink-soft:       #1c222b;   /* raised dark surface                    */
	--ae-fog:            #f3f1ec;   /* page background                        */
	--ae-paper:          #ffffff;   /* card surface                           */
	--ae-accent:         #3e5c76;   /* brand accent (links, buttons)          */
	--ae-accent-ink:     #ffffff;   /* text on accent                         */
	--ae-muted:          #6b7280;   /* secondary text                         */
	--ae-line:           rgba(18, 21, 26, .12);
	--ae-verified:       #3f7a55;   /* verified-buyer badge                   */
	--ae-star:           #c8963e;   /* rating stars                           */

	--ae-font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--ae-font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;

	/* Modular type scale (1.25) -------------------------------------------- */
	--ae-t-xs:   .78rem;
	--ae-t-sm:   .9rem;
	--ae-t-base: 1rem;
	--ae-t-md:   1.2rem;
	--ae-t-lg:   1.55rem;
	--ae-t-xl:   2.1rem;
	--ae-t-2xl:  clamp(2.4rem, 5.2vw, 4.2rem);

	--ae-container: 1240px;
	--ae-gutter: 24px;
	--ae-radius: 4px;
	--ae-radius-lg: 10px;

	/* Material-style elevation --------------------------------------------- */
	--ae-shadow-1: 0 1px 2px rgba(18,21,26,.07), 0 1px 3px rgba(18,21,26,.06);
	--ae-shadow-2: 0 3px 6px rgba(18,21,26,.08), 0 3px 8px rgba(18,21,26,.07);
	--ae-shadow-4: 0 10px 18px rgba(18,21,26,.12), 0 6px 10px rgba(18,21,26,.08);
	--ae-ease: cubic-bezier(.22,.61,.36,1);
}


/* 02. RESET & BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--ae-fog);
	color: var(--ae-ink);
	font-family: var(--ae-font-body);
	font-size: var(--ae-t-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.ae-no-scroll { overflow: hidden; }

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--ae-accent); text-decoration: none; transition: color .2s var(--ae-ease); }
a:hover { color: var(--ae-ink); }

:focus-visible {
	outline: 2px solid var(--ae-accent);
	outline-offset: 3px;
}


/* 03. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .ae-display {
	font-family: var(--ae-font-head);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	color: var(--ae-ink);
}

h1 { font-size: var(--ae-t-2xl); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: var(--ae-t-lg); }
h4 { font-size: var(--ae-t-md); }

p { margin: 0 0 1.1em; max-width: 72ch; }

blockquote {
	margin: 2rem 0;
	padding-left: 1.4rem;
	border-left: 3px solid var(--ae-accent);
	font-size: var(--ae-t-md);
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
pre { background: var(--ae-ink); color: var(--ae-fog); padding: 1.2rem; border-radius: var(--ae-radius); overflow: auto; }


/* 04. LAYOUT HELPERS ------------------------------------------------------ */
.ae-container {
	width: 100%;
	max-width: var(--ae-container);
	margin-inline: auto;
	padding-inline: var(--ae-gutter);
}

.ae-section { padding-block: clamp(56px, 8vw, 104px); }
.ae-section--tight { padding-block: clamp(40px, 5vw, 64px); }
.ae-section--dark { background: var(--ae-ink); color: var(--ae-fog); }
.ae-section--dark h1,
.ae-section--dark h2,
.ae-section--dark h3 { color: #fff; }
.ae-section--paper { background: var(--ae-paper); }

.ae-grid { display: grid; gap: 28px; }


/* 05. BUTTONS & FORMS ----------------------------------------------------- */
.ae-btn,
button.ae-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: var(--ae-radius);
	background: var(--ae-accent);
	color: var(--ae-accent-ink);
	font-family: var(--ae-font-head);
	font-size: var(--ae-t-sm);
	font-weight: 600;
	letter-spacing: .02em;
	cursor: pointer;
	text-align: center;
	transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease), background-color .25s var(--ae-ease);
	box-shadow: var(--ae-shadow-1);
}

.ae-btn:hover {
	color: var(--ae-accent-ink);
	transform: translateY(-2px);
	box-shadow: var(--ae-shadow-4);
}
.ae-btn:active { transform: translateY(0); }

.ae-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: #fff;
	box-shadow: none;
}
.ae-btn--ghost:hover { background: #fff; color: var(--ae-ink); border-color: #fff; }

.ae-btn--dark { background: var(--ae-ink); color: #fff; }

input[type="text"], input[type="email"], input[type="search"], input[type="password"],
input[type="tel"], input[type="url"], input[type="number"], textarea, select {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: var(--ae-t-sm);
	color: var(--ae-ink);
	background: var(--ae-paper);
	border: 1px solid var(--ae-line);
	border-radius: var(--ae-radius);
	transition: border-color .2s var(--ae-ease), box-shadow .2s var(--ae-ease);
}
input:focus, textarea:focus, select:focus {
	border-color: var(--ae-accent);
	box-shadow: 0 0 0 3px rgba(62,92,118,.16);
	outline: none;
}


/* 06. HEADER / NAVIGATION / OFF-CANVAS ------------------------------------ */
.ae-announce {
	background: var(--ae-ink);
	color: var(--ae-fog);
	font-size: var(--ae-t-xs);
	letter-spacing: .04em;
	text-align: center;
	padding: 9px var(--ae-gutter);
}
.ae-announce a { color: #fff; text-decoration: underline; }

.ae-header {
	position: relative;
	z-index: 90;
	background: var(--ae-paper);
	border-bottom: 1px solid var(--ae-line);
}
.ae-header.is-sticky {
	position: sticky;
	top: 0;
}
.ae-header.is-scrolled { box-shadow: var(--ae-shadow-2); }

.ae-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.ae-brand { display: flex; align-items: center; gap: 12px; }
.ae-brand img { max-height: 46px; width: auto; }
.ae-brand__name {
	font-family: var(--ae-font-head);
	font-size: 1.22rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--ae-ink);
	margin: 0;
}
.ae-brand__tag {
	display: block;
	font-family: var(--ae-font-body);
	font-size: var(--ae-t-xs);
	font-weight: 400;
	letter-spacing: .06em;
	color: var(--ae-muted);
}

.ae-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.ae-nav a {
	position: relative;
	color: var(--ae-ink);
	font-size: var(--ae-t-sm);
	font-weight: 500;
	padding-block: 8px;
}
.ae-nav a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: var(--ae-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .3s var(--ae-ease);
}
.ae-nav a:hover::after,
.ae-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

/* dropdowns */
.ae-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 10px 0;
	background: var(--ae-paper);
	border: 1px solid var(--ae-line);
	box-shadow: var(--ae-shadow-4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .22s var(--ae-ease);
}
.ae-nav li { position: relative; }
.ae-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ae-nav .sub-menu a { display: block; width: 100%; padding: 8px 18px; }
.ae-nav .sub-menu a::after { display: none; }

.ae-actions { display: flex; align-items: center; gap: 18px; }

.ae-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--ae-ink);
}
.ae-cart__count {
	position: absolute;
	top: -7px; right: -10px;
	min-width: 18px; height: 18px;
	display: grid; place-items: center;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--ae-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* Burger */
.ae-burger {
	display: none;
	width: 44px; height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	position: relative;
}
.ae-burger span {
	position: absolute;
	left: 11px;
	width: 22px; height: 2px;
	background: var(--ae-ink);
	transition: transform .3s var(--ae-ease), opacity .2s linear;
}
.ae-burger span:nth-child(1) { top: 15px; }
.ae-burger span:nth-child(2) { top: 21px; }
.ae-burger span:nth-child(3) { top: 27px; }
.ae-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ae-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ae-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Off-canvas drawer */
.ae-drawer {
	position: fixed;
	top: 0; right: 0;
	width: min(88vw, 380px);
	height: 100dvh;
	z-index: 200;
	background: var(--ae-paper);
	box-shadow: -14px 0 40px rgba(18,21,26,.18);
	transform: translateX(100%);
	transition: transform .38s var(--ae-ease);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ae-drawer.is-open { transform: translateX(0); }

.ae-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--ae-line);
}
.ae-drawer__close {
	width: 40px; height: 40px;
	border: 1px solid var(--ae-line);
	border-radius: 50%;
	background: none; cursor: pointer;
	font-size: 20px; line-height: 1;
	color: var(--ae-ink);
}
.ae-drawer__body { padding: 8px 24px 32px; flex: 1; }
.ae-drawer ul { list-style: none; margin: 0; padding: 0; }
.ae-drawer li { border-bottom: 1px solid var(--ae-line); }
.ae-drawer a {
	display: block;
	padding: 16px 0;
	font-family: var(--ae-font-head);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ae-ink);
}
.ae-drawer .sub-menu { padding-left: 14px; }
.ae-drawer .sub-menu a { font-size: .95rem; font-weight: 400; padding: 12px 0; }
.ae-drawer__foot { padding: 24px; border-top: 1px solid var(--ae-line); }

.ae-overlay {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: rgba(18,21,26,.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s var(--ae-ease), visibility .3s;
	backdrop-filter: blur(2px);
}
.ae-overlay.is-visible { opacity: 1; visibility: visible; }


/* 07. HERO SLIDER --------------------------------------------------------- */
.ae-hero {
	position: relative;
	overflow: hidden;
	background: var(--ae-ink);
	touch-action: pan-y;
}

.ae-hero__viewport { position: relative; }

.ae-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s var(--ae-ease), visibility .8s;
	display: flex;
	align-items: center;
}
.ae-slide.is-active { opacity: 1; visibility: visible; position: relative; z-index: 2; }
/* Exactly one slide is `relative` at a time, so the hero's height always
   follows the slide currently on screen. */

/* Static image slide */
.ae-slide__media { position: absolute; inset: 0; z-index: 0; }
.ae-slide__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
}
.ae-slide__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,12,16,.82) 0%, rgba(10,12,16,.45) 55%, rgba(10,12,16,.1) 100%);
}
.ae-slide[data-align="center"] .ae-slide__scrim { background: rgba(10,12,16,.5); }
.ae-slide[data-align="right"] .ae-slide__scrim {
	background: linear-gradient(270deg, rgba(10,12,16,.82) 0%, rgba(10,12,16,.45) 55%, rgba(10,12,16,.1) 100%);
}

.ae-slide__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: var(--ae-container);
	margin-inline: auto;
	padding: clamp(56px, 8vw, 96px) var(--ae-gutter);
	display: grid;
	gap: 36px;
	align-items: center;
}
/* Two-column layout when the slide renders a 3D model */
.ae-slide--model .ae-slide__inner { grid-template-columns: 1fr 1fr; }
.ae-slide--image .ae-slide__inner { grid-template-columns: minmax(0, 640px); }
.ae-slide[data-align="center"] .ae-slide__inner { justify-items: center; text-align: center; }
.ae-slide[data-align="right"] .ae-slide__inner { justify-content: end; }

.ae-slide__content { color: #fff; max-width: 620px; }
.ae-slide__kicker {
	display: inline-block;
	margin-bottom: 14px;
	font-family: var(--ae-font-head);
	font-size: var(--ae-t-xs);
	font-weight: 600;
	letter-spacing: .12em;
	color: rgba(255,255,255,.75);
	border-bottom: 1px solid rgba(255,255,255,.35);
	padding-bottom: 4px;
}
.ae-slide__title {
	color: #fff;
	font-size: var(--ae-t-2xl);
	margin-bottom: .35em;
	text-wrap: balance;
}
.ae-slide__text {
	color: rgba(255,255,255,.86);
	font-size: var(--ae-t-md);
	max-width: 46ch;
	margin-bottom: 1.8em;
}
.ae-slide__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* 3D stage */
.ae-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 68vh;
	border-radius: var(--ae-radius-lg);
	cursor: grab;
	touch-action: pan-y;
}
.ae-stage:active { cursor: grabbing; }
.ae-stage canvas { width: 100% !important; height: 100% !important; display: block; border-radius: inherit; }

.ae-stage__loader {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--ae-font-head);
	font-size: var(--ae-t-xs);
	letter-spacing: .1em;
	color: rgba(255,255,255,.65);
	pointer-events: none;
	transition: opacity .4s linear;
}
.ae-stage.is-ready .ae-stage__loader { opacity: 0; }

.ae-stage__hint {
	position: absolute;
	left: 50%; bottom: 8px;
	transform: translateX(-50%);
	font-size: var(--ae-t-xs);
	color: rgba(255,255,255,.55);
	pointer-events: none;
	white-space: nowrap;
}

/* Slider controls */
.ae-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 52px; height: 52px;
	display: grid; place-items: center;
	transform: translateY(-50%);
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background-color .25s var(--ae-ease);
}
.ae-hero__arrow:hover { background: rgba(255,255,255,.28); }
.ae-hero__arrow--prev { left: 18px; }
.ae-hero__arrow--next { right: 18px; }

.ae-hero__dots {
	position: absolute;
	left: 50%; bottom: 26px;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 10px;
}
.ae-hero__dot {
	width: 34px; height: 3px;
	padding: 0;
	border: 0;
	background: rgba(255,255,255,.34);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.ae-hero__dot.is-active { background: rgba(255,255,255,.34); }
.ae-hero__dot.is-active::after {
	content: "";
	position: absolute; inset: 0;
	background: #fff;
	transform-origin: left;
	animation: ae-dot-progress linear forwards;
	animation-duration: var(--ae-slide-duration, 5s);
}
@keyframes ae-dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* No timer bar when auto-rotation is switched off. */
[data-autoplay="0"] .ae-hero__dot.is-active::after { animation: none; transform: scaleX(1); }


/* 08. SECTION HEADERS ----------------------------------------------------- */
.ae-head { max-width: 640px; margin-bottom: 44px; }
.ae-head--center { margin-inline: auto; text-align: center; }
.ae-head__kicker {
	font-family: var(--ae-font-head);
	font-size: var(--ae-t-xs);
	font-weight: 600;
	letter-spacing: .12em;
	color: var(--ae-accent);
	margin: 0 0 10px;
}
.ae-head__title { margin-bottom: .3em; }
.ae-head__text { color: var(--ae-muted); margin: 0 auto; font-size: var(--ae-t-md); }
.ae-section--dark .ae-head__text { color: rgba(255,255,255,.72); }


/* 09. PRODUCT CARDS ------------------------------------------------------- */
.ae-products__grid { display: grid; gap: 28px; grid-template-columns: repeat(var(--ae-cols, 4), minmax(0, 1fr)); }

.ae-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ae-paper);
	border-radius: var(--ae-radius-lg);
	overflow: hidden;
	box-shadow: var(--ae-shadow-1);
	transform: translateY(0);
	/* The micro-interaction: lift + shadow bloom, nothing else. */
	transition: transform .32s var(--ae-ease), box-shadow .32s var(--ae-ease);
	will-change: transform;
}
.ae-card:hover,
.ae-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--ae-shadow-4);
}

.ae-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: #ebe8e2;
	overflow: hidden;
}
.ae-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ae-ease);
}
.ae-card:hover .ae-card__media img { transform: scale(1.03); }

.ae-card__badge {
	position: absolute;
	top: 12px; left: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 2px;
	background: var(--ae-ink);
	color: #fff;
	font-family: var(--ae-font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
}
.ae-card__badge--sale { background: var(--ae-accent); }

.ae-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ae-card__cat { font-size: var(--ae-t-xs); color: var(--ae-muted); letter-spacing: .04em; }
.ae-card__title { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.35; }
.ae-card__title a { color: var(--ae-ink); }
.ae-card__title a:hover { color: var(--ae-accent); }
.ae-card__price { font-family: var(--ae-font-head); font-weight: 700; font-size: 1.05rem; margin-top: auto; padding-top: 8px; }
.ae-card__price del { color: var(--ae-muted); font-weight: 400; margin-right: 6px; }
.ae-card__price ins { text-decoration: none; }
.ae-card__rating { display: flex; align-items: center; gap: 4px; font-size: var(--ae-t-xs); color: var(--ae-muted); }

.ae-card__cta {
	margin-top: 14px;
	display: block;
	width: 100%;
	padding: 11px 16px;
	text-align: center;
	border-radius: var(--ae-radius);
	background: var(--ae-ink);
	color: #fff;
	font-family: var(--ae-font-head);
	font-size: var(--ae-t-sm);
	font-weight: 600;
	transition: background-color .25s var(--ae-ease);
}
.ae-card__cta:hover { background: var(--ae-accent); color: #fff; }

.ae-products__more { margin-top: 44px; text-align: center; }

.ae-empty {
	padding: 44px;
	text-align: center;
	border: 1px dashed var(--ae-line);
	border-radius: var(--ae-radius-lg);
	color: var(--ae-muted);
}


/* 10. USP STRIP ----------------------------------------------------------- */
.ae-usp { border-block: 1px solid var(--ae-line); background: var(--ae-paper); }
.ae-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 26px; }
.ae-usp__item { display: flex; gap: 12px; align-items: flex-start; }
.ae-usp__item strong { display: block; font-family: var(--ae-font-head); font-size: var(--ae-t-sm); }
.ae-usp__item span { font-size: var(--ae-t-xs); color: var(--ae-muted); }


/* 11. REVIEWS ------------------------------------------------------------- */
.ae-reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 1fr);
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 12px;
	scrollbar-width: none;
}
.ae-reviews__track::-webkit-scrollbar { display: none; }
.ae-reviews--grid .ae-reviews__track {
	grid-auto-flow: row;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-columns: auto;
	overflow: visible;
}

.ae-review {
	scroll-snap-align: start;
	background: var(--ae-paper);
	border-radius: var(--ae-radius-lg);
	padding: 28px;
	box-shadow: var(--ae-shadow-1);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: box-shadow .3s var(--ae-ease), transform .3s var(--ae-ease);
}
.ae-review:hover { box-shadow: var(--ae-shadow-2); }

.ae-stars { display: inline-flex; gap: 2px; color: var(--ae-star); font-size: 15px; letter-spacing: 1px; }
.ae-stars .is-empty { color: rgba(18,21,26,.2); }

.ae-review__text { margin: 0; font-size: var(--ae-t-base); color: var(--ae-ink); }
.ae-review__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ae-review__avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--ae-fog);
	flex: 0 0 auto;
}
.ae-review__name { font-family: var(--ae-font-head); font-weight: 700; font-size: var(--ae-t-sm); }
.ae-review__meta { font-size: var(--ae-t-xs); color: var(--ae-muted); }
.ae-verified {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 3px;
	font-size: 11px;
	font-weight: 600;
	color: var(--ae-verified);
}
.ae-verified svg { width: 13px; height: 13px; }

.ae-reviews__nav { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.ae-reviews__nav button {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid var(--ae-line);
	background: var(--ae-paper);
	color: var(--ae-ink);
	cursor: pointer;
	transition: background-color .25s var(--ae-ease), color .25s var(--ae-ease);
}
.ae-reviews__nav button:hover { background: var(--ae-ink); color: #fff; }
.ae-section--dark .ae-reviews__nav button { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }


/* 12. FOOTER -------------------------------------------------------------- */
.ae-footer { background: var(--ae-ink); color: rgba(255,255,255,.75); }
.ae-footer a { color: rgba(255,255,255,.75); }
.ae-footer a:hover { color: #fff; }
.ae-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-block: clamp(48px, 6vw, 72px);
}
.ae-footer h4 { color: #fff; font-size: var(--ae-t-sm); letter-spacing: .06em; margin-bottom: 18px; }
.ae-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--ae-t-sm); }
.ae-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-block: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	font-size: var(--ae-t-xs);
}
.ae-social { display: flex; gap: 14px; }
.ae-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.ae-social a:hover { background: #fff; color: var(--ae-ink); }
.ae-social svg { width: 17px; height: 17px; fill: currentColor; }


/* 13. BLOG / SINGLE / 404 ------------------------------------------------- */
.ae-page-head { padding-block: clamp(48px, 6vw, 80px) 0; }
.ae-post { background: var(--ae-paper); border-radius: var(--ae-radius-lg); overflow: hidden; box-shadow: var(--ae-shadow-1); }
.ae-post__body { padding: 24px; }
.ae-post__meta { font-size: var(--ae-t-xs); color: var(--ae-muted); margin-bottom: 8px; }
.ae-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.ae-entry { background: var(--ae-paper); padding: clamp(24px, 4vw, 56px); border-radius: var(--ae-radius-lg); box-shadow: var(--ae-shadow-1); }
.ae-entry img { border-radius: var(--ae-radius); }
.ae-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.ae-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--ae-line); border-radius: var(--ae-radius);
	color: var(--ae-ink); background: var(--ae-paper);
}
.ae-pagination .page-numbers.current { background: var(--ae-ink); color: #fff; border-color: var(--ae-ink); }
.ae-404 { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--ae-line); }


/* 14. WOOCOMMERCE --------------------------------------------------------- */
.woocommerce-page .ae-shop-wrap { padding-block: clamp(40px, 5vw, 72px); }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--ae-cols, 4), minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	background: var(--ae-paper);
	border-radius: var(--ae-radius-lg);
	overflow: hidden;
	box-shadow: var(--ae-shadow-1);
	transition: transform .32s var(--ae-ease), box-shadow .32s var(--ae-ease);
	text-align: left;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow-4); }
.woocommerce ul.products li.product img { margin: 0; aspect-ratio: 3/4; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ae-font-head);
	font-size: 1rem !important;
	padding: 16px 20px 4px !important;
}
.woocommerce ul.products li.product .price { display: block; padding: 0 20px; color: var(--ae-ink); font-family: var(--ae-font-head); font-weight: 700; }
.woocommerce ul.products li.product .star-rating { margin: 6px 20px; color: var(--ae-star); }
.woocommerce ul.products li.product .button { margin: 14px 20px 20px; display: block; text-align: center; }
.woocommerce span.onsale {
	background: var(--ae-accent);
	color: #fff;
	border-radius: 2px;
	font-family: var(--ae-font-head);
	min-height: auto; min-width: auto;
	padding: 5px 10px; line-height: 1;
	top: 12px; left: 12px; right: auto; margin: 0;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--ae-ink);
	color: #fff;
	font-family: var(--ae-font-head);
	font-weight: 600;
	font-size: var(--ae-t-sm);
	border-radius: var(--ae-radius);
	padding: 13px 26px;
	line-height: 1.2;
	transition: background-color .25s var(--ae-ease), transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--ae-accent);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--ae-shadow-2);
}

.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--ae-ink);
	font-family: var(--ae-font-head);
	font-weight: 700;
	font-size: 1.5rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: var(--ae-radius) var(--ae-radius) 0 0; background: var(--ae-fog); border-color: var(--ae-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ae-paper); }

.woocommerce .quantity .qty { width: 78px; text-align: center; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--ae-accent);
	background: var(--ae-paper);
	border-radius: var(--ae-radius);
	font-size: var(--ae-t-sm);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ae-accent); }
.woocommerce table.shop_table { border-radius: var(--ae-radius-lg); border-color: var(--ae-line); background: var(--ae-paper); }
.woocommerce-checkout #payment { background: var(--ae-paper); border-radius: var(--ae-radius-lg); }
.woocommerce-checkout #payment div.payment_box { background: var(--ae-fog); }
.woocommerce form .form-row label { font-size: var(--ae-t-sm); font-weight: 600; }
.select2-container--default .select2-selection--single { height: 46px; border-color: var(--ae-line); border-radius: var(--ae-radius); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce .woocommerce-breadcrumb { font-size: var(--ae-t-xs); color: var(--ae-muted); margin-bottom: 26px; }


/* 15. UTILITIES & ACCESSIBILITY ------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px;
	z-index: 999; padding: 12px 20px;
	background: var(--ae-ink); color: #fff;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.ae-hide { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.ae-card:hover { transform: none; }
}


/* 16. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.ae-products__grid { --ae-cols: 3; }
	.woocommerce ul.products { --ae-cols: 3; }
	.ae-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.ae-nav { display: none; }
	.ae-burger { display: block; }
	.ae-slide--model .ae-slide__inner { grid-template-columns: 1fr; }
	.ae-slide--model .ae-slide__content { order: 2; text-align: center; margin-inline: auto; }
	.ae-slide--model .ae-stage { order: 1; max-height: 44vh; aspect-ratio: 4 / 3; }
	.ae-slide__scrim { background: rgba(10,12,16,.55) !important; }
	.ae-slide__inner { text-align: center; justify-items: center; }
	.ae-slide__text { margin-inline: auto; }
	.ae-slide__buttons { justify-content: center; }
	.ae-hero__arrow { display: none; }
	.ae-usp__grid { grid-template-columns: repeat(2, 1fr); }
	.ae-reviews--grid .ae-reviews__track { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ae-archive__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
	:root { --ae-gutter: 18px; }
	.ae-products__grid { --ae-cols: 2; gap: 16px; }
	.woocommerce ul.products { --ae-cols: 2; gap: 16px; }
	.ae-card__body { padding: 14px 14px 18px; }
	.ae-card__cta { padding: 10px 12px; font-size: var(--ae-t-xs); }
	.ae-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.ae-reviews--grid .ae-reviews__track {
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: minmax(270px, 1fr);
		overflow-x: auto;
	}
	.ae-archive__grid { grid-template-columns: 1fr; }
	.ae-slide__inner { padding-block: 64px 74px; }
	.ae-hero__dots { bottom: 16px; }
}

@media (max-width: 420px) {
	.ae-products__grid { --ae-cols: 1; }
	.woocommerce ul.products { --ae-cols: 1; }
	.ae-btn { width: 100%; }
}
/* =========================================================
   TOP JACKET MAKERS - HERO MARQUEE
   ========================================================= */

.tj-marquee {
	width: 100%;
	overflow: hidden;
	background: #111;
	color: #fff;
	border-top: 1px solid rgba(255,255,255,.08);
	border-bottom: 1px solid rgba(255,255,255,.08);
	padding: 13px 0;
}

.tj-marquee-track {
	display: flex;
	width: max-content;
	animation: tj-marquee-scroll 24s linear infinite;
}

.tj-marquee-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 30px;
	padding-right: 30px;
}

.tj-marquee-group span {
	display: inline-block;
	color: #fff;
	font-family: var(--ae-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	white-space: nowrap;
}

.tj-marquee-group b {
	display: inline-block;
	color: #aaa;
	font-size: 10px;
	font-weight: 400;
	white-space: nowrap;
}

@keyframes tj-marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.tj-marquee:hover .tj-marquee-track {
	animation-play-state: paused;
}


/* MOBILE */
@media (max-width: 720px) {

	.tj-marquee {
		padding: 11px 0;
	}

	.tj-marquee-group {
		gap: 20px;
		padding-right: 20px;
	}

	.tj-marquee-group span {
		font-size: 10px;
		letter-spacing: 1.4px;
	}

	.tj-marquee-group b {
		font-size: 8px;
	}

	.tj-marquee-track {
		animation-duration: 18s;
	}
}