/*
 * Нов дизайн „N“ — в стила на големите европейски козметични магазини:
 * бяло, черен текст, лого вляво, голямо поле за търсене, гъста решетка,
 * карти „марка / име / вид“, плоски бутони. Зарежда се само при body.design-n
 * (inc/design-n.php), затова всичко тук е с префикс .design-n.
 * Червеното е същото като на „My“ в логото и на етикетите за намаление.
 */

body.design-n {
	--n-ink: #111;
	--n-text: #2b2b2b;
	--n-muted: #6f6f6f;
	--n-line: #e7e7e7;
	--n-soft: #f5f5f5;
	--n-red: #e81225;
	--btn-radius: 6px;
	color: var(--n-text);
	background: #fff;
}

/* един шрифт навсякъде — темата и касата задават Jost на много места */
body.design-n,
body.design-n * {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

/* съдържанието се подравнява с логото: .site-content и .col-full даваха по 24px отстъп един в друг */
.design-n .site-content { padding-left: 0 !important; padding-right: 0 !important; }

/* ============================================================
   Хедър
   ============================================================ */

.design-n .aura-topbar {
	background: var(--n-soft);
	color: var(--n-text);
	font-size: 12.5px;
	letter-spacing: 0;
	text-transform: none;
}
.design-n .aura-topbar__inner { justify-content: center; gap: 34px; padding: 7px 24px; }
.design-n .aura-topbar__inner > span::before {
	content: '✓';
	color: var(--n-red);
	font-weight: 800;
	margin-right: 7px;
}

.design-n .aura-bar--n {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 36px;
	height: 86px;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.design-n .aura-bar--n .aura-bar__burger { display: none; }
.design-n .aura-bar--n .aura-logo { text-align: left; }
.design-n .aura-logo__mark { font-size: 29px; font-weight: 800; letter-spacing: -.035em; }

/* търсачката — винаги видима, в средата на реда */
.design-n .aura-search--n {
	display: block;
	border: 0;
	padding: 0;
	background: none;
	width: 100%;
	max-width: 720px;
	justify-self: center;
}
.design-n .aura-search--n .aura-search__inner { max-width: none; margin: 0; }
.design-n .aura-search--n form {
	position: relative;
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 5px 0 46px;
	background: var(--n-soft);
	border: 1.5px solid transparent;
	border-bottom: 1.5px solid transparent;
	border-radius: 8px;
	transition: background .15s ease, border-color .15s ease;
}
.design-n .aura-search--n form:focus-within { background: #fff; border-color: var(--n-ink); }
.design-n .aura-search__icon {
	position: absolute;
	left: 15px;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	fill: none;
	stroke: var(--n-muted);
	stroke-width: 2;
	stroke-linecap: round;
}
.design-n .aura-search--n input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 15px;
	color: var(--n-ink);
	outline: none;
}
.design-n .aura-search--n input[type="search"]::placeholder { color: #8a8a8a; }
.design-n .aura-search--n button[type="submit"] {
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	background: var(--n-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
.design-n .aura-search--n button[type="submit"]:hover { background: #333; }
.design-n .aura-search--n .aura-search__results { top: calc(100% + 6px); border-radius: 10px; }

/* „Marken“ и количката — икона с надпис отдолу */
.design-n .aura-bar--n .aura-bar__right { gap: 22px; }
.design-n .n-headlink {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--n-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	background: none;
	width: auto;
	height: auto;
	border-radius: 0;
}
.design-n .n-headlink:hover { color: var(--n-red); background: none; }
.design-n .n-headlink svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.design-n .n-headlink .aura-cart-count {
	top: -6px;
	right: 2px;
	background: var(--n-red);
	min-width: 10px;
	height: 14px;
	font-size: 10px;
}

/* главното меню — подредено вляво, обикновени букви */
.design-n .aura-nav { border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); }
.design-n .aura-nav ul { justify-content: flex-start; gap: 4px 26px; }
.design-n .aura-nav a {
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--n-ink);
	padding: 15px 0;
}
.design-n .aura-nav a::after { background: var(--n-red); height: 2px; bottom: 0; }
.design-n .aura-nav .aura-mega a.aura-mega__title { font-weight: 700; }
.design-n .aura-mega { box-shadow: 0 18px 32px -24px rgba(0, 0, 0, .35); }

/* ============================================================
   Начална страница
   ============================================================ */

/* банерът — в рамките на страницата, със заоблени ъгли, а не от край до край */
.design-n .aura-hero--photo {
	width: auto !important;          /* вече не е от край до край — стои в колоната на съдържанието */
	max-width: none;
	margin: 22px 0 0 !important;
	border-radius: 14px;
	overflow: hidden;
}
.design-n .aura-hero--photo::before { display: none; } /* без бялото преливане — банерът вече не опира в хедъра */
.design-n .aura-btn { border-radius: 6px; font-weight: 600; text-transform: none; letter-spacing: 0; }

.design-n .n-head,
.design-n .aura-section__title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	text-transform: none;
	text-align: left;
	color: var(--n-ink);
	margin: 0 0 20px;
}
.design-n .aura-section__title::after { display: none; }

.design-n .n-tiles,
.design-n .n-brands {
	margin: 48px 0 0;  /* вътре в колоната на съдържанието — без собствен отстъп */
	padding: 0;
}
.design-n .n-tiles__row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}
.design-n .n-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--n-ink);
}
.design-n .n-tile__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--n-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.design-n .n-tile__img img { width: 62%; height: 62%; object-fit: contain; mix-blend-mode: multiply; }
.design-n .n-tile:hover .n-tile__img { transform: translateY(-3px); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .35); }
.design-n .n-tile__name { font-size: 15px; font-weight: 700; }
.design-n .n-tile__count { font-size: 12.5px; color: var(--n-muted); margin-top: 3px; }

.design-n .n-brands__head { display: flex; align-items: baseline; justify-content: space-between; }
.design-n .n-more { font-size: 14px; font-weight: 600; color: var(--n-ink); }
.design-n .n-more:hover { color: var(--n-red); }
/* мрежа 7 в ред — всеки ред стига до десния край (собственикът: „топ марки не е до края“) */
.design-n .n-brands__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.design-n .n-brand {
	padding: 13px 12px;
	border: 1px solid var(--n-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--n-ink);
	text-align: center;
	line-height: 1.25;
	/* дълго име („Yves Saint Laurent“) минава на 2 реда, вместо да се реже */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color .15s ease, background .15s ease;
}
.design-n .n-brand:hover { border-color: var(--n-ink); background: var(--n-soft); }

.design-n .aura-section { padding-top: 52px; }

/* ============================================================
   Въртящи се ленти на началната страница (JS в inc/design-n.php)
   ============================================================ */
.design-n .n-carousel { --n-vis: 5; --n-gap: 20px; }

/* рамка около всяка лента — заглавие, продукти и марките са в една кутия (собственикът, 17.10.2026) */
.design-n .aura-section.n-carousel {
	margin-top: 36px;
	padding: 24px 24px 22px;
	border: 1px solid var(--n-line);
	border-radius: 14px;
	background: #fff;
}
.design-n .n-carousel .n-carousel__head { margin-bottom: 20px; }
.design-n .n-carousel .n-carousel__head .aura-section__title { margin: 0; }
.design-n .n-carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.design-n .n-carousel__head .aura-section__title { flex: 1; min-width: 0; }
.design-n .n-carousel__more { white-space: nowrap; }
.design-n .n-carousel__nav { display: flex; gap: 8px; flex-shrink: 0; }
.design-n .n-carousel__btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--n-line);
	background: #fff;
	color: var(--n-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.design-n .n-carousel__btn:hover { border-color: var(--n-ink); background: var(--n-soft); }
.design-n .n-carousel__btn--prev svg { transform: rotate(180deg); }

body.design-n .n-carousel ul.products {
	display: grid;
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--n-vis) - 1) * var(--n-gap)) / var(--n-vis));
	gap: 0 var(--n-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}
body.design-n .n-carousel ul.products::-webkit-scrollbar { display: none; }

/* водещите марки на категорията — под лентата, с името на категорията в етикета */
.design-n .n-catbrands {
	margin-top: 22px;
	padding: 16px 18px;
	background: var(--n-soft);
	border-radius: 10px;
}
.design-n .n-catbrands__label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; color: var(--n-ink); }
.design-n .n-catbrands__row {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}
.design-n .n-catbrands .n-brand { background: #fff; padding: 10px 8px; font-size: 13px; }
.design-n .n-catbrands .n-brand:hover { background: #fff; }
body.design-n .n-carousel ul.products::before,
body.design-n .n-carousel ul.products::after { display: none; }
body.design-n .n-carousel ul.products li.product { scroll-snap-align: start; width: auto !important; margin: 0 !important; }

/* заглавие на категория / марка / търсене — вляво и удебелено, без разредени главни */
.design-n .woocommerce-products-header__title,
.design-n .woocommerce-products-header .page-title,
.design-n h1.page-title {
	font-size: 30px !important;
	font-weight: 800 !important;
	letter-spacing: -.02em !important;
	text-transform: none !important;
	text-align: left !important;
	color: var(--n-ink);
	margin: 6px 0 14px !important;
}
.design-n .woocommerce-products-header { text-align: left !important; padding-bottom: 6px !important; }
.design-n .woocommerce-breadcrumb { font-size: 13px; color: var(--n-muted); }
.design-n .woocommerce-breadcrumb a { color: var(--n-muted); }
.design-n .woocommerce-ordering select {
	border: 1px solid var(--n-line);
	border-radius: 6px;
	padding: 9px 34px 9px 12px;
	font-size: 14px;
	background-color: #fff;
}

/* ============================================================
   Решетка и карти на продуктите
   ============================================================ */

body.design-n ul.products {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 34px 20px;
}

body.design-n ul.products li.product { text-align: left; }

/* сивата рамка е отделен елемент; снимката в нея е прозрачна и с multiply,
   така белият ѝ фон става сив и не стои като правоъгълник */
body.design-n ul.products li.product .n-card__img {
	display: block;
	background: var(--n-soft);
	border-radius: 8px;
	margin: 0 0 12px;
	overflow: hidden;
	transition: background .15s ease;
}
body.design-n ul.products li.product a img {
	background: transparent !important;
	mix-blend-mode: multiply;
	padding: 16px;
	margin: 0 !important;
	border-radius: 0;
}
body.design-n ul.products li.product:hover a img { opacity: 1; }
body.design-n ul.products li.product:hover .n-card__img { background: #ececec; }

.design-n .n-card__text { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.design-n .n-card__brand {
	font-size: 14px;
	font-weight: 800;
	color: var(--n-ink);
	letter-spacing: -.005em;
	line-height: 1.3;
}
body.design-n ul.products li.product .n-card__name {
	font-size: 14px !important;
	font-weight: 400;
	line-height: 1.4;
	color: var(--n-text);
	margin: 0;
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.design-n .n-card__type {
	font-size: 12.5px;
	color: var(--n-muted);
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* цената — най-долу и едра; намалението е червено */
body.design-n ul.products li.product .price {
	margin-top: auto;
	font-size: 16px;
	font-weight: 800;
	color: var(--n-ink) !important;
}
body.design-n ul.products li.product .price ins { color: var(--n-red) !important; text-decoration: none; }
body.design-n ul.products li.product .price del { color: var(--n-muted) !important; font-weight: 400; font-size: 13px; }
body.design-n ul.products li.product > a:not(.button) { display: flex; flex-direction: column; flex: 1; }

body.design-n ul.products li.product .onsale {
	left: 10px;
	right: auto;
	top: 10px;
	background: var(--n-red);
	color: #fff;
	border-radius: 4px;
	padding: 4px 7px;
	font-size: 12px;
	font-weight: 800;
	min-width: 0;
	min-height: 0;
	line-height: 1;
}

/* бутон под всяка карта няма — цялата карта е връзка, както при големите магазини;
   „Inhalt“ се дублира с размера в името, затова и него го няма */
body.design-n ul.products li.product .button,
body.design-n ul.products li.product .aura-remove,
body.design-n ul.products li.product .aura-delivery { display: none !important; }

/* ============================================================
   Страница на продукт — плоско, без „картички“
   ============================================================ */

.design-n.single-product div.product .summary,
.design-n.single-product .aura-desc,
.design-n.single-product .woocommerce-tabs {
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: none !important;
}
.design-n.single-product .woocommerce-product-gallery__image img,
.design-n.single-product .woocommerce-product-gallery__image {
	background: var(--n-soft);
	border-radius: 10px;
}
/* същото като в картите: сивото е зад снимката, самата снимка е прозрачна */
.design-n.single-product .woocommerce-product-gallery__image img { mix-blend-mode: multiply; background: transparent !important; }
.design-n .aura-brandlink {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	color: var(--n-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	margin-bottom: 6px;
}
.design-n.single-product .product_title {
	font-size: 28px !important;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-bottom: 4px;
}
.design-n .n-product__type { margin: 0 0 16px; font-size: 14.5px; color: var(--n-muted); }
.design-n.single-product div.product .summary .price { font-size: 28px; font-weight: 800; color: var(--n-ink); }
.design-n.single-product div.product .summary .price ins { color: var(--n-red); }

.design-n.single-product .single_add_to_cart_button,
.design-n .button.alt,
.design-n #place_order {
	border-radius: 6px !important;
	background: var(--n-ink) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 700 !important;
	font-size: 15.5px !important;
}
.design-n.single-product .single_add_to_cart_button:hover,
.design-n .button.alt:hover,
.design-n #place_order:hover { background: #333 !important; }

.design-n .aura-assure { background: var(--n-soft) !important; border: 0 !important; border-radius: 8px !important; }

/* ============================================================
   Футър — светлосив, като при големите магазини
   ============================================================ */

.design-n .aura-benefits { background: var(--n-soft); border: 0; }
.design-n .aura-footer { background: var(--n-soft); border-top: 1px solid var(--n-line); }
.design-n .aura-footer h3 { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.design-n .aura-footer a:hover { color: var(--n-red); }

/* ============================================================
   По-тесни екрани
   ============================================================ */

@media (max-width: 1279px) {
	body.design-n ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.design-n .n-carousel { --n-vis: 4; }
	.design-n .n-brand { font-size: 13px; padding: 12px 8px; }
}

/* по-тесен екран: марките в 3 реда, които се плъзгат настрани */
@media (max-width: 1023px) {
	.design-n .n-carousel { --n-vis: 3; }
	.design-n .n-brands__row {
		grid-template-columns: none;
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		grid-auto-columns: 28%;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.design-n .n-brands__row::-webkit-scrollbar { display: none; }
	.design-n .n-brand { scroll-snap-align: start; }

	/* марките на категорията: етикет отгоре, марките в ред, който се плъзга */
	.design-n .n-catbrands { padding: 14px; }
	.design-n .n-catbrands__row {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.design-n .n-catbrands__row::-webkit-scrollbar { display: none; }
	.design-n .n-catbrands .n-brand { padding: 9px 14px; white-space: nowrap; }
}

@media (max-width: 1023px) {
	.design-n .aura-bar--n { gap: 22px; }
	.design-n .n-headlink span:not(.aura-cart-count) { display: none; }
	body.design-n ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.design-n .n-tiles__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
}

@media (max-width: 768px) {
	/* телефон: меню, лого и количка на първия ред, търсачката — цяла ширина отдолу */
	.design-n .aura-topbar__inner { gap: 1px 18px; }
	.design-n .aura-bar--n {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "burger logo right" "search search search";
		height: auto;
		gap: 10px 12px;
		padding: 12px 16px 12px;
	}
	.design-n .aura-bar--n .aura-bar__burger { display: inline-flex; grid-area: burger; }
	.design-n .aura-bar--n .aura-logo { grid-area: logo; }
	.design-n .aura-bar--n .aura-bar__right { grid-area: right; gap: 12px; }
	.design-n .aura-search--n { grid-area: search; max-width: none; }
	.design-n .aura-search--n form { height: 44px; }
	.design-n .aura-search--n button[type="submit"] { display: none; }
	.design-n .aura-logo__mark { font-size: 23px; }
	.design-n .n-headlink:not(.aura-cart) { display: none; }

	/* два вложени контейнера по 24px даваха 48px от ръба — на телефон 16px стигат */
	.design-n .site-content .col-full { padding-left: 16px !important; padding-right: 16px !important; }
	.design-n .aura-hero--photo { margin: 12px 0 0 !important; border-radius: 12px; }
	.design-n .n-tiles, .design-n .n-brands { margin-top: 34px; }
	.design-n .n-tiles__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
	.design-n .n-tile__name { font-size: 13.5px; }
	.design-n .n-head, .design-n .aura-section__title { font-size: 20px; }

	body.design-n ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	body.design-n ul.products li.product a img { padding: 10px; }

	/* 2 карти и ръб от третата — личи си, че лентата се плъзга */
	.design-n .n-carousel { --n-vis: 2.25; --n-gap: 14px; }
	.design-n .aura-section.n-carousel { margin-top: 24px; padding: 16px 14px 14px; border-radius: 12px; }
	.design-n .n-carousel .n-carousel__head { margin-bottom: 14px; }
	/* на телефон се плъзга с пръст — стрелките само взимат място до заглавието */
	.design-n .n-carousel__nav { display: none; }
	.design-n .n-brands__row { grid-auto-columns: 40%; gap: 8px; }
}

/* ============================================================
   Филтри на страниците с продукти (inc/filters.php)
   ============================================================ */
.design-n .n-shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.design-n .n-shop__main { min-width: 0; }
body.design-n .n-shop__main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.design-n .n-filter-toggle { display: none; }
.design-n .n-filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.design-n .n-filters__top, .design-n .n-filters__close { display: none; }

.design-n .n-fsec { border-bottom: 1px solid var(--n-line); padding: 14px 0; }
.design-n .n-fsec:first-of-type { padding-top: 0; }
.design-n .n-fsec > summary {
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 800;
	color: var(--n-ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.design-n .n-fsec > summary::-webkit-details-marker { display: none; }
.design-n .n-fsec > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s ease; }
.design-n .n-fsec:not([open]) > summary { margin-bottom: 0; }
.design-n .n-fsec:not([open]) > summary::after { transform: rotate(-45deg); margin-top: 0; }

/* подкатегории */
.design-n .n-fcats { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.design-n .n-fcats li { margin: 0; }
.design-n .n-fcats a, .design-n .n-fcats__cur { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; color: var(--n-text); }
.design-n .n-fcats a:hover { color: var(--n-red); }
.design-n .n-fcats a span { color: var(--n-muted); font-size: 12.5px; }
.design-n .n-fcats__cur { font-weight: 700; color: var(--n-ink); }
.design-n .n-fcats__up { color: var(--n-muted) !important; }

/* отметки */
.design-n .n-fopts { display: flex; flex-direction: column; gap: 2px; }
.design-n .n-fopt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--n-text); cursor: pointer; margin: 0; }
.design-n .n-fopt input { width: 17px; height: 17px; margin: 0; accent-color: var(--n-ink); flex-shrink: 0; }
.design-n .n-fopt span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-n .n-fopt em { font-style: normal; font-size: 12.5px; color: var(--n-muted); }
.design-n .n-fopt:hover span { color: var(--n-ink); text-decoration: underline; }
.design-n .n-fbrands.is-collapsed:not(.is-searching) .n-fopt--more,
.design-n .n-fopt[hidden] { display: none; }
.design-n .n-fbrands:not(.is-collapsed), .design-n .n-fbrands.is-searching { max-height: 340px; overflow-y: auto; }
.design-n .n-fbrands__search {
	width: 100%;
	border: 1px solid var(--n-line);
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 14px;
	margin-bottom: 8px;
	background: #fff;
}
.design-n .n-fbrands__more { background: none; border: 0; padding: 6px 0 0; font-size: 13.5px; font-weight: 700; color: var(--n-ink); text-decoration: underline; cursor: pointer; }

/* цена */
.design-n .n-fprice { display: flex; align-items: center; gap: 8px; }
.design-n .n-fprice label { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--n-muted); margin: 0; flex: 1; min-width: 0; }
.design-n .n-fprice label span { display: none; }
.design-n .n-fprice input { width: 100%; min-width: 0; border: 1px solid var(--n-line); border-radius: 6px; padding: 8px; font-size: 14px; background: #fff; }
.design-n .n-fprice__ok { border: 0; border-radius: 6px; background: var(--n-ink); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 11px; cursor: pointer; }
.design-n .n-franges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.design-n .n-frange { font-size: 12.5px; padding: 5px 10px; border: 1px solid var(--n-line); border-radius: 999px; color: var(--n-text); }
.design-n .n-frange:hover { border-color: var(--n-ink); }
.design-n .n-frange.is-on { background: var(--n-ink); border-color: var(--n-ink); color: #fff; }

.design-n .n-filters__apply { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.design-n .n-filters__submit { display: none; }
.design-n .n-filters__reset { font-size: 13.5px; font-weight: 700; color: var(--n-ink); text-decoration: underline; }

/* избраните филтри над продуктите */
.design-n .n-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.design-n .n-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--n-soft); border: 1px solid var(--n-line); color: var(--n-ink); font-size: 13px; font-weight: 600; }
.design-n .n-chip span { font-size: 16px; line-height: 1; color: var(--n-muted); }
.design-n .n-chip:hover { border-color: var(--n-ink); }
.design-n .n-chips__reset { font-size: 13px; font-weight: 700; color: var(--n-red); margin-left: 4px; }

html.n-noscroll, html.n-noscroll body { overflow: hidden; }

@media (max-width: 1279px) {
	.design-n .n-shop { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
	body.design-n .n-shop__main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* таблет и телефон: бутон „Filter“ → панел отляво */
@media (max-width: 1023px) {
	.design-n .n-shop { display: block; }
	body.design-n .n-shop__main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.design-n .n-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 14px;
		padding: 10px 16px;
		border: 1px solid var(--n-ink);
		border-radius: 8px;
		background: #fff;
		color: var(--n-ink);
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
	}
	.design-n .n-filter-toggle__n { background: var(--n-red); color: #fff; border-radius: 999px; font-size: 11.5px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
	.design-n .n-filters {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(360px, 88vw);
		max-height: none;
		background: #fff;
		z-index: 10001;
		padding: 0 18px 0;
		transform: translateX(-102%);
		transition: transform .25s ease;
		box-shadow: 0 0 40px rgba(0, 0, 0, .2);
	}
	.design-n .n-filters.is-open { transform: none; }
	.design-n .n-filters__top { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--n-line); z-index: 1; font-size: 17px; }
	.design-n .n-filters__close { display: block; background: none; border: 0; font-size: 30px; line-height: 1; padding: 0 4px; color: var(--n-ink); cursor: pointer; }
	.design-n .n-fsec:first-of-type { padding-top: 14px; }
	.design-n .n-filters__apply { position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; border-top: 1px solid var(--n-line); align-items: center; }
	.design-n .n-filters__submit { display: block; width: 100%; padding: 13px; border: 0; border-radius: 8px; background: var(--n-ink); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
	.design-n .n-filters__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 10000; }
	.design-n .n-filters__backdrop[hidden] { display: none; }
}

@media (max-width: 768px) {
	body.design-n .n-shop__main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* „Ähnliche Produkte“ / „Das könnte Ihnen auch gefallen“ — заглавие като на началната */
.design-n .related.products > h2,
.design-n .upsells.products > h2 {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	text-transform: none;
	text-align: left;
	color: var(--n-ink);
	margin: 0 0 20px;
}
.design-n .related.products > h2::after,
.design-n .upsells.products > h2::after { display: none; }
.design-n .related.products, .design-n .upsells.products { width: 100%; clear: both; padding-top: 40px; }
@media (max-width: 768px) {
	.design-n .related.products > h2, .design-n .upsells.products > h2 { font-size: 20px; }
}

/* ============================================================
   Банери най-горе на началната (aura_n_hero в inc/design-n.php)
   Банер от марка + наша лента с текст ПОД него; банер само с текст.
   ============================================================ */
.design-n .n-hero { position: relative; margin-top: 24px; }
.design-n .n-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	border-radius: 16px;
}
.design-n .n-hero__track::-webkit-scrollbar { display: none; }
.design-n .n-hero__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	color: var(--n-ink);
	text-decoration: none;
	overflow: hidden;
}

/* банер от марката: снимката с фиксирана височина (изрязва се само отгоре/отдолу) */
.design-n .n-hero__media { display: block; height: clamp(240px, 31vw, 430px); background: var(--n-soft); overflow: hidden; }
/* по-силен селектор от общото „.n-banner-img img { height: auto }“ по-долу във файла */
.design-n .n-hero__media .n-banner-img,
.design-n .n-hero__media .n-banner-img img { width: 100%; height: 100%; }
.design-n .n-hero__media .n-banner-img img { object-fit: cover; object-position: var(--focus, center); }

/* банер с празно поле вдясно (CeraVe): текстът е върху снимката, лентата отдолу се скрива */
.design-n .n-hero__media { position: relative; }
.design-n .n-hero__over {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 31%; /* свободното синьо поле е ~32% от ширината, след изрязването */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 0 32px 0 0;
	color: #fff;
}
.design-n .n-hero__over-brand { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.design-n .n-hero__over-title { font-size: 36px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.design-n .n-hero__over-lead { font-size: 16px; line-height: 1.45; opacity: .9; margin-bottom: 22px; max-width: 340px; }
.design-n .n-hero__over .n-hero__btn { background: #fff; color: #0b4f8a; }
.design-n .n-hero__slide--overlay .n-hero__media { flex: 1; height: auto; min-height: clamp(240px, 31vw, 430px); }
.design-n .n-hero__slide--overlay .n-hero__caption { display: none; }

/* нашата лента под банера */
.design-n .n-hero__caption {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 28px;
	background: var(--cap-bg, #111); /* по банер: 'cap_bg' в aura_n_hero_slides() */
	color: #fff;
}
.design-n .n-hero__cap-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.design-n .n-hero__cap-brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8a95; }
.design-n [style*="--cap-bg"] .n-hero__cap-brand { color: rgba(255, 255, 255, .8); }
.design-n .n-hero__cap-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.design-n .n-hero__cap-lead { font-size: 15px; color: rgba(255, 255, 255, .72); }
.design-n .n-hero__caption .n-hero__btn { background: #fff; color: #111; flex-shrink: 0; }
/* светла лента (Clinique): тъмен текст, черен бутон */
.design-n [data-cap="light"] .n-hero__caption { color: #111; }
.design-n [data-cap="light"] .n-hero__cap-brand { color: #6f6f6f; }
.design-n [data-cap="light"] .n-hero__cap-lead { color: #555; }
.design-n [data-cap="light"] .n-hero__caption .n-hero__btn { background: #111; color: #fff; }

/* банер само с текст */
.design-n .n-hero__slide--text {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 48px 56px;
	background: linear-gradient(120deg, #2a1420 0%, #5a1f36 55%, #8c2a43 100%);
	color: #fff;
}
.design-n .n-hero__text { display: flex; flex-direction: column; align-items: flex-start; max-width: 600px; }
.design-n .n-hero__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb3bb; }
.design-n .n-hero__title { margin: 0 0 14px; font-size: 50px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.design-n .n-hero__title em { font-style: italic; font-weight: 700; color: #ffb3bb; }
.design-n .n-hero__lead { margin: 0 0 26px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 480px; }
.design-n .n-hero__slide--text .n-hero__btn { background: #fff; color: #111; }
.design-n .n-hero__usps { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.design-n .n-hero__usp {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: 15.5px;
	font-weight: 600;
}
.design-n .n-hero__usp::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #8c2a43; font-size: 13px; font-weight: 800; }

.design-n .n-hero__btn { display: inline-block; padding: 14px 26px; border-radius: 8px; background: var(--n-ink); color: #fff; font-size: 15px; font-weight: 700; transition: transform .15s ease; }
.design-n .n-hero__slide:hover .n-hero__btn { transform: translateY(-2px); }

.design-n .n-hero__arrow {
	position: absolute;
	top: calc(clamp(240px, 31vw, 430px) / 2);
	right: 16px;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: var(--n-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	opacity: 0;
	transition: opacity .2s ease;
}
.design-n .n-hero:hover .n-hero__arrow, .design-n .n-hero__arrow:focus-visible { opacity: 1; }
.design-n .n-hero__arrow--prev { right: auto; left: 16px; }
.design-n .n-hero__arrow--prev svg { transform: rotate(180deg); }
/* точките — под банерите, за да не застъпват лентата с текста */
.design-n .n-hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.design-n .n-hero__dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(17, 17, 17, .22); cursor: pointer; transition: width .2s ease, background .2s ease; }
.design-n .n-hero__dot.is-on { width: 26px; background: var(--n-ink); }

@media (max-width: 1023px) {
	.design-n .n-hero__slide--text { padding: 36px 32px; gap: 24px; }
	.design-n .n-hero__title { font-size: 38px; }
	.design-n .n-hero__usp { font-size: 14px; padding: 11px 14px; }
	.design-n .n-hero__cap-title { font-size: 19px; }
	.design-n .n-hero__cap-lead { display: none; }
	.design-n .n-hero__over { width: 32%; padding-right: 20px; }
	.design-n .n-hero__over-title { font-size: 26px; }
	.design-n .n-hero__over-lead { font-size: 14px; margin-bottom: 16px; }
}

/*
 * Телефон (собственикът: „не изглеждат добре“ — тънка ивица снимка + голям черен блок):
 * снимката 2:1, изрязана към важното ('focus_m'), лентата — ниска, заглавие и бутон
 * на един ред, в цвета на банера.
 */
@media (max-width: 768px) {
	.design-n .n-hero { margin-top: 12px; }
	.design-n .n-hero__track { border-radius: 12px; }
	.design-n .n-hero__media,
	.design-n .n-hero__slide--overlay .n-hero__media { flex: none; height: auto; min-height: 0; aspect-ratio: 2 / 1; }
	.design-n .n-hero__media .n-banner-img,
	.design-n .n-hero__media .n-banner-img img { height: 100%; }
	.design-n .n-hero__media .n-banner-img img { object-position: var(--focus-m, var(--focus, center)); }
	.design-n .n-hero__caption { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
	.design-n .n-hero__cap-text { flex-direction: column; gap: 2px; }
	.design-n .n-hero__cap-brand { font-size: 11px; }
	.design-n .n-hero__cap-title { font-size: 17px; line-height: 1.2; }
	.design-n .n-hero__caption .n-hero__btn { padding: 10px 14px; font-size: 13px; }
	.design-n .n-hero__slide--text { flex-direction: column; align-items: flex-start; justify-content: center; padding: 22px 20px; gap: 14px; }
	.design-n .n-hero__eyebrow { font-size: 11.5px; margin-bottom: 8px; }
	.design-n .n-hero__title { font-size: 28px; margin-bottom: 14px; }
	.design-n .n-hero__lead { display: none; }
	/* на телефон снимката е малка — текстът отива в лентата отдолу като при другите банери */
	.design-n .n-hero__over { display: none; }
	.design-n .n-hero__slide--overlay .n-hero__caption { display: flex; }
	/* предимствата са и в горната лента; без тях текстовият банер е висок колкото банера с марка */
	.design-n .n-hero__usps { display: none; }
	.design-n .n-hero__slide--text .n-hero__btn { padding: 12px 20px; font-size: 14px; }
	.design-n .n-hero__arrow { display: none; }
}

/* ============================================================
   Рекламни банери из сайта (aura_n_promo в inc/design-n.php)
   ============================================================ */
.design-n .n-tone--rose  { --p-bg: #f6e4e1; --p-accent: #b8433a; }
.design-n .n-tone--blush { --p-bg: #f8e8ef; --p-accent: #b03a6c; }
.design-n .n-tone--sand  { --p-bg: #efe6d8; --p-accent: #8a5a2b; }
.design-n .n-tone--mint  { --p-bg: #e3efe9; --p-accent: #2f6f58; }
.design-n .n-tone--sky   { --p-bg: #e4edf6; --p-accent: #2d5b8a; }
.design-n .n-tone--slate { --p-bg: #e7e9ee; --p-accent: #3a4256; }

.design-n .n-promos { display: grid; gap: 16px; margin-top: 36px; }
.design-n .n-promos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.design-n .n-promos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.design-n .n-promo {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 220px;
	padding: 26px 28px;
	border-radius: 14px;
	background: var(--p-bg);
	color: var(--n-ink);
	text-decoration: none;
	overflow: hidden;
	transition: box-shadow .2s ease;
}
.design-n .n-promo:hover { box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .35); }
.design-n .n-promo--wide { margin-top: 36px; min-height: 230px; padding: 30px 44px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.design-n .n-promos--3 .n-promo { grid-template-columns: minmax(0, 1fr); align-content: space-between; min-height: 300px; }

.design-n .n-promo__text { display: flex; flex-direction: column; align-items: flex-start; }
.design-n .n-promo__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); margin-bottom: 8px; }
.design-n .n-promo__title { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.design-n .n-promo--wide .n-promo__title { font-size: 34px; }
.design-n .n-promo__title em { font-style: italic; font-weight: 700; color: var(--p-accent); }
.design-n .n-promo__lead { font-size: 14.5px; line-height: 1.45; color: var(--n-text); margin-top: 8px; max-width: 360px; }
.design-n .n-promo__cta { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--n-ink); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.design-n .n-promo:hover .n-promo__cta { color: var(--p-accent); }

.design-n .n-promo__products { display: flex; align-items: flex-end; justify-content: center; height: 170px; }
.design-n .n-promo--wide .n-promo__products { height: 190px; }
.design-n .n-promos--3 .n-promo__products { height: 150px; margin-top: 10px; }
.design-n .n-promo__product { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.design-n .n-promo__product img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.design-n .n-promo:hover .n-promo__product img { transform: translateY(-4px); }

/* банерът най-горе в категорията — над колоната с филтрите и продуктите */
.design-n.tax-product_cat .n-promo--wide { margin: 0 0 24px; }

@media (max-width: 1023px) {
	.design-n .n-promos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.design-n .n-promos--3 .n-promo { padding: 20px; min-height: 260px; }
	.design-n .n-promos--2 .n-promo { grid-template-columns: minmax(0, 1fr); }
	.design-n .n-promo--wide { padding: 26px 30px; }
}

@media (max-width: 768px) {
	.design-n .n-promos { margin-top: 24px; gap: 12px; }
	.design-n .n-promos--2, .design-n .n-promos--3 { grid-template-columns: minmax(0, 1fr); }
	.design-n .n-promo,
	.design-n .n-promos--2 .n-promo,
	.design-n .n-promos--3 .n-promo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 0; padding: 18px 18px; align-content: center; }
	.design-n .n-promo--wide { margin-top: 24px; }
	.design-n .n-promo__title, .design-n .n-promo--wide .n-promo__title { font-size: 21px; }
	.design-n .n-promo__lead { font-size: 13px; }
	.design-n .n-promo__cta { margin-top: 10px; font-size: 13px; }
	.design-n .n-promo__products,
	.design-n .n-promo--wide .n-promo__products,
	.design-n .n-promos--3 .n-promo__products { height: 120px; margin-top: 0; }
	.design-n.tax-product_cat .n-promo--wide { margin-bottom: 16px; }
}

/*
 * Готови банери от марките (снимка с техния текст и лого) — в естествените си
 * пропорции, без изрязване: логото на марката често е в края (напр. Kérastase 3:1 —
 * вдясно) и при изрязване би изчезнало. Вариантът за телефон идва от <picture>.
 */
.design-n .n-banner-img, .design-n .n-banner-img img { display: block; width: 100%; height: auto; }
.design-n .n-promo--banner { padding: 0; display: block; min-height: 0; background: var(--n-soft); }

/* ============================================================
   Футър (functions.php → aura_footer): 5 колони; на телефон —
   сгъваеми раздели като при Notino (собственикът: „тази част не е добре“)
   ============================================================ */
.design-n .aura-footer__inner { grid-template-columns: 1.3fr 1.5fr 1fr 1fr 1.25fr; gap: 32px; }
.design-n .aura-footer__sec > summary { list-style: none; cursor: default; }
.design-n .aura-footer__sec > summary::-webkit-details-marker { display: none; }
.design-n .aura-footer__sec > summary h3 { margin: 0 0 18px; }
.design-n .aura-footer__contacts h3 { margin-bottom: 14px; }
.design-n .aura-footer__cta {
	display: inline-block;
	margin: 0 0 18px;
	padding: 11px 18px;
	border-radius: 8px;
	background: var(--n-ink);
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700;
}
.design-n .aura-footer__cta:hover { background: #333; }

@media (max-width: 1023px) {
	.design-n .aura-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
	.design-n .aura-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
	.design-n .aura-footer { padding-top: 32px; }
	.design-n .aura-footer__inner { grid-template-columns: 1fr; gap: 0; }
	.design-n .aura-footer__brand { padding-bottom: 20px; }
	.design-n .aura-footer__sec { border-top: 1px solid var(--n-line); }
	.design-n .aura-footer__sec > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
	.design-n .aura-footer__sec > summary h3 { margin: 0; font-size: 15px; }
	.design-n .aura-footer__sec > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--n-ink); border-bottom: 2px solid var(--n-ink); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s ease; }
	.design-n .aura-footer__sec[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
	.design-n .aura-footer__sec ul { padding: 0 0 14px; }
	.design-n .aura-footer__sec li { margin: 0; }
	.design-n .aura-footer__sec li a { display: block; padding: 8px 0; font-size: 15px; }
	.design-n .aura-footer__cats ul { columns: 2; }
	.design-n .aura-footer__contacts { border-top: 1px solid var(--n-line); padding-top: 22px; }
	.design-n .aura-footer__contacts h3 { font-size: 15px; }
	.design-n .aura-footer__cta { display: block; text-align: center; padding: 13px; }
}

/* ============================================================
   Страница „Kontakt“ (inc/contact.php, шорткод [aura_kontakt])
   ============================================================ */
.design-n .n-kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; margin: 8px 0 40px; }
.design-n .n-kontakt__info { background: var(--n-soft); border-radius: 14px; padding: 28px; }
.design-n .n-kontakt__info h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.02em; }
.design-n .n-kontakt__info p { font-size: 15px; line-height: 1.55; color: var(--n-text); margin: 0 0 16px; }
.design-n .n-kontakt__info p span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--n-muted); margin-bottom: 3px; }
.design-n .n-kontakt__mail a { font-weight: 700; color: var(--n-ink); }
.design-n .n-kontakt__tip { font-size: 13.5px !important; color: var(--n-muted) !important; border-top: 1px solid var(--n-line); padding-top: 14px; margin-bottom: 0 !important; }

.design-n .n-kf { display: flex; flex-direction: column; gap: 16px; }
.design-n .n-kf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.design-n .n-kf__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.design-n .n-kf__field > span { font-size: 14px; font-weight: 700; color: var(--n-ink); }
.design-n .n-kf__field em { font-style: normal; font-weight: 400; color: var(--n-muted); }
.design-n .n-kf input[type="text"],
.design-n .n-kf input[type="email"],
.design-n .n-kf select,
.design-n .n-kf textarea {
	width: 100%;
	border: 1px solid #cfcfcf;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	background: #fff;
	box-shadow: none;
}
.design-n .n-kf input:focus, .design-n .n-kf select:focus, .design-n .n-kf textarea:focus { border-color: var(--n-ink); outline: 2px solid rgba(17, 17, 17, .08); }
.design-n .n-kf textarea { resize: vertical; min-height: 140px; }
.design-n .n-kf__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--n-text); margin: 0; cursor: pointer; }
.design-n .n-kf__check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--n-ink); }
.design-n .n-kf__check a { text-decoration: underline; }
.design-n .n-kf__submit { align-self: flex-start; padding: 14px 28px; border: 0; border-radius: 8px; background: var(--n-ink); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.design-n .n-kf__submit:hover { background: #333; }
.design-n .n-kf__err { font-size: 13px; color: var(--n-red); font-weight: 600; }
.design-n .n-kf__alert { background: #fdecee; border: 1px solid #f5b8bf; color: #8a1020; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.design-n .n-kf__ok { background: #e9f6ee; border: 1px solid #b6e0c4; border-radius: 12px; padding: 24px; }
.design-n .n-kf__ok strong { font-size: 18px; display: block; margin-bottom: 6px; }
.design-n .n-kf__ok p { margin: 0; }
.design-n .n-kf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 768px) {
	.design-n .n-kontakt { grid-template-columns: 1fr; gap: 20px; }
	.design-n .n-kontakt__info { padding: 20px; }
	.design-n .n-kf__row { grid-template-columns: 1fr; }
	.design-n .n-kf__submit { align-self: stretch; }
}

/* ============================================================
   Страница „Danke“ след поръчка (woocommerce/checkout/thankyou.php)
   ============================================================ */
.design-n .n-ty { max-width: 760px; margin: 8px auto 48px; }
.design-n .n-ty__hero { text-align: center; padding: 12px 0 24px; }
.design-n .n-ty__check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #1f9d55; color: #fff; margin-bottom: 16px; }
.design-n .n-ty__check svg { width: 34px; height: 34px; }
.design-n .n-ty__title { font-size: 32px !important; font-weight: 800 !important; letter-spacing: -.02em; text-transform: none !important; margin: 0 0 10px !important; text-align: center !important; }
.design-n .n-ty__lead { font-size: 16px; line-height: 1.55; color: var(--n-text); margin: 0 auto; max-width: 560px; }

.design-n .n-ty__leadtime {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #FFF7E6;
	border: 1px solid #F2C46D;
	border-radius: 12px;
	padding: 18px 20px;
	margin: 0 0 24px;
	color: #7a4b00;
}
.design-n .n-ty__leadtime svg { width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; }
.design-n .n-ty__leadtime .t { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.design-n .n-ty__leadtime .s { margin: 0; font-size: 15px; line-height: 1.5; color: #5c4210; }

.design-n .n-ty__steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: tystep; }
.design-n .n-ty__steps li { counter-increment: tystep; background: var(--n-soft); border-radius: 12px; padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.design-n .n-ty__steps li::before { content: counter(tystep); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--n-line); font-weight: 800; font-size: 14px; color: var(--n-ink); }
.design-n .n-ty__steps li.is-now::before { background: var(--n-ink); border-color: var(--n-ink); color: #fff; }
.design-n .n-ty__steps li.is-done::before { content: "✓"; background: #1f9d55; border-color: #1f9d55; color: #fff; }
.design-n .n-ty__steps strong { font-size: 15px; color: var(--n-ink); }
.design-n .n-ty__steps span { font-size: 13.5px; line-height: 1.45; color: var(--n-text); }

.design-n .n-ty__box { border: 1px solid var(--n-line); border-radius: 12px; padding: 20px 22px; margin: 0 0 20px; }
.design-n .n-ty__box h2 { font-size: 19px !important; font-weight: 800 !important; margin: 0 0 14px !important; text-transform: none !important; letter-spacing: -.01em; }
.design-n .n-ty__bank dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 12px; font-size: 15px; }
.design-n .n-ty__bank dt { color: var(--n-muted); font-weight: 600; }
.design-n .n-ty__bank dd { margin: 0; color: var(--n-ink); }
.design-n .n-ty__bank .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.design-n .n-ty__note { font-size: 14px; color: var(--n-muted); margin: 0; }

.design-n .n-ty__list { list-style: none; margin: 0; padding: 0; }
.design-n .n-ty__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--n-line); margin: 0; }
.design-n .n-ty__item:first-child { padding-top: 0; }
.design-n .n-ty__img { display: block; width: 72px; height: 72px; background: var(--n-soft); border-radius: 8px; overflow: hidden; }
.design-n .n-ty__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.design-n .n-ty__name { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.35; }
.design-n .n-ty__name a { color: var(--n-ink); }
.design-n .n-ty__brand { font-weight: 800; font-size: 13.5px; color: var(--n-ink); }
.design-n .n-ty__qty { font-size: 13px; color: var(--n-muted); }
.design-n .n-ty__price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.design-n .n-ty__totals { width: 100%; margin: 14px 0 0; border: 0; border-collapse: collapse; }
.design-n .n-ty__totals tr,
.design-n .n-ty__totals th, .design-n .n-ty__totals td { padding: 6px 0; border: 0; background: transparent !important; font-size: 14.5px; }
.design-n .n-ty__name a { text-decoration: none; }
.design-n .n-ty__name a:hover { text-decoration: underline; }
.design-n .n-ty__totals th { text-align: left; font-weight: 500; color: var(--n-text); }
.design-n .n-ty__totals td { text-align: right; }
.design-n .n-ty__row--order_total th, .design-n .n-ty__row--order_total td { font-size: 18px; font-weight: 800; color: var(--n-ink); border-top: 1px solid var(--n-line); padding-top: 12px; }
.design-n .n-ty__address address { font-style: normal; line-height: 1.6; font-size: 15px; margin: 0; }

.design-n .n-ty__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.design-n .n-ty__btn { display: inline-block; padding: 14px 28px; border-radius: 8px; background: var(--n-ink); color: #fff !important; font-weight: 700; font-size: 15px; }
.design-n .n-ty__btn:hover { background: #333; }
.design-n .n-ty__link { font-size: 14.5px; font-weight: 600; color: var(--n-ink); text-decoration: underline; }

@media (max-width: 768px) {
	.design-n .n-ty__title { font-size: 25px !important; }
	.design-n .n-ty__lead { font-size: 15px; }
	.design-n .n-ty__steps { grid-template-columns: 1fr; }
	.design-n .n-ty__steps li { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 4px 10px; }
	.design-n .n-ty__steps li span { flex-basis: 100%; padding-left: 38px; }
	.design-n .n-ty__box { padding: 16px; }
	.design-n .n-ty__item { grid-template-columns: 60px minmax(0, 1fr); }
	.design-n .n-ty__img { width: 60px; height: 60px; }
	.design-n .n-ty__price { grid-column: 2; }
	.design-n .n-ty__btn { width: 100%; text-align: center; }
}

/* ============================================================
   Снимките на продукта: прозорец като на amax-bg.com (JS в inc/design-n.php)
   ============================================================ */
.design-n .woocommerce-product-gallery__image { position: relative; cursor: zoom-in; }
/* лупа в ъгъла при посочване — подсказва, че снимката се отваря */
.design-n .woocommerce-product-gallery__image::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(17, 17, 17, .72) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat;
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}
.design-n .woocommerce-product-gallery__image:hover::after { opacity: 1; }
@media (hover: none) { .design-n .woocommerce-product-gallery__image::after { opacity: .85; } }

.n-lb {
	position: fixed;
	inset: 0;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 17, 17, .94);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}
.n-lb.is-open { opacity: 1; visibility: visible; }
.n-lb__stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 80px; box-sizing: border-box; }
.n-lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 6px; transform: scale(.96); transition: transform .28s cubic-bezier(.2, .9, .3, 1.2); }
.n-lb.is-open .n-lb__stage img { transform: scale(1); }
.n-lb__btn {
	position: absolute;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}
.n-lb__btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .45); }
.n-lb__btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.n-lb__close { top: 20px; right: 20px; }
.n-lb__prev { left: 16px; top: 50%; margin-top: -23px; }
.n-lb__next { right: 16px; top: 50%; margin-top: -23px; }
.n-lb__btn[hidden] { display: none; }
.n-lb__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
@media (max-width: 640px) {
	.n-lb__stage { padding: 64px 12px; }
	.n-lb__prev { left: 8px; }
	.n-lb__next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.n-lb, .n-lb__stage img { transition-duration: .01ms; }
}

/* плаващата количка: цялата снимка, вписана в квадрата (неизрязана — виж inc/design-n.php) */
.moderncart-cart-item-image img { object-fit: contain !important; padding: 4px; box-sizing: border-box; background: #fff; }

/* ============================================================
   Бързо добавяне в количката от картата (собственикът, 17.10.2026)
   Бутонът на WooCommerce (AJAX) като кръгла иконка в долния десен ъгъл на снимката.
   100cqw = ширината на картата = височината на квадратната снимка.
   ============================================================ */
body.design-n ul.products li.product { position: relative; container-type: inline-size; }
body.design-n ul.products li.product a.button.add_to_cart_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: calc(100cqw - 54px);
	right: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: var(--n-ink) !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 0;
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
body.design-n ul.products li.product:hover a.button.add_to_cart_button,
body.design-n ul.products li.product a.button.add_to_cart_button:focus-visible,
body.design-n ul.products li.product a.button.add_to_cart_button.loading,
body.design-n ul.products li.product a.button.add_to_cart_button.added { opacity: 1; transform: none; }
body.design-n ul.products li.product a.button.add_to_cart_button:hover { background: var(--n-red) !important; }
/* иконата: количка с плюс */
body.design-n ul.products li.product a.button.add_to_cart_button::before {
	content: "";
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3Cpath d='M13 9.5v4M11 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3Cpath d='M13 9.5v4M11 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Storefront слага своя иконка/въртележка — махаме я */
body.design-n ul.products li.product a.button.add_to_cart_button::after { display: none !important; }
/* докато се добавя — пулсира */
body.design-n ul.products li.product a.button.add_to_cart_button.loading { pointer-events: none; animation: n-qa-pulse .8s ease-in-out infinite; }
@keyframes n-qa-pulse { 50% { opacity: .55; } }
/* добавен — зелен с отметка */
body.design-n ul.products li.product a.button.add_to_cart_button.added { background: #1f9d55 !important; }
body.design-n ul.products li.product a.button.add_to_cart_button.added::before {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
/* връзката „Warenkorb anzeigen“, която WooCommerce добавя след бутона — плаващата количка я замества */
body.design-n ul.products li.product a.added_to_cart { display: none !important; }
/* телефон и таблет (без посочване) — бутонът се вижда винаги */
@media (hover: none) {
	body.design-n ul.products li.product a.button.add_to_cart_button { opacity: 1; transform: none; width: 40px; height: 40px; top: calc(100cqw - 48px); right: 8px; }
}

/*
 * Продуктът вече е в количката (собственикът: „цъкнеш — не го маха, а добавя още бройки“):
 * JS-ът във functions.php (syncCards) слага на картата .aura-in-cart и бутон .aura-remove,
 * който маха продукта. Тук: бутонът за добавяне се скрива, а .aura-remove е същият кръг —
 * зелен с ✓ (видим винаги), при посочване червен с ×.
 */
body.design-n ul.products li.product.aura-in-cart a.button.add_to_cart_button { display: none !important; }
body.design-n ul.products li.product a.button.aura-remove {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: calc(100cqw - 54px);
	right: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: #1f9d55 !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 0;
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
	transition: background .18s ease;
}
body.design-n ul.products li.product a.button.aura-remove::before {
	content: "";
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.design-n ul.products li.product a.button.aura-remove::after { display: none !important; }
body.design-n ul.products li.product a.button.aura-remove:hover,
body.design-n ul.products li.product a.button.aura-remove:focus-visible { background: var(--n-red) !important; }
body.design-n ul.products li.product a.button.aura-remove:hover::before,
body.design-n ul.products li.product a.button.aura-remove:focus-visible::before {
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
body.design-n ul.products li.product a.button.aura-remove.is-busy { pointer-events: none; animation: n-qa-pulse .8s ease-in-out infinite; }
@media (hover: none) {
	body.design-n ul.products li.product a.button.aura-remove { width: 40px; height: 40px; top: calc(100cqw - 48px); right: 8px; }
}
