* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', 'Roboto', Arial, sans-serif;
	color: #2b2b2b;
	background: #faf8f5;
	line-height: 1.5;
	padding-top: 76px; /* Отступ под фиксированную шапку */
	
	/* Добавляем Flexbox для прижатия подвала */
	display: flex;
	flex-direction: column;
	min-height: 100vh; /* Минимальная высота — весь экран */
}

.clMain {
	flex: 1 0 auto;
}

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

ul {
	list-style: none;
}

.clContainer {
	margin: 0 auto;
	padding: 0 20px;
}

.clHeader {
	background: #fff;
	border-bottom: 1px solid #ece6dc;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.clHeaderInner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 76px;
}

.clLogo {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
	flex-shrink: 0;
}

.clLogoMark {
	width: 38px;
	height: 38px;
	background-image: url(/proj/oleg/floor/img/icon.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
/*	border-radius: 8px;*/
/*	background: repeating-linear-gradient(90deg, var(--floor-main) 0 6px, #8d6740 6px 12px);*/
	flex-shrink: 0;
}

.clLogoText {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.1;
}

.clLogoText span {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--floor-main);
}

.clHeaderSpacer {
	flex: 1;
}

.clHeaderSearch {
	display: flex;
	align-items: center;
	border: 1px solid #ddd5c8;
	border-radius: 6px;
	overflow: hidden;
	width: 300px;
	background: #fdfcfa;
	flex-shrink: 0;
}

.clHeaderSearch input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 10px 14px;
	font-size: 14px;
	outline: none;
	min-width: 0;
}

.clHeaderSearch button {
	border: none;
	background: transparent;
	padding: 0 14px;
	cursor: pointer;
	font-size: 15px;
	color: #8a7f70;
}

.clHeaderSearch button svg {
	width: 20px;
	height: auto;
}

.clHeaderSearch button:hover svg {
	fill: var(--floor-main);
}

.clHeaderActions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-shrink: 0;
}

.clHeaderLink {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 500;
	color: #3d372f;
	position: relative;
}

.clHeaderLink:hover,
.clHeaderLink:hover .clIcon svg {
	fill: var(--floor-main);
}

.clHeaderLink .clIcon {
/*	font-size: 18px;*/
	width: 24px;
	height: 24px;
}

.clHeaderLink .clIcon svg {
	width: 100%;
	height: auto;
}

.clHeaderCart .clCount {
	position: absolute;
	top: -7px;
	left: 12px;
	background: #c0392b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.clBtnLogin {
	background: #2b2b2b;
	color: #fff;
	padding: 9px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.clBtnLogin:hover {
	background: var(--floor-accent);
}

.clBurger {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid #ddd5c8;
	border-radius: 6px;
	background: #fdfcfa;
	cursor: pointer;
	padding: 10px;
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
}

.clBurger span {
	display: block;
	height: 2px;
	background: #3d372f;
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.25s;
}

.clBurger.clActive span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.clBurger.clActive span:nth-child(2) {
	opacity: 0;
}

.clBurger.clActive span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.clMobileMenu {
	display: none;
	background: #fff;
	border-bottom: 1px solid #ece6dc;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.clMobileMenu.clOpen {
	max-height: 400px;
}

.clMobileMenuInner {
	padding: 18px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.clMobileMenuSearch {
	display: flex;
	align-items: center;
	border: 1px solid #ddd5c8;
	border-radius: 6px;
	overflow: hidden;
	background: #fdfcfa;
}

.clMobileMenuSearch input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 11px 14px;
	font-size: 14px;
	outline: none;
	min-width: 0;
}

.clMobileMenuSearch button {
	border: none;
	background: transparent;
	padding: 0 14px;
	cursor: pointer;
	font-size: 15px;
	color: #8a7f70;
}

.clMobileMenuSearch button svg {
	width: 20px;
	height: auto;
}

.clMobileMenuLinks {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.clMobileMenuLink {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 10px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	color: #3d372f;
	position: relative;
}

.clMobileMenuLink:hover {
	background: #f3ece2;
	color: var(--floor-accent);
}

.clMobileMenuLink .clIcon {
	font-size: 18px;
}

.clMobileMenuLink .clCount {
	background: #c0392b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.clMobileMenuLogin {
	background: #2b2b2b;
	color: #fff;
	padding: 12px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.clMobileMenuLogin:hover {
	background: var(--floor-accent);
}

.clCategories {
	margin: 24px 0 0;
}

.clCategoriesTrack {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	justify-content: center;
	padding: 10px 0;
	scrollbar-width: thin;
	scrollbar-color: #d9b382 #f3ece2;
	/* Плавная прокрутка колесиком */
	scroll-behavior: smooth;
}

.clCategoriesTrack::-webkit-scrollbar {
	height: 6px;
}

.clCategoriesTrack::-webkit-scrollbar-track {
	background: #f3ece2;
	border-radius: 3px;
}

.clCategoriesTrack::-webkit-scrollbar-thumb {
	background: #d9b382;
	border-radius: 3px;
}

.clCategory {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 180px;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #ece6dc;
	border-radius: 10px;
	text-align: center;
	transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.ctSel {
	background-color: var(--floor-main);
}

.ctSel * {
	color: #FFF !important;
}

.clCategory:hover {
	border-color: var(--floor-accent);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}

.clCategoryIcon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #f3ece2;
	color: var(--floor-main);
	font-size: 20px;
	/*	display: flex;*/
	display: none;
	align-items: center;
	justify-content: center;
}

.clCategoryName {
	font-size: 14px;
	font-weight: 600;
	color: #2b2b2b;
}

.clCategoryCount {
	font-size: 12px;
	color: #8a7f70;
}

.clSlider {
	position: relative;
	margin: 24px 0 0;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.clSliderTrack {
	display: flex;
	transition: transform 0.5s ease;
}

.clSlide {
	position: relative;
	min-width: 100%;
	min-height: 400px;
	padding: 45px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	isolation: isolate;
}

.clSlide::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(20, 25, 22, 0.82) 0%,
		rgba(20, 25, 22, 0.48) 50%,
		rgba(20, 25, 22, 0.05) 100%
	);
}

.clSlideTag {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(8px);
	border-radius: 30px;
	padding: 7px 16px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 18px;
	align-self: flex-start;
}

.clSlide h2 {
	background: transparent;
	padding: 0;
	border-radius: 0;
	font-size: clamp(24px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.2;
	max-width: 540px;
	margin-bottom: 14px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.clSlide p {
	background: transparent;
	padding: 0;
	border-radius: 0;
	font-size: 16px;
	line-height: 1.6;
	max-width: 420px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 28px;
}

.clSliderBtn {
	display: inline-block;
	background: var(--floor-banner);
	color: #2b2b2b;
	border-radius: 9px;
	padding: 14px 26px;
	font-size: 14px;
	font-weight: 600;
	align-self: flex-start;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
	transition: all 0.25s ease;
}

.clSliderBtn:hover {
	background: var(--floor-accent);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.clSliderArrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #FFF
	border: none;
	cursor: pointer;
	font-size: 18px;
	color: #2b2b2b;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 2;
	opacity: 0.2;
	transition: all .2s ease;
}

.clSliderArrow:hover {
	opacity: 1;
}

.clSliderPrev {
	left: 20px;
}

.clSliderNext {
	right: 20px;
}

.clSliderDots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.clSliderDot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.clSliderDot.clActive {
	background: #fff;
}

.clSection {
	padding: 64px 0;
}

.clSectionAlt {
	background: #fff;
}

.clSectionHead {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 32px;
	gap: 20px;
	flex-wrap: wrap;
}

.clSectionTitle {
	font-size: 28px;
	font-weight: 700;
}

.clSectionTitle span {
	color: var(--floor-main);
}

.clSectionLink {
	font-size: 14px;
	font-weight: 500;
	color: var(--floor-main);
	border-bottom: 1px solid transparent;
}

.clSectionLink:hover {
	border-bottom-color: var(--floor-accent);
}

.clProducts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.clProduct {
	background: #fff;
	border: 1px solid #ece6dc;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: box-shadow 0.2s;
}

.clProduct:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.clProductBadge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #c0392b;
	color: #fff;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 1;
}

.clProductBadgeNew {
	background: #2e7d4f;
}

.clProductImg {
	height: 160px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	background: repeating-linear-gradient(90deg, #c9a06d 0 18px, #b8905e 18px 36px, #d4ae7f 36px 54px);
}

.clProductImgWhite {
	background: repeating-linear-gradient(90deg, #f2ede4 0 30px, #e6dfd2 30px 60px);
	color: #9c9184;
}

.clProductImgBlue {
	background: repeating-linear-gradient(90deg, #5b7fa6 0 30px, #4a6d92 30px 60px);
}

.clProductImgTile {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(225deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(135deg, #8d6740, #6b5640);
}

.clProductImgPanel {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 40px 100%,
		linear-gradient(180deg, #b8905e, #8d6740);
}

.clProductBody {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.clProductName {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}

.clProductArt {
	font-size: 11px;
	color: #b0a695;
	margin-bottom: 8px;
}

.clProductSpecs {
	font-size: 12px;
	color: #8a7f70;
	margin-bottom: 14px;
	flex: 1;
	display: grid;
	gap: 2px;
}

.clProductSpecs b {
	font-weight: 500;
	color: #5c5348;
}

.clProductPrice {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
}

.clProductPrice small {
	font-size: 12px;
	font-weight: 400;
	color: #8a7f70;
}

.noAct {
	text-decoration: line-through;
	color: #999;
}

.clBtnCart {
	width: 100%;
	background: #2b2b2b;
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.clBtnCart:hover {
	background: var(--floor-accent);
}

.clAbout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.clAboutImg {
	height: 360px;
	border-radius: 12px;
	background: url(/proj/oleg/floor/img/about.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.clAboutText p {
	color: #5c5348;
	margin-bottom: 18px;
	font-size: 15px;
}

.clAboutStats {
	display: flex;
	gap: 40px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.clAboutStat strong {
	display: block;
	font-size: 28px;
	color: var(--floor-main);
	line-height: 1.2;
}

.clAboutStat span {
	font-size: 13px;
	color: #8a7f70;
}

.clWhy {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.clWhyItem {
	background: #fff;
	border: 1px solid #ece6dc;
	border-radius: 10px;
	padding: 28px 24px;
}

.clWhyIcon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: #f3ece2;
	color: var(--floor-main);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.clWhyItem h3 {
	font-size: 16px;
	margin-bottom: 8px;
}

.clWhyItem p {
	font-size: 13px;
	color: #8a7f70;
}

.clFooter {
	background: #211d18;
	color: #c9c0b4;
	padding: 40px 0 24px;
	font-size: 13px;
}

.clFooterBottom {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #8a7f70;
	flex-wrap: wrap;
	gap: 10px;
}

.clFooterBottom a:hover {
	color: #d9b382;
}

/*  */

.clUpload {
	margin: 40px auto 0;
	padding: 24px;
	max-width: 640px;
	background: #fff;
	border: 1px solid #ece6dc;
	border-radius: 10px;
}

.clUploadLabel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.clUploadTitle {
	font-weight: 600;
}

.clUploadLabel input[type="file"] {
	font-size: 14px;
	padding: 10px;
	border: 1px dashed #d9b382;
	border-radius: 6px;
	background: #fdfcfa;
	cursor: pointer;
}

.clUploadResult {
	margin-top: 18px;
	font-size: 13px;
}

.clUploadResult--load {
	color: var(--floor-main);
}

.clUploadResult--ok {
	color: #2e7d4f;
}

.clUploadResult--err {
	color: #c0392b;
}

.clUploadResult ul {
	margin: 6px 0 0 18px;
	padding: 0;
	list-style: disc;
}

.clUploadErrors {
	margin-top: 10px;
	color: #c0392b;
}

/*  */

mark {
	background-color: #fceeb5;
	color: #2b2b2b;
	padding: 0 2px;
	border-radius: 2px;
	font-weight: inherit;
}

.clAuth {
	padding: 60px 20px;
	display: flex;
	justify-content: center;
}

.clAuthBox {
	background: #fff;
	padding: 40px;
	border-radius: 12px;
	border: 1px solid #ece6dc;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.clFormGroup {
	margin-bottom: 15px;
}

.clFormGroup label {
	display: block;
	font-size: 13px;
	color: #8a7f70;
	margin-bottom: 5px;
}

.clFormGroup input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd5c8;
	border-radius: 6px;
	font-size: 15px;
	outline: none;
	background: #fdfcfa;
	transition: border-color 0.2s;
}

.clFormGroup input:focus {
	border-color: var(--floor-main);
}

.clProfileTab {
	background: #fff;
	border: 1px solid #ece6dc;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #2b2b2b;
	transition: all 0.2s;
}

.clProfileTab.clActive, .clProfileTab:hover {
	background: var(--floor-accent);
	color: #fff;
	border-color: var(--floor-main);
}

.clCartItem {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.clCartItem:last-child { border-bottom: none; }

.clCartItemInfo b { font-size: 15px; }
.clCartItemInfo small { color: #8a7f70; font-size: 12px; }

.clCartItemPrice { text-align: right; min-width: 110px; }
.clCartItemPrice small { color: #8a7f70; font-size: 12px; }

.clCartItemQty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fdfcfa;
  border: 1px solid #ddd5c8;
  border-radius: 6px;
  padding: 2px;
}
.clQtyBtn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  color: #3d372f;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  line-height: 1;
}
.clQtyBtn:hover { background: #f3ece2; color: var(--floor-accent); }
.clQtyBtn:disabled { opacity: 0.4; cursor: not-allowed; }

.clQtyInput {
  width: 44px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
}
.clQtyInput::-webkit-outer-spin-button,
.clQtyInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.clCartItemSum { min-width: 100px; text-align: right; font-size: 16px; }

.clCartItemRemove {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #c0392b;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  line-height: 1;
}
.clCartItemRemove:hover { background: #fbe9e7; }


/* Модальное окно авторизации */

.clAuthNoScroll {
	overflow: hidden;
}

.clAuthOverlay {
	position: fixed;
	inset: 0;
	z-index: 5000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(25, 23, 20, 0.65);
	backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.clAuthOverlay.clAuthVisible {
	opacity: 1;
}

.clAuthModal {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 38px 30px 30px;
	background: #fff;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.25s ease;
}

.clAuthVisible .clAuthModal {
	transform: translateY(0) scale(1);
}

.clAuthClose {
	position: absolute;
	top: 12px;
	right: 17px;
	border: none;
	background: transparent;
	color: #a69b8b;
	font-size: 27px;
	cursor: pointer;
}

.clAuthClose:hover {
	color: #2b2b2b;
}

.clAuthIcon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f3ece2;
	color: var(--floor-main);
}

.clAuthModal h2 {
	font-size: 22px;
	font-weight: 700;
	color: #2b2b2b;
	margin-bottom: 12px;
}

.clAuthModal p {
	font-size: 14px;
	line-height: 1.7;
	color: #8a7f70;
	margin-bottom: 28px;
}

.clAuthButtons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.clAuthButtons button,
.clAuthButtons a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.clAuthOk {
	border: 1px solid #e5ded4;
	background: #f5f2ed;
	color: #51483e;
}

.clAuthOk:hover {
	background: #ebe4da;
}

.clAuthLogin {
	border: 1px solid #d9b382;
	background: #d9b382;
	color: #2b2b2b;
}

.clAuthLogin:hover {
	background: #c9a06d;
	border-color: #c9a06d;
	transform: translateY(-2px);
}

@media (max-width: 480px) {
	.clAuthModal {
		padding: 35px 20px 24px;
	}

	.clAuthModal h2 {
		font-size: 20px;
	}
}

@media (max-width: 720px) {
  .clCartItem {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .clCartItemInfo { grid-column: 1 / 2; }
  .clCartItemRemove { grid-column: 2 / 3; grid-row: 1 / 2; justify-self: end; }
  .clCartItemPrice { grid-column: 1 / 2; text-align: left; }
  .clCartItemQty { grid-column: 1 / 2; justify-self: start; }
  .clCartItemSum { grid-column: 2 / 3; grid-row: 2 / 3; }
}

@media (max-width: 1100px) {
	.clHeaderSearch {
		width: 220px;
	}

	.clProducts {
		grid-template-columns: repeat(3, 1fr);
	}

	.clWhy {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.clProducts {
		grid-template-columns: repeat(2, 1fr);
	}

	.clAbout {
		grid-template-columns: 1fr;
	}

	.clSlide {
		padding: 50px 40px;
	}

	.clSlide h2 {
		font-size: 30px;
	}

	.clCategoriesTrack {
		justify-content: flex-start;
	}
}

@media (max-width: 820px) {
	body {
		padding-top: 64px;
	}

	.clHeaderSearch,
	.clHeaderActions {
		display: none;
	}

	.clHeaderInner {
		justify-content: space-between;
		height: 64px;
	}

	.clHeaderSpacer {
		display: none;
	}

	.clBurger {
		display: flex;
	}

	.clMobileMenu {
		display: block;
	}
}

@media (max-width: 650px) {
	.clSlide {
		min-height: 370px;
		padding: 25px;
		background-position: center;
	}

	.clSlide::before {
		background: linear-gradient(
			0deg,
			rgba(20, 25, 22, 0.88),
			rgba(20, 25, 22, 0.08)
		);
	}

	.clSlide h2 {
		font-size: 25px;
	}

	.clSlide p {
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.clLogoText {
		font-size: 16px;
	}

	.clLogoText span {
		font-size: 9px;
		letter-spacing: 1.5px;
	}

	.clProducts,
	.clWhy {
		grid-template-columns: 1fr;
	}

	.clSlide {
		padding: 40px 24px;
		min-height: 320px;
	}

	.clSliderArrow {
		display: none;
	}

	.clSection {
		padding: 44px 0;
	}

	.clAboutStats {
		gap: 24px;
	}

	.clCategory {
		min-width: 150px;
		padding: 14px 16px;
	}
}

/* Страница товара */
.clProductImg, .clProductName {
	cursor: pointer;
}
.clProductName:hover, .clProductBack:hover {
	color: var(--floor-accent);
}
.clProductBack {
	display: inline-block;
	margin-bottom: 24px;
	color: #6c6256;
}
.clProductDetail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.clProductDetailMedia {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}
.clProductDetailImage {
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.clProductDetailContent {
	background: #fff;
	border: 1px solid #ece6dc;
	border-radius: 12px;
	padding: 30px;
}
.clProductDetailContent h1 {
	font-size: 28px;
	line-height: 1.25;
	margin-bottom: 12px;
}
.clProductDetailContent h2 {
	font-size: 19px;
	margin: 30px 0 12px;
}
.clProductDetailPrice {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 24px;
}
.clProductDetailPrice strong {
	font-size: 30px;
}
.clProductDetailPrice > span:last-child, .clProductDetailPack {
	color: #8a7f70;
}
.clProductOldPrice {
	color: #999;
	text-decoration: line-through;
}
.clProductDetailPack {
	margin-bottom: 20px;
}
.clProductDetailDescription {
	color: #5c5348;
}
.clProductDetailSpec {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid #ece6dc;
}
.clProductDetailSpec span {
	color: #8a7f70;
}
.clProductDetailSpec strong {
	text-align: right;
	font-weight: 500;
}
@media (max-width: 760px) {
	.clProductDetail {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.clProductDetailImage {
		min-height: 260px;
	}
	.clProductDetailContent {
		padding: 20px;
	}
	.clProductDetailContent h1 {
		font-size: 23px;
	}
}

/* Галерея товара */
.clProductImg img {width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.clProductGalleryMain {overflow:hidden;background:#fff}
.clProductGalleryMain > a {display:flex;width:100%;height:420px;align-items:center;justify-content:center}
.clProductGalleryMain img {width:100%;height:100%;object-fit:contain}
.clProductGalleryThumbs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.clProductGalleryThumb {display:flex;aspect-ratio:1;overflow:hidden;border:1px solid #ece6dc;border-radius:8px;background:#fff;align-items:center;justify-content:center}
.clProductGalleryThumb a {display:block;width:100%;height:100%}
.clProductGalleryThumb img {width:100%;height:100%;object-fit:cover}
.clProductGalleryVideo {flex-direction:column;gap:5px;color:var(--floor-main);text-align:center}
.clProductGalleryVideo span {font-size:28px}
.clProductGalleryVideo small {font-size:12px}
@media(max-width:650px) {.clProductGalleryMain > a {height:300px}.clProductGalleryThumbs {grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Подтверждение удаления из корзины — оформление окна авторизации */
#clCartRemoveModal .clCartRemoveConfirm {
	border: 1px solid #d9b382;
	background: #d9b382;
	color: #2b2b2b;
}
#clCartRemoveModal .clCartRemoveConfirm:hover:not(:disabled) {
	background: #c9a06d;
	border-color: #c9a06d;
	transform: translateY(-2px);
}
#clCartRemoveModal .clCartRemoveConfirm:disabled {
	opacity: .65;
	cursor: wait;
}
#clCartRemoveModal .clCartRemoveError {
	margin: 14px 0 0;
	font-size: 13px;
	color: #c0392b;
}


/* Миниатюры товаров в корзине */
.clCartItemInfo {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.clCartThumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid #ece6dc;
	border-radius: 10px;
	background: #faf8f5;
}
.clCartThumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.2s ease;
}
.clCartThumb:hover img { transform: scale(1.06); }
.clCartThumbPlaceholder {
	font-size: 11px;
	color: #9c9184;
}
.clCartItemDetails { min-width: 0; }
.clCartItemTitle {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #2b2b2b;
}
.clCartItemTitle:hover { color: var(--floor-accent); }
.clCartItemDetails small {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #8a7f70;
}
@media (max-width: 480px) {
	.clCartItemInfo { gap: 10px; }
	.clCartThumb { flex-basis: 60px; width: 60px; height: 60px; }
}

.clPasswordWrap {
	position: relative;
	width: 100%;
}

.clPasswordWrap input {
	width: 100%;
	box-sizing: border-box;
	padding-right: 45px !important;
}

.clPasswordToggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	background: transparent;
	color: #777;
	cursor: pointer;
	z-index: 2;
}

.clPasswordToggle:hover {
	color: #222;
}

.clPasswordToggle svg {
	width: 21px;
	height: 21px;
}

.clPasswordToggle .clEyeSlash {
	display: none;
}

.clPasswordToggle:not(.clVisible) .clEyeSlash {
	display: block;
}
/* Excel upload in administrator profile */
.clAdminExcel {padding:22px;margin:0 0 28px;background:#fff;border:1px solid #ece6dc;border-radius:10px}
.clAdminExcel h3 {margin:0 0 8px}
.clAdminExcel p {margin-bottom:14px;color:#665e55}
.clAdminExcel form {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.clAdminExcel input[type=file] {max-width:100%}
.clAdminExcel .clUploadResult {margin-top:14px;white-space:pre-wrap}
.clAdminExcel .clUploadResult--err {color:#b42318}
.clAdminExcel .clUploadResult--ok {color:#267047}
.clAdminExcel .clUploadResult li {margin:5px 0}

/* Наличие товара в упаковках */
.clOutOfStock {
	display: block;
	padding: 11px 14px;
	border-radius: 6px;
	background: #f3f1ef;
	color: #9b3d36;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}
.clCartUnavailable {
	margin-top: 7px;
	padding: 5px 9px;
	text-align: left;
	font-size: 12px;
}
.clStockHint {
	display: block;
	margin-top: 5px;
	color: #2e7d4f;
}
.clCartItem[data-stock="0"] .clLineSum {
	color: #9b3d36;
	font-size: 13px;
}
.clCartItem .clQtyBtn:disabled,
.clCartItem .clQtyInput:disabled {
	cursor: not-allowed;
	opacity: .5;
}

/* Настраиваемая палитра */
/*.clBtnLogin, .clMobileMenuLogin, .clBtnCart {background:var(--floor-main,#2b2b2b)}*/
/*.clSliderBtn, .ctSel {background:var(--floor-banner,#d9b382)}*/
/*.clSliderBtn:hover {background:var(--floor-banner,#d9b382);filter:brightness(1.08)}*/
/*.clLogoText span,.clSectionTitle span,.clSectionLink,.clAboutStat strong,*/
/*.clProductName:hover,.clProductBack:hover,.clHeaderSearch button:hover svg,*/
/*.clCategoryIcon {color:var(--floor-main)}*/
/*.clAboutText p {color:var(--floor-about,#2b2b2b)}*/
/*.clLogoMark {background:repeating-linear-gradient(90deg,var(--floor-main,var(--floor-accent)) 0 6px,var(--floor-main,#2b2b2b) 6px 12px)}*/

/* Сканер QR */
.clQrScan {display:flex;align-items:center;justify-content:center;flex-shrink:0}
.clQrDialog {width:min(440px,94vw);max-height:90vh;overflow:auto;margin:auto;padding:20px;border:1px solid #ece6dc;border-radius:12px;background:#fff;color:#2b2b2b}
.clQrDialog::backdrop {background:#0009}
.clQrDialog h2 {font-size:20px;margin-bottom:12px}
.clQrDialog input {width:100%;padding:10px;margin:10px 0;border:1px solid #ddd5c8;border-radius:6px}
.clQrDialog button {padding:9px 14px;margin:5px 5px 5px 0;border:1px solid #ddd5c8;border-radius:6px;cursor:pointer}
.clQrStatus {font-size:13px;color:#8a7f70;margin:8px 0}
