/*
 * The site's promo (0.23.0, Denis's points 1–6; 0.25.0: the campaign's top, the ticket, the rows, the phone's one-line bar): one visual language in the campaign's colour — --pc its ground, --pt
 * its text (inc/promo-site.php). No floating chip on a phone: the bar is in the flow, at the very top.
 */

/* 1. The bar */
.promo-bar{background:var(--pc,#E30614);color:var(--pt,#fff);font-size:14px;line-height:1.35}
.promo-bar__in{display:flex;align-items:center;gap:10px;min-height:40px;padding-top:6px;padding-bottom:6px}
.promo-bar__slides{flex:1;min-width:0;text-align:center}
.promo-bar__slide{margin:0;display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
.promo-bar__link{color:inherit;text-decoration:none}
.promo-bar__link:hover u,.promo-bar__link:focus-visible u{text-decoration-thickness:2px}
.promo-bar__code{letter-spacing:.04em}
.promo-copy{border:1.5px solid currentColor;background:transparent;color:inherit;border-radius:999px;padding:2px 12px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.promo-copy:hover,.promo-copy:focus-visible{background:var(--pt,#fff);color:var(--pc,#E30614)}
.promo-bar__x{border:0;background:none;color:inherit;opacity:.8;cursor:pointer;padding:6px;display:inline-flex;flex:none}
.promo-bar__x:hover{opacity:1}
.promo-bar[hidden]{display:none}
/* The phone's words (0.25.0, Denis): one line — „−10% с NOVSAIT10 над 100 € · Копирай ×“; the days only where they
   fit (assets/js/promo.js takes them off, then makes the letters a little smaller, before anything is cut). */
.promo-bar__short{display:none}
@media (max-width:640px){
	.promo-bar{font-size:12.5px;line-height:1.25}
	.promo-bar__in{gap:4px;min-height:36px;padding:4px 4px 4px 12px}
	.promo-bar__slides{text-align:left}
	.promo-bar__slide{display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between;align-items:center}
	.promo-bar__link{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
	.promo-bar__long,.promo-bar__see{display:none}
	.promo-bar__short{display:inline}
	.promo-bar__slide.is-tight{font-size:11.5px}
	.promo-bar__slide.no-days .promo-bar__days{display:none}
	.promo-bar .promo-copy{padding:2px 10px;font-size:12px}
	.promo-bar__x{padding:4px}
}

/* 2. The cart and the checkout */
.promo-cart{margin:10px 0 0;padding:12px 14px;border-radius:14px;border:1.5px solid var(--pc,#E30614);background:#fff;display:flex;flex-direction:column;gap:8px}
.promo-cart__text{margin:0;display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.promo-cart__text>span:nth-child(2){flex:1}
.promo-cart__ic{flex:none;width:26px;height:26px;border-radius:50%;background:var(--pc,#E30614);color:var(--pt,#fff);display:inline-flex;align-items:center;justify-content:center}
.promo-cart__apply{flex:none;background:var(--pc,#E30614);color:var(--pt,#fff);border-radius:999px;padding:7px 14px;font-weight:800;text-decoration:none;white-space:nowrap}
.promo-cart__track{display:block;height:8px;border-radius:999px;background:var(--ground)}
.promo-cart__track>span{display:block;height:100%;border-radius:inherit;background:var(--pc,#E30614)}
.promo-cart__sub{font-size:13px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}
.promo-cart__sub a{color:var(--ink-2)}
.promo-cart.is-applied{background:var(--ground)}

/* 3. The product's box */
.pdp-promo-box{margin:12px 0;padding:12px 14px;border-radius:14px;border:1.5px solid var(--pc,#E30614);border-left-width:6px;display:flex;flex-direction:column;gap:4px}
.pdp-promo-box p{margin:0}
.pdp-promo-box__head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:16px}
.pdp-promo-box__head .promo-copy{color:var(--pc,#E30614)}
.pdp-promo-box__head .promo-copy:hover{background:var(--pc,#E30614);color:var(--pt,#fff)}
.pdp-promo-box__terms{font-size:14px;color:var(--ink-2)}
.pdp-promo-box__left{font-size:14px;font-weight:700;color:var(--ink)}
.pdp-promo-box__link{font-size:14px;font-weight:800;color:var(--ink);align-self:flex-start}

/* 4. The categories: the tile, the badge */
.promo-tile{list-style:none}
.promo-tile__in{display:flex;flex-direction:column;justify-content:center;gap:6px;height:100%;min-height:220px;padding:18px;border-radius:var(--radius-card,18px);background:var(--pc,#E30614);color:var(--pt,#fff);text-decoration:none}
.promo-tile__label{font-family:var(--display);font-size:30px;font-weight:900;line-height:1.05}
.promo-tile__name{font-weight:800;font-size:16px}
.promo-tile__terms{font-size:13px;font-weight:700} /* full white: at .9 it was 4.1:1 on the red (0.24.0) */
.promo-tile__go{margin-top:6px;font-weight:800;text-decoration:underline}
.badge--promo{background:var(--pc,#E30614);color:var(--pt,#fff)}

/* 5. The campaign's top (0.25.0, Denis's mock-up) — /promo/<адрес>/ and, for a code, the home page's block under the
   benefits: the promo's colours (--tb ground, --ti text, --th highlight, --tcb/--tci the date's chip, --tbox the
   countdown's boxes, --tst the stripes — inc/promo-site.php), or the look's tokens while one runs. */
.promo-top{position:relative;z-index:0;margin:24px 0 8px;border-radius:26px;border:var(--tborder,0);background:var(--tb,#24275A);color:var(--ti,#fff);overflow:hidden}
.promo-top::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background-image:var(--timg,none),repeating-linear-gradient(135deg,var(--tst,transparent) 0 14px,transparent 14px 28px);background-size:var(--tsize,auto),auto;pointer-events:none}
.homepage>.promo-top--home{margin:-24px 0 0} /* right under the benefits: the home page's 48 px gap less 24 (as the strip under the banner) */
.promo-top__in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,390px) 190px;gap:28px;align-items:center;padding:30px 34px}
.promo-top--sale .promo-top__in,.promo-top--ended .promo-top__in{grid-template-columns:minmax(0,1fr) 190px}
.promo-top--code:not(.has-kroko) .promo-top__in{grid-template-columns:minmax(0,1.15fr) minmax(300px,390px)}
.promo-top--sale:not(.has-kroko) .promo-top__in,.promo-top--ended:not(.has-kroko) .promo-top__in{grid-template-columns:minmax(0,1fr)}
.promo-top__main{min-width:0}
.promo-top__chip{display:inline-block;padding:5px 14px;border-radius:999px;background:var(--tcb,#FFC629);color:var(--tci,#1B1E3C);font-weight:900;font-size:14px;line-height:1.35}
.promo-top__title{margin:14px 0 8px;font-family:var(--display);font-weight:900;font-size:44px;line-height:1.05;letter-spacing:-.5px;color:var(--ti,#fff);overflow-wrap:break-word}
.promo-top__t1,.promo-top__t2{display:block}
.promo-top__t2{color:var(--th,#FFC629)}
.promo-top__sub{margin:0 0 16px;font-weight:800;font-size:17px;line-height:1.35;color:var(--ti,#fff)}
.promo-cd{display:flex;gap:8px;flex-wrap:wrap}
.promo-top__title+.promo-cd{margin-top:16px} /* a campaign: no line between them */
.promo-cd__box{min-width:64px;padding:8px 10px;border-radius:12px;background:var(--tbox,rgba(0,0,0,.28));text-align:center}
.promo-cd__box b{display:block;font-family:var(--display);font-weight:900;font-size:24px;line-height:1.15;color:var(--th,#FFC629);font-variant-numeric:tabular-nums}
.promo-cd__box small{display:block;font-weight:800;font-size:11px;line-height:1.4;letter-spacing:.5px;text-transform:uppercase;color:var(--ti,#fff)}
.promo-top__terms{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.promo-top__terms li{padding:6px 12px;border-radius:999px;background:var(--tbox,rgba(0,0,0,.28));color:var(--ti,#fff);font-weight:800;font-size:14px;line-height:1.35}
/* Croco in the campaign's pose, a soft circle in the highlight behind him. */
.promo-top__kroko{position:relative;z-index:0;align-self:end;margin:0 0 -30px}
.promo-top__kroko::before{content:"";position:absolute;left:50%;top:50%;z-index:-1;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--th,#FFC629) 55%,transparent) 0,color-mix(in srgb,var(--th,#FFC629) 22%,transparent) 48%,transparent 70%);transform:translate(-50%,-50%)}
.promo-top__kroko img{width:190px;height:auto;margin:0 auto}

/* The ticket: white, a notch on each side (the top's own ground shows through), its shadow round the cut shape. */
.promo-top__ticket{min-width:0}
.promo-ticket{filter:drop-shadow(0 10px 22px rgba(0,0,0,.3))}
.promo-ticket__in{display:flex;flex-direction:column;gap:10px;padding:18px 24px;border-radius:18px;background:#fff;color:#1B1E3C;-webkit-mask:radial-gradient(circle at 0 50%,transparent 13px,#000 13.5px) left/51% 100% no-repeat,radial-gradient(circle at 100% 50%,transparent 13px,#000 13.5px) right/51% 100% no-repeat;mask:radial-gradient(circle at 0 50%,transparent 13px,#000 13.5px) left/51% 100% no-repeat,radial-gradient(circle at 100% 50%,transparent 13px,#000 13.5px) right/51% 100% no-repeat}
.promo-ticket__label{font-weight:900;font-size:12px;line-height:1.3;letter-spacing:1px;text-transform:uppercase;color:#5B6275}
.promo-ticket__row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.promo-ticket__code{flex:1 1 auto;padding:8px 12px;border:2px dashed #8C93AD;border-radius:10px;font-family:var(--display);font-weight:900;font-size:24px;line-height:1.25;letter-spacing:1px;text-align:center;color:#1B1E3C;white-space:nowrap} /* never broken: the button goes under it instead */
.promo-ticket__copy{flex:1 0 auto;min-height:48px;padding:0 22px;border:0;border-radius:12px;background:var(--tbtn,#E30614);color:var(--tbtni,#fff);font:inherit;font-weight:900;font-size:16px;cursor:pointer}
.promo-ticket__copy:hover,.promo-ticket__copy:focus-visible{filter:brightness(1.08)}
.promo-progress{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.promo-progress__text{margin:0;font-weight:800;font-size:14px;line-height:1.35;color:#1B1E3C}
.promo-progress__track{display:block;height:10px;border-radius:999px;background:#E6E9F2;overflow:hidden}
.promo-progress__bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#FFC629,#E30614);transition:width .4s ease}
.promo-ticket__how{align-self:flex-start;font-weight:900;font-size:14px;color:#24275A;text-decoration:underline;text-underline-offset:.2em}
.promo-ticket__how:hover{color:#B8050F}

/* The sections' anchors, the price, „Как работи“ */
.promo-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;border:2px solid var(--line-2);background:#fff;color:var(--ink);font-weight:800;font-size:14px;line-height:1.2;white-space:nowrap;text-decoration:none}
.promo-chip:hover,.promo-chip:focus-visible{border-color:var(--navy);color:var(--navy)}
.promo-chip b{font-weight:900;color:var(--accent-dark)}
.promo-chip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.promo-secnav{margin:16px 0 4px}
.promo-secnav__list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.promo-price{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:24px 0 0}
.promo-price__label{margin-right:4px;font-weight:900;color:var(--ink)}
.promo-how{margin:28px 0 8px}
.promo-how__title{margin:0 0 14px}
.promo-how__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.promo-how__step{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid var(--line);border-radius:var(--radius-card,18px);background:#fff}
.promo-how__n{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-family:var(--display);font-weight:900;font-size:18px}
.promo-how__text{display:flex;flex-direction:column;gap:2px;min-width:0}
.promo-how__text b{font-weight:900;font-size:16px;line-height:1.3;color:var(--ink)}
.promo-how__text span{font-weight:700;font-size:14px;line-height:1.4;color:var(--muted)}
.promo-how__note{margin:12px 0 0;font-weight:800;font-size:14px;color:var(--ink-2)}

/* The rows of products */
.promo-shelf{margin:32px 0 8px;scroll-margin-top:96px}
.promo-shelf .promo-shelf__head{justify-content:flex-start;align-items:baseline;gap:6px 14px;margin-bottom:14px}
.promo-shelf__sub{margin:0;font-weight:700;font-size:14px;color:var(--muted)}
.promo-shelf__empty{margin:6px 0 0;font-weight:700;color:var(--muted)}
.promo-shelf__more{margin:16px 0 0;text-align:center}
.promo-more{border:2px solid var(--navy);background:#fff;color:var(--navy)}
.promo-more:hover,.promo-more:focus-visible{background:var(--navy);color:#fff}
.promo-more[aria-busy="true"]{opacity:.6;cursor:progress}
.promo-cats{margin:32px 0 8px}
.promo-products{margin-bottom:40px}

/* The page after the end: what runs now */
.promo-now{margin:28px 0 8px}
.promo-now__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:0;padding:0;list-style:none}
.promo-now__card{display:flex;flex-direction:column;gap:4px;height:100%;padding:18px;border-radius:var(--radius-card,18px);background:var(--pc,#E30614);color:var(--pt,#fff);text-decoration:none}
.promo-now__card:hover{color:var(--pt,#fff)}
.promo-now__label{font-family:var(--display);font-size:28px;line-height:1.05}
.promo-now__name{font-weight:800}
.promo-now__until{font-weight:700;font-size:13px}

/* A narrower computer: a smaller Croco; a tablet: the ticket under the words; a phone: one column, no Croco */
@media (max-width:1199px){
	.promo-top__in{grid-template-columns:minmax(0,1fr) minmax(280px,360px) 140px;gap:22px;padding:26px 28px}
	.promo-top--sale .promo-top__in,.promo-top--ended .promo-top__in{grid-template-columns:minmax(0,1fr) 140px}
	.promo-top__kroko img{width:140px}
	.promo-top__kroko::before{width:170px;height:170px}
	.promo-top__title{font-size:38px}
}
@media (max-width:900px){
	.promo-top__in,.promo-top--code:not(.has-kroko) .promo-top__in,.promo-top--sale .promo-top__in,.promo-top--ended .promo-top__in{grid-template-columns:minmax(0,1fr)}
	.promo-top__kroko{display:none}
	.promo-how__steps{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
	.promo-top{margin:16px 0 8px;border-radius:22px}
	.homepage>.promo-top--home{margin:-14px 0 0}
	.promo-top__in{gap:18px;padding:20px 16px}
	.promo-top__title{margin-top:12px;font-size:30px}
	.promo-top__sub{font-size:15px;margin-bottom:14px}
	.promo-cd{gap:6px}
	.promo-cd__box{flex:1 1 0;min-width:0;padding:7px 4px}
	.promo-cd__box b{font-size:24px}
	.promo-ticket__in{padding:16px 22px}
	.promo-ticket__code{font-size:20px}
	.promo-ticket__copy{min-height:48px;padding:0 18px}
	.promo-how__step{padding:14px}
	.promo-secnav__list,.promo-price{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:2px 16px;scrollbar-width:none}
	.promo-secnav__list::-webkit-scrollbar,.promo-price::-webkit-scrollbar{display:none}
	.promo-secnav__list li,.promo-price>*{flex:none}
	.promo-shelf{margin-top:26px}
}
@media (prefers-reduced-motion:reduce){.promo-progress__bar{transition:none}}

/* 6. The „Банери“ plugin's promo zones (crocoland-banners 1.6.0) */
.mega__promo{padding-top:12px}
.search-empty .crb-promo{margin-top:18px}
.crb-promo{margin:12px 0}
.crb-promo__in{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:var(--radius-card,18px);background:var(--pc,#E30614);color:var(--pt,#fff);text-decoration:none}
.crb-promo__label{font-family:var(--display);font-size:26px;font-weight:900;line-height:1;flex:none}
.crb-promo__text{flex:1;min-width:0;display:flex;flex-direction:column}
.crb-promo__text small{font-size:13px;font-weight:700} /* full white: at .9 it was 4.1:1 on the red (0.24.0) */
.crb-promo__go{flex:none;font-weight:800;text-decoration:underline}
@media (max-width:640px){.crb-promo__in{flex-wrap:wrap;gap:8px}.crb-promo__go{flex-basis:100%}}
/* „В промоция“ on a computer, in the bar over the products (a phone: the quick chips' own style, shop.css). */
@media (min-width:1024px){
	.promo-filter{display:flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 12px;border-radius:999px;border:2px solid var(--navy);background:#fff;color:var(--navy);font-weight:800;font-size:14px;white-space:nowrap}
	.promo-filter:hover{color:var(--navy);background:#EEF0FA}
	.promo-filter .qchip__box{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;border:2px solid var(--control-line,#8A90AB);color:transparent}
	.promo-filter[aria-pressed="true"] .qchip__box{background:var(--navy);border-color:var(--navy);color:#fff}
}
