/* MrSwash Shop */
.mws {
	--mws-red: #f2382c;
	--mws-red-d: #d42416;
	--mws-ink: #25272d;
	--mws-muted: #646872;
	--mws-soft: #f5f5f7;
	--mws-line: #e4e4e9;
	--mws-radius: 14px;
	/* Arimo is the site font (self-hosted via Elementor, Greek + Latin). */
	--mws-head: 'Arimo', system-ui, sans-serif;
	--mws-body: 'Arimo', system-ui, sans-serif;
	font-family: var(--mws-body);
	color: var(--mws-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
.mws *, .mws *::before, .mws *::after { box-sizing: border-box; }
.mws a { text-decoration: none; }
.mws ul { list-style: none; margin: 0; padding: 0; }
.mws h1, .mws h2, .mws h3 { font-family: var(--mws-head); color: inherit; margin: 0; }
.mws .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.mws-ico { flex: none; }
.mws.mws label { color: var(--mws-ink); font-weight: inherit; }
.mws button, .mws .mws-btn, .mws .mws-add { text-transform: none; letter-spacing: normal; }
.mws-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.mws-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(60rem 30rem at 100% 0%, rgba(242, 56, 44, .28), transparent 60%),
		linear-gradient(135deg, #1c1d22 0%, var(--mws-ink) 100%);
	padding: 44px 0 30px;
}
.mws-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: linear-gradient(90deg, var(--mws-red), var(--mws-red-d) 40%, transparent);
}
.mws-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.mws-crumbs a { color: rgba(255, 255, 255, .75); }
.mws-crumbs a:hover { color: #fff; }
.mws-hero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.mws-hero__lead { max-width: 62ch; margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }

.mws-quick { display: flex; gap: 8px; margin-top: 26px !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.mws-quick::-webkit-scrollbar { display: none; }
@media (min-width: 1025px) { .mws-quick { flex-wrap: wrap; overflow: visible; } }
.mws-pill {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	padding: 9px 14px; border-radius: 999px;
	font: 600 13.5px/1 var(--mws-head);
	color: #fff !important; background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .14);
	transition: background .2s, border-color .2s;
}
.mws-pill span { font-weight: 500; font-size: 12px; opacity: .65; }
.mws-pill:hover { background: rgba(255, 255, 255, .16); }
.mws-pill.is-active { background: var(--mws-red); border-color: var(--mws-red); }
.mws-pill.is-active span { opacity: .85; }

/* ---------- Layout ---------- */
.mws-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 80px; align-items: start; }

/* ---------- Filter panel ---------- */
.mws-panel { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; outline: none; }
.mws-panel__head, .mws-panel__foot { display: none; }

.mws-search { position: relative; margin-bottom: 8px; }
.mws-search .mws-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--mws-muted); pointer-events: none; }
.mws .mws-search input {
	width: 100%; height: 46px; margin: 0; padding: 0 14px 0 42px;
	font: 15px var(--mws-body); color: var(--mws-ink);
	background: var(--mws-soft); border: 1px solid transparent; border-radius: 12px;
	box-shadow: none; transition: border-color .2s, background .2s;
}
.mws .mws-search input:focus { outline: none; background: #fff; border-color: var(--mws-ink); }

.mws-group { border-bottom: 1px solid var(--mws-line); padding: 4px 0; }
.mws-group > summary {
	display: flex; align-items: center; justify-content: space-between;
	list-style: none; cursor: pointer; padding: 14px 0;
	font: 700 14px/1.2 var(--mws-head); letter-spacing: .02em; text-transform: uppercase;
}
.mws-group > summary::-webkit-details-marker { display: none; }
.mws-group > summary::after {
	content: ""; width: 8px; height: 8px; margin-right: 4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px); transition: transform .2s; opacity: .55;
}
.mws-group[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.mws-group > summary:focus-visible { outline: 2px solid var(--mws-red); outline-offset: 2px; border-radius: 4px; }
.mws-group > :not(summary) { margin-bottom: 14px; }
.mws-group--flat { padding: 16px 0; }

.mws-options { display: grid; gap: 2px; }
.mws-options--sub { margin: 2px 0 6px 9px !important; padding-left: 14px !important; border-left: 2px solid var(--mws-line); }
.mws-options--sub[hidden] { display: none !important; }
/* Category groups: the main category row + an arrow that opens its subcategories. */
.mws-catgroup__row { display: flex; align-items: center; gap: 4px; }
.mws-catgroup__row > .mws-check { flex: 1; min-width: 0; margin-right: 0; }
.mws .mws-catgroup__toggle { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--mws-ink); cursor: pointer; }
.mws .mws-catgroup__toggle:hover { background: var(--mws-soft); }
.mws .mws-catgroup__toggle:focus-visible { outline: 2px solid var(--mws-red); outline-offset: 1px; }
.mws-catgroup__toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; opacity: .6; }
.mws-catgroup.is-open .mws-catgroup__toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
.mws-options.is-collapsible > li:nth-child(n+9) { display: none; }
.mws-group.is-expanded .mws-options.is-collapsible > li { display: block; }

.mws-check { display: flex; align-items: center; gap: 10px; padding: 7px 6px; margin: 0 -6px; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1.3; transition: background .15s; }
.mws-check:hover { background: var(--mws-soft); }
.mws-check input, .mws-tag input, .mws-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mws-check__box {
	flex: none; width: 19px; height: 19px; border-radius: 5px;
	border: 1.5px solid #b9bac2; background: #fff center / 13px no-repeat;
	transition: background-color .15s, border-color .15s;
}
.mws-check input:checked + .mws-check__box {
	background-color: var(--mws-red); border-color: var(--mws-red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}
.mws-check input:focus-visible + .mws-check__box { outline: 2px solid var(--mws-red); outline-offset: 2px; }
.mws-check__label { flex: 1; }
.mws-check__count { flex: none; min-width: 26px; padding: 2px 7px; border-radius: 999px; background: var(--mws-soft); color: var(--mws-muted); font-size: 12px; text-align: center; }
.mws-check.is-empty { opacity: .4; cursor: default; }
.mws-check.is-empty:hover { background: none; }

.mws-more { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--mws-red-d); font: 700 13.5px var(--mws-head); cursor: pointer; }
.mws-more:hover { text-decoration: underline; }

/* Tags */
.mws-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.mws-tags.is-collapsible > li:nth-child(n+15) { display: none; }
.mws-group.is-expanded .mws-tags.is-collapsible > li { display: block; }
.mws-tag span {
	display: inline-block; padding: 7px 12px; border-radius: 999px;
	border: 1px solid var(--mws-line); background: #fff;
	font-size: 13.5px; line-height: 1; cursor: pointer; transition: all .15s;
}
.mws-tag span::before { content: "#"; opacity: .45; margin-right: 1px; }
.mws-tag:hover span { border-color: var(--mws-ink); }
.mws-tag input:checked + span { background: var(--mws-ink); border-color: var(--mws-ink); color: #fff; }
.mws-tag input:focus-visible + span { outline: 2px solid var(--mws-red); outline-offset: 2px; }
.mws-tag.is-empty { opacity: .4; }
.mws-tag.is-empty span { cursor: default; }

/* Price */
.mws-range { position: relative; height: 30px; margin: 4px 10px 10px; }
.mws-range__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--mws-line); }
.mws-range__fill { position: absolute; top: 0; bottom: 0; background: var(--mws-red); border-radius: 4px; }
.mws .mws-range input[type=range] {
	position: absolute; inset: 0; width: calc(100% + 20px); margin: 0 -10px; height: 30px; padding: 0;
	-webkit-appearance: none; appearance: none; background: none; border: 0; pointer-events: none;
}
.mws-range input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; cursor: grab;
	width: 22px; height: 22px; border-radius: 50%; background: #fff;
	border: 2px solid var(--mws-red); box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.mws-range input[type=range]::-moz-range-thumb {
	pointer-events: auto; cursor: grab;
	width: 18px; height: 18px; border-radius: 50%; background: #fff;
	border: 2px solid var(--mws-red); box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.mws-range input[type=range]::-moz-range-track { background: none; }
.mws-range input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(242, 56, 44, .35); }
.mws-price__fields { display: flex; align-items: flex-end; gap: 10px; }
.mws-price__fields label { position: relative; flex: 1; margin: 0; }
.mws-price__fields label > span { display: block; font-size: 12px; color: var(--mws-muted); margin-bottom: 4px; }
.mws .mws-price__fields input {
	width: 100%; height: 40px; margin: 0; padding: 0 26px 0 12px;
	font: 600 15px var(--mws-body); color: var(--mws-ink);
	border: 1px solid var(--mws-line); border-radius: 10px; background: #fff; box-shadow: none;
	-moz-appearance: textfield;
}
.mws-price__fields input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mws .mws-price__fields input:focus { outline: none; border-color: var(--mws-ink); }
.mws-price__fields em { position: absolute; right: 11px; bottom: 11px; font-style: normal; color: var(--mws-muted); font-size: 14px; }
.mws-price__dash { padding-bottom: 10px; color: var(--mws-muted); }

/* Switch */
.mws-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font: 700 14px var(--mws-head); }
.mws-switch em { font-style: normal; font-weight: 500; color: var(--mws-muted); }
.mws-switch__ui { position: relative; flex: none; width: 40px; height: 23px; border-radius: 999px; background: #cfd0d6; transition: background .2s; }
.mws-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.mws-switch input:checked + .mws-switch__ui { background: var(--mws-red); }
.mws-switch input:checked + .mws-switch__ui::after { transform: translateX(17px); }
.mws-switch input:focus-visible + .mws-switch__ui { outline: 2px solid var(--mws-red); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.mws-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--mws-red);
	background: var(--mws-red); color: #fff !important;
	font: 700 14.5px/1 var(--mws-head); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.mws-btn:hover { background: var(--mws-red-d); border-color: var(--mws-red-d); }
.mws-btn--ghost { background: transparent; border-color: var(--mws-line); color: var(--mws-ink) !important; }
.mws-btn--ghost:hover { background: var(--mws-soft); border-color: var(--mws-line); }
.mws-btn--outline { background: #fff; border-color: var(--mws-ink); color: var(--mws-ink) !important; height: 42px; padding: 0 16px; }
.mws-btn--outline:hover { background: var(--mws-ink); color: #fff !important; border-color: var(--mws-ink); }
.mws-btn--block { width: 100%; margin-top: 16px; }
.mws-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--mws-red); color: #fff; font-size: 11.5px; }
.mws-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mws-soft); color: var(--mws-ink); cursor: pointer; padding: 0; }

/* ---------- Results ---------- */
.mws-results { position: relative; container-type: inline-size; min-width: 0; }
.mws-results::before {
	content: ""; position: absolute; top: -12px; left: 0; height: 3px; width: 0; border-radius: 3px;
	background: var(--mws-red); opacity: 0;
}
.mws.is-loading .mws-results::before { opacity: 1; animation: mws-bar 1s ease-in-out infinite; }
.mws.is-loading .mws-grid, .mws.is-loading .mws-empty { opacity: .45; transition: opacity .15s .1s; }
@keyframes mws-bar { 0% { left: 0; width: 0; } 50% { left: 15%; width: 55%; } 100% { left: 100%; width: 0; } }

.mws-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mws-filter-toggle { display: none; }
.mws-count { flex: 1; margin: 0; font-size: 15px; color: var(--mws-muted); }
.mws-count strong { color: var(--mws-ink); font-family: var(--mws-head); font-size: 17px; }
.mws-sort { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--mws-muted); }
.mws .mws-sort select {
	height: 42px; margin: 0; padding: 0 38px 0 14px; min-width: 210px;
	font: 600 14px var(--mws-body); color: var(--mws-ink);
	border: 1px solid var(--mws-line); border-radius: 999px; box-shadow: none; cursor: pointer;
	-webkit-appearance: none; appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2325272d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
}
.mws .mws-sort select:focus { outline: none; border-color: var(--mws-ink); }

.mws-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px !important; }
.mws-active a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 13px; border-radius: 999px; background: var(--mws-soft); color: var(--mws-ink); font-size: 13.5px; font-weight: 700; transition: background .15s; }
.mws-active a .mws-ico { width: 15px; height: 15px; opacity: .6; }
.mws-active a:hover { background: #ebebef; }
.mws-active a.mws-clear { background: none; color: var(--mws-red-d); text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; }

/* ---------- Grid & cards ---------- */
.mws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container (min-width: 600px) { .mws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@container (min-width: 1100px) { .mws-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.mws-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: #fff; border: 1px solid var(--mws-line); border-radius: var(--mws-radius); overflow: hidden;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}
.mws-card:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(37, 39, 45, .12); transform: translateY(-3px); }
.mws-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--mws-soft); padding: 18px; overflow: hidden; }
.mws .mws-card__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.mws-card:hover .mws-card__img { transform: scale(1.05); }
.mws-card__flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mws-flag { padding: 5px 8px; border-radius: 6px; font: 800 11px/1 var(--mws-head); letter-spacing: .06em; color: #fff; }
.mws-flag--pro { background: var(--mws-ink); }
.mws-flag--sale { background: var(--mws-red); }
.mws-flag--out { background: #8b8d94; letter-spacing: 0; }

.mws-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 16px 18px; }
.mws-card__cat { font: 700 11.5px/1.3 var(--mws-head); text-transform: uppercase; letter-spacing: .06em; color: var(--mws-red-d); }
.mws-card__title { font-size: 15px !important; font-weight: 600 !important; line-height: 1.38 !important; }
.mws-card__title a {
	color: var(--mws-ink) !important;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mws-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mws-card__title a:hover { color: var(--mws-red-d) !important; }
.mws-card__meta { margin: 0; font-size: 13px; color: var(--mws-muted); }
.mws-card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.mws-card__price { font: 700 19px/1.1 var(--mws-head); color: var(--mws-ink); }
.mws-card__price del { display: block; font-size: 13px; font-weight: 500; color: var(--mws-muted); }
.mws-card__price ins { text-decoration: none; color: var(--mws-red-d); }

.mws-add {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; gap: 7px;
	height: 40px; padding: 0 15px 0 12px; border-radius: 999px;
	background: var(--mws-red); color: #fff !important;
	font: 700 13.5px/1 var(--mws-head); white-space: nowrap; transition: background .2s;
}
.mws-add:hover { background: var(--mws-red-d); }
.mws-add .mws-ico { width: 18px; height: 18px; }
.mws-add.loading { opacity: .7; pointer-events: none; }
.mws-add.loading .mws-ico { animation: mws-spin .8s linear infinite; }
.mws-add.added { background: var(--mws-ink); }
.mws-add--ghost { background: var(--mws-soft); color: var(--mws-ink) !important; padding: 0 16px; }
.mws-add--ghost:hover { background: #ebebef; }
.mws .mws-card a.added_to_cart { display: inline-block; }
.mws-card .added_to_cart::after { content: " →"; }
.mws-card .added_to_cart { position: relative; z-index: 2; flex-basis: 100%; font-size: 13px; font-weight: 700; color: var(--mws-red-d); text-decoration: underline; text-underline-offset: 3px; }
@keyframes mws-spin { to { transform: rotate(360deg); } }

/* Pagination */
.mws-pages { margin-top: 44px; }
.mws-pages ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.mws-pages a, .mws-pages span.page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
	font: 700 15px var(--mws-head); color: var(--mws-ink); border: 1px solid var(--mws-line);
}
.mws-pages a:hover { border-color: var(--mws-ink); }
.mws-pages .current { background: var(--mws-ink); border-color: var(--mws-ink) !important; color: #fff !important; }
.mws-pages .dots { border: 0 !important; }

/* Empty */
.mws-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--mws-line); border-radius: var(--mws-radius); }
.mws-empty .mws-ico { width: 40px; height: 40px; color: var(--mws-red); }
.mws-empty h2 { font-size: 22px; margin: 14px 0 8px; }
.mws-empty p { color: var(--mws-muted); margin: 0 0 22px; }

/* ---------- Tablet & mobile: off-canvas filters ---------- */
@media (max-width: 1024px) {
	.mws-layout { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
	.mws-filter-toggle { display: inline-flex; }
	.mws-panel {
		position: fixed; z-index: 100001; top: 0; bottom: 0; left: 0;
		width: min(400px, 90vw); max-height: none; padding: 0;
		display: flex; flex-direction: column; background: #fff;
		box-shadow: 0 0 40px rgba(0, 0, 0, .25);
		transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
		visibility: hidden;
	}
	.mws.is-drawer-open .mws-panel { transform: none; visibility: visible; }
	.mws-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--mws-line); }
	.mws-panel__head h2 { font-size: 20px; }
	.mws-form { flex: 1; overflow-y: auto; padding: 16px 20px 24px; overscroll-behavior: contain; }
	.mws-panel__foot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mws-line); background: #fff; }
	.mws-panel__foot .mws-btn { padding: 0 16px; white-space: nowrap; font-size: 14px; }
	.mws-panel__foot .mws-btn:last-child { flex: 1; }
	.mws-scrim { position: fixed; inset: 0; z-index: 100000; background: rgba(20, 21, 25, .5); animation: mws-fade .25s; }
	.mws-scrim[hidden] { display: none; }
	html.mws-lock, html.mws-lock body { overflow: hidden; }
	.mws-count { order: 3; flex-basis: 100%; }
	.mws-sort { margin-left: auto; }
	.mws-sort > span { display: none; }
	.mws .mws-sort select { min-width: 0; }
}
@keyframes mws-fade { from { opacity: 0; } }

@media (max-width: 600px) {
	.mws-wrap { padding-left: 16px; padding-right: 16px; }
	.mws-hero { padding: 30px 0 22px; }
	.mws-hero__lead { font-size: 15px; }
	.mws-quick { margin-right: -16px !important; padding-right: 16px; }
	.mws-card__media { padding: 10px; }
	.mws-card__body { padding: 12px 12px 14px; gap: 5px; }
	.mws-card__cat { font-size: 10.5px; }
	.mws-card__title { font-size: 14px !important; }
	.mws-card__meta { font-size: 12px; }
	.mws-card__price { font-size: 17px; }
	.mws-add { width: 40px; padding: 0; justify-content: center; }
	.mws-add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mws-add--ghost { width: auto; padding: 0 14px; }
	.mws-active a { font-size: 13px; }
}

/* ---------- Related rail ---------- */
.mws-p-related { padding: 60px 0 76px; background: var(--mws-soft); scroll-margin-top: calc(56px + var(--wp-admin--admin-bar--height, 0px)); }
.mws-p-related header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mws-p-related h2 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); font-weight: 700; }
.mws-rail-nav { display: flex; gap: 8px; }
.mws-rail-nav .mws-icon-btn { background: #fff; border: 1px solid var(--mws-line); width: 44px; height: 44px; }
.mws-rail-nav .mws-icon-btn:disabled { opacity: .35; cursor: default; }
.mws-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px !important; margin: -6px -2px 0 !important;
}
.mws-rail::-webkit-scrollbar { display: none; }
.mws-rail > li { scroll-snap-align: start; }
.mws-rail .mws-card:hover { transform: translateY(-2px); }

@media (max-width: 1100px) {
	.mws-rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; }
}
@media (max-width: 600px) {
	.mws-p-related { padding: 44px 0 56px; }
	.mws-rail-nav { display: none; }
	.mws-rail { grid-auto-columns: 68%; gap: 12px; margin-right: -16px !important; padding-right: 16px !important; }
}


/* ---------- Home page shop section ---------- */
.mws-home-shop { padding: 72px 0 8px; background: var(--mws-soft); }
.mws-home-shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.mws-eyebrow { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(242, 56, 44, .12); color: var(--mws-red-d); font: 800 12px var(--mws-head); letter-spacing: .08em; text-transform: uppercase; }
.mws-home-shop__head h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem) !important; font-weight: 700 !important; line-height: 1.15 !important; color: var(--mws-ink) !important; }
.mws-home-shop__head p { max-width: 58ch; margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--mws-muted); }
.mws-home-shop__head .mws-btn { flex: none; }
.mws-home-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mws-home-cats a { display: flex; flex-direction: column; height: 100%; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--mws-line); color: var(--mws-ink) !important; transition: box-shadow .25s, transform .25s, border-color .25s; }
.mws-home-cats a:hover { border-color: transparent; box-shadow: 0 12px 28px rgba(37, 39, 45, .1); transform: translateY(-3px); }
.mws-home-cats__img { position: relative; display: block; aspect-ratio: 1; margin-bottom: 12px; border-radius: 12px; background: var(--mws-soft); overflow: hidden; }
.mws-home-cats__img img { position: absolute; inset: 12%; width: 76% !important; height: 76% !important; object-fit: contain; mix-blend-mode: multiply; }
.mws-home-cats__name { font: 700 15px/1.3 var(--mws-head); }
.mws-home-cats__count { margin-top: 4px; font-size: 13px; color: var(--mws-muted); }
.mws-home-shop .mws-p-related { padding: 40px 0 72px; background: none; }
@media (max-width: 1024px) {
	.mws-home-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.mws-home-shop { padding-top: 48px; }
	.mws-home-shop__head { flex-direction: column; align-items: flex-start; }
	.mws-home-shop__head .mws-btn { width: 100%; }
	.mws-home-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mws-home-cats a { padding: 10px; }
	.mws-home-shop .mws-p-related { padding: 32px 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.mws *, .mws *::before, .mws *::after { transition: none !important; animation: none !important; }
}

/* ---------- Load more (infinite scroll) ---------- */
.mws-loadmore { display: none; justify-content: center; margin-top: 32px; }
.is-js .mws-loadmore { display: flex; }
.is-js .mws-pages { display: none; }
.mws-loadmore .mws-btn { min-width: 240px; }
.mws-loadmore .mws-btn span { color: var(--mws-muted); font-weight: 400; }
.mws-loadmore.is-loading .mws-btn { opacity: .6; pointer-events: none; }
