/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
	margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
	display: block;
	/* Не даём main схлопнуться при SPA-переходе — убирает мелькание футера при клике по ссылке */
	min-height: 50vh;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
	background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
	font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
	font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
	border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
	/* 1 */
	overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
	/* 1 */
	text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
	vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
	overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type='checkbox'],
[type='radio'] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
	height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type='search']::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
	display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
	display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
	display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
	display: none;
}

/* FONTS */
/* montserrat-300 - cyrillic_latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 300;
	src: url('/fonts/montserrat-v31-cyrillic_latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - cyrillic_latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	src: url('/fonts/montserrat-v31-cyrillic_latin-regular.woff2')
		format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - cyrillic_latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 500;
	src: url('/fonts/montserrat-v31-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - cyrillic_latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	src: url('/fonts/montserrat-v31-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* AW Conqueror Sans */
@font-face {
	font-family: 'AW Conqueror Sans';
	src: url('/fonts/AWConqueror_Std_Sans_Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
/* Gilroy Bold*/
@font-face {
	font-family: 'Gilroy';
	src: url('/fonts/Gilroy-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* VARS */
:root {
	--colors-primary: #ffffff;
	--colors-secondary: #fbf3e8;
	--colors-tertiary: #bd8377;
	--colors-text-main: #20190f;
	--colors-text-highlight: #a3a98b;
	--colors-text-danger: #f14635;

	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'AW Conqueror Sans', sans-serif;

	--shadow-text: 0 4px 1px rgba(0, 0, 0, 0.13);

	--radii: 6px;
	--radii-lg: 16px;
}

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

html,
body {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
}

body {
	padding-top: 130px;

	font-family: var(--font-primary);
	font-weight: 300;
	background: var(--colors-primary);
	color: var(--colors-text-main);

	@media (max-width: 1400px) {
		padding-top: 77px;
	}
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

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

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* CONTAINER */
.container {
	max-width: 1920px;
	padding: 0 70px;
	margin: 0 auto;

	@media (max-width: 1200px) {
		padding: 0 15px;
	}
}

/* BUTTON */
.btn {
	font-family: var(--font-primary);
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	line-height: 1;

	transition: all 0.3s linear;
}
.btn--outline {
	padding: 10px;

	font-size: clamp(1.125rem, 0.577vw + 0.995rem, 1.5rem);
	font-weight: 700;
	color: var(--colors-text-highlight);

	border: 1px solid var(--colors-text-highlight);
	border-radius: var(--radii);

	&:hover {
		color: var(--colors-primary);
		background-color: var(--colors-text-highlight);
	}
}
.btn--secondary,
.btn--danger {
	font-weight: 500;
	padding: 10px 15px;
}
.btn--secondary {
	color: var(--colors-text-main);

	border-color: var(--colors-text-main);

	&:hover {
		color: var(--colors-primary);
		background-color: var(--colors-text-main);
	}
}
.btn--danger {
	color: var(--colors-text-danger);

	border-color: var(--colors-text-danger);

	&:hover {
		color: var(--colors-primary);
		background-color: var(--colors-text-danger);
	}
}

/* HEADER */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;

	background: var(--colors-primary);
}
.header__top {
	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--colors-secondary);
	padding: 14px 0 17px;

	color: var(--colors-tertiary);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
	line-height: normal;
	letter-spacing: -0.02em;

	@media (max-width: 1400px) {
		padding: 5px;

		font-size: 0.875rem;
	}
}
@media (max-width: 1400px) {
	.header__logo {
		max-height: 40px;
		width: auto;
	}
}
.header__main {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 6px 42px 8px 27px;

	font-size: 1.25rem;

	border-bottom: 1px solid rgba(from var(--colors-tertiary) r g b / 0.18);
}
@media (max-width: 992px) {
	.header__main {
		padding: 5px 15px;
	}
}
.header__controls {
	display: flex;
	align-items: center;
	gap: 20px;

	font-family: var(--font-secondary);
	font-size: 1.25rem;

	a {
		display: flex;
		align-items: center;
		gap: 5px;
	}
}
.header__cart,
.header__wishlist {
	display: flex;
	align-items: center;
	gap: 5px;
}
@media (max-width: 992px) {
	.header__controls .lang-dropdown {
		display: none;
	}
}

/* nav */
.nav {
	a {
		transition: color 0.3s linear;
	}

	a:hover {
		color: var(--colors-text-highlight);
	}
}
.nav.nav--header {
	ul {
		display: flex;
		align-items: center;
		gap: 35px;
	}
}
@media (max-width: 992px) {
	.nav.nav--header {
		display: none;
	}
}
.nav.nav--mob {
	display: none;

	position: absolute;
	top: 100%;
	left: 0;
	right: 0;

	width: 100%;
	height: auto;

	padding: 20px;

	background: var(--colors-primary);

	flex-direction: column;
	gap: 20px;

	ul {
		display: flex;
		flex-direction: column;
		gap: 10px;

		li {
			font-size: 1.5rem;
		}
	}
}
.nav--mob__lang {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.nav--mob__lang-label {
	font-size: 1rem;
	color: var(--colors-text-main);
	opacity: 0.85;
}
.nav--mob__lang-btn {
	padding: 6px 14px;
	font-size: 1.125rem;
	background: none;
	border: 1px solid var(--colors-text-main);
	border-radius: var(--radii);
	color: var(--colors-text-main);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.nav--mob__lang-btn.active,
.nav--mob__lang-btn:hover {
	background: var(--colors-tertiary);
	color: var(--colors-primary);
	border-color: var(--colors-tertiary);
}
@media (max-width: 992px) {
	.nav.nav--mob.active {
		display: flex;
	}
}
.nav.nav--footer {
	ul {
		display: flex;
		flex-direction: column;
		gap: 10px;

		font-size: 0.875rem;
	}
}

/* lang switcher */
/* Стили для дропдауна */
.lang-dropdown {
	position: relative;
	display: inline-block;
	font-family: 'Futura Cyrillic', sans-serif;
	font-weight: 400;
}

.lang-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 30px;
	color: var(--colors-text-main);
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.lang-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
}

.lang-arrow {
	transition: transform 0.2s ease;
}

.lang-dropdown.active .lang-arrow {
	transform: rotate(180deg);
}

.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: fit-content;
	background: var(--colors-primary);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 8px 0;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	z-index: 1000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.active .lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-menu li {
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: 'Futura Cyrillic', sans-serif;
	font-weight: 400;
	letter-spacing: 0.3px;
}

.lang-menu li:hover {
	opacity: 0.5;
}

/* burger */
.burger {
	display: none;

	width: 32px;
	height: 32px;
	position: relative;
	flex-direction: column;
	justify-content: space-around;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px 4px;
	margin: 0;
}
@media (max-width: 992px) {
	.burger {
		display: flex;
	}
}

.burger span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--colors-tertiary);
	border-radius: 1px;
	transition: none; /* без анимации */
}

/* На всякий случай, если кнопка в темной теме */
.burger:hover span {
	background-color: var(--colors-tertiary); /* тот же цвет, без изменений */
}

/* Убираем стандартные outline, но оставляем фокус для доступности */
.burger:focus-visible {
	outline: 2px solid var(--colors-tertiary);
	outline-offset: 2px;
}

/* /HEADER */

/* SECTION */
.section {
	margin-bottom: 120px;
}
@media (max-width: 576px) {
	.section {
		margin-bottom: 50px;
	}
}
.section__title {
	margin-bottom: 70px;

	font-size: clamp(1.375rem, 2.5vw + 0.813rem, 3rem);
	font-weight: 700;
	color: var(--colors-text-highlight);
	letter-spacing: -0.02em;

	text-align: center;
}
@media (max-width: 576px) {
	.section__title {
		margin-bottom: 40px;
	}
}
.section.section--user {
	margin-bottom: 70px;
	@media (max-width: 576px) {
		margin-bottom: 40px;
	}
}

.section.section--user .section__header {
	margin-bottom: 35px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
.section.section--user .section__title {
	text-align: left;
	color: var(--colors-text-main);

	margin-bottom: 0;
}
/* /SECTION */

/* swiper */
.swiper {
	margin: 0 -70px;
	padding: 0 70px 50px;

	@media (max-width: 1200px) {
		margin: 0 -15px;
		padding: 0 15px 50px;
	}
}
.swiper.swiper-programs {
	padding-bottom: 85px;
}
.swiper-slide {
	height: auto;
}
.swiper-pagination {
	bottom: 50px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;

	margin: 0 auto;
}
.swiper-pagination-bullet {
	width: 15px;
	height: 15px;

	margin: 0 !important;

	border-radius: 50%;

	background-color: var(--colors-secondary);
	opacity: 1;
}
.swiper-pagination-bullet-active {
	background-color: var(--colors-text-main);
}

/* accordion */
.accordion {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.accordion.accordion--default .accordion__item-btn {
	font-size: clamp(1.25rem, 1.538vw + 0.904rem, 2.25rem);
	font-weight: 500;
}
.accordion__item {
	border-bottom: 2px solid #eeeded;
}
.accordion__item-btn {
	width: 100%;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;

	padding-bottom: 9px;

	text-align: left;

	background: none;
	transition: color 0.5s linear;
}
.accordion__item-btn.active {
	color: var(--colors-tertiary);
}
.accordion__item-btn.active::after {
	content: '-';
}
.accordion__item-btn::after {
	content: '+';
	font-family: 'Gilroy', sans-serif;
	font-size: 40px;
	font-weight: 700;
	color: var(--colors-primary);

	display: flex;
	align-items: center;
	justify-content: center;

	flex-shrink: 0;
	width: 40px;
	height: 40px;
	margin-left: auto;
	border-radius: 50%;
	background-color: var(--colors-tertiary);
}
.accordion__item-collapse {
	display: flex;
	transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
	max-height: 0px;
	overflow: hidden;

	font-size: 1.25rem;
}
.accordion__item-collapse.active {
	transition: max-height 1s;
	max-height: 2000px;
}
.accordion__item-body {
	margin-bottom: 10px;
}

/* legal pages (Terms, Privacy) */
.legal-page {
	padding-top: 50px;
	padding-bottom: 80px;
}
.legal-page .legal-page__title {
	margin-bottom: 40px;
	color: var(--colors-text-main);
	text-align: center;
}
.legal-page .legal-page__content {
	max-width: 720px;
	margin: 0 auto;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--colors-text-main);
}
.legal-page .legal-page__content h2 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--colors-text-highlight);
	margin: 2em 0 0.5em;
}
.legal-page .legal-page__content h2:first-of-type {
	margin-top: 0;
}
.legal-page .legal-page__content p {
	margin: 0 0 1em;
}
.legal-page .legal-page__content .legal-page__block {
	margin-bottom: 1.5em;
	padding: 1rem;
	background: var(--colors-secondary);
	border-radius: var(--radii);
}
.legal-page .legal-page__company {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	display: grid;
	gap: 1rem;
}
@media (min-width: 576px) {
	.legal-page .legal-page__company {
		grid-template-columns: 1fr 1fr;
	}
}
.legal-page .legal-page__updated {
	margin-top: 2em;
	font-size: 0.9375rem;
	opacity: 0.85;
}

/* footer */
.footer {
	padding: 56px 70px 60px 70px;

	color: var(--colors-primary);

	background-color: var(--colors-tertiary);

	@media (max-width: 768px) {
		padding: 40px 0;
	}
}
.footer__main {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;

	justify-content: space-between;

	padding-bottom: 26px;
	margin-bottom: 26px;
	border-bottom: 2px solid var(--colors-primary);
}
.footer__about {
}
.footer__about-logo {
	display: block;
	margin-bottom: 40px;
}
.footer__about address {
	display: flex;
	flex-direction: column;
	gap: 5px;

	margin-bottom: 50px;

	font-style: normal;
}
.footer__contacts {
	display: flex;
	gap: 20px;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	font-weight: 500;
}
.footer__contacts-data {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.footer__payment {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.footer__payment-title {
	text-transform: uppercase;
	font-weight: 500;

	font-size: 1rem;
}
.footer__payment-grid {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}
.footer__nav {
	display: flex;
	flex-direction: column;
	gap: 10px;

	margin-top: auto;
	margin-bottom: 49px;

	@media (max-width: 576px) {
		margin-bottom: 0;
	}
}
.footer__nav-title {
	font-size: 1rem;
	font-weight: 500;
}
.footer__copy {
	font-weight: 500;
}

/* socials */
.socials {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* showcase default */
.showcase.showcase--default {
	position: relative;

	width: 100%;
	height: auto;

	display: flex;
	align-items: center;
	justify-content: center;

	aspect-ratio: 2.6 /1;

	min-height: 400px;

	@media (max-width: 576px) {
		aspect-ratio: unset;
		padding: 20px 0;
	}
}
.showcase.showcase--default .showcase__picture {
	position: absolute;
	inset: 0;

	z-index: -1;
}
.showcase.showcase--default .showcase__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.showcase.showcase--default .showcase__header {
	max-width: 1063px;
	width: 80%;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;

	padding: 36px 40px 34px;

	color: var(--colors-primary);

	border-radius: 12px;
	background-color: rgba(from var(--colors-tertiary) r g b / 0.42);
	backdrop-filter: blur(15px);
}
.showcase.showcase--default .showcase__title {
	margin-bottom: 0;
	color: var(--colors-primary);
}
.showcase.showcase--default .showcase__subtitle {
	font-size: clamp(1.125rem, 0.192vw + 1.082rem, 1.25rem);
	font-weight: 300;
	text-align: center;
}
.showcase.showcase--default .showcase__caption {
	font-size: clamp(1.375rem, 0.192vw + 1.332rem, 1.5rem);
	font-weight: 500;
	text-align: center;
}

/* showcase main — кнопка-ссылка на каталог (глобальные стили для NavLink) */
.showcase.showcase--main a.showcase__text {
	padding: 10px 15px;
	font-size: clamp(1.125rem, 0.962vw + 0.909rem, 1.75rem);
	font-weight: 500;
	text-align: center;
	color: var(--colors-tertiary);
	text-decoration: none;
	display: inline-block;
	background: var(--colors-primary);
	border-radius: var(--radii);
	transition: opacity 0.2s;
}
.showcase.showcase--main a.showcase__text:hover,
.showcase.showcase--main a.showcase__text:visited,
.showcase.showcase--main a.showcase__text:focus {
	color: var(--colors-tertiary);
}
.showcase.showcase--main a.showcase__text:hover {
	opacity: 0.9;
}

/* showcase main — чипы категорий (глобально: NavLink не получает scoped-атрибут родителя) */
.showcase.showcase--main a.showcase__category-chip {
	padding: 0.45rem 1rem;
	border-radius: 999px;
	font-size: clamp(0.875rem, 0.2vw + 0.85rem, 1rem);
	font-weight: 500;
	text-align: center;
	color: var(--colors-tertiary);
	text-decoration: none;
	background: var(--colors-primary);
	border: 1px solid transparent;
	transition: opacity 0.2s ease;
	display: inline-block;
}
.showcase.showcase--main a.showcase__category-chip:hover,
.showcase.showcase--main a.showcase__category-chip:visited,
.showcase.showcase--main a.showcase__category-chip:focus {
	color: var(--colors-tertiary);
}
.showcase.showcase--main a.showcase__category-chip:hover {
	opacity: 0.92;
}

@media (max-width: 768px) {
	.showcase.showcase--main a.showcase__text {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-wrap: anywhere;
		word-break: normal;
		text-align: center;
	}
	.showcase.showcase--main a.showcase__category-chip {
		flex: 0 1 auto;
		max-width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}

/* product card */
.card.card--prod {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;

	@media (max-width: 576px) {
		gap: 10px;
	}
}
.card.card--prod .card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.card.card--prod .card__image-wrapper {
	position: relative;

	border-radius: var(--radii);
	overflow: hidden;
}

.card.card--prod .card__controls {
	position: absolute;
	top: 20px;
	right: 25px;
	z-index: 2;

	display: flex;
	flex-direction: column;
	gap: 10px;

	max-width: 10%;
	height: auto;

	@media (max-width: 1200px) {
		top: 5%;
		right: 5%;

		gap: 5px;
	}

	@media (max-width: 576px) {
		top: 5px;
		right: 5px;

		gap: 5px;
	}
}
.card.card--prod .card__controls svg,
.card.card--prod .card__controls svg path {
	transition: all 0.3s linear;
}
.card.card--prod .card__controls svg:hover {
	fill: #736c63;
}
.card.card--prod .card__controls svg {
	width: 100%;
	height: auto;
}

.card.card--prod .card__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;

	@media (max-width: 576px) {
		gap: 10px;
	}
}
.card.card--prod .card__title {
	font-size: clamp(1.563rem, 1.058vw + 1.325rem, 2.25rem);
	font-weight: 500;
	color: var(--colors-text-highlight);
	text-align: center;
}
.card.card--prod .card__price {
	font-size: 1.25rem;
	font-weight: 300;
	text-align: center;
}

.card.card--prod .card__add-cart {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 280px;
	margin-top: 0.25rem;
	padding: 0.5rem 1rem;
	font-size: clamp(0.9375rem, 0.25vw + 0.9rem, 1.0625rem);
}
.card.card--prod .card__add-cart:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Каталог и избранное: одинаковая высота карточек в сетке, цена и кнопка/сообщение внизу */
.catalog.catalog--all .catalog__grid,
.catalog.catalog--related .catalog__grid {
	align-items: stretch;
}

.catalog.catalog--all .card.card--prod,
.catalog.catalog--related .card.card--prod {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
	width: 100%;
}

.catalog.catalog--all .card.card--prod .card__image-wrapper,
.catalog.catalog--related .card.card--prod .card__image-wrapper {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 1;
	background: var(--colors-secondary);
	overflow: hidden;
	border-radius: var(--radii);
}

.catalog.catalog--all .card.card--prod .card__image-wrapper picture,
.catalog.catalog--related .card.card--prod .card__image-wrapper picture {
	position: absolute;
	inset: 0;
	display: block;
}

.catalog.catalog--all .card.card--prod .card__image-wrapper .card__image,
.catalog.catalog--related .card.card--prod .card__image-wrapper .card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.catalog.catalog--all .card.card--prod .card__content,
.catalog.catalog--related .card.card--prod .card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 0;
	width: 100%;
	gap: 20px;
}

.catalog.catalog--all .card.card--prod .card__title,
.catalog.catalog--related .card.card--prod .card__title {
	width: 100%;
	text-align: center;
	flex: 0 1 auto;
	line-height: 1.3;
	min-height: calc(1.3em * 3);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.catalog.catalog--all .card.card--prod .card__footer,
.catalog.catalog--related .card.card--prod .card__footer {
	position: relative;
	z-index: 2;
	margin-top: auto;
	width: 100%;
	max-width: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.catalog.catalog--all .card.card--prod .card__price,
.catalog.catalog--related .card.card--prod .card__price {
	flex-shrink: 0;
}

.catalog.catalog--all .card.card--prod .card__stock-note,
.catalog.catalog--related .card.card--prod .card__stock-note {
	margin: 0;
	padding: 0.5rem 1rem;
	font-size: clamp(0.875rem, 0.2vw + 0.85rem, 1rem);
	font-weight: 400;
	color: var(--colors-tertiary);
	text-align: center;
	opacity: 0.9;
	line-height: 1.35;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 576px) {
	.catalog.catalog--all .card.card--prod .card__content,
	.catalog.catalog--related .card.card--prod .card__content {
		gap: 10px;
	}

	.catalog.catalog--all .card.card--prod .card__footer,
	.catalog.catalog--related .card.card--prod .card__footer {
		gap: 10px;
	}
}

/* wishlist empty state */
.wishlist__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	grid-column: 1 / -1;
	padding: 40px 20px;
}

/* catalog */
.catalog {
}
.catalog__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;

	margin-bottom: 70px;

	@media (max-width: 576px) {
		margin-bottom: 40px;
	}
}
.catalog__title {
	margin-bottom: 0;
}
.catalog__text {
	font-size: clamp(1rem, 0.385vw + 0.913rem, 1.25rem);
	text-align: center;
}

.catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 120px 140px;

	@media (max-width: 1400px) {
		gap: 40px;
	}
	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	@media (max-width: 576px) {
		grid-template-columns: 1fr;
		gap: 25px 10px;
	}
}

/* testimonials */
.testimonials {
}
.testimonial__title {
	color: var(--colors-tertiary);
}
/* cards */
.testimonial {
	display: flex;
	flex-direction: column;
	gap: 24px;

	height: 100%;

	padding: 46px 42px;

	background-color: var(--colors-secondary);
	border-radius: var(--radii-lg);

	@media (max-width: 576px) {
		padding: 20px 15px;
	}
}
.testimonial header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;

	@media (max-width: 1200px) {
		flex-direction: column;
		align-items: flex-start;

		time {
			order: -1;
		}
	}
}
.testimonial__rating {
	display: flex;
	align-items: center;
	gap: 4px;
}
.testimonial time {
	font-size: 1.125rem;
	font-weight: 500;
}
.testimonial blockquote {
	flex-grow: 1;
	padding: 0;
	margin: 0;

	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.4;
}

/* Swiper: высота карточки по контенту — иначе у коротких отзывов пустота между текстом и именем */
.swiper-testimonials .swiper-wrapper {
	align-items: flex-start;
}
.swiper-testimonials .swiper-slide {
	align-items: flex-start;
}
.swiper-testimonials .swiper-slide .testimonial {
	height: auto;
	align-self: flex-start;
}
.swiper-testimonials .testimonial blockquote {
	flex-grow: 0;
}

.testimonial__author-figure {
	display: flex;
	align-items: center;
	gap: 21px;

	margin: 0;
}
.testimonial__author-figure img {
	border-radius: 50%;
}
.testimonial__author-name cite {
	font-size: 1.25rem;
	font-weight: 700;
	font-style: normal;
}

/* product quantity */
/* quantity */
.quantity-selector {
	height: auto;

	display: flex;
	align-items: stretch;
	gap: 12px;

	padding: 10px 15px;

	border-radius: var(--radii);
	border: 1px solid var(--colors-text-highlight);
}
.quantity-selector__input,
.quantity-selector__btn {
	font-size: clamp(1.25rem, 0.385vw + 1.163rem, 1.5rem);
	font-weight: 700;
	color: var(--colors-text-highlight);
}
.quantity-selector__input {
	border: 0;
	width: fit-content;
	text-align: center;
	color: var(--colors-text-main);
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
}
.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* --- Mini-cart drawer (site design) --- */
.sh-cart-drawer.mud-drawer {
	background: var(--colors-secondary) !important;
	border-left: 1px solid rgba(163, 169, 139, 0.25);
	box-shadow: -8px 0 32px rgba(32, 25, 15, 0.08);
}

.sh-cart-drawer .mud-typography-h5,
.sh-cart-drawer .mud-typography-h6 {
	color: var(--colors-text-main) !important;
	font-family: 'Playfair Display', serif !important;
}

.sh-cart-drawer .mud-icon-button {
	color: var(--colors-text-main) !important;
}

.sh-cart-drawer .mud-icon-button:hover {
	background: rgba(163, 169, 139, 0.15) !important;
}

.sh-cart-drawer .mud-typography-body1,
.sh-cart-drawer .mud-typography-body2,
.sh-cart-drawer .mud-typography-caption {
	color: var(--colors-text-main) !important;
}

.sh-cart-drawer .mud-typography-color-secondary {
	color: var(--colors-text-main) !important;
	opacity: 0.85;
}

.sh-cart-drawer .mud-image {
	border-radius: var(--radii-lg);
	border: 1px solid rgba(163, 169, 139, 0.25);
}

.sh-cart-drawer .border {
	border-color: rgba(163, 169, 139, 0.45) !important;
	border-radius: var(--radii);
}

.sh-cart-drawer .border .mud-typography-caption {
	color: var(--colors-text-main) !important;
	font-weight: 600;
}

.sh-cart-drawer .border .mud-icon-button {
	color: var(--colors-text-main) !important;
}

.sh-cart-drawer .border-t {
	border-color: rgba(163, 169, 139, 0.35) !important;
}

.sh-cart-drawer .mud-button-filled.mud-button-root {
	background: var(--colors-text-highlight) !important;
	border: 2px solid var(--colors-text-highlight);
	color: var(--colors-primary) !important;
	border-radius: var(--radii-lg);
	box-shadow: 0 4px 18px rgba(163, 169, 139, 0.35);
}

.sh-cart-drawer .mud-button-filled.mud-button-root:hover {
	background: var(--colors-text-main) !important;
	border-color: var(--colors-text-main);
	box-shadow: 0 6px 24px rgba(32, 25, 15, 0.18);
}

.sh-cart-drawer .mud-button-outlined.mud-button-root {
	border: 2px solid var(--colors-text-highlight) !important;
	color: var(--colors-text-main) !important;
	border-radius: var(--radii-lg);
	background: transparent !important;
}

.sh-cart-drawer .mud-button-outlined.mud-button-root:hover {
	border-color: var(--colors-text-main) !important;
	background: rgba(32, 25, 15, 0.04) !important;
}
