/* =========================================================================
   Внешний вид в стиле interstone.su
   -------------------------------------------------------------------------
   Отдельный слой поверх modern.css / product-card.css / mobile-menu.css.
   Меняет только оформление: палитру, типографику, кнопки, карточки,
   шапку и подвал. Разметка, компоненты, фильтры и логика каталога
   не затрагиваются.

   Палитра и пропорции взяты с interstone.su:
     тёмный графит #222729 · красный #ca2d1b · тёмная бирюза #004b60
     светлый фон #f5f5f6 · линии #e0e4e8 · приглушённый #5d676e
     радиус карточек 14px · кнопки капсом без скругления

   Откат: удалить <link> на этот файл в header.php.
   ========================================================================= */

:root {
	/* Переопределяем токены, на которых построены остальные слои */
	--kc-bg: #ffffff;
	--kc-bg-soft: #f5f5f6;
	--kc-ink: #222729;
	--kc-ink-soft: #3a4245;
	--kc-ink-mute: #5d676e;
	--kc-line: #e0e4e8;
	--kc-accent: #ca2d1b;
	--kc-accent-ink: #a82415;
	--kc-accent-soft: #fbeeec;
	--kc-sale: #ca2d1b;
	--kc-radius: 14px;
	--kc-radius-sm: 2px;
	--kc-shadow: 0 1px 2px rgba(34, 39, 41, .04), 0 10px 30px rgba(34, 39, 41, .06);
	--kc-shadow-hover: 0 2px 6px rgba(34, 39, 41, .06), 0 18px 44px rgba(34, 39, 41, .12);
	--kc-ease: cubic-bezier(.22, 1, .36, 1);

	/* Собственные токены направления */
	--is-navy: #004b60;
	--is-navy-deep: #00313e;
	--is-red: #ca2d1b;
	--is-red-dark: #a82415;
	--is-mut: #5d676e;
	--is-line: #e0e4e8;
	--is-bg: #f5f5f6;
}

/* ---------- Основа ---------- */
body {
	font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #292929;
	background: #ffffff;
}

/* Шаблон задаёт GraphikLCG у ~58 элементов — переводим их на Manrope,
   чтобы шрифт был единым по всему сайту. */
h1, h2, h3, h4, h5, h6,
p, li, span, div, a, td, th, label,
input, select, textarea, button,
.collection-box-title,
.collection-box-price,
.catalog1-box-bottom h3,
.thumb-box-bottom-text,
.thumb-box-bottom h3,
.desctop-menu-title,
.desctop-menu-phone,
.desctop-menu-phone-text,
.footer-phone-new,
.mobile-header .submenu > li,
.mobile-header .submenu .submenu li,
.contacts-box-title,
.contacts-box-text1,
.colection-text,
.news-list .item .desc,
.news-list .item .desc1,
.modal1-list b,
.modal1-list1 b,
.modal1-list2 b,
.modal1-list3 b,
.modal1-list span,
.modal1-list1 span,
.modal1-list2 span,
.modal1-list3 > li > span,
.cil-price,
.cil-price-old,
.cil-price-new,
.cil-price-normal,
.share-block-title,
.share-block-link-button {
	font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

a {
	color: var(--is-red);
}

a:hover {
	color: var(--is-red-dark);
}

::selection {
	background: var(--is-red);
	color: #fff;
}

/* ---------- Заголовки ---------- */
h1, .h1 {
	font-weight: 400 !important;
	font-size: 40px !important;
	line-height: 1.12 !important;
	letter-spacing: -.01em;
	color: var(--kc-ink);
}

h2, .h2 {
	font-weight: 400;
	letter-spacing: -.005em;
}

/* Заголовки секций на главной и в каталоге */
.thumb-block h2,
.catalog1-title,
.news-list .item h3 {
	font-weight: 400 !important;
	color: var(--kc-ink) !important;
	letter-spacing: -.005em;
}

.thumb-block h2 {
	font-size: 40px !important;
	line-height: 1.12 !important;
	padding: 0 0 30px 0 !important;
}

.catalog1-title {
	font-size: 40px !important;
	line-height: 1.12 !important;
	padding: 10px 0 26px !important;
}

/* ---------- Шапка ---------- */
#top-nav,
#top-nav.scroll1 {
	background: #fff !important;
	box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

#top-nav.scroll,
#top-nav.headertop {
	box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.logo-new img {
	max-height: 40px;
}

/* Верхнее меню: капсом, с трекингом, как в референсе.
   11px было слишком мелко — увеличили до 13px, трекинг чуть уменьшили,
   боковые отступы поджали, чтобы пункты по-прежнему влезали в строку. */
ul.desctop-menu > li > a {
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .09em !important;
	text-transform: uppercase;
	color: var(--kc-ink) !important;
	padding: 20px 12px !important;
}

ul.desctop-menu > li > a::after {
	bottom: 12px !important;
	height: 2px;
	background: var(--is-red) !important;
}

ul.desctop-menu > li:hover > a {
	color: var(--is-red) !important;
}

/* Выпадающая панель */
.desctop-menu-hover {
	border-top: 1px solid var(--is-line) !important;
	box-shadow: 0 24px 48px -24px rgba(34, 39, 41, .3) !important;
	padding: 34px 40px 10px !important;
}

.desctop-menu-title {
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase;
	color: var(--is-mut) !important;
}

ul.desctop-flex-list li {
	font-size: 15px !important;
}

ul.desctop-flex-list li a {
	color: var(--kc-ink) !important;
}

ul.desctop-flex-list li a:hover {
	color: var(--is-red) !important;
	padding-left: 0 !important;
}

/* Поиск: строгое поле с тонкой рамкой */
#search-form1 {
	border-radius: 2px !important;
	border: 1px solid var(--is-line) !important;
	background: var(--is-bg) !important;
	height: 38px;
}

#search-form1:focus-within {
	background: #fff !important;
	border-color: var(--is-red) !important;
	box-shadow: 0 0 0 3px rgba(202, 45, 27, .1) !important;
}

#search-form1 input[type=text] {
	padding: 4px 44px 4px 12px !important;
	font-size: 13px !important;
}

/* ---------- Кнопки ---------- */
.btn,
button,
input[type="submit"],
input[type="button"],
.button,
.kc-404 .kc-btn,
.kc-stub .kc-btn,
.share-block-link-button {
	border-radius: 2px !important;
}

.kc-404 .kc-btn,
.kc-stub .kc-btn,
.share-block-link-button {
	background: var(--is-red) !important;
	border-color: var(--is-red) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	padding: 15px 26px !important;
}

.kc-404 .kc-btn:hover,
.kc-stub .kc-btn:hover,
.share-block-link-button:hover {
	background: var(--is-red-dark) !important;
	border-color: var(--is-red-dark) !important;
}

.kc-404 .kc-btn_ghost {
	background: transparent !important;
	color: var(--is-red) !important;
	border: 1px solid var(--is-red) !important;
}

.kc-404 .kc-btn_ghost:hover {
	background: var(--is-red) !important;
	color: #fff !important;
}

/* Кнопка «Подробнее» на карточках главной */
.thumb-box-bottom-button {
	border-radius: 2px !important;
	border: 1px solid var(--is-line) !important;
	background: #fff !important;
	text-transform: uppercase !important;
	font-size: 11px !important;
	letter-spacing: .1em !important;
	font-weight: 600 !important;
	padding: 11px 0 !important;
	width: 150px !important;
	transition: background .2s var(--kc-ease), border-color .2s var(--kc-ease);
}

.thumb-box-bottom-button:hover {
	background: var(--is-red) !important;
	border-color: var(--is-red) !important;
}

.thumb-box-bottom-button:hover a {
	color: #fff !important;
}

/* ---------- Карточки ---------- */
.collection-box,
.item-block .box,
.news-list .item,
.thumb-box,
.thumb1-box,
.catalog1-box {
	border-radius: var(--kc-radius) !important;
	border: 1px solid var(--is-line) !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(34, 39, 41, .04) !important;
}

.collection-box:hover,
.item-block .box:hover,
.news-list .item:hover,
.thumb-box:hover,
.catalog1-box:hover {
	border-color: #cfd6db !important;
	box-shadow: var(--kc-shadow-hover) !important;
}

/* Секции с карточками на главной — на светлом фоне, как в референсе */
.thumb-block {
	background: var(--is-bg);
	padding: 46px 0 30px;
	margin: 0 0 10px;
}

.thumb-block + .thumb-block {
	margin-top: 0;
}

/* Каталог: карточки разделов */
.catalog1-box {
	overflow: hidden;
}

.catalog1-box-bottom h3 {
	font-weight: 400 !important;
	font-size: 22px !important;
	letter-spacing: .01em;
}

/* ---------- Плашки на карточках ---------- */
.collection-box > .cil-new {
	background: var(--is-navy) !important;
	border-radius: 2px !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	height: 22px !important;
	padding: 0 10px !important;
}

.collection-box > .cil-sale {
	background: var(--is-red) !important;
	border-radius: 2px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: .04em !important;
	height: 22px !important;
	padding: 0 10px !important;
}

/* ---------- Фото в карточке товара: белая рамка ----------
   Раньше фото занимало карточку от края до края и верхние скругления
   карточки (14px) «съедали» углы плитки — выглядело так, будто её обрезали
   (например OASIS / ARMANY 60x60). Теперь фото — внутри карточки с отступом,
   со своими скруглениями, и никуда не упирается. */
.collection-box {
	--kc-photo-gap: 12px;
}

.collection-box > .collection-box-foto {
	margin: var(--kc-photo-gap) var(--kc-photo-gap) 0 !important;
	border-radius: calc(var(--kc-radius) - var(--kc-photo-gap) - 1px) !important;
	overflow: hidden;
}

/* Плашки «НОВИНКА» и «-N%» — внутрь белой рамки, чтобы не ложились на фото */
.collection-box > .cil-new,
.collection-box > .cil-sale {
	top: calc(var(--kc-photo-gap) + 8px) !important;
}

.collection-box > .cil-new {
	left: calc(var(--kc-photo-gap) + 8px) !important;
}

.collection-box > .cil-sale {
	right: calc(var(--kc-photo-gap) + 8px) !important;
}

@media screen and (max-width: 767px) {
	.collection-box {
		--kc-photo-gap: 8px;
	}

	.collection-box > .cil-new,
	.collection-box > .cil-sale {
		top: calc(var(--kc-photo-gap) + 6px) !important;
	}

	.collection-box > .cil-new {
		left: calc(var(--kc-photo-gap) + 6px) !important;
	}

	.collection-box > .cil-sale {
		right: calc(var(--kc-photo-gap) + 6px) !important;
	}
}

/* ---------- Цены ---------- */
.collection-box-price.cil-price .cil-price-new {
	color: var(--is-red) !important;
	font-weight: 600 !important;
}

.collection-box-price.cil-price .cil-price-new .cil-star {
	color: var(--is-red) !important;
}

.collection-box-price.cil-price .cil-price-normal {
	color: var(--kc-ink) !important;
	font-weight: 500 !important;
}

.collection-box-price.cil-price .cil-price-old {
	color: #8b9298 !important;
}

/* ---------- Окно товара ---------- */
.modal1 {
	border-radius: 14px !important;
	box-shadow: 0 30px 80px -24px rgba(34, 39, 41, .45) !important;
}

.modal1 .cil-popup-new {
	color: var(--is-red) !important;
}

.modal1-list span,
.modal1-list1 span,
.modal1-list2 span,
.modal1-list3 > li > span {
	color: var(--is-mut) !important;
}

.modal1-list3 ul li.active::before {
	background: var(--is-navy) !important;
}

/* ---------- Меню «Контакты» ---------- */
.desctop-menu-hover .desctop-menu-phone a {
	color: var(--kc-ink) !important;
	font-weight: 500;
}

.desctop-menu-hover .desctop-menu-phone a:hover {
	color: var(--is-red) !important;
}

.desctop-menu-hover .desctop-flex-list1 li a:hover {
	color: var(--is-red) !important;
}

/* ---------- Подвал ---------- */
.footer {
	background: var(--is-navy-deep) !important;
	color: #fff;
	border-top: 0 !important;
	padding: 34px 0 40px;
	margin-top: 40px;
}

.footer-phone-new {
	font-size: 20px !important;
	line-height: 1.5 !important;
}

.footer-phone-new span {
	padding: 0 24px 10px 0 !important;
}

.footer-phone-new a {
	color: #fff !important;
	text-decoration: none;
	transition: color .2s var(--kc-ease);
}

.footer-phone-new a:hover {
	color: #e4968d !important;
}

.footer a {
	color: #fff;
}

.footer a:hover {
	color: #e4968d;
}

/* ---------- Мобильное меню ---------- */
@media screen and (max-width: 991px) {
	.mobile-header .tabs__caption li.active {
		color: var(--is-red) !important;
	}

	.mobile-header .submenu > li > a:hover,
	.mobile-header .submenu .submenu li a:hover {
		color: var(--is-red) !important;
	}

	.mobile-header .submenu > li.menu-item-has-children > a.current-a::after {
		border-color: var(--is-red) !important;
	}

	.mobile-header-link a {
		color: var(--is-red) !important;
	}

	.mobile-version {
		box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
	}
}

/* ---------- Мелкие детали ---------- */
#search-form1 .search1:hover {
	color: var(--is-red) !important;
}

.kc-404 .kc-btn,
.kc-stub .kc-btn {
	box-shadow: none;
}

/* Заголовки внутри контента не «прыгают» по весу */
.contacts-box-title,
.contacts-box-text1,
.colection-text {
	color: #292929;
}

/* Скругление у изображений галереи в окне товара */
/* Окно товара: большое фото без скругления и обрезки углов
   (скругление — только у белой подложки контейнера, см. product-card.css) */
.modal1-foto,
.modal1-foto img {
	border-radius: 10px !important;
}
.modal1-foto img {
	border-radius: 4px !important;
	background: #fff;
}

/* ===== Заголовки страниц (H1) ===== */
.kc-page-title {
	max-width: 1170px;
	margin: 28px auto 10px;
	padding: 0 15px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 400;
	color: #222729;
	text-align: left;
}
h1.catalog1-title,
h2.catalog1-title {
	margin: 0;
	font-weight: 400;
}
/* скрытый H1 главной (для SEO и скринридеров, визуально не мешает) */
.kc-vh {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 767px) {
	.kc-page-title { font-size: 24px; margin-top: 18px; }
}

/* ===== Страница раздела: бренды-чипсы и витрина коллекций ===== */
.kc-section-brands {
	max-width: 1170px;
	margin: 0 auto 6px;
	padding: 0 15px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.kc-section-brands-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #6b7278;
	margin-right: 4px;
}
.kc-brand-chip {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid #e0e4e8;
	border-radius: 2px;
	background: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #222729 !important;
	text-decoration: none !important;
	transition: border-color .15s, color .15s;
}
.kc-brand-chip:hover {
	border-color: #ca2d1b;
	color: #ca2d1b !important;
}
.kc-collections-block { margin-top: 10px; }
.kc-hidden { display: none !important; }
.kc-show-more-wrap { text-align: center; margin: 26px 0 10px; }
.kc-show-more {
	display: inline-block;
	padding: 13px 30px;
	border: 1px solid #222729;
	border-radius: 2px;
	background: transparent;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #222729;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.kc-show-more:hover { background: #222729; color: #fff; }
