/* =====================================================================
   Promotions — list variant C „Слайдер + календар“ (mockup: claude/mockups/front/promotions.html#list-c, D-053)
   All classes are prefixed .pr-* ; colours/fonts/radii only via the tokens in custom.css
   ===================================================================== */

/* the title band sits directly on the first section — no white gap */
.bcb:has(+ .pr) { --bcb-gap: 0px; }

/* theme blocks are floats — the new block follows the same rule */
.pr { float: left; clear: both; width: 100%; font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--c-body); }
.pr *, .pr *::before, .pr *::after { box-sizing: border-box; }
.pr a { text-decoration: none; }
.pr img { display: block; max-width: 100%; }
.pr h2, .pr h3 { margin: 0; font-family: var(--font-head); font-weight: 500; letter-spacing: 0; color: var(--c-ink); }
.pr [hidden] { display: none !important; }
.pr-ic { width: 16px; height: 16px; flex: none; }
.pr-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pr-sec { padding: 64px 0 88px; }
.pr-paper { background: var(--c-paper); }

/* ---------- atoms ---------- */
.pr-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600); }
.pr-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-brand); }
.pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px; font: 500 14px/1 var(--font-head); color: #fff !important; background: var(--c-brand); border: 0; border-radius: var(--r-xs); cursor: pointer; transition: background .2s, color .2s; }
.pr-btn:hover, .pr-btn:focus-visible { background: var(--c-dark); }
.pr-btn--ghost { color: var(--c-ink) !important; background: transparent; border: 1px solid var(--c-ink); }
.pr-btn--ghost:hover, .pr-btn--ghost:focus-visible { color: #fff !important; background: var(--c-ink); }
.pr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.pr-empty { padding: 48px 20px; text-align: center; color: var(--c-muted); background: var(--c-white); border: 1px dashed var(--c-line); border-radius: var(--r-md); }
.pr-empty b { display: block; margin-bottom: 4px; font: 500 18px var(--font-head); color: var(--c-ink); }

/* status pill */
.pr-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; font: 500 11px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-radius: var(--r-pill); }
.pr-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pr-pill.is-active { color: var(--c-brand-600); background: var(--c-brand-050); }
.pr-pill.is-soon { color: #9a5b00; background: #fff3e0; }
.pr-pill.is-soon::before { animation: pr-blink 1.2s infinite; }
.pr-pill.is-upcoming { color: #2f5f8f; background: #e8f0f8; }
.pr-pill.is-ended { color: #5f636b; background: #eef0f2; }
@keyframes pr-blink { 50% { opacity: .25; } }

/* discount badge (from the name, "−15%") */
.pr-badge { position: absolute; z-index: 3; top: 16px; right: 16px; display: flex; align-items: center; justify-content: center; min-width: 68px; height: 68px; padding: 0 8px; font: 500 21px/1 var(--font-head); color: #fff; background: var(--c-brand); border-radius: 50%; box-shadow: 0 8px 22px rgba(20, 21, 30, .22); transform: rotate(-8deg); }
.is-ended .pr-badge { background: #9a9ea5; box-shadow: none; }

/* countdown */
.pr-cd-l { display: block; margin: 0 0 10px; font: 500 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.pr-cd { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(62px, auto); gap: 8px; }
.pr-cd > span { display: flex; flex-direction: column; align-items: center; padding: 10px 6px 8px; background: var(--c-paper); border-radius: var(--r-xs); }
.pr-cd b { font: 500 26px/1 var(--font-head); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.pr-cd small { margin-top: 5px; font: 400 10.5px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.pr-cd--dark > span { background: rgba(255, 255, 255, .1); }
.pr-cd--dark b { color: #fff; }
.pr-cd--dark small { color: rgba(255, 255, 255, .6); }

/* ---------- top: intro + slider (white) ---------- */
.pr-top { padding: 56px 0 64px; background: var(--c-white); }
.pr-intro { max-width: 860px; margin: 0 0 36px; }
.pr-intro-h { margin: 0 0 14px !important; font-size: 28px !important; line-height: 1.3; }
.pr-intro-text p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; }
.pr-intro-text p:last-child { margin-bottom: 0; }
.pr-intro-text a { color: var(--c-brand-600); text-decoration: underline; }

.pr-slider { position: relative; overflow: hidden; background: var(--c-dark); border-radius: var(--r-lg); }
.pr-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: 0; }
.pr-slides::-webkit-scrollbar { display: none; }
.pr-slides:focus-visible { box-shadow: inset 0 0 0 3px var(--c-brand); }
.pr-slide { position: relative; flex: 0 0 100%; display: flex; align-items: center; min-height: 500px; color: rgba(255, 255, 255, .82); scroll-snap-align: start; }
.pr-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 21, 30, .94) 0%, rgba(20, 21, 30, .76) 42%, rgba(20, 21, 30, .08) 100%); }
.pr-slide-in { position: relative; z-index: 2; max-width: 640px; padding: 56px 64px 84px; }
.pr-slide h2 { margin: 18px 0 14px; font-size: 38px; line-height: 1.2; }
.pr-slide h2 a { color: #fff !important; }
.pr-slide h2 a:hover, .pr-slide h2 a:focus-visible { color: var(--c-brand) !important; }
.pr-slide p { margin: 0 0 26px; font-size: 16.5px; line-height: 1.7; }
.pr-slide .pr-cd-l { color: rgba(255, 255, 255, .6); }
.pr-slide .pr-badge { top: 44px; right: 52px; min-width: 124px; height: 124px; font-size: 38px; }
.pr-slide .pr-btn:hover, .pr-slide .pr-btn:focus-visible { color: var(--c-ink) !important; background: #fff; }
.pr-sl-nav { position: absolute; z-index: 3; right: 32px; bottom: 30px; display: flex; align-items: center; gap: 18px; }
.pr-dots { display: flex; gap: 8px; }
.pr-dots button { width: 10px; height: 10px; padding: 0; background: rgba(255, 255, 255, .4); border: 0; border-radius: 10px; cursor: pointer; transition: width .25s, background .25s; }
.pr-dots button.is-on { width: 30px; background: var(--c-brand); }
.pr-dots button { position: relative; }
.pr-dots button::after { content: ""; position: absolute; inset: -15px -4px; } /* 40px touch area, same look (T-26) */
.pr-arrows { display: flex; gap: 8px; }
.pr-arrows button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; cursor: pointer; transition: background .15s, border-color .15s; }
.pr-arrows button:hover, .pr-arrows button:focus-visible { background: var(--c-brand); border-color: var(--c-brand); }

/* ---------- all promotions (paper) ---------- */
.pr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: 36px; border-bottom: 1px solid var(--c-line); }
.pr-head h2 { margin-bottom: 14px; font-size: 30px; line-height: 1.2; }
.pr-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.pr-tabs button { margin-bottom: -1px; padding: 0 0 14px; font: 500 14px var(--font-head); color: var(--c-muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.pr-tabs button sup { top: -.4em; margin-left: 4px; font-size: 10px; opacity: .7; }
.pr-tabs button:hover, .pr-tabs button:focus-visible { color: var(--c-ink); }
.pr-tabs button.is-on { color: var(--c-ink); border-bottom-color: var(--c-brand); }
.pr-search { position: relative; display: block; width: 280px; max-width: 100%; margin: 0 0 12px; }
.pr-search input[type="search"] { width: 100%; height: 44px; margin: 0; padding: 0 16px 0 44px !important; font: 400 14px var(--font-body); color: var(--c-ink); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xs); outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .15s; }
.pr-search input[type="search"]:focus { border-color: var(--c-brand); }
.pr-search .pr-ic { position: absolute; top: 14px; left: 16px; color: var(--c-muted); }

.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.pr-card { display: flex; flex-direction: column; }
.pr-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-white); border-radius: var(--r-md); }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pr-card:hover .pr-card-img img { transform: scale(1.05); }
.pr-card-img.is-empty { background: var(--c-white) url('../img/logo-light.png') center / 90px auto no-repeat; }
.pr-card-img .pr-pill { position: absolute; z-index: 2; left: 16px; bottom: 16px; background: #fff; box-shadow: 0 4px 14px rgba(20, 21, 30, .12); }
.pr-card.is-ended .pr-card-img img { filter: grayscale(1); opacity: .8; }
.pr-when { display: block; margin: 20px 0 8px; font: 500 12px/1.4 var(--font-head); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-600); }
.pr-when.is-soon { color: #9a5b00; }
.pr-when.is-upcoming { color: #2f5f8f; }
.pr-when.is-ended { color: var(--c-muted); }
.pr-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.pr-card h3 a { color: var(--c-ink); transition: color .15s; }
.pr-card h3 a:hover, .pr-card h3 a:focus-visible, .pr-card:hover h3 a { color: var(--c-brand-600); }
.pr-card p { margin: 0; font-size: 14.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pr-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 52px; }
.pr-more small { font-size: 13px; color: var(--c-muted); }
.pr-more-bar { width: 220px; height: 3px; overflow: hidden; background: var(--c-line); border-radius: 3px; }
.pr-more-bar span { display: block; width: 0; height: 100%; background: var(--c-brand); transition: width .3s; }
.pr-list .pr-empty { margin-top: 8px; }

/* ---------- calendar (graphite) ---------- */
.pr-dark { --pr-g-label: 280px; padding: 76px 0 84px; color: rgba(255, 255, 255, .7); background: var(--c-dark); }
.pr-cal-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 30px; margin-bottom: 34px; }
.pr-cal-h h2 { margin-top: 12px; font-size: 30px; line-height: 1.2; color: #fff; }
.pr-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.pr-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pr-legend i { width: 16px; height: 8px; border-radius: 2px; background: var(--c-brand); }
.pr-legend i.is-soon, .pr-g-bar.is-soon { background: #e08a00; }
.pr-legend i.is-upcoming, .pr-g-bar.is-upcoming { background: #4f7fae; }
.pr-legend i.is-ended { background: rgba(255, 255, 255, .28); }
.pr-g-scroll { overflow-x: auto; padding-bottom: 6px; outline: 0; }
.pr-g-scroll:focus-visible { box-shadow: 0 0 0 2px var(--c-brand); border-radius: var(--r-xs); }
.pr-g { position: relative; min-width: 980px; padding-bottom: 44px; }
.pr-g-head, .pr-g-row { display: grid; grid-template-columns: var(--pr-g-label) minmax(0, 1fr); }
.pr-g-months { position: relative; height: 40px; }
.pr-g-months span { position: absolute; top: 0; padding: 4px 0 0 10px; font: 500 11.5px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .6); }
.pr-g-months small { display: block; font-size: 10.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .4); }
.pr-g-line { position: absolute; top: 0; bottom: 44px; width: 1px; background: rgba(255, 255, 255, .08); }
.pr-g-row { border-top: 1px solid rgba(255, 255, 255, .08); }
.pr-g-label { display: block; min-width: 0; padding: 14px 20px 14px 0; }
.pr-g-label b { display: block; overflow: hidden; font: 500 14.5px/1.35 var(--font-head); white-space: nowrap; text-overflow: ellipsis; color: #fff; transition: color .15s; }
.pr-g-label small { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.pr-g-label:hover b, .pr-g-label:focus-visible b { color: var(--c-brand); }
.pr-g-track { position: relative; }
.pr-g-bar { position: absolute; top: 50%; z-index: 1; display: flex; align-items: center; height: 30px; min-width: 8px; margin-top: -15px; padding: 0 10px; overflow: hidden; font: 500 12px/1 var(--font-head); white-space: nowrap; color: #fff !important; background: var(--c-brand); border-radius: var(--r-xs); transition: filter .15s, transform .15s; }
.pr-g-bar:hover { filter: brightness(1.15); transform: translateY(-1px); }
.pr-g-bar.is-ended { color: rgba(255, 255, 255, .8) !important; background: rgba(255, 255, 255, .18); }
.pr-g-today { position: absolute; top: 0; bottom: 34px; z-index: 2; width: 2px; margin-left: -1px; background: var(--c-brand); pointer-events: none; }
.pr-g-today span { position: absolute; bottom: -30px; left: 50%; padding: 6px 10px; font: 500 11px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #fff; background: var(--c-brand); border-radius: var(--r-xs); transform: translateX(-50%); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	.pr-slide h2 { font-size: 32px; }
	.pr-grid { gap: 36px 24px; }
}
@media (max-width: 991px) {
	.pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pr-slide-in { max-width: 560px; padding: 44px 44px 84px; }
}
@media (max-width: 767px) {
	.pr { font-size: 14.5px; }
	.pr-sec { padding: 40px 0 60px; }
	.pr-top { padding: 28px 0 36px; }
	.pr-intro { margin-bottom: 24px; }
	.pr-intro-h { font-size: 22px !important; }
	.pr-intro-text p { font-size: 15px; }
	.pr-slide { align-items: flex-end; min-height: 540px; }
	.pr-slide::after { background: linear-gradient(0deg, rgba(20, 21, 30, .96) 0%, rgba(20, 21, 30, .62) 62%, rgba(20, 21, 30, .15) 100%); }
	.pr-slide-in { padding: 28px 22px 84px; }
	.pr-slide h2 { font-size: 24px; }
	.pr-slide p { display: none; }
	.pr-slide .pr-badge { top: 20px; right: 20px; min-width: 78px; height: 78px; font-size: 24px; }
	.pr-cd { grid-auto-columns: minmax(54px, 1fr); gap: 6px; }
	.pr-cd > span { padding: 8px 4px 7px; }
	.pr-cd b { font-size: 21px; }
	.pr-sl-nav { left: 22px; right: 22px; bottom: 22px; justify-content: space-between; }
	.pr-head h2, .pr-cal-h h2 { font-size: 24px; }
	.pr-tabs { gap: 4px 18px; }
	.pr-search { width: 100%; }
	.pr-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.pr-card h3 { font-size: 18px; }
	.pr-dark { --pr-g-label: 200px; padding: 48px 0 56px; }
	.pr-g { min-width: 820px; }
}
@media (prefers-reduced-motion: reduce) {
	.pr-slides { scroll-behavior: auto; }
	.pr-card-img img, .pr-g-bar, .pr-more-bar span, .pr-dots button { transition: none; }
	.pr-card:hover .pr-card-img img { transform: none; }
	.pr-pill.is-soon::before { animation: none; }
}
