/**
 * Freedomman Theme - Shop / Store Stylesheet
 * Approved Shop Design V1 (Desktop / Tablet / Mobile)
 *
 * Adheres to:
 * - docs/DESIGN-SYSTEM.md
 * - Design Tokens (--fm-*)
 * - Responsive breakpoints: 1440, 1280, 1024, 768, 430, 390, 375
 * - Zero global regressions
 *
 * @package Freedomman
 * @version 1.0.0
 */

/* ==========================================================================
   0. SHOP PAGE CONTAINER & OVERFLOW PREVENTION
   ========================================================================== */
html, body {
	overflow-x: hidden;
	max-width: 100vw;
}

.fm-shop-page {
	overflow-x: clip;
	width: 100%;
	max-width: 100%;
}

/* ==========================================================================
   1. BREADCRUMB NAVIGATION
   ========================================================================== */
.fm-shop-breadcrumb-container {
	padding-top: var(--fm-space-6, 24px);
	padding-bottom: var(--fm-space-2, 8px);
}

.fm-breadcrumb-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--fm-space-2, 8px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fm-text-caption, 0.75rem);
	color: var(--fm-text-muted, #8F9BAE);
}

.fm-breadcrumb-link {
	color: var(--fm-text-muted, #8F9BAE);
	text-decoration: none;
	transition: color var(--fm-transition-micro, 180ms ease-out);
}

.fm-breadcrumb-link:hover,
.fm-breadcrumb-link:focus-visible {
	color: var(--fm-brand-cyan, #00DDFB);
}

.fm-breadcrumb-sep {
	color: var(--fm-border-visible, #2B4164);
	font-size: 0.7rem;
	user-select: none;
}

.fm-breadcrumb-current-text {
	color: var(--fm-text-primary, #F7F9FC);
	font-weight: var(--fm-weight-medium, 500);
}

/* ==========================================================================
   2. SHOP HERO SECTION
   ========================================================================== */
.fm-shop-hero-section {
	padding-top: var(--fm-space-4, 16px);
	padding-bottom: var(--fm-space-8, 32px);
}

.fm-shop-hero-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	grid-template-areas:
		"text artwork"
		"chips artwork";
	gap: var(--fm-space-6, 24px) var(--fm-space-10, 40px);
	align-items: center;
	min-width: 0;
	width: 100%;
}

.fm-shop-hero-text {
	grid-area: text;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fm-shop-hero-title {
	font-size: var(--fm-text-hero, clamp(2.25rem, 5vw + 1rem, 4rem));
	font-weight: var(--fm-weight-extrabold, 800);
	line-height: var(--fm-leading-hero, 1.08);
	color: var(--fm-text-primary, #F7F9FC);
	letter-spacing: -0.025em;
	margin: 0 0 var(--fm-space-4, 16px) 0;
}

.fm-shop-hero-desc {
	font-size: var(--fm-text-body-lg, 1.125rem);
	line-height: var(--fm-leading-body, 1.65);
	color: var(--fm-text-secondary, #C7D0DE);
	margin: 0 0 var(--fm-space-4, 16px) 0;
	max-width: 620px;
}

/* Category Chips */
.fm-shop-chips-nav {
	grid-area: chips;
	margin-top: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.fm-shop-chips-scroll {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--fm-space-2, 8px);
	max-width: 100%;
}

.fm-shop-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: var(--fm-radius-pill, 999px);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-label, 0.875rem);
	font-weight: var(--fm-weight-medium, 500);
	color: var(--fm-text-secondary, #C7D0DE);
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--fm-transition-micro, 180ms ease-out);
	user-select: none;
}

.fm-shop-chip:hover {
	background: var(--fm-bg-surface-raised, #0D1728);
	border-color: var(--fm-border-visible, #2B4164);
	color: var(--fm-text-primary, #F7F9FC);
}

.fm-shop-chip.is-active {
	background: linear-gradient(135deg, #7357FF 0%, #2788FF 55%, #00DDFB 100%);
	color: #FFFFFF;
	font-weight: var(--fm-weight-bold, 700);
	border-color: transparent;
	box-shadow: 0 0 20px rgba(0, 221, 251, 0.25), 0 2px 10px rgba(115, 87, 255, 0.3);
}

.fm-shop-chip-count {
	font-size: 0.8125rem;
	opacity: 0.85;
}

/* Right Artwork (3D AI Shopping Cart visual slot) */
.fm-shop-hero-artwork {
	display: flex;
	justify-content: center;
	align-items: center;
}

.fm-shop-art-card {
	position: relative;
	width: 100%;
	max-width: 340px;
	height: 230px;
	background: linear-gradient(145deg, #09111F 0%, #0D1728 100%);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-xl, 20px);
	overflow: hidden;
	box-shadow: var(--fm-shadow-surface, 0 4px 20px rgba(0, 0, 0, 0.5));
}

.fm-shop-art-glow {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(0, 221, 251, 0.2) 0%, rgba(115, 87, 255, 0.15) 50%, transparent 70%);
	filter: blur(28px);
	pointer-events: none;
}

.fm-shop-art-inner {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Floating Hologram Badges */
.fm-shop-holo-item {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: var(--fm-radius-md, 12px);
	background: rgba(13, 23, 40, 0.85);
	border: 1px solid rgba(0, 221, 251, 0.4);
	color: var(--fm-brand-cyan, #00DDFB);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 221, 251, 0.15);
	animation: fmHoloFloat 4s ease-in-out infinite alternate;
}

.fm-shop-holo-1 {
	top: 24px;
	left: 28px;
	animation-delay: 0s;
}

.fm-shop-holo-2 {
	top: 20px;
	right: 32px;
	border-color: rgba(115, 87, 255, 0.4);
	color: #9A84FF;
	animation-delay: -1.3s;
}

.fm-shop-holo-3 {
	bottom: 30px;
	left: 36px;
	border-color: rgba(39, 136, 255, 0.4);
	color: var(--fm-brand-blue, #2788FF);
	animation-delay: -2.6s;
}

@keyframes fmHoloFloat {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	100% {
		transform: translateY(-8px) rotate(3deg);
	}
}

/* 3D Shopping Cart Center Stage */
.fm-shop-cart-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
}

.fm-shop-cart-box {
	position: relative;
	width: 110px;
	height: 80px;
	background: linear-gradient(135deg, rgba(39, 136, 255, 0.25) 0%, rgba(115, 87, 255, 0.3) 100%);
	border: 1.5px solid var(--fm-brand-cyan, #00DDFB);
	border-radius: var(--fm-radius-md, 12px);
	box-shadow: 0 0 25px rgba(0, 221, 251, 0.3), inset 0 0 15px rgba(0, 221, 251, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.fm-shop-cart-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.fm-shop-ai-badge {
	font-size: 1.75rem;
	font-weight: var(--fm-weight-extrabold, 800);
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, #FFFFFF 0%, #00DDFB 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 15px rgba(0, 221, 251, 0.4);
}

.fm-shop-cart-grid-lines {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	opacity: 0.25;
}

.fm-shop-cart-grid-lines span {
	width: 100%;
	height: 1px;
	background: var(--fm-brand-cyan, #00DDFB);
}

.fm-shop-cart-wheels {
	display: flex;
	gap: 50px;
	margin-top: 6px;
}

.fm-wheel {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #09111F;
	border: 2px solid var(--fm-brand-cyan, #00DDFB);
	box-shadow: 0 0 8px rgba(0, 221, 251, 0.4);
}

.fm-shop-cart-base-shadow {
	width: 120px;
	height: 10px;
	background: radial-gradient(ellipse at center, rgba(0, 221, 251, 0.3) 0%, transparent 70%);
	margin-top: 4px;
}

/* ==========================================================================
   3. TRUST / BENEFIT STRIP
   ========================================================================== */
.fm-shop-trust-section {
	margin: var(--fm-space-6, 24px) 0 var(--fm-space-10, 40px);
}

.fm-shop-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--fm-space-5, 20px);
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-lg, 16px);
	padding: var(--fm-space-5, 20px) var(--fm-space-6, 24px);
}

.fm-shop-trust-card {
	display: flex;
	align-items: center;
	gap: var(--fm-space-4, 16px);
}

.fm-shop-trust-icon-box {
	width: 44px;
	height: 44px;
	border-radius: var(--fm-radius-md, 12px);
	background: rgba(39, 136, 255, 0.1);
	border: 1px solid rgba(39, 136, 255, 0.25);
	color: var(--fm-brand-cyan, #00DDFB);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: border-color var(--fm-transition-micro, 180ms ease-out), background-color var(--fm-transition-micro, 180ms ease-out);
}

.fm-shop-trust-card:hover .fm-shop-trust-icon-box {
	background: rgba(39, 136, 255, 0.18);
	border-color: var(--fm-brand-cyan, #00DDFB);
}

.fm-shop-trust-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fm-shop-trust-title {
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0 0 2px 0;
	line-height: var(--fm-leading-tight, 1.4);
}

.fm-shop-trust-sub {
	font-size: var(--fm-text-caption, 0.75rem);
	color: var(--fm-text-muted, #8F9BAE);
	margin: 0;
	line-height: var(--fm-leading-tight, 1.4);
}

/* ==========================================================================
   4. MOBILE ACTION BAR (Hidden on Desktop)
   ========================================================================== */
.fm-shop-mobile-action-bar {
	display: none;
	margin-bottom: var(--fm-space-5, 20px);
}

.fm-shop-mobile-actions-flex {
	display: flex;
	gap: var(--fm-space-3, 12px);
	align-items: center;
}

.fm-mobile-filter-trigger {
	flex: 1;
	height: var(--fm-touch-target-min, 44px);
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-visible, #2B4164);
	border-radius: var(--fm-radius-md, 12px);
	color: var(--fm-text-primary, #F7F9FC);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-semibold, 600);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--fm-space-2, 8px);
	cursor: pointer;
	transition: all var(--fm-transition-micro, 180ms ease-out);
}

.fm-mobile-filter-trigger:hover,
.fm-mobile-filter-trigger:focus-visible {
	border-color: var(--fm-brand-cyan, #00DDFB);
	color: var(--fm-brand-cyan, #00DDFB);
}

.fm-mobile-filter-active-count {
	background: var(--fm-brand-cyan, #00DDFB);
	color: #02060D;
	font-size: 0.6875rem;
	font-weight: var(--fm-weight-bold, 700);
	border-radius: 999px;
	padding: 1px 6px;
	min-width: 18px;
	text-align: center;
}

.fm-mobile-sort-wrap {
	flex: 1;
	position: relative;
}

.fm-mobile-sort-select-box {
	position: relative;
	width: 100%;
}

.fm-mobile-sort-select {
	width: 100%;
	height: var(--fm-touch-target-min, 44px);
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-visible, #2B4164);
	border-radius: var(--fm-radius-md, 12px);
	color: var(--fm-text-primary, #F7F9FC);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-semibold, 600);
	padding: 0 32px 0 12px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.fm-sort-chevron {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--fm-text-muted, #8F9BAE);
	font-size: 0.8rem;
}

/* ==========================================================================
   5. MAIN SHOP LAYOUT (Desktop Sidebar + Results)
   ========================================================================== */
.fm-shop-main-section {
	margin-bottom: var(--fm-space-16, 64px);
}

.fm-shop-main-container {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: var(--fm-space-8, 32px);
	align-items: start;
}

/* 5A. FILTER SIDEBAR (Desktop) */
.fm-shop-sidebar {
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-lg, 16px);
	padding: var(--fm-space-6, 24px) var(--fm-space-5, 20px);
	position: sticky;
	top: 90px;
}

.fm-filter-group {
	border: none;
	padding: 0;
	margin: 0 0 var(--fm-space-6, 24px) 0;
}

.fm-filter-heading {
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin-bottom: var(--fm-space-3, 12px);
	display: block;
}

/* Search Box */
.fm-search-input-wrap {
	position: relative;
	width: 100%;
}

.fm-filter-search-field {
	width: 100%;
	height: 40px;
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-sm, 8px);
	padding: 0 36px 0 12px;
	color: var(--fm-text-primary, #F7F9FC);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	outline: none;
	transition: border-color var(--fm-transition-micro, 180ms ease-out), box-shadow var(--fm-transition-micro, 180ms ease-out);
}

.fm-filter-search-field:focus {
	border-color: var(--fm-brand-cyan, #00DDFB);
	box-shadow: 0 0 0 2px rgba(0, 221, 251, 0.2);
}

.fm-search-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--fm-text-muted, #8F9BAE);
	pointer-events: none;
}

/* Filter Checkbox List */
.fm-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fm-checkbox-label {
	display: flex;
	align-items: center;
	gap: var(--fm-space-2, 8px);
	cursor: pointer;
	font-size: var(--fm-text-body-sm, 0.875rem);
	color: var(--fm-text-secondary, #C7D0DE);
	user-select: none;
	transition: color var(--fm-transition-micro, 180ms ease-out);
}

.fm-checkbox-label:hover {
	color: var(--fm-text-primary, #F7F9FC);
}

.fm-filter-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.fm-checkbox-custom {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-visible, #2B4164);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all var(--fm-transition-micro, 180ms ease-out);
	position: relative;
}

.fm-filter-checkbox:checked + .fm-checkbox-custom {
	background: var(--fm-brand-blue, #2788FF);
	border-color: var(--fm-brand-cyan, #00DDFB);
}

.fm-filter-checkbox:checked + .fm-checkbox-custom::after {
	content: '';
	width: 4px;
	height: 8px;
	border: solid #FFFFFF;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translate(-1px, -1px);
}

.fm-filter-checkbox:focus-visible + .fm-checkbox-custom {
	box-shadow: 0 0 0 2px var(--fm-brand-cyan, #00DDFB);
}

.fm-checkbox-text {
	flex: 1;
}

.fm-filter-count {
	color: var(--fm-text-muted, #8F9BAE);
	font-size: 0.8125rem;
}

/* Rating Stars inside filter */
.fm-stars-row {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.fm-stars-row .star-on {
	color: var(--fm-color-warning, #FFB547);
	letter-spacing: 1px;
}

.fm-stars-row .star-off {
	color: var(--fm-border-visible, #2B4164);
	letter-spacing: 1px;
}

.fm-stars-text {
	color: var(--fm-text-muted, #8F9BAE);
	font-size: 0.75rem;
	margin-left: 2px;
}

/* Reset Button */
.fm-filter-reset-btn {
	width: 100%;
	height: 38px;
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-sm, 8px);
	color: var(--fm-text-secondary, #C7D0DE);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-medium, 500);
	cursor: pointer;
	transition: all var(--fm-transition-micro, 180ms ease-out);
	margin-top: var(--fm-space-2, 8px);
}

.fm-filter-reset-btn:hover,
.fm-filter-reset-btn:focus-visible {
	background: var(--fm-bg-interactive, #111C32);
	border-color: var(--fm-border-visible, #2B4164);
	color: var(--fm-text-primary, #F7F9FC);
}

/* ==========================================================================
   5B. RESULTS AREA
   ========================================================================== */
.fm-shop-results-wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fm-shop-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--fm-space-6, 24px);
}

.fm-shop-results-title {
	font-size: var(--fm-text-h3, clamp(1.25rem, 1.5vw + 0.8rem, 1.5rem));
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.fm-shop-count {
	color: var(--fm-text-muted, #8F9BAE);
	font-weight: var(--fm-weight-regular, 400);
}

/* Desktop Sort Dropdown */
.fm-shop-desktop-sort {
	display: flex;
	align-items: center;
	gap: var(--fm-space-2, 8px);
}

.fm-shop-sort-label {
	font-size: var(--fm-text-body-sm, 0.875rem);
	color: var(--fm-text-muted, #8F9BAE);
}

.fm-shop-sort-select-box {
	position: relative;
}

.fm-shop-sort-select {
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-sm, 8px);
	color: var(--fm-text-primary, #F7F9FC);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	padding: 8px 32px 8px 12px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color var(--fm-transition-micro, 180ms ease-out);
}

.fm-shop-sort-select:hover,
.fm-shop-sort-select:focus-visible {
	border-color: var(--fm-brand-cyan, #00DDFB);
	outline: none;
}

/* ==========================================================================
   5C. PRODUCT CARD GRID & REUSABLE PRODUCT CARD COMPONENT
   ========================================================================== */
.fm-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--fm-space-5, 20px);
}

/* Core Product Card */
.fm-product-card {
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-lg, 16px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--fm-transition-card, 220ms cubic-bezier(0.16, 1, 0.3, 1)),
	            border-color var(--fm-transition-card, 220ms cubic-bezier(0.16, 1, 0.3, 1)),
	            box-shadow var(--fm-transition-card, 220ms cubic-bezier(0.16, 1, 0.3, 1));
	height: 100%;
	position: relative;
}

.fm-product-card:hover {
	transform: translateY(-2px);
	border-color: var(--fm-border-visible, #2B4164);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 221, 251, 0.08);
}

.fm-product-card:focus-within {
	border-color: var(--fm-brand-cyan, #00DDFB);
	box-shadow: 0 0 0 2px rgba(0, 221, 251, 0.2);
}

/* Image Wrap */
.fm-product-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--fm-bg-deep, #02060D);
	overflow: hidden;
}

.fm-product-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.fm-product-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 300ms ease;
}

.fm-product-card:hover .fm-product-thumb {
	transform: scale(1.03);
}

/* Badges */
.fm-prod-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	font-size: 0.6875rem;
	font-weight: var(--fm-weight-bold, 700);
	border-radius: var(--fm-radius-xs, 6px);
	padding: 3px 8px;
	line-height: 1.2;
	text-transform: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fm-badge-hot {
	background: linear-gradient(135deg, #7357FF 0%, #D844FF 100%);
	color: #FFFFFF;
}

.fm-badge-new {
	background: var(--fm-brand-cyan, #00DDFB);
	color: #02060D;
}

.fm-badge-free {
	background: var(--fm-color-success, #25D695);
	color: #02060D;
}

.fm-badge-discount {
	background: var(--fm-color-error, #FF5D6C);
	color: #FFFFFF;
}

/* Card Body */
.fm-product-body {
	padding: var(--fm-space-4, 16px);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fm-product-title {
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-bold, 700);
	line-height: var(--fm-leading-tight, 1.4);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0 0 var(--fm-space-2, 8px) 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

.fm-product-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--fm-transition-micro, 180ms ease-out);
}

.fm-product-title a:hover,
.fm-product-title a:focus-visible {
	color: var(--fm-brand-cyan, #00DDFB);
}

.fm-product-desc {
	font-size: var(--fm-text-caption, 0.75rem);
	line-height: 1.5;
	color: var(--fm-text-muted, #8F9BAE);
	margin: 0 0 var(--fm-space-3, 12px) 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3em;
}

/* Rating */
.fm-product-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: var(--fm-text-caption, 0.75rem);
	margin-top: auto;
	margin-bottom: var(--fm-space-3, 12px);
}

.fm-product-star {
	color: var(--fm-color-warning, #FFB547);
	font-size: 0.875rem;
}

.fm-product-rating-val {
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
}

.fm-product-reviews-count {
	color: var(--fm-text-muted, #8F9BAE);
	font-size: 0.75rem;
}

/* Footer / Price & Action Row */
.fm-product-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: var(--fm-space-3, 12px);
	border-top: 1px solid rgba(27, 41, 64, 0.6);
}

.fm-product-price-wrap {
	display: flex;
	flex-direction: column;
}

.fm-product-price-orig {
	font-size: 0.75rem;
	color: var(--fm-text-muted, #8F9BAE);
	text-decoration: line-through;
	line-height: 1.2;
}

.fm-product-price {
	font-size: 1rem;
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-color-warning, #FFB547);
	line-height: 1.2;
}

.fm-product-price.is-free {
	color: var(--fm-color-success, #25D695);
}

.fm-product-action-btn {
	width: 36px;
	height: 36px;
	border-radius: var(--fm-radius-sm, 8px);
	background: rgba(39, 136, 255, 0.1);
	border: 1px solid rgba(39, 136, 255, 0.3);
	color: var(--fm-brand-cyan, #00DDFB);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all var(--fm-transition-micro, 180ms ease-out);
	flex-shrink: 0;
}

.fm-product-action-btn:hover,
.fm-product-action-btn:focus-visible {
	background: var(--fm-brand-blue, #2788FF);
	border-color: var(--fm-brand-cyan, #00DDFB);
	color: #FFFFFF;
	box-shadow: 0 0 12px rgba(39, 136, 255, 0.4);
}

/* ==========================================================================
   5D. EMPTY STATE
   ========================================================================== */
.fm-shop-empty-state {
	text-align: center;
	padding: var(--fm-space-12, 48px) var(--fm-space-6, 24px);
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-lg, 16px);
	margin-top: var(--fm-space-4, 16px);
}

.fm-shop-empty-icon {
	color: var(--fm-text-muted, #8F9BAE);
	margin-bottom: var(--fm-space-4, 16px);
}

.fm-shop-empty-title {
	font-size: var(--fm-text-h3, 1.25rem);
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0 0 var(--fm-space-2, 8px) 0;
}

.fm-shop-empty-desc {
	font-size: var(--fm-text-body-sm, 0.875rem);
	color: var(--fm-text-muted, #8F9BAE);
	margin: 0 0 var(--fm-space-6, 24px) 0;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
}

.fm-shop-empty-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: var(--fm-radius-sm, 8px);
	cursor: pointer;
}

/* ==========================================================================
   5E. PAGINATION (Desktop) & LOAD MORE (Mobile)
   ========================================================================== */
.fm-shop-pagination {
	display: flex;
	justify-content: center;
	margin-top: var(--fm-space-10, 40px);
}

.fm-shop-pagination .nav-links {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-md, 12px);
	padding: 6px 10px;
}

.fm-shop-pagination .page-numbers {
	min-width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--fm-radius-sm, 8px);
	border: none;
	background: transparent;
	color: var(--fm-text-secondary, #C7D0DE);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-medium, 500);
	cursor: pointer;
	transition: all var(--fm-transition-micro, 180ms ease-out);
	padding: 0 8px;
}

.fm-shop-pagination .page-numbers:hover:not(.current):not(:disabled) {
	background: var(--fm-bg-interactive, #111C32);
	color: var(--fm-text-primary, #F7F9FC);
}

.fm-shop-pagination .page-numbers.current {
	background: linear-gradient(135deg, #7357FF 0%, #2788FF 100%);
	color: #FFFFFF;
	font-weight: var(--fm-weight-bold, 700);
	box-shadow: 0 0 12px rgba(39, 136, 255, 0.35);
}

.fm-shop-pagination .page-numbers:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Mobile Load More */
.fm-shop-mobile-loadmore {
	display: none;
	margin-top: var(--fm-space-6, 24px);
}

.fm-loadmore-btn {
	width: 100%;
	height: var(--fm-touch-target-min, 44px);
	background: var(--fm-bg-surface-raised, #0D1728);
	border: 1px solid var(--fm-border-visible, #2B4164);
	border-radius: var(--fm-radius-md, 12px);
	color: var(--fm-text-primary, #F7F9FC);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-semibold, 600);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--fm-space-2, 8px);
	cursor: pointer;
	transition: all var(--fm-transition-micro, 180ms ease-out);
}

.fm-loadmore-btn:hover,
.fm-loadmore-btn:focus-visible {
	border-color: var(--fm-brand-cyan, #00DDFB);
	color: var(--fm-brand-cyan, #00DDFB);
}

/* ==========================================================================
   6. WHY FREEDOMMAN SECTION
   ========================================================================== */
.fm-shop-why-section {
	margin: var(--fm-space-16, 64px) 0 var(--fm-space-12, 48px);
}

.fm-shop-why-header {
	margin-bottom: var(--fm-space-6, 24px);
}

.fm-shop-why-title {
	font-size: var(--fm-text-h2, clamp(1.625rem, 2vw + 1rem, 2.25rem));
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0;
	letter-spacing: -0.02em;
}

.fm-shop-why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--fm-space-5, 20px);
}

.fm-shop-why-card {
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-lg, 16px);
	padding: var(--fm-space-5, 20px);
	display: flex;
	gap: var(--fm-space-4, 16px);
	align-items: flex-start;
	transition: transform var(--fm-transition-card, 220ms ease), border-color var(--fm-transition-card, 220ms ease);
}

.fm-shop-why-card:hover {
	border-color: var(--fm-border-visible, #2B4164);
	transform: translateY(-2px);
}

.fm-shop-why-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: var(--fm-radius-md, 12px);
	background: rgba(115, 87, 255, 0.12);
	border: 1px solid rgba(115, 87, 255, 0.3);
	color: var(--fm-brand-violet, #7357FF);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.fm-shop-why-card:hover .fm-shop-why-icon-wrap {
	border-color: var(--fm-brand-cyan, #00DDFB);
	color: var(--fm-brand-cyan, #00DDFB);
}

.fm-shop-why-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fm-shop-why-item-title {
	font-size: var(--fm-text-body, 1rem);
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0 0 var(--fm-space-2, 8px) 0;
	line-height: var(--fm-leading-tight, 1.4);
}

.fm-shop-why-item-desc {
	font-size: var(--fm-text-caption, 0.75rem);
	line-height: 1.55;
	color: var(--fm-text-muted, #8F9BAE);
	margin: 0;
}

/* ==========================================================================
   7. MOBILE FILTER DRAWER (Off-canvas)
   ========================================================================== */
.fm-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(2, 6, 13, 0.78);
	backdrop-filter: blur(4px);
	z-index: 9998;
	display: none;
}

.fm-drawer-backdrop.is-active {
	display: block;
}

.fm-filter-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 86%;
	max-width: 360px;
	background: var(--fm-bg-surface, #09111F);
	border-left: 1px solid var(--fm-border-visible, #2B4164);
	z-index: 9999;
	display: none;
	flex-direction: column;
	transform: translateX(100%);
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.7);
}

.fm-filter-drawer.is-open {
	display: flex;
	transform: translateX(0);
}

@media (min-width: 769px) {
	.fm-drawer-backdrop,
	.fm-filter-drawer {
		display: none !important;
	}
}

.fm-drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--fm-space-4, 16px) var(--fm-space-5, 20px);
	border-bottom: 1px solid var(--fm-border-subtle, #1B2940);
}

.fm-drawer-title {
	font-size: var(--fm-text-body-lg, 1.125rem);
	font-weight: var(--fm-weight-bold, 700);
	color: var(--fm-text-primary, #F7F9FC);
	margin: 0;
}

.fm-drawer-close-btn {
	background: transparent;
	border: none;
	color: var(--fm-text-muted, #8F9BAE);
	width: var(--fm-touch-target-min, 44px);
	height: var(--fm-touch-target-min, 44px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: var(--fm-radius-sm, 8px);
	transition: color var(--fm-transition-micro, 180ms ease-out);
}

.fm-drawer-close-btn:hover,
.fm-drawer-close-btn:focus-visible {
	color: var(--fm-text-primary, #F7F9FC);
}

.fm-drawer-body {
	padding: var(--fm-space-5, 20px);
	overflow-y: auto;
	flex: 1;
	-webkit-overflow-scrolling: touch;
}

.fm-drawer-footer {
	padding: var(--fm-space-4, 16px) var(--fm-space-5, 20px);
	border-top: 1px solid var(--fm-border-subtle, #1B2940);
	display: flex;
	gap: var(--fm-space-3, 12px);
	background: var(--fm-bg-surface-raised, #0D1728);
}

.fm-drawer-reset-btn {
	flex: 1;
	height: 42px;
	background: var(--fm-bg-surface, #09111F);
	border: 1px solid var(--fm-border-subtle, #1B2940);
	border-radius: var(--fm-radius-sm, 8px);
	color: var(--fm-text-secondary, #C7D0DE);
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-medium, 500);
	cursor: pointer;
}

.fm-drawer-apply-btn {
	flex: 1;
	height: 42px;
	background: var(--fm-brand-blue, #2788FF);
	border: 1px solid var(--fm-brand-cyan, #00DDFB);
	border-radius: var(--fm-radius-sm, 8px);
	color: #FFFFFF;
	font-family: var(--fm-font-primary);
	font-size: var(--fm-text-body-sm, 0.875rem);
	font-weight: var(--fm-weight-bold, 700);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: 0 0 14px rgba(39, 136, 255, 0.35);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 8A. Desktop Compact (1025px - 1280px) */
@media (max-width: 1280px) {
	.fm-shop-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.fm-shop-trust-grid {
		gap: var(--fm-space-4, 16px);
		padding: var(--fm-space-4, 16px);
	}
}

/* 8B. Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) {
	.fm-shop-hero-container {
		grid-template-columns: 1fr 280px;
		gap: var(--fm-space-6, 24px);
	}

	.fm-shop-main-container {
		grid-template-columns: 220px 1fr;
		gap: var(--fm-space-6, 24px);
	}

	.fm-shop-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-shop-trust-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--fm-space-4, 16px);
	}

	.fm-shop-why-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--fm-space-4, 16px);
	}
}

/* 8C. Mobile Landscape & Small Tablet (<= 768px) */
@media (max-width: 768px) {
	.fm-shop-hero-container {
		display: flex !important;
		flex-direction: column !important;
		gap: var(--fm-space-4, 16px);
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.fm-shop-hero-text {
		order: 1;
		width: 100%;
		min-width: 0;
	}

	.fm-shop-hero-artwork {
		order: 2;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-bottom: var(--fm-space-2, 8px);
	}

	.fm-shop-art-card {
		width: 100%;
		max-width: 100%;
		height: 190px;
		overflow: hidden;
	}

	.fm-shop-chips-nav {
		order: 3;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.fm-shop-chips-scroll {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding-bottom: 6px;
	}

	.fm-shop-chips-scroll::-webkit-scrollbar {
		display: none;
	}

	.fm-shop-main-container {
		grid-template-columns: 1fr;
	}

	/* Sidebar hidden in desktop position, transferred to drawer */
	.fm-shop-sidebar {
		display: none;
	}

	.fm-shop-desktop-sort {
		display: none;
	}

	/* Show mobile action bar */
	.fm-shop-mobile-action-bar {
		display: block;
	}

	.fm-shop-trust-grid {
		grid-template-columns: 1fr;
		gap: var(--fm-space-3, 12px);
		padding: var(--fm-space-4, 16px);
	}

	/* Mobile Product Card — Compact Horizontal Layout */
	.fm-shop-grid {
		display: flex;
		flex-direction: column;
		gap: var(--fm-space-3, 12px);
	}

	.fm-product-card {
		flex-direction: row;
		min-height: 105px;
		border-radius: var(--fm-radius-md, 12px);
		align-items: stretch;
	}

	.fm-product-thumb-wrap {
		width: 105px;
		min-width: 105px;
		max-width: 105px;
		aspect-ratio: 1 / 1;
		height: auto;
		border-radius: var(--fm-radius-md, 12px) 0 0 var(--fm-radius-md, 12px);
	}

	.fm-prod-badge {
		top: 6px;
		left: 6px;
		font-size: 0.625rem;
		padding: 2px 6px;
	}

	.fm-product-body {
		padding: 10px 12px;
		justify-content: space-between;
		min-width: 0;
	}

	.fm-product-title {
		font-size: 0.84375rem;
		line-height: 1.35;
		margin: 0 0 4px 0;
		min-height: unset;
		-webkit-line-clamp: 2;
	}

	.fm-product-desc {
		display: none; /* Hide long description on mobile cards for compact scanning */
	}

	.fm-product-rating {
		margin-top: 0;
		margin-bottom: 4px;
		font-size: 0.75rem;
	}

	.fm-product-footer {
		padding-top: 0;
		border-top: none;
		align-items: flex-end;
	}

	.fm-product-price {
		font-size: 0.9375rem;
	}

	.fm-product-action-btn {
		width: 32px;
		height: 32px;
		border-radius: var(--fm-radius-xs, 6px);
	}

	/* Mobile Pagination Toggle */
	.fm-shop-pagination {
		display: none;
	}

	.fm-shop-mobile-loadmore {
		display: block;
	}

	.fm-shop-why-grid {
		grid-template-columns: 1fr;
		gap: var(--fm-space-3, 12px);
	}
}

/* 8D. Mobile Narrow (375px - 430px) */
@media (max-width: 430px) {
	.fm-shop-hero-title {
		font-size: 2rem;
	}

	.fm-shop-hero-desc {
		font-size: 0.9375rem;
		margin-bottom: var(--fm-space-5, 20px);
	}

	.fm-shop-chip {
		padding: 6px 14px;
		font-size: 0.8125rem;
	}

	.fm-product-thumb-wrap {
		width: 95px;
		min-width: 95px;
		max-width: 95px;
	}

	.fm-product-title {
		font-size: 0.8125rem;
	}

	.fm-product-price {
		font-size: 0.875rem;
	}
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.fm-shop-holo-item {
		animation: none;
	}

	.fm-product-card,
	.fm-product-thumb,
	.fm-filter-drawer,
	.fm-drawer-backdrop {
		transition: none !important;
	}
}
