/* ==========================================================================
   My Spectacles – Homepage template
   Brand values taken from the current Elementor homepage.
   Fonts (Poppins, Montserrat) are already loaded by the theme.
   ========================================================================== */

.ms-home {
	--ms-navy: #333974;      /* section headings */
	--ms-purple: #575d9b;    /* primary buttons */
	--ms-purple-dark: #454a85;
	--ms-ink: #1d1f2b;
	--ms-text: #3a3a3a;
	--ms-muted: #5f6470;
	--ms-grey: #f2f2f2;
	--ms-line: #e2e4ea;
	--ms-white: #fff;
	--ms-sale: #c8102e;
	--ms-radius: 8px;
	--ms-gap: 24px;
	--ms-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--ms-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	font-family: var(--ms-body);
	color: var(--ms-text);
	font-size: 16px;
	line-height: 1.6;
}

/* Let the template run edge to edge inside Astra. */
body.ms-home-page .site-content > .ast-container {
	max-width: 100%;
	padding: 0;
	display: block;
}
body.ms-home-page #primary {
	margin: 0;
	padding: 0;
}

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

.ms-home ul,
.ms-home ol { list-style: none; margin: 0; padding: 0; }
.ms-home img { max-width: 100%; height: auto; display: block; }
.ms-home a { text-decoration: none; }
.ms-home :focus-visible { outline: 2px solid var(--ms-purple); outline-offset: 3px; border-radius: 4px; }

.ms-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: 20px;
}

.ms-container--wide { max-width: 1760px; padding-inline: clamp(16px, 2.5vw, 40px); }

.ms-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Section shell ---------- */
.ms-section { padding-block: 80px; }
.ms-section--grey { background: var(--ms-grey); }

.ms-section__head { margin-bottom: 40px; text-align: center; }
.ms-section__head .ms-section__title::after {
	content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0;
	border-radius: 4px; background: var(--ms-purple);
}
.ms-charity__content .ms-section__title::after { display: none; }
.ms-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	text-align: left;
}
.ms-section__title {
	font-family: var(--ms-head);
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.125rem);
	line-height: 1.2;
	color: var(--ms-navy);
	text-transform: uppercase;
	margin: 0;
	text-wrap: balance;
}
.ms-section__cta { margin-top: 36px; text-align: center; }
.ms-eyebrow {
	margin: 0 0 8px;
	font-family: var(--ms-head);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ms-purple);
}

/* ---------- Buttons ---------- */
.ms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	font-family: var(--ms-head);
	font-weight: 500;
	font-size: .95rem;
	border-radius: 6px;
	border: 2px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	cursor: pointer;
}
.ms-btn--primary { background: var(--ms-purple); color: var(--ms-white); }
.ms-btn--primary:hover { background: var(--ms-purple-dark); color: var(--ms-white); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(87, 93, 155, .3); }
.ms-btn--light { background: var(--ms-white); color: var(--ms-navy); }
.ms-btn--light:hover { background: #eceef7; color: var(--ms-navy); transform: translateY(-2px); }
.ms-btn--ghost { background: transparent; color: var(--ms-white); border-color: rgba(255, 255, 255, .7); }
.ms-btn--ghost:hover { background: var(--ms-white); color: var(--ms-navy); }
.ms-btn--outline { background: transparent; color: var(--ms-purple); border-color: var(--ms-purple); }
.ms-btn--outline:hover { background: var(--ms-purple); color: var(--ms-white); }
.ms-btn--dark { background: #2b2b2b; color: var(--ms-white); text-transform: uppercase; letter-spacing: .02em; }
.ms-btn--dark:hover { background: var(--ms-navy); color: var(--ms-white); }
.ms-btn--link { min-height: 0; padding: 0; color: var(--ms-purple); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 1. Hero ---------- */
.ms-hero { position: relative; background: linear-gradient(313deg, #d1e3e3 38%, #ecebd7 57%); }
.ms-hero + .ms-section { padding-top: 120px; }
.ms-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: stretch;
	gap: 32px;
	padding-block: 0;
}
.ms-hero__content { align-self: center; padding-block: 72px; }
.ms-hero__badge {
	display: inline-block;
	margin: 0 0 12px;
	font-family: var(--ms-head);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--ms-purple);
	text-transform: uppercase;
	letter-spacing: .02em;
}
.ms-hero__title {
	margin: 0 0 16px;
	font-family: var(--ms-head);
	font-weight: 700;
	font-size: clamp(2rem, 4.5vw, 2.65rem);
	line-height: 1.15;
	color: #000;
	text-transform: uppercase;
	text-wrap: balance;
}
.ms-hero__text { margin: 0 0 24px; max-width: 52ch; font-size: 1.05rem; }
.ms-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ms-hero__media { position: relative; min-height: 460px; }
.ms-home .ms-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* Trust points: white bar along the bottom of the hero (as on the old homepage) */
.ms-hero__trust { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(50%); z-index: 3; pointer-events: none; }
.ms-home .ms-trust {
	pointer-events: auto;
	display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center;
	margin: 0;
	padding: 18px 20px;
	background: var(--ms-white);
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(51, 57, 116, .14);
}
.ms-trust__item { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; font-size: .92rem; font-weight: 500; color: var(--ms-ink); }
.ms-trust__item + .ms-trust__item { border-left: 1px solid var(--ms-line); }
.ms-trust__item .ms-icon { width: 20px; height: 20px; color: var(--ms-ink); }

/* ---------- Carousel (brands + products) ---------- */
.ms-carousel {
	display: grid;
	grid-auto-flow: column;
	gap: var(--ms-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.ms-carousel::-webkit-scrollbar { display: none; }
.ms-carousel > li { scroll-snap-align: start; }
.ms-carousel__nav { display: flex; gap: 8px; flex: none; }
.ms-section__head .ms-carousel__nav { justify-content: center; margin-top: 14px; }
.ms-section__sub {
	display: inline-block; margin-top: 10px; padding: 2px 10px;
	background: var(--ms-purple); color: var(--ms-white);
	font-family: var(--ms-head); font-size: .9rem;
}
.ms-carousel__btn {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--ms-line);
	background: var(--ms-white);
	color: var(--ms-navy);
	cursor: pointer;
	padding: 0;
}
.ms-carousel__btn:hover:not(:disabled) { border-color: var(--ms-purple); color: var(--ms-purple); }
.ms-carousel__btn:disabled { opacity: .35; cursor: default; }

/* ---------- 2. Brands ---------- */
/* Brand logos scroll continuously (two copies of the list = seamless loop) */
.ms-marquee { display: flex; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ms-marquee__track {
	display: flex; flex: none; align-items: center;
	gap: 48px; padding-right: 48px;
	animation: ms-marquee 90s linear infinite;
}
.ms-marquee:hover .ms-marquee__track,
.ms-marquee:focus-within .ms-marquee__track { animation-play-state: paused; }
@keyframes ms-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ms-brand { flex: none; }
.ms-brand__link { display: flex; align-items: center; justify-content: center; width: 170px; height: 90px; transition: opacity .2s; }
.ms-brand__link:hover { opacity: .7; }
.ms-brand__logo { max-width: 100%; max-height: 90px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.ms-brand__name { font-family: var(--ms-head); font-weight: 600; color: var(--ms-navy); text-align: center; }

/* ---------- 3. Steps ---------- */
.ms-steps__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ms-step { position: relative; display: grid; gap: 14px; align-content: start; transition: transform .25s; }
.ms-step:hover { transform: translateY(-4px); }
.ms-step__media { border-radius: 12px; overflow: hidden; background: var(--ms-grey); aspect-ratio: 1; border: 1px solid var(--ms-line); box-shadow: 0 6px 18px rgba(51, 57, 116, .07); }
.ms-home .ms-step__img { width: 100%; height: 100%; object-fit: cover; }
.ms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 4. New arrivals ---------- */
.ms-products { grid-auto-columns: calc((100% - 3 * var(--ms-gap)) / 4); }
/* Product card: assets/css/cards.css (shared by every product list) */
.ms-sale { background: linear-gradient(180deg, #fff 0, #f7f7fb 100%); }

/* ---------- 5. Shop by ---------- */
.ms-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(20px, 3.6vw, 52px); }
.ms-tiles > li { flex: 0 0 140px; }
.ms-tile__link { display: grid; gap: 12px; text-align: center; justify-items: center; }
.ms-tile__media { display: block; width: 140px; max-width: 100%; border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: var(--ms-grey); box-shadow: 0 6px 18px rgba(51, 57, 116, .08); transition: box-shadow .25s; }
.ms-tile__link:hover .ms-tile__media { box-shadow: 0 14px 30px rgba(51, 57, 116, .18); }
.ms-home .ms-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ms-tile__link:hover .ms-tile__img { transform: scale(1.05); }
.ms-tile__title { margin: 0; font-family: var(--ms-head); font-weight: 600; font-size: 1rem; white-space: nowrap; color: var(--ms-ink); }
.ms-tile__link:hover .ms-tile__title { color: var(--ms-purple); }

/* ---------- 6. Promo ---------- */
.ms-promo__link { display: block; }
.ms-promo__img { width: 100%; }

/* ---------- 7. Lenses ---------- */
.ms-lenses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ms-gap); }
.ms-lens {
	position: relative;
	display: flex; flex-direction: column; gap: 10px;
	padding: 28px 24px 24px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	background: var(--ms-white);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ms-lens { overflow: hidden; }
.ms-lens::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ms-purple), #8f95d6); }
.ms-lens:hover { border-color: var(--ms-purple); box-shadow: 0 14px 30px rgba(51, 57, 116, .12); transform: translateY(-3px); }
.ms-lens__tag {
	flex: none; white-space: nowrap;
	padding: 3px 10px; border-radius: 99px;
	background: #eceef7; color: var(--ms-purple);
	font-size: .78rem; font-weight: 600;
}
.ms-lens__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 6px 10px; }
.ms-lens__title { margin: 0; font-family: var(--ms-head); font-weight: 600; font-size: clamp(1rem, 1.45vw, 1.1rem); min-width: 0; white-space: nowrap; color: var(--ms-ink); }
.ms-lens__text { margin: 0; color: var(--ms-muted); }
.ms-lens__link {
	margin-top: auto; padding-top: 6px;
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--ms-head); font-weight: 600; font-size: .9rem;
	text-transform: uppercase; letter-spacing: .03em;
	color: var(--ms-purple);
}
.ms-lens__link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.ms-lens__link .ms-icon { width: 18px; height: 18px; transition: transform .2s; }
.ms-lens:hover .ms-lens__link .ms-icon { transform: translateX(4px); }

/* ---------- 8. Sightsavers ---------- */
.ms-charity__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ms-charity__img { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(51, 57, 116, .15); }
.ms-charity__content .ms-section__title { margin-bottom: 16px; }
.ms-charity__text { margin: 0 0 24px; max-width: 56ch; }

/* ---------- 9. Sports ---------- */
.ms-sports { background: linear-gradient(100deg, #fbd5f0 0%, #dcd5f6 50%, #c3f2f4 100%); }
.ms-sports__grid { display: grid; grid-template-columns: repeat(var(--ms-n, 8), minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.ms-sport__link {
	display: grid; justify-items: center; align-content: center; gap: 10px;
	height: 100%;
	padding: 24px 6px 20px;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 28px;
	background: var(--ms-white);
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ms-sport__link:hover { border-color: var(--ms-purple); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(51, 57, 116, .1); }
.ms-sport__icon { width: clamp(56px, 5.4vw, 84px); height: clamp(56px, 5.4vw, 84px); display: flex; align-items: center; justify-content: center; }
.ms-home .ms-sport__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ms-sport__title { margin: 0; max-width: 100%; font-family: var(--ms-head); font-weight: 400; font-size: clamp(.8rem, 1.2vw, 1.05rem); line-height: 1.25; color: var(--ms-purple); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-sport__more { max-width: 100%; font-size: clamp(.7rem, .9vw, .8rem); color: var(--ms-ink); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 7b. Why choose us ---------- */
.ms-why { background: var(--ms-grey); }
.ms-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ms-why__item {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 36px 24px 32px;
	background: var(--ms-white);
	border: 1px solid var(--ms-line);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(51, 57, 116, .06);
	transition: transform .25s, box-shadow .25s;
}
.ms-why__item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(51, 57, 116, .12); }
.ms-why__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%;
	background: linear-gradient(135deg, var(--ms-navy), var(--ms-purple)); color: var(--ms-white);
	box-shadow: 0 8px 18px rgba(87, 93, 155, .35);
}
.ms-why__icon .ms-icon { width: 34px; height: 34px; }
.ms-why__title { margin: 0 0 10px; font-family: var(--ms-head); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ms-ink); }
.ms-why__text { margin: 0; color: var(--ms-muted); font-size: .95rem; line-height: 1.6; }

/* ---------- 10. FAQ ---------- */
.ms-faq__inner { max-width: 860px; }
.ms-faq__item { background: var(--ms-white); border: 1px solid var(--ms-line); border-radius: 10px; margin-bottom: 12px; }
.ms-faq__item summary {
	position: relative; display: block; cursor: pointer; list-style: none;
	padding: 18px 56px 18px 22px;
	font-family: var(--ms-head); font-weight: 600; color: var(--ms-ink);
}
.ms-faq__item summary::-webkit-details-marker { display: none; }
.ms-faq__item summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; line-height: 1; color: var(--ms-purple); transition: transform .2s;
}
.ms-faq__item[open] summary::after { content: "\2212"; }
.ms-faq__item[open] { border-color: var(--ms-purple); }
.ms-faq__item p { margin: 0; padding: 0 22px 20px; color: var(--ms-muted); }

/* ---------- 11. Closing banner ---------- */
.ms-cta { background: var(--ms-white); padding: 56px 0 88px; }
.ms-cta__inner { padding: 64px 32px; border-radius: 24px; text-align: center; color: var(--ms-white); background: linear-gradient(135deg, var(--ms-navy), var(--ms-purple)); box-shadow: 0 20px 50px rgba(51, 57, 116, .2); }
.ms-cta__title { text-wrap: balance; margin: 0 0 12px; font-family: var(--ms-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--ms-white); }
.ms-cta__text { margin: 0 auto 28px; max-width: 60ch; text-wrap: balance; font-size: 1.05rem; opacity: .92; }
.ms-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- No sideways scrolling ---------- */
/* Root cause of the sideways scroll: WooCommerce prices contain absolutely
   positioned "screen-reader-text" spans. Inside a scrolling carousel they were
   positioned against the page, so they stuck out far to the right. Making the
   carousel and its cards the positioning parent keeps them inside. */
.ms-home .ms-carousel,
.ms-home .ms-carousel > li,
.ms-home .ms-steps__list > li,
.ms-home .ms-marquee,
.ms-home .ms-marquee__track { position: relative; }
/* Safety net: nothing on this template may widen the page on phones. */
html:has(body.ms-home-page),
body.ms-home-page { overflow-x: clip; max-width: 100%; }
.ms-home { overflow-x: clip; max-width: 100%; }
.ms-home :where(.ms-container, .ms-hero__content, .ms-hero__media, .ms-charity__content, .ms-charity__media, .ms-section, .ms-product, .ms-lens, .ms-sport, .ms-why__item, .ms-faq__item) { min-width: 0; }
.ms-home :where(h1, h2, h3, p, summary, a, span) { overflow-wrap: anywhere; }
.ms-home :where(iframe, video, canvas, svg) { max-width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
	.ms-steps__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
	.ms-steps__list > li { flex: 0 1 calc((100% - 40px) / 3); }
}

@media (max-width: 1099px) {
	.ms-sports__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.ms-sport__title { font-size: 1rem; }
	.ms-sport__more { font-size: .8rem; }
	.ms-sport__icon { width: 72px; height: 72px; }
}

@media (max-width: 1024px) {
	/* Tablet hero: equal columns so the portrait is not cropped / pushed into the text */
	.ms-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
	.ms-hero__content { padding-block: 44px; }
	.ms-hero__title { font-size: clamp(1.9rem, 4.2vw, 2.3rem); }
	.ms-hero__text { font-size: 1rem; }
	.ms-hero__media { min-height: 0; height: auto; align-self: end; aspect-ratio: 1 / 1.05; }
	.ms-home .ms-hero__img { object-position: 50% 12%; }
	.ms-hero + .ms-section { padding-top: 130px; }
	.ms-home .ms-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; gap: 12px 0; }
	.ms-trust__item:nth-child(odd) { border-left: 0; }
	.ms-products { grid-auto-columns: calc((100% - 2 * var(--ms-gap)) / 3); }
	.ms-steps__list { display: grid; grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; gap: 20px; }
	.ms-steps__list > li { flex: none; }
	.ms-tiles { gap: 24px 22px; }
	.ms-tiles > li { flex-basis: 118px; }
	.ms-tile__media { width: 118px; }
	.ms-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--ms-gap); }
	.ms-lenses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet portrait (768-900px): stacked hero, photo centred above the text */
@media (min-width: 768px) and (max-width: 900px) {
	.ms-hero__inner { grid-template-columns: 1fr; gap: 0; }
	.ms-hero__media { order: -1; align-self: center; justify-self: center; width: min(100%, 480px); aspect-ratio: 1 / 1; margin: 32px auto 0; border-radius: 20px; overflow: hidden; }
	.ms-home .ms-hero__img { object-position: 50% 15%; }
	.ms-hero__content { padding: 28px 20px 24px; text-align: center; }
	.ms-hero__text { margin-inline: auto; max-width: 60ch; }
	.ms-hero__buttons { justify-content: center; }
	.ms-hero__trust { position: static; transform: none; padding: 0 20px 28px; }
	.ms-hero + .ms-section { padding-top: 52px; }
}

/* Sports tiles: 3 per row on tablets so the labels are not squeezed */
@media (min-width: 600px) and (max-width: 899px) {
	.ms-sports__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	/* an odd last card is centred instead of hanging on the left */
	.ms-tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
	.ms-why__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
	.ms-hero__inner { grid-template-columns: 1fr; gap: 0; padding-inline: 0; }
	.ms-hero__media { order: -1; min-height: 0; height: auto; aspect-ratio: 1 / 1; max-height: 460px; }
	.ms-home .ms-hero__img { object-position: 50% 15%; }
	.ms-hero__content { padding: 28px 20px 24px; text-align: center; }
	.ms-hero__text { margin-inline: auto; }
	.ms-hero__buttons { justify-content: center; }
	.ms-hero__buttons .ms-btn { flex: 1 1 140px; }
	.ms-hero__trust { position: static; transform: none; padding: 0 20px 28px; }
	.ms-hero + .ms-section { padding-top: 52px; }
	.ms-home .ms-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; padding: 14px 8px; gap: 12px 0; box-shadow: 0 6px 18px rgba(51, 57, 116, .1); }
	.ms-trust__item { flex-direction: column; gap: 6px; padding: 4px 8px; font-size: .8rem; text-align: center; line-height: 1.3; }
	.ms-trust__item + .ms-trust__item { border-left: 0; }
	.ms-trust__item:nth-child(even) { border-left: 1px solid var(--ms-line); }
	.ms-sports__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ms-sport__link { padding: 20px 6px 16px; border-radius: 22px; }
	.ms-sport__title { font-size: .95rem; }
	.ms-cta { padding: 36px 0 56px; }
	.ms-cta__inner { padding: 44px 20px; border-radius: 20px; }
	.ms-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: normal; gap: 28px 12px; }
	.ms-home { --ms-gap: 16px; }
	.ms-section { padding-block: 52px; }
	.ms-section__head { margin-bottom: 24px; }
	.ms-hero__buttons .ms-btn { flex: 1 1 140px; }
	.ms-brand__link { width: 120px; height: 64px; }
	.ms-marquee__track { gap: 28px; padding-right: 28px; }
	.ms-products { grid-auto-columns: 72%; }
	.ms-tiles > li { flex: none; min-width: 0; }
	.ms-tile__media { width: min(185px, 100%); border: 1px solid #e6e7f2; box-shadow: none; }
	.ms-tile__title { font-size: 1rem; }
	.ms-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ms-why__item { padding: 24px 12px 22px; }
	.ms-why__icon { width: 56px; height: 56px; margin-bottom: 14px; }
	.ms-why__icon .ms-icon { width: 26px; height: 26px; }
	.ms-why__title { font-size: 1rem; }
	.ms-why__text { font-size: .88rem; }
	.ms-lenses__grid { grid-template-columns: 1fr; }
	.ms-charity__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
	.ms-charity__text { margin-inline: auto; }
	.ms-charity__img { display: block; margin-inline: auto; }
}

@media (max-width: 420px) {
	.ms-lens__head { flex-wrap: wrap; }
	.ms-lens__title { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.ms-marquee { overflow-x: auto; }
	.ms-marquee__track { animation: none; }
	.ms-marquee__track[aria-hidden="true"] { display: none; }
	.ms-home * { transition: none !important; }
}
