/* =====================================================================
   Care4Everyday · бутиков вариант (v2)
   Палитра по Agrumea Farm: бордо, червено-оранжево, слънчево, млечно.
   Шрифтове локални: Forum (заглавия), Cormorant курсив (акценти), Onest (интерфейс).
   ===================================================================== */
@font-face { font-family: "Forum"; src: url("../fonts/forum-cyrillic.woff2") format("woff2"); font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Forum"; src: url("../fonts/forum-latin.woff2") format("woff2"); font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; src: url("../fonts/cormorant-italic-cyrillic.woff2") format("woff2"); font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; src: url("../fonts/cormorant-italic-latin.woff2") format("woff2"); font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
	--wine: #2f2b36;
	--wine-deep: #221f28;
	--red: #7b5e8c;
	--sun: #e6e6fa;
	--milk: #f5f5f5;
	--white: #ffffff;
	/* плочки зад продуктите — наситени, не кремави */
	--t-teeth: #e6e6fa;
	--t-teeth-on: #d8d8f4;
	--t-baby: #fff0f5;
	--t-baby-on: #fbe0ea;
	--t-skin: #faf0e6;
	--t-skin-on: #f2e2d1;
	--t-feet: #d3d3d3;
	--t-feet-on: #c6c6c6;
	--display: "Forum", "Iowan Old Style", Georgia, serif;
	--accent: "Cormorant", Georgia, serif;
	--ui: "Onest", system-ui, sans-serif;
	--pad: clamp(18px, 2.4vw, 40px);
	--r: 15px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.645, .045, .355, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--milk); color: var(--wine);
	font-family: var(--ui); font-size: 16px; line-height: 1.4;
	-webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow { font: 600 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.it { font-family: var(--accent); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- бутони-хапчета ---------- */
.pill {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	padding: 0 6px 0 18px; border-radius: 999px; border: 1px solid currentColor;
	background: transparent; font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
	transition: background .35s var(--ease), color .35s var(--ease);
}
.pill .dot {
	width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--milk);
	display: grid; place-items: center; font-size: 12px; letter-spacing: 0; flex: none;
	transition: transform .5s var(--ease);
}
.pill:hover .dot { transform: rotate(90deg); }
.pill.solid { background: var(--red); border-color: var(--red); color: var(--milk); padding: 0 22px; }
.pill.solid:hover { background: var(--wine); border-color: var(--wine); }
.pill.milk { background: var(--milk); border-color: var(--milk); color: var(--wine); padding: 0 22px; }
.pill.milk:hover { background: var(--wine); border-color: var(--wine); color: var(--milk); }
.diamond { display: inline-block; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }

/* =====================================================================
   ХЕДЪР
   ===================================================================== */
.hdr {
	position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(245, 245, 245, .94);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	transition: transform .6s var(--ease), box-shadow .3s var(--ease);
}
.hdr.is-solid { box-shadow: 0 1px 0 rgba(47, 43, 54, .12); }
.hdr.is-hidden { transform: translateY(calc(-100% - 10px)); }
.topbar {
	display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
	background: var(--wine); color: var(--milk); font: 500 12px/1 var(--ui); letter-spacing: .04em;
	padding-block: 8px; padding-inline: var(--pad);
}
.topbar .diamond { width: 5px; height: 5px; opacity: .6; }
.hdr-main {
	display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 2vw, 28px);
	padding: 12px var(--pad);
}
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.logo b { font: 400 clamp(26px, 2.4vw, 34px)/.9 var(--display); letter-spacing: .06em; }
.logo i { font: italic 500 17px/1 var(--accent); color: var(--red); margin-top: 2px; }
.hdr-main .logo { align-items: flex-start; text-align: left; }
.hdr-icons { display: flex; gap: 10px; align-items: center; }
.hdr-nav {
	display: flex; gap: clamp(16px, 2.4vw, 34px); padding: 0 var(--pad) 12px; overflow-x: auto; scrollbar-width: none;
	font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
	transition: max-height .4s var(--ease), padding .4s var(--ease), opacity .3s;
	max-height: 40px;
}
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a { padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.hdr-nav a:hover { border-color: currentColor; }
.hdr-nav a.hot { color: var(--red); }
.hdr.is-compact .hdr-nav { max-height: 0; padding-bottom: 0; opacity: 0; overflow: hidden; }

/* търсачката е основният вход при голям асортимент */
.search { position: relative; max-width: 640px; width: 100%; justify-self: center; }
.search input {
	width: 100%; height: 46px; border-radius: 999px; border: 1px solid rgba(47, 43, 54, .28); background: var(--white);
	padding: 0 18px 0 46px; font: 400 15px/1 var(--ui); color: var(--wine); -webkit-appearance: none; appearance: none;
	transition: border-color .3s, box-shadow .3s;
}
.search input::placeholder { color: rgba(47, 43, 54, .55); }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(123, 94, 140, .15); }
.search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--wine); opacity: .7; pointer-events: none; }
.search-ic svg { width: 100%; height: 100%; display: block; }
.sugg {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; background: var(--white); border-radius: var(--r);
	box-shadow: 0 24px 60px rgba(34, 31, 40, .2); padding: 8px; display: grid; gap: 2px; max-height: 70vh; overflow-y: auto;
}
.sugg[hidden] { display: none; }
.sugg-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 10px; border-bottom: 1px solid rgba(47, 43, 54, .1); margin-bottom: 4px; }
.sugg-tags a { font: 600 12px/1 var(--ui); padding: 8px 12px; border-radius: 999px; background: var(--t-teeth); }
.sugg-tags a:hover { background: var(--t-teeth-on); }
.sugg-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.sugg-item:hover, .sugg-item.on { background: var(--milk); }
.sugg-item img, .sugg-noimg { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--milk); }
.sugg-item span { font-size: 14px; line-height: 1.25; min-width: 0; }
.sugg-item small { display: block; font: 700 10.5px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.sugg-item b { font: 400 17px/1 var(--display); white-space: nowrap; }
.sugg-all { border: 0; background: transparent; text-align: left; padding: 12px 8px 6px; font: 600 13px/1 var(--ui); color: var(--red); }
.sugg-none { padding: 14px 8px; font-size: 14px; opacity: .75; }
.icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: transparent;
	display: grid; place-items: center; padding: 0;
}
.icon-btn svg { width: 18px; height: 18px; }
.cart-pill .dot { font: 700 13px/1 var(--ui); }
.cart-pill .dot.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* =====================================================================
   HERO — колело с продукти
   ===================================================================== */
.hero {
	position: relative; min-height: max(100svh, 700px); overflow: hidden;
	--R: min(46vw, 64svh, 820px);
	--C: calc(100% + var(--R) * .75);
}
.hero-copy {
	position: absolute; left: 0; right: 0; top: calc(var(--hdr-h, 150px) + 3vh); z-index: 3;
	text-align: center; padding: 0 var(--pad); pointer-events: none;
}
.hero-copy .eyebrow { color: var(--wine); opacity: .8; }
.hero-cta { pointer-events: auto; margin-top: 22px; }
.hero h1 {
	margin-top: 18px; font: 400 clamp(44px, min(6.2vw, 10.5svh), 120px)/.88 var(--display);
	text-transform: uppercase; color: var(--red); letter-spacing: -.005em;
}
.hero h1 .it { display: block; font-size: .5em; line-height: 1.2; color: var(--wine); }
.disc {
	position: absolute; left: 50%; top: var(--C);
	width: calc(var(--R) * 1.56); aspect-ratio: 1; border-radius: 50%;
	background: var(--wine); transform: translate(-50%, -50%); z-index: 1;
}
.ring {
	position: absolute; left: 50%; top: var(--C); z-index: 2;
	width: calc(var(--R) * 1.38); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--ring, 0deg));
	pointer-events: none;
}
.ring text { font: 400 9.4px var(--display); letter-spacing: .9px; fill: var(--red); text-transform: uppercase; }
.wheel {
	position: absolute; left: 50%; top: var(--C); width: 0; height: 0; z-index: 4;
}
/* размерите на продуктите в колелото следват реалната им височина в сантиметри (--cm) */
.w-item {
	--h: calc(var(--R) * .62 * var(--cm, 15) / 20); --w: calc(var(--R) * .3);
	position: absolute; left: 0; top: 0; width: var(--w); height: var(--h);
	margin-left: calc(var(--w) / -2); margin-top: calc(var(--h) * -1);
	/* дъното на всеки продукт стъпва точно на ръба на диска, плътно един до друг */
	transform-origin: 50% 100%;
	transform: rotate(var(--a)) translateY(calc(var(--R) * -.8));
	display: flex; align-items: flex-end; justify-content: center;
}
.w-item img {
	height: 100%; width: auto; max-width: none; object-fit: contain;
	filter: drop-shadow(0 24px 22px rgba(34, 31, 40, .28));
	transition: transform .6s var(--ease);
}
.w-item:hover img { transform: translateY(-10px) scale(1.04); }
.hero-foot {
	position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; flex-direction: column;
	align-items: center; gap: 14px; color: var(--milk);
}
.hero-foot .eyebrow { display: none; }
.scroll-line { width: 1px; height: 38px; background: rgba(245, 245, 245, .35); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--milk); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =====================================================================
   ПРОДУКТ НА МЕСЕЦА — закачена сцена
   ===================================================================== */
.show { position: relative; height: calc(var(--n, 3) * 100svh + 100svh); }
.show-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.show-bg { position: absolute; inset: 0; opacity: 0; transition: none; }
.show-slide { position: absolute; inset: 0; pointer-events: none; }
.show-slide.is-active { pointer-events: auto; }
/* текстът живее само в лявата половина, продуктът и ръката само в дясната */
.show-copy {
	position: absolute; left: var(--pad); top: 50%; width: min(44vw, 620px); z-index: 2;
	display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.2vh, 26px);
	opacity: var(--o, 0); transform: translateY(calc(-50% + var(--d, 0) * -8vh)); will-change: transform, opacity;
}
.show-title { font: 400 clamp(44px, 6.2vw, 120px)/.88 var(--display); text-transform: uppercase; text-wrap: balance; }
.show-title .it { display: block; font-size: .36em; line-height: 1.3; margin-top: .25em; }
.show-lead { font-size: 16px; line-height: 1.5; max-width: 38ch; opacity: .85; }
.show-lead b { font-weight: 600; }
.show-buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.show-price { font: 400 clamp(30px, 3vw, 44px)/1 var(--display); }
.show-price del { font: 500 15px var(--ui); opacity: .6; margin-right: 6px; }
.show-price.soon { font: italic 500 clamp(26px, 2.4vw, 34px)/1 var(--accent); }
/* продуктът е само в дясната половина; всеки слайд има свой скрол ефект (turn / pop / reveal) */
.show-prod {
	position: absolute; left: 73%; top: 55%; z-index: 1;
	height: min(64svh, 46vw); width: min(36vw, 500px);
	transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
	clip-path: inset(var(--ct, 0%) -20% var(--cb, 0%) -20%);
	opacity: var(--po, 0); will-change: transform, opacity, clip-path;
}
.show-prod img { width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 34px 34px rgba(34, 31, 40, .26)); }
.show-meta { position: absolute; top: calc(var(--hdr-h, 84px) + 4vh); left: var(--pad); display: flex; gap: 12px; z-index: 3; }
.show-count { font: 600 12px/1 var(--ui); letter-spacing: .16em; }
.show-dots { position: absolute; left: var(--pad); bottom: 5vh; display: flex; gap: 10px; z-index: 3; }
.show-dots span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s; }
.show-dots span.on { background: currentColor; }

/* =====================================================================
   КАТЕГОРИИ
   ===================================================================== */
.sec { padding: clamp(80px, 12vw, 180px) var(--pad) 0; }
.sec-head { text-align: center; margin-bottom: clamp(36px, 5vw, 70px); }
.sec-head h2 { font: 400 clamp(48px, 8.6vw, 150px)/.88 var(--display); text-transform: uppercase; color: var(--red); }
.sec-head p { margin: 18px auto 0; max-width: 46ch; font-size: 16px; opacity: .85; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 24px); }
.cat {
	position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden;
	background: var(--tile); display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(16px, 1.6vw, 26px); transition: transform .8s var(--ease), background-color .5s var(--ease);
}
.cat:hover { transform: rotate(-1.6deg) scale(1.01); background: var(--tile-on); }
/* снимката е в собствена зона, текстът под нея — никога един върху друг */
.cat-img { position: relative; flex: 1 1 auto; min-height: 0; margin: 10px 8% 14px; display: grid; place-items: center; }
.cat-img img {
	max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 22px 20px rgba(34, 31, 40, .2));
	transform: translateY(var(--py, 0px)) rotate(var(--rot, 0deg)); transition: transform .8s var(--ease);
	position: absolute; inset: 0; margin: auto; height: 100%;
}
.cat:hover .cat-img img { transform: translateY(calc(var(--py, 0px) - 12px)) rotate(calc(var(--rot, 0deg) + 5deg)) scale(1.05); }
.cat-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.cat-top small { font: 600 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.cat-name {
	position: relative; z-index: 1; flex: none; font: 400 clamp(24px, 2.3vw, 38px)/.95 var(--display); text-transform: uppercase;
	color: var(--wine-deep); padding-top: 14px; border-top: 1px solid rgba(34, 31, 40, .18);
}
.cat-name .it { display: block; font-size: .6em; margin-top: 6px; color: var(--wine); opacity: .85; }
.cat .arrow {
	width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: var(--milk);
	display: grid; place-items: center; transition: transform .5s var(--ease), background .3s;
}
.cat:hover .arrow { transform: rotate(-45deg); background: var(--red); }

/* =====================================================================
   ЛЕНТА ГАРАНЦИИ (движи се по скоростта на скрола)
   ===================================================================== */
.band { margin-top: clamp(80px, 12vw, 180px); background: var(--wine); color: var(--milk); overflow: hidden; padding: clamp(18px, 2vw, 30px) 0; }
.band-track { display: flex; width: max-content; will-change: transform; }
.band-track span {
	display: inline-flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); padding-right: clamp(20px, 2.6vw, 44px);
	font: 400 clamp(30px, 4.4vw, 74px)/1 var(--display); text-transform: uppercase; white-space: nowrap;
}
.band-track .it { color: var(--sun); font-size: .9em; }
.band-track .diamond { width: .22em; height: .22em; color: var(--red); }

/* =====================================================================
   ВСИЧКИ ПРОДУКТИ
   ===================================================================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 clamp(30px, 4vw, 56px); }
.chip {
	min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(47, 43, 54, .35);
	background: transparent; font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase;
	display: inline-flex; align-items: center; gap: 8px; transition: all .3s var(--ease);
}
.chip small { font-weight: 500; opacity: .6; }
.chip:hover { border-color: var(--wine); }
.chip.on { background: var(--wine); border-color: var(--wine); color: var(--milk); }
/* каталог: еднакви, по-малки карти на бял фон, подходящи за хиляди продукти */
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; }
#res-n { opacity: .75; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select { height: 40px; border-radius: 999px; border: 1px solid rgba(47, 43, 54, .28); background: var(--white); padding: 0 14px; font: 500 14px var(--ui); color: var(--wine); }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; opacity: .75; }
.card {
	position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(47, 43, 54, .07); transition: box-shadow .35s var(--ease), transform .35s var(--ease); min-width: 0;
}
.card:hover { box-shadow: 0 14px 34px rgba(34, 31, 40, .12), 0 0 0 1px rgba(47, 43, 54, .05); transform: translateY(-2px); }
.card-tile { position: relative; display: block; aspect-ratio: 1; background: var(--white); }
.card-img { position: absolute; inset: 10%; display: block; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: transform .5s var(--ease); }
.card-img img.wide { transform: rotate(-12deg); }
.card:hover .card-img img { transform: scale(1.05); }
.card:hover .card-img img.wide { transform: rotate(-12deg) scale(1.05); }
.card-img .card-noimg { position: absolute; inset: 0; margin: auto; height: 70%; }
.card-noimg {
	width: 70%; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; text-align: center;
	border: 1px dashed rgba(47, 43, 54, .3); font: 500 11px/1.4 var(--ui); opacity: .6;
}
.badge {
	position: absolute; top: 10px; left: 10px; z-index: 2; min-height: 24px; padding: 0 10px; border-radius: 999px;
	display: inline-flex; align-items: center; font: 700 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
}
.badge.sale { background: var(--red); color: var(--white); }
.badge.new { background: var(--wine); color: var(--white); }
.badge.soon { background: var(--t-teeth); color: var(--wine); }
.heart {
	position: absolute; top: 4px; right: 4px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: transparent; display: grid; place-items: center; color: var(--wine); padding: 0;
}
.heart svg { width: 19px; height: 19px; transition: transform .4s var(--ease); }
.heart:hover svg { transform: scale(1.15); }
.heart.on svg path { fill: var(--red); stroke: var(--red); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; border-top: 1px solid rgba(47, 43, 54, .07); }
.card-cat { align-self: flex-start; font: 600 10.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; background: var(--cat); padding: 5px 8px; border-radius: 999px; margin-bottom: 4px; }
.card-brand { font: 700 11px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.card-name { font: 400 15px/1.3 var(--ui); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-buy { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font: 400 21px/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-price.is-sale { color: var(--red); }
.card-price del { font: 500 12px/1 var(--ui); color: var(--wine); opacity: .5; margin-left: 6px; }
.card-price.soon { font: italic 500 17px/1 var(--accent); }
.add {
	height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--wine); color: var(--milk);
	font: 600 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px;
	transition: background .3s, opacity .3s, transform .3s var(--ease);
}
.add svg { width: 16px; height: 16px; }
.add:hover { background: var(--red); }
.add.ghost { background: transparent; color: var(--wine); border: 1px solid rgba(47, 43, 54, .35); }
@media (hover: hover) and (pointer: fine) {
	.card .add .label { max-width: 0; overflow: hidden; transition: max-width .35s var(--ease); }
	.card:hover .add .label { max-width: 80px; }
}

/* ленти „На промоция“ / „Най-продавани“ */
.rails { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(60px, 8vw, 110px); display: grid; gap: clamp(40px, 5vw, 70px); }
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.rail-head h2 { font: 400 clamp(30px, 3.4vw, 52px)/.95 var(--display); text-transform: uppercase; color: var(--wine); }
.rail-head h2 .it { display: block; font-size: .46em; color: var(--red); margin-top: 6px; }
.rail-ctl { display: flex; align-items: center; gap: 8px; }
.rail-all { font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; margin-right: 8px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(47, 43, 54, .3); background: var(--white); }
.rail-btn:hover { background: var(--wine); color: var(--milk); }
.rail-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * clamp(12px, 1.4vw, 20px)) / 5); gap: clamp(12px, 1.4vw, 20px);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { scroll-snap-align: start; }

/* марки */
.brands { padding: clamp(70px, 9vw, 130px) var(--pad) 0; }
.brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.brand {
	display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: 14px; background: var(--white);
	box-shadow: 0 0 0 1px rgba(47, 43, 54, .08); transition: background .3s, transform .35s var(--ease);
}
.brand b { font: 400 24px/1 var(--display); }
.brand small { font-size: 12px; opacity: .65; }
.brand:hover { background: var(--t-teeth); transform: translateY(-2px); }
.chip.hot { color: var(--red); border-color: rgba(123, 94, 140, .5); }
.chip.hot.on { background: var(--red); border-color: var(--red); color: var(--white); }

/* курсор „Виж продукта“ */
.cursor .diamond { color: var(--sun); }
.cursor {
	position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
	background: var(--wine); color: var(--milk); font: 700 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase;
	box-shadow: 0 10px 28px rgba(34, 31, 40, .35);
	transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(var(--s, 0));
	transition: transform .35s var(--ease); white-space: nowrap;
}

/* =====================================================================
   ПРОМО
   ===================================================================== */
.promo {
	margin-top: clamp(90px, 13vw, 190px); background: var(--red); color: var(--milk); position: relative; overflow: hidden;
	padding: clamp(70px, 9vw, 140px) var(--pad); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 40px; align-items: center; min-height: 86svh;
}
.promo h2 { font: 400 clamp(46px, 7vw, 124px)/.88 var(--display); text-transform: uppercase; }
.promo h2 .it { display: block; font-size: .46em; color: var(--sun); line-height: 1.25; }
.promo p { margin: 26px 0 32px; max-width: 40ch; font-size: 17px; opacity: .92; }
.promo-art { position: relative; height: clamp(360px, 46vw, 640px); }
.promo-off {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	font: 400 clamp(150px, 22vw, 380px)/.8 var(--display); color: var(--wine); opacity: .55; letter-spacing: -.03em;
}
.promo-p { position: absolute; bottom: 8%; display: block; will-change: transform; }
.promo-p img { filter: drop-shadow(0 30px 30px rgba(34, 31, 40, .35)); height: 100%; width: auto; max-width: none; display: block; }
/* три туби в реален мащаб една спрямо друга, една до друга, без застъпване */
.promo-p.a { left: 8%; height: 74%; transform: translateY(var(--pa, 0px)) rotate(-7deg); }
.promo-p.b { left: 64%; height: 60%; transform: translateY(var(--pb, 0px)) rotate(8deg); }
.promo-p.c { left: 37%; height: 70%; z-index: 1; transform: translateY(var(--pc, 0px)) rotate(-2deg); }

/* =====================================================================
   ДОСТАВКА + ВЪПРОСИ
   ===================================================================== */
.info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(47, 43, 54, .2); }
.facts li:last-child { border-bottom: 1px solid rgba(47, 43, 54, .2); }
.facts b { font: 400 44px/.9 var(--display); color: var(--red); }
.facts h3 { font: 400 26px/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.facts p { font-size: 15px; opacity: .82; max-width: 44ch; }
.info h2 { font: 400 clamp(38px, 4.6vw, 76px)/.9 var(--display); text-transform: uppercase; color: var(--red); margin-bottom: 26px; }
.faq details { border-top: 1px solid rgba(47, 43, 54, .2); }
.faq details:last-child { border-bottom: 1px solid rgba(47, 43, 54, .2); }
.faq summary {
	list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center;
	font: 400 clamp(20px, 1.7vw, 25px)/1.15 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor;
	display: grid; place-items: center; font: 400 20px/1 var(--ui); transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--wine); color: var(--milk); border-color: var(--wine); }
.faq details p { padding: 0 0 22px; max-width: 52ch; opacity: .85; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ftr { margin-top: clamp(90px, 13vw, 190px); background: var(--wine-deep); color: var(--milk); padding: clamp(50px, 6vw, 90px) var(--pad) 28px; overflow: hidden; }
.ftr-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.ftr h3 { font: 600 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr a:hover { color: var(--sun); }
.ftr-lead { font: 400 clamp(24px, 2.2vw, 34px)/1.1 var(--display); max-width: 18ch; }
.ftr-word {
	margin-top: clamp(50px, 7vw, 110px); font: 400 clamp(90px, 23vw, 420px)/.78 var(--display); letter-spacing: .02em;
	text-align: center; color: var(--red); white-space: nowrap; transform: translateY(var(--fy, 0px));
}
.ftr-bottom { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; opacity: .7; }
.ftr-bottom nav { display: flex; gap: 18px; }

/* =====================================================================
   МЕНЮ С КАТЕГОРИИ (цял екран), ТОСТ, ДОЛНА ЛЕНТА
   ===================================================================== */
.menu {
	position: fixed; inset: 0; z-index: 70; background: var(--wine); color: var(--milk);
	display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--pad) 30px;
	clip-path: circle(0% at 40px 40px); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu.open { clip-path: circle(150% at 40px 40px); visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
/* категориите в менюто са плочки със снимка, като на началната страница, за да се четат като избор */
.menu-body { align-self: center; display: flex; flex-direction: column; gap: clamp(18px, 3vh, 30px); padding-block: 20px; min-width: 0; }
.menu-eyebrow { opacity: .7; }
.menu-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.mcat {
	position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
	background: var(--tile); color: var(--wine-deep); border-radius: var(--r); padding: clamp(14px, 1.4vw, 22px);
	aspect-ratio: 4 / 5; transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.mcat:hover { transform: translateY(-6px) rotate(-1deg); background: var(--tile-on); }
.mcat-img { flex: 1 1 auto; min-height: 0; position: relative; }
.mcat-img img {
	position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; object-fit: contain;
	transform: rotate(var(--rot, 0deg)); transition: transform .6s var(--ease); filter: drop-shadow(0 16px 16px rgba(34, 31, 40, .22));
}
.mcat:hover .mcat-img img { transform: rotate(calc(var(--rot, 0deg) + 5deg)) scale(1.05); }
.mcat-txt { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(34, 31, 40, .18); }
.mcat-txt b { font: 400 clamp(22px, 2.1vw, 34px)/.95 var(--display); text-transform: uppercase; }
.mcat-txt i { font: italic 500 17px/1.1 var(--accent); color: var(--wine); opacity: .85; }
.mcat-foot { display: flex; justify-content: space-between; align-items: center; }
.mcat-foot small { font: 600 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.mcat .arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: var(--milk); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.mcat:hover .arrow { transform: rotate(-45deg); background: var(--red); }
.menu-all { align-self: flex-start; padding-right: 6px; }
.menu { overflow-y: auto; }
@media (max-width: 860px) {
	.menu-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mcat { aspect-ratio: auto; height: min(30svh, 260px); }
	.mcat-txt b { font-size: 20px; }
	.mcat-txt i { display: none; }
	.menu .menu-foot { display: none; }
}
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 14px; opacity: .85; }

.cartbar {
	position: fixed; left: 50%; bottom: 18px; z-index: 55; transform: translate(-50%, 160%);
	display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px;
	background: var(--wine); color: var(--milk); box-shadow: 0 18px 40px rgba(34, 31, 40, .3);
	transition: transform .7s var(--ease); white-space: nowrap; max-width: calc(100vw - 24px);
}
.cartbar:not(.is-open) { visibility: hidden; transition: transform .7s var(--ease), visibility 0s .7s; }
.cartbar.is-open { transform: translate(-50%, 0); }
.cartbar-sum { font-size: 14px; }
.cartbar-sum b { font: 400 22px/1 var(--display); margin-left: 6px; }
.cartbar small { opacity: .7; font-size: 12px; }
.cartbar .pill.solid:hover { background: var(--sun); border-color: var(--sun); color: var(--wine-deep); }

/* =====================================================================
   ПОЯВА ПРИ СКРОЛ (само с JS)
   ===================================================================== */
html.js [data-rv] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-rv].in { opacity: 1; transform: none; }
html.js .split .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
html.js .split .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--l, 0) * 110ms); }
html.js .split.in .ln > span { transform: none; }

/* =====================================================================
   ОТЗИВЧИВОСТ
   ===================================================================== */
@media (max-width: 1240px) {
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rail-track { grid-auto-columns: calc((100% - 3 * clamp(12px, 1.4vw, 20px)) / 4); }
}
@media (max-width: 1100px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3.2); }
	.ftr-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.promo { grid-template-columns: minmax(0, 1fr); }
	.info { grid-template-columns: minmax(0, 1fr); }
	.show-copy { top: calc(var(--hdr-h, 72px) + 9vh); right: var(--pad); width: auto; gap: 14px; transform: translateY(calc(var(--d, 0) * -6vh)); }
	.show-title { font-size: clamp(38px, 10.5vw, 72px); }
	.show-lead { display: none; }
	.show-prod { left: 50%; top: auto; bottom: 4svh; height: min(42svh, 80vw); width: 70vw; transform: translate(-50%, 0) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)) scale(var(--sc, 1)); }
	.show-dots { display: none; }
	.hero { --R: min(80vw, 46svh, 520px); --C: calc(100% + var(--R) * .6); min-height: max(90svh, 600px); }
	.hdr .label { display: none; }
	.pill.hdr-cats { padding: 0 4px; border-color: transparent; }
	.hdr-main { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 10px; padding-block: 10px; }
	.hdr-main .logo { justify-self: center; align-items: center; text-align: center; }
	.search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.search input { height: 44px; }
	.hdr-nav { display: none; }
	.rail-track { grid-auto-columns: calc((100% - 12px) / 2.2); }
}
@media (max-width: 560px) {
	.ftr-cols { grid-template-columns: 1fr; }
	.add .label { display: none; }
	.card-body { padding: 10px 10px 12px; }
	.card-name { font-size: 14px; }
	.card-price { font-size: 18px; }
	.card-price del { display: block; margin: 3px 0 0; }
	.topbar span:nth-child(n+4), .topbar .diamond:nth-of-type(2) { display: none; }
	.cartbar small { display: none; }
	.hdr-icons .icon-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html.js [data-rv], html.js .split .ln > span { opacity: 1 !important; transform: none !important; }
}

/* ===== пастел: корекции, където тъмният фон вече не пасва ===== */
/* дискът под колелото е наситено лилав, за да не се слива с лавандуловата сцена под него */
.disc { background: var(--red); }
.ring text { fill: var(--t-baby); }
:root { --skin: #f2d6c9; --skin-line: #d9ad9b; --sleeve: #d8d8f4; --sleeve-line: #b9b6e3; }
.hero-foot { color: var(--milk); }
.scroll-line { background: rgba(245, 245, 245, .3); }
.scroll-line::after { background: var(--milk); }
.band-track .diamond { color: #fff0f5; }
.stars { color: var(--red); }
.ftr-word { color: var(--t-teeth); opacity: .9; }
.promo-off { color: #fff0f5; opacity: .35; }
.card-tile, .cat, .pd-tile, .mini-tile { box-shadow: inset 0 0 0 1px rgba(47, 43, 54, .05); }
