/**
 * Nobilis Shop — Modular UI/UX Stylesheet (Astra Child)
 * Референс карточек и чистого ритейл-интерфейса: maroshka.com
 * Палитра: графит #1c1c1c, кремовый #faf8f5, шалфейно-золотой #7c6a53,
 *          наличие #2e6f40, под заказ #b4690e.
 */

/* ==========================================================================
   1. СБРОС ASTRA #PRIMARY, ШАПКА САЙТА (HEADER, МЕССЕНДЖЕРЫ, НАВИГАЦИЯ)
   ========================================================================== */

#primary,
#primary.ns-front-main,
#content.site-content #primary {
	margin: 0 !important;
	padding: 0;
}

.ns-site-header {
	position: relative;
	z-index: 95;
}

.ns-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

.ns-front-main {
	display: block;
	width: 100%;
	min-width: 0;
}

.ns-front-main + .ns-footer {
	margin-top: 0;
}

/* Основная полоса шапки Nobilis Shop */
.ns-header-main {
	background-color: var(--ns-surface);
	border-bottom: 1px solid var(--ns-border);
	padding-block: 0;
}

.ns-header-main__inner {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
	padding-block: 12px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
}

.ns-brand-logo {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-decoration: none;
}

.ns-brand-logo__media {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.ns-brand-logo__img {
	width: 56px;
	height: 56px;
	mix-blend-mode: multiply;
	border-radius: 4px;
	flex-shrink: 0;
	display: block;
}

.ns-brand-logo__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ns-brand-logo__title {
	font-family: var(--ns-font-serif);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--ns-graphite);
	line-height: 1.1;
	text-transform: uppercase;
}

.ns-brand-logo__subtitle {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ns-gold);
	margin-top: 3px;
	font-weight: 600;
}

/* Быстрый поиск в шапке (стиль maroshka.com) */
.ns-header-search {
	max-width: 520px;
	width: 100%;
	justify-self: center;
}

.ns-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.ns-search-form__input {
	width: 100%;
	min-height: 44px;
	padding: 8px 48px 8px 16px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 16px;
	color: var(--ns-graphite);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ns-search-form__input:focus {
	outline: none;
	background-color: var(--ns-surface);
	border-color: var(--ns-gold);
	box-shadow: 0 0 0 3px rgba(124, 106, 83, 0.12);
}

.ns-search-form__btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: var(--ns-gold);
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

button.ns-search-form__btn:hover,
button.ns-search-form__btn:focus {
	background: transparent;
	border-color: transparent;
	color: var(--ns-graphite);
}

.ns-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ns-header-phone {
	display: flex;
	flex-direction: column;
	text-align: right;
	line-height: 1.25;
	margin-right: 4px;
}

.ns-header-phone__link {
	font-size: 16px;
	font-weight: 700;
	color: var(--ns-graphite);
	text-decoration: none;
	white-space: nowrap;
}

.ns-header-phone__meta {
	font-size: 11px;
	color: var(--ns-text-muted);
}

.ns-header-phone__meta a {
	color: var(--ns-text-muted);
	text-decoration: none;
	font-weight: 600;
}

.ns-header-phone__meta a:hover {
	color: var(--ns-gold);
}

.ns-header-phone__max {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	font-weight: 600;
	color: var(--ns-gold);
	cursor: pointer;
	transition: color 0.2s ease;
}

.ns-header-phone__max:hover,
button.ns-header-phone__max:focus {
	background: transparent;
	border-color: transparent;
	color: var(--ns-graphite);
	text-decoration: underline;
}

.ns-header-phone__hours {
	font-size: 11px;
	color: var(--ns-text-muted);
	font-weight: 500;
}

.ns-header-messengers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ns-header-messenger-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 34px;
	min-height: 34px;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 9px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ns-header-messenger-btn:hover,
button.ns-header-messenger-btn:focus {
	background: transparent;
	border-color: var(--ns-gold);
	transform: translateY(-1px);
}

.ns-messenger-svg {
	width: 28px;
	height: 28px;
	display: block;
	border-radius: 7px;
}

.ns-cart-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-graphite);
	white-space: nowrap;
}

.ns-cart-pill:hover {
	border-color: var(--ns-gold);
	background-color: var(--ns-gold-light);
	color: var(--ns-graphite);
}

.ns-cart-pill__count {
	background-color: var(--ns-gold);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	min-width: 22px;
	height: 22px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: 6px;
}

.ns-mobile-menu-btn {
	appearance: none;
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	color: var(--ns-graphite);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ns-mobile-menu-btn:hover,
button.ns-mobile-menu-btn:focus {
	border-color: var(--ns-gold);
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
}

/* Навигационная панель категорий */
.ns-cat-nav {
	background-color: var(--ns-surface);
	border-bottom: 1px solid var(--ns-border);
	box-shadow: var(--ns-shadow-sm);
	position: sticky;
	top: 0;
	z-index: 90;
}

.ns-cat-nav__list {
	max-width: var(--ns-container);
	margin: 0 auto;
	padding: 0 20px;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 20px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ns-cat-nav__list::-webkit-scrollbar {
	display: none;
}

.ns-cat-nav__item {
	flex-shrink: 0;
}

.ns-cat-nav__item--cta {
	margin-left: auto;
}

.ns-cat-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding-block: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ns-graphite);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ns-cat-nav__link:hover,
.ns-cat-nav__link.is-active {
	color: var(--ns-gold);
	border-bottom-color: var(--ns-gold);
}

.ns-cat-nav__link--highlight {
	color: var(--ns-gold);
}

.ns-cat-nav__link.ns-cat-nav__cta,
.ns-cat-nav__cta {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 16px;
	background-color: var(--ns-gold);
	color: #ffffff;
	border: 1px solid var(--ns-gold);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-cat-nav__link.ns-cat-nav__cta:hover,
.ns-cat-nav__cta:hover,
button.ns-cat-nav__cta:focus {
	background-color: var(--ns-graphite);
	border-color: var(--ns-graphite);
	border-bottom-color: var(--ns-graphite);
	color: #ffffff;
}

/* ==========================================================================
   2. ГЛАВНАЯ СТРАНИЦА: HERO-БАННЕР И ПРЕИМУЩЕСТВА
   ========================================================================== */

.ns-hero {
	background: linear-gradient(135deg, #221f1b 0%, #1c1c1c 55%, #342c22 100%);
	color: #ffffff;
	padding-block: 32px 36px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--ns-border);
}

.ns-hero__inner {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	gap: 48px;
}

.ns-hero__content {
	min-width: 0;
}

.ns-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(124, 106, 83, 0.28);
	border: 1px solid rgba(215, 195, 165, 0.35);
	color: #ebd9be;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.ns-hero__title {
	font-family: var(--ns-font-serif);
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.12;
	color: #ffffff;
	margin: 0 0 12px;
	font-weight: 600;
}

.ns-hero__lead {
	font-size: 15px;
	line-height: 1.55;
	color: #dcd6ce;
	margin: 0 0 18px;
	max-width: 620px;
}

.ns-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
}

.ns-hero__btn-gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	background-color: var(--ns-gold);
	color: #ffffff;
	border: 1px solid var(--ns-gold);
	padding: 12px 28px;
	border-radius: var(--ns-radius-sm);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-hero__btn-gold:hover {
	background-color: #937e63;
	border-color: #937e63;
	color: #ffffff;
}

.ns-hero__btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	background-color: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 12px 26px;
	border-radius: var(--ns-radius-sm);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-hero__btn-ghost:hover {
	background-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.ns-hero__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ns-hero__metric {
	min-width: 0;
}

.ns-hero__metric-val {
	display: block;
	font-family: var(--ns-font-serif);
	font-size: 26px;
	font-weight: 700;
	color: #ebd9be;
}

.ns-hero__metric-label {
	font-size: 12px;
	color: #bfb8ae;
}

.ns-hero__showcase-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ns-radius-lg);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ns-hero__showcase-media {
	aspect-ratio: 16 / 11;
	max-height: 240px;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ns-hero__showcase-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ns-hero__showcase-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.ns-hero__showcase-tag {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ebd9be;
	font-weight: 700;
}

.ns-hero__showcase-title {
	font-family: var(--ns-font-serif);
	font-size: 20px;
	line-height: 1.2;
	color: #ffffff;
	margin: 0;
}

.ns-hero__showcase-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ns-hero__showcase-title a:hover {
	color: #ebd9be;
}

.ns-hero__showcase-price {
	color: #ffffff;
}

.ns-hero__showcase-price .ns-price-stack {
	gap: 6px;
}

.ns-hero__showcase-price .ns-price-current,
.ns-hero__showcase-price .ns-price-current .amount,
.ns-hero__showcase-price > .price > .amount {
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
}

.ns-hero__showcase-price .ns-price-ozon,
.ns-hero__showcase-price .ns-price-ozon .amount,
.ns-hero__showcase-price .ns-price-old,
.ns-hero__showcase-price .ns-price-old .amount {
	color: #dcd6ce;
	font-size: 13px;
	font-weight: 500;
}

.ns-hero__showcase-price .ns-price-benefit {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 6px;
	background-color: rgba(235, 217, 190, 0.16);
	border: 1px solid rgba(235, 217, 190, 0.42);
	color: #ebd9be;
	font-size: 12px;
	font-weight: 600;
}

.ns-hero__showcase-price .ns-price-benefit .amount {
	color: #ebd9be;
	font-size: 12px;
	font-weight: 700;
}

.ns-hero__showcase-price .ns-price-mp-links {
	color: #dcd6ce;
}

.ns-hero__showcase-price .ns-price-mp-link {
	color: #ebd9be;
	border-color: rgba(235, 217, 190, 0.3);
	background-color: rgba(255, 255, 255, 0.06);
}

.ns-hero__showcase-price .ns-price-mp-link .amount,
.ns-hero__showcase-price .ns-price-mp-link del {
	color: #dcd6ce;
	font-size: 12px;
	font-weight: 500;
}

.ns-hero__showcase-link {
	width: 100%;
}

.ns-hero__showcase-list {
	margin: 0;
	padding-left: 18px;
	color: #dfd9d0;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Полоса преимуществ под Hero */
.ns-features-bar {
	background-color: var(--ns-surface);
	border-bottom: 1px solid var(--ns-border);
	padding-block: 26px;
}

.ns-features-bar__grid {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.ns-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ns-feature-item__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--ns-radius-sm);
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
	font-size: 18px;
}

.ns-feature-item__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ns-graphite);
	margin: 0 0 4px;
}

.ns-feature-item__desc {
	font-size: 13px;
	color: var(--ns-text-muted);
	margin: 0;
	line-height: 1.45;
}

/* ==========================================================================
   3. СЕКЦИИ И ВИТРИНА 9 БРЕНДОВ МИРОВЫХ ОТЕЛЕЙ (modern-web-guidance: card)
   ========================================================================== */

.ns-section {
	padding-block: 60px;
}

.ns-section--alt {
	background-color: var(--ns-cream-alt);
	border-block: 1px solid var(--ns-border);
}

.ns-section__container {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
}

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

.ns-section__eyebrow {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ns-gold);
	margin: 0 0 6px;
}

.ns-section__title {
	font-family: var(--ns-font-serif);
	font-size: clamp(26px, 3vw, 38px);
	margin: 0;
	color: var(--ns-graphite);
}

.ns-section__subtitle {
	font-size: 15px;
	color: var(--ns-text-muted);
	margin: 6px 0 0;
	max-width: 680px;
}

/* Фильтры брендов */
.ns-filter-bar {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	background-color: var(--ns-surface);
	padding: 6px;
	border-radius: var(--ns-radius-sm);
	border: 1px solid var(--ns-border);
}

.ns-filter-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 8px 16px;
	font-family: var(--ns-font-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--ns-graphite);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ns-filter-btn:hover,
button.ns-filter-btn:focus {
	background-color: transparent;
	border-color: transparent;
	color: var(--ns-gold);
}

.ns-filter-btn[aria-pressed="true"],
.ns-filter-btn.is-active,
button.ns-filter-btn[aria-pressed="true"]:focus,
button.ns-filter-btn.is-active:focus {
	background-color: var(--ns-graphite);
	border-color: var(--ns-graphite);
	color: #ffffff;
}

/* Сетка карточек 9 отельных брендов с использованием container queries */
.ns-brands-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 20px;
}

.ns-brand-card {
	container-type: inline-size;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	box-shadow: var(--ns-shadow-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
}

.ns-brand-card[hidden] {
	display: none !important;
}

.ns-brand-card__media {
	aspect-ratio: 4 / 3;
	background: #ffffff;
	border: 1px solid var(--ns-border);
	border-radius: 8px;
	overflow: hidden;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ns-brand-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Stretched link pattern per modern-web-guidance `card` */
.ns-brand-card:has(a.card-link) {
	position: relative;
}

.ns-brand-card a.card-link {
	color: var(--ns-graphite);
	text-decoration: none;
}

.ns-brand-card a.card-link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ns-brand-card a.card-link:focus-visible {
	outline: none;
}

.ns-brand-card:has(a.card-link:focus-visible) {
	outline: 2px solid var(--ns-ring);
	outline-offset: 2px;
}

.ns-brand-card:has(a.card-link:hover),
.ns-brand-card:hover {
	border-color: var(--ns-gold);
	box-shadow: var(--ns-shadow-md);
}

.ns-brand-card:has(a.card-link) a:not(.card-link),
.ns-brand-card:has(a.card-link) button {
	position: relative;
	z-index: 1;
}

.ns-brand-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ns-hotel-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
	border: 1px solid var(--ns-border-strong);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ns-brand-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
}

.ns-brand-card__title {
	font-family: var(--ns-font-serif);
	font-size: 24px;
	margin: 0;
	color: var(--ns-graphite);
}

.ns-brand-card__desc {
	font-size: 13px;
	color: var(--ns-text-muted);
	margin: 0;
	line-height: 1.5;
}

.ns-brand-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--ns-border);
	font-size: 12px;
	font-weight: 600;
	color: var(--ns-gold);
}

.ns-brand-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--ns-graphite);
	flex-shrink: 0;
}

/* ==========================================================================
   4. ПЛАШКИ НАЛИЧИЯ И КАРТОЧКИ ТОВАРОВ (РЕФЕРЕНС MAROSHKA.COM)
   ========================================================================== */

.ns-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.ns-status-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: currentColor;
}

.ns-status-badge--in-stock {
	background-color: var(--ns-stock-in-bg);
	color: var(--ns-stock-in);
}

.ns-status-badge--on-order {
	background-color: var(--ns-stock-order-bg);
	color: var(--ns-stock-order);
}

.ns-status-badge--out-of-stock {
	background-color: var(--ns-stock-out-bg);
	color: var(--ns-stock-out);
}

/* Сетка товаров (кастомная витрина и архив WooCommerce/Astra) */
.ns-products-grid,
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.ns-product-card {
	container-type: inline-size;
	width: 100% !important;
	max-width: none !important;
	height: 100%;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-shadow: var(--ns-shadow-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.ns-product-card:hover {
	border-color: var(--ns-gold);
	box-shadow: var(--ns-shadow-md);
}

.ns-product-card__media,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	margin: 0;
	border-bottom: 1px solid var(--ns-border);
	overflow: hidden;
}

.ns-product-card__media img,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
.woocommerce ul.products li.product a img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	margin: 0;
}

/* Полное скрытие стандартных плашек «Распродажа!» и оверлеев Astra поверх фото */
.astra-shop-thumbnail-wrap .ast-on-card-button,
.ast-onsale-card,
.woocommerce span.onsale,
.woocommerce ul.products li.product span.onsale {
	display: none !important;
}

.ns-product-card__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	pointer-events: none;
	z-index: 2;
}

.ns-saving-pill {
	display: inline-flex;
	align-items: center;
	background-color: var(--ns-gold);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	padding: 4px 8px;
	border-radius: 4px;
	letter-spacing: 0.03em;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ns-saving-pill {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	pointer-events: none;
}

.ns-product-card__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 8px;
	padding: 16px;
}

.ns-product-card__meta,
.woocommerce ul.products li.product .ast-woo-product-category {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ns-gold);
	margin: 0 0 2px;
}

.ns-product-card__brand {
	color: var(--ns-gold);
	font-weight: 700;
}

.ns-product-card__hotel {
	color: var(--ns-text-muted);
	font-weight: 600;
}

.ns-product-card__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ns-font-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: var(--ns-graphite);
}

.ns-product-card__title a,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
	color: inherit;
	text-decoration: none;
}

.ns-product-card__title a:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__link:hover {
	color: var(--ns-gold);
}

.ns-product-card__volumes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

.ns-vol-chip {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid var(--ns-border);
	background-color: var(--ns-cream);
	color: var(--ns-graphite);
	text-decoration: none;
}

.ns-vol-chip.is-current {
	border-color: var(--ns-graphite);
	background-color: var(--ns-graphite);
	color: #ffffff;
}

.ns-product-card__footer {
	padding: 0 18px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap .price {
	margin: auto 0 10px;
	color: var(--ns-graphite);
	font-weight: 700;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap .button,
.woocommerce ul.products li.product .astra-shop-summary-wrap .ns-request-trigger {
	margin-top: 0;
	width: 100%;
}

.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > .ns-request-trigger {
	margin-top: auto;
	width: 100%;
}

.ns-price-stack {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ns-price-stack--request {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.ns-price-request {
	font-size: 16px;
	font-weight: 700;
	color: var(--ns-graphite);
	line-height: 1.3;
}

.single-product .summary .ns-price-request {
	font-size: 22px;
}

.ns-price-current {
	font-size: 19px;
	font-weight: 700;
	color: var(--ns-graphite);
}

.ns-price-old {
	font-size: 12px;
	color: var(--ns-text-muted);
	text-decoration: line-through;
}

/* ==========================================================================
   5. СТРАНИЦА ТОВАРА (SINGLE PRODUCT — MAROSHKA.COM STYLE)
   ========================================================================== */

.ns-single-meta-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.ns-brand-badge-link {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	background-color: var(--ns-graphite);
	color: #ffffff !important;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.ns-brand-badge-link:hover {
	background-color: var(--ns-gold);
}

.ns-sku-pill {
	font-size: 12px;
	color: var(--ns-text-muted);
	background-color: var(--ns-cream-alt);
	padding: 4px 10px;
	border-radius: 4px;
}

/* Блок цены с выгодой относительно маркетплейсов */
.ns-single-price-box {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 18px 20px;
	margin-block: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ns-single-price-box__main {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.ns-single-price-box__current {
	font-size: 28px;
	font-weight: 700;
	color: var(--ns-graphite);
}

.ns-single-price-box__old {
	font-size: 16px;
	color: var(--ns-text-muted);
	text-decoration: line-through;
}

.ns-single-price-box__benefit {
	font-size: 12px;
	font-weight: 600;
	color: var(--ns-stock-in);
	background-color: var(--ns-stock-in-bg);
	padding: 5px 10px;
	border-radius: 6px;
}

/* Переключатель объёмов на карточке товара (24 мл / 45 мл / 250 мл / 100 мл / 443 мл) */
.ns-volume-switcher {
	margin-block: 18px;
	padding-block: 14px;
	border-block: 1px solid var(--ns-border);
}

.ns-volume-switcher__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ns-text-muted);
	margin-bottom: 10px;
}

.ns-volume-switcher__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ns-volume-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 9px 15px;
	background-color: var(--ns-surface);
	border: 2px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	text-decoration: none;
	color: var(--ns-graphite);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ns-volume-btn:hover {
	border-color: var(--ns-gold);
}

/* По современному гайду card: не менять толщину рамки при выборе, менять только цвет */
.ns-volume-btn.is-active,
.ns-volume-btn[aria-current="true"] {
	border-color: var(--ns-graphite);
	background-color: var(--ns-gold-light);
}

.ns-volume-btn__size {
	font-size: 14px;
	font-weight: 700;
	color: var(--ns-graphite);
}

.ns-volume-btn__note {
	font-size: 11px;
	color: var(--ns-text-muted);
}

/* Единственный статичный объём на карточке товара */
.ns-volume-static {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	margin-block: 12px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-size: 14px;
	color: var(--ns-text-muted);
}

.ns-volume-static__value {
	color: var(--ns-graphite);
	font-weight: 700;
}

.ns-volume-static__select {
	display: none !important;
}

form.variations_form:has(.ns-volume-static) table.variations th.label,
form.variations_form:has(.ns-volume-static) .reset_variations,
form.variations_form:has(.ns-volume-static) .woocommerce-variation-price {
	display: none !important;
}

form.variations_form:has(.ns-volume-static) table.variations {
	margin-bottom: 8px;
}

/* Блок «Также продаётся на» (store-integration) на карточке товара */
.single-product .summary .nis-also-sold {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 16px 0;
	padding: 12px 16px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-size: 13px;
	color: var(--ns-text-muted);
}

.single-product .summary .nis-also-sold__label {
	font-weight: 600;
	color: var(--ns-graphite);
}

.single-product .summary .nis-also-sold__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .summary .nis-mp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background-color: var(--ns-surface);
	border-radius: var(--ns-radius-sm);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.single-product .summary a.nis-mp-badge--ozon:hover,
.single-product .summary a.nis-mp-badge--ozon:focus-visible {
	background-color: var(--ns-ozon);
	border-color: var(--ns-ozon);
	color: #ffffff;
}

.single-product .summary a.nis-mp-badge--wildberries:hover,
.single-product .summary a.nis-mp-badge--wildberries:focus-visible {
	background-color: var(--ns-wb);
	border-color: var(--ns-wb);
	color: #ffffff;
}

.single-product .summary .nis-mp-badge del,
.single-product .summary .nis-mp-badge .amount {
	font-size: inherit;
	font-weight: 700;
	color: inherit;
}

/* Виджет логистики и оплаты в карточке товара */
.ns-logistics-card {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 18px 20px;
	margin-block: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ns-logistics-card__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ns-graphite);
	margin: 0;
}

.ns-logistics-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
}

.ns-logistics-list__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ns-shipping-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 2px;
}

.ns-shipping-tag--yandex {
	background-color: #ffebe6;
	color: #d92b0e;
}

.ns-shipping-tag--cdek {
	background-color: #e6f7ec;
	color: #008a2e;
}

.ns-shipping-tag--courier {
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
}

.ns-payment-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--ns-border);
}

.ns-payment-pill {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 9px;
	border-radius: 4px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	color: var(--ns-graphite);
}

/* Блок «Цена по запросу» на карточке товара (inc/price-on-request.php) */
.ns-request-card {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 20px;
	margin-block: 18px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ns-request-card__note {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ns-text-muted);
}

.ns-request-card__volumes-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ns-request-card__volumes-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ns-text-muted);
}

.ns-request-volumes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-request-volume-chip {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--ns-graphite);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-request-volume-chip:hover,
button.ns-request-volume-chip:focus {
	background-color: var(--ns-cream);
	border-color: var(--ns-gold);
	color: var(--ns-gold);
}

.ns-request-volume-chip.is-active,
.ns-request-volume-chip.is-selected,
.ns-request-volume-chip[aria-pressed="true"],
button.ns-request-volume-chip.is-active:focus,
button.ns-request-volume-chip.is-selected:focus,
button.ns-request-volume-chip[aria-pressed="true"]:focus {
	background-color: var(--ns-graphite);
	border-color: var(--ns-graphite);
	color: #ffffff;
}

.ns-request-card__primary .ns-request-trigger {
	width: 100%;
}

.ns-request-card__messengers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-quick-contact {
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: none;
	flex: 1 1 auto;
}

.ns-quick-contact--whatsapp {
	color: #1f7a44;
	border-color: rgba(31, 122, 68, 0.35);
}

.ns-quick-contact--whatsapp:hover {
	background-color: #1f7a44;
	border-color: #1f7a44;
	color: #ffffff;
}

.ns-quick-contact--telegram {
	color: #0077b5;
	border-color: rgba(0, 119, 181, 0.35);
}

.ns-quick-contact--telegram:hover {
	background-color: #0077b5;
	border-color: #0077b5;
	color: #ffffff;
}

.ns-quick-contact--max {
	color: var(--ns-graphite);
	border-color: var(--ns-gold);
}

.ns-quick-contact--max:hover {
	background-color: var(--ns-gold);
	border-color: var(--ns-gold);
	color: #ffffff;
}

/* Аккордеоны характеристик и состава (<details name="ns-product-details">) */
.ns-product-accordions {
	margin-top: 36px;
	border-top: 1px solid var(--ns-border);
}

.ns-accordion-item {
	border-bottom: 1px solid var(--ns-border);
	background-color: var(--ns-surface);
	padding-inline: 20px;
}

.ns-accordion-item summary {
	padding-block: 18px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ns-graphite);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ns-accordion-item summary::-webkit-details-marker {
	display: none;
}

.ns-accordion-item summary::after {
	content: "+";
	font-size: 20px;
	font-weight: 500;
	color: var(--ns-gold);
	transition: transform 0.2s ease;
}

.ns-accordion-item[open] summary::after {
	content: "−";
}

.ns-accordion-item__content {
	padding-bottom: 20px;
	font-size: 14px;
	color: var(--ns-graphite-soft);
	line-height: 1.65;
}

.ns-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ns-specs-table tr {
	border-bottom: 1px dashed var(--ns-border);
}

.ns-specs-table th {
	text-align: left;
	padding: 8px 12px 8px 0;
	color: var(--ns-text-muted);
	font-weight: 500;
	width: 42%;
}

.ns-specs-table td {
	padding: 8px 0;
	font-weight: 600;
	color: var(--ns-graphite);
}

/* ==========================================================================
   6. УПРОЩЕННЫЙ РОССИЙСКИЙ CHECKOUT (ФИЗЛИЦА + ЮРЛИЦА/ИП ПО СЧЁТУ)
   ========================================================================== */

.ns-checkout-banner {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-left: 4px solid var(--ns-gold);
	border-radius: var(--ns-radius-md);
	padding: 18px 22px;
	margin-bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ns-checkout-payer-switch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.ns-payer-card {
	border: 2px solid var(--ns-border);
	background-color: var(--ns-surface);
	border-radius: var(--ns-radius-sm);
	padding: 14px 16px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ns-payer-card:has(input:checked) {
	border-color: var(--ns-gold);
	background-color: var(--ns-gold-light);
}

.ns-payer-card__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ns-graphite);
	display: flex;
	align-items: center;
	gap: 8px;
}

.ns-payer-card__desc {
	font-size: 12px;
	color: var(--ns-text-muted);
	padding-left: 22px;
}

.ns-b2b-fields-box {
	background-color: var(--ns-gold-light);
	border: 1px solid var(--ns-border-strong);
	border-radius: var(--ns-radius-sm);
	padding: 16px;
	margin-bottom: 18px;
}

/* ==========================================================================
   7. ПОДВАЛ САЙТА (FOOTER С ПОЛНЫМИ РЕКВИЗИТАМИ ОФЕРТЫ)
   ========================================================================== */

.ns-footer {
	background-color: var(--ns-graphite);
	color: #dfd9d0;
	padding-top: 56px;
	padding-bottom: 32px;
	margin-top: 64px;
	font-size: 14px;
}

.ns-footer__grid {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 36px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ns-footer__col {
	min-width: 0;
}

.ns-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ns-footer__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #c8c2b8;
}

.ns-footer__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	align-self: flex-start;
	transition: color 0.2s ease;
}

.ns-footer__phone:hover {
	color: #ebd9be;
}

.ns-footer__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-footer__pill {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: var(--ns-radius-sm);
	background-color: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
	font-family: var(--ns-font-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-footer__pill--whatsapp:hover {
	background-color: #1f7a44;
	border-color: #1f7a44;
	color: #ffffff;
}

.ns-footer__pill--telegram:hover {
	background-color: #0077b5;
	border-color: #0077b5;
	color: #ffffff;
}

.ns-footer__pill--max:hover {
	background-color: var(--ns-gold);
	border-color: var(--ns-gold);
	color: #ffffff;
}

.ns-footer__pill--email:hover {
	background-color: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.42);
	color: #ffffff;
}

.ns-footer__hours {
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #c8c2b8;
}

.ns-footer__brand-hotel {
	color: #9e968b;
	font-size: 12px;
}

.ns-footer__title {
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 16px;
}

.ns-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-footer__links a {
	color: #c8c2b8;
	text-decoration: none;
}

.ns-footer__links a:hover {
	color: #ffffff;
}

.ns-footer__legal-box {
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--ns-radius-sm);
	padding: 16px;
	font-size: 12px;
	line-height: 1.55;
	color: #bfb8ae;
}

.ns-footer__legal-box strong {
	color: #ffffff;
}

.ns-footer__bottom {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding: 24px 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 12px;
	color: #9e968b;
}

/* (Адаптивные правила вынесены в секцию 13 в конце файла для корректного каскада) */

/* ==========================================================================
   9. КАРТОЧКА ТОВАРА: ДОПОЛНЕНИЯ ФУНКЦИОНАЛА (functions.php, inc/*.php, assets/js/volume-switcher.js)
   ========================================================================== */

/* 9.1 Переключатель объёмов. Разметка кнопок выводится всегда, но показывается только после
   инициализации JS (класс is-enhanced): без JS остаётся штатный select, покупка не блокируется. */
.ns-volume-switcher:not(.is-enhanced) .ns-volume-switcher__label,
.ns-volume-switcher:not(.is-enhanced) .ns-volume-switcher__options {
	display: none;
}

/* select скрыт, но остаётся в DOM и является источником истины для variations_form */
.ns-volume-switcher.is-enhanced select {
	display: none;
}

/* Штатная подпись строки таблицы вариаций заменена собственной подписью переключателя */
.variations tr:has(.ns-volume-switcher.is-enhanced) th.label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.variations tr:has(.ns-volume-switcher.is-enhanced) td.value {
	display: block;
	width: 100%;
	padding: 0;
}

.ns-volume-switcher__current {
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ns-graphite);
}

/* Кнопки — нативные <button>: сбрасываем глобальные стили кнопок Astra/WooCommerce */
.ns-volume-switcher .ns-volume-btn {
	appearance: none;
	min-height: 44px;
	margin: 0;
	font: inherit;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	background-color: var(--ns-surface);
	color: var(--ns-graphite);
	box-shadow: none;
}

.ns-volume-switcher .ns-volume-btn:hover {
	background-color: var(--ns-surface);
	color: var(--ns-graphite);
	border-color: var(--ns-gold);
}

.ns-volume-switcher .ns-volume-btn[aria-pressed="true"] {
	background-color: var(--ns-gold-light);
	border-color: var(--ns-graphite);
}

.ns-volume-switcher .ns-volume-btn:focus-visible {
	outline: 2px solid var(--ns-gold);
	outline-offset: 2px;
}

/* Значение недоступно для текущего выбора (WooCommerce убрал его из select) */
.ns-volume-switcher .ns-volume-btn:disabled,
.ns-volume-switcher .ns-volume-btn.is-unavailable {
	opacity: 0.45;
	cursor: not-allowed;
	border-style: dashed;
}

/* Нет в наличии: кнопка остаётся выбираемой (WooCommerce покажет штатное сообщение), но приглушена */
.ns-volume-switcher .ns-volume-btn.is-out-of-stock:not([aria-pressed="true"]) {
	opacity: 0.65;
}

.ns-volume-btn__price {
	font-weight: 600;
	color: var(--ns-graphite-soft);
}

.ns-volume-btn__status--on-order {
	color: var(--ns-stock-order);
	font-weight: 600;
}

.ns-volume-btn__status--out {
	color: var(--ns-stock-out);
	font-weight: 600;
}

/* 9.2 Цена: наша цена, ссылки Ozon / WB с зачёркнутыми ценами и выгода в рублях */
.ns-price-stack--ozon {
	gap: 4px;
}

.ns-price-stack--ozon ins {
	background: transparent;
	text-decoration: none;
}

.ns-price-top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
}

.ns-price-ozon {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	font-size: 12px;
	color: var(--ns-text-muted);
}

.ns-price-ozon__label {
	font-weight: 600;
}

.ns-price-benefit {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	padding: 2px 7px;
	border-radius: 4px;
	background-color: var(--ns-stock-in-bg);
	color: var(--ns-stock-in);
}

.ns-price-mp-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.ns-price-mp-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ns-text-muted);
	text-decoration: none;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid var(--ns-border);
	background-color: var(--ns-cream);
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.ns-price-mp-link--ozon:hover {
	border-color: var(--ns-ozon);
	color: var(--ns-ozon);
	background-color: #ffffff;
}

.ns-price-mp-link--wb:hover {
	border-color: var(--ns-wb);
	color: var(--ns-wb);
	background-color: #ffffff;
}

.ns-price-mp-link del {
	color: var(--ns-text-muted);
}

.single-product .summary .ns-price-stack--ozon {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
}

.single-product .summary .ns-price-stack--ozon .ns-price-current {
	font-size: 28px;
}

.single-product .summary .ns-price-ozon,
.single-product .summary .ns-price-ozon .ns-price-old {
	font-size: 15px;
}

/* 9.3 Статус «Под заказ» в карточке (штатный <p class="stock available-on-backorder">) и каталоге */
.woocommerce div.product .stock.available-on-backorder {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ns-stock-order);
	background-color: var(--ns-stock-order-bg);
}

.woocommerce div.product .stock.available-on-backorder::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: currentColor;
}

/* 9.4 Вкладки: панели, состав INCI (RUS | ENG), особенности и таблица характеристик */
.ns-tab-panel {
	font-size: 14px;
	line-height: 1.7;
	color: var(--ns-graphite-soft);
}

.ns-tab-panel__subtitle {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ns-graphite);
}

.ns-inci__switch {
	position: relative;
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin-bottom: 14px;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
}

.ns-inci__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.ns-inci__tab {
	padding: 6px 16px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ns-graphite);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ns-inci__tab:hover {
	color: var(--ns-gold);
}

.ns-inci__radio:checked + .ns-inci__tab {
	background-color: var(--ns-graphite);
	color: #ffffff;
}

.ns-inci__radio:focus-visible + .ns-inci__tab {
	outline: 2px solid var(--ns-gold);
	outline-offset: 2px;
}

/* Показываем только панель выбранного языка (без :has() видны обе панели — это безопасный запасной вариант) */
.ns-inci:has(.ns-inci__radio[value="ru"]:checked) .ns-inci__panel--en,
.ns-inci:has(.ns-inci__radio[value="en"]:checked) .ns-inci__panel--ru {
	display: none;
}

.ns-inci__text {
	margin: 0;
	overflow-wrap: anywhere;
}

.ns-feature-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-feature-list__item {
	margin: 0;
	padding: 5px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ns-graphite);
	background-color: var(--ns-sage-tint);
	border: 1px solid var(--ns-border);
	border-radius: 999px;
}

/* Штатная таблица атрибутов WooCommerce в стиле .ns-specs-table (классы строк нужны штатному JS вариаций) */
.woocommerce .ns-tab-panel table.woocommerce-product-attributes {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.woocommerce .ns-tab-panel table.woocommerce-product-attributes tr {
	border-bottom: 1px dashed var(--ns-border);
}

.woocommerce .ns-tab-panel table.woocommerce-product-attributes th {
	width: 42%;
	padding: 8px 12px 8px 0;
	border: 0;
	background: transparent;
	text-align: left;
	font-weight: 500;
	color: var(--ns-text-muted);
}

.woocommerce .ns-tab-panel table.woocommerce-product-attributes td {
	padding: 8px 0;
	border: 0;
	background: transparent;
	font-style: normal;
	font-weight: 600;
	color: var(--ns-graphite);
}

.woocommerce .ns-tab-panel table.woocommerce-product-attributes td p {
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   10. АРХИВ КАТАЛОГА И ПАНЕЛЬ ФИЛЬТРОВ (.ns-archive-hero, .ns-catalog-toolbar)
   ========================================================================== */

.ns-archive-hero {
	background-color: var(--ns-cream-alt);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 28px 32px;
	margin-bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ns-archive-hero__inner {
	max-width: var(--ns-container);
	margin-inline: auto;
	padding-inline: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-archive-hero__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 520px;
	min-width: 0;
}

.ns-archive-hero__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ns-archive-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-shrink: 0;
}

.ns-archive-hero__eyebrow {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ns-gold);
	margin: 0;
}

.ns-archive-hero__title {
	font-family: var(--ns-font-serif);
	font-size: clamp(28px, 3.5vw, 42px);
	line-height: 1.15;
	color: var(--ns-graphite);
	margin: 0;
}

.ns-archive-hero__desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ns-text-muted);
	max-width: 720px;
	margin: 0;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
	display: none !important;
}

.ns-catalog-filters {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	margin-bottom: 22px;
	box-shadow: var(--ns-shadow-sm);
}

.ns-catalog-filters__summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 18px;
	min-height: 46px;
	font-weight: 600;
	font-size: 14px;
	color: var(--ns-graphite);
}

.ns-catalog-filters__summary::-webkit-details-marker {
	display: none;
}

.ns-catalog-filters__summary::after {
	content: "▾";
	font-size: 12px;
	color: var(--ns-gold);
	transition: transform 0.2s ease;
}

.ns-catalog-filters[open] .ns-catalog-filters__summary::after {
	transform: rotate(180deg);
}

.ns-catalog-filters__title {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ns-catalog-filters__pill,
.ns-catalog-filters__active-pill {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
}

.ns-catalog-filters__count {
	font-size: 13px;
	font-weight: 500;
	color: var(--ns-text-muted);
	margin-left: auto;
}

.ns-catalog-filters__chevron {
	display: inline-flex;
	transition: transform 0.2s ease;
	color: var(--ns-gold);
	font-size: 12px;
}

.ns-catalog-filters[open] .ns-catalog-filters__chevron {
	transform: rotate(180deg);
}

.ns-catalog-filters__body {
	padding: 14px 18px 18px;
	border-top: 1px solid var(--ns-border);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ns-catalog-toolbar:has(.ns-catalog-filters) {
	background: transparent;
	border: 0;
	padding: 0;
	margin-bottom: 22px;
	box-shadow: none;
}

.ns-catalog-toolbar:has(.ns-catalog-filters) .ns-catalog-filters {
	margin-bottom: 0;
}

.ns-catalog-toolbar {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 16px 20px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	box-shadow: var(--ns-shadow-sm);
}

.ns-catalog-toolbar__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.ns-catalog-toolbar__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ns-text-muted);
	min-width: 125px;
	flex-shrink: 0;
}

.ns-catalog-toolbar__chips,
.ns-catalog-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.ns-catalog-toolbar__chip,
.ns-catalog-chip,
.ns-filter-chip,
.ns-catalog-toolbar .ns-filter-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 16px;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ns-graphite);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-catalog-toolbar__chip:hover,
.ns-catalog-chip:hover,
.ns-filter-chip:hover,
.ns-catalog-toolbar .ns-filter-btn:hover {
	border-color: var(--ns-gold);
	color: var(--ns-gold);
}

.ns-catalog-toolbar__chip.is-active,
.ns-catalog-chip.is-active,
.ns-filter-chip.is-active,
.ns-catalog-toolbar .ns-filter-btn.is-active,
.ns-catalog-toolbar__chip[aria-current="true"],
.ns-catalog-chip[aria-current="true"],
.ns-filter-chip[aria-current="true"],
.ns-catalog-toolbar .ns-filter-btn[aria-pressed="true"] {
	background-color: #1c1c1c;
	border-color: #1c1c1c;
	color: #ffffff;
}

.ns-catalog-toolbar__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.ns-catalog-toolbar__count {
	font-size: 13px;
	color: var(--ns-text-muted);
	font-weight: 500;
}

.ns-catalog-toolbar .woocommerce-ordering {
	margin: 0;
}

.ns-catalog-toolbar .woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
	min-height: 44px;
	padding: 8px 14px;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 14px;
	color: var(--ns-graphite);
}

/* ==========================================================================
   11. МОДАЛЬНОЕ ОКНО <dialog.ns-dialog> И МОБИЛЬНЫЙ DRAWER <dialog.ns-drawer>
   Строго по гайдам dialog / light-dismiss:
   - НИКОГДА display: flex/block без [open]
   - НИКОГДА overflow: hidden на html/body
   ========================================================================== */

dialog.ns-dialog:modal,
dialog.ns-drawer:modal {
	overscroll-behavior: contain;
}

dialog.ns-dialog::backdrop,
dialog.ns-drawer::backdrop {
	background: rgba(28, 28, 28, 0.56);
	backdrop-filter: blur(4px);
	overflow: hidden;
	overscroll-behavior: contain;
}

dialog.ns-dialog {
	margin: auto;
	padding: 0;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	background-color: var(--ns-surface);
	color: var(--ns-graphite);
	box-shadow: var(--ns-shadow-lg);
	width: min(540px, calc(100vw - 24px));
	max-width: 100vw;
	max-height: calc(100dvh - 32px);
	overflow: auto;
}

dialog.ns-dialog[open] {
	display: flex;
	flex-direction: column;
}

.ns-dialog__panel {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ns-dialog__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ns-dialog__title {
	font-family: var(--ns-font-serif);
	font-size: clamp(22px, 2.5vw, 28px);
	line-height: 1.2;
	color: var(--ns-graphite);
	margin: 0 0 6px;
}

.ns-dialog__subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ns-text-muted);
	margin: 0;
}

.ns-dialog__close,
.ns-drawer__close {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px;
	flex-shrink: 0;
	background-color: var(--ns-cream);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	color: var(--ns-graphite);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

button.ns-dialog__close:focus,
button.ns-drawer__close:focus {
	background-color: var(--ns-cream);
	border-color: var(--ns-border-strong);
	color: var(--ns-graphite);
}

.ns-dialog__close:hover,
.ns-drawer__close:hover,
button.ns-dialog__close:focus-visible,
button.ns-drawer__close:focus-visible {
	border-color: var(--ns-gold);
	background-color: var(--ns-gold-light);
	color: var(--ns-gold);
}

.ns-inquiry-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ns-inquiry-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ns-inquiry-form__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ns-graphite);
}

.ns-inquiry-form__input,
.ns-inquiry-form__textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	background-color: var(--ns-surface);
	color: var(--ns-graphite);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 16px;
	line-height: 1.45;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ns-inquiry-form__textarea {
	min-height: 92px;
	resize: vertical;
}

.ns-inquiry-form__input:focus,
.ns-inquiry-form__textarea:focus {
	outline: none;
	border-color: var(--ns-gold);
	box-shadow: 0 0 0 3px rgba(124, 106, 83, 0.14);
}

.ns-inquiry-form__consent {
	margin-top: 2px;
}

.ns-inquiry-form__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ns-text-muted);
	cursor: pointer;
}

.ns-inquiry-form__checkbox-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--ns-graphite);
}

.ns-inquiry-form__actions {
	margin-top: 4px;
}

.ns-inquiry-form__submit {
	width: 100%;
}

.ns-inquiry-response {
	padding: 12px 14px;
	border-radius: var(--ns-radius-sm);
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid var(--ns-border);
	background-color: var(--ns-cream);
	color: var(--ns-graphite);
}

.ns-inquiry-response[hidden] {
	display: none !important;
}

.ns-inquiry-response.is-success,
.ns-inquiry-response--success {
	background-color: var(--ns-stock-in-bg);
	border-color: rgba(46, 111, 64, 0.35);
	color: var(--ns-stock-in);
}

.ns-inquiry-response.is-error,
.ns-inquiry-response--error {
	background-color: #fef2f2;
	border-color: rgba(185, 28, 28, 0.35);
	color: var(--ns-destructive);
}

.ns-inquiry-response__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.ns-inquiry-response__link {
	min-height: 44px;
	padding: 8px 14px;
	font-size: 13px;
	text-transform: none;
	flex: 1 1 auto;
}

.ns-dialog__direct {
	padding-top: 16px;
	border-top: 1px solid var(--ns-border);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-dialog__direct-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ns-text-muted);
}

.ns-dialog__direct-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Мобильный drawer <dialog.ns-drawer> */
dialog.ns-drawer {
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--ns-border);
	border-radius: 0;
	width: min(360px, 92vw);
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	background-color: var(--ns-surface);
	color: var(--ns-graphite);
	box-shadow: var(--ns-shadow-lg);
	overflow: auto;
}

dialog.ns-drawer[open] {
	display: flex;
	flex-direction: column;
}

.ns-drawer__panel {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.ns-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ns-border);
	background-color: var(--ns-cream);
}

.ns-drawer__title {
	font-family: var(--ns-font-serif);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ns-graphite);
	margin: 0;
}

.ns-drawer__search {
	padding: 14px 20px;
	border-bottom: 1px solid var(--ns-border);
	background-color: var(--ns-surface);
}

.ns-drawer__body {
	padding: 16px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1 1 auto;
}

.ns-drawer__nav {
	padding: 12px 20px;
	border-bottom: 1px solid var(--ns-border);
}

.ns-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ns-drawer__item {
	margin: 0;
}

.ns-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: var(--ns-radius-sm);
	font-family: var(--ns-font-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--ns-graphite);
	text-decoration: none;
	text-align: left;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ns-drawer__link:hover,
.ns-drawer__link.is-active {
	background-color: var(--ns-cream);
	color: var(--ns-gold);
}

.ns-drawer__link--highlight {
	color: var(--ns-gold);
}

.ns-drawer__cta {
	appearance: none;
	margin-top: 6px;
	background-color: var(--ns-gold);
	border: 1px solid var(--ns-gold);
	color: #ffffff;
	justify-content: center;
	cursor: pointer;
}

.ns-drawer__cta:hover {
	background-color: var(--ns-graphite);
	border-color: var(--ns-graphite);
	color: #ffffff;
}

.ns-drawer__brands {
	padding: 16px 20px;
	border-bottom: 1px solid var(--ns-border);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-drawer__section-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ns-text-muted);
}

.ns-drawer__brands-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ns-drawer__brand-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: var(--ns-radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-graphite);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ns-drawer__brand-link:hover {
	background-color: var(--ns-cream);
	color: var(--ns-gold);
}

.ns-drawer__brand-hotel {
	font-size: 12px;
	font-weight: 500;
	color: var(--ns-text-muted);
	text-align: right;
}

.ns-drawer__footer {
	margin-top: auto;
	padding: 16px 20px 24px;
	border-top: 1px solid var(--ns-border);
	background-color: var(--ns-cream);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ns-drawer__contacts {
	margin-top: auto;
	padding: 18px 20px 24px;
	background-color: var(--ns-cream);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ns-drawer__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 17px;
	font-weight: 700;
	color: var(--ns-graphite);
	text-decoration: none;
}

.ns-drawer__phone:hover {
	color: var(--ns-gold);
}

.ns-drawer__messengers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-drawer__email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-graphite);
	text-decoration: none;
}

.ns-drawer__email:hover {
	color: var(--ns-gold);
}

.ns-drawer__hours {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ns-text-muted);
}

/* ==========================================================================
   12. ИНФОРМАЦИОННЫЕ И ЮРИДИЧЕСКИЕ СТРАНИЦЫ, О БУТИКЕ, TOAST
   ========================================================================== */

.ns-prose {
	max-width: 960px;
	margin-inline: auto;
	color: var(--ns-graphite);
	font-size: 16px;
	line-height: 1.72;
}

.ns-prose--narrow {
	max-width: 820px;
}

.ns-prose__lead {
	font-size: 18px;
	line-height: 1.65;
	color: var(--ns-graphite);
	padding: 18px 22px;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-left: 4px solid var(--ns-gold);
	border-radius: var(--ns-radius-sm);
	margin: 0 0 28px;
}

.ns-prose h2 {
	font-family: var(--ns-font-serif);
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 1.25;
	color: var(--ns-graphite);
	margin: 36px 0 14px;
}

.ns-prose h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ns-graphite);
	margin: 24px 0 10px;
}

.ns-prose p {
	margin: 0 0 14px;
}

.ns-prose ul,
.ns-prose ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.ns-prose li {
	margin-bottom: 8px;
}

.ns-prose section + section {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--ns-border);
}

.ns-prose table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 20px;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	font-size: 14px;
}

.ns-prose th,
.ns-prose td {
	padding: 12px 14px;
	border: 1px solid var(--ns-border);
	text-align: left;
	vertical-align: top;
}

.ns-prose th {
	background-color: var(--ns-cream-alt);
	font-weight: 700;
	color: var(--ns-graphite);
}

.ns-info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin-block: 24px;
}

.ns-info-card {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 20px;
	box-shadow: var(--ns-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ns-info-card h3 {
	margin: 0;
	font-family: var(--ns-font-serif);
	font-size: 22px;
	color: var(--ns-graphite);
}

.ns-info-card p:last-child {
	margin-bottom: 0;
}

.ns-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	margin-block: 24px;
}

.ns-contact-card {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 22px;
	box-shadow: var(--ns-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ns-contact-card h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ns-gold);
}

.ns-contact-card__value {
	font-family: var(--ns-font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--ns-graphite);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ns-contact-card__value:hover {
	color: var(--ns-gold);
}

.ns-contact-card__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ns-text-muted);
}

.ns-contact-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-contact-card__actions .ns-btn-outline {
	flex: 1 1 0;
	min-width: max-content;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: none;
}

.ns-contact-cta {
	margin-block: 28px;
}

.ns-requisites {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 24px;
	margin-top: 32px;
}

.ns-requisites h2 {
	margin-top: 0;
}

.ns-requisites__list {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.ns-requisites__row {
	display: grid;
	grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
	gap: 12px;
	padding-block: 10px;
	border-bottom: 1px dashed var(--ns-border);
}

.ns-requisites__row:last-child {
	border-bottom: 0;
}

.ns-requisites__row dt {
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-text-muted);
}

.ns-requisites__row dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-graphite);
	overflow-wrap: anywhere;
}

/* Секция «О бутике» на главной */
.ns-about-grid,
.ns-editorial-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 36px;
	align-items: center;
}

.ns-about-grid__content,
.ns-editorial__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}

.ns-editorial__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-sm);
}

.ns-editorial__logo img {
	display: block;
	width: 56px;
	height: auto;
	mix-blend-mode: multiply;
}

.ns-editorial__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ns-graphite-soft);
}

.ns-editorial__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.ns-about-grid__media,
.ns-editorial__contacts-card {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 28px;
	box-shadow: var(--ns-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.ns-editorial__contacts-title {
	font-family: var(--ns-font-serif);
	font-size: 26px;
	line-height: 1.2;
	color: var(--ns-graphite);
	margin: 0;
}

.ns-editorial__contacts-subtitle {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ns-text-muted);
}

.ns-editorial__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 20px;
	font-weight: 700;
	color: var(--ns-graphite);
	text-decoration: none;
	align-self: flex-start;
}

.ns-editorial__phone:hover {
	color: var(--ns-gold);
}

.ns-editorial__channels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ns-editorial__channels .ns-btn-outline {
	flex: 1 1 0;
	min-width: max-content;
}

.ns-editorial__meta-list {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--ns-border);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--ns-text-muted);
}

.ns-editorial__meta-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ns-editorial__meta-list a {
	color: var(--ns-graphite);
	font-weight: 600;
	text-decoration: none;
}

.ns-editorial__meta-list a:hover {
	color: var(--ns-gold);
}

.ns-editorial__about-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ns-gold);
	text-decoration: none;
	align-self: flex-start;
}

.ns-editorial__about-link:hover {
	color: var(--ns-graphite);
}

/* Toast-уведомление (MAX-номер скопирован и др.) */
.ns-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 120;
	max-width: min(380px, calc(100vw - 32px));
	background-color: var(--ns-graphite);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--ns-radius-sm);
	padding: 14px 18px;
	box-shadow: var(--ns-shadow-lg);
	font-size: 14px;
	line-height: 1.45;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ns-toast[hidden] {
	display: none !important;
}

.ns-toast__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ns-toast__link {
	color: #ebd9be;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.ns-toast__link:hover {
	color: #ffffff;
}

/* Внутренние страницы: верхний воздух под липкой навигацией и карточка статьи */
#content.site-content {
	padding-block: 18px 48px;
}

.page:not(.home):not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-article-single {
	background-color: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius-md);
	padding: 36px 40px;
	box-shadow: var(--ns-shadow-sm);
}

.page:not(.home):not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-article-single .entry-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ns-border);
}

.page:not(.home):not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-article-single .entry-header .entry-title {
	font-family: var(--ns-font-serif);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ns-graphite);
	margin: 0;
}

/* ==========================================================================
   13. АДАПТИВНОСТЬ (MOBILE & TABLET, БЕЗ ГОРИЗОНТАЛЬНОГО СКРОЛЛА НА 390px)
   ========================================================================== */

@media (max-width: 992px) {
	.ns-mobile-menu-btn {
		display: inline-flex;
	}

	.ns-cat-nav,
	.ns-header-phone {
		display: none;
	}

	.ns-header-main__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px 16px;
	}

	.ns-header-search {
		grid-column: 1 / -1;
		max-width: 100%;
		order: 3;
	}

	.ns-hero__inner,
	.ns-about-grid,
	.ns-editorial-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ns-features-bar__grid,
	.ns-footer__grid,
	.ns-brands-grid,
	.ns-products-grid,
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 768px) {
	#content.site-content {
		padding-block: 14px 36px;
	}

	.ns-header-messengers {
		display: none;
	}

	.ns-hero {
		padding-block: 24px 28px;
	}
}

@media (max-width: 640px) {
	.page:not(.home):not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-article-single {
		padding: 22px 18px;
	}

	.ns-header-main__inner {
		padding-block: 10px;
	}

	.ns-header-main__inner,
	.ns-section__container,
	.ns-archive-hero__inner,
	.ns-footer__grid,
	.ns-footer__bottom,
	.ns-features-bar__grid {
		padding-inline: 16px;
	}

	.ns-brand-logo {
		gap: 10px;
	}

	.ns-brand-logo__img {
		width: 44px;
		height: 44px;
	}

	.ns-brand-logo__title {
		font-size: 19px;
		letter-spacing: 0.08em;
	}

	.ns-brand-logo__subtitle {
		font-size: 9px;
		letter-spacing: 0.1em;
	}

	.ns-header-actions {
		gap: 8px;
	}

	.ns-cart-pill {
		padding: 8px 10px;
		gap: 6px;
	}

	.ns-features-bar__grid,
	.ns-footer__grid,
	.ns-checkout-payer-switch,
	.ns-hero__metrics,
	.ns-brands-grid,
	.ns-info-cards,
	.ns-contact-grid {
		grid-template-columns: 1fr;
	}

	.ns-catalog-toolbar {
		padding: 14px;
	}

	.ns-catalog-filters__summary {
		padding: 12px 14px;
	}

	.ns-catalog-filters__body {
		padding: 12px 14px 14px;
	}

	.ns-catalog-toolbar__label {
		min-width: 100%;
	}

	.ns-catalog-toolbar__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		max-width: 100%;
		padding-bottom: 4px;
		padding-inline-end: 8px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.ns-catalog-toolbar__chips::-webkit-scrollbar {
		display: none;
	}

	.ns-catalog-chip {
		white-space: nowrap;
		flex-shrink: 0;
	}

	.ns-archive-hero {
		padding: 20px 16px;
	}

	.ns-editorial__contacts-card {
		padding: 20px 16px;
	}

	.ns-contact-card {
		padding: 18px 16px;
	}

	.ns-catalog-toolbar__meta {
		margin-left: 0;
		justify-content: space-between;
	}

	.ns-dialog__panel {
		padding: 20px 16px;
	}

	.ns-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
	}

	.ns-volume-switcher .ns-volume-btn {
		flex: 1 1 calc(50% - 10px);
	}

	.single-product .summary .ns-price-stack--ozon .ns-price-current {
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.ns-cart-pill__label {
		display: none;
	}

	.ns-products-grid,
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ns-requisites__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
