/**
 * JMOTO Works — Main Stylesheet
 * Core layout, typography, and component styles.
 * Responsive overrides live in responsive.css; motion/animation lives
 * in animations.css — kept separate per project requirement so each
 * concern can be audited independently.
 *
 * Builds on the design tokens declared in style.css (Phase 1) and the
 * runtime Customizer overrides printed by inc/customizer.php (Phase 4).
 * Every color/spacing/radius value below references a CSS custom
 * property with a hard fallback, so the site never breaks if a
 * Customizer override is absent.
 *
 * @package JMOTO_Works
 * @since   1.0.0
 */

/* ============================================================
   1. Additional Design Tokens
   (extends the :root tokens already declared in style.css)
   ============================================================ */
:root {
	/* Shadows */
	--jmoto-shadow-sm: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
	--jmoto-shadow-md: 0 20px 40px -18px rgba(0, 0, 0, 0.65);
	--jmoto-shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75);
	--jmoto-shadow-accent: 0 10px 26px -8px rgba(215, 25, 32, 0.55);

	/* Z-index scale */
	--jmoto-z-header: 1000;
	--jmoto-z-offcanvas: 1100;
	--jmoto-z-backdrop: 1090;
	--jmoto-z-back-to-top: 900;
	--jmoto-z-skip-link: 100000;

	/* Transitions */
	--jmoto-transition-fast: 0.2s ease;
	--jmoto-transition-base: 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
	--jmoto-transition-slow: 0.5s cubic-bezier(0.22, 0.9, 0.32, 1);

	/* Header */
	--jmoto-header-height: 80px;

	/* WCAG AA text-safe accent (see assets/css/main.css Section 3/8/9/17 and
	   assets/css/woocommerce.css for its usages). #D71920 measures 3.69:1
	   against #0F0F10 — fails the 4.5:1 AA minimum for normal-size text.
	   This variant measures 4.56–5.19:1 across every background surface
	   the theme uses behind text (#0F0F10 / #171717 / #1D1D1E). Buttons,
	   borders, and icons keep using the original --jmoto-color-accent —
	   those pass contrast already (button text is white-on-red at 5.19:1;
	   icons/borders are non-text UI elements, 3:1 threshold, already met). */
	--jmoto-color-accent-text: #EA4D53;
}

/* ============================================================
   2. Base Styles
   ============================================================ */
body {
	font-size: var(--jmoto-font-size-base, 16px);
	line-height: var(--jmoto-line-height-base, 1.6);
	overflow-x: hidden;
}

a {
	color: var(--jmoto-color-link, var(--jmoto-color-accent-text));
	transition: color var(--jmoto-transition-fast);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--jmoto-color-white);
}

::selection {
	background: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
}

/* ============================================================
   3. Layout / Containers / Utilities
   ============================================================ */
.jmoto-container {
	max-width: var(--jmoto-container-width, 1320px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 40px;
	padding-right: 40px;
}

.jmoto-section-head {
	max-width: 720px;
	margin-bottom: 48px;
}

.jmoto-eyebrow {
	font-family: var(--jmoto-font-mono);
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--jmoto-color-accent-text);
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

.jmoto-eyebrow::before {
	content: '';
	width: 22px;
	height: 2px;
	background: var(--jmoto-color-accent);
	display: inline-block;
	flex-shrink: 0;
}

.jmoto-section-title {
	font-size: clamp(32px, 4.2vw, 52px);
	color: var(--jmoto-color-white);
	margin-bottom: 14px;
}

.jmoto-section-sub {
	color: var(--jmoto-color-ink-muted);
	font-size: 16px;
	font-weight: 300;
	max-width: 560px;
}

.jmoto-admin-hint {
	background: rgba(215, 25, 32, 0.08);
	border: 1px dashed rgba(215, 25, 32, 0.4);
	border-radius: var(--jmoto-radius-sm);
	padding: 14px 18px;
	color: var(--jmoto-color-ink-muted);
	font-size: 13px;
	margin: 0 0 24px;
}

.jmoto-page-wrap {
	padding: 64px 40px 96px;
}

/* Section vertical rhythm — applies to every homepage <section> */
#jmoto-categories,
#jmoto-featured-products,
#jmoto-brands,
#jmoto-services,
#jmoto-reviews,
#jmoto-need-a-part,
#jmoto-contact {
	padding: 96px 0;
}

.jmoto-brands,
.jmoto-services {
	background: var(--jmoto-color-surface);
	border-top: 1px solid var(--jmoto-color-border);
	border-bottom: 1px solid var(--jmoto-color-border);
}

/* ============================================================
   4. Buttons
   ============================================================ */
.jmoto-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	font-family: var(--jmoto-font-body);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--jmoto-transition-base), box-shadow var(--jmoto-transition-base), background var(--jmoto-transition-base), border-color var(--jmoto-transition-base), opacity var(--jmoto-transition-base);
}

.jmoto-btn--primary {
	background: var(--jmoto-button-bg, var(--jmoto-color-accent));
	color: var(--jmoto-button-text, var(--jmoto-color-white));
	box-shadow: var(--jmoto-shadow-accent);
}

.jmoto-btn--outline {
	background: transparent;
	color: var(--jmoto-color-white);
	border-color: rgba(255, 255, 255, 0.3);
}

.jmoto-btn--dark {
	background: var(--jmoto-color-surface-alt);
	color: var(--jmoto-color-white);
	border-color: var(--jmoto-color-border);
}

/* Radius variants — driven by the jmoto-btn-radius-* body class (Phase 4 Customizer) */
body.jmoto-btn-radius-square .jmoto-btn { border-radius: 0; }
body.jmoto-btn-radius-rounded .jmoto-btn { border-radius: var(--jmoto-radius-sm); }
body.jmoto-btn-radius-pill .jmoto-btn { border-radius: var(--jmoto-radius-pill); }

/* ============================================================
   5. Header
   ============================================================ */
.jmoto-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--jmoto-header-height);
	z-index: var(--jmoto-z-header);
	display: flex;
	align-items: center;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background var(--jmoto-transition-base), border-color var(--jmoto-transition-base), backdrop-filter var(--jmoto-transition-base);
}

.jmoto-site-header.is-scrolled,
body.jmoto-header-static .jmoto-site-header {
	background: rgba(15, 15, 16, 0.94);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--jmoto-color-border);
}

body.jmoto-header-static .jmoto-site-header {
	position: absolute;
}

.jmoto-site-header__inner {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.jmoto-site-header__brand {
	flex-shrink: 0;
}

.jmoto-site-header__brand .custom-logo {
	max-height: 44px;
	width: auto;
}

.jmoto-site-header__wordmark {
	font-family: var(--jmoto-font-heading);
	font-size: 26px;
	letter-spacing: 2px;
	color: var(--jmoto-color-white);
}

.jmoto-site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.jmoto-icon-btn {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--jmoto-color-white);
	background: transparent;
	border: none;
	border-radius: var(--jmoto-radius-sm);
	transition: background var(--jmoto-transition-fast);
}

.jmoto-icon-btn:hover {
	background: rgba(255, 255, 255, 0.08);
}

.jmoto-messenger-btn {
	padding: 10px 22px;
}

.jmoto-cart-link {
	position: relative;
	text-decoration: none;
}

.jmoto-cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 50%;
	background: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jmoto-header-search {
	max-height: 0;
	overflow: hidden;
	background: var(--jmoto-color-surface);
	border-bottom: 1px solid transparent;
	transition: max-height var(--jmoto-transition-base), border-color var(--jmoto-transition-base);
}

.jmoto-header-search:not([hidden]) {
	max-height: 90px;
	border-bottom-color: var(--jmoto-color-border);
}

.jmoto-header-search .jmoto-container {
	padding-top: 18px;
	padding-bottom: 18px;
}

.jmoto-nav-placeholder-notice {
	font-size: 12px;
	color: var(--jmoto-color-ink-muted);
}

.jmoto-nav-placeholder-notice a {
	text-decoration: underline;
}

/* ============================================================
   6. Navigation (desktop + offcanvas, from JMOTO_Works_Nav_Walker)
   ============================================================ */
.jmoto-primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.jmoto-primary-menu {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jmoto-menu-item {
	position: relative;
}

.jmoto-menu-link {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--jmoto-color-ink);
	padding: 6px 0;
	position: relative;
}

.jmoto-menu-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--jmoto-color-accent);
	transition: width var(--jmoto-transition-base);
}

.jmoto-menu-link:hover::after,
.jmoto-menu-link.is-active-section::after,
.current-menu-item > .jmoto-menu-link::after,
.current-menu-ancestor > .jmoto-menu-link::after {
	width: 100%;
}

.jmoto-submenu-toggle {
	background: none;
	border: none;
	color: var(--jmoto-color-ink-muted);
	margin-left: 6px;
	padding: 4px;
	cursor: pointer;
	vertical-align: middle;
}

.jmoto-submenu-caret {
	transition: transform var(--jmoto-transition-fast);
}

.jmoto-submenu-toggle[aria-expanded="true"] .jmoto-submenu-caret {
	transform: rotate(180deg);
}

.jmoto-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-sm);
	padding: 10px;
	box-shadow: var(--jmoto-shadow-md);
	list-style: none;
	margin: 10px 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--jmoto-transition-base), transform var(--jmoto-transition-base), visibility var(--jmoto-transition-base);
	z-index: 10;
}

.jmoto-menu-item.has-submenu.is-open > .jmoto-submenu,
.jmoto-primary-nav .jmoto-menu-item.has-submenu:hover > .jmoto-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.jmoto-submenu .jmoto-menu-link {
	display: block;
	padding: 8px 10px;
	border-radius: var(--jmoto-radius-sm);
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
}

.jmoto-submenu .jmoto-menu-link:hover {
	background: rgba(215, 25, 32, 0.08);
	color: var(--jmoto-color-white);
}

.jmoto-submenu .jmoto-menu-link::after {
	display: none;
}

.jmoto-offcanvas-toggle {
	display: none;
}

/* Offcanvas panel */
.jmoto-offcanvas {
	position: fixed;
	inset: 0;
	z-index: var(--jmoto-z-offcanvas);
	pointer-events: none;
}

.jmoto-offcanvas__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: var(--jmoto-color-bg);
	border-left: 1px solid var(--jmoto-color-border);
	padding: 24px;
	transform: translateX(100%);
	transition: transform var(--jmoto-transition-slow);
	overflow-y: auto;
}

.jmoto-offcanvas.is-open {
	pointer-events: auto;
}

.jmoto-offcanvas.is-open .jmoto-offcanvas__panel {
	transform: translateX(0);
}

.jmoto-offcanvas-close {
	margin-left: auto;
	display: flex;
}

.jmoto-offcanvas-backdrop {
	position: fixed;
	inset: 0;
	z-index: var(--jmoto-z-backdrop);
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--jmoto-transition-base), visibility var(--jmoto-transition-base);
}

.jmoto-offcanvas-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
}

.jmoto-offcanvas-menu-list {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jmoto-offcanvas-menu-list .jmoto-menu-link {
	display: block;
	padding: 12px 4px;
	font-family: var(--jmoto-font-heading);
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid var(--jmoto-color-border);
}

.jmoto-offcanvas-menu-list .jmoto-submenu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	background: transparent;
	border: none;
	padding-left: 16px;
	display: none;
}

.jmoto-offcanvas-menu-list .jmoto-menu-item.is-open > .jmoto-submenu {
	display: block;
}

/* ============================================================
   7. Hero
   ============================================================ */
.jmoto-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background:
		radial-gradient(ellipse 60% 55% at 78% 30%, rgba(215, 25, 32, 0.16), transparent 60%),
		linear-gradient(180deg, #0c0c0d 0%, var(--jmoto-color-bg) 55%, #0a0a0b 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.jmoto-hero.has-bg-image .jmoto-hero__overlay {
	background: linear-gradient(180deg, rgba(15, 15, 16, 0.55) 0%, rgba(15, 15, 16, 0.85) 100%);
}

.jmoto-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.jmoto-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: var(--jmoto-header-height);
}

.jmoto-hero__content {
	max-width: 680px;
}

.jmoto-hero__location {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--jmoto-font-mono);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--jmoto-color-ink-muted);
	border: 1px solid var(--jmoto-color-border);
	padding: 8px 14px;
	border-radius: var(--jmoto-radius-pill);
	margin-bottom: 26px;
}

.jmoto-hero__location svg {
	color: var(--jmoto-color-accent);
}

.jmoto-hero__title {
	font-size: clamp(56px, 9vw, 118px);
	color: var(--jmoto-color-white);
	line-height: 0.92;
}

.jmoto-hero__subtitle {
	font-family: var(--jmoto-font-heading);
	font-size: clamp(20px, 2.4vw, 30px);
	letter-spacing: 1px;
	color: var(--jmoto-color-ink);
	margin-top: 18px;
	text-transform: uppercase;
	line-height: 1.35;
}

.jmoto-hero__description {
	margin-top: 22px;
	font-weight: 300;
	font-size: 16.5px;
	color: var(--jmoto-color-ink-muted);
	max-width: 460px;
}

.jmoto-hero__actions {
	margin-top: 40px;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.jmoto-hero__scroll-cue {
	position: absolute;
	bottom: 36px;
	left: 40px;
	z-index: 2;
	display: block;
}

.jmoto-hero__scroll-cue span {
	display: block;
	width: 1px;
	height: 40px;
	background: linear-gradient(var(--jmoto-color-accent), transparent);
}

/* ============================================================
   8. Categories
   ============================================================ */
.jmoto-category-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.jmoto-category-card {
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-md);
	padding: 28px 22px;
	display: flex;
	flex-direction: column;
	transition: transform var(--jmoto-transition-base), border-color var(--jmoto-transition-base), box-shadow var(--jmoto-transition-base);
}

.jmoto-category-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(215, 25, 32, 0.08);
	border: 1px solid rgba(215, 25, 32, 0.25);
	color: var(--jmoto-color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	transition: background var(--jmoto-transition-base), color var(--jmoto-transition-base);
}

.jmoto-category-card__title {
	font-size: 19px;
	color: var(--jmoto-color-white);
	margin-bottom: 10px;
}

.jmoto-category-card__bullets {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.jmoto-category-card__bullets li {
	font-size: 13px;
	color: var(--jmoto-color-ink-muted);
	font-weight: 300;
	display: flex;
	align-items: center;
	gap: 8px;
}

.jmoto-category-card__bullets li::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--jmoto-color-accent);
	flex-shrink: 0;
}

.jmoto-category-card__count {
	display: block;
	font-size: 13px;
	color: var(--jmoto-color-ink-muted);
	margin-bottom: 16px;
}

.jmoto-category-card__cta {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--jmoto-color-accent-text);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}

.jmoto-category-card__cta svg {
	transition: transform var(--jmoto-transition-base);
}

/* ============================================================
   9. Featured Products (WooCommerce-ready)
   ============================================================ */
.jmoto-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.jmoto-product-card {
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--jmoto-transition-base), border-color var(--jmoto-transition-base), box-shadow var(--jmoto-transition-base);
}

.jmoto-product-card__media {
	aspect-ratio: 1 / 1;
	display: block;
	overflow: hidden;
	background: var(--jmoto-color-surface);
}

.jmoto-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--jmoto-transition-slow);
}

.jmoto-product-card__title {
	display: block;
	padding: 16px 18px 4px;
	font-size: 15px;
	font-weight: 500;
	color: var(--jmoto-color-white);
}

.jmoto-product-card__price {
	display: block;
	padding: 0 18px 18px;
	color: var(--jmoto-color-accent-text);
	font-weight: 600;
}

.jmoto-featured-products__cta {
	margin-top: 40px;
	text-align: center;
}

/* ============================================================
   10. Brands
   ============================================================ */
.jmoto-brand-row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jmoto-brand-box {
	display: block;
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: 12px;
	padding: 26px 10px;
	text-align: center;
	font-family: var(--jmoto-font-heading);
	font-size: 19px;
	letter-spacing: 1px;
	color: var(--jmoto-color-ink-muted);
	transition: color var(--jmoto-transition-base), border-color var(--jmoto-transition-base), transform var(--jmoto-transition-base);
}

/* ============================================================
   11. Services
   ============================================================ */
.jmoto-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.jmoto-service-card {
	background: var(--jmoto-color-bg);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-md);
	padding: 30px 26px;
	transition: background var(--jmoto-transition-base), border-color var(--jmoto-transition-base), transform var(--jmoto-transition-base);
}

.jmoto-service-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	border: 1px solid var(--jmoto-color-border);
	color: var(--jmoto-color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.jmoto-service-card__title {
	font-size: 18px;
	color: var(--jmoto-color-white);
	margin-bottom: 8px;
	text-transform: none;
	letter-spacing: 0;
}

.jmoto-service-card__desc {
	font-size: 13.5px;
	color: var(--jmoto-color-ink-muted);
	font-weight: 300;
	margin: 0;
}

/* ============================================================
   12. Reviews
   ============================================================ */
.jmoto-reviews__inner {
	text-align: center;
	max-width: 480px;
}

.jmoto-reviews__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.jmoto-reviews__label {
	font-weight: 600;
	color: var(--jmoto-color-white);
}

.jmoto-reviews__rating {
	font-family: var(--jmoto-font-heading);
	font-size: 36px;
	color: var(--jmoto-color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 28px;
}

.jmoto-reviews__stars {
	color: #F5B400;
	font-size: 20px;
	letter-spacing: 2px;
}

/* ============================================================
   13. Need a Part CTA
   ============================================================ */
.jmoto-need-a-part {
	background: linear-gradient(150deg, var(--jmoto-color-surface), #121213);
	border-top: 1px solid var(--jmoto-color-border);
	border-bottom: 1px solid var(--jmoto-color-border);
}

.jmoto-need-a-part__inner {
	max-width: 620px;
	padding-top: 96px;
	padding-bottom: 96px;
}

.jmoto-need-a-part__desc {
	color: var(--jmoto-color-ink-muted);
	font-weight: 300;
	max-width: 460px;
	margin: 0 0 30px;
}

.jmoto-need-a-part__checklist {
	list-style: none;
	margin: 0 0 34px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jmoto-need-a-part__checklist li {
	position: relative;
	padding-left: 34px;
	font-size: 14.5px;
	color: var(--jmoto-color-ink);
}

.jmoto-need-a-part__checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: rgba(215, 25, 32, 0.12);
	border: 1px solid rgba(215, 25, 32, 0.35);
}

.jmoto-need-a-part__checklist li::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 6px;
	width: 8px;
	height: 4px;
	border-left: 2px solid var(--jmoto-color-accent);
	border-bottom: 2px solid var(--jmoto-color-accent);
	transform: rotate(-45deg);
}

.jmoto-need-a-part__actions {
	margin-top: 8px;
}

/* ============================================================
   14. Contact
   ============================================================ */
.jmoto-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
}

/* When the map column is omitted entirely (no embed configured, visitor
   is not an admin — see template-parts/contact.php), the details column
   is the grid's only child; span it across the full row instead of
   leaving the second column track empty. */
.jmoto-contact__grid > .jmoto-contact__details:only-child {
	grid-column: 1 / -1;
	max-width: 620px;
}

.jmoto-contact__details {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.jmoto-contact__item h3 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-ink-muted);
	margin-bottom: 8px;
}

.jmoto-contact__item address,
.jmoto-contact__item a {
	font-style: normal;
	color: var(--jmoto-color-white);
	font-size: 15px;
	line-height: 1.6;
}

.jmoto-contact__hours {
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--jmoto-color-white);
	font-size: 15px;
}

.jmoto-contact__hours li {
	padding: 4px 0;
}

.jmoto-contact__map {
	min-height: 320px;
	border-radius: var(--jmoto-radius-md);
	overflow: hidden;
	border: 1px solid var(--jmoto-color-border);
	background: var(--jmoto-color-surface-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.jmoto-contact__map iframe {
	display: block;
}

/* ============================================================
   15. Footer CTA
   ============================================================ */
.jmoto-footer-cta {
	background: var(--jmoto-color-surface);
	border-top: 1px solid var(--jmoto-color-border);
	padding: 96px 0 60px;
}

.jmoto-footer-cta__inner {
	text-align: center;
}

.jmoto-footer-cta__title {
	font-size: clamp(36px, 5.5vw, 64px);
	color: var(--jmoto-color-white);
	margin-bottom: 16px;
}

.jmoto-footer-cta__address {
	color: var(--jmoto-color-ink-muted);
	margin-bottom: 32px;
}

.jmoto-footer-cta__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ============================================================
   16. Footer
   ============================================================ */
.jmoto-site-footer {
	background: var(--jmoto-color-bg);
}

.jmoto-footer-description {
	padding: 32px 0 0;
	color: var(--jmoto-color-ink-muted);
	font-size: 14px;
	max-width: 560px;
}

.jmoto-footer-widgets {
	border-top: 1px solid var(--jmoto-color-border);
	padding: 48px 0;
}

.jmoto-footer-widgets__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}

.footer-widget-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-white);
	margin-bottom: 14px;
}

.footer-widget {
	color: var(--jmoto-color-ink-muted);
	font-size: 14px;
}

.jmoto-footer-bottom {
	border-top: 1px solid var(--jmoto-color-border);
	padding: 26px 0;
}

.jmoto-footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.jmoto-footer-copyright,
.jmoto-footer-mobile {
	font-size: 12.5px;
	color: var(--jmoto-color-ink-muted);
	margin: 0;
}

.jmoto-footer-mobile a {
	color: var(--jmoto-color-ink-muted);
}

.jmoto-social-icons {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jmoto-social-icons a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--jmoto-color-ink-muted);
	transition: color var(--jmoto-transition-fast), border-color var(--jmoto-transition-fast), background var(--jmoto-transition-fast);
}

.jmoto-social-icons a:hover {
	color: var(--jmoto-color-white);
	border-color: var(--jmoto-color-accent);
	background: rgba(215, 25, 32, 0.1);
}

/* Compact footer layout variant (Phase 4 Customizer: Footer Layout) */
body.jmoto-footer-compact .jmoto-footer-widgets {
	display: none;
}

body.jmoto-footer-compact .jmoto-footer-cta {
	padding: 60px 0 40px;
}

/* ============================================================
   17. Blog / Archive / Single / Search / 404 / Page
   ============================================================ */
.jmoto-archive-header {
	margin-bottom: 40px;
}

.jmoto-archive-title {
	font-size: clamp(32px, 5vw, 56px);
	color: var(--jmoto-color-white);
}

.jmoto-archive-title span {
	color: var(--jmoto-color-accent);
}

.jmoto-archive-description {
	color: var(--jmoto-color-ink-muted);
	margin-top: 10px;
}

.jmoto-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.jmoto-post-card {
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--jmoto-transition-base), border-color var(--jmoto-transition-base);
}

.jmoto-post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.jmoto-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.jmoto-post-card__eyebrow {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-accent-text);
	margin-bottom: 8px;
}

.jmoto-post-card__title {
	font-size: 19px;
	margin: 0 0 8px;
	text-transform: none;
	letter-spacing: 0;
}

.jmoto-post-card__title a {
	color: var(--jmoto-color-white);
}

.jmoto-post-card__meta {
	font-size: 12px;
	color: var(--jmoto-color-ink-muted);
	margin-bottom: 12px;
}

.jmoto-post-card__excerpt {
	font-size: 14px;
	color: var(--jmoto-color-ink-muted);
	font-weight: 300;
	flex: 1;
}

.jmoto-post-card__link {
	margin-top: 16px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-accent-text);
}

.jmoto-no-results {
	color: var(--jmoto-color-ink-muted);
	padding: 40px 0;
}

.jmoto-pagination ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	flex-wrap: wrap;
}

.jmoto-pagination a,
.jmoto-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--jmoto-radius-sm);
	border: 1px solid var(--jmoto-color-border);
	color: var(--jmoto-color-ink-muted);
	font-size: 13px;
}

.jmoto-pagination a:hover,
.jmoto-pagination .current {
	border-color: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
}

.jmoto-breadcrumbs ol,
.jmoto-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	font-size: 12px;
	color: var(--jmoto-color-ink-muted);
}

.jmoto-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 6px;
	color: var(--jmoto-color-border);
}

.jmoto-breadcrumbs a {
	color: var(--jmoto-color-ink-muted);
}

.jmoto-page__title,
.jmoto-single-post__title {
	font-size: clamp(32px, 5vw, 56px);
	color: var(--jmoto-color-white);
	margin-bottom: 16px;
}

.jmoto-page__thumbnail,
.jmoto-single-post__thumbnail {
	border-radius: var(--jmoto-radius-md);
	overflow: hidden;
	margin-bottom: 32px;
}

.jmoto-page__content,
.jmoto-single-post__content {
	max-width: 760px;
	color: var(--jmoto-color-ink);
	font-weight: 300;
}

.jmoto-page__content p,
.jmoto-single-post__content p {
	margin-bottom: 20px;
}

.jmoto-single-post__eyebrow {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-accent-text);
	margin-bottom: 10px;
}

.jmoto-single-post__meta {
	display: flex;
	gap: 16px;
	color: var(--jmoto-color-ink-muted);
	font-size: 13px;
	margin-bottom: 32px;
}

.jmoto-single-post__tags {
	list-style: none;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 32px 0 0;
	padding: 0;
}

.jmoto-single-post__tags a {
	display: block;
	padding: 6px 14px;
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-pill);
	font-size: 12px;
	color: var(--jmoto-color-ink-muted);
}

.jmoto-post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--jmoto-color-border);
	border-bottom: 1px solid var(--jmoto-color-border);
	padding: 24px 0;
	margin: 48px 0;
	max-width: 760px;
}

.jmoto-post-navigation a {
	color: var(--jmoto-color-white);
	font-weight: 500;
}

.jmoto-404 {
	text-align: center;
	padding: 140px 40px;
}

.jmoto-404__title {
	font-size: clamp(60px, 12vw, 140px);
	color: var(--jmoto-color-accent);
}

.jmoto-404__description {
	color: var(--jmoto-color-ink-muted);
	max-width: 480px;
	margin: 0 auto 32px;
}

.jmoto-404__search {
	max-width: 420px;
	margin: 40px auto 0;
}

/* ============================================================
   18. Comments
   ============================================================ */
.jmoto-comments {
	max-width: 760px;
	margin-top: 64px;
}

.jmoto-comments__title {
	font-size: 26px;
	color: var(--jmoto-color-white);
	margin-bottom: 24px;
}

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

.jmoto-comment-list .comment-body {
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-sm);
	padding: 20px;
	margin-bottom: 16px;
}

.jmoto-comment-list .comment-author .avatar {
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

.comment-respond .comment-form-comment textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"] {
	width: 100%;
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-sm);
	color: var(--jmoto-color-ink);
	padding: 12px 14px;
	font-family: var(--jmoto-font-body);
	margin-bottom: 16px;
}

.comment-respond .form-submit input[type="submit"] {
	background: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
	border: none;
	padding: 14px 28px;
	border-radius: var(--jmoto-radius-sm);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	cursor: pointer;
}

/* ============================================================
   19. Sidebar / Widgets (WooCommerce shop sidebar, Phase 6-ready)
   ============================================================ */
.jmoto-sidebar {
	width: var(--jmoto-sidebar-width, 320px);
}

.shop-widget-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--jmoto-color-white);
	margin-bottom: 14px;
}

/* ============================================================
   20. Forms (generic — shared by comment form, search form)
   ============================================================ */
.search-form {
	display: flex;
	gap: 10px;
}

.search-form__label,
.search-form label {
	flex: 1;
	margin: 0;
}

.search-field {
	width: 100%;
	background: var(--jmoto-color-surface-alt);
	border: 1px solid var(--jmoto-color-border);
	border-radius: var(--jmoto-radius-sm);
	color: var(--jmoto-color-ink);
	padding: 12px 16px;
	font-family: var(--jmoto-font-body);
}

.search-submit {
	background: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
	border: none;
	border-radius: var(--jmoto-radius-sm);
	padding: 0 22px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	cursor: pointer;
}

/* ============================================================
   21. Back To Top
   (element is created dynamically by navigation.js — no locked
   PHP template needed a new placeholder for this Phase 5 feature)
   ============================================================ */
.jmoto-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--jmoto-color-accent);
	color: var(--jmoto-color-white);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: var(--jmoto-z-back-to-top);
	box-shadow: var(--jmoto-shadow-accent);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--jmoto-transition-base), visibility var(--jmoto-transition-base), transform var(--jmoto-transition-base);
}

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