/* Nakat: сине-фиолетовое оформление «Уценки» (ЧЕРНОВИК 09.11.2026, на боевом не установлен).
   Включается классом nkt-ucenka на <html> (ставит nakat_ucenka.php на страницах уценки). Остальной сайт красно-белый.
   Бренд-красный шаблона: rgb(255,30,30) = #FF1E1E. Уценка: #5B3FD9, наведение #4328B0, фон плашек #EFEBFF. */
html.nkt-ucenka {
	--uc: #5B3FD9;
	--uc-dark: #4328B0;
	--uc-soft: #EFEBFF;
}
/* кнопки: заливка */
html.nkt-ucenka .btn.btn-default:not(.white):not(.transparent),
html.nkt-ucenka .btn-default.to-cart,
html.nkt-ucenka .btn-search.btn-default {
	background-color: var(--uc) !important;
	border-color: var(--uc) !important;
	color: #fff !important;
}
html.nkt-ucenka .btn.btn-default:not(.white):not(.transparent):hover,
html.nkt-ucenka .btn-default.to-cart:hover,
html.nkt-ucenka .btn-search.btn-default:hover {
	background-color: var(--uc-dark) !important;
	border-color: var(--uc-dark) !important;
}
/* кнопки: контурные («Купить в 1 клик») */
html.nkt-ucenka .btn.btn-default.white,
html.nkt-ucenka .btn.btn-default.transparent {
	background-color: transparent !important;
	border-color: var(--uc) !important;
	color: var(--uc) !important;
}
html.nkt-ucenka .btn.btn-default.white:hover,
html.nkt-ucenka .btn.btn-default.transparent:hover {
	background-color: var(--uc-dark) !important;
	border-color: var(--uc-dark) !important;
	color: #fff !important;
}
/* выбранные характеристики (цвет, размер рамы) и текущие миниатюры */
html.nkt-ucenka li.active,
html.nkt-ucenka li.current {
	border-color: var(--uc) !important;
}
html.nkt-ucenka .sku_props li.active,
html.nkt-ucenka .sku_props li.active span,
html.nkt-ucenka .bx_scu li.active,
html.nkt-ucenka .bx_scu li.active span {
	background-color: var(--uc) !important;
	border-color: var(--uc) !important;
	color: #fff !important;
}
/* плашка «Уценка −N руб.» рядом с ценой: по образцу штатных плашек шаблона
   (плашка скидки .value: Open Sans 12px, радиус 3px, padding 0 8px, высота 21px; sticker_novinka: заглавные, плоская) */
.nkt-uc-badge {
	display: inline-block;
	margin-left: 12px;
	padding: 0 8px;
	border-radius: 3px;
	background: #5B3FD9;
	color: #fff;
	font: 400 12px/21px "Open Sans", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	vertical-align: middle;
	white-space: nowrap;
}
/* розничная цена: как зачёркнутая цена в каталоге (серая, обычное начертание) */
.nkt-uc-old {
	display: block;
	margin-top: 2px;
	font: 400 16px/20px "Open Sans", Arial, sans-serif;
	color: #888;
	text-decoration: line-through;
}
/* «Купить без уценки» на странице уценки: спокойная текстовая ссылка под кнопками покупки, ведёт на исходный товар (UCENKA_ORIG) */
.nkt-uc-buynew {
	display: inline-block;
	margin: 14px 0 10px;
	font: 400 13px/18px "Open Sans", Arial, sans-serif;
	color: #666 !important;
	text-decoration: none !important;
	border-bottom: 1px dashed #aaa;
	cursor: pointer;
}
.nkt-uc-buynew:hover { color: #FF1E1E !important; border-bottom-color: #FF1E1E; }

/* ---- этап 6: страница уценки ---- */
/* «Нашли дешевле?» на странице уценки не нужно */
html.nkt-ucenka .cheaper_form { display: none !important; }
/* штатные два ряда «Цвет/Размер» заменены одним рядом вариантов (клики пробрасываются в штатные кнопки) */
html.nkt-uc-hasvariants .buy_block .wrapper_sku { display: none !important; }
.nkt-uc-variants { margin: 0 0 14px; }
.nkt-uc-vtitle { font: 400 13px/18px "Open Sans", Arial, sans-serif; color: #888; margin-bottom: 6px; }
.nkt-uc-variants ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nkt-uc-variants li {
	padding: 6px 12px; border: 1px solid #d9d9d9; border-radius: 3px; background: #fff;
	font: 400 13px/18px "Open Sans", Arial, sans-serif; color: #333; cursor: pointer; text-transform: none;
}
.nkt-uc-variants li:hover { border-color: #5B3FD9; }
.nkt-uc-variants li.active { background: #5B3FD9; border-color: #5B3FD9; color: #fff; cursor: default; }
/* состояние / дефект выбранного экземпляра (вариант A, выбран пользователем 10.11.2026) */
.nkt-uc-defect {
	position: relative; margin: 0 0 14px; padding: 14px 16px 14px 52px; border: 1px solid #d9d2fb; border-radius: 6px; background: #fff;
	font: 400 14px/21px "Open Sans", Arial, sans-serif; color: #444;
}
.nkt-uc-defect:before {
	content: "i"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%;
	background: #5B3FD9; color: #fff; font: 700 14px/24px Georgia, serif; text-align: center;
}
.nkt-uc-defect b {
	display: block; margin-bottom: 3px; font: 600 12px/16px "Open Sans", Arial, sans-serif;
	text-transform: uppercase; letter-spacing: .06em; color: #5B3FD9;
}

/* ---- этап 6: кнопка «Купить с уценкой» на исходном товаре ---- */
.nkt-uc-offer { margin: 14px 0 6px; }
a.nkt-uc-btn {
	display: inline-flex; align-items: baseline; gap: 10px; padding: 11px 22px; border-radius: 3px;
	border: 1px solid #5B3FD9; background: #5B3FD9; color: #fff !important; text-decoration: none !important;
	font: 600 14px/20px "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em;
	transition: background-color .2s, color .2s;
}
a.nkt-uc-btn:hover { background: #4328B0; border-color: #4328B0; color: #fff !important; }
a.nkt-uc-btn * { color: #fff !important; }
.nkt-uc-btn-p { font-weight: 400; text-transform: none; font-size: 13px; }
.nkt-uc-offer-sub { margin-top: 6px; font: 400 12px/16px "Open Sans", Arial, sans-serif; color: #888; }

/* ---- страница /ucenka/ (список уценённых товаров) ---- */
.nkt-uc-list { --uc: #5B3FD9; --uc-dark: #4328B0; --uc-soft: #EFEBFF; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 10px 0 30px; }
.nkt-uc-tile { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; color: #222; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.nkt-uc-tile:hover { border-color: var(--uc); box-shadow: 0 4px 16px rgba(91, 63, 217, .15); color: #222; text-decoration: none; }
.nkt-uc-img { display: flex; align-items: center; justify-content: center; height: 200px; }
.nkt-uc-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nkt-uc-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.nkt-uc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.nkt-uc-price b { font-size: 22px; }
.nkt-uc-price s { font-size: 14px; color: #8a8a8a; }
.nkt-uc-badge { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--uc); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.nkt-uc-cnt { font-size: 13px; color: #666; }
.nkt-uc-empty { padding: 30px 0; color: #666; }
