.malan-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.malan-product-card {
	display: grid;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: var(--malan-radius, 16px);
	overflow: hidden;
	background: #ffffff;
	min-width: 0;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.malan-product-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--malan-accent, #c39a3b) 62%, var(--malan-line, #dddddd));
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.09);
}

.malan-product-card__media {
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background:
		linear-gradient(180deg, #ffffff 0%, var(--malan-tint, #f7f5ef) 100%);
	border-bottom: 1px solid var(--malan-line, #dddddd);
}

.malan-product-card__media[data-malan-lazy-media]::before,
.malan-product-card__media[data-malan-lazy-media]::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 180ms ease;
}

.malan-product-card__media[data-malan-lazy-media]::before {
	background:
		linear-gradient(90deg, transparent 0 38%, rgba(5, 5, 5, 0.1) 39% 61%, transparent 62%) center / 38% 42% no-repeat,
		repeating-linear-gradient(0deg, transparent 0 18px, rgba(5, 5, 5, 0.12) 18px 23px) center / 56% 40% no-repeat,
		linear-gradient(100deg, #f2f1ec 0%, #ffffff 48%, #ece9df 100%);
}

.malan-product-card__media[data-malan-lazy-media]::after {
	background: linear-gradient(105deg, transparent 0 32%, rgba(255, 255, 255, 0.82) 48%, transparent 64%);
	transform: translateX(-120%);
}

.malan-product-card__media.is-loading::before,
.malan-product-card__media.is-loading::after {
	opacity: 1;
}

.malan-product-card__media.is-loading::after {
	animation: malan-store-shimmer 1.25s ease-in-out infinite;
}

.malan-product-card__media img,
.malan-product-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.malan-product-card__media img {
	position: relative;
	z-index: 1;
	opacity: 1;
	transform: scale(1);
	transition: opacity 240ms ease, transform 420ms ease;
}

.malan-product-card__media.is-loading img {
	opacity: 0;
	transform: scale(1.02);
}

.malan-product-card__media.is-loaded img {
	opacity: 1;
	transform: scale(1);
}

.malan-product-placeholder {
	display: block;
	background:
		repeating-linear-gradient(135deg, #111111 0 7px, transparent 7px 17px),
		radial-gradient(circle at center, #f4f4f4 0 58%, #e4e4e4 59% 63%, transparent 64%);
	border-radius: 50%;
	transform: scale(0.78);
}

.malan-product-card__body {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 10px;
	padding: 14px;
}

.malan-product-card h3 {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

.malan-product-card__meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
}

.malan-product-card__meta strong {
	font-size: 16px;
}

.malan-product-card__meta span {
	color: var(--malan-muted, #666666);
}

.malan-product-card__meta del {
	color: #888888;
}

.malan-product-card__button {
	min-height: 32px;
	padding: 7px 12px;
	border-radius: 6px;
	background: var(--malan-black, #050505);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: inset 0 -2px 0 var(--malan-accent, #c39a3b);
}

.malan-store-empty {
	margin: 0;
	padding: 24px;
	border: 1px dashed var(--malan-line, #dddddd);
	border-radius: 8px;
	color: var(--malan-muted, #666666);
}

.malan-store-archive h1 {
	margin-bottom: 24px;
}

.malan-store-archive__search-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: -8px 0 22px;
	padding: 9px 12px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 999px;
	background: #ffffff;
	color: var(--malan-muted, #666666);
	font-size: 14px;
}

.malan-store-archive__search-note strong {
	color: var(--malan-black, #050505);
}

.malan-store-archive__description {
	max-width: 820px;
	margin: -12px 0 24px;
	color: var(--malan-muted, #666666);
}

.malan-store-archive__description p {
	margin: 0 0 10px;
}

.malan-store-archive__layout {
	display: grid;
	grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.malan-store-archive__products {
	min-width: 0;
}

.malan-store-archive__products .malan-product-grid {
	grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
	justify-content: start;
}

.malan-store-filter,
.malan-checkout-card,
.malan-checkout-summary-card,
.malan-product-summary,
.malan-product-gallery,
.malan-product-tabs {
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: var(--malan-radius, 16px);
	background: #ffffff;
}

.malan-store-filter {
	position: sticky;
	top: 102px;
	padding: 18px;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.malan-store-filter::before {
	content: "";
	display: block;
	height: 3px;
	margin: -18px -18px 18px;
	background: linear-gradient(90deg, var(--malan-black, #050505), var(--malan-accent, #d6b15e), var(--malan-accent-2, #8fa3b8));
}

.malan-filter-form {
	display: grid;
	gap: 18px;
}

.malan-filter-form:not(.has-primary-filter) .malan-filter-group--advanced {
	display: none;
}

.malan-store-archive.is-filtering .malan-store-archive__products {
	position: relative;
	opacity: 0.58;
	pointer-events: none;
}

.malan-store-archive.is-filtering .malan-store-archive__products::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.72) 48%, transparent 62%);
	animation: malan-store-shimmer 1.15s ease-in-out infinite;
}

.malan-filter-form h2,
.malan-filter-group h3 {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0;
}

.malan-page .malan-filter-form h2,
.malan-page .malan-filter-group h3 {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0;
}

.malan-page .malan-filter-form h2 {
	font-size: 24px;
	font-weight: 800;
}

.malan-filter-form__field {
	display: grid;
	gap: 8px;
	font-weight: 600;
}

.malan-filter-form select,
.malan-filter-form input,
.malan-checkout input,
.malan-checkout textarea {
	width: 100%;
	max-width: 100%;
	min-height: 40px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	padding: 8px 10px;
	background: #ffffff;
	font: inherit;
}

.malan-filter-form select:focus,
.malan-filter-form input:focus,
.malan-checkout input:focus,
.malan-checkout textarea:focus,
.malan-checkout select:focus {
	outline: 2px solid color-mix(in srgb, var(--malan-accent, #c39a3b) 42%, transparent);
	border-color: var(--malan-accent, #c39a3b);
}

.malan-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.malan-filter-options label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 160ms ease, background 160ms ease;
}

.malan-filter-options label:has(input:checked) {
	border-color: var(--malan-accent, #c39a3b);
	background: color-mix(in srgb, var(--malan-accent, #c39a3b) 10%, #ffffff);
}

.malan-filter-options input {
	flex: 0 0 auto;
	width: auto;
	min-height: auto;
}

.malan-filter-options span {
	overflow-wrap: anywhere;
}

.malan-price-range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.malan-filter-form__actions {
	display: grid;
	gap: 10px;
}

.malan-filter-reset {
	display: inline-flex;
	justify-content: center;
	padding: 9px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	font-weight: 700;
	background: #ffffff;
	color: var(--malan-black, #050505);
}

.malan-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 26px;
}

.malan-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 50%;
	font-weight: 700;
}

.malan-pagination .current {
	background: var(--malan-accent, #c39a3b);
	color: #ffffff;
	border-color: var(--malan-accent, #c39a3b);
}

.malan-store-promo {
	display: grid;
	grid-template-columns: 180px 1fr 180px;
	gap: 28px;
	align-items: center;
	margin-top: 42px;
	padding: 36px 46px;
	background:
		radial-gradient(circle at 12% 0%, rgba(214, 177, 94, 0.16), transparent 28%),
		linear-gradient(135deg, var(--malan-black, #050505), #10100f 70%, #191714);
	color: #ffffff;
	text-align: center;
	border-top: 1px solid rgba(195, 154, 59, 0.28);
}

.malan-store-promo h2 {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 42px);
	letter-spacing: 0;
}

.malan-store-promo p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.76);
}

.malan-store-promo__icon,
.malan-store-promo__cart {
	width: 110px;
	height: 90px;
	margin-inline: auto;
	border: 5px solid #ffffff;
	transform: skewY(-20deg);
}

.malan-store-promo__cart {
	border-radius: 8px;
	transform: none;
	position: relative;
}

.malan-store-promo__cart::before,
.malan-store-promo__cart::after {
	content: "";
	position: absolute;
	bottom: -24px;
	width: 20px;
	height: 20px;
	border: 5px solid #ffffff;
	border-radius: 50%;
	background: var(--malan-black, #050505);
}

.malan-store-promo__cart::before {
	left: 14px;
}

.malan-store-promo__cart::after {
	right: 14px;
}

.malan-single-product__top {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.9fr);
	gap: 22px;
	align-items: start;
}

.malan-product-gallery {
	padding: 16px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.malan-product-gallery__main {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 10px;
	background: #f6f6f6;
}

.malan-product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.malan-product-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.malan-product-gallery__thumbs img {
	width: 86px;
	height: 86px;
	object-fit: cover;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
}

.malan-product-summary {
	padding: 24px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.malan-product-summary h1 {
	margin: 0 0 8px;
	font-size: clamp(26px, 3.2vw, 40px);
	letter-spacing: 0;
}

.malan-product-summary__meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--malan-line, #dddddd);
	color: var(--malan-muted, #666666);
}

.malan-stock--in_stock {
	color: #168a34;
}

.malan-stock--out_of_stock {
	color: #b42318;
}

.malan-product-buy {
	display: grid;
	gap: 16px;
}

.malan-product-options {
	display: grid;
	gap: 8px;
}

.malan-product-options > span {
	font-weight: 700;
}

.malan-product-options div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.malan-product-options label span {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	cursor: pointer;
}

.malan-product-options label.is-disabled span {
	opacity: .35;
	cursor: not-allowed;
}

.malan-product-options input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.malan-product-options input:checked + span {
	background: var(--malan-black, #050505);
	color: #ffffff;
	border-color: var(--malan-black, #050505);
	box-shadow: inset 0 -2px 0 var(--malan-accent, #d6b15e);
}

.malan-product-price-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 12px;
	align-items: center;
}

.malan-product-price {
	display: grid;
	gap: 2px;
}

.malan-product-price span {
	color: var(--malan-muted, #666666);
	font-size: 13px;
}

.malan-product-price strong {
	font-size: 32px;
	line-height: 1;
}

.malan-qty-control {
	display: inline-grid;
	grid-template-columns: 34px 58px 34px;
	align-items: center;
	border-radius: 6px;
	overflow: hidden;
}

.malan-qty-control button,
.malan-qty-control input {
	width: 100%;
	height: 36px;
	border: 0;
	text-align: center;
	font: inherit;
}

.malan-qty-control button {
	background: var(--malan-black, #050505);
	color: #ffffff;
	cursor: pointer;
	box-shadow: inset 0 -2px 0 var(--malan-accent, #c39a3b);
}

.malan-qty-control input {
	border-block: 1px solid var(--malan-line, #dddddd);
}

.malan-price-tiers {
	padding-top: 8px;
}

.malan-price-tiers summary {
	display: inline-flex;
	cursor: pointer;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.malan-product-tabs {
	margin-top: 22px;
	padding: 20px;
}

.malan-product-tabs__nav {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--malan-line, #dddddd);
}

.malan-product-tabs__nav button {
	padding: 0 0 10px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 26px;
	font-weight: 800;
	color: var(--malan-muted, #666666);
	cursor: pointer;
	letter-spacing: 0;
}

.malan-product-tabs__nav .is-active {
	color: var(--malan-black, #050505);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.malan-product-tabs__panel {
	display: none;
	padding-top: 16px;
}

.malan-product-tabs__panel.is-active {
	display: block;
}

.malan-specs-table {
	width: 100%;
	border-collapse: collapse;
}

.malan-specs-table th,
.malan-specs-table td {
	padding: 12px 0;
	border-bottom: 1px solid var(--malan-line, #dddddd);
	text-align: left;
}

.malan-specs-table th {
	width: 34%;
	color: var(--malan-muted, #666666);
	font-weight: 500;
}

.malan-product-scheme {
	margin: 0;
}

.malan-product-scheme img {
	max-width: 100%;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
}

.malan-product-scheme figcaption {
	margin-top: 8px;
	color: var(--malan-muted, #666666);
	font-size: 14px;
}

.malan-account-menu {
	position: relative;
}

.malan-account-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 13px;
	border: 0;
	border-radius: 999px;
	background: var(--malan-soft, #f7f7f4);
	color: var(--malan-black, #050505);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}

.malan-account-menu__dropdown {
	position: absolute;
	z-index: 80;
	top: calc(100% + 8px);
	right: 0;
	display: grid;
	min-width: 170px;
	padding: 8px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 10px;
	background: #ffffff;
	color: var(--malan-black, #050505);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.malan-account-menu__dropdown[hidden] {
	display: none;
}

.malan-account-menu__dropdown a {
	padding: 9px 10px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
}

.malan-account-menu__dropdown a:hover {
	background: var(--malan-tint, #f7f5ef);
}

.malan-cart-modal[hidden] {
	display: none;
}

.malan-auth-modal[hidden] {
	display: none;
}

.malan-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 1001;
	display: grid;
	place-items: center;
	padding: 20px;
}

.malan-auth-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.malan-auth-modal__panel {
	position: relative;
	width: min(100%, 520px);
	max-height: min(760px, calc(100vh - 40px));
	overflow: auto;
	padding: 22px;
	border-radius: var(--malan-radius, 16px);
	background: #ffffff;
	color: var(--malan-black, #050505);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.malan-auth-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.malan-auth-modal__head h2 {
	margin: 0;
	font-size: 28px;
}

.malan-auth-modal__head button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--malan-black, #050505);
	color: #ffffff;
	cursor: pointer;
	font-size: 24px;
}

.malan-auth-tabs__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
}

.malan-auth-tabs__nav button {
	min-height: 42px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
	background: #ffffff;
	color: var(--malan-muted, #666666);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.malan-auth-tabs__nav .is-active {
	background: var(--malan-black, #050505);
	color: #ffffff;
	border-color: var(--malan-black, #050505);
	box-shadow: inset 0 -2px 0 var(--malan-accent, #d6b15e);
}

.malan-auth-tabs__panel {
	display: none;
}

.malan-auth-tabs__panel.is-active {
	display: block;
}

.malan-register-form,
.malan-auth-tabs form {
	display: grid;
	gap: 12px;
}

.malan-register-form label,
.malan-auth-tabs label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.malan-register-form input,
.malan-register-form select,
.malan-auth-tabs input {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	padding: 8px 10px;
	background: #ffffff;
	color: var(--malan-black, #050505);
	font: inherit;
}

.malan-cart-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.malan-cart-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.malan-cart-modal__panel {
	position: relative;
	width: min(100%, 900px);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	padding: 22px;
	border-radius: var(--malan-radius, 16px);
	background: #ffffff;
	color: var(--malan-black, #050505);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.malan-cart-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.malan-cart-modal__head h2 {
	margin: 0;
	font-size: 32px;
	letter-spacing: 0;
}

.malan-cart-modal__head button,
.malan-cart-item__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--malan-black, #050505);
	color: #ffffff;
	box-shadow: inset 0 -2px 0 var(--malan-accent, #c39a3b);
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.malan-cart-items {
	display: grid;
	gap: 12px;
}

.malan-cart-item {
	display: grid;
	grid-template-columns: 86px 1fr auto auto 42px;
	gap: 16px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 12px;
}

.malan-cart-item__image {
	display: block;
	width: 74px;
	height: 74px;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f6f6;
}

.malan-cart-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.malan-cart-item__title {
	display: grid;
	gap: 4px;
	font-weight: 700;
}

.malan-cart-item__title small {
	color: var(--malan-muted, #666666);
	font-weight: 500;
}

.malan-cart-summary {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 18px;
	margin-top: 16px;
	margin-left: auto;
	padding: 16px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 12px;
	width: min(100%, 430px);
}

.malan-cart-summary .malan-button {
	grid-column: 1 / -1;
	background: var(--malan-black, #050505);
	color: #ffffff;
	box-shadow: inset 0 -2px 0 var(--malan-accent, #c39a3b);
}

.malan-cart-modal .malan-button,
.malan-cart-modal .malan-button:hover,
.malan-cart-modal .malan-button:focus-visible {
	color: #ffffff;
}

.malan-cart-summary__discount {
	color: #168a34;
}

.malan-cart-coupon {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: end;
	margin-top: 16px;
}

.malan-cart-coupon label {
	display: grid;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
}

.malan-cart-coupon input {
	min-height: 42px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	padding: 8px 10px;
	background: #ffffff;
	color: var(--malan-black, #050505);
	font: inherit;
}

.malan-cart-coupon p {
	grid-column: 1 / -1;
	margin: 0;
	color: #b42318;
}

.malan-cart-summary span {
	color: var(--malan-muted, #666666);
}

.malan-cart-summary strong {
	font-size: 28px;
	white-space: nowrap;
}

.malan-cart-empty {
	display: grid;
	place-items: center;
	gap: 16px;
	min-height: 220px;
	text-align: center;
}

.malan-checkout h1 {
	margin-bottom: 24px;
}

.malan-checkout__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: 22px;
	align-items: start;
}

.malan-checkout__fields {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.malan-checkout-card {
	padding: 20px;
	color: var(--malan-black, #050505);
}

.malan-checkout-step__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.malan-checkout-step__head > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--malan-accent, #c39a3b);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
}

.malan-checkout-card h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: 0;
}

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

.malan-form-grid--compact {
	grid-template-columns: 1.1fr 0.9fr;
}

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

.malan-form-field,
.malan-checkout-comment {
	display: grid;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
}

.malan-filter-form select,
.malan-filter-form input,
.malan-checkout input,
.malan-checkout textarea,
.malan-checkout select {
	color: var(--malan-black, #050505);
}

.malan-checkout select {
	width: 100%;
	max-width: 100%;
	min-height: 42px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	padding: 8px 10px;
	background: #ffffff;
	font: inherit;
}

.malan-radio-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.malan-radio-group label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding: 11px 12px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.malan-radio-group label:has(input:checked) {
	border-color: var(--malan-accent, #c39a3b);
	background: color-mix(in srgb, var(--malan-accent, #c39a3b) 9%, #ffffff);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--malan-accent, #c39a3b) 28%, transparent);
}

.malan-radio-group input {
	width: 16px;
	min-height: 16px;
	accent-color: var(--malan-black, #050505);
}

.malan-radio-group input:checked + span {
	font-weight: 800;
}

.malan-np-lookup {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 14px;
}

.malan-np-lookup__city {
	position: relative;
}

.malan-np-results {
	position: absolute;
	z-index: 8;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	display: grid;
	max-height: 240px;
	overflow: auto;
	padding: 6px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.malan-np-results[hidden] {
	display: none;
}

.malan-np-results button,
.malan-np-results span {
	display: block;
	width: 100%;
	padding: 9px 10px;
	border: 0;
	border-radius: 6px;
	background: #ffffff;
	color: var(--malan-black, #050505);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.malan-np-results button:hover {
	background: var(--malan-tint, #f7f5ef);
}

.malan-checkout-details {
	margin-top: 4px;
}

.malan-checkout-details summary {
	cursor: pointer;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.malan-checkout-details .malan-checkout-comment {
	margin-top: 12px;
}

.malan-checkout-note {
	margin: 12px 0 0;
	color: var(--malan-muted, #666666);
	font-size: 13px;
}

.malan-checkout-summary-card {
	position: sticky;
	top: 102px;
	display: grid;
	gap: 14px;
	padding: 18px;
	color: var(--malan-black, #050505);
}

.malan-checkout-summary-card > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--malan-line, #dddddd);
}

.malan-checkout-summary-card__items {
	display: grid !important;
	gap: 8px !important;
	align-items: stretch !important;
	justify-content: stretch !important;
}

.malan-checkout-summary-card__items p {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	font-size: 13px;
}

.malan-checkout-summary-card__items b {
	white-space: nowrap;
}

.malan-checkout-summary-card span {
	color: var(--malan-muted, #666666);
}

.malan-checkout-summary-card strong {
	font-size: 22px;
}

.malan-checkout-cta {
	display: grid !important;
	gap: 6px !important;
	padding: 14px;
	border: 0 !important;
	border-radius: 8px;
	background:
		linear-gradient(135deg, var(--malan-black, #050505), #16130e);
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(195, 154, 59, 0.28);
}

.malan-checkout-cta strong,
.malan-checkout-cta p {
	color: #ffffff;
}

.malan-checkout-cta p {
	margin: 0;
	font-size: 13px;
	opacity: 0.78;
}

.malan-checkout-message,
.malan-checkout-error {
	padding: 18px;
	border-radius: 8px;
	margin-bottom: 18px;
}

.malan-checkout-message {
	background: #edf7ed;
	color: #1d6f2a;
}

.malan-checkout-error {
	background: #fff1f0;
	color: #b42318;
}

.malan-delivery-info {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.malan-delivery-info section {
	padding: 20px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: var(--malan-radius, 16px);
}

.malan-delivery-info h2 {
	margin-top: 0;
}

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

.malan-account-card,
.malan-account-login {
	padding: 22px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: var(--malan-radius, 16px);
	background: #ffffff;
}

.malan-account-card--wide {
	grid-column: 1 / -1;
}

.malan-account-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.malan-account-stats div {
	display: grid;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 10px;
	background: var(--malan-tint, #f7f5ef);
}

.malan-account-stats strong {
	font-size: 24px;
	line-height: 1.1;
}

.malan-account-stats span {
	color: var(--malan-muted, #666666);
	font-size: 13px;
}

.malan-account-card h2,
.malan-account-login h2 {
	margin: 0 0 16px;
	font-size: 26px;
	letter-spacing: 0;
}

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

.malan-account-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.malan-account-form input,
.malan-account-login input {
	min-height: 42px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 6px;
	padding: 8px 10px;
	font: inherit;
}

.malan-account-form .malan-button {
	width: max-content;
}

.malan-account-discount-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.malan-account-discount-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--malan-line, #dddddd);
	border-radius: 8px;
}

.malan-account-discount-list code {
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--malan-black, #050505);
	color: #ffffff;
}

.malan-account-orders {
	width: 100%;
	border-collapse: collapse;
}

.malan-account-orders th,
.malan-account-orders td {
	padding: 12px 0;
	border-bottom: 1px solid var(--malan-line, #dddddd);
	text-align: left;
}

@keyframes malan-store-shimmer {
	100% {
		transform: translateX(120%);
	}
}

@media (max-width: 1100px) {
	.malan-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.malan-store-archive__layout,
	.malan-single-product__top,
	.malan-checkout__form,
	.malan-account,
	.malan-delivery-info {
		grid-template-columns: 1fr;
	}

	.malan-store-filter,
	.malan-checkout-summary-card {
		position: static;
	}
}

@media (max-width: 760px) {
	.malan-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.malan-store-archive__products .malan-product-grid {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.malan-product-card__body {
		grid-template-columns: 1fr;
	}

	.malan-store-promo,
	.malan-form-grid,
	.malan-np-lookup,
	.malan-radio-group,
	.malan-cart-coupon,
	.malan-cart-summary {
		grid-template-columns: 1fr;
	}

	.malan-form-field--wide {
		grid-column: auto;
	}

	.malan-checkout-card,
	.malan-checkout-summary-card {
		padding: 16px;
	}

	.malan-store-promo__cart {
		display: none;
	}

	.malan-account-form {
		grid-template-columns: 1fr;
	}

	.malan-account-stats {
		grid-template-columns: 1fr;
	}

	.malan-account-button {
		min-height: 38px;
		padding-inline: 10px;
		font-size: 11px;
	}

	.malan-product-price-row {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.malan-qty-control {
		width: 126px;
	}

	.malan-product-tabs__nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		border-bottom: 0;
	}

	.malan-product-tabs {
		padding: 16px;
	}

	.malan-product-tabs__nav button {
		width: 100%;
		min-width: 0;
		min-height: 42px;
		padding: 8px 4px;
		border: 1px solid var(--malan-line, #dddddd);
		border-radius: 8px;
		color: var(--malan-muted, #666666);
		font-size: clamp(12px, 3.2vw, 14px);
		line-height: 1.15;
		text-align: center;
		text-decoration: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	.malan-product-tabs__nav .is-active {
		background: var(--malan-black, #050505);
		color: #ffffff;
		border-color: var(--malan-black, #050505);
		box-shadow: inset 0 -2px 0 var(--malan-accent, #d6b15e);
		text-decoration: none;
	}

	.malan-product-tabs__nav button[data-malan-tab="specs"] {
		font-size: 0;
	}

	.malan-product-tabs__nav button[data-malan-tab="specs"]::before {
		content: "Параметри";
		font-size: clamp(12px, 3.2vw, 14px);
		line-height: 1.15;
	}

	.malan-cart-modal {
		align-items: end;
		padding: 0;
	}

	.malan-cart-modal__panel {
		width: 100%;
		max-height: 88vh;
		border-radius: 18px 18px 0 0;
	}

	.malan-cart-item {
		grid-template-columns: 74px 1fr 42px;
	}

	.malan-cart-item .malan-qty-control,
	.malan-cart-item strong {
		grid-column: 2 / -1;
	}

	.malan-cart-item__remove {
		grid-column: 3;
		grid-row: 1;
	}
}
