/*
  Vanesa.bg: UI слой над theme.css (ноември 2026).
  Цветове и шрифтове само от наръчника на марката: Слива #4B0A57, Роза #E43D7F,
  Пудра #F7EEF1, Lora за заглавия, Manrope за текст. Шампанско не е за текст.
  Идеи от Wolf & Badger: навигация с категориите в главата, плочки „Пазарувайте по“,
  подаръци по получател и бюджет, спокойни продуктови карти, плъзгащи се ленти на телефон.
*/

/* ── 1. Глава ──────────────────────────────────────────────── */
.announce__text { font-size: 0.8125rem; letter-spacing: 0.01em; }
.mini-cart__count { background: var(--primary) !important; color: #fff !important; box-shadow: 0 0 0 2px var(--bg); }
@media (max-width: 767.98px) {
  /* На телефон търсенето е в долната лента; редът в главата само яде екран. */
  .site-head__search { display: none; }
}

/* Навигация с категориите в реда под главата (от 768px) */
.vn-menu { position: relative; border-block-start: 1px solid var(--border); background: var(--bg); }
.vn-menu__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(0.75rem, 2vw, 2.25rem); margin: 0; padding: 0 var(--gutter); list-style: none; }
.vn-menu__item { position: static; }
.vn-menu__link { display: inline-flex; align-items: center; min-block-size: 48px; padding-inline: 0.25rem; color: var(--text); font-weight: 600; font-size: 0.9375rem; text-decoration: none; border-block-end: 2px solid transparent; transition: border-color .15s, color .15s; }
.vn-menu__link:hover, .vn-menu__item:focus-within > .vn-menu__link, .vn-menu__link[aria-current="page"] { color: var(--primary); border-block-end-color: var(--accent); }
.vn-menu__item--gifts > .vn-menu__link { color: var(--accent-700); }
.vn-menu__panel { position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 55; display: none; background: var(--surface); border-block: 1px solid var(--border); box-shadow: 0 18px 40px rgb(42 20 48 / 0.12); }
.vn-menu__item--has:hover > .vn-menu__panel,
.vn-menu__item--has:focus-within > .vn-menu__panel { display: block; }
.vn-menu__inner { display: grid; grid-template-columns: 1fr minmax(15rem, 18rem); gap: 2rem; max-inline-size: var(--page); margin-inline: auto; padding: 1.75rem var(--gutter) 2rem; }
.vn-menu__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.25rem 2rem; margin: 0; padding: 0; list-style: none; align-content: start; }
.vn-menu__child { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--primary); text-decoration: none; padding-block: 0.25rem; }
.vn-menu__child:hover, .vn-menu__leaf:hover, .vn-menu__all:hover { color: var(--accent-700); text-decoration: underline; text-underline-offset: 3px; }
.vn-menu__leaves { margin: 0.25rem 0 0; padding: 0; list-style: none; }
.vn-menu__leaf { display: block; padding-block: 0.3rem; color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.vn-menu__all { grid-column: 1; justify-self: start; font-weight: 600; color: var(--primary); }
.vn-menu__promo { grid-row: 1 / span 2; grid-column: 2; display: grid; align-content: end; gap: 0.5rem; min-block-size: 12rem; padding: 1.25rem; border-radius: 12px; color: var(--on-bar); text-decoration: none; background: var(--bar) url("pattern.svg") right top / 84px 84px repeat-y; }
.vn-menu__promo-eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bar-muted); }
.vn-menu__promo-title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.vn-menu__promo-cta { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767.98px) { .vn-menu { display: none; } }

/* ── 2. Заглавия на секции: вляво, с „Вижте всички“ вдясно ─── */
.rail__head, .vn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; text-align: start; }
.rail__head .section__heading, .vn-head .section__heading { margin: 0; text-align: start; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
.section__more { font-weight: 600; color: var(--primary); white-space: nowrap; }

/* ── 3. Плочки с категориите ───────────────────────────────── */
.vn-cats__list { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 0.75rem; margin: 1.25rem 0 0; padding: 0 0 0.5rem; list-style: none; }
@media (min-width: 768px) { .vn-cats__list { grid-auto-columns: calc((100% - 3 * 1rem) / 4); gap: 1rem; } }
@media (min-width: 1200px) { .vn-cats__list { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); grid-auto-columns: auto; } }
.vn-cats__link { display: grid; grid-template-rows: auto auto auto; gap: 0.35rem; color: var(--text); text-decoration: none; }
.vn-cats__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); transition: transform .2s; }
.vn-cats__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.vn-cats__mark { inline-size: 42%; aspect-ratio: 1; background: url("mark.svg") center / contain no-repeat; opacity: 0.9; }
.vn-cats__cell:nth-child(3n+2) .vn-cats__media { background: var(--bar) url("pattern.svg") center / 84px 84px; }
.vn-cats__cell:nth-child(3n+2) .vn-cats__mark { display: none; }
.vn-cats__cell:nth-child(3n) .vn-cats__media { background: var(--accent-100); }
.vn-cats__link:hover .vn-cats__media { transform: translateY(-2px); }
.vn-cats__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; color: var(--primary); margin-block-start: 0.35rem; }
.vn-cats__cta { font-size: 0.8125rem; color: var(--muted); }

/* ── 4. Подаръци по получател и бюджет ─────────────────────── */
.vn-gifts__intro { margin: 0.5rem 0 0; max-inline-size: 60ch; color: var(--muted); font-size: 1.0625rem; }
.vn-gifts__grid { display: grid; gap: 0.75rem; margin-block-start: 1.25rem; }
@media (min-width: 768px) { .vn-gifts__grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.vn-gifts__tile { position: relative; display: grid; align-content: end; gap: 0.35rem; min-block-size: 11rem; padding: 1.5rem; border-radius: 14px; text-decoration: none; overflow: hidden; }
@media (min-width: 768px) { .vn-gifts__tile { min-block-size: 15rem; padding: 2rem; } }
.vn-gifts__tile--plum { background: var(--bar) url("pattern.svg") right top / 84px 84px repeat-y; color: var(--on-bar); }
.vn-gifts__tile--powder { background: var(--surface-2); color: var(--primary); }
.vn-gifts__tile--powder::after { content: ""; position: absolute; inset-block-start: 1.25rem; inset-inline-end: 1.25rem; inline-size: 3.5rem; aspect-ratio: 1; background: url("mark.svg") center / contain no-repeat; }
.vn-gifts__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.15; }
.vn-gifts__text { font-size: 0.9375rem; max-inline-size: 32ch; opacity: 0.92; }
.vn-gifts__cta { margin-block-start: 0.5rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.vn-gifts__budget { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-block-start: 1rem; }
.vn-gifts__budget-label { inline-size: 100%; font-weight: 600; color: var(--text); margin-block-end: 0.15rem; }
@media (min-width: 768px) { .vn-gifts__budget-label { inline-size: auto; margin: 0 0.5rem 0 0; } }
.vn-gifts__chip { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 1.1rem; border: 1.5px solid var(--primary); border-radius: 999px; color: var(--primary); font-weight: 600; text-decoration: none; background: var(--surface); transition: background .15s, color .15s; }
.vn-gifts__chip:hover { background: var(--primary); color: #fff; }

/* ── 5. Продуктови карти ───────────────────────────────────── */
.product-card { text-align: start; }
.product-card__media { border-radius: 12px; background: #fff; }
.product-card__brand { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-block-end: 0.15rem; }
.product-card__title { font-size: 0.9375rem; font-weight: 400; line-height: 1.35; color: var(--text); text-align: start; }
.product-card__price { justify-content: flex-start; text-align: start; }
.product-card .price__now { font-weight: 600; color: var(--primary); }
.product-card .price__now--sale { color: var(--accent-700); }
.product-card .list-btn--icon { border-radius: 999px; background: rgb(255 255 255 / 0.92); border-color: transparent; box-shadow: 0 2px 8px rgb(42 20 48 / 0.12); }
.product-card__atc, .product-card__choose { min-block-size: 42px; font-size: 0.875rem; }

/* ── 6. Изявление на марката ───────────────────────────────── */
.dp-statement__text { font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); line-height: 1.3; max-inline-size: 30ch; margin-inline: auto; }

/* ── 7. Лента с доверие: решетка, не бягаща лента ──────────── */
.usp__list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; overflow: visible !important; margin: 0; padding: 0; }
@media (min-width: 900px) { .usp__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.usp__item { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; align-items: start; white-space: normal !important; min-inline-size: 0; }
.usp__icon { grid-row: span 2; color: var(--accent); margin-block-start: 2px; }
.usp__title { font-weight: 600; color: var(--primary); line-height: 1.3; }
.usp__text { font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.usp { padding-block: 1.5rem; }

/* ── 8. Хийро на телефон: следващата секция да се подава ───── */
@media (max-width: 767.98px) {
  .dp-hero--type .dp-hero__stage { min-block-size: 0; padding-block: 2.5rem 2.75rem; }
}

/* ── 9. Продуктова страница ────────────────────────────────── */
@media (max-width: 899.98px) {
  /* Снимката първа, после марка, име и цена (както в W&B). */
  .product .gallery { order: 1; }
  .product__top { order: 2; }
}
.product__brand { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.product__title { line-height: 1.2; }

/* ── 10. Категория ─────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .toolbar__view, [data-sellanto-view-toggle] { display: none !important; }
}
/* Подреждането тръгва само при избор; бутонът остава само без скрипт. */
[data-sellanto-js] .toolbar__apply { display: none; }

/* ── 11. Долна част: контраст AA върху Слива ───────────────── */
.site-foot__about, .site-foot__address, .site-foot__vat, .site-foot__legal,
.site-foot__copy, .site-foot__by, .site-foot__policy, .site-foot__consent { color: var(--bar-muted) !important; }
.site-foot__policy a, .site-foot__consent { color: var(--on-bar) !important; }
