/**
 * MATY — shop stylesheet (theme-shop scope)
 * PLP / PDP / cart / checkout / account / page / 404 / search.
 * Geometry derived from reference measurements at 1440×900 and 390×844
 * (tools/theme-shop/shots/ref/measure-plp-pdp.json).
 *
 * Owner: theme-shop. Do not edit from other scopes.
 */

/* ============================================================
   0. Tokens & primitives
   ============================================================ */
:root {
	--maty-ink: #333333;
	--maty-ink-strong: #222222;
	--maty-black: #000000;
	--maty-muted: #666666;
	--maty-soft: #999999;
	--maty-line: #cccccc;
	--maty-line-light: #e6e6e6;
	--maty-bg: #f2f2f2;
	--maty-white: #ffffff;
	--maty-accent: #ff352f;
	--maty-green: #00a99d;
	--maty-font: 'Montserrat', Arial, Helvetica, sans-serif;
	--maty-container: 1200px;
	--maty-pdp-container: 1340px;
	--maty-gutter: 8px;
}

.maty-shop,
.maty-shop * {
	box-sizing: border-box;
}

.maty-shop {
	font-family: var(--maty-font);
	color: var(--maty-ink);
	background: var(--maty-white);
	-webkit-font-smoothing: antialiased;
}

.maty-shop a {
	color: inherit;
	text-decoration: none;
}

/* Buttons rendered as anchors must keep their button colours (the generic
   `a { color: inherit }` rule above would otherwise win over .maty-btn). */
.maty-shop a.maty-btn {
	color: var(--maty-white);
}

.maty-shop a.maty-btn--ghost {
	color: var(--maty-ink);
}

.maty-shop a.maty-btn--ghost:hover,
.maty-shop a.maty-btn--ghost:focus-visible {
	color: var(--maty-white);
}

.maty-shop img {
	max-width: 100%;
	height: auto;
	display: block;
}

.maty-shop button {
	font-family: inherit;
	cursor: pointer;
}

.maty-shop .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.maty-container {
	width: min(var(--maty-container), calc(100% - 24px));
	margin-left: auto;
	margin-right: auto;
}

.maty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	padding: 0 30px;
	border: 1px solid var(--maty-ink);
	background: var(--maty-ink);
	color: var(--maty-white);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.maty-btn:hover,
.maty-btn:focus-visible {
	background: var(--maty-black);
	border-color: var(--maty-black);
	color: var(--maty-white);
}

.maty-btn--block {
	width: 100%;
}

.maty-btn--ghost {
	background: transparent;
	color: var(--maty-ink);
	border-color: var(--maty-ink);
}

.maty-btn--ghost:hover,
.maty-btn--ghost:focus-visible {
	background: var(--maty-ink);
	color: var(--maty-white);
}

.maty-btn--disabled,
.maty-btn[disabled] {
	background: #bfbfbf;
	border-color: #bfbfbf;
	color: var(--maty-white);
	cursor: not-allowed;
}

.maty-price-struck {
	color: var(--maty-muted);
	text-decoration: line-through;
	font-size: 12px;
	line-height: 16px;
}

.maty-badge-discount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--maty-ink-strong);
	color: var(--maty-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.maty-notice,
.maty-shop .woocommerce-info,
.maty-shop .woocommerce-message,
.maty-shop .woocommerce-error {
	list-style: none;
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--maty-white);
	border-left: 3px solid var(--maty-ink);
	font-size: 13px;
	line-height: 18px;
}

.maty-shop .woocommerce-error {
	border-left-color: var(--maty-accent);
	color: var(--maty-accent);
}

.maty-shop .woocommerce-message {
	border-left-color: var(--maty-green);
}

.maty-shop .woocommerce-message .button,
.maty-shop .woocommerce-info .button {
	margin-left: 8px;
	font-size: 12px;
	text-decoration: underline;
}

/* ============================================================
   1. PLP — archive-product.php
   ============================================================ */
.maty-plp {
	background: var(--maty-bg);
	padding-bottom: 48px;
}

.maty-plp__container {
	width: min(var(--maty-container), calc(100% - 16px));
	margin: 0 auto;
	padding: 16px 8px 0;
}

.maty-plp__breadcrumb {
	margin: 0 0 2px;
	font-size: 12px;
	line-height: 14px;
	color: var(--maty-muted);
}

.maty-plp__breadcrumb a:hover {
	text-decoration: underline;
}

.maty-plp__breadcrumb-sep {
	margin: 0 6px;
}

.maty-plp__head {
	padding: 0;
}

.maty-plp__title {
	margin: 16px 0;
	font-size: 36px;
	font-weight: 700;
	line-height: 38px;
	color: var(--maty-ink);
}

.maty-plp__desc {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 19px;
	color: var(--maty-muted);
	max-width: 900px;
}

.maty-plp__desc p {
	margin: 0 0 8px;
}

.maty-plp__layout {
	display: grid;
	grid-template-columns: 282px minmax(0, 1fr);
	column-gap: 8px;
	align-items: start;
}

/* --- filter rail --- */
.maty-plp__rail {
	padding: 0 0 0 8px;
}

.maty-plp__rail-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-plp__facet {
	border-top: 1px solid var(--maty-line-light);
	padding: 12px 0;
}

.maty-plp__facet:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.maty-plp__facet-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-plp__facet-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-plp__facet-list li {
	margin: 0 0 6px;
}

.maty-plp__facet-list a {
	font-size: 13px;
	line-height: 18px;
	color: var(--maty-muted);
}

.maty-plp__facet-list a:hover,
.maty-plp__facet-list a.is-active {
	color: var(--maty-ink);
	text-decoration: underline;
}

.maty-plp__facet-list .count {
	color: var(--maty-soft);
	font-size: 12px;
}

.maty-plp__reset {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--maty-muted);
	text-decoration: underline;
}

/* --- toolbar --- */
.maty-plp__content {
	min-width: 0;
}

.maty-plp__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
	margin: 0 0 8px;
	min-height: 34px;
}

.maty-plp__count {
	margin: 0;
	font-size: 13px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-plp__count strong {
	color: var(--maty-ink);
	font-weight: 700;
}

.maty-plp__sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--maty-muted);
}

.maty-plp__sort select {
	-webkit-appearance: none;
	appearance: none;
	height: 33px;
	padding: 0 28px 0 10px;
	border: 1px solid var(--maty-line);
	background: var(--maty-white);
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	cursor: pointer;
	border-radius: 0;
}

.maty-plp__sort::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1px solid var(--maty-ink);
	border-bottom: 1px solid var(--maty-ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

/* --- grid --- */
.maty-plp__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-plp__grid > li {
	padding: var(--maty-gutter);
	margin: 0 0 4px;
	min-width: 0;
}

/* PLP card internal inset — reference: card tile 298 (grid gutter 8) with a
   250×250 image => 24px inner padding; ref card also has 32px top padding
   before the image (≈24 + the 8px grid gutter). */
.maty-plp__grid > li.maty-card,
.maty-search__grid > li.maty-card {
	padding: 32px 24px 24px;
}

/* Empty state */
.maty-plp__empty {
	grid-column: 1 / -1;
	padding: 48px 24px;
	background: var(--maty-white);
	text-align: center;
}

.maty-plp__empty h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
}

.maty-plp__empty p {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--maty-muted);
}

/* --- product card (shared with theme-core card partial) --- */
.maty-card {
	display: block;
	width: 100%;
}

.maty-card__media {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background: var(--maty-white);
}

.maty-card__media img,
.maty-card__media .maty-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.maty-card__fav {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--maty-white);
	filter: drop-shadow(0 0 1px rgba(0, 0, 0, .45));
}

.maty-card__fav svg {
	width: 100%;
	height: 100%;
}

.maty-card__badge {
	position: absolute;
	left: 5px;
	bottom: -3px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--maty-ink-strong);
	color: var(--maty-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.maty-card__info {
	padding-top: 0;
}

.maty-card__cat {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 15px;
	color: var(--maty-muted);
	min-height: 20px;
}

.maty-card__brand {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 16px;
	color: var(--maty-soft);
}

.maty-card__title {
	margin: 5px 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	color: var(--maty-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.maty-card__prices {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	height: 40px;
	margin-top: 7px;
}

.maty-card__old {
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
	text-decoration: line-through;
	order: 2;
}

.maty-card__now {
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	color: var(--maty-ink);
	order: 1;
}

.maty-card__now .woocommerce-Price-amount,
.maty-card__old .woocommerce-Price-amount {
	font-size: inherit;
	color: inherit;
}

.maty-card__fav:hover {
	color: var(--maty-accent);
}

/* mu-plugin badge (maty_discount_badge_html) rendered inside the card media box */
.maty-card__media > .maty-discount-badge {
	position: absolute;
	left: 5px;
	bottom: -3px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--maty-ink-strong);
	color: var(--maty-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

/* WooCommerce catalog ordering select rendered inside the PLP toolbar */
.maty-plp__sort .woocommerce-ordering {
	margin: 0;
}

.maty-plp__sort .woocommerce-ordering select {
	-webkit-appearance: none;
	appearance: none;
	height: 33px;
	padding: 0 28px 0 10px;
	border: 1px solid var(--maty-line);
	background: var(--maty-white);
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	cursor: pointer;
	border-radius: 0;
}

.maty-plp__drawer[hidden] {
	display: none;
}

.maty-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* --- pagination (I-PageN style) --- */
.maty-plp__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 4px;
	margin-top: 8px;
}

.maty-plp__pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 18px;
	color: var(--maty-ink);
}

.maty-plp__pages li {
	display: inline-flex;
}

.maty-plp__pages a,
.maty-plp__pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 2px;
	color: var(--maty-ink);
}

.maty-plp__pages a:hover {
	text-decoration: underline;
}

.maty-plp__pages .is-current {
	font-weight: 700;
}

.maty-plp__pages .dots {
	color: var(--maty-soft);
}

.maty-plp__page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--maty-ink);
	background: transparent;
	font-size: 13px;
	color: var(--maty-ink);
}

.maty-plp__page-btn:hover {
	background: var(--maty-ink);
	color: var(--maty-white);
}

.maty-plp__page-btn[aria-disabled="true"] {
	opacity: .35;
	pointer-events: none;
}

/* mobile filter buttons */
.maty-plp__mobile-bar {
	display: none;
}

.maty-plp__drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
}

.maty-plp__drawer.is-open {
	display: block;
}

.maty-plp__drawer-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.maty-plp__drawer-panel {
	position: absolute;
	inset: 0 auto 0 0;
	width: min(340px, 88vw);
	background: var(--maty-white);
	padding: 20px 16px;
	overflow-y: auto;
}

.maty-plp__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.maty-plp__drawer-head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.maty-plp__drawer-close {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: var(--maty-ink);
}

/* ============================================================
   1b. PLP — landing hub (.maty-hub, reference .grid-list)
   3 columns × 400px, gap 50px, tile image 400×200 with overlay title.
   ============================================================ */
.maty-hub {
	padding: 0 50px 40px;
}

.maty-hub__intro {
	max-width: 1000px;
	margin: 0 auto 32px;
	font-size: 14px;
	line-height: 21px;
	color: var(--maty-muted);
	text-align: center;
}

.maty-hub__intro p {
	margin: 0 0 10px;
}

.maty-hub__heading {
	margin: 16px 0 24px;
	font-size: 36px;
	font-weight: 700;
	line-height: 38px;
	color: var(--maty-ink);
}

/* product-card placeholder (no product image available yet) */
.maty-card__media > .maty-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--maty-bg);
	color: var(--maty-soft);
	font-size: 12px;
	line-height: 16px;
	text-align: center;
	padding: 16px;
}

.maty-card__media > .maty-card__img--placeholder .maty-ph__label {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.maty-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, 400px);
	gap: 50px;
	justify-content: center;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1340px;
}
.maty-hub__item {
	min-width: 0;
}

.maty-hub__tile {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 400 / 200;
	overflow: hidden;
	background: var(--maty-bg);
}

.maty-hub__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.maty-hub__img--placeholder {
	background: linear-gradient(135deg, #e9e9e9 0%, #d8d8d8 100%);
}

.maty-hub__tile:hover .maty-hub__img {
	transform: scale(1.03);
}

.maty-hub__overlay {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 20px;
	color: var(--maty-white);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 100%);
}

.maty-hub__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 26px;
}

.maty-hub__sub {
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: underline;
}

/* ============================================================
   2. PDP — single-product.php
   ============================================================ */
.maty-pdp {
	background: var(--maty-white);
}

.maty-pdp__container {
	width: min(var(--maty-pdp-container), calc(100% - 40px));
	margin: 0 auto;
}

.maty-pdp__breadcrumb {
	font-size: 12px;
	line-height: 14px;
	color: var(--maty-muted);
	margin: 16px 0 20px;
}

.maty-pdp__breadcrumb a:hover {
	text-decoration: underline;
}

.maty-pdp__breadcrumb-sep {
	margin: 0 6px;
}

.maty-pdp__breadcrumb .is-current {
	color: var(--maty-black);
}

.maty-pdp__main {
	display: flex;
	align-items: flex-start;
	gap: 50px;
}

.maty-pdp__media {
	flex: 0 0 calc((100% - 50px) * 630 / 1290);
	min-width: 0;
	display: flex;
	gap: 30px;
}

.maty-pdp__thumbs {
	width: 150px;
	flex: 0 0 150px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 570px;
	overflow-y: auto;
	scrollbar-width: none;
}

.maty-pdp__thumbs::-webkit-scrollbar {
	display: none;
}

.maty-pdp__thumb {
	width: 150px;
	height: 150px;
	padding: 0;
	border: 1px solid transparent;
	background: var(--maty-bg);
	overflow: hidden;
}

.maty-pdp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maty-pdp__thumb.is-active {
	border-color: var(--maty-ink);
}

.maty-pdp__stage-wrap {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.maty-pdp__stage {
	position: relative;
	width: 100%;
	padding: 0 30px;
}

.maty-pdp__slides {
	display: flex;
	overflow: hidden;
	background: var(--maty-bg);
	touch-action: pan-y;
	transition: transform .35s ease;
}

.maty-pdp__slide {
	flex: 0 0 100%;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.maty-pdp__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maty-pdp__slider-btn {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 24px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translateY(-50%);
	color: var(--maty-ink);
}

.maty-pdp__slider-btn::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	margin: 0 auto;
	border-top: 1px solid currentColor;
	border-left: 1px solid currentColor;
	transform: rotate(-45deg);
}

.maty-pdp__slider-btn--next {
	right: 6px;
}

.maty-pdp__slider-btn--next::before {
	transform: rotate(135deg);
}

.maty-pdp__slider-btn--prev {
	left: 6px;
}

.maty-pdp__slider-btn[disabled] {
	opacity: 0;
	pointer-events: none;
}

/* --- info column --- */
.maty-pdp__info {
	flex: 1 1 auto;
	min-width: 0;
}

.maty-pdp__brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 47px;
	font-size: 16px;
	color: var(--maty-ink-strong);
}

.maty-pdp__brand {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: var(--maty-ink-strong);
}

.maty-pdp__wish {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 12px;
	color: var(--maty-muted);
	text-decoration: underline;
}

.maty-pdp__title {
	margin: 22px 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	color: var(--maty-ink-strong);
}

.maty-pdp__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 40px;
}

.maty-pdp__price-now {
	font-size: 22px;
	font-weight: 700;
	line-height: 27px;
	color: var(--maty-black);
}

.maty-pdp__price-now .woocommerce-Price-amount {
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
}

.maty-pdp__price-old {
	font-size: 14px;
	font-weight: 400;
	line-height: 17px;
	color: var(--maty-muted);
}

.maty-pdp__price-old .woocommerce-Price-amount {
	font-size: inherit;
	color: inherit;
}

.maty-pdp__price-old .maty-pdp__struck {
	text-decoration: line-through;
}

.maty-pdp__price-off {
	margin-left: 0;
}

/* fake social proof row */
.maty-pdp__proof {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-pdp__proof-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.maty-pdp__proof-dot {
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background: var(--maty-green);
	flex: 0 0 auto;
}

.maty-pdp__stock-bar {
	width: 72px;
	height: 4px;
	background: #e6e6e6;
	position: relative;
	overflow: hidden;
}

.maty-pdp__stock-bar span {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--maty-accent);
}

.maty-pdp__countdown b {
	color: var(--maty-ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* variant selector */
.maty-pdp__variants {
	margin-top: 20px;
}

.maty-pdp__variant-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--maty-muted);
}

.maty-pdp__select {
	-webkit-appearance: none;
	appearance: none;
	height: 40px;
	min-width: 180px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--maty-line);
	background: var(--maty-white);
	font-family: inherit;
	font-size: 14px;
	color: var(--maty-ink);
	border-radius: 0;
	background-image: linear-gradient(45deg, transparent 50%, var(--maty-ink) 50%), linear-gradient(135deg, var(--maty-ink) 50%, transparent 50%);
	background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.maty-pdp__size-guide {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--maty-ink);
	text-decoration: underline;
}

/* availability */
.maty-pdp__availability {
	margin-top: 20px;
	font-size: 16px;
	line-height: 16px;
	color: var(--maty-ink-strong);
}

.maty-pdp__availability .is-green {
	color: var(--maty-green);
}

/* quantity + actions */
.maty-pdp__actions {
	margin-top: 30px;
}

.maty-pdp__qty-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.maty-pdp__qty {
	display: inline-flex;
	align-items: stretch;
	height: 40px;
	border: 1px solid var(--maty-line);
}

.maty-pdp__qty button {
	width: 38px;
	border: 0;
	background: var(--maty-white);
	font-size: 18px;
	line-height: 1;
	color: var(--maty-ink);
}

.maty-pdp__qty input {
	width: 44px;
	border: 0;
	border-left: 1px solid var(--maty-line);
	border-right: 1px solid var(--maty-line);
	text-align: center;
	font-family: inherit;
	font-size: 14px;
	color: var(--maty-ink);
	-moz-appearance: textfield;
}

.maty-pdp__qty input::-webkit-outer-spin-button,
.maty-pdp__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.maty-pdp__atc {
	width: 100%;
	height: 45px;
	margin-top: 0;
	font-size: 14px;
	font-weight: 400;
}

.maty-pdp__atc.is-loading {
	opacity: .7;
	pointer-events: none;
}

.maty-pdp__collect {
	width: 100%;
	margin-top: 20px;
	font-size: 14px;
	font-weight: 400;
}

.maty-pdp__error {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--maty-accent);
	min-height: 0;
}

/* accordions */
.maty-pdp__details {
	margin-top: 20px;
	border-top: 1px solid var(--maty-line-light);
}

.maty-pdp__acc {
	border-bottom: 1px solid var(--maty-line-light);
}

.maty-pdp__acc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 49px;
	padding: 16px 25px 16px 0;
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 16px;
	line-height: 17px;
	color: var(--maty-ink-strong);
}

.maty-pdp__acc-btn b {
	font-weight: 700;
}

.maty-pdp__acc-icon {
	position: relative;
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
	margin-left: 12px;
}

.maty-pdp__acc-icon::before,
.maty-pdp__acc-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--maty-ink);
	transition: transform .25s ease;
}

.maty-pdp__acc-icon::after {
	transform: rotate(90deg);
}

.maty-pdp__acc.is-open .maty-pdp__acc-icon::after {
	transform: rotate(0deg);
}

.maty-pdp__acc-panel {
	display: none;
	padding: 0 0 20px;
	font-size: 14px;
	line-height: 21px;
	color: var(--maty-ink);
}

.maty-pdp__acc.is-open .maty-pdp__acc-panel {
	display: block;
}

.maty-pdp__acc-panel p {
	margin: 0 0 10px;
}

.maty-pdp__acc-panel ul {
	margin: 0 0 10px 18px;
	padding: 0;
}

.maty-pdp__specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.maty-pdp__spec {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px;
}

.maty-pdp__spec dt {
	margin: 0;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-pdp__spec dd {
	margin: 0;
	color: var(--maty-muted);
}

.maty-pdp__specs-spacer {
	flex: 1;
	border-bottom: 1px dotted var(--maty-line);
}

/* added-to-cart confirmation card */
.maty-added {
	position: relative;
	margin-top: 12px;
	border: 1px solid var(--maty-line-light);
	background: var(--maty-white);
	padding: 14px;
	display: none;
}

.maty-added.is-visible {
	display: block;
}

.maty-added__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-added__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	background: var(--maty-green);
	color: #fff;
	font-size: 12px;
}

.maty-added__product {
	display: flex;
	gap: 10px;
}

.maty-added__img {
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	object-fit: cover;
	background: var(--maty-bg);
}

.maty-added__meta {
	min-width: 0;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-muted);
}

.maty-added__name {
	margin: 0 0 2px;
	font-size: 13px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-added__subtitle {
	margin: 0 0 2px;
	font-size: 12px;
	color: var(--maty-soft);
}

.maty-added__price {
	font-size: 13px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-added__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.maty-added__actions .maty-btn {
	height: 40px;
	padding: 0 18px;
	font-size: 13px;
}

/* added-to-cart right drawer (QA reference: 720px wide, 87px header) */
.maty-added-drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
}

.maty-added-drawer[hidden] {
	display: none;
}

.maty-added-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.maty-added-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 720px;
	max-width: 100%;
	background: var(--maty-white);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .28s ease;
	overflow-y: auto;
}

.maty-added-drawer.is-open .maty-added-drawer__panel {
	transform: translateX(0);
}

.maty-added-drawer__head {
	flex: 0 0 87px;
	min-height: 87px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 24px;
	border-bottom: 1px solid var(--maty-line-light);
}

.maty-added-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	color: var(--maty-ink);
}

.maty-added-drawer__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 100%;
	background: var(--maty-green);
	color: var(--maty-white);
	font-size: 13px;
	flex: 0 0 auto;
}

.maty-added-drawer__close {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: var(--maty-ink);
	flex: 0 0 auto;
}

.maty-added-drawer__body {
	padding: 24px;
}

.maty-added-drawer__product {
	display: flex;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--maty-line-light);
}

.maty-added-drawer__img {
	width: 120px;
	height: 120px;
	flex: 0 0 120px;
	object-fit: cover;
	background: var(--maty-bg);
}

.maty-added-drawer__info {
	min-width: 0;
}

.maty-added-drawer__name {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
	color: var(--maty-ink);
}

.maty-added-drawer__subtitle {
	margin: 0 0 6px;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-soft);
}

.maty-added-drawer__price {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: var(--maty-ink);
}

.maty-added-drawer__count {
	margin: 16px 0 12px;
	font-size: 13px;
	line-height: 18px;
	color: var(--maty-muted);
}

.maty-added-drawer__count strong {
	color: var(--maty-ink);
}

.maty-added-drawer__cta {
	width: 100%;
	height: 45px;
	background: var(--maty-ink-strong);
	border-color: var(--maty-ink-strong);
	color: var(--maty-white);
	font-size: 14px;
}

.maty-added-drawer__cta:hover,
.maty-added-drawer__cta:focus-visible {
	background: var(--maty-black);
	border-color: var(--maty-black);
}

.maty-added-drawer__continue {
	display: block;
	margin: 12px auto 0;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 12px;
	color: var(--maty-muted);
	text-decoration: underline;
}

.maty-added-drawer__note {
	margin: 20px 0 0;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-muted);
	text-align: center;
}

.maty-added__continue {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 12px;
	color: var(--maty-muted);
	text-decoration: underline;
}

/* trust row */
.maty-pdp__trust {
	margin-top: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--maty-line-light);
	border-bottom: 1px solid var(--maty-line-light);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.maty-pdp__trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	font-size: 11px;
	line-height: 15px;
	color: var(--maty-ink);
}

.maty-pdp__trust-item svg {
	width: 30px;
	height: 30px;
	stroke: var(--maty-ink);
	fill: none;
	stroke-width: 1.2;
}

/* full-width reassurance row */
.maty-pdp__reassurance {
	background: var(--maty-bg);
	padding: 0 0 20px;
	margin-top: 40px;
}

.maty-pdp__reassurance-row {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.maty-pdp__reassurance-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 125px;
	padding: 22px 16px 0;
	text-align: center;
	font-size: 14px;
	line-height: 17px;
	color: var(--maty-black);
}

.maty-pdp__reassurance-item svg {
	width: 50px;
	height: 50px;
	stroke: var(--maty-ink);
	fill: none;
	stroke-width: 1.1;
}

/* related products rail */
.maty-pdp__related {
	margin-top: 40px;
}

.maty-pdp__related-container {
	width: min(1320px, calc(100% - 120px));
	margin: 0 auto;
}

.maty-pdp__related-title {
	margin: 0 0 32px;
	font-size: 25px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
	text-transform: uppercase;
	color: var(--maty-ink);
}

.maty-pdp__related-rail {
	position: relative;
	overflow: hidden;
}

.maty-pdp__related-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
	cursor: grab;
}

.maty-pdp__related-track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.maty-pdp__related-track::-webkit-scrollbar {
	display: none;
}

.maty-pdp__related-track > * {
	flex: 0 0 calc((100% - 48px) / 4);
	scroll-snap-align: start;
	min-width: 0;
}

.maty-pdp__related-track .maty-card__cat {
	margin-top: 10px;
}

.maty-pdp__related-track img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* sticky mobile add to cart */
.maty-pdp__sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	display: none;
	background: var(--maty-white);
	box-shadow: 0 -3px 6px 0 rgba(0, 0, 0, .18);
	padding: 12px 16px 14px;
}

.maty-pdp__sticky-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.maty-pdp__sticky-info {
	min-width: 0;
	flex: 1;
}

.maty-pdp__sticky-name {
	margin: 0;
	font-size: 12px;
	line-height: 15px;
	color: var(--maty-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.maty-pdp__sticky-price {
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-pdp__sticky .maty-btn {
	flex: 0 0 auto;
	height: 42px;
	padding: 0 18px;
	font-size: 13px;
}

.maty-pdp__sticky-avail {
	margin: 6px 0 0;
	font-size: 11px;
	color: var(--maty-muted);
}

/* ============================================================
   3. Cart — woocommerce/cart/cart.php
   ============================================================ */
.maty-cart {
	background: var(--maty-bg);
	padding: 24px 0 56px;
}

.maty-cart__container {
	width: min(1350px, calc(100% - 80px));
	margin: 0 auto;
}

.maty-cart__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0 auto 28px;
	max-width: 720px;
}

.maty-cart__step {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	position: relative;
}

.maty-cart__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 14px;
	left: calc(50% + 20px);
	right: calc(-50% + 20px);
	height: 4px;
	background: var(--maty-line);
}

.maty-cart__step.is-done:not(:last-child)::after {
	background: var(--maty-soft);
}

.maty-cart__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--maty-line);
	color: var(--maty-soft);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	position: relative;
	z-index: 1;
}

.maty-cart__step.is-active .maty-cart__step-num {
	background: var(--maty-soft);
	color: var(--maty-white);
}

.maty-cart__step-label {
	font-size: 10px;
	line-height: 12px;
	color: var(--maty-soft);
}

.maty-cart__step.is-active .maty-cart__step-label {
	color: var(--maty-ink);
	font-weight: 700;
}

.maty-cart__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	color: var(--maty-ink);
}

.maty-cart__layout {
	display: grid;
	grid-template-columns: minmax(0, 952fr) minmax(0, 366fr);
	column-gap: 32px;
	align-items: start;
	margin-top: 16px;
}

.maty-cart__main {
	min-width: 0;
}

.maty-cart__lines {
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-cart__item {
	position: relative;
	background: var(--maty-white);
	padding: 15px;
	min-height: 230px;
	margin-bottom: 10px;
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) 160px;
	column-gap: 20px;
	align-items: stretch;
}

.maty-cart__item-img {
	display: block;
	width: 200px;
	max-width: 100%;
}

.maty-cart__item-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--maty-bg);
}

.maty-cart__item-info {
	min-width: 0;
	padding-top: 4px;
}

.maty-cart__item-brand {
	margin: 0 0 2px;
	font-size: 11px;
	line-height: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--maty-muted);
}

.maty-cart__item-name {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: var(--maty-ink);
}

.maty-cart__item-name a:hover {
	text-decoration: underline;
}

.maty-cart__item-meta {
	margin: 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-cart__item-avail {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-cart__item-avail.is-instock {
	color: var(--maty-green);
}

.maty-cart__item-avail.is-outofstock {
	color: var(--maty-accent);
}

.maty-cart__item-remove {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 24px;
	height: 24px;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	color: var(--maty-muted);
}

.maty-cart__item-remove:hover {
	color: var(--maty-accent);
}

.maty-cart__item-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding-right: 18px;
}

.maty-cart__item-price {
	text-align: right;
}

.maty-cart__item-price .maty-price-struck {
	display: block;
	font-size: 12px;
	line-height: 16px;
}

.maty-cart__item-final,
.maty-cart__item-price .amount,
.maty-cart__item-price .woocommerce-Price-amount {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-cart__qty-select {
	-webkit-appearance: none;
	appearance: none;
	width: 64px;
	height: 34px;
	padding: 0 22px 0 10px;
	border: 1px solid var(--maty-line);
	border-radius: 0;
	background: var(--maty-white);
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--maty-ink) 50%), linear-gradient(135deg, var(--maty-ink) 50%, transparent 50%);
	background-position: calc(100% - 13px) 15px, calc(100% - 9px) 15px;
	background-size: 4px 4px, 4px 4px;
	background-repeat: no-repeat;
}

.maty-cart__shipping-note {
	margin: 0 0 12px;
}

.maty-shipping-note {
	margin: 0;
	padding: 10px 14px;
	background: var(--maty-white);
	font-size: 13px;
	line-height: 19px;
	color: var(--maty-ink);
}

.maty-shipping-note strong {
	color: var(--maty-ink);
}

.maty-cart__savings {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-green);
	font-weight: 700;
}

/* legacy stepper qty (kept for graceful fallback) */
.maty-cart__qty {
	display: inline-flex;
	align-items: stretch;
	height: 34px;
	border: 1px solid var(--maty-line);
	background: var(--maty-white);
}

.maty-cart__qty button {
	width: 30px;
	border: 0;
	background: transparent;
	font-size: 16px;
	line-height: 1;
	color: var(--maty-ink);
}

.maty-cart__qty input {
	width: 36px;
	border: 0;
	border-left: 1px solid var(--maty-line);
	border-right: 1px solid var(--maty-line);
	text-align: center;
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	-moz-appearance: textfield;
}

.maty-cart__qty input::-webkit-outer-spin-button,
.maty-cart__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.maty-cart__item-subtotal {
	font-size: 13px;
	color: var(--maty-muted);
}

.maty-cart__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
}

.maty-cart__continue {
	font-size: 13px;
	color: var(--maty-muted);
	text-decoration: underline;
}

/* summary aside */
.maty-cart__aside {
	position: sticky;
	top: 16px;
	padding-left: 0;
}

.maty-cart__summary {
	background: var(--maty-white);
}

.maty-cart__summary-head {
	margin: 0;
	padding: 10px;
	font-size: 16px;
	font-weight: 700;
	background: var(--maty-bg);
}

.maty-cart__summary-body {
	padding: 10px;
}

.maty-cart__summary-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--maty-line);
	font-size: 14px;
	line-height: 18px;
}

.maty-cart__summary-row:first-child {
	padding-top: 0;
}

.maty-cart__summary-row--discount {
	color: var(--maty-green);
}

.maty-cart__summary-row--discount .amount {
	color: var(--maty-green);
	font-weight: 700;
}

.maty-cart__summary-row--total {
	border-bottom: 0;
	padding-bottom: 0;
	font-size: 16px;
	font-weight: 700;
}

.maty-cart__summary-row--total .amount {
	font-size: 20px;
}

.maty-cart__summary-label {
	color: var(--maty-muted);
	font-weight: 400;
}

.maty-cart__summary-note {
	margin: 6px 0 0;
	font-size: 11px;
	line-height: 15px;
	color: var(--maty-muted);
}

.maty-cart__shipping-hint {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-ink);
}

.maty-cart__shipping-hint.is-free {
	color: var(--maty-green);
}

.maty-cart__summary-cta {
	display: block;
	width: 100%;
	margin-top: 14px;
	height: 45px;
	padding: 0 12px;
	background: var(--maty-accent);
	border-color: var(--maty-accent);
	color: var(--maty-white);
	font-size: 13px;
	font-weight: 700;
}

.maty-cart__summary-cta:hover,
.maty-cart__summary-cta:focus-visible {
	background: #e12c26;
	border-color: #e12c26;
	color: var(--maty-white);
}

.maty-cart__payment {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--maty-line);
}

.maty-cart__payment-label {
	margin: 0 0 6px;
	font-size: 11px;
	color: var(--maty-muted);
	text-align: center;
}

.maty-cart__payment .maty-payments,
.maty-checkout__payment .maty-payments {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-cart__payment .maty-payments__item,
.maty-checkout__payment .maty-payments__item {
	display: inline-flex;
	align-items: center;
}

.maty-cart__payment .maty-payments__icon,
.maty-checkout__payment .maty-payments__icon {
	display: block;
	height: 24px;
	width: auto;
	max-width: 46px;
	object-fit: contain;
}

.maty-cart__payment .maty-payments__badge,
.maty-checkout__payment .maty-payments__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 5px;
	border: 1px solid var(--maty-line);
	border-radius: 3px;
	background: var(--maty-white);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #1a1a1a;
	text-transform: uppercase;
	line-height: 1;
}

.maty-payments__badge--cb {
	background: #1a1a71;
	color: #fff;
	border-color: #1a1a71;
}

.maty-payments__badge--visa {
	color: #1a1f71;
}

.maty-payments__badge--amex {
	color: #006fcf;
}

.maty-payments__badge--paypal {
	color: #003087;
}

.maty-payments__badge--applepay {
	color: #000;
}

.maty-payments__badge--googlepay {
	color: #4285f4;
}

.maty-payments__badge--alma {
	color: #ff6f61;
}

.maty-cart__payment .maty-payments__secure,
.maty-checkout__payment .maty-payments__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 8px 0 0;
	font-size: 10px;
	line-height: 14px;
	color: var(--maty-muted);
}

.maty-cart__payment .maty-payments__secure svg,
.maty-checkout__payment .maty-payments__secure svg {
	width: 13px;
	height: 13px;
	stroke: var(--maty-muted);
	fill: none;
	stroke-width: 1.4;
	flex: 0 0 auto;
}

.maty-cart__trust {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	line-height: 15px;
	color: var(--maty-muted);
}

.maty-cart__trust li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.maty-cart__trust svg {
	width: 14px;
	height: 14px;
	stroke: var(--maty-ink);
	fill: none;
	stroke-width: 1.4;
	flex: 0 0 auto;
}

/* empty cart */
.maty-cart__empty {
	background: var(--maty-white);
	padding: 48px 24px;
	text-align: center;
}

.maty-cart__empty-icon {
	font-size: 42px;
	line-height: 1;
	color: var(--maty-soft);
}

.maty-cart__empty h2 {
	margin: 16px 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-cart__empty p {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--maty-muted);
}

/* rule notice printed by the mu-plugin on cart + checkout */
.maty-rule-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--maty-white);
	border-left: 3px solid var(--maty-soft);
	font-size: 13px;
	line-height: 19px;
	color: var(--maty-ink);
}

.maty-rule-notice p {
	margin: 0 0 4px;
}

.maty-rule-notice p:last-child {
	margin-bottom: 0;
}

.maty-rule-notice__amount {
	color: var(--maty-muted);
}

.maty-rule-notice--sale {
	border-left-color: var(--maty-green);
}

.maty-rule-notice--regular {
	border-left-color: var(--maty-accent);
}

.maty-shop .wc-item-meta {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-shop .wc-item-meta li {
	margin: 0 0 2px;
}

.maty-shop .wc-item-meta strong {
	font-weight: 400;
	color: var(--maty-soft);
}

.maty-cart__update {
	margin-top: 12px;
	height: 38px;
	padding: 0 18px;
	border: 1px solid var(--maty-ink);
	background: transparent;
	font-family: inherit;
	font-size: 12px;
	color: var(--maty-ink);
}

.maty-cart.is-busy {
	opacity: .65;
	pointer-events: none;
}

.maty-cart__payment .maty-payments__icon,
.maty-checkout__payment .maty-payments__icon {
	height: 22px;
	width: auto;
	display: block;
}

.maty-cart__item-meta {
	margin: 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

/* ============================================================
   4. Checkout — woocommerce/checkout/form-checkout.php
   ============================================================ */
.maty-checkout {
	background: var(--maty-bg);
	padding: 24px 0 56px;
}

.maty-checkout__container {
	width: min(1350px, calc(100% - 80px));
	margin: 0 auto;
}

.maty-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 66%) minmax(0, 34%);
	align-items: start;
	margin-top: 16px;
}

.maty-checkout__main {
	min-width: 0;
	padding-right: 2rem;
}

.maty-checkout__box {
	background: var(--maty-white);
	padding: 16px;
	margin-bottom: 14px;
}

.maty-checkout__box-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-checkout__box-title span {
	margin: 0 0 0 6px;
	font-size: 12px;
	font-weight: 400;
	color: var(--maty-muted);
}

.maty-checkout__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.maty-checkout__grid--full {
	grid-template-columns: minmax(0, 1fr);
}

.maty-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.maty-field--wide {
	grid-column: 1 / -1;
}

.maty-field label,
.maty-field .maty-label {
	font-size: 12px;
	line-height: 15px;
	color: var(--maty-ink);
	font-weight: 400;
}

.maty-field .required {
	color: var(--maty-accent);
}

.maty-field input[type="text"],
.maty-field input[type="email"],
.maty-field input[type="tel"],
.maty-field input[type="password"],
.maty-field input[type="number"],
.maty-field select,
.maty-field textarea {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--maty-line);
	border-radius: 0;
	background: var(--maty-white);
	font-family: inherit;
	font-size: 14px;
	color: var(--maty-ink);
}

.maty-field textarea {
	height: 84px;
	padding: 10px 12px;
	resize: vertical;
}

.maty-field select {
	-webkit-appearance: none;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--maty-ink) 50%), linear-gradient(135deg, var(--maty-ink) 50%, transparent 50%);
	background-position: calc(100% - 15px) 19px, calc(100% - 10px) 19px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 30px;
}

.maty-field input:focus,
.maty-field select:focus,
.maty-field textarea:focus {
	outline: 0;
	border-color: var(--maty-ink);
}

.maty-field.is-invalid input,
.maty-field.is-invalid select,
.maty-field.is-invalid textarea {
	border-color: var(--maty-accent);
}

.maty-field__error {
	display: none;
	margin: 0;
	font-size: 11px;
	line-height: 14px;
	color: var(--maty-accent);
}

.maty-field.is-invalid .maty-field__error {
	display: block;
}

.maty-check__label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 18px;
	color: var(--maty-ink);
	cursor: pointer;
}

.maty-check__label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	flex: 0 0 16px;
	accent-color: var(--maty-ink);
}

.maty-check__label a {
	text-decoration: underline;
}

.maty-check__error {
	display: none;
	margin: 4px 0 0;
	font-size: 11px;
	color: var(--maty-accent);
}

.maty-check.is-invalid .maty-check__error {
	display: block;
}

.maty-check + .maty-check {
	margin-top: 10px;
}

.maty-checkout__payment {
	background: var(--maty-white);
	padding: 16px;
	margin-bottom: 14px;
}

.maty-checkout__payment-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-checkout__payment-title svg {
	width: 18px;
	height: 18px;
	stroke: var(--maty-ink);
	fill: none;
	stroke-width: 1.4;
}

.maty-checkout__payment-note {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-muted);
}

.maty-checkout__submit {
	width: 100%;
	height: 52px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
}

.maty-checkout__submit-note {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 16px;
	color: var(--maty-muted);
	text-align: center;
}

.maty-checkout__message {
	display: none;
	margin: 12px 0 0;
	padding: 12px 14px;
	background: #fff8e5;
	border: 1px solid #e6d9a8;
	font-size: 13px;
	line-height: 18px;
	color: #6b5a12;
}

.maty-checkout__message.is-visible {
	display: block;
}

/* checkout summary */
.maty-checkout__aside {
	position: sticky;
	top: 16px;
}

.maty-checkout__summary {
	background: var(--maty-white);
}

.maty-checkout__summary-head {
	margin: 0;
	padding: 10px;
	font-size: 16px;
	font-weight: 700;
	background: var(--maty-bg);
}

.maty-checkout__summary-body {
	padding: 10px;
}

.maty-checkout__lines {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

.maty-checkout__line {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid var(--maty-line-light);
}

.maty-checkout__line:last-child {
	border-bottom: 0;
}

.maty-checkout__line-img {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	object-fit: cover;
	background: var(--maty-bg);
}

.maty-checkout__line-info {
	min-width: 0;
	flex: 1;
	font-size: 12px;
	line-height: 16px;
	color: var(--maty-muted);
}

.maty-checkout__line-name {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-checkout__line-qty {
	color: var(--maty-soft);
}

.maty-checkout__line-price {
	font-size: 12px;
	font-weight: 700;
	color: var(--maty-ink);
	white-space: nowrap;
}

.maty-checkout__summary-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--maty-line-light);
	font-size: 13px;
	line-height: 17px;
}

.maty-checkout__summary-row:last-of-type {
	border-bottom: 0;
}

.maty-checkout__summary-row--total {
	padding-top: 10px;
	border-top: 1px solid var(--maty-line);
	font-size: 15px;
	font-weight: 700;
}

.maty-checkout__summary-row--total .amount {
	font-size: 19px;
}

.maty-checkout__summary-row--discount .amount {
	color: var(--maty-green);
	font-weight: 700;
}

.maty-checkout__summary-label {
	color: var(--maty-muted);
}

.maty-checkout__summary-tax {
	margin: 6px 0 0;
	font-size: 11px;
	color: var(--maty-muted);
}

.maty-checkout__summary-links {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 11px;
	line-height: 15px;
	color: var(--maty-muted);
}

.maty-checkout__summary-links a {
	text-decoration: underline;
}

/* ============================================================
   5. Account — woocommerce/myaccount/form-login.php
   ============================================================ */
.maty-account {
	background: var(--maty-bg);
	padding: 24px 0 56px;
}

.maty-account__container {
	width: min(1200px, calc(100% - 24px));
	margin: 0 auto;
}

.maty-account__welcome {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
	line-height: 32px;
	color: var(--maty-ink);
	text-align: center;
}

.maty-account__lead {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 20px;
	color: var(--maty-muted);
	text-align: center;
}

.maty-account__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.maty-account__col {
	background: var(--maty-white);
	padding: 24px;
}

.maty-account__col-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--maty-ink);
	text-transform: uppercase;
}

.maty-account__col-sub {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-muted);
}

.maty-account__form .maty-field {
	margin-bottom: 12px;
}

.maty-account__form .maty-check {
	margin-top: 12px;
}

.maty-account__form .maty-btn {
	width: 100%;
	margin-top: 16px;
}

.maty-account__lost {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--maty-muted);
	text-decoration: underline;
}

.maty-account__perks {
	margin: 24px 0 0;
	padding: 20px 24px;
	background: var(--maty-white);
}

.maty-account__perks h2 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

.maty-account__perks ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	font-size: 12px;
	line-height: 17px;
	color: var(--maty-muted);
}

.maty-account__perks li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.maty-account__perks svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	stroke: var(--maty-green);
	fill: none;
	stroke-width: 2;
}

/* logged-in account area (Woo myaccount) */
.maty-account__nav {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 13px;
}

.maty-account__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.maty-account__nav a {
	text-decoration: underline;
	color: var(--maty-muted);
}

.maty-account__nav .is-active a {
	color: var(--maty-ink);
	font-weight: 700;
	text-decoration: none;
}

.maty-account__content,
.woocommerce-MyAccount-content {
	background: var(--maty-white);
	padding: 24px;
	font-size: 14px;
	line-height: 21px;
}

.maty-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 13px;
}

.maty-account .woocommerce-MyAccount-navigation a {
	text-decoration: underline;
	color: var(--maty-muted);
}

.maty-account .woocommerce-MyAccount-navigation .is-active a {
	color: var(--maty-ink);
	font-weight: 700;
	text-decoration: none;
}

.maty-account .woocommerce-MyAccount-content p {
	margin: 0 0 12px;
}

.maty-account .woocommerce-MyAccount-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.maty-account .woocommerce-MyAccount-content th,
.maty-account .woocommerce-MyAccount-content td {
	border-bottom: 1px solid var(--maty-line-light);
	padding: 8px 10px;
	text-align: left;
}

/* ============================================================
   6. Pages / 404 / search
   ============================================================ */
.maty-page {
	background: var(--maty-white);
	padding: 24px 0 56px;
}

.maty-page__container {
	width: min(1000px, calc(100% - 32px));
	margin: 0 auto;
}

.maty-page__breadcrumb {
	margin: 0 0 16px;
	font-size: 12px;
	color: var(--maty-muted);
}

.maty-page__title {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 700;
	line-height: 38px;
	color: var(--maty-ink);
}

.maty-page__content {
	font-size: 14px;
	line-height: 22px;
	color: var(--maty-ink);
}

.maty-page__content h2 {
	margin: 24px 0 10px;
	font-size: 20px;
	line-height: 26px;
}

.maty-page__content h3 {
	margin: 20px 0 8px;
	font-size: 16px;
}

.maty-page__content p {
	margin: 0 0 14px;
}

.maty-page__content ul,
.maty-page__content ol {
	margin: 0 0 14px 20px;
	padding: 0;
}

.maty-page__content a {
	text-decoration: underline;
}

.maty-page__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.maty-page__content th,
.maty-page__content td {
	border: 1px solid var(--maty-line-light);
	padding: 8px 10px;
	text-align: left;
}

/* 404 */
.maty-404 {
	background: var(--maty-bg);
	padding: 64px 0 72px;
	text-align: center;
}

.maty-404__inner {
	width: min(720px, calc(100% - 32px));
	margin: 0 auto;
}

.maty-404__code {
	margin: 0;
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	color: var(--maty-soft);
	letter-spacing: .02em;
}

.maty-404__title {
	margin: 12px 0 10px;
	font-size: 24px;
	font-weight: 700;
	color: var(--maty-ink);
}

.maty-404__text {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 21px;
	color: var(--maty-muted);
}

.maty-404__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.maty-404__search {
	display: flex;
	max-width: 420px;
	margin: 0 auto 24px;
}

.maty-404__search input[type="search"] {
	flex: 1;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--maty-line);
	border-right: 0;
	background: var(--maty-white);
	font-family: inherit;
	font-size: 14px;
}

.maty-404__search button {
	width: 52px;
	border: 1px solid var(--maty-ink);
	background: var(--maty-ink);
	color: #fff;
	font-size: 16px;
}

/* search results */
.maty-search {
	background: var(--maty-white);
	padding: 24px 0 56px;
}

.maty-search__container {
	width: min(var(--maty-container), calc(100% - 24px));
	margin: 0 auto;
}

.maty-search__head {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
	color: var(--maty-ink);
}

.maty-search__count {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--maty-muted);
}

.maty-search__form {
	display: flex;
	max-width: 520px;
	margin: 0 0 28px;
}

.maty-search__form input[type="search"] {
	flex: 1;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--maty-line);
	border-right: 0;
	font-family: inherit;
	font-size: 14px;
}

.maty-search__form button {
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--maty-ink);
	background: var(--maty-ink);
	color: #fff;
	font-size: 13px;
}

.maty-search__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-search__grid > li {
	padding: 8px;
	margin: 0 0 4px;
	min-width: 0;
}

.maty-search__empty {
	padding: 32px;
	background: var(--maty-bg);
	text-align: center;
	font-size: 14px;
	color: var(--maty-muted);
}

.maty-search__empty h2 {
	font-size: 18px;
	color: var(--maty-ink);
	margin: 0 0 8px;
}

/* ============================================================
   7. Responsive
   ============================================================ */
@media (min-width: 1500px) {
	:root {
		--maty-container: 1320px;
	}

	.maty-plp__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1199px) {
	.maty-plp__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-hub {
		padding: 0 24px 32px;
	}

	.maty-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.maty-plp__rail {
		display: none;
	}

	.maty-plp__mobile-bar {
		display: flex;
		gap: 8px;
		margin: 12px 0 8px;
	}

	.maty-plp__mobile-bar .maty-plp__mobile-btn {
		flex: 1;
		height: 38px;
		border: 0;
		border-radius: 0;
		font-family: inherit;
		font-size: 16px;
		font-weight: 400;
	}

	.maty-plp__mobile-btn--filters {
		background: var(--maty-ink);
		color: var(--maty-white);
	}

	.maty-plp__mobile-btn--sort {
		background: transparent;
		border: 1px solid var(--maty-ink) !important;
		color: var(--maty-ink);
	}

	.maty-pdp__main {
		gap: 24px;
	}

	.maty-pdp__media {
		flex-basis: calc((100% - 24px) * 56 / 100);
	}

	.maty-checkout__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-checkout__main {
		padding-right: 0;
	}

	.maty-checkout__aside {
		position: static;
		margin-top: 16px;
	}

	.maty-cart__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-cart__aside {
		position: static;
		padding-left: 0;
		margin-top: 16px;
	}
}

@media (max-width: 1023px) {
	.maty-pdp__container {
		width: calc(100% - 32px);
	}

	.maty-pdp__main {
		flex-direction: column;
		gap: 28px;
	}

	.maty-pdp__media {
		flex-basis: auto;
		width: 100%;
	}

	.maty-pdp__stage {
		padding: 0;
	}

	.maty-pdp__info {
		width: 100%;
	}

	.maty-account__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-account__perks ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	:root {
		--maty-gutter: 4px;
	}

	.maty-plp__container {
		width: 100%;
		padding: 8px 0 0;
	}

	.maty-plp__title {
		margin: 0 0 7px;
		font-size: 20.8px;
		line-height: 26px;
	}

	.maty-hub {
		padding: 0 10px 24px;
	}

	.maty-hub__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.maty-hub__title {
		font-size: 18px;
		line-height: 22px;
	}

	.maty-hub__overlay {
		padding: 14px;
	}

	.maty-plp__head,
	.maty-plp__toolbar {
		padding: 0 16px;
	}

	.maty-plp__breadcrumb {
		margin: 8px 16px 4px;
		font-size: 11px;
		line-height: 14px;
	}

	.maty-plp__desc {
		padding: 0 12px;
	}

	.maty-plp__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 var(--maty-gutter) 4px;
	}

	.maty-plp__grid > li {
		padding: 4px;
		margin-bottom: 4px;
	}

	.maty-plp__grid > li.maty-card {
		padding: 4px 12px;
	}

	.maty-card__cat {
		margin-top: 11px;
		font-size: 12px;
		line-height: 15px;
	}

	.maty-card__brand {
		font-size: 13px;
	}

	.maty-card__title {
		font-size: 13px;
		line-height: 15px;
	}

	.maty-card__prices {
		height: 34px;
		margin-top: 4px;
		gap: 6px;
	}

	.maty-card__badge {
		width: 34px;
		height: 34px;
		font-size: 12px;
		left: 4px;
		bottom: -3px;
	}

	.maty-card__now {
		font-size: 16px;
		line-height: 18px;
	}

	.maty-card__old {
		font-size: 12px;
	}

	.maty-plp__pagination {
		padding: 16px 8px;
		flex-wrap: wrap;
		gap: 8px;
	}

	.maty-plp__pages {
		font-size: 14px;
		gap: 2px;
		flex-wrap: wrap;
		justify-content: center;
		max-width: 100%;
	}

	/* PDP mobile */
	.maty-pdp__container {
		width: 100%;
	}

	.maty-pdp__breadcrumb {
		margin: 8px 20px 12px;
	}

	.maty-pdp__main {
		gap: 32px;
	}

	.maty-pdp__media {
		display: block;
		margin: 0 20px;
		width: calc(100% - 40px);
	}

	.maty-pdp__thumbs {
		display: none;
	}

	.maty-pdp__stage {
		padding: 0 20px;
	}

	.maty-pdp__slides {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.maty-pdp__slides::-webkit-scrollbar {
		display: none;
	}

	.maty-pdp__slide {
		scroll-snap-align: start;
	}

	.maty-pdp__slider-btn {
		display: none;
	}

	.maty-pdp__info {
		padding: 0 20px;
	}

	.maty-pdp__brand-row {
		min-height: 47px;
	}

	.maty-pdp__title {
		margin-top: 18px;
	}

	.maty-pdp__price {
		margin-top: 30px;
	}

	.maty-pdp__price-now {
		font-size: 19px;
	}

	.maty-pdp__actions {
		margin-top: 20px;
	}

	.maty-pdp__details {
		margin-top: 12px;
	}

	.maty-pdp__trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 8px;
		margin: 20px 0 0;
	}

	.maty-pdp__reassurance-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maty-pdp__reassurance-item {
		font-size: 12px;
		line-height: 16px;
		padding: 16px 8px 0;
	}

	.maty-pdp__related-container {
		width: calc(100% - 28px);
	}

	.maty-pdp__related-title {
		font-size: 16px;
	}

	.maty-pdp__related-track > * {
		flex-basis: calc((100% - 12px) / 2);
	}

	.maty-pdp__sticky {
		display: block;
		width: 100%;
		max-width: 100vw;
		overflow: hidden;
	}

	.maty-shop.maty-shop--pdp {
		padding-bottom: 120px;
	}

	/* cart mobile */
	.maty-cart,
	.maty-checkout {
		padding-top: 16px;
	}

	.maty-cart__container,
	.maty-checkout__container {
		width: calc(100% - 20px);
	}

	.maty-cart__item {
		grid-template-columns: 100px minmax(0, 1fr);
		min-height: 0;
		row-gap: 12px;
		padding: 12px;
	}

	.maty-cart__item-img {
		width: 100px;
		flex: 0 0 100px;
	}

	.maty-cart__item-side {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-right: 0;
	}

	.maty-added-drawer__panel {
		width: 100%;
	}

	.maty-added-drawer__head {
		flex-basis: 64px;
		min-height: 64px;
		padding: 0 16px;
	}

	.maty-added-drawer__title {
		font-size: 15px;
	}

	.maty-added-drawer__body {
		padding: 16px;
	}

	.maty-cart__foot {
		flex-direction: column;
		align-items: stretch;
	}

	.maty-checkout__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-account {
		padding-top: 16px;
	}

	.maty-account__container {
		width: calc(100% - 20px);
	}

	.maty-account__col {
		padding: 16px;
	}

	.maty-account__perks ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.maty-page__title {
		font-size: 24px;
		line-height: 30px;
	}

	.maty-search__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maty-404 {
		padding: 40px 0 48px;
	}

	.maty-404__code {
		font-size: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maty-shop *,
	.maty-shop *::before,
	.maty-shop *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* PGPay gateway (client-requested single payment method) */
.maty-checkout__gateways{list-style:none;margin:12px 0 16px;padding:0;display:grid;gap:10px}
.maty-checkout__gateway{border:1px solid #e5e5e5;border-radius:4px;padding:12px 14px;background:#fff}
.maty-checkout__gateway:has(input:checked){border-color:#0a0a0a;box-shadow:0 0 0 1px #0a0a0a inset}
.maty-checkout__gateway-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}
.maty-checkout__gateway-label input{margin:0;accent-color:#0a0a0a}
.maty-checkout__gateway-icon img{max-height:24px;width:auto}
.maty-checkout__gateway-desc{margin:6px 0 0 26px;font-size:13px;color:#555}

/* ============================================================
   10. PLP reference UI (task-8): centred head, guided hero, black
   filter bar with facet groups, card tag/availability lines,
   price stack with badge, interleaved merch tiles, bottom SEO.
   ============================================================ */
.maty-plp__title--center {
	margin: 40px auto 10px;
	text-align: center;
	font-size: 40px;
	line-height: 1.15;
	max-width: 1180px;
}

.maty-plp__intro {
	max-width: 1180px;
	margin: 0 auto 8px;
	font-size: 15px;
	line-height: 22px;
	color: var(--maty-ink);
	text-align: left;
	padding: 0 8px;
}

.maty-plp__intro p {
	margin: 0;
}

.maty-plp__intro-more {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	text-decoration: underline;
	cursor: pointer;
}

/* full-bleed guided selector / banner */
.maty-plp__guided,
.maty-plp__banner {
	position: relative;
	width: 100vw;
	margin: 18px calc(50% - 50vw) 22px;
	overflow: hidden;
	background: var(--maty-bg);
}

.maty-plp__banner img,
.maty-plp__guided-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.maty-plp__guided-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 10px;
	padding: 18px clamp(16px, 8vw, 120px);
	background: linear-gradient(90deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0) 100%);
	color: #fff;
}

.maty-plp__guided-heading {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #fff;
}

.maty-plp__guided-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.maty-plp__guided-select select {
	height: 40px;
	min-width: 170px;
	padding: 0 30px 0 12px;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	color: var(--maty-ink);
	-webkit-appearance: none;
	appearance: none;
}

.maty-plp__guided-cta {
	height: 40px;
	padding: 0 22px;
	background: var(--maty-ink-strong);
	border-color: var(--maty-ink-strong);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

/* black Filtres header bar */
.maty-plp__filters-bar {
	display: flex;
	align-items: center;
	height: 48px;
	margin: 0 0 2px;
	padding: 0 18px;
	background: var(--maty-ink-strong);
	color: #fff;
}

.maty-plp__filters-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.maty-plp__facet-list {
	border-top: 1px solid var(--maty-line);
}

.maty-plp__facet {
	border-bottom: 1px solid var(--maty-line-light);
}

.maty-plp__facet-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	color: var(--maty-ink);
	text-align: left;
	cursor: pointer;
}

.maty-plp__facet-chevron {
	position: relative;
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
}

.maty-plp__facet-chevron::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 1px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid var(--maty-ink);
	border-bottom: 1.5px solid var(--maty-ink);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.maty-plp__facet.is-open .maty-plp__facet-chevron::before {
	transform: rotate(225deg);
}

.maty-plp__facet-panel {
	display: none;
	padding: 0 0 12px;
}

.maty-plp__facet.is-open .maty-plp__facet-panel {
	display: block;
}

.maty-plp__facet-options {
	list-style: none;
	margin: 0;
	padding: 0;
}

.maty-plp__facet-option {
	margin: 0;
}

.maty-plp__facet-link,
.maty-plp__facet-option > span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	font-size: 13px;
	line-height: 18px;
	color: var(--maty-ink);
	text-decoration: none;
}

.maty-plp__facet-link:hover .maty-plp__facet-label {
	text-decoration: underline;
}

.maty-plp__facet-link[aria-disabled="true"] {
	cursor: default;
}

.maty-plp__facet-box {
	position: relative;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	border: 1px solid #9a9a9a;
	background: #fff;
}

.maty-plp__facet-label {
	flex: 1 1 auto;
}

.maty-plp__facet-count {
	color: var(--maty-muted);
	font-size: 13px;
}

/* card info: reference tag / brand / title / availability / price stack */
.maty-plp__grid .maty-card__tag {
	margin: 12px 0 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--maty-ink);
	min-height: 15px;
}

.maty-plp__grid .maty-card__tag--avail,
.maty-plp__grid .maty-card__tag.maty-card__tag--avail {
	font-weight: 400;
	color: var(--maty-muted);
	font-size: 10px;
}

.maty-plp__grid .maty-card__brand {
	margin: 4px 0 0;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--maty-muted);
}

.maty-plp__grid .maty-card__title {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 16px;
}

.maty-plp__grid .maty-card__prices {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	height: 44px;
	margin-top: 8px;
	gap: 0;
}

.maty-plp__grid .maty-card__prices .maty-discount-badge {
	position: absolute;
	left: 0;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 100%;
	background: var(--maty-ink-strong);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.maty-plp__grid .maty-card__price-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.maty-plp__grid .maty-card__old {
	display: block;
	font-size: 12px;
	line-height: 15px;
	color: var(--maty-muted);
	text-decoration: line-through;
	order: 0;
}

.maty-plp__grid .maty-card__now {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 18px;
	color: var(--maty-ink);
	order: 0;
}

/* interleaved merch tile */
.maty-plp__merch {
	padding: var(--maty-gutter);
	margin: 0 0 4px;
	list-style: none;
}

.maty-plp__merch-inner {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 325 / 480;
	overflow: hidden;
	background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 100%);
}

.maty-plp__merch-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maty-plp__merch-img--plain {
	background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 100%);
}

.maty-plp__merch-overlay {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 100%);
}

.maty-plp__merch-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
}

.maty-plp__merch-sub {
	font-size: 12px;
	line-height: 16px;
}

/* bottom description / SEO block */
.maty-plp__seo {
	margin: 28px 0 0;
	padding: 14px 16px;
	background: var(--maty-white);
}

.maty-plp__seo-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 0;
	background: none;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--maty-ink);
	cursor: pointer;
}

.maty-plp__seo-toggle[aria-expanded="true"] .maty-plp__facet-chevron::before {
	transform: rotate(225deg);
}

.maty-plp__seo-body {
	margin-top: 14px;
	font-size: 14px;
	line-height: 22px;
	color: var(--maty-ink);
}

.maty-plp__seo-body h2 {
	font-size: 18px;
	margin: 18px 0 8px;
}

.maty-plp__seo-body h3 {
	font-size: 16px;
	margin: 16px 0 6px;
}

.maty-plp__seo-body p {
	margin: 0 0 10px;
}

.maty-plp__seo-body .accordion-navigation,
.maty-plp__seo-body dl {
	margin: 0;
}

@media (max-width: 767px) {
	.maty-plp__title--center {
		font-size: 24px;
		line-height: 1.2;
		margin: 16px auto 8px;
		padding: 0 16px;
	}

	.maty-plp__intro {
		font-size: 14px;
		line-height: 20px;
		padding: 0 16px;
	}

	.maty-plp__guided-overlay {
		position: static;
		background: #fff;
		color: var(--maty-ink);
		padding: 14px 16px;
		gap: 8px;
	}

	.maty-plp__guided-heading {
		color: var(--maty-ink);
		font-size: 16px;
	}

	.maty-plp__guided-select select {
		min-width: 0;
		width: 100%;
		border: 1px solid var(--maty-line);
	}

	.maty-plp__guided-row {
		width: 100%;
	}

	.maty-plp__guided-row .maty-plp__guided-select {
		flex: 1 1 100%;
	}

	.maty-plp__guided-cta {
		width: 100%;
	}

	.maty-plp__filters-bar {
		height: 42px;
		padding: 0 12px;
	}

	.maty-plp__filters-title {
		font-size: 18px;
	}

	.maty-plp__merch {
		padding: 4px;
	}

	.maty-plp__merch-title {
		font-size: 15px;
		line-height: 19px;
	}

	.maty-plp__grid .maty-card__prices .maty-discount-badge {
		width: 32px;
		height: 32px;
		font-size: 11px;
	}
}

/* CTA du magnet merch (référence « Je découvre ») */
.maty-plp__merch-cta {
	display: inline-block;
	align-self: center;
	width: max-content;
	margin-top: 12px;
	padding: 9px 22px;
	border: 1px solid #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #fff;
	text-decoration: none;
}

/* Align PLP cards: equal-height rows, fixed tag/brand/title slots, price row pinned to the bottom */
.maty-plp__grid .maty-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.maty-plp__grid .maty-card__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.maty-plp__grid .maty-card__tag {
	min-height: 15px;
}
.maty-plp__grid .maty-card__brand {
	min-height: 14px;
}
.maty-plp__grid .maty-card__title {
	min-height: 32px;
}
.maty-plp__grid .maty-card__prices {
	margin-top: auto;
}
