/**
 * Global Fashion Design System
 * Neutral premium palette intentionally uses variables so final brand identity
 * can be swapped without rebuilding components.
 */

:root {
	--fashion-ink: #111111;
	--fashion-ink-soft: #343434;
	--fashion-muted: #707070;
	--fashion-surface: #ffffff;
	--fashion-surface-soft: #f6f5f2;
	--fashion-surface-warm: #efede8;
	--fashion-line: #e7e5e0;
	--fashion-accent: #111111;
	--fashion-accent-contrast: #ffffff;
	--fashion-danger: #b42318;
	--fashion-success: #19724b;
	--fashion-radius-xs: 4px;
	--fashion-radius-sm: 8px;
	--fashion-radius-md: 14px;
	--fashion-radius-lg: 22px;
	--fashion-shadow-soft: 0 12px 40px rgba(17, 17, 17, .08);
	--fashion-container: 1440px;
	--fashion-space-1: clamp(8px, .7vw, 12px);
	--fashion-space-2: clamp(12px, 1vw, 18px);
	--fashion-space-3: clamp(18px, 1.6vw, 28px);
	--fashion-space-4: clamp(28px, 3vw, 52px);
	--fashion-space-5: clamp(44px, 5vw, 88px);
	--fashion-ease: cubic-bezier(.22, 1, .36, 1);
}

.wm-fashion-store {
	color: var(--fashion-ink);
	background: var(--fashion-surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wm-fashion-store :where(a, button, input, select, textarea) {
	-webkit-tap-highlight-color: transparent;
}

.wm-fashion-store :where(a, button) {
	transition: color .22s ease, background-color .22s ease, border-color .22s ease, opacity .22s ease, transform .28s var(--fashion-ease);
}

.wm-fashion-store :where(button, .button, .btn, .single_add_to_cart_button) {
	min-height: 46px;
	font-weight: 700;
	letter-spacing: .01em;
}

.wm-fashion-store :where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea) {
	border-radius: var(--fashion-radius-xs);
	border-color: var(--fashion-line);
	background-color: var(--fashion-surface);
}

.wm-fashion-store :where(input, select, textarea):focus {
	outline: 2px solid color-mix(in srgb, var(--fashion-accent) 28%, transparent);
	outline-offset: 1px;
}

/* ---------- Header ---------- */
.wm-fashion-store .whb-main-header {
	transition: background-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}

.wm-fashion-store.wm-fashion-scrolled .whb-sticky-real.whb-sticked,
.wm-fashion-store.wm-fashion-scrolled .whb-clone.whb-sticked {
	background: rgba(255, 255, 255, .93);
	box-shadow: 0 1px 0 rgba(17, 17, 17, .08);
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
}

.wm-fashion-store .wd-nav-main > li > a {
	font-weight: 650;
	letter-spacing: .005em;
}

.wm-fashion-store .wd-header-cart,
.wm-fashion-store .wd-header-wishlist,
.wm-fashion-store .wd-header-my-account,
.wm-fashion-store .wd-header-search {
	--wd-header-el-color: var(--fashion-ink);
}

/* ---------- Optional announcement bar ---------- */
.wm-fashion-store .fashion-announcement {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-inline: 16px;
	background: var(--fashion-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-align: center;
}

/* ---------- Hero classes for the imported home page ---------- */
.wm-fashion-store .fashion-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(620px, 78vh, 880px);
	display: grid;
	align-items: end;
	overflow: hidden;
	background: #171717;
	color: #fff;
}

.wm-fashion-store .fashion-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.68) 100%);
	pointer-events: none;
}

.wm-fashion-store .fashion-hero__content {
	width: min(100%, var(--fashion-container));
	margin-inline: auto;
	padding: clamp(32px, 5vw, 82px) clamp(20px, 4vw, 64px);
}

.wm-fashion-store .fashion-hero__eyebrow {
	margin: 0 0 12px;
	font-size: clamp(12px, 1vw, 14px);
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.wm-fashion-store .fashion-hero__title {
	max-width: 900px;
	margin: 0;
	font-size: clamp(46px, 7vw, 108px);
	font-weight: 800;
	line-height: .94;
	letter-spacing: -.045em;
	color: inherit;
}

.wm-fashion-store .fashion-hero__copy {
	max-width: 620px;
	margin-block: 22px 30px;
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.7;
	color: rgba(255,255,255,.86);
}

.wm-fashion-store .fashion-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wm-fashion-store .fashion-hero__actions .button {
	min-width: 150px;
	min-height: 50px;
	border: 1px solid #fff;
	background: #fff;
	color: #111;
}

.wm-fashion-store .fashion-hero__actions .button.is-outline {
	background: transparent;
	color: #fff;
}

/* ---------- Editorial section rhythm ---------- */
.wm-fashion-store .fashion-section {
	padding-block: var(--fashion-space-5);
}

.wm-fashion-store .fashion-section--soft {
	background: var(--fashion-surface-soft);
}

.wm-fashion-store .fashion-section-heading {
	margin-block-end: clamp(24px, 3vw, 44px);
}

.wm-fashion-store .fashion-section-heading :where(h2, h3) {
	margin: 0;
	font-size: clamp(30px, 4vw, 58px);
	font-weight: 780;
	line-height: 1.05;
	letter-spacing: -.025em;
}

.wm-fashion-store .fashion-section-heading p {
	max-width: 650px;
	margin-block-start: 12px;
	color: var(--fashion-muted);
	font-size: clamp(15px, 1.2vw, 18px);
}

/* ---------- Product grids ---------- */
.wm-fashion-store .wd-products {
	--wd-prod-gap: clamp(14px, 1.8vw, 28px);
}

.wm-fashion-store .wd-product {
	border-radius: 0;
}

.wm-fashion-store .wd-product .product-wrapper,
.wm-fashion-store .wd-product .wd-product-wrapper {
	background: transparent;
}

.wm-fashion-store .wd-product .product-element-top {
	overflow: hidden;
	background: var(--fashion-surface-soft);
}

.wm-fashion-store .wd-product .product-element-top img {
	transition: transform .65s var(--fashion-ease);
}

@media (hover:hover) and (pointer:fine) {
	.wm-fashion-store .wd-product:hover .product-element-top img {
		transform: scale(1.025);
	}
}

.wm-fashion-store .wd-product .product-element-bottom {
	padding-block-start: 12px;
}

.wm-fashion-store .wd-product .wd-entities-title {
	font-size: clamp(14px, 1.1vw, 16px);
	font-weight: 680;
	line-height: 1.45;
}

.wm-fashion-store .wd-product .price {
	margin-block-start: 5px;
	font-weight: 750;
	color: var(--fashion-ink);
}

.wm-fashion-store .wm-fashion-sale-badge {
	inset-block-start: 12px;
	inset-inline-start: 12px;
	min-width: auto;
	min-height: 28px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--fashion-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

/* ---------- Shop filters ---------- */
.wm-fashion-store .wd-product-filters,
.wm-fashion-store .area-sidebar-shop {
	font-size: 14px;
}

.wm-fashion-store .wd-active-filters a {
	border-radius: 999px;
	background: var(--fashion-surface-soft);
	padding: 6px 10px;
}

/* ---------- Size / color swatches ---------- */
.wm-fashion-store .wd-swatches-product,
.wm-fashion-store .wd-swatches-attr {
	gap: 8px;
}

.wm-fashion-store .wd-swatch.wd-text,
.wm-fashion-store .wd-swatch-text {
	min-width: 44px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: 12px;
	border: 1px solid var(--fashion-line);
	border-radius: var(--fashion-radius-xs);
	background: #fff;
	color: var(--fashion-ink);
	font-size: 13px;
	font-weight: 750;
	line-height: 1;
}

.wm-fashion-store .wd-swatch.wd-text:hover,
.wm-fashion-store .wd-swatch.wd-active,
.wm-fashion-store .wd-swatch.selected {
	border-color: var(--fashion-ink);
	background: var(--fashion-ink);
	color: #fff;
}

.wm-fashion-store .wd-swatch.wd-disabled,
.wm-fashion-store .wd-swatch.disabled {
	opacity: .32;
}

/* ---------- Product page ---------- */
.wm-fashion-store.single-product .product-image-summary {
	gap: clamp(28px, 4vw, 70px);
}

.wm-fashion-store.single-product .summary-inner > .product_title {
	font-size: clamp(30px, 3.4vw, 52px);
	font-weight: 780;
	line-height: 1.06;
	letter-spacing: -.025em;
}

.wm-fashion-store.single-product .summary-inner > .price {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 760;
}

.wm-fashion-store.single-product .woocommerce-product-gallery__image {
	background: var(--fashion-surface-soft);
}

.wm-fashion-store.single-product .variations th,
.wm-fashion-store.single-product .variations td {
	padding-block: 8px;
}

.wm-fashion-store.single-product .single_add_to_cart_button {
	min-height: 52px;
	padding-inline: clamp(28px, 4vw, 58px);
	border-radius: var(--fashion-radius-xs);
	background: var(--fashion-ink);
	color: #fff;
	font-size: 15px;
}

.wm-fashion-store.single-product .single_add_to_cart_button:hover {
	background: #000;
	transform: translateY(-1px);
}

.wm-fashion-store.single-product .woocommerce-tabs,
.wm-fashion-store.single-product .wd-accordion {
	border-color: var(--fashion-line);
}

/* ---------- Cart / checkout ---------- */
.wm-fashion-store.woocommerce-cart .cart-totals-inner,
.wm-fashion-store.woocommerce-checkout .checkout-order-review,
.wm-fashion-store.woocommerce-checkout .woocommerce-checkout-review-order {
	border: 1px solid var(--fashion-line);
	border-radius: var(--fashion-radius-sm);
	box-shadow: none;
}

.wm-fashion-store.woocommerce-checkout #place_order {
	min-height: 54px;
	width: 100%;
	background: var(--fashion-ink);
	font-size: 15px;
	font-weight: 800;
}

/* ---------- Accessibility ---------- */
.wm-fashion-store :focus-visible {
	outline: 2px solid var(--fashion-ink);
	outline-offset: 3px;
}

.wm-fashion-store .screen-reader-text:focus {
	z-index: 100000;
}

/* ---------- Motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
	.wm-fashion-store *,
	.wm-fashion-store *::before,
	.wm-fashion-store *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.wm-fashion-store .fashion-hero {
		min-height: min(78svh, 760px);
	}

	.wm-fashion-store .fashion-hero__content {
		padding: 28px 18px 38px;
	}

	.wm-fashion-store .fashion-hero__title {
		font-size: clamp(42px, 14vw, 68px);
		line-height: .96;
	}

	.wm-fashion-store .fashion-hero__copy {
		font-size: 15px;
	}

	.wm-fashion-store .fashion-hero__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.wm-fashion-store .fashion-hero__actions .button {
		min-width: 0;
		width: 100%;
	}

	.wm-fashion-store .wd-product .wd-entities-title {
		font-size: 14px;
	}

	.wm-fashion-store.single-product .summary-inner > .product_title {
		font-size: 30px;
	}

	.wm-fashion-store.single-product .single_add_to_cart_button {
		min-height: 52px;
	}
}
