:root {
	--ms-font-heading: "DM Sans", system-ui, sans-serif;
	--ms-font-body: "Space Grotesk", system-ui, sans-serif;
	--ms-color-primary: #e02b20;
	--ms-color-dark: #101114;
	--ms-color-graphite: #1b1d22;
	--ms-color-muted: #5d636c;
	--ms-color-line: #d9dde3;
	--ms-color-surface: #f5f6f8;
	--ms-color-white: #ffffff;
	--ms-radius-none: 0px;
	--ms-shadow-subtle: 0 18px 50px rgb(16 17 20 / 8%);
	--ms-container-max: 1600px;
	--ms-shell-gutter: clamp(20px, 3vw, 48px);
	--ms-section-y: clamp(84px, 9vw, 160px);
	--ms-header-height: 82px;
	--ms-transition: 180ms ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html.lenis {
	scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	font-family: var(--ms-font-body);
}

body.is-menu-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: inherit;
	font-family: var(--ms-font-heading);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.05;
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	display: block;
	max-width: 100%;
}

.ms-js:not(.prefers-reduced-motion):not(.ms-animations-ready) [data-ms-reveal],
.ms-js:not(.prefers-reduced-motion):not(.ms-animations-ready) [data-ms-reveal-group] > * {
	opacity: 0;
}

button,
input,
textarea,
select {
	border-radius: var(--ms-radius-none);
	font: inherit;
}

::selection {
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
	font-weight: 800;
}

.ms-shell {
	width: min(calc(100% - var(--ms-shell-gutter) * 2), var(--ms-container-max));
	margin-inline: auto;
}

.ms-section {
	padding-block: var(--ms-section-y);
}

[data-ms-reveal],
[data-ms-reveal-group] > *,
[data-ms-parallax] {
	will-change: transform, opacity;
}

.prefers-reduced-motion [data-ms-reveal],
.prefers-reduced-motion [data-ms-reveal-group] > *,
.prefers-reduced-motion [data-ms-parallax] {
	will-change: auto;
}

.ms-section--dark {
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
}

.ms-section--surface {
	background: var(--ms-color-surface);
}

.ms-minimal-category {
	padding-block: clamp(76px, 7vw, 112px) clamp(76px, 9vw, 124px);
	background: var(--ms-color-white);
}

.ms-minimal-category__shell {
	display: grid;
	justify-items: center;
}

.ms-minimal-category__shell > * {
	width: min(100%, 1280px);
}

.ms-category-editorial-layout {
	display: grid;
	grid-template-columns: minmax(230px, 0.28fr) minmax(0, 0.72fr);
	gap: clamp(42px, 6vw, 96px);
	align-items: start;
	width: min(100%, 1280px);
	margin-top: clamp(54px, 6vw, 86px);
}

.ms-category-editorial-sidebar {
	position: sticky;
	top: calc(var(--ms-header-height) + 28px);
	align-self: start;
}

.ms-category-editorial-sidebar > strong {
	display: block;
	border-bottom: 1px solid rgb(16 17 20 / 8%);
	padding-block: 0 16px;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1rem, 1.15vw, 1.18rem);
	line-height: 1.15;
}

.ms-category-editorial-main {
	min-width: 0;
}

.ms-category-back-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: clamp(22px, 3vw, 34px);
	color: var(--ms-color-muted);
	font-size: 0.88rem;
	font-weight: 800;
	transition: color var(--ms-transition), transform var(--ms-transition);
}

.ms-category-back-link:hover,
.ms-category-back-link:focus-visible {
	color: var(--ms-color-primary);
	transform: translateX(-3px);
}

.ms-minimal-category .ms-breadcrumbs {
	margin-bottom: clamp(20px, 2.6vw, 34px);
}

.ms-category-hero-text {
	padding-bottom: 0;
}

.ms-category-hero-text h1 {
	max-width: 980px;
	font-size: clamp(2.65rem, 5vw, 5.35rem);
	line-height: 0.98;
}

.ms-category-hero-text > p:not(.ms-eyebrow) {
	max-width: 980px;
	margin-top: 26px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.15vw, 1.12rem);
	line-height: 1.72;
}

.ms-minimal-category-note {
	margin-top: clamp(28px, 4vw, 54px);
	color: var(--ms-color-muted);
	font-size: clamp(0.98rem, 1.08vw, 1.06rem);
	line-height: 1.78;
}

.ms-minimal-category-note a {
	color: var(--ms-color-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-minimal-subcategory-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(48px, 5vw, 72px);
	border-top: 1px solid rgb(16 17 20 / 10%);
	border-left: 1px solid rgb(16 17 20 / 10%);
}

.ms-minimal-subcategory-item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	gap: clamp(14px, 2vw, 24px);
	align-items: start;
	min-height: clamp(132px, 10vw, 168px);
	border-right: 1px solid rgb(16 17 20 / 10%);
	border-bottom: 1px solid rgb(16 17 20 / 10%);
	padding: clamp(20px, 2.2vw, 30px);
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	transition: color var(--ms-transition), background var(--ms-transition), border-color var(--ms-transition);
}

.ms-minimal-subcategory-item__number {
	min-width: 0;
	color: rgb(16 17 20 / 30%);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.28rem, 1.8vw, 2rem);
	font-weight: 800;
	line-height: 0.9;
}

.ms-minimal-subcategory-item__content {
	display: grid;
	gap: 12px;
}

.ms-minimal-subcategory-item__content strong {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.05rem, 1.34vw, 1.42rem);
	font-weight: 800;
	line-height: 1.16;
}

.ms-minimal-subcategory-item__content small {
	max-width: 520px;
	color: var(--ms-color-muted);
	font-size: clamp(0.86rem, 0.95vw, 0.96rem);
	font-weight: 600;
	line-height: 1.55;
}

.ms-minimal-subcategory-item em {
	color: var(--ms-color-primary);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	transition: transform var(--ms-transition), color var(--ms-transition);
}

.ms-minimal-subcategory-item:hover,
.ms-minimal-subcategory-item:focus-visible {
	background: #fbfbfa;
}

.ms-minimal-subcategory-item.is-current {
	background: transparent;
}

.ms-minimal-subcategory-item:hover .ms-minimal-subcategory-item__content strong,
.ms-minimal-subcategory-item:focus-visible .ms-minimal-subcategory-item__content strong {
	color: var(--ms-color-primary);
}

.ms-minimal-subcategory-item:hover em,
.ms-minimal-subcategory-item:focus-visible em {
	transform: translateX(8px);
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-list {
	grid-template-columns: 1fr;
	margin-top: 0;
	border-top: 0;
	border-left: 0;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item {
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: auto;
	border-right: 0;
	border-bottom-color: rgb(16 17 20 / 6%);
	padding: 14px 0;
	background: transparent;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item__number {
	display: none;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item__content {
	gap: 0;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item__content strong {
	font-family: var(--ms-font-body);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.32;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item.is-current .ms-minimal-subcategory-item__content strong {
	color: var(--ms-color-primary);
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item__content small {
	display: none;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item em {
	font-size: 0;
	line-height: 1;
}

.ms-category-editorial-sidebar .ms-minimal-subcategory-item em::before {
	content: "→";
	font-size: 1rem;
}

.ms-minimal-category-seo-text {
	display: grid;
	gap: 0;
	margin-top: 0;
}

.ms-category-content-section {
	display: grid;
	grid-template-columns: minmax(0, 860px);
	gap: 0;
	border-bottom: 1px solid rgb(16 17 20 / 7%);
	padding: clamp(34px, 4vw, 56px) 0;
	background: var(--ms-color-white);
}

.ms-category-content-section:last-child {
	border-bottom: 0;
}

.ms-category-content-section::before {
	display: none;
}

.ms-category-content-section h2 {
	grid-column: 1;
	grid-row: 2;
	max-width: 780px;
	margin-top: 12px;
	color: var(--ms-color-dark);
	font-size: clamp(1.28rem, 1.65vw, 2rem);
	line-height: 1.16;
}

.ms-category-content-section h3 {
	grid-column: 1;
	grid-row: 1;
	max-width: 680px;
	margin-top: 0;
	color: var(--ms-color-primary);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.35;
	text-transform: uppercase;
}

.ms-category-content-section p {
	grid-column: 1;
	grid-row: 3;
	max-width: 820px;
	margin-top: 20px;
	color: var(--ms-color-muted);
	font-size: clamp(0.96rem, 1.02vw, 1.04rem);
	line-height: 1.78;
}

.ms-technical-variants,
.ms-faq-section {
	background: var(--ms-color-white);
}

.ms-technical-variants__header,
.ms-faq-section__header {
	max-width: 880px;
	margin-bottom: clamp(34px, 5vw, 58px);
}

.ms-technical-variants__header h2,
.ms-faq-section__header h2,
.ms-inquiry-checklist__copy h2 {
	font-size: clamp(1.72rem, 3.1vw, 3.35rem);
	line-height: 1.04;
}

.ms-technical-variants__header p,
.ms-inquiry-checklist__copy p {
	max-width: 720px;
	margin-top: 18px;
	color: var(--ms-color-muted);
	line-height: 1.72;
}

.ms-technical-variants__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-technical-variant {
	min-height: 260px;
	padding: clamp(22px, 2vw, 32px);
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-technical-variant h3 {
	color: var(--ms-color-dark);
	font-size: clamp(1.02rem, 1.18vw, 1.28rem);
	line-height: 1.16;
}

.ms-technical-variant p {
	margin-top: 18px;
	color: var(--ms-color-muted);
	font-size: 0.95rem;
	line-height: 1.68;
}

.ms-inquiry-checklist {
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
}

.ms-inquiry-checklist__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(42px, 6vw, 96px);
	align-items: start;
}

.ms-inquiry-checklist__copy p {
	color: rgb(255 255 255 / 72%);
}

.ms-inquiry-checklist__copy .ms-btn {
	margin-top: 30px;
}

.ms-inquiry-checklist__items {
	display: grid;
	border-top: 1px solid rgb(255 255 255 / 16%);
}

.ms-inquiry-checklist__items li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid rgb(255 255 255 / 16%);
	color: rgb(255 255 255 / 78%);
	line-height: 1.6;
}

.ms-inquiry-checklist__items li::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: 9px;
	background: var(--ms-color-primary);
}

.ms-faq-section__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-faq-item {
	min-height: 220px;
	padding: clamp(22px, 2vw, 34px);
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-faq-item h3 {
	font-size: clamp(1.05rem, 1.36vw, 1.42rem);
	line-height: 1.18;
}

.ms-faq-item p {
	margin-top: 16px;
	color: var(--ms-color-muted);
	font-size: 0.96rem;
	line-height: 1.7;
}

.ms-eyebrow {
	margin-bottom: 18px;
	color: var(--ms-color-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 1px solid currentColor;
	padding: 0 22px;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
	transition: transform var(--ms-transition), background var(--ms-transition), border-color var(--ms-transition), color var(--ms-transition);
}

.ms-btn:hover,
.ms-btn:focus-visible {
	transform: translateY(-2px);
}

.ms-btn--primary {
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
	border-color: var(--ms-color-primary);
}

.ms-btn--secondary {
	color: var(--ms-color-white);
	background: transparent;
	border-color: rgb(255 255 255 / 42%);
}

.ms-btn--dark {
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
	border-color: var(--ms-color-dark);
}

.ms-text-link {
	color: var(--ms-color-primary);
	font-weight: 800;
}

.ms-grid {
	display: grid;
	gap: 18px;
}

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

/* Home offer section */
.ms-home-offer__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(24px, 4vw, 64px);
	align-items: end;
	margin-bottom: clamp(48px, 5.5vw, 86px);
}

.ms-home-offer__header h2 {
	max-width: 800px;
	font-size: clamp(1.85rem, 2.8vw, 3.2rem);
}

.ms-home-offer__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid currentColor;
	color: var(--ms-color-primary);
	font-weight: 800;
	transition: color var(--ms-transition);
	white-space: nowrap;
}

.ms-home-offer__cta:hover,
.ms-home-offer__cta:focus-visible {
	color: var(--ms-color-dark);
}

.ms-home-offer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-home-offer__grid .ms-offer-card {
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	border-left: 0;
	border-top: 0;
	height: 100%;
}

.ms-home-offer__grid .ms-offer-card + .ms-offer-card {
	border-top: 0;
}

.ms-offer-card.ms-offer-card--vertical {
	grid-template-columns: 1fr;
	grid-template-rows: clamp(200px, 14vw, 260px) 1fr;
	min-height: clamp(440px, 34vw, 520px);
}

.ms-offer-card.ms-offer-card--vertical .ms-offer-card__media {
	height: 100%;
	min-height: auto;
}

.ms-offer-card.ms-offer-card--vertical .ms-offer-card__body {
	padding: clamp(18px, 2.2vw, 28px);
}

.ms-offer-card.ms-offer-card--vertical h3 {
	font-size: clamp(1.18rem, 1.5vw, 1.55rem);
}

.ms-offer-card.ms-offer-card--vertical p {
	margin-top: 12px;
	font-size: clamp(0.92rem, 0.98vw, 1rem);
	line-height: 1.58;
}

.ms-offer-card.ms-offer-card--vertical .ms-offer-card__link {
	margin-top: clamp(16px, 2vw, 24px);
}

.ms-home-offer__grid .ms-offer-card--compact {
	grid-template-rows: clamp(150px, 12vw, 210px) 1fr;
	min-height: auto;
}

.ms-home-offer__grid .ms-offer-card--compact .ms-offer-card__media {
	height: 100%;
}

.ms-home-offer__grid .ms-offer-card--compact .ms-offer-card__body {
	padding: clamp(18px, 1.8vw, 26px);
}

.ms-home-offer__grid .ms-offer-card--compact h3 {
	font-size: clamp(1.08rem, 1.35vw, 1.42rem);
	line-height: 1.12;
}

.ms-home-offer__grid .ms-offer-card--compact p {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	margin-top: 10px;
	font-size: clamp(0.88rem, 0.92vw, 0.96rem);
	line-height: 1.5;
}

.ms-home-offer__grid .ms-offer-card--compact .ms-offer-card__items {
	gap: 8px;
	margin-top: 18px;
}

.ms-home-offer__grid .ms-offer-card--compact .ms-offer-card__items li {
	font-size: 0.92rem;
	line-height: 1.42;
}

.ms-home-offer__grid .ms-offer-card--compact .ms-offer-card__link {
	margin-top: 18px;
	font-size: 0.94rem;
}

/* Home inquiry, cases and local CTA */
.ms-home-inquiry-process .ms-section-heading > p {
	color: rgb(255 255 255 / 68%);
}

.ms-home-inquiry-process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 16%);
	border-left: 1px solid rgb(255 255 255 / 16%);
}

.ms-home-customer-cases {
	background: var(--ms-color-white);
}

.ms-home-customer-cases__header {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
	gap: clamp(28px, 5vw, 78px);
	align-items: end;
	margin-bottom: clamp(42px, 5vw, 78px);
}

.ms-home-customer-cases__header .ms-eyebrow {
	grid-column: 1 / -1;
}

.ms-home-customer-cases__header h2,
.ms-home-industry-areas h2,
.ms-home-local-cta h2 {
	font-size: clamp(1.95rem, 3vw, 3.35rem);
}

.ms-home-customer-cases__header > p:not(.ms-eyebrow) {
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.12vw, 1.12rem);
	line-height: 1.72;
}

.ms-home-customer-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-home-case {
	min-height: 238px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 36px);
	background: var(--ms-color-white);
}

.ms-home-case span {
	display: block;
	width: 30px;
	height: 2px;
	margin-bottom: 30px;
	background: var(--ms-color-primary);
}

.ms-home-case h3 {
	font-size: clamp(1.08rem, 1.35vw, 1.42rem);
}

.ms-home-case p {
	margin-top: 14px;
	color: var(--ms-color-muted);
	line-height: 1.66;
}

.ms-home-industry-areas__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.44fr) minmax(320px, 0.56fr);
	gap: clamp(34px, 6vw, 96px);
	align-items: start;
}

.ms-home-industry-areas__content {
	display: grid;
	gap: 28px;
}

.ms-home-industry-areas__content > p {
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.14vw, 1.12rem);
	line-height: 1.78;
}

.ms-home-industry-areas__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-home-industry-areas__list li {
	min-height: 82px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: 22px;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-weight: 800;
	line-height: 1.25;
}

.ms-home-local-cta {
	color: var(--ms-color-white);
	background: var(--ms-color-graphite);
}

.ms-home-local-cta__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
	gap: clamp(34px, 6vw, 96px);
	align-items: stretch;
}

.ms-home-local-cta__copy {
	display: grid;
	align-content: center;
	gap: 22px;
}

.ms-home-local-cta__copy p:not(.ms-eyebrow) {
	max-width: 700px;
	color: rgb(255 255 255 / 70%);
	font-size: clamp(1rem, 1.16vw, 1.14rem);
	line-height: 1.72;
}

.ms-home-local-cta__panel {
	display: grid;
	align-content: space-between;
	gap: 34px;
	min-height: 310px;
	border: 1px solid rgb(255 255 255 / 16%);
	padding: clamp(24px, 3vw, 38px);
	background: rgb(255 255 255 / 4%);
}

.ms-home-local-cta__panel address {
	display: grid;
	gap: 8px;
	font-style: normal;
}

.ms-home-local-cta__panel address strong {
	margin-bottom: 8px;
	font-family: var(--ms-font-heading);
	font-size: clamp(1.2rem, 1.55vw, 1.62rem);
}

.ms-home-local-cta__panel address span {
	color: rgb(255 255 255 / 68%);
}

.ms-home-local-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ms-main {
	min-height: 55vh;
}

.ms-header {
	position: sticky;
	z-index: 50;
	top: 0;
	width: 100%;
	color: var(--ms-color-dark);
	background: rgb(255 255 255 / 94%);
	border-bottom: 1px solid var(--ms-color-line);
	backdrop-filter: blur(16px);
	transition: color var(--ms-transition), border-color var(--ms-transition), box-shadow var(--ms-transition), background var(--ms-transition), backdrop-filter var(--ms-transition);
}

body.ms-home-transparent-header .ms-header {
	position: fixed;
	color: var(--ms-color-white);
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
}

body.admin-bar .ms-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .ms-header {
		top: 46px;
	}
}

.ms-header.is-scrolled,
.ms-header.is-menu-open {
	box-shadow: 0 12px 34px rgb(16 17 20 / 8%);
}

body.ms-home-transparent-header .ms-header.is-scrolled,
body.ms-home-transparent-header .ms-header.is-menu-open {
	color: var(--ms-color-dark);
	background: rgb(255 255 255 / 94%);
	border-bottom-color: var(--ms-color-line);
	backdrop-filter: blur(16px);
}

.ms-header__bar {
	display: grid;
	grid-template-columns: minmax(118px, 220px) minmax(0, 1fr) auto;
	align-items: center;
	min-height: var(--ms-header-height);
	gap: 24px;
}

.ms-logo {
	display: inline-grid;
	align-items: center;
	justify-self: start;
	max-width: clamp(150px, 16vw, 220px);
	min-width: 0;
	flex-shrink: 0;
	color: inherit;
	font-family: var(--ms-font-heading);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 0.88;
}

.ms-logo__image,
.ms-logo img,
.ms-logo__mask {
	width: auto;
	max-width: clamp(150px, 16vw, 220px);
	max-height: 46px;
	object-fit: cover;
}

.ms-logo__mask {
	display: block;
	width: clamp(150px, 16vw, 220px);
	height: 46px;
	background: currentColor;
	mask: var(--ms-logo-url) center / contain no-repeat;
	-webkit-mask: var(--ms-logo-url) center / contain no-repeat;
	transition: background var(--ms-transition);
}

.ms-logo strong {
	font-weight: 800;
}

.ms-primary-nav {
	display: flex;
	justify-content: center;
	min-width: 0;
}

.ms-primary-nav__list,
.ms-mobile-nav__list,
.ms-footer__menu {
	display: flex;
	gap: clamp(18px, 3vw, 46px);
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-primary-nav__list {
	position: static;
}

.ms-primary-nav__item {
	position: static;
}

.ms-primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: var(--ms-header-height);
	color: rgb(16 17 20 / 82%);
	font-size: 0.94rem;
	font-weight: 700;
	transition: color var(--ms-transition), opacity var(--ms-transition);
}

body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-primary-nav a {
	color: rgb(255 255 255 / 86%);
}

.ms-primary-nav a:hover,
.ms-primary-nav a:focus-visible {
	color: var(--ms-color-primary);
}

.ms-primary-nav__item--mega > .ms-primary-nav__link::after {
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--ms-transition);
}

.ms-primary-nav__item--mega:hover > .ms-primary-nav__link::after,
.ms-primary-nav__item--mega:focus-within > .ms-primary-nav__link::after {
	transform: translateY(1px) rotate(225deg);
}

.ms-mega-menu {
	position: absolute;
	z-index: 45;
	top: calc(100% - 1px);
	left: max(var(--ms-shell-gutter), calc((100vw - var(--ms-container-max)) / 2));
	right: max(var(--ms-shell-gutter), calc((100vw - var(--ms-container-max)) / 2));
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px) scale(0.985);
	transform-origin: top center;
	transition:
		opacity 240ms ease,
		transform 240ms ease,
		visibility 0ms linear 240ms;
}

.ms-primary-nav__item--mega:hover .ms-mega-menu,
.ms-primary-nav__item--mega:focus-within .ms-mega-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition-delay: 0ms;
}

.ms-mega-menu__inner {
	display: grid;
	grid-template-columns: minmax(240px, 0.78fr) minmax(0, 2.2fr) minmax(230px, 0.72fr);
	gap: 28px;
	border: 1px solid rgb(16 17 20 / 10%);
	background: rgb(255 255 255 / 98%);
	box-shadow: 0 28px 70px rgb(16 17 20 / 14%);
	backdrop-filter: blur(18px);
	padding: 28px;
	color: var(--ms-color-dark);
}

.ms-mega-menu__inner--brands {
	grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.55fr) minmax(230px, 0.72fr);
}

.ms-mega-menu__intro,
.ms-mega-menu__aside {
	display: grid;
	align-content: start;
	gap: 14px;
}

.ms-mega-menu__intro span {
	color: var(--ms-color-primary);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-mega-menu__intro strong,
.ms-mega-menu__aside strong {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.18rem, 1.4vw, 1.58rem);
	line-height: 1.08;
}

.ms-mega-menu__intro p,
.ms-mega-menu__aside p {
	margin: 0;
	color: rgb(16 17 20 / 64%);
	font-size: 0.94rem;
	line-height: 1.55;
}

.ms-mega-menu__intro > a {
	display: inline-flex;
	min-height: auto;
	color: var(--ms-color-dark);
	font-size: 0.86rem;
	font-weight: 900;
	text-decoration: underline;
	text-decoration-color: rgb(224 43 32 / 36%);
	text-underline-offset: 5px;
}

.ms-mega-menu__grid {
	display: grid;
	gap: 10px;
}

.ms-mega-menu__grid--offer {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ms-mega-menu__card,
.ms-mega-menu__brand {
	min-height: auto;
	border: 1px solid rgb(16 17 20 / 9%);
	background: #f7f7f5;
	color: var(--ms-color-dark);
	transition: border-color var(--ms-transition), background var(--ms-transition), color var(--ms-transition), transform var(--ms-transition);
}

.ms-mega-menu__card {
	display: grid;
	align-content: start;
	gap: 7px;
	padding: 14px;
}

.ms-mega-menu__card span {
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
}

.ms-mega-menu__card strong {
	color: inherit;
	font-size: 0.94rem;
	line-height: 1.18;
}

.ms-mega-menu__card small {
	display: block;
	color: rgb(16 17 20 / 58%);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.35;
}

.ms-mega-menu__grid--brands {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-content: start;
}

.ms-mega-menu__brand {
	justify-content: center;
	min-height: 54px;
	padding: 12px 14px;
	font-size: 0.9rem;
	font-weight: 900;
	text-align: center;
}

.ms-mega-menu__card:hover,
.ms-mega-menu__card:focus-visible,
.ms-mega-menu__brand:hover,
.ms-mega-menu__brand:focus-visible {
	border-color: rgb(224 43 32 / 42%);
	background: var(--ms-color-white);
	color: var(--ms-color-primary);
	transform: translateY(-2px);
}

.ms-mega-menu__aside {
	border-left: 1px solid rgb(16 17 20 / 10%);
	padding-left: 26px;
}

.ms-mega-menu__aside .ms-btn {
	justify-content: center;
	width: 100%;
	min-height: 48px;
	color: var(--ms-color-white);
}

body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-mega-menu a:not(.ms-btn) {
	color: var(--ms-color-dark);
}

body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-mega-menu a:not(.ms-btn):hover,
body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-mega-menu a:not(.ms-btn):focus-visible {
	color: var(--ms-color-primary);
}

body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-mega-menu .ms-btn {
	color: var(--ms-color-white);
}

.ms-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	min-width: 0;
}

.ms-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	padding: 0;
	color: var(--ms-color-dark);
	background: transparent;
	cursor: pointer;
}

body.ms-home-transparent-header .ms-header:not(.is-scrolled):not(.is-menu-open) .ms-menu-toggle {
	color: var(--ms-color-white);
}

.ms-menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto 5px;
	background: currentColor;
	transition: transform var(--ms-transition), opacity var(--ms-transition);
}

.ms-menu-toggle span:last-child {
	margin-bottom: 0;
}

.ms-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ms-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ms-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ms-mobile-nav {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: grid;
	justify-items: end;
	background: transparent;
	pointer-events: none;
}

.ms-mobile-nav[hidden] {
	display: none;
}

.ms-mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: rgb(16 17 20 / 42%);
	backdrop-filter: blur(6px);
	opacity: 0;
	cursor: pointer;
	transition: opacity 240ms ease;
}

.ms-mobile-nav__panel {
	position: relative;
	display: block;
	width: 100vw;
	max-width: 520px;
	height: 100svh;
	min-height: 0;
	padding: max(18px, env(safe-area-inset-top)) clamp(18px, 5vw, 30px) max(24px, env(safe-area-inset-bottom));
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	background: var(--ms-color-white);
	box-shadow: -28px 0 70px rgb(16 17 20 / 22%);
	transform: translateX(100%);
	transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: auto;
}

.ms-mobile-nav.is-open {
	pointer-events: auto;
}

.ms-mobile-nav.is-open .ms-mobile-nav__backdrop {
	opacity: 1;
}

.ms-mobile-nav.is-open .ms-mobile-nav__panel {
	transform: translateX(0);
}

.ms-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-mobile-nav__head span {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: 1.1rem;
	font-weight: 800;
}

.ms-mobile-nav__close {
	position: relative;
	width: 44px;
	height: 44px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--ms-color-dark);
	cursor: pointer;
}

.ms-mobile-nav__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: currentColor;
	transform-origin: center;
}

.ms-mobile-nav__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ms-mobile-nav__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.ms-mobile-nav__list {
	display: grid;
	gap: 8px;
	margin-top: 24px;
}

.ms-mobile-nav__content {
	display: grid;
	gap: 24px;
	margin-top: 24px;
}

.ms-mobile-nav__primary-link,
.ms-mobile-nav__quick a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	border: 1px solid rgb(16 17 20 / 9%);
	padding: 0 16px;
	background: var(--ms-color-surface);
	color: var(--ms-color-dark);
	font-weight: 800;
}

.ms-mobile-nav__primary-link {
	min-height: 60px;
	border-color: var(--ms-color-dark);
	background: var(--ms-color-dark);
	color: var(--ms-color-white);
	font-family: var(--ms-font-heading);
	font-size: 1.02rem;
	font-weight: 800;
}

.ms-mobile-nav__group {
	display: grid;
	gap: 6px;
}

.ms-mobile-nav__group h3 {
	color: var(--ms-color-primary);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-mobile-nav__cards,
.ms-mobile-nav__quick {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--ms-color-line);
}

.ms-mobile-nav__cards a {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 18px;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	border: 0;
	border-bottom: 1px solid var(--ms-color-line);
	padding: 13px 0;
	background: transparent;
	color: var(--ms-color-dark);
	font-weight: 800;
}

.ms-mobile-nav__cards a::after,
.ms-mobile-nav__primary-link::after,
.ms-mobile-nav__quick a::after {
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	opacity: 0.48;
	transform: rotate(45deg);
}

.ms-mobile-nav__cards a span {
	display: block;
	line-height: 1.18;
}

.ms-mobile-nav__brands {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.ms-mobile-nav__brands a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid rgb(16 17 20 / 9%);
	padding: 0 12px;
	background: var(--ms-color-surface);
	color: var(--ms-color-dark);
	font-weight: 900;
	text-align: center;
}

.ms-mobile-nav a:hover,
.ms-mobile-nav a:focus-visible {
	border-color: rgb(224 43 32 / 32%);
	color: var(--ms-color-primary);
}

.ms-mobile-nav__cta {
	justify-content: center;
	width: 100%;
	margin-top: 24px;
	border-color: var(--ms-color-primary) !important;
	background: var(--ms-color-primary) !important;
	color: var(--ms-color-white) !important;
	opacity: 1;
}

.ms-mobile-nav__contact {
	display: grid;
	gap: 8px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--ms-color-line);
}

.ms-mobile-nav__contact a {
	min-height: auto;
	border: 0;
	padding: 0;
	background: transparent;
	color: rgb(16 17 20 / 68%);
	font-size: 0.94rem;
	font-weight: 700;
}

.ms-hero {
	position: relative;
	display: grid;
	align-items: end;
	overflow: hidden;
	min-height: clamp(620px, 82svh, 820px);
	padding-block: 150px 70px;
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
}

.ms-hero__media,
.ms-hero__overlay,
.ms-hero__video,
.ms-hero__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ms-hero__media {
	z-index: 0;
	transform: scale(1.02);
	will-change: transform;
}

.ms-hero__video,
.ms-hero__fallback {
	object-fit: cover;
	filter: saturate(0.88) contrast(1.04);
}

.ms-hero__video {
	z-index: 1;
	opacity: 0;
	transition: opacity 900ms ease;
}

.ms-hero__video.is-loaded {
	opacity: 1;
}

.ms-hero__fallback {
	z-index: 0;
}

.ms-hero__overlay {
	z-index: 1;
	background:
		linear-gradient(90deg, rgb(16 17 20 / 92%) 0%, rgb(16 17 20 / 70%) 46%, rgb(16 17 20 / 30%) 100%),
		linear-gradient(0deg, rgb(16 17 20 / 72%) 0%, rgb(16 17 20 / 0%) 58%);
}

.ms-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.32fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}

.ms-hero__copy {
	max-width: 980px;
}

.ms-hero h1 {
	max-width: 1080px;
	font-size: clamp(2.35rem, 4.6vw, 5.1rem);
}

.ms-hero__copy > p:not(.ms-eyebrow) {
	max-width: 830px;
	margin-top: 28px;
	color: rgb(255 255 255 / 82%);
	font-size: clamp(1.05rem, 1.45vw, 1.28rem);
	line-height: 1.66;
}

.ms-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 38px;
}

.ms-hero__panel {
	padding: 28px;
	border: 1px solid rgb(255 255 255 / 26%);
	background: rgb(255 255 255 / 8%);
	backdrop-filter: blur(14px);
}

.ms-hero__panel span,
.ms-contact-card span {
	display: block;
	margin-bottom: 16px;
	color: var(--ms-color-primary);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-hero__panel strong {
	display: block;
	font-family: var(--ms-font-heading);
	font-size: clamp(1.25rem, 2vw, 2rem);
	line-height: 1.15;
}

.ms-hero__panel p {
	margin-top: 18px;
	color: rgb(255 255 255 / 72%);
	line-height: 1.62;
}

.ms-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.48fr);
	gap: clamp(36px, 7vw, 128px);
	align-items: end;
	margin-bottom: clamp(48px, 5.5vw, 86px);
}

.ms-section-heading h2,
.ms-section-heading > p {
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.2vw, 1.14rem);
	line-height: 1.72;
}

.ms-feature-card,
.ms-entry-card,
.ms-contact-card {
	border: 1px solid var(--ms-color-line);
	padding: clamp(24px, 3vw, 36px);
	background: var(--ms-color-white);
}

.ms-feature-card h2,
.ms-entry-card h2 {
	font-size: clamp(1.18rem, 1.6vw, 1.7rem);
}

.ms-feature-card p,
.ms-entry-card__excerpt {
	margin-top: 16px;
	color: var(--ms-color-muted);
	line-height: 1.68;
}

.ms-page-header {
	padding-block: clamp(118px, 12vw, 170px) clamp(54px, 6vw, 88px);
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-page-header__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr);
}

.ms-page-header h1 {
	max-width: 1050px;
	font-size: clamp(2.05rem, 3.45vw, 4.2rem);
}

.ms-page-header p:not(.ms-eyebrow) {
	max-width: 860px;
	margin-top: 24px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.2vw, 1.14rem);
	line-height: 1.72;
}

.page-template-page-offer .ms-page-header {
	padding-block: clamp(72px, 8vw, 118px) clamp(36px, 4vw, 56px);
}

.page-template-page-offer .ms-offer-categories {
	padding-top: clamp(54px, 6vw, 96px);
}

.page-template-page-contact .ms-page-header {
	padding-block: clamp(62px, 7vw, 96px) clamp(28px, 4vw, 46px);
}

.page-template-page-contact .ms-page-header h1 {
	font-size: clamp(2rem, 3vw, 3.5rem);
}

.page-template-page-contact .ms-page-header p:not(.ms-eyebrow) {
	max-width: 760px;
	margin-top: 16px;
	font-size: clamp(0.96rem, 1.05vw, 1.06rem);
	line-height: 1.62;
}

.page-template-page-contact .ms-contact-page {
	padding-block: clamp(42px, 5vw, 72px);
}

.page-template-page-contact .ms-contact-local,
.page-template-page-contact .ms-inquiry-guide {
	padding-block: clamp(56px, 6vw, 92px);
}

.ms-breadcrumbs {
	overflow-x: auto;
	margin-bottom: 28px;
	color: var(--ms-color-muted);
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ms-breadcrumbs::-webkit-scrollbar {
	display: none;
}

.ms-breadcrumbs ol {
	display: flex;
	flex-wrap: nowrap;
	gap: 9px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-breadcrumbs li {
	display: flex;
	flex: 0 0 auto;
	gap: 9px;
	align-items: center;
}

.ms-breadcrumbs li + li::before {
	content: "/";
	color: var(--ms-color-line-strong);
}

.ms-breadcrumbs a:hover,
.ms-breadcrumbs a:focus-visible {
	color: var(--ms-color-primary);
}

.ms-content-shell {
	max-width: 980px;
}

.ms-content-shell > * + * {
	margin-top: 1.2em;
}

.ms-content-shell a {
	color: var(--ms-color-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-content-shell p,
.ms-content-shell li {
	color: var(--ms-color-muted);
	line-height: 1.78;
}

.woocommerce-account .ms-page-header {
	padding-block: clamp(44px, 5vw, 72px) clamp(22px, 3vw, 34px);
}

.woocommerce-account .ms-page-header--account {
	padding-block: clamp(30px, 3.4vw, 48px) clamp(18px, 2vw, 26px);
}

.ms-page-header--compact {
	padding-block: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 26px);
}

.ms-page-header--compact h1 {
	font-size: clamp(1.9rem, 2.6vw, 3rem);
}

.woocommerce-account .ms-page-header h1 {
	font-size: clamp(1.9rem, 2.6vw, 3rem);
}

.woocommerce-account .ms-page-header p:not(.ms-eyebrow) {
	max-width: 720px;
	margin-top: 16px;
	font-size: clamp(0.96rem, 1.04vw, 1.05rem);
	line-height: 1.62;
}

.woocommerce-account .ms-account-section {
	padding-block: clamp(24px, 4vw, 52px) clamp(52px, 6vw, 84px);
	background: var(--ms-color-surface);
}

.woocommerce-account .ms-content-shell {
	max-width: 1040px;
}

.woocommerce-account .woocommerce {
	background: transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

.woocommerce-account .woocommerce .form-row-first,
.woocommerce-account .woocommerce .form-row-last {
	float: none !important;
	width: 100% !important;
}

.ms-account-layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.ms-account-nav {
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-account-nav ul {
	display: grid;
	margin: 0;
	padding: 8px;
	list-style: none;
}

.ms-account-nav li {
	margin: 0;
}

.ms-account-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-left: 3px solid transparent;
	padding: 10px 14px;
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	font-weight: 850;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ms-account-nav a:hover,
.ms-account-nav a:focus-visible,
.ms-account-nav .is-active a,
.ms-account-nav a[aria-current="page"] {
	border-left-color: var(--ms-color-primary);
	color: var(--ms-color-dark);
	background: #f7f8fa;
}

.ms-account-panel,
.ms-account-dashboard,
.ms-account-form-section,
.ms-account-table-section,
.ms-account-addresses {
	min-width: 0;
}

.ms-account-panel {
	border: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 34px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-account-panel__header {
	margin-bottom: 24px;
}

.ms-account-panel__header span,
.ms-account-card__header span {
	display: block;
	margin-bottom: 10px;
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-account-panel__header h2,
.ms-account-address-card h3 {
	margin: 0;
	font-size: clamp(1.28rem, 1.8vw, 1.8rem);
	line-height: 1.12;
}

.ms-account-summary,
.ms-account-actions,
.ms-account-address-grid {
	display: grid;
	gap: 12px;
}

.ms-account-summary {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	border: 1px solid var(--ms-color-line);
	padding: 16px 18px;
	background: #f8f9fb;
}

.ms-account-summary div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.ms-account-summary span,
.ms-account-action span {
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-account-summary strong {
	overflow-wrap: anywhere;
	color: var(--ms-color-dark);
}

.ms-account-actions {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 12px;
}

.ms-account-action,
.ms-account-address-card {
	border: 1px solid var(--ms-color-line);
	padding: 18px;
	background: #f8f9fb;
}

.ms-account-action {
	display: grid;
	gap: 8px;
	color: var(--ms-color-dark);
	text-decoration: none !important;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ms-account-action--primary {
	border-top: 3px solid var(--ms-color-primary);
	background: var(--ms-color-white);
}

.ms-account-action * {
	text-decoration: none;
}

.ms-account-action:hover,
.ms-account-action:focus-visible {
	border-color: var(--ms-color-primary);
	background: var(--ms-color-white);
	transform: translateY(-1px);
}

.ms-account-action strong {
	color: var(--ms-color-dark);
	font-size: 1rem;
	line-height: 1.25;
}

.ms-account-empty {
	display: grid;
	gap: 12px;
	border: 1px solid var(--ms-color-line);
	padding: 22px;
	background: #f8f9fb;
}

.ms-account-empty strong {
	color: var(--ms-color-dark);
	font-size: 1.05rem;
}

.ms-account-empty p {
	max-width: 620px;
	margin: 0;
	color: var(--ms-color-muted);
	line-height: 1.6;
}

.ms-account-empty .ms-btn {
	justify-self: start;
	margin-top: 4px;
	color: var(--ms-color-white) !important;
	text-decoration: none;
}

.ms-account-empty .ms-btn:hover,
.ms-account-empty .ms-btn:focus-visible {
	color: var(--ms-color-white) !important;
}

.ms-account-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--ms-color-line);
}

.ms-account-table th,
.ms-account-table td {
	border-bottom: 1px solid var(--ms-color-line);
	padding: 14px;
	text-align: left;
	vertical-align: top;
}

.ms-account-table thead th {
	color: var(--ms-color-muted);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-account-inline-link {
	color: var(--ms-color-primary);
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-account-address-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ms-account-address-card header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}

.ms-account-address-card h3 {
	font-size: 1.12rem;
}

.ms-account-address-card address {
	margin: 0;
	color: var(--ms-color-muted);
	font-style: normal;
	line-height: 1.65;
}

.ms-account-form--wide {
	gap: 20px;
}

.ms-account-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ms-account-form__grid > .form-row {
	min-width: 0;
}

.ms-account-fieldset {
	display: grid;
	gap: 18px;
	border: 1px solid var(--ms-color-line);
	margin: 8px 0 0;
	padding: 18px;
}

.ms-account-fieldset legend {
	padding-inline: 8px;
	color: var(--ms-color-primary);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	border: 1px solid var(--ms-color-line);
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--ms-color-white);
	color: var(--ms-color-dark);
}

.ms-account-auth {
	display: grid;
	gap: 0;
}

.ms-account-auth__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}

.ms-account-card {
	display: grid;
	grid-template-rows: auto 1fr;
	border: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 32px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-account-card--primary {
	border-top: 3px solid var(--ms-color-primary);
}

.ms-account-card--single {
	max-width: 560px;
	margin-inline: auto;
}

.ms-account-card__header {
	margin-bottom: 22px;
}

.ms-account-card__header h2 {
	margin: 0;
	font-size: clamp(1.34rem, 1.8vw, 1.8rem);
	line-height: 1.1;
}

.woocommerce-account .ms-account-form {
	display: grid;
	gap: 18px;
	margin: 0;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	border: 0;
	border-radius: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
	margin: 0;
}

.woocommerce-account .woocommerce-form-row label,
.woocommerce-account .form-row label {
	display: block;
	margin-bottom: 8px;
	color: var(--ms-color-graphite);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.35;
}

.woocommerce-account .woocommerce .woocommerce-Input,
.woocommerce-account .woocommerce .input-text,
.woocommerce-account .woocommerce select {
	width: 100%;
	min-height: 50px;
	border: 1px solid #cfd5dd;
	border-radius: 0;
	padding: 13px 14px;
	color: var(--ms-color-dark);
	background: #f8f9fb;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-account .woocommerce .woocommerce-Input:hover,
.woocommerce-account .woocommerce .input-text:hover,
.woocommerce-account .woocommerce select:hover {
	border-color: #b9c1cc;
	background: var(--ms-color-white);
}

.woocommerce-account .woocommerce .woocommerce-Input:focus,
.woocommerce-account .woocommerce .input-text:focus,
.woocommerce-account .woocommerce select:focus {
	outline: 3px solid rgb(224 43 32 / 22%);
	outline-offset: 2px;
	border-color: var(--ms-color-primary);
	background: var(--ms-color-white);
}

.woocommerce-account .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper {
	align-items: start;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide {
	grid-column: span 1;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper #billing_email_field,
.woocommerce-account .woocommerce-address-fields__field-wrapper #shipping_email_field {
	grid-column: 1 / -1;
}

.woocommerce-account .select2-container {
	width: 100% !important;
}

.woocommerce-account .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 50px;
	border: 1px solid #cfd5dd;
	border-radius: 0;
	background: #f8f9fb;
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__rendered {
	padding-inline: 14px 36px;
	color: var(--ms-color-dark);
	line-height: 50px;
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.ms-account-form__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--ms-color-graphite);
	font-size: 0.88rem;
	font-weight: 800;
}

.ms-account-form__meta a {
	color: var(--ms-color-primary);
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.woocommerce-account .woocommerce-form__input-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ms-color-primary);
}

.ms-account-form__note,
.woocommerce-account .woocommerce-privacy-policy-text p {
	margin: 0;
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	line-height: 1.58;
}

.woocommerce-account .woocommerce-privacy-policy-text a {
	color: var(--ms-color-primary);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-account-form__submit {
	margin-top: 14px;
}

.woocommerce-account .woocommerce .woocommerce-button,
.woocommerce-account .woocommerce .button {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--ms-color-primary);
	border-radius: 0;
	padding: 13px 22px;
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
	font-weight: 900;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.woocommerce-account .woocommerce .woocommerce-button:hover,
.woocommerce-account .woocommerce .woocommerce-button:focus-visible,
.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce .button:focus-visible {
	border-color: var(--ms-color-dark);
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
	transform: translateY(-1px);
}

.woocommerce-account .woocommerce .woocommerce-button:disabled,
.woocommerce-account .woocommerce .woocommerce-button:disabled[disabled],
.woocommerce-account .woocommerce .button:disabled,
.woocommerce-account .woocommerce .button:disabled[disabled] {
	border-color: #d4d9e1;
	color: #6f7784;
	background: #e4e8ee;
	cursor: not-allowed;
	transform: none;
}

.ms-content-stack {
	display: grid;
	gap: 22px;
}

.woocommerce-cart .ms-content-shell {
	max-width: 1180px;
}

.woocommerce-cart .ms-section {
	padding-block: clamp(34px, 4vw, 58px) clamp(54px, 6vw, 84px);
}

.ms-cart-empty {
	display: grid;
	gap: 18px;
	max-width: 720px;
	margin-inline: auto;
	border: 1px solid var(--ms-color-line);
	padding: clamp(24px, 3vw, 34px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
	text-align: center;
}

.ms-cart-empty__content {
	max-width: 760px;
	margin-inline: auto;
}

.ms-cart-empty__content h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2vw, 2.1rem);
	line-height: 1.08;
}

.ms-cart-empty__content p:not(.ms-eyebrow) {
	max-width: 560px;
	margin: 10px 0 0;
	color: var(--ms-color-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.ms-cart-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.ms-cart-empty .ms-btn--primary {
	color: var(--ms-color-white) !important;
	text-decoration: none;
}

.ms-cart-empty .ms-btn--secondary {
	color: var(--ms-color-primary);
}

.ms-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(18px, 2.2vw, 28px);
	align-items: start;
}

.ms-cart.is-updating {
	pointer-events: none;
	opacity: 0.72;
}

.ms-cart__main {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.ms-cart__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid var(--ms-color-line);
	padding: 14px 18px;
	background: var(--ms-color-white);
}

.ms-cart__toolbar p {
	margin: 0;
	color: var(--ms-color-dark);
	font-weight: 900;
}

.ms-cart__toolbar a {
	color: var(--ms-color-primary);
	font-weight: 900;
	text-decoration: none;
}

.ms-cart__toolbar a:hover,
.ms-cart__toolbar a:focus-visible {
	color: var(--ms-color-dark);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-cart__items {
	display: grid;
	gap: 14px;
}

.ms-cart-item {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) 156px 118px;
	gap: 20px;
	align-items: center;
	border: 1px solid var(--ms-color-line);
	padding: 18px;
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-cart-item__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border: 1px solid var(--ms-color-line);
	background: #f6f8fb;
}

.ms-cart-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ms-cart-item__main h2 {
	margin: 0;
	font-size: clamp(1.05rem, 1.2vw, 1.24rem);
	line-height: 1.25;
}

.ms-cart-item__main h2 a {
	color: var(--ms-color-dark);
	text-decoration: none;
}

.ms-cart-item__main p {
	margin: 8px 0 0;
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.ms-cart-item__remove {
	display: inline-flex;
	margin-top: 14px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-body);
	font-size: 0.86rem;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.ms-cart-item__quantity label,
.ms-cart-item__total span {
	display: block;
	margin-bottom: 8px;
	color: var(--ms-color-muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ms-cart-item__quantity .quantity,
.ms-product-purchase .quantity {
	margin: 0;
}

.ms-quantity-stepper {
	display: grid;
	grid-template-columns: 42px 72px 42px;
	align-items: stretch;
	width: max-content;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-quantity-stepper button {
	min-height: 50px;
	border: 0;
	background: #f7f9fc;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: 1.2rem;
	font-weight: 900;
	cursor: pointer;
}

.ms-quantity-stepper button:hover,
.ms-quantity-stepper button:focus-visible {
	background: var(--ms-color-dark);
	color: var(--ms-color-white);
}

.ms-cart-item__quantity input.qty,
.ms-product-purchase input.qty {
	width: 72px;
	min-height: 50px;
	border: 0;
	border-right: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
	border-radius: 0;
	padding: 0 12px;
	background: var(--ms-color-white);
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-size: 1rem;
	font-weight: 800;
	text-align: center;
}

.ms-cart-item__quantity input.qty:focus,
.ms-product-purchase input.qty:focus {
	outline: 2px solid rgba(224, 43, 32, 0.18);
	outline-offset: -2px;
	border-color: var(--ms-color-primary);
	background: var(--ms-color-white);
}

.ms-cart-item__total {
	text-align: right;
}

.ms-cart-item__total strong {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: 1.05rem;
	font-weight: 900;
}

.ms-cart-summary {
	position: sticky;
	top: calc(var(--ms-header-height) + 18px);
	display: grid;
	gap: 14px;
	border: 1px solid var(--ms-color-line);
	padding: clamp(20px, 2.3vw, 28px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-cart-summary h2 {
	margin: 0 0 6px;
	font-size: clamp(1.3rem, 1.8vw, 1.75rem);
	line-height: 1.1;
}

.ms-cart-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid var(--ms-color-line);
	padding-top: 14px;
	color: var(--ms-color-muted);
	font-weight: 800;
}

.ms-cart-summary__row strong {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-weight: 900;
	text-align: right;
}

.ms-cart-summary__row--total {
	color: var(--ms-color-dark);
	font-size: 1.05rem;
}

.ms-cart-summary__row--total strong {
	font-size: 1.25rem;
}

.ms-cart-summary__row--coupon {
	color: var(--ms-color-dark);
}

.ms-cart-summary__row--coupon .woocommerce-remove-coupon {
	display: none;
}

.ms-cart-summary__coupon-remove {
	display: inline-flex;
	margin-left: 8px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-body);
	font-size: 0.78rem;
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ms-cart-summary .ms-btn {
	width: 100%;
	justify-content: center;
	margin-top: 4px;
	text-decoration: none;
}

.ms-cart-summary__checkout {
	color: var(--ms-color-white) !important;
}

.ms-cart-coupon {
	display: grid;
	gap: 8px;
	border-top: 1px solid var(--ms-color-line);
	padding-top: 16px;
}

.ms-cart-coupon label {
	color: var(--ms-color-dark);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ms-cart-coupon__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	border: 1px solid var(--ms-color-line);
	background: #f7f9fc;
}

.ms-cart-coupon input {
	width: 100%;
	min-height: 50px;
	border: 0;
	padding: 0 14px;
	background: transparent;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-weight: 800;
}

.ms-cart-coupon input:focus {
	outline: 2px solid rgba(224, 43, 32, 0.18);
	outline-offset: -2px;
}

.ms-cart-coupon__button {
	min-height: 50px;
	border: 0;
	border-left: 1px solid var(--ms-color-line);
	padding: 0 16px;
	background: var(--ms-color-white);
	color: var(--ms-color-primary);
	font-family: var(--ms-font-body);
	font-weight: 900;
	cursor: pointer;
}

.ms-cart-coupon__button:hover,
.ms-cart-coupon__button:focus-visible {
	background: var(--ms-color-dark);
	color: var(--ms-color-white);
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
	max-width: 1180px;
	margin: 0 auto 18px;
	border: 1px solid var(--ms-color-line);
	padding: 14px 18px;
	background: var(--ms-color-white);
	color: var(--ms-color-dark);
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-cart .woocommerce-message {
	border-left: 4px solid var(--ms-color-primary);
}

.woocommerce-cart .woocommerce-message .button {
	float: right;
	color: var(--ms-color-primary);
	font-weight: 900;
	text-decoration: none;
}

.woocommerce-cart .woocommerce-message .button.wc-forward {
	display: none;
}

.woocommerce-cart .woocommerce-error {
	border-left: 4px solid #b42318;
}

.woocommerce-cart .woocommerce-info {
	border-left: 4px solid var(--ms-color-dark);
}

.woocommerce-checkout .ms-page-header {
	padding-block: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 26px);
}

.woocommerce-checkout .ms-page-header h1 {
	font-size: clamp(1.9rem, 2.6vw, 3rem);
}

.woocommerce-checkout .ms-content-shell {
	max-width: 1180px;
}

.woocommerce-checkout .ms-content-shell > *,
.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
.woocommerce-checkout .wp-block-woocommerce-checkout {
	width: 100% !important;
	max-width: none !important;
}

.woocommerce-checkout .ms-checkout-section {
	padding-block: clamp(34px, 4vw, 58px) clamp(54px, 6vw, 84px);
	background: linear-gradient(180deg, #fbfcfe 0%, var(--ms-color-white) 48%);
}

.woocommerce-checkout .ms-floating-contact {
	display: none;
}

.woocommerce-checkout .wc-block-checkout {
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(320px, 380px);
	gap: clamp(22px, 3vw, 34px);
	align-items: start;
	justify-content: space-between;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-checkout > div:not(.wc-block-checkout__main):not(.wc-block-checkout__sidebar),
.woocommerce-checkout .wc-block-checkout__main > div:not(.wp-block-woocommerce-checkout-fields-block),
.woocommerce-checkout .wc-block-checkout__sidebar > div:not(.wp-block-woocommerce-checkout-totals-block) {
	display: contents;
}

.woocommerce-checkout .wc-block-checkout__main {
	grid-column: 1;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-checkout__sidebar {
	grid-column: 2;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-checkout__main,
.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
	display: grid;
	gap: 18px;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	position: sticky;
	top: calc(var(--ms-header-height) + 18px);
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-checkout .wc-block-components-title,
.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-order-summary__title-text {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-weight: 900;
	letter-spacing: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step {
	border: 1px solid var(--ms-color-line);
	padding: clamp(18px, 2vw, 24px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
	margin-top: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__container {
	padding: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 16px;
}

.woocommerce-checkout .wc-block-components-checkout-step__description,
.woocommerce-checkout .wc-block-components-checkout-step__content,
.woocommerce-checkout .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-components-validation-error {
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-textarea,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.woocommerce-checkout .wc-block-components-country-input input,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
	min-height: 54px;
	border: 1px solid var(--ms-color-line) !important;
	border-radius: 0 !important;
	background: #f7f9fc !important;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-size: 1rem;
	font-weight: 700;
	box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-textarea:focus,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.woocommerce-checkout .wc-block-components-country-input input:focus {
	border-color: var(--ms-color-primary) !important;
	background: var(--ms-color-white) !important;
	box-shadow: 0 0 0 2px rgba(224, 43, 32, 0.14) !important;
	outline: 0 !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox .components-base-control__label,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
	font-weight: 800;
}

.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
	min-height: auto;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--ms-color-primary);
	font-size: 0.9rem;
	font-weight: 900;
	text-decoration: none;
}

.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	border-color: rgba(224, 43, 32, 0.28);
	background: rgba(224, 43, 32, 0.06);
	color: var(--ms-color-dark);
}

.woocommerce-checkout .wc-block-components-notice-banner svg {
	background: var(--ms-color-primary);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block {
	overflow: hidden;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block textarea,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block .wc-block-components-textarea {
	min-height: 126px;
	animation: msCheckoutNoteIn 0.22s ease both;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block textarea::placeholder {
	color: #a8afb9;
	opacity: 1;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkbox {
	align-items: center;
	margin: 0;
}

@keyframes msCheckoutNoteIn {
	from {
		max-height: 0;
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		max-height: 180px;
		opacity: 1;
		transform: translateY(0);
	}
}

.woocommerce-checkout .wc-block-components-order-summary,
.woocommerce-checkout .wc-block-components-totals-wrapper,
.woocommerce-checkout .wc-block-components-totals-footer-item {
	border-color: var(--ms-color-line) !important;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description,
.woocommerce-checkout .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-item__value {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-weight: 800;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description p,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-item__label:first-child:nth-last-child(n)) .wc-block-components-totals-item__description {
	display: none;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block {
	display: none;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--ms-font-heading);
	font-size: 1.15rem;
	font-weight: 900;
}

.woocommerce-checkout .wc-block-components-panel__button,
.woocommerce-checkout .wc-block-components-panel__button:hover,
.woocommerce-checkout .wc-block-components-panel__button:focus {
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-weight: 800;
	text-decoration: none;
}

.woocommerce-checkout .wc-block-components-totals-coupon__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0;
	border: 1px solid var(--ms-color-line);
	background: #f7f9fc;
}

.woocommerce-checkout .wc-block-components-totals-coupon__input input {
	border: 0 !important;
	background: transparent !important;
}

.woocommerce-checkout .wc-block-components-totals-coupon__button {
	min-height: 52px;
	border: 0 !important;
	border-left: 1px solid var(--ms-color-line) !important;
	border-radius: 0 !important;
	background: var(--ms-color-white) !important;
	color: var(--ms-color-primary) !important;
	font-family: var(--ms-font-body);
	font-weight: 900;
	box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-totals-coupon__button:hover,
.woocommerce-checkout .wc-block-components-totals-coupon__button:focus-visible {
	background: var(--ms-color-dark) !important;
	color: var(--ms-color-white) !important;
}

.woocommerce-checkout .wc-block-checkout__actions_row {
	display: block;
	border: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	margin-top: 14px;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 56px;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--ms-color-primary) !important;
	color: var(--ms-color-white) !important;
	font-family: var(--ms-font-body);
	font-size: 1rem;
	font-weight: 900;
	box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
	background: var(--ms-color-dark) !important;
	color: var(--ms-color-white) !important;
}

.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
	color: var(--ms-color-primary);
	font-weight: 900;
	text-decoration: none;
}

.woocommerce-order-received .ms-page-header {
	padding-block: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 26px);
}

.woocommerce-order-received .ms-page-header h1 {
	font-size: clamp(1.9rem, 2.6vw, 3rem);
}

.woocommerce-order-received .ms-content-shell {
	max-width: 1180px;
}

.woocommerce-order-received .ms-checkout-section {
	padding-block: clamp(34px, 4vw, 58px) clamp(54px, 6vw, 84px);
	background: linear-gradient(180deg, #fbfcfe 0%, var(--ms-color-white) 48%);
}

.woocommerce-order-received .ms-floating-contact {
	display: none;
}

.ms-order-received,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-summary,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-shipping-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-fields-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-information {
	width: 100%;
	max-width: 1180px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.ms-order-received__hero,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status {
	border: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 34px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-order-received__hero h2,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status h2,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status h3 {
	max-width: 820px;
	margin: 0;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.8rem, 3vw, 3.1rem);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
}

.ms-order-received__hero p,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status p,
.woocommerce-order-received .wc-block-order-confirmation-status-description {
	max-width: 720px;
	margin: 14px 0 0;
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	font-weight: 700;
	line-height: 1.55;
}

.ms-order-received__eyebrow {
	margin: 0 0 14px !important;
	color: var(--ms-color-primary) !important;
	font-family: var(--ms-font-body);
	font-size: 0.78rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.12em;
	line-height: 1.2 !important;
	text-transform: uppercase;
}

.ms-order-received__hero--error,
.woocommerce-order-received .wc-block-order-confirmation-status-description--failed {
	background: rgba(224, 43, 32, 0.05);
}

.ms-order-received__summary,
.woocommerce-order-received .wc-block-order-confirmation-summary-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 18px 0;
	border: 1px solid var(--ms-color-line);
	padding: 0;
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
	list-style: none;
}

.ms-order-received__summary li,
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
	display: grid;
	gap: 8px;
	min-width: 0;
	border-right: 1px solid var(--ms-color-line);
	padding: 18px;
}

.ms-order-received__summary li:last-child,
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
	border-right: 0;
}

.ms-order-received__summary span,
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ms-order-received__summary strong,
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
	overflow-wrap: anywhere;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: 1.02rem;
	font-weight: 900;
	line-height: 1.3;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-shipping-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-fields-wrapper,
.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-information {
	margin-top: 18px !important;
	border: 1px solid var(--ms-color-line);
	padding: clamp(18px, 2vw, 24px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .wp-block-heading,
.woocommerce-order-received .wc-block-order-confirmation-totals-heading,
.woocommerce-order-received .wc-block-order-confirmation-billing-heading,
.woocommerce-order-received .wc-block-order-confirmation-shipping-heading,
.woocommerce-order-received .wc-block-order-confirmation-additional-fields-heading {
	margin: 0 0 18px;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 900;
	line-height: 1.15;
}

.woocommerce-order-received table.shop_table,
.woocommerce-order-received .wc-block-order-confirmation-totals__table,
.woocommerce-order-received .wc-block-order-confirmation-downloads__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
}

.woocommerce-order-received table.shop_table th,
.woocommerce-order-received table.shop_table td,
.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
.woocommerce-order-received .wc-block-order-confirmation-totals__table td {
	border: 0;
	border-bottom: 1px solid var(--ms-color-line);
	padding: 14px 0;
	color: var(--ms-color-dark);
	font-weight: 800;
	text-align: left;
	vertical-align: top;
}

.woocommerce-order-received table.shop_table td:last-child,
.woocommerce-order-received table.shop_table th:last-child,
.woocommerce-order-received .wc-block-order-confirmation-totals__table td:last-child,
.woocommerce-order-received .wc-block-order-confirmation-totals__table th:last-child {
	text-align: right;
}

.woocommerce-order-received table.shop_table tr:last-child th,
.woocommerce-order-received table.shop_table tr:last-child td,
.woocommerce-order-received .wc-block-order-confirmation-totals__table tr:last-child th,
.woocommerce-order-received .wc-block-order-confirmation-totals__table tr:last-child td {
	border-bottom: 0;
}

.woocommerce-order-received table.shop_table tfoot tr:last-child th,
.woocommerce-order-received table.shop_table tfoot tr:last-child td,
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child th,
.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child td {
	font-family: var(--ms-font-heading);
	font-size: 1.12rem;
	font-weight: 900;
}

.woocommerce-order-received .woocommerce-order-details .product-name a,
.woocommerce-order-received .wc-block-order-confirmation-totals__product a {
	color: var(--ms-color-dark);
	font-weight: 900;
	text-decoration: none;
}

.woocommerce-order-received .woocommerce-customer-details address,
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper,
.woocommerce-order-received .wc-block-order-confirmation-billing-address,
.woocommerce-order-received .wc-block-order-confirmation-shipping-address {
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
	font-weight: 700;
	font-style: normal;
	line-height: 1.65;
}

.woocommerce-order-received .wc-block-order-confirmation-address-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: 1180px !important;
	margin: 18px auto 0 !important;
}

.woocommerce-order-received .wc-block-order-confirmation-address-wrapper .wp-block-column {
	margin: 0;
}

.ms-order-received__actions,
.ms-order-received__next,
.woocommerce-order-received .wc-block-order-confirmation-status__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.woocommerce-order-received .wc-block-order-confirmation-status__actions .button,
.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid var(--ms-color-primary);
	padding: 0 18px;
	background: var(--ms-color-primary);
	color: var(--ms-color-white);
	font-family: var(--ms-font-body);
	font-weight: 900;
	text-decoration: none;
}

.woocommerce-order-received .woocommerce-info,
.woocommerce-order-received .woocommerce-error,
.woocommerce-order-received .woocommerce-message {
	display: block;
	max-width: 1180px;
	margin: 0 auto 18px;
	border: 1px solid var(--ms-color-line);
	padding: 16px 18px;
	background: var(--ms-color-white);
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-weight: 700;
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-order-received .woocommerce-info::before,
.woocommerce-order-received .woocommerce-error::before,
.woocommerce-order-received .woocommerce-message::before {
	display: none;
	content: none;
}

.woocommerce-order-received .woocommerce-form-login,
.woocommerce-order-received .woocommerce-verify-email {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
	max-width: 1180px;
	margin: 0 auto;
	border: 1px solid var(--ms-color-line);
	padding: clamp(18px, 2vw, 24px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.woocommerce-order-received .woocommerce-verify-email {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
}

.woocommerce-order-received .woocommerce-form-login p,
.woocommerce-order-received .woocommerce-verify-email p {
	margin: 0;
}

.woocommerce-order-received .woocommerce-form-login .form-row-first,
.woocommerce-order-received .woocommerce-form-login .form-row-last,
.woocommerce-order-received .woocommerce-verify-email .form-row-first,
.woocommerce-order-received .woocommerce-verify-email .form-row-last {
	float: none;
	width: 100%;
}

.woocommerce-order-received .woocommerce-form-login .form-row-wide,
.woocommerce-order-received .woocommerce-verify-email .form-row-wide {
	grid-column: 1 / -1;
}

.woocommerce-order-received .woocommerce-form-login label,
.woocommerce-order-received .woocommerce-verify-email label {
	display: block;
	margin-bottom: 8px;
	color: var(--ms-color-muted);
	font-family: var(--ms-font-body);
	font-weight: 800;
}

.woocommerce-order-received .woocommerce-form-login input.input-text,
.woocommerce-order-received .woocommerce-verify-email input.input-text,
.woocommerce-order-received .woocommerce-verify-email input[type="email"] {
	width: 100%;
	min-height: 52px;
	border: 1px solid var(--ms-color-line);
	border-radius: 0;
	padding: 0 14px;
	background: #f7f9fc;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-body);
	font-size: 1rem;
	font-weight: 700;
	box-shadow: none;
}

.woocommerce-order-received .woocommerce-form-login input.input-text:focus,
.woocommerce-order-received .woocommerce-verify-email input.input-text:focus,
.woocommerce-order-received .woocommerce-verify-email input[type="email"]:focus {
	border-color: var(--ms-color-primary);
	background: var(--ms-color-white);
	box-shadow: 0 0 0 2px rgba(224, 43, 32, 0.14);
	outline: 0;
}

.woocommerce-order-received .woocommerce-form-login .button,
.woocommerce-order-received .woocommerce-verify-email .button {
	min-height: 52px;
	border: 0;
	border-radius: 0;
	padding: 0 22px;
	background: var(--ms-color-primary);
	color: var(--ms-color-white);
	font-family: var(--ms-font-body);
	font-weight: 900;
	cursor: pointer;
}

.woocommerce-order-received .woocommerce-form-login .button:hover,
.woocommerce-order-received .woocommerce-form-login .button:focus-visible,
.woocommerce-order-received .woocommerce-verify-email .button:hover,
.woocommerce-order-received .woocommerce-verify-email .button:focus-visible {
	background: var(--ms-color-dark);
	color: var(--ms-color-white);
}

.woocommerce-order-received .woocommerce-form-login .lost_password {
	grid-column: 1 / -1;
}

.woocommerce-order-received .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
	display: flex;
	align-items: center;
	gap: 16px;
}

.woocommerce-order-received .woocommerce-form-login .lost_password a {
	color: var(--ms-color-primary);
	font-weight: 900;
}

.ms-cart-toast {
	position: fixed;
	top: calc(var(--ms-header-height) + 16px);
	right: clamp(16px, 3vw, 34px);
	z-index: 80;
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	max-width: min(440px, calc(100vw - 32px));
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 14px 16px;
	background: rgba(13, 15, 18, 0.96);
	color: var(--ms-color-white);
	box-shadow: 0 22px 70px rgba(13, 15, 18, 0.28);
	font-size: 0.94rem;
	font-weight: 800;
	line-height: 1.35;
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: none;
	backdrop-filter: blur(10px);
}

.ms-cart-toast::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #2fd36b;
	box-shadow: 0 0 0 5px rgba(47, 211, 107, 0.12);
}

.ms-cart-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ms-cart-toast.is-error {
	background: rgba(24, 15, 14, 0.96);
}

.ms-cart-toast.is-error::before {
	background: #ff4d42;
	box-shadow: 0 0 0 5px rgba(255, 77, 66, 0.14);
}


.ms-contact-card a,
.ms-contact-card strong {
	display: block;
	font-family: var(--ms-font-heading);
	font-size: clamp(1.18rem, 1.8vw, 1.8rem);
	font-weight: 800;
	line-height: 1.12;
}

.ms-contact-card p {
	margin-top: 14px;
	color: var(--ms-color-muted);
	font-size: 0.95rem;
	line-height: 1.58;
}

.ms-offer-category-stack {
	display: grid;
	gap: 0;
}

.ms-offer-card {
	display: grid;
	grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.55fr);
	align-items: stretch;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-offer-card + .ms-offer-card {
	border-top: 0;
}

.ms-offer-card__media {
	position: relative;
	display: block;
	height: 100%;
	min-height: clamp(280px, 38vw, 520px);
	max-height: 520px;
	overflow: hidden;
	background: var(--ms-color-graphite);
}

.ms-offer-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.9) contrast(1.04);
	transition: transform 420ms ease;
}

.ms-offer-card__media:hover .ms-offer-card__image,
.ms-offer-card__media:focus-visible .ms-offer-card__image {
	transform: scale(1.035);
}

.ms-offer-card__body {
	display: grid;
	align-content: start;
	padding: clamp(24px, 4vw, 58px);
}

.ms-offer-card__number {
	display: inline-flex;
	align-items: center;
	width: max-content;
	min-height: 34px;
	margin-bottom: clamp(22px, 3vw, 38px);
	border-bottom: 2px solid var(--ms-color-primary);
	color: var(--ms-color-primary);
	font-family: var(--ms-font-heading);
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ms-offer-card h3 {
	font-size: clamp(1.55rem, 2.4vw, 2.8rem);
}

.ms-offer-card p {
	margin-top: 20px;
	color: var(--ms-color-muted);
	font-size: clamp(0.98rem, 1.05vw, 1.08rem);
	line-height: 1.72;
}

.ms-offer-card__items {
	display: grid;
	gap: 10px;
	margin: clamp(24px, 3vw, 34px) 0 0;
	padding: 0;
	list-style: none;
}

.ms-offer-card__items li {
	position: relative;
	padding-left: 20px;
	color: var(--ms-color-graphite);
	line-height: 1.52;
}

.ms-offer-card__items li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 7px;
	height: 7px;
	background: var(--ms-color-primary);
	content: "";
	transform: translateY(-50%);
}

.ms-offer-card__link {
	display: inline-flex;
	align-items: center;
	width: max-content;
	margin-top: clamp(26px, 3vw, 42px);
	border-bottom: 2px solid currentColor;
	padding-bottom: 7px;
	color: var(--ms-color-primary);
	font-weight: 900;
}

.ms-offer-card__link:hover,
.ms-offer-card__link:focus-visible {
	color: var(--ms-color-dark);
}

.ms-category-hero {
	padding-block: clamp(72px, 8vw, 124px);
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-category-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.56fr) minmax(320px, 0.44fr);
	gap: clamp(34px, 6vw, 98px);
	align-items: center;
}

.ms-category-hero__copy h1 {
	max-width: 920px;
	font-size: clamp(2.05rem, 3.6vw, 4.35rem);
}

.ms-category-hero__copy > p:not(.ms-eyebrow) {
	max-width: 780px;
	margin-top: 24px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.18vw, 1.14rem);
	line-height: 1.74;
}

.ms-category-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ms-category-hero__media {
	position: relative;
	min-height: clamp(360px, 42vw, 560px);
	overflow: hidden;
	background: var(--ms-color-graphite);
}

.ms-category-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.9) contrast(1.05);
}

.ms-category-hero__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: clamp(22px, 3vw, 34px);
	color: var(--ms-color-white);
	background: linear-gradient(180deg, rgb(8 9 11 / 0%), rgb(8 9 11 / 88%));
}

.ms-category-hero__panel span,
.ms-category-inquiry span,
.ms-category-related-card span {
	display: block;
	margin-bottom: 10px;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-heading);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ms-category-hero__panel strong {
	display: block;
	max-width: 520px;
	font-family: var(--ms-font-heading);
	font-size: clamp(1.15rem, 1.8vw, 1.75rem);
	line-height: 1.18;
}

/* Brand hero grid inside minimal layout */
.ms-brand-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
	gap: clamp(34px, 6vw, 96px);
	align-items: center;
	margin-bottom: clamp(28px, 3vw, 44px);
}

.ms-brand-hero-grid__logo {
	display: grid;
	place-items: center;
	min-height: clamp(220px, 28vw, 360px);
	padding: clamp(28px, 4vw, 52px);
}

.ms-brand-hero-grid__logo img {
	max-width: 100%;
	max-height: clamp(80px, 10vw, 140px);
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: contrast(1.04);
}

@media (max-width: 980px) {
	.ms-brand-hero-grid {
		grid-template-columns: 1fr;
	}
}

.ms-category-scope__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.ms-category-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-category-list li {
	position: relative;
	min-height: 112px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: 24px 24px 24px 44px;
	color: var(--ms-color-graphite);
	font-weight: 700;
	line-height: 1.48;
	background: var(--ms-color-white);
}

.ms-category-list li::before {
	position: absolute;
	top: 31px;
	left: 24px;
	width: 7px;
	height: 7px;
	background: var(--ms-color-primary);
	content: "";
}

.ms-category-inquiry {
	position: sticky;
	top: 118px;
	border: 1px solid var(--ms-color-line);
	padding: clamp(24px, 3vw, 36px);
	background: var(--ms-color-white);
}

.ms-category-inquiry ul {
	display: grid;
	gap: 14px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.ms-category-inquiry li {
	color: var(--ms-color-muted);
	line-height: 1.56;
}

.ms-category-inquiry__link {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin-top: 28px;
	border-bottom: 2px solid currentColor;
	padding-bottom: 7px;
	color: var(--ms-color-primary);
	font-weight: 900;
}

.ms-category-process__grid,
.ms-category-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ms-category-related .ms-section-heading > p,
.ms-category-related .ms-section-heading h2 {
	color: var(--ms-color-white);
}

.ms-category-related .ms-section-heading > p {
	color: rgb(255 255 255 / 68%);
}

.ms-category-related-card {
	display: grid;
	min-height: 210px;
	align-content: space-between;
	border: 1px solid rgb(255 255 255 / 14%);
	padding: clamp(22px, 3vw, 32px);
	background: rgb(255 255 255 / 4%);
}

.ms-category-related-card strong {
	color: var(--ms-color-white);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.2rem, 1.7vw, 1.75rem);
	line-height: 1.16;
}

.ms-category-related-card em {
	color: rgb(255 255 255 / 64%);
	font-style: normal;
	font-weight: 800;
}

.ms-category-related-card:hover,
.ms-category-related-card:focus-visible {
	border-color: rgb(224 43 32 / 70%);
	background: rgb(224 43 32 / 10%);
}

.ms-offer-intro__grid,
.ms-offer-local__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.46fr) minmax(280px, 0.54fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.ms-offer-intro h2,
.ms-offer-local h2 {
	font-size: clamp(1.95rem, 3vw, 3.35rem);
}

.ms-offer-intro__copy,
.ms-offer-local__content {
	display: grid;
	gap: 20px;
}

.ms-offer-intro__copy p,
.ms-offer-local__content p {
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.14vw, 1.12rem);
	line-height: 1.78;
}

.ms-offer-process .ms-section-heading > p {
	color: rgb(255 255 255 / 68%);
}

.ms-offer-process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 16%);
	border-left: 1px solid rgb(255 255 255 / 16%);
}

.ms-process-card {
	min-height: 280px;
	border-right: 1px solid rgb(255 255 255 / 16%);
	border-bottom: 1px solid rgb(255 255 255 / 16%);
	padding: clamp(22px, 3vw, 36px);
}

.ms-process-card span {
	display: block;
	margin-bottom: 42px;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-heading);
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ms-process-card h3 {
	font-size: clamp(1.25rem, 1.7vw, 1.8rem);
}

.ms-process-card p {
	margin-top: 18px;
	color: rgb(255 255 255 / 70%);
	line-height: 1.68;
}

.ms-visual-hero {
	padding-block: clamp(76px, 9vw, 132px);
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-visual-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.55fr) minmax(320px, 0.45fr);
	gap: clamp(34px, 6vw, 98px);
	align-items: center;
}

.ms-visual-hero__copy h1 {
	max-width: 900px;
	font-size: clamp(2.15rem, 4vw, 4.65rem);
}

.ms-visual-hero__copy > p:not(.ms-eyebrow) {
	max-width: 760px;
	margin-top: 24px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.22vw, 1.16rem);
	line-height: 1.72;
}

.ms-visual-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ms-visual-hero__media {
	position: relative;
	min-height: clamp(390px, 43vw, 600px);
	border: 1px solid var(--ms-color-line);
	overflow: hidden;
	background: var(--ms-color-graphite);
}

.ms-visual-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
	filter: saturate(0.96) contrast(1.03);
}

.ms-visual-hero__panel {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: min(calc(100% - 36px), 440px);
	border: 1px solid rgb(255 255 255 / 18%);
	padding: 18px 20px;
	color: var(--ms-color-white);
	background: rgb(16 17 20 / 88%);
	backdrop-filter: blur(10px);
}

.ms-visual-hero__panel span {
	display: block;
	margin-bottom: 8px;
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-visual-hero__panel strong {
	display: block;
	font-family: var(--ms-font-heading);
	font-size: clamp(1rem, 1.25vw, 1.22rem);
	line-height: 1.22;
}

.ms-visual-hero__panel em {
	display: block;
	margin-top: 8px;
	color: rgb(255 255 255 / 72%);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
}

.ms-about-intro__grid,
.ms-location__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.45fr) minmax(280px, 0.55fr);
	gap: clamp(34px, 6vw, 96px);
	align-items: start;
}

.ms-about-intro h2,
.ms-location h2,
.ms-about-markets h2 {
	font-size: clamp(1.95rem, 3vw, 3.35rem);
}

.ms-about-intro__copy {
	display: grid;
	gap: 20px;
}

.ms-about-intro__copy p,
.ms-location__copy > p,
.ms-about-markets__header > p:not(.ms-eyebrow) {
	color: rgb(255 255 255 / 72%);
	font-size: clamp(1rem, 1.14vw, 1.12rem);
	line-height: 1.78;
}

.ms-proof {
	padding-block: 0;
	background: var(--ms-color-white);
}

.ms-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-left: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-stat-card {
	min-height: 250px;
	border-top: 1px solid var(--ms-color-line);
	border-right: 1px solid var(--ms-color-line);
	padding: clamp(26px, 4vw, 54px);
	background: var(--ms-color-white);
}

.ms-stat-card strong {
	display: block;
	margin-bottom: 28px;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-heading);
	font-size: clamp(2.2rem, 4.6vw, 5rem);
	line-height: 0.9;
}

.ms-stat-card p {
	color: var(--ms-color-muted);
	line-height: 1.7;
}

.ms-capability-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--ms-color-line);
}

.ms-capability-item {
	min-height: 210px;
	padding: clamp(22px, 3vw, 34px);
	background: var(--ms-color-white);
}

.ms-capability-item span,
.ms-sector-list span {
	display: block;
	width: 30px;
	height: 2px;
	margin-bottom: 30px;
	background: var(--ms-color-primary);
}

.ms-capability-item p {
	font-family: var(--ms-font-heading);
	font-size: clamp(1.05rem, 1.35vw, 1.35rem);
	font-weight: 800;
	line-height: 1.28;
}

.ms-about-process__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-process-card--light {
	color: var(--ms-color-dark);
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-process-card--light p {
	color: var(--ms-color-muted);
}

.ms-about-process__cta {
	margin-top: 32px;
}

.ms-about-markets__stack {
	display: grid;
	gap: clamp(42px, 6vw, 82px);
}

.ms-about-markets__header {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
	gap: clamp(32px, 6vw, 92px);
	align-items: end;
}

.ms-about-markets__header .ms-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: -8px;
}

.ms-sector-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 14%);
	border-left: 1px solid rgb(255 255 255 / 14%);
}

.ms-sector-list article {
	min-height: 260px;
	border-right: 1px solid rgb(255 255 255 / 14%);
	border-bottom: 1px solid rgb(255 255 255 / 14%);
	padding: clamp(24px, 3vw, 36px);
}

.ms-sector-list h3 {
	font-size: clamp(1.18rem, 1.55vw, 1.55rem);
}

.ms-sector-list p {
	margin-top: 16px;
	color: rgb(255 255 255 / 70%);
	line-height: 1.65;
}

.ms-location {
	background: var(--ms-color-white);
}

.ms-location__copy > p {
	color: var(--ms-color-muted);
}

.ms-location__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.ms-location__points span {
	border: 1px solid var(--ms-color-line);
	padding: 10px 12px;
	color: var(--ms-color-graphite);
	font-size: 0.86rem;
	font-weight: 800;
}

.ms-location-card {
	border: 1px solid var(--ms-color-line);
	padding: clamp(26px, 4vw, 48px);
	background: var(--ms-color-surface);
}

.ms-location-card__label {
	display: block;
	margin-bottom: 20px;
	color: var(--ms-color-primary);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-location-card__phone {
	display: block;
	font-family: var(--ms-font-heading);
	font-size: clamp(1.7rem, 3vw, 3rem);
	font-weight: 900;
	line-height: 1.05;
}

.ms-location-card__email {
	display: inline-flex;
	margin-top: 14px;
	color: var(--ms-color-primary);
	font-weight: 900;
}

.ms-location-card dl {
	display: grid;
	gap: 18px;
	margin: 34px 0 0;
}

.ms-location-card dt {
	margin-bottom: 6px;
	color: var(--ms-color-muted);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-location-card dd {
	margin: 0;
	color: var(--ms-color-dark);
	font-weight: 800;
	line-height: 1.55;
}

.ms-contact-page__grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.ms-contact-page__details {
	display: grid;
	gap: 14px;
}

.ms-contact-page__form {
	border: 1px solid var(--ms-color-line);
	padding: clamp(24px, 3.4vw, 42px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-contact-page__form .ms-contact-form {
	gap: 18px;
}

.ms-contact-page__form .ms-form-grid {
	grid-template-columns: 1fr;
	gap: 18px;
}

.ms-contact-page__form .ms-form-field,
.ms-contact-page__form .ms-form-consent {
	margin: 0;
}

.ms-contact-page__form .ms-form-field {
	gap: 8px;
}

.ms-contact-page__form .ms-form-field label {
	font-size: 0.82rem;
	letter-spacing: 0.01em;
}

.ms-contact-page__form .ms-form-field input,
.ms-contact-page__form .ms-form-field textarea {
	min-height: 50px;
	border-color: #cfd5dd;
	background: #f8f9fb;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ms-contact-page__form .ms-form-field input:hover,
.ms-contact-page__form .ms-form-field textarea:hover {
	border-color: #b9c1cc;
	background: var(--ms-color-white);
}

.ms-contact-page__form .ms-form-field textarea {
	min-height: 180px;
}

.ms-contact-page__form .ms-form-consent {
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #cfd5dd;
	background: #fbfcfd;
}

.ms-contact-page__form .ms-form-consent label {
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.55;
}

.ms-contact-page__form .ms-form-consent a {
	color: var(--ms-color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ms-contact-page__form .ms-form-consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.ms-contact-page__form .ms-form-submit {
	width: 100%;
	min-height: 52px;
	justify-self: stretch;
}

.ms-contact-local__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.ms-contact-local__copy {
	display: grid;
	gap: 20px;
}

.ms-contact-local__copy h2 {
	max-width: 920px;
	font-size: clamp(1.95rem, 3vw, 3.35rem);
}

.ms-contact-local__copy p:not(.ms-eyebrow) {
	max-width: 860px;
	color: var(--ms-color-muted);
	line-height: 1.78;
}

.ms-contact-local__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.ms-contact-local__panel {
	border: 1px solid var(--ms-color-line);
	padding: clamp(24px, 4vw, 44px);
	background: var(--ms-color-white);
}

.ms-contact-local__label {
	display: block;
	margin-bottom: 22px;
	color: var(--ms-color-primary);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-contact-local__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-left: 18px;
	color: var(--ms-color-graphite);
	line-height: 1.65;
}

.ms-contact-local__address {
	display: grid;
	gap: 6px;
	margin-top: 30px;
	border-top: 1px solid var(--ms-color-line);
	padding-top: 24px;
	color: var(--ms-color-dark);
	font-style: normal;
}

.ms-contact-local__address strong {
	font-family: var(--ms-font-heading);
	font-size: 1.12rem;
}

.ms-contact-local__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(34px, 5vw, 64px);
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-contact-local__link {
	display: grid;
	gap: 14px;
	min-height: 190px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 32px);
	color: var(--ms-color-dark);
	text-decoration: none;
}

.ms-contact-local__link strong {
	font-family: var(--ms-font-heading);
	font-size: clamp(1.08rem, 1.35vw, 1.32rem);
	line-height: 1.2;
}

.ms-contact-local__link span {
	color: var(--ms-color-muted);
	line-height: 1.62;
}

.ms-contact-local__link:hover,
.ms-contact-local__link:focus-visible {
	background: var(--ms-color-surface);
}

.ms-contact-form {
	display: grid;
	gap: 20px;
}

.ms-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ms-form-field {
	display: grid;
	gap: 9px;
}

.ms-form-field label,
.ms-form-consent label {
	color: var(--ms-color-graphite);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.35;
}

.ms-form-field input,
.ms-form-field textarea {
	width: 100%;
	border: 1px solid var(--ms-color-line);
	padding: 13px 14px;
	color: var(--ms-color-dark);
	background: var(--ms-color-surface);
}

.ms-form-field textarea {
	resize: vertical;
}

.ms-form-field input:focus,
.ms-form-field textarea:focus,
.ms-form-consent input:focus-visible {
	outline: 3px solid rgb(224 43 32 / 22%);
	outline-offset: 2px;
	border-color: var(--ms-color-primary);
	background: var(--ms-color-white);
}

.ms-form-consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 0;
}

.ms-form-consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--ms-color-primary);
}

.ms-form-status {
	min-height: 0;
	border-left: 3px solid transparent;
	padding: 0;
	color: var(--ms-color-muted);
	font-weight: 700;
	line-height: 1.55;
}

.ms-form-status.is-success,
.ms-form-status.is-error {
	padding: 14px 16px;
	background: var(--ms-color-surface);
}

.ms-form-status.is-success {
	border-color: #16803c;
	color: #135f2f;
}

.ms-form-status.is-error {
	border-color: var(--ms-color-primary);
	color: var(--ms-color-dark);
}

.ms-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ms-form-submit {
	justify-self: start;
	cursor: pointer;
}

.ms-floating-contact {
	position: fixed;
	right: 0;
	bottom: max(120px, env(safe-area-inset-bottom));
	z-index: 80;
	width: 54px;
	color: var(--ms-color-white);
	isolation: isolate;
	transition: width 260ms cubic-bezier(.16, 1, .3, 1);
}

.ms-floating-contact.is-open {
	width: min(360px, calc(100vw - 44px));
}

.page-template-page-contact .ms-floating-contact {
	display: none;
}

body.tax-product_cat .ms-floating-contact,
body.post-type-archive-product .ms-floating-contact,
body.single-brand .ms-floating-contact,
body.single-product .ms-floating-contact {
	display: none;
}

.ms-floating-contact__trigger,
.ms-floating-contact__close {
	border-radius: var(--ms-radius-none);
	cursor: pointer;
}

.ms-floating-contact__trigger {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 136px;
	border: 1px solid rgb(255 255 255 / 18%);
	border-right: 0;
	padding: 14px 10px;
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
	box-shadow: 0 18px 48px rgb(16 17 20 / 22%);
	transition: transform 260ms cubic-bezier(.16, 1, .3, 1), background 180ms ease, box-shadow 260ms ease;
}

.ms-floating-contact__trigger:hover {
	background: #c82118;
	transform: translateX(-2px);
}

.ms-floating-contact.is-open .ms-floating-contact__trigger {
	box-shadow: none;
	transform: translateX(100%);
}

.ms-floating-contact__trigger span {
	font-family: var(--ms-font-heading);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.1;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.ms-floating-contact__trigger small {
	display: none;
}

.ms-floating-contact__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(360px, calc(100vw - 44px));
	border: 1px solid rgb(255 255 255 / 14%);
	padding: 20px;
	color: var(--ms-color-white);
	background: linear-gradient(145deg, #101114, #1a1b1f);
	box-shadow: 0 28px 80px rgb(16 17 20 / 34%);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(18px, 16px, 0) scale(.96);
	transform-origin: right bottom;
	transition: opacity 240ms ease, visibility 240ms ease, transform 300ms cubic-bezier(.16, 1, .3, 1);
	visibility: hidden;
}

.ms-floating-contact.is-open .ms-floating-contact__panel {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0) scale(1);
	visibility: visible;
}

.ms-floating-contact__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px;
	gap: 16px;
	align-items: start;
}

.ms-floating-contact__heading .ms-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-floating-contact__heading strong {
	display: block;
	max-width: 270px;
	font-family: var(--ms-font-heading);
	font-size: 1.3rem;
	line-height: 1.12;
}

.ms-floating-contact__close {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgb(255 255 255 / 14%);
	color: var(--ms-color-white);
	background: rgb(255 255 255 / 5%);
	font-size: 1.5rem;
	line-height: 1;
	transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ms-floating-contact__close:hover {
	border-color: rgb(224 43 32 / 72%);
	background: rgb(224 43 32 / 18%);
	transform: rotate(90deg);
}

.ms-floating-contact__actions {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.ms-floating-contact__action {
	display: grid;
	width: 100%;
	min-height: 74px;
	border: 1px solid rgb(255 255 255 / 12%);
	padding: 13px 14px;
	color: var(--ms-color-white);
	background: rgb(255 255 255 / 5%);
	font: inherit;
	line-height: 1.35;
	text-align: left;
	opacity: 0;
	transform: translateX(8px);
	transition: border-color 180ms ease, background 180ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1), opacity 220ms ease;
}

.ms-floating-contact.is-open .ms-floating-contact__action {
	opacity: 1;
	transform: translateX(0);
}

.ms-floating-contact.is-open .ms-floating-contact__action:nth-child(1) {
	transition-delay: 60ms;
}

.ms-floating-contact.is-open .ms-floating-contact__action:nth-child(2) {
	transition-delay: 105ms;
}

.ms-floating-contact.is-open .ms-floating-contact__action:nth-child(3) {
	transition-delay: 150ms;
}

.ms-floating-contact__action:hover {
	border-color: rgb(224 43 32 / 72%);
	background: rgb(255 255 255 / 9%);
	transform: translateX(-3px);
}

.ms-floating-contact__action span {
	color: rgb(255 255 255 / 58%);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ms-floating-contact__action strong {
	margin-top: 5px;
	font-family: var(--ms-font-heading);
	font-size: 0.98rem;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.ms-floating-contact__action small {
	margin-top: 6px;
	color: rgb(255 255 255 / 55%);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.35;
}

.ms-floating-contact__trigger:focus-visible,
.ms-floating-contact__close:focus-visible,
.ms-floating-contact__action:focus-visible,
.ms-form-submit:focus-visible {
	outline: 3px solid rgb(224 43 32 / 34%);
	outline-offset: 3px;
}

.ms-footer {
	padding-block: 72px 28px;
	color: var(--ms-color-white);
	background: #08090b;
}

.ms-footer__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(160px, 0.55fr));
	gap: clamp(34px, 5vw, 84px);
}

.ms-footer p,
.ms-footer a {
	color: rgb(255 255 255 / 64%);
}

.ms-footer a:hover,
.ms-footer a:focus-visible {
	color: var(--ms-color-primary);
}

.ms-footer .ms-logo,
.ms-footer .ms-logo:hover,
.ms-footer .ms-logo:focus-visible {
	color: var(--ms-color-white);
}

.ms-footer__brand p {
	max-width: 520px;
	margin-top: 24px;
	line-height: 1.72;
}

.ms-footer__nav,
.ms-footer__contact,
.ms-footer__menu {
	display: grid;
	align-content: start;
	gap: 13px;
}

.ms-footer__nav strong,
.ms-footer__contact strong {
	margin-bottom: 10px;
	color: var(--ms-color-white);
	font-family: var(--ms-font-heading);
	font-size: 0.95rem;
}

.ms-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-footer__menu a,
.ms-footer__legal-menu a,
.ms-footer__credits a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
}

.ms-footer__contact p {
	line-height: 1.48;
}

.ms-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 20px;
	margin-top: 58px;
	border-top: 1px solid rgb(255 255 255 / 10%);
	padding-top: 24px;
	color: rgb(255 255 255 / 45%);
	font-size: 0.84rem;
}

.ms-footer__legal,
.ms-footer__credits,
.ms-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
}

.ms-footer__credits {
	justify-content: flex-end;
}

.ms-footer__legal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-footer__credits a {
	color: rgb(255 255 255 / 72%);
	font-weight: 800;
}

.navigation.pagination {
	margin-top: 28px;
}

.ms-shop-hero {
	padding-block: clamp(54px, 6vw, 86px) clamp(28px, 3.5vw, 48px);
	border-bottom: 1px solid var(--ms-color-line);
	background:
		linear-gradient(90deg, rgb(245 246 248 / 92%), rgb(255 255 255 / 96%)),
		repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgb(16 17 20 / 6%) 80px);
}

.ms-shop-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-inline: auto;
}

.ms-shop-hero__header {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 14px;
}

.ms-shop-hero__copy h1 {
	max-width: 880px;
	font-size: clamp(2.15rem, 4.2vw, 4.8rem);
	line-height: 1.02;
}

.ms-shop-hero__count {
	color: var(--ms-color-muted);
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

.ms-shop-hero__lead {
	max-width: 980px;
	margin-top: 10px;
	color: var(--ms-color-muted);
	font-size: clamp(0.95rem, 1.05vw, 1.05rem);
	line-height: 1.65;
}

.ms-shop-hero__quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.ms-shop-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.ms-shop-hero__actions .ms-btn--secondary {
	border-color: var(--ms-color-line-strong);
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
}

.ms-shop-hero__actions .ms-btn--secondary:hover,
.ms-shop-hero__actions .ms-btn--secondary:focus-visible {
	border-color: var(--ms-color-primary);
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
}

.ms-shop-hero__chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	border: 1px solid var(--ms-color-line);
	padding: 6px 14px;
	color: var(--ms-color-graphite);
	background: var(--ms-color-white);
	font-size: 0.84rem;
	font-weight: 800;
	transition: background var(--ms-transition), border-color var(--ms-transition), color var(--ms-transition);
}

.ms-shop-hero__chip:hover,
.ms-shop-hero__chip:focus-visible {
	border-color: var(--ms-color-primary);
	color: var(--ms-color-primary);
	background: rgb(224 43 32 / 6%);
}

.ms-shop-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ms-shop-empty__box {
	max-width: 980px;
	border: 1px solid var(--ms-color-line);
	padding: clamp(26px, 5vw, 58px);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-shop-empty__box h2 {
	max-width: 760px;
	font-size: clamp(2rem, 3.3vw, 4rem);
}

.ms-shop-empty__box > p:not(.ms-eyebrow) {
	max-width: 780px;
	margin-top: 20px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.12vw, 1.12rem);
	line-height: 1.72;
}

.ms-shop-category-links__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-shop-category-link {
	display: grid;
	align-content: space-between;
	min-height: 170px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 34px);
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	transition: background var(--ms-transition), color var(--ms-transition), transform var(--ms-transition);
}

.ms-shop-category-link:hover,
.ms-shop-category-link:focus-visible {
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
	transform: translateY(-2px);
}

.ms-catalog-product-card__placeholder {
	color: var(--ms-color-primary);
	font-family: var(--ms-font-heading);
	font-weight: 900;
}

.ms-shop-category-link strong {
	font-family: var(--ms-font-heading);
	font-size: clamp(1.1rem, 1.45vw, 1.55rem);
	line-height: 1.18;
}

.ms-shop-category-link em {
	align-self: end;
	margin-top: 24px;
	color: var(--ms-color-primary);
	font-style: normal;
	font-weight: 900;
}

.ms-shop-category-link--single {
	width: min(100%, 420px);
}

.ms-brand-products {
	background: var(--ms-color-white);
}

.ms-brand-products__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(24px, 4vw, 64px);
	align-items: end;
	margin-bottom: clamp(28px, 4vw, 46px);
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-brand-products__header h2 {
	max-width: 760px;
	margin-top: 10px;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(2rem, 3.4vw, 4.2rem);
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: 0;
}

.ms-brand-products__header p:not(.ms-eyebrow) {
	max-width: 760px;
	margin-top: 18px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.1vw, 1.12rem);
	line-height: 1.65;
}

.ms-brand-products__header .ms-btn {
	white-space: nowrap;
}

.ms-brand-products__table {
	border-top: 0;
}

.ms-shop-filter-roadmap {
	background: var(--ms-color-surface);
}

.ms-shop-filter-roadmap__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-shop-filter-card {
	min-height: 260px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: clamp(22px, 3vw, 34px);
	background: var(--ms-color-white);
}

.ms-shop-filter-card__meta {
	width: max-content;
	margin-bottom: 22px;
	border: 1px solid rgb(224 43 32 / 22%);
	padding: 5px 9px;
	color: var(--ms-color-primary);
	background: rgb(224 43 32 / 6%);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-shop-filter-card h3 {
	max-width: 320px;
	font-size: clamp(1.12rem, 1.45vw, 1.55rem);
	line-height: 1.16;
}

.ms-shop-filter-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.ms-shop-filter-card li {
	border: 1px solid var(--ms-color-line);
	padding: 7px 10px;
	color: var(--ms-color-muted);
	background: var(--ms-color-surface);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
}

.ms-shop-catalog-layout {
	display: grid;
	grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 42px);
	align-items: start;
}

.ms-shop-catalog-layout > .ms-shop-empty {
	padding-block: 0;
	background: transparent;
}

.ms-shop-filter-sidebar {
	position: sticky;
	top: 104px;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-shop-filter-sidebar__header {
	display: flex;
	gap: 12px;
	align-items: center;
	border-bottom: 1px solid var(--ms-color-line);
	padding: 18px 20px;
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-shop-filter-sidebar__header span {
	width: 14px;
	height: 14px;
	background: var(--ms-color-primary);
	clip-path: polygon(10% 0, 90% 0, 62% 42%, 62% 100%, 38% 100%, 38% 42%);
}

.ms-shop-filter-sidebar__search {
	display: grid;
	gap: 8px;
	padding: 20px;
	background: var(--ms-color-surface);
}

.ms-shop-filter-sidebar__search span,
.ms-shop-filter-sidebar__group h2 {
	color: var(--ms-color-muted);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-shop-filter-sidebar__search input {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--ms-color-line);
	padding: 12px 14px;
	color: var(--ms-color-muted);
	background: var(--ms-color-white);
	font: inherit;
}

.ms-shop-filter-sidebar__group {
	border-top: 1px solid var(--ms-color-line);
	padding: 20px;
}

.ms-shop-filter-sidebar__group ul {
	display: grid;
	gap: 14px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__tree,
.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__checks {
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding-inline-end: 16px;
	scrollbar-color: transparent transparent;
	scrollbar-width: thin;
	transition: scrollbar-color var(--ms-transition);
}

.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__tree {
	max-height: min(52vh, 520px);
}

.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__checks {
	max-height: 360px;
}

.ms-shop-filter-sidebar__tree:hover,
.ms-shop-filter-sidebar__tree:focus-within,
.ms-shop-filter-sidebar__checks:hover,
.ms-shop-filter-sidebar__checks:focus-within {
	scrollbar-color: rgb(16 17 20 / 34%) transparent;
}

.ms-shop-filter-sidebar__tree::-webkit-scrollbar,
.ms-shop-filter-sidebar__checks::-webkit-scrollbar {
	width: 8px;
}

.ms-shop-filter-sidebar__tree::-webkit-scrollbar-track,
.ms-shop-filter-sidebar__checks::-webkit-scrollbar-track {
	background: transparent;
}

.ms-shop-filter-sidebar__tree::-webkit-scrollbar-thumb,
.ms-shop-filter-sidebar__checks::-webkit-scrollbar-thumb {
	border: 2px solid var(--ms-color-white);
	background: transparent;
}

.ms-shop-filter-sidebar__tree:hover::-webkit-scrollbar-thumb,
.ms-shop-filter-sidebar__tree:focus-within::-webkit-scrollbar-thumb,
.ms-shop-filter-sidebar__checks:hover::-webkit-scrollbar-thumb,
.ms-shop-filter-sidebar__checks:focus-within::-webkit-scrollbar-thumb {
	background: rgb(16 17 20 / 34%);
}

.ms-shop-filter-sidebar__group li {
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.35;
}

.ms-shop-filter-sidebar__group label {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	width: 100%;
	cursor: pointer;
	transition: color var(--ms-transition);
}

.ms-shop-filter-sidebar__group label:hover,
.ms-shop-filter-sidebar__group label:focus-within {
	color: var(--ms-color-dark);
}

.ms-shop-filter-sidebar__group input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ms-shop-filter-sidebar__group label span {
	position: relative;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border: 1px solid var(--ms-color-line-strong);
	background: var(--ms-color-white);
	transition: background var(--ms-transition), border-color var(--ms-transition), box-shadow var(--ms-transition);
}

.ms-shop-filter-sidebar__group label span::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid var(--ms-color-white);
	border-width: 0 2px 2px 0;
	opacity: 0;
	transform: rotate(45deg);
}

.ms-shop-filter-sidebar__group input[type="checkbox"]:checked + span {
	border-color: var(--ms-color-primary);
	background: var(--ms-color-primary);
	box-shadow: 0 0 0 3px rgb(224 43 32 / 10%);
}

.ms-shop-filter-sidebar__group input[type="checkbox"]:checked + span::after {
	opacity: 1;
}

.ms-shop-filter-sidebar__group input[type="checkbox"]:focus-visible + span {
	outline: 2px solid var(--ms-color-primary);
	outline-offset: 2px;
}

.ms-shop-filter-sidebar__group label strong {
	font: inherit;
	font-weight: 760;
}

.ms-shop-filter-sidebar__group label em {
	justify-self: end;
	min-width: 24px;
	color: var(--ms-color-muted);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.35;
	text-align: right;
	opacity: 0.62;
}

.ms-shop-filter-sidebar__group input[type="checkbox"]:checked ~ strong,
.ms-shop-filter-sidebar__group input[type="checkbox"]:checked ~ em,
.ms-shop-filter-sidebar__group input[type="checkbox"]:checked + span + strong,
.ms-shop-filter-sidebar__group input[type="checkbox"]:checked + span + strong + em {
	color: var(--ms-color-dark);
	opacity: 1;
}

.ms-shop-filter-sidebar__tree ul {
	margin-top: 12px;
	margin-left: 26px;
	padding-left: 14px;
	border-left: 1px solid var(--ms-color-line);
}

.ms-catalog-status {
	margin-bottom: 18px;
	color: var(--ms-color-muted);
	font-size: 0.88rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ms-catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-catalog-toolbar__group {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	flex: 1 1 auto;
}

.ms-catalog-toolbar label {
	display: grid;
	gap: 8px;
}

.ms-catalog-toolbar__search {
	min-width: 260px;
	flex: 1 1 280px;
}

.ms-catalog-toolbar__filter {
	min-width: 160px;
	flex: 0 1 200px;
}

.ms-catalog-toolbar span {
	color: var(--ms-color-muted);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-catalog-toolbar input,
.ms-catalog-toolbar select {
	width: 100%;
	min-height: 52px;
	border: 1px solid var(--ms-color-line);
	border-bottom: 2px solid var(--ms-color-line);
	border-radius: var(--ms-radius-none);
	padding: 12px 16px;
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	font: inherit;
	font-weight: 700;
	transition: border-color var(--ms-transition), background var(--ms-transition), box-shadow var(--ms-transition);
}

.ms-catalog-toolbar input:focus,
.ms-catalog-toolbar select:focus {
	outline: none;
	border-bottom-color: var(--ms-color-primary);
	background: var(--ms-color-white);
	box-shadow: 0 4px 14px rgb(224 43 32 / 8%);
}

.ms-catalog-toolbar__results {
	color: var(--ms-color-muted);
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

.ms-catalog-table {
	background: var(--ms-color-white);
	transition: opacity var(--ms-transition);
}

.ms-catalog-table.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.ms-catalog-table__head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(120px, 0.32fr);
	gap: 0;
	color: var(--ms-color-muted);
	background: var(--ms-color-surface);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--ms-color-line);
}

.ms-catalog-table__head span {
	padding: 14px 18px;
}

.ms-catalog-product-row {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(120px, 0.32fr);
	gap: 0;
	position: relative;
	background: var(--ms-color-white);
	border-bottom: 1px solid var(--ms-color-line);
	transition: background var(--ms-transition), box-shadow var(--ms-transition);
}

.ms-catalog-product-row::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--ms-color-primary);
	transform: scaleY(0);
	transition: transform var(--ms-transition);
}

.ms-catalog-product-row:hover {
	background: var(--ms-color-surface);
	box-shadow: 0 8px 32px rgb(16 17 20 / 6%);
	z-index: 1;
}

.ms-catalog-product-row:hover::before {
	transform: scaleY(1);
}

.ms-catalog-product-row.is-hidden {
	display: none;
}

.ms-catalog-product-row > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 14px 18px;
	min-height: 0;
	min-width: 0;
}

.ms-catalog-product-row__index {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 86px;
}

.ms-catalog-product-row__thumb {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-catalog-product-row__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 300ms ease;
}

.ms-catalog-product-row:hover .ms-catalog-product-row__thumb img {
	transform: scale(1.04);
}

.ms-catalog-product-row__name {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.ms-catalog-product-row--no-thumb .ms-catalog-product-row__name {
	padding-left: 0;
}

.ms-catalog-product-row--no-thumb .ms-catalog-product-row__index {
	min-height: 76px;
}

.ms-catalog-product-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.ms-catalog-product-row__brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 66px;
	height: 24px;
	max-width: 66px;
	overflow: hidden;
	border: 0;
	background: transparent;
}

.ms-catalog-product-row__producer {
	display: flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 2px;
}

.ms-catalog-product-row__brand-logo {
	display: block;
	width: auto !important;
	max-width: 64px !important;
	height: auto !important;
	max-height: 20px !important;
	object-fit: contain;
	object-position: left center;
	border: 0 !important;
	background: transparent !important;
}

.ms-catalog-product-row__brand-text {
	width: max-content;
	max-width: 100%;
	color: var(--ms-color-primary);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-catalog-product-row__sku {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	padding: 0;
	border: 0;
	color: var(--ms-color-muted);
	background: transparent;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.1;
	text-transform: none;
	overflow-wrap: anywhere;
}

.ms-catalog-product-row h2 {
	max-width: 100%;
	font-size: clamp(0.98rem, 1vw, 1.08rem);
	line-height: 1.25;
}

.ms-catalog-product-row h2 a {
	color: var(--ms-color-dark);
	transition: color var(--ms-transition);
}

.ms-catalog-product-row:hover h2 a {
	color: var(--ms-color-primary);
}

.ms-catalog-product-row__params {
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.ms-catalog-product-row__label {
	display: block;
	margin-bottom: 4px;
	color: var(--ms-color-primary);
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ms-catalog-product-row__params strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ms-color-dark);
	font-weight: 900;
}

.ms-catalog-product-row__params {
	display: grid;
	align-content: center;
	justify-content: stretch;
	gap: 5px;
}

.ms-catalog-product-row__params span {
	display: block;
	font-size: 0.88rem;
	line-height: 1.4;
}

.ms-catalog-product-row__action {
	display: flex;
	gap: 8px;
	align-items: center;
}

.ms-catalog-product-row__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: var(--ms-color-primary);
	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.ms-catalog-product-row__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--ms-color-dark);
	padding: 9px 12px;
	color: var(--ms-color-white);
	background: var(--ms-color-dark);
	font-size: 0.74rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: normal;
	transition: background var(--ms-transition), border-color var(--ms-transition), transform var(--ms-transition), box-shadow var(--ms-transition);
}

.ms-catalog-product-row__cta:hover,
.ms-catalog-product-row__cta:focus-visible {
	border-color: var(--ms-color-primary);
	background: var(--ms-color-primary);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgb(224 43 32 / 22%);
}

@media (max-width: 1350px) and (min-width: 1101px) {
	.ms-shop-catalog-layout {
		grid-template-columns: 1fr;
	}

	.ms-shop-filter-sidebar {
		position: static;
	}

	.ms-shop-filter-sidebar__group {
		padding: 18px 20px;
	}

	.ms-shop-filter-sidebar__tree,
	.ms-shop-filter-sidebar__checks {
		max-height: 240px;
	}

	.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__tree {
		max-height: 320px;
	}
}

.ms-catalog-table__empty {
	margin-top: 24px;
	border-left: 3px solid var(--ms-color-primary);
	padding: 16px 20px;
	color: var(--ms-color-muted);
	background: var(--ms-color-surface);
	font-weight: 800;
}

.ms-catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	align-items: center;
	justify-content: space-between;
	margin-top: 42px;
	border-top: 1px solid var(--ms-color-line);
	padding-top: 24px;
}

.ms-catalog-pagination__summary {
	color: var(--ms-color-muted);
	font-size: 0.86rem;
	font-weight: 800;
}

.ms-catalog-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-catalog-pagination li {
	margin: 0;
	padding: 0;
}

.ms-catalog-pagination a.page-numbers,
.ms-catalog-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	border: 1px solid var(--ms-color-line);
	padding: 0 12px;
	color: var(--ms-color-dark);
	background: var(--ms-color-white);
	font-size: 0.88rem;
	font-weight: 800;
	transition: background var(--ms-transition), border-color var(--ms-transition), color var(--ms-transition), transform var(--ms-transition);
}

.ms-catalog-pagination a.page-numbers:hover,
.ms-catalog-pagination a.page-numbers:focus-visible {
	border-color: var(--ms-color-primary);
	color: var(--ms-color-primary);
	transform: translateY(-2px);
}

.ms-catalog-pagination span.page-numbers.current {
	border-color: var(--ms-color-primary);
	color: var(--ms-color-white);
	background: var(--ms-color-primary);
	cursor: default;
	transform: none;
}

.ms-catalog-pagination span.page-numbers.dots {
	border-color: transparent;
	background: transparent;
	cursor: default;
	transform: none;
}

.ms-catalog-pagination .prev,
.ms-catalog-pagination .next {
	min-width: 52px;
}

.ms-product-detail {
	padding-block: clamp(96px, 10vw, 168px) clamp(72px, 8vw, 128px);
	background: var(--ms-color-white);
}

.ms-product-detail__grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
	gap: clamp(34px, 6vw, 94px);
	align-items: start;
}

.ms-product-detail__media {
	position: sticky;
	top: calc(var(--ms-header-height) + 28px);
	display: grid;
	place-items: center;
	min-height: clamp(340px, 38vw, 560px);
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-surface);
}

.ms-product-detail__image {
	max-width: 86%;
	height: auto;
}

.ms-product-detail__no-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	color: var(--ms-color-muted);
}

.ms-product-detail__no-image svg {
	width: 48px;
	height: 48px;
	opacity: 0.4;
}

.ms-product-detail__no-image-label {
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Drawer */
html.ms-drawer-lock,
body.ms-drawer-lock {
	overflow: hidden;
	overscroll-behavior: none;
}

.ms-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	pointer-events: none;
}

.ms-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.ms-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ms-drawer.is-open .ms-drawer__overlay {
	opacity: 1;
}

.ms-drawer__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(100%, 560px);
	height: 100vh;
	height: 100dvh;
	background: var(--ms-color-white);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.ms-drawer.is-open .ms-drawer__panel {
	transform: translateX(0);
}

.ms-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 28px;
	border-bottom: 1px solid var(--ms-color-line);
}

.ms-drawer__header h2 {
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	line-height: 1.12;
	margin: 0;
}

.ms-drawer__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	flex-shrink: 0;
}

.ms-drawer__close svg {
	width: 21px;
	height: 21px;
}

.ms-drawer__close:hover {
	border-color: var(--ms-color-primary);
	background: var(--ms-color-surface);
}

.ms-drawer__body {
	padding: 24px 28px 32px;
}

.ms-drawer__product-context {
	margin-bottom: 18px;
	padding: 14px 16px;
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-surface);
}

.ms-drawer__product-label {
	margin: 0 0 4px;
	color: var(--ms-color-muted);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ms-drawer__product-name {
	margin: 0;
	color: var(--ms-color-dark);
	font-weight: 700;
	font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.ms-drawer__form {
	display: grid;
	gap: 16px;
}

.ms-drawer__form .ms-form-grid {
	grid-template-columns: 1fr;
	gap: 16px 18px;
}

.ms-drawer__form .ms-form-field,
.ms-drawer__form .ms-form-consent {
	margin: 0;
}

.ms-drawer__form .ms-form-field {
	gap: 8px;
}

.ms-drawer__form .ms-form-field label {
	font-size: 0.82rem;
	letter-spacing: 0.01em;
}

.ms-drawer__form .ms-form-field input,
.ms-drawer__form .ms-form-field textarea {
	min-height: 48px;
	border-color: #cfd5dd;
	background: #f8f9fb;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ms-drawer__form .ms-form-field input:hover,
.ms-drawer__form .ms-form-field textarea:hover {
	border-color: #b9c1cc;
	background: var(--ms-color-white);
}

.ms-drawer__form .ms-form-field textarea {
	min-height: 138px;
}

.ms-inquiry-summary {
	display: grid;
	grid-column: 1 / -1;
	gap: 7px;
	padding: 14px 16px;
	border: 1px solid #cfd5dd;
	background: #fffafa;
}

.ms-inquiry-summary span {
	color: var(--ms-color-primary);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ms-inquiry-summary strong {
	color: var(--ms-color-dark);
	font-size: 0.94rem;
	line-height: 1.35;
}

.ms-drawer__status {
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid transparent;
	font-size: 0.92rem;
	line-height: 1.5;
}

.ms-drawer__status.is-error {
	border-color: var(--ms-color-primary);
	background: rgba(224, 43, 32, 0.06);
	color: var(--ms-color-primary);
}

.ms-drawer__status.is-success {
	border-color: var(--ms-color-dark);
	background: var(--ms-color-surface);
	color: var(--ms-color-dark);
}

.ms-drawer__form .ms-form-submit {
	margin-top: 2px;
	min-height: 52px;
	width: 100%;
}

.ms-drawer__form .ms-form-submit:disabled {
	border-color: var(--ms-color-line);
	background: #d7dce2;
	color: #6f7782;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.ms-drawer__form .ms-form-consent {
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #cfd5dd;
	background: #fbfcfd;
	align-items: start;
}

.ms-drawer__form .ms-form-consent label {
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.55;
}

.ms-drawer__form .ms-form-consent a {
	color: var(--ms-color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ms-drawer__form .ms-form-consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.ms-drawer__success {
	text-align: center;
	padding: 32px 0;
}

.ms-drawer__success[hidden] {
	display: none;
}

.ms-drawer__success-title {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 700;
	margin: 0 0 12px;
}

.ms-drawer__success p {
	color: var(--ms-color-muted);
	margin: 0 0 24px;
}

.ms-drawer__success .ms-btn {
	margin-top: 8px;
}

@media (max-width: 680px) {
	.woocommerce-checkout .ms-checkout-section {
		padding-block: 28px 48px;
	}

	.woocommerce-checkout .wc-block-components-checkout-step,
	.woocommerce-checkout .wc-block-components-sidebar,
	.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
		padding: 18px;
	}

	.woocommerce-checkout .wc-block-checkout__actions_row {
		padding: 0;
	}

	.woocommerce-checkout .wc-block-components-address-form {
		gap: 10px;
	}

	.woocommerce-checkout .wc-block-components-text-input input,
	.woocommerce-checkout .wc-block-components-textarea,
	.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
	.woocommerce-checkout .wc-block-components-country-input input {
		min-height: 50px;
		font-size: 16px;
	}

	.woocommerce-checkout .wc-block-components-totals-coupon__form {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-components-totals-coupon__button {
		border-top: 1px solid var(--ms-color-line) !important;
		border-left: 0 !important;
	}

	.woocommerce-order-received .ms-checkout-section {
		padding-block: 28px 48px;
	}

	.ms-order-received__summary,
	.woocommerce-order-received .wc-block-order-confirmation-summary-list,
	.woocommerce-order-received .wc-block-order-confirmation-address-wrapper {
		grid-template-columns: 1fr;
	}

	.ms-order-received__summary li,
	.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
		border-right: 0;
		border-bottom: 1px solid var(--ms-color-line);
	}

	.ms-order-received__summary li:last-child,
	.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
		border-bottom: 0;
	}

	.ms-order-received__actions,
	.ms-order-received__next,
	.woocommerce-order-received .wc-block-order-confirmation-status__actions {
		display: grid;
	}

	.ms-order-received__actions .ms-btn,
	.ms-order-received__next .ms-btn,
	.woocommerce-order-received .wc-block-order-confirmation-status__actions .button {
		width: 100%;
	}

	.woocommerce-order-received .woocommerce-form-login,
	.woocommerce-order-received .woocommerce-verify-email {
		grid-template-columns: 1fr;
	}

	.woocommerce-order-received .woocommerce-form-login .button,
	.woocommerce-order-received .woocommerce-verify-email .button {
		width: 100%;
	}

	.woocommerce-order-received .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
		display: grid;
		gap: 12px;
	}

	.woocommerce-account .ms-breadcrumbs {
		display: none;
	}

	.woocommerce-account .ms-account-section {
		padding-block: 28px 48px;
	}

	.ms-account-layout {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ms-account-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ms-account-nav::-webkit-scrollbar {
		display: none;
	}

	.ms-account-nav ul {
		display: flex;
		width: max-content;
		min-width: 100%;
	}

	.ms-account-nav a {
		min-height: 42px;
		border-left: 0;
		border-bottom: 3px solid transparent;
		white-space: nowrap;
	}

	.ms-account-nav a:hover,
	.ms-account-nav a:focus-visible,
	.ms-account-nav .is-active a,
	.ms-account-nav a[aria-current="page"] {
		border-left-color: transparent;
		border-bottom-color: var(--ms-color-primary);
	}

	.ms-account-panel {
		padding: 20px 18px;
	}

	.ms-account-summary,
	.ms-account-actions,
	.ms-account-address-grid,
	.ms-account-form__grid {
		grid-template-columns: 1fr;
	}

	.ms-account-summary {
		align-items: start;
	}

	.ms-account-auth__intro,
	.ms-account-auth__grid {
		grid-template-columns: 1fr;
	}

	.ms-account-auth__intro,
	.ms-account-card {
		padding: 20px 18px;
	}

	.ms-account-card__header {
		margin-bottom: 20px;
	}

	.ms-account-form__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.ms-cart-empty {
		padding: 24px;
	}

	.ms-cart-empty__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ms-cart-empty__actions .ms-btn {
		width: 100%;
		justify-content: center;
	}

	.ms-cart-empty__grid {
		grid-template-columns: 1fr;
	}

	.ms-cart__toolbar {
		align-items: flex-start;
		flex-direction: column;
		padding: 14px;
	}

	.woocommerce-cart .woocommerce-message,
	.woocommerce-cart .woocommerce-error,
	.woocommerce-cart .woocommerce-info {
		margin-bottom: 14px;
		padding: 14px 16px;
		font-size: 0.95rem;
		line-height: 1.45;
	}

	.ms-cart-item {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 14px 16px;
		padding: 14px;
	}

	.ms-cart-item__main h2 {
		font-size: 1rem;
	}

	.ms-cart-item__quantity input.qty,
	.ms-product-purchase input.qty {
		width: 64px;
		min-height: 48px;
	}

	.ms-quantity-stepper {
		grid-template-columns: 42px 64px 42px;
	}

	.ms-quantity-stepper button {
		min-height: 48px;
	}

	.ms-cart-coupon__row {
		grid-template-columns: 1fr;
	}

	.ms-cart-coupon__button {
		border-top: 1px solid var(--ms-color-line);
		border-left: 0;
	}

	.ms-product-purchase {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
	}

	.ms-product-purchase .single_add_to_cart_button {
		width: 100%;
		justify-content: center;
	}

	.woocommerce-account .woocommerce .woocommerce-Input {
		font-size: 16px;
	}

	.woocommerce-account .ms-floating-contact,
	.woocommerce-cart .ms-floating-contact {
		display: none;
	}

	.ms-drawer__panel {
		width: 100%;
	}

	.ms-drawer__header {
		position: sticky;
		top: 0;
		z-index: 1;
		padding: 16px 18px;
		background: var(--ms-color-white);
	}

	.ms-drawer__body {
		padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
	}

	.ms-drawer__product-context {
		margin-bottom: 16px;
	}

	.ms-drawer__form {
		gap: 14px;
	}

	.ms-drawer__form .ms-form-grid {
		gap: 14px;
	}

	.ms-drawer__form .ms-form-field input,
	.ms-drawer__form .ms-form-field textarea {
		font-size: 16px;
	}

	.ms-drawer__form .ms-form-field textarea {
		min-height: 124px;
	}

	.ms-drawer__form .ms-form-consent {
		padding: 13px 14px;
	}
}

.ms-product-detail__content h1 {
	max-width: 880px;
	font-size: clamp(2.3rem, 4.5vw, 5rem);
	line-height: 0.98;
}

.ms-product-detail__index {
	margin: 16px 0 22px;
	color: var(--ms-color-primary);
	font-size: clamp(1.05rem, 1.4vw, 1.3rem);
	font-weight: 700;
}

.ms-product-detail__commerce-meta {
	display: grid;
	gap: 6px;
	max-width: 520px;
	margin: 20px 0 24px;
	border: 1px solid var(--ms-color-line);
	border-left: 4px solid var(--ms-color-primary);
	padding: 18px 20px;
	background: var(--ms-color-white);
	box-shadow: var(--ms-shadow-subtle);
}

.ms-product-detail__price {
	margin: 0;
	color: var(--ms-color-dark);
	font-family: var(--ms-font-heading);
	font-size: clamp(1.55rem, 2.2vw, 2.1rem);
	font-weight: 900;
	line-height: 1;
}

.ms-product-detail__stock {
	margin: 0;
	color: var(--ms-color-muted);
	font-size: 0.92rem;
	font-weight: 800;
}

.ms-product-detail__lead {
	max-width: 760px;
	color: var(--ms-color-muted);
	font-size: clamp(1rem, 1.14vw, 1.14rem);
	line-height: 1.76;
}

.ms-product-detail__lead p + p {
	margin-top: 16px;
}

.ms-product-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ms-product-purchase {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	max-width: 640px;
	margin-top: 30px;
}

.ms-product-purchase .single_add_to_cart_button {
	min-height: 52px;
	border: 0;
	background: var(--ms-color-primary) !important;
	color: var(--ms-color-white) !important;
	cursor: pointer;
}

.ms-product-purchase .single_add_to_cart_button:hover,
.ms-product-purchase .single_add_to_cart_button:focus-visible {
	background: var(--ms-color-dark) !important;
	color: var(--ms-color-white) !important;
}

.ms-product-detail__actions--secondary {
	margin-top: 16px;
	gap: 18px;
}

.ms-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--ms-color-primary);
	font-family: var(--ms-font-body);
	font-size: 0.92rem;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.ms-text-link:hover,
.ms-text-link:focus-visible {
	color: var(--ms-color-dark);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ms-product-detail__spec {
	max-width: 820px;
	margin-top: 42px;
	border-top: 1px solid var(--ms-color-line);
}

.ms-product-detail__spec h2 {
	margin-top: 28px;
	font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.ms-product-detail__spec dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 24px 0 0;
	border-top: 1px solid var(--ms-color-line);
	border-left: 1px solid var(--ms-color-line);
}

.ms-product-detail__spec dl > div {
	min-height: 108px;
	border-right: 1px solid var(--ms-color-line);
	border-bottom: 1px solid var(--ms-color-line);
	padding: 18px;
}

.ms-product-detail__spec dt {
	margin-bottom: 8px;
	color: var(--ms-color-primary);
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ms-product-detail__spec dd {
	margin: 0;
	color: var(--ms-color-dark);
	font-weight: 800;
	line-height: 1.45;
}

@media (max-width: 980px) {
	.ms-cart {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-checkout {
		display: flex;
		flex-direction: column;
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-checkout__main,
	.woocommerce-checkout .wc-block-checkout__sidebar {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		grid-column: auto !important;
	}

	.woocommerce-checkout .wc-block-checkout__main {
		order: 2;
	}

	.woocommerce-checkout .wc-block-checkout__sidebar {
		order: 1;
	}

	.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
		display: grid !important;
		width: 100% !important;
	}

	.woocommerce-checkout .wc-block-checkout__sidebar,
	.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
		position: static;
		order: -1;
		width: 100% !important;
		margin-bottom: 18px;
	}

	.ms-cart-summary {
		position: static;
	}

	.ms-cart-item {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.ms-cart-item__quantity,
	.ms-cart-item__total {
		grid-column: 2;
		text-align: left;
	}
}

@media (max-width: 1100px) {
	:root {
		--ms-header-height: 68px;
	}

	body:not(.ms-home-transparent-header) {
		padding-top: var(--ms-header-height);
	}

	.ms-header {
		position: fixed;
		top: 0;
	}

	body.admin-bar .ms-header {
		top: 46px;
	}

	.ms-header__bar {
		grid-template-columns: minmax(118px, 1fr) auto;
	}

	.ms-primary-nav {
		display: none;
	}

	.ms-menu-toggle {
		display: block;
	}

	.ms-header__cta {
		min-height: 42px;
		padding-inline: 16px;
		font-size: 0.78rem;
	}

	.ms-logo,
	.ms-logo__image,
	.ms-logo img,
	.ms-logo__mask {
		max-width: clamp(118px, 34vw, 156px);
		max-height: 34px;
	}

	.ms-logo__mask {
		width: clamp(118px, 34vw, 156px);
		height: 34px;
	}

	.ms-hero {
		padding-block: 118px 56px;
	}

	.ms-hero__grid,
	.ms-section-heading,
	.ms-shop-hero__grid,
	.ms-product-detail__grid,
	.ms-offer-card,
	.ms-category-editorial-layout,
	.ms-category-hero__grid,
	.ms-category-scope__grid,
	.ms-offer-intro__grid,
	.ms-offer-local__grid,
	.ms-visual-hero__grid,
	.ms-about-intro__grid,
	.ms-about-markets__header,
	.ms-location__grid,
	.ms-contact-page__grid,
	.ms-contact-local__grid,
	.ms-home-customer-cases__header,
	.ms-home-industry-areas__grid,
	.ms-home-local-cta__grid,
	.ms-footer__grid {
		grid-template-columns: 1fr;
	}

	.ms-contact-local__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-offer-card__media {
		height: auto;
		min-height: clamp(240px, 52vw, 360px);
		max-height: 360px;
	}

	.ms-home-offer__header {
		grid-template-columns: 1fr;
	}

	.ms-home-offer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-offer-card.ms-offer-card--vertical .ms-offer-card__media {
		height: 100%;
		min-height: 0;
	}

	.ms-category-hero__media {
		min-height: clamp(280px, 54vw, 440px);
	}

	.ms-category-inquiry {
		position: static;
	}

	.ms-category-editorial-sidebar {
		position: static;
	}

	.ms-product-detail__media {
		position: static;
	}

	.ms-offer-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-home-inquiry-process__grid,
	.ms-home-customer-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-category-process__grid,
	.ms-category-related__grid,
	.ms-brand-products__header,
	.ms-shop-filter-roadmap__grid,
	.ms-shop-catalog-layout,
	.ms-shop-category-links__grid {
		grid-template-columns: 1fr;
	}

	.ms-shop-filter-sidebar {
		position: static;
	}

	.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__tree {
		max-height: 340px;
	}

	.ms-catalog-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ms-catalog-toolbar__group {
		flex-direction: column;
		align-items: stretch;
	}

	.ms-catalog-toolbar__search,
	.ms-catalog-toolbar__filter {
		min-width: auto;
		flex: 1 1 auto;
	}

	.ms-catalog-toolbar__results {
		margin-top: 6px;
	}

	.ms-catalog-table {
		border-left: 0;
		background: transparent;
	}

	.ms-catalog-table__head {
		display: none;
	}

	.ms-catalog-product-row {
		display: grid;
		grid-template-columns: 1fr;
		border: 1px solid var(--ms-color-line);
		background: var(--ms-color-white);
	}

	.ms-catalog-product-row + .ms-catalog-product-row {
		margin-top: 14px;
	}

	.ms-catalog-product-row::before {
		width: 4px;
	}

	.ms-catalog-product-row > div {
		border-right: 0;
		padding: 14px 16px;
	}

	.ms-catalog-product-row > div:last-child {
		border-bottom: 0;
	}

	.ms-catalog-product-row__index {
		align-items: center;
		min-height: 0;
	}

	.ms-catalog-product-row__thumb {
		width: 58px;
		height: 58px;
	}

	.ms-catalog-product-row__params span {
		font-size: 0.92rem;
	}

	.ms-catalog-product-row__params strong {
		font-size: 1.02rem;
	}

	.ms-catalog-pagination {
		align-items: flex-start;
		flex-direction: column;
	}

	.ms-catalog-pagination a.page-numbers,
	.ms-catalog-pagination span.page-numbers {
		min-width: 42px;
		min-height: 42px;
		font-size: 0.84rem;
	}

	.ms-stats-grid,
	.ms-capability-grid,
	.ms-about-process__grid,
	.ms-sector-list,
	.ms-home-inquiry-process__grid,
	.ms-home-customer-cases__grid,
	.ms-home-industry-areas__list {
		grid-template-columns: 1fr;
	}

	.ms-about-markets__header .ms-eyebrow {
		grid-column: auto;
		margin-bottom: 0;
	}

	.ms-footer__bottom {
		grid-template-columns: 1fr;
	}

	.ms-footer__credits {
		justify-content: flex-start;
	}

	.ms-home-customer-cases__header .ms-eyebrow {
		grid-column: auto;
	}

	.ms-home-local-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ms-home-local-cta__actions .ms-btn {
		width: 100%;
	}

	.ms-grid--3 {
		grid-template-columns: 1fr;
	}

	.ms-technical-variants__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-technical-variant {
		min-height: 230px;
	}

	.ms-inquiry-checklist__grid,
	.ms-faq-section__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.ms-shop-filter-sidebar__group .ms-shop-filter-sidebar__tree {
		max-height: 320px;
	}

	.ms-contact-local__links {
		grid-template-columns: 1fr;
	}

	.ms-contact-local__actions .ms-btn {
		width: 100%;
	}

	.ms-minimal-category {
		padding-block: 82px 64px;
	}

	.ms-category-back-link {
		margin-bottom: 24px;
	}

	.ms-minimal-category .ms-breadcrumbs {
		margin-bottom: 38px;
	}

	.ms-category-hero-text {
		padding-bottom: 26px;
	}

	.ms-category-hero-text h1 {
		font-size: clamp(2.25rem, 11vw, 3.55rem);
	}

	.ms-minimal-subcategory-list,
	.ms-minimal-category-seo-text {
		grid-template-columns: 1fr;
	}

	.ms-category-content-section {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ms-category-content-section h2,
	.ms-category-content-section h3,
	.ms-category-content-section p {
		grid-column: 1;
		grid-row: auto;
	}

	.ms-minimal-subcategory-item {
		grid-template-columns: 42px minmax(0, 1fr);
		min-height: auto;
	}

	.ms-minimal-subcategory-item em {
		grid-column: 2;
		text-align: left;
	}

	.ms-minimal-subcategory-list {
		margin-top: 46px;
	}

	.ms-category-hero {
		padding-block: 108px 58px;
	}

	.ms-category-hero__copy h1 {
		font-size: clamp(2.2rem, 10vw, 3.45rem);
	}

	.ms-category-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ms-category-hero__actions .ms-btn,
	.ms-shop-hero__actions .ms-btn,
	.ms-shop-empty__actions .ms-btn {
		width: 100%;
	}

	.ms-shop-hero {
		padding-block: 108px 58px;
	}

	.ms-shop-hero__copy h1 {
		font-size: clamp(2.2rem, 10vw, 3.45rem);
	}

	.ms-shop-hero__actions,
	.ms-shop-empty__actions,
	.ms-product-detail__actions {
		flex-direction: column;
	}

	.ms-product-detail__actions .ms-btn {
		width: 100%;
	}

	.ms-product-detail__spec dl {
		grid-template-columns: 1fr;
	}

	.ms-category-list {
		grid-template-columns: 1fr;
	}

	.ms-category-list li {
		min-height: auto;
	}

	.ms-home-offer__grid {
		grid-template-columns: 1fr;
		border-left: 0;
	}

	.ms-home-offer__grid .ms-offer-card {
		border-right: 0;
		border-left: 0;
	}

	.ms-minimal-subcategory-item {
		min-height: 68px;
	}

	.ms-category-content-section {
		padding-top: 18px;
	}

	.ms-category-content-section h2 {
		font-size: clamp(1.22rem, 6vw, 1.72rem);
		line-height: 1.14;
	}

	.ms-category-content-section p {
		font-size: 0.95rem;
		line-height: 1.68;
	}

	.ms-technical-variants__grid {
		grid-template-columns: 1fr;
	}

	.ms-technical-variant,
	.ms-faq-item {
		min-height: auto;
	}

	.ms-technical-variants__header h2,
	.ms-faq-section__header h2,
	.ms-inquiry-checklist__copy h2 {
		font-size: clamp(1.5rem, 8vw, 2.22rem);
	}

	.ms-inquiry-checklist__items li {
		padding-block: 18px;
	}

	.ms-header__bar {
		gap: 12px;
	}

	.ms-header__cta {
		max-width: 138px;
		white-space: nowrap;
	}

	.ms-hero h1 {
		font-size: clamp(2.15rem, 13vw, 3.4rem);
	}

	.ms-hero__panel {
		padding: 22px;
	}

	.ms-footer__bottom {
		flex-direction: column;
	}

	.ms-form-grid {
		grid-template-columns: 1fr;
	}

	.ms-offer-card__body {
		padding: 24px;
	}

	.ms-offer-card__media {
		height: auto;
		min-height: 238px;
		max-height: 300px;
	}

	.ms-offer-card__items {
		gap: 9px;
	}

	.ms-offer-process__grid {
		grid-template-columns: 1fr;
	}

	.ms-visual-hero {
		padding-block: 52px 66px;
	}

	.ms-visual-hero__media {
		min-height: 290px;
	}

	.ms-visual-hero__panel {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
		border: 0;
		border-top: 1px solid rgb(255 255 255 / 14%);
		padding: 16px 18px;
		background: var(--ms-color-graphite);
		backdrop-filter: none;
	}

	.ms-stat-card,
	.ms-capability-item,
	.ms-sector-list article {
		min-height: 0;
	}

	.ms-process-card {
		min-height: 0;
	}

	.ms-floating-contact {
		right: 14px;
		bottom: max(14px, env(safe-area-inset-bottom));
		width: 132px;
	}

	.ms-floating-contact.is-open {
		width: calc(100vw - 28px);
	}

	.ms-floating-contact__trigger {
		min-height: 48px;
		padding: 10px 14px;
	}

	.ms-floating-contact__trigger span {
		writing-mode: horizontal-tb;
		transform: none;
	}

	.ms-floating-contact.is-open .ms-floating-contact__trigger {
		opacity: 0;
		pointer-events: none;
		transform: translateY(10px);
	}

	.ms-floating-contact__panel {
		right: 0;
		bottom: 0;
		width: calc(100vw - 28px);
		max-height: min(58vh, 430px);
		overflow: auto;
	}

	body.tax-product_cat .ms-floating-contact,
	body.post-type-archive-product .ms-floating-contact,
	body.single-brand .ms-floating-contact,
	body.single-product .ms-floating-contact {
		display: none;
	}
}

@media (max-width: 560px) {
	.ms-header__cta {
		display: none;
	}
}

/* Producer marquee */
.ms-producer-strip {
	overflow: hidden;
	padding: 38px 0 42px;
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
}

.ms-producer-strip__label {
	margin-bottom: 24px;
	color: var(--ms-color-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ms-marquee {
	display: flex;
	width: 100%;
	overflow: hidden;
}

.ms-marquee-track {
	display: flex;
	min-width: max-content;
	gap: 18px;
	animation: ms-marquee 34s linear infinite;
	will-change: transform;
}

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

.ms-marquee-item {
	display: grid;
	place-items: center;
	width: clamp(154px, 14vw, 232px);
	height: clamp(82px, 8vw, 116px);
	padding: 18px 24px;
	background: var(--ms-color-white);
	transition: background 180ms ease, transform 180ms ease;
}

.ms-marquee-item img {
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: contrast(1.04);
	opacity: 1;
	transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ms-marquee-item__text {
	color: var(--ms-color-ink);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

@keyframes ms-marquee {
	to {
		transform: translateX(-33.333%);
	}
}

/* Brand archive */
.ms-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ms-brand-card {
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ms-brand-card:hover,
.ms-brand-card:focus-within {
	border-color: var(--ms-color-primary);
	box-shadow: 0 12px 34px rgb(16 17 20 / 8%);
}

.ms-brand-card__link {
	display: grid;
	gap: 18px;
	padding: clamp(24px, 3vw, 36px);
}

.ms-brand-card__logo {
	display: grid;
	place-items: center;
	min-height: 100px;
}

.ms-brand-card__logo img {
	max-width: 100%;
	max-height: 64px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: contrast(1.04);
}

.ms-brand-card h2 {
	font-size: clamp(1.15rem, 1.5vw, 1.55rem);
	line-height: 1.16;
}

.ms-brand-card p {
	color: var(--ms-color-muted);
	font-size: 0.95rem;
	line-height: 1.68;
}

/* Brand detail */
.ms-brand-detail {
	display: grid;
	grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
	gap: clamp(42px, 6vw, 96px);
	align-items: start;
}

.ms-brand-detail__logo {
	display: grid;
	place-items: center;
	min-height: 200px;
	border: 1px solid var(--ms-color-line);
	padding: clamp(32px, 4vw, 56px);
	background: var(--ms-color-white);
}

.ms-brand-detail__logo img {
	max-width: 100%;
	max-height: 120px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: contrast(1.04);
}

.ms-brand-detail__body {
	display: grid;
	gap: 32px;
}

.ms-brand-detail__groups {
	border-top: 1px solid var(--ms-color-line);
	padding-top: 28px;
}

.ms-brand-detail__groups ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ms-brand-detail__groups li {
	border: 1px solid var(--ms-color-line);
	padding: 10px 14px;
	color: var(--ms-color-graphite);
	font-size: 0.9rem;
	font-weight: 700;
}

@media (max-width: 980px) {
	.ms-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-brand-detail {
		grid-template-columns: 1fr;
	}
}

.ms-product-detail__inquiry {
	padding-block: clamp(56px, 7vw, 96px) clamp(72px, 8vw, 128px);
	background: var(--ms-color-white);
	border-top: 1px solid var(--ms-color-line);
}

.ms-product-detail__inquiry h2 {
	font-size: clamp(1.45rem, 2vw, 2.1rem);
	margin-bottom: 28px;
}

.ms-product-detail__inquiry-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.ms-product-detail__inquiry-info p {
	color: var(--ms-color-graphite);
	font-size: clamp(1rem, 1.14vw, 1.14rem);
	line-height: 1.6;
	margin-bottom: 18px;
}

.ms-product-detail__inquiry-info ul {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: disc;
	color: var(--ms-color-muted);
	font-size: clamp(0.95rem, 1.05vw, 1.05rem);
	line-height: 1.72;
}

.ms-product-detail__inquiry-info li + li {
	margin-top: 8px;
}

.ms-product-detail__inquiry-actions {
	display: grid;
	gap: 18px;
	align-content: start;
}

.ms-product-detail__inquiry-note {
	color: var(--ms-color-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.ms-product-detail__related {
	padding-block: clamp(56px, 7vw, 96px) clamp(72px, 8vw, 128px);
	background: var(--ms-color-surface);
	border-top: 1px solid var(--ms-color-line);
}

.ms-product-detail__related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.ms-product-detail__related-card {
	border: 1px solid var(--ms-color-line);
	background: var(--ms-color-white);
	transition: border-color 0.2s ease;
}

.ms-product-detail__related-card:hover {
	border-color: var(--ms-color-primary);
}

.ms-product-detail__related-media {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	border-bottom: 1px solid var(--ms-color-line);
	background: var(--ms-color-surface);
	overflow: hidden;
}

.ms-product-detail__related-media img {
	max-width: 80%;
	height: auto;
	transition: transform 0.3s ease;
}

.ms-product-detail__related-card:hover .ms-product-detail__related-media img {
	transform: scale(1.04);
}

.ms-product-detail__related-content {
	padding: 20px 22px 24px;
}

.ms-product-detail__related-content h3 {
	font-size: clamp(1.05rem, 1.3vw, 1.25rem);
	line-height: 1.22;
	margin: 0 0 6px;
}

.ms-product-detail__related-content h3 a {
	color: var(--ms-color-graphite);
	text-decoration: none;
}

.ms-product-detail__related-content h3 a:hover {
	color: var(--ms-color-primary);
}

.ms-product-detail__related-sku {
	display: block;
	color: var(--ms-color-muted);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 14px;
}

.ms-product-detail__related-link {
	color: var(--ms-color-primary);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.ms-product-detail__related-link:hover {
	text-decoration: underline;
}

@media (max-width: 980px) {
	.ms-product-detail__inquiry-grid {
		grid-template-columns: 1fr;
	}

	.ms-product-detail__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ms-brand-grid {
		grid-template-columns: 1fr;
	}

	.ms-product-detail__related-grid {
		grid-template-columns: 1fr;
	}
}
