/* Вітрина акції (11.11.2026, Chekhol_PromoShowcase). Підключається лише коли увімкнено хоч один вимикач; класи виглядів —
   на <html> (ckp-board-k, ckp-fstate-sub, ckp-price-q, ckp-badge-g1, ckp-urg-z2, ckp-sold-o2, ckp-sw-a, ckp-swt-pct).
   Палітра сайту: шапка #1d1d1d, акцент жовтий #FFD60A з темним текстом (13:1), синій для білого тексту — #0073A6 (5,1:1;
   фірмовий #0094D4 з білим — 3,3:1). Червоного немає; зелений — лише «Купити». */

/* ---------- Табло Б2: одразу під рядком «Фільтр / сортування», вище каруселі підкатегорій ---------- */
html.ckp .ch-products-list__products:has(> .ckb), html.ckp .ch-products-list__products:has(> * > .ckb) { display: flex; flex-direction: column; }
html.ckp .ch-products-list__products > .ckb { order: -1; }
.ckb { margin: 4px 0 14px; border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
    box-sizing: border-box; font-size: 14px; line-height: 1.3; background: #1d1d1d; color: #fff; }
.ckb__t { display: block; font-size: 17px; line-height: 21px; font-weight: 700; color: #fff !important; }
.ckb__s { display: block; font-size: 13px; line-height: 17px; margin-top: 3px; color: #fff !important; }
.ckb .ckb-cells i { color: #fff !important; }
.ckb--y .ckb__t, .ckb--y .ckb__s, .ckb--y .ckb-cells i, .ckb--w .ckb__t, .ckb--w .ckb__s, .ckb--w .ckb-cells i { color: #1a1a1a !important; }
.ckb-cells { display: flex; gap: 4px; }
.ckb-cells > span { display: flex; flex-direction: column; align-items: center; }
.ckb-cells b { display: block; min-width: 36px; height: 36px; line-height: 36px; padding: 0 2px; box-sizing: border-box; text-align: center;
    border-radius: 6px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; background: #FFD60A; color: #1a1a1a; }
.ckb-cells i { font-style: normal; font-size: 11px; line-height: 14px; margin-top: 2px; color: inherit; opacity: .85; }
.ckb__cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; box-sizing: border-box;
    border: 2px solid #FFD60A; border-radius: 8px; color: #FFD60A !important; font: inherit; font-weight: 700; font-size: 16px;
    text-decoration: none !important; background: transparent; width: 100%; cursor: pointer; }
.ckb--y { background: #FFD60A; color: #1a1a1a; }
.ckb--y .ckb-cells b { background: #1d1d1d; color: #FFD60A; }
.ckb--y .ckb__cta { border-color: #1d1d1d; background: #1d1d1d; color: #fff !important; }
.ckb--w { background: #fff; color: #1a1a1a; border: 2px solid #1d1d1d; }
.ckb--w .ckb__cta { border-color: #0073A6; background: #0073A6; color: #fff !important; }
.ckb--b { background: #0073A6; color: #fff; }
.ckb--b .ckb__cta { border-color: #fff; background: #fff; color: #0073A6 !important; }
@media (min-width: 1000px) {
    .ckb { grid-template-columns: 1fr auto 300px; gap: 20px; padding: 14px 18px; }
    .ckb__cta { grid-column: auto; }
    .ckb__t { font-size: 20px; line-height: 24px; }
}

/* ---------- фільтр «Зі знижкою» Ф1: перша група шторки ---------- */
.ckf-group { padding: 10px 12px; border-bottom: 1px solid #e5e5e5; margin-bottom: 6px; }
.ckf-h { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.ckf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; text-decoration: none !important; color: inherit; }
.ckf-l { color: #1a1a1a; font-weight: 700; font-size: 16px; }
.ckf-pc { margin-right: 6px; }
.ckf-c { color: #555; font-weight: 400; font-size: 13px; margin-left: 8px; }
.ckf-sw { width: 48px; height: 28px; border-radius: 14px; background: #cfcfd6; position: relative; flex: none; }
.ckf-sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.ckf-sw.is-on { background: #1d1d1d; }
.ckf-sw.is-on i { left: 23px; background: #FFD60A; }

/* стан увімкненого фільтра — без висоти над списком */
.ch-catalog-top .ckf-st { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 6px 0 4px; margin-left: 8px; box-sizing: border-box;
    border-radius: 16px; background: #FFD60A; color: #1a1a1a !important; font-size: 13px; font-weight: 700; text-decoration: none !important;
    white-space: nowrap; flex: 0 0 auto; }
.ckf-st .ckf-pc, .ckf-sub .ckf-pc { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0;
    border-radius: 50%; background: #1d1d1d; color: #FFD60A; font-size: 12px; flex: 0 0 auto; }
.ckf-st .ckf-x { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(0, 0, 0, .12); font-size: 12px; flex: 0 0 auto; }
/* 390 px: чип не обрізається — стискається список сортування, а кнопка «Фільтр» стає значком */
html.ckp .ch-catalog-top:has(.ckf-st) form { min-width: 0; flex: 1 1 auto; }
html.ckp .ch-catalog-top:has(.ckf-st) [name="sort"] { max-width: 100%; min-width: 0; }
@media (max-width: 989px) {
    html.ckp .ch-catalog-top:has(.ckf-st--row) .ch-catalog-top__toggle-filter { font-size: 0; gap: 0; width: 36px; justify-content: center; padding: 5px 0; }
    html.ckp .ch-catalog-top .ckf-st--row .ckf-n { display: none; }
    html.ckp .ch-catalog-top .ckf-st--row { margin-left: 6px; }
    .ch-catalog-top .ckf-st--btn { display: none; }
}
/* sub: жовтий рядок на місці каруселі підкатегорій */
.ckf-sub { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 10px; padding: 0 4px 0 8px; border-radius: 10px; background: #FFD60A;
    color: #1a1a1a; font-size: 15px; font-weight: 700; box-sizing: border-box; }
.ckf-sub__t { flex: 1 1 auto; min-width: 0; }
.ckf-sub__x { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; background: #1d1d1d; color: #fff !important;
    font-size: 14px; text-decoration: none !important; white-space: nowrap; }
/* btn: кнопка «Фільтр» показує стан */
.ch-catalog-top__toggle-filter.ckf-btn-on { background: #FFD60A !important; color: #1a1a1a !important; font-weight: 700; padding-right: 40px; position: relative; }
.ch-catalog-top__toggle-filter.ckf-btn-on::before { filter: invert(1); }
html.ckp-fstate-btn .ch-catalog-top .only-mobile { position: relative; }
.ckf-btn-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 32px; display: flex; align-items: center; justify-content: center;
    color: #1a1a1a !important; font-size: 13px; font-weight: 700; text-decoration: none !important; border-left: 1px solid rgba(0, 0, 0, .2); }

/* ---------- значок кампанії на плитці ---------- */
html.ckp .ch-product-thumb .image { position: relative; }
.ckg { position: absolute; z-index: 3; pointer-events: none; font-family: Arial, sans-serif; line-height: 1; box-sizing: border-box; }
.ckg b, .ckg i { font-style: normal; }
.ckg-g1 { left: 0; top: 0; padding: 6px 9px 6px 8px; border-radius: 0 0 10px 0; background: #1d1d1d; color: #FFD60A; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.ckg-g2 { left: 6px; bottom: 6px; display: inline-flex; align-items: center; border-radius: 13px; overflow: hidden; font-size: 13px; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.ckg-g2 b { background: #1d1d1d; color: #FFD60A; padding: 6px 7px; }
.ckg-g2 i { background: #FFD60A; color: #1a1a1a; padding: 6px 8px; }
.ckg-g3 { right: 6px; top: 6px; width: 54px; height: 54px; border-radius: 10px; background: #1d1d1d; color: #FFD60A; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.ckg-g3 b { font-size: 16px; font-weight: 800; white-space: nowrap; }
.ckg-g3 i { font-size: 10px; font-weight: 700; color: #fff; }
html.ckp-badge-g1 .ch-product-thumb .sale1111-badge, html.ckp-badge-g2 .ch-product-thumb .sale1111-badge,
html.ckp-badge-g3 .ch-product-thumb .sale1111-badge { visibility: hidden; }
html.ckp-badge-g4 .ch-product-thumb .sale1111-badge { border: 0 !important; background: none !important; border-radius: 6px; overflow: hidden; }
html.ckp-badge-g4 .ch-product-thumb .sale1111-badge__event { background: #1d1d1d !important; color: #FFD60A !important; }
html.ckp-badge-g4 .ch-product-thumb .sale1111-badge__discount { background: #FFD60A !important; color: #1a1a1a !important; }

/* ---------- «Закінчується» лише відібраним: рядок зарезервований (кнопки ряду на одній лінії) ---------- */
html.ckp-urg-z1 .sale1111-urgency, html.ckp-urg-z2 .sale1111-urgency, html.ckp-urg-z3 .sale1111-urgency { min-height: 1.3em; }
html.ckp-urg-z2 .sale1111-urgency, html.ckp-urg-z3 .sale1111-urgency, html.ckp-urg-z2 .ckq__u, html.ckp-urg-z3 .ckq__u { color: #5c3d00 !important; font-weight: 700; }
html.ckp-urg-z2 .sale1111-urgency:not(:empty)::before, html.ckp-urg-z2 .ckq__u::before { content: ""; display: inline-block; width: 18px; height: 8px; margin-right: 5px;
    vertical-align: 1px; border-radius: 2px; background: linear-gradient(90deg, #C98A00 0 33%, #ddd 33% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
html.ckp-urg-z3 .sale1111-urgency:not(:empty)::before, html.ckp-urg-z3 .ckq__u::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px;
    border-radius: 50%; background: #FFD60A; box-shadow: 0 0 0 1px #8a6d00; }

/* ---------- «Квадрат знижки» на картці (таблиця ціни з мікророзміткою прихована, але в HTML) ---------- */
.block-price.ckq-on > .sale1111-slot, .block-price.ckq-on > .ck-disc-slot, .block-price.ckq-on > table { display: none !important; }
html.ckp .block-info:has(.ckq.is-ev) > .block-countdown { display: none; }
html.ckp .block-price .ckq { margin: 0 0 10px; color: #111; font-size: 15px; font-weight: 400; line-height: 1.3; }
html.ckp .block-price .ckq :where(span, b, i, s, small) { font-size: inherit; color: inherit; }
html.ckp .block-price .ckq__p { display: flex; gap: 14px; align-items: center; }
html.ckp .block-price .ckq__sq { background: #1d1d1d; color: #fff; border-radius: 8px; width: 78px; height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
html.ckp .block-price .ckq__sq b { font-size: 21px; font-weight: 700; white-space: nowrap; line-height: 1.1; color: #FFD60A; }
html.ckp .block-price .ckq__sq i { font-style: normal; font-size: 12px; }
html.ckp .block-price .ckq__now { font-size: 34px; font-weight: 700; line-height: 1.05; white-space: nowrap; color: #111; }
html.ckp .block-price .ckq__now small { font-size: 18px; font-weight: 500; }
html.ckp .block-price .ckq__sub { margin-top: 6px; display: flex; gap: 4px 12px; flex-wrap: wrap; align-items: baseline; }
html.ckp .block-price .ckq__old { color: #595959; white-space: nowrap; }
html.ckp .block-price .ckq__save { font-weight: 700; white-space: nowrap; color: #1a1a1a; }
html.ckp .block-price .ckq__tm { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3e3e8; border-radius: 10px;
    padding: 10px 12px; margin-top: 12px; font-size: 14px; }
html.ckp .block-price .ckq__tm .ckb-cells { gap: 6px; }
html.ckp .block-price .ckq__tm .ckb-cells b { background: #1d1d1d; color: #FFD60A; min-width: 44px; height: 40px; line-height: 40px; }
html.ckp .block-price .ckq__tm .ckb-cells i { color: #555; opacity: 1; }
html.ckp .block-price .ckq__u { margin-top: 8px; font-size: 14px; font-weight: 700; }

/* ---------- «Розкуплено» Р1: сіра плашка статусу, один блок кольорів ---------- */
html[class*="ckp-sold-"] .ck-avail-label.is-soldout { display: inline-block; background: #efefef; color: #222; font-weight: 700; border-radius: 16px; padding: 5px 12px; font-size: 14px; }
html[class*="ckp-sold-"] .ck-avail-label.is-soldout::before { display: none; }
html[class*="ckp-sold-"] .ch-product-thumb .ck-soldout { display: inline-block; background: #efefef; color: #333; font-weight: 700; border-radius: 14px; padding: 3px 10px; font-size: 13px; line-height: 18px; }
html[class*="ckp-sold-"] .block-price:has(.is-soldout) table { color: #767676; }
html[class*="ckp-sold-"] .ck-soldout-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; }
html[class*="ckp-sold-"] .ck-soldout-colors > span { flex: 0 0 100%; font-size: 15px; color: #333; }
html[class*="ckp-sold-"] .ck-soldout-colors .single-color { position: relative; width: 44px; height: 44px; margin: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: 0 0 auto; }
html[class*="ckp-sold-"] .ck-soldout-colors .single-color .color { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
html[class*="ckp-sold-"] .ck-soldout-colors .single-color.out_of_stock::before { content: ""; position: absolute; left: 0; top: 21px; width: 44px; height: 2px; background: #444;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .85); transform: rotate(36deg); z-index: 2; }
html[class*="ckp-sold-"] .ck-soldout-colors .single-color.out_of_stock .color { opacity: .4; }
html[class*="ckp-sold-"] .ck-soldout-colors .single-color.current { box-shadow: 0 0 0 2px #0073A6; }
html[class*="ckp-sold-"] a.ck-soldout-alt:not(.ck-soldout-colors) { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5; padding: 10px 0; margin: 10px 0; color: #0073A6; font-weight: 700; text-decoration: none; }
html[class*="ckp-sold-"] a.ck-soldout-alt:not(.ck-soldout-colors):not(.ckso-o1)::after { content: "›"; font-size: 20px; }

/* ---------- кольори зі станом: кружечки рівно як зараз, мітки поверх (::before/::after), висота та сама ---------- */
html.ckp-sw-a .block-color .single-color[data-pvt]::after, html.ckp-sw-b .block-color .single-color[data-pvt]::after,
html.ckp-sw-d .block-color .single-color[data-pvst="wait"]::after,
html.ckp-sw-a .ck-soldout-colors .single-color[data-pvt]::after, html.ckp-sw-b .ck-soldout-colors .single-color[data-pvt]::after {
    content: attr(data-pvt); position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 11; padding: 0 3px; height: 13px; line-height: 13px;
    border-radius: 3px; background: #FFD60A; color: #1a1a1a; font: 700 10px/13px Arial, sans-serif; white-space: nowrap; box-shadow: 0 0 0 1px #fff; pointer-events: none; }
html[class*="ckp-sw-"] .single-color[data-pvst="wait"]::after { background: #e6eef7 !important; color: #1f4e79 !important; }
html.ckp-sw-b .block-color .single-color[data-pvst="full"]::after { background: #fff; box-shadow: 0 0 0 1px #c9c9c9; }
html.ckp-sw-b .block-color .single-color[data-pvh]::before { content: "%"; position: absolute; right: -4px; top: -4px; left: auto; width: 14px; height: 14px; border-radius: 50%;
    z-index: 12; transform: none !important; background: #FFD60A; color: #1a1a1a; font: 800 9px/14px Arial, sans-serif; text-align: center;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, .2); display: block; }
html.ckp-sw-d .block-color .single-color[data-pvh] { border: 3px solid #FFD60A; box-shadow: 0 0 0 1px #8a7200; }
/* очікуваний не перекреслений (стан показує бирка з датою), трохи блідий */
html[class*="ckp-sw-"] .block-color .single-color[data-pvst="wait"]::before { display: none; }
html[class*="ckp-sw-"] .block-color .single-color[data-pvst="wait"] span.color { opacity: .55; }
/* плитка: бирка «%» / кільце; нуль висоти */
html.ckp-swt-pct div.ch-product-list > div.ch-product-thumb > .prod_colors { overflow: visible; }
html.ckp-swt-pct .prod_colors .single-color[data-pvh] { position: relative; }
html.ckp-swt-pct .prod_colors .single-color[data-pvh]::after { content: "%"; position: absolute; right: -5px; top: -5px; width: 11px; height: 11px; border-radius: 50%; z-index: 11;
    background: #FFD60A; color: #1a1a1a; font: 800 8px/11px Arial, sans-serif; text-align: center; box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, .25); }
html.ckp-swt-ring .prod_colors .single-color[data-pvh] { border: 2px solid #FFD60A; box-shadow: 0 0 0 1px #8a7200; }

/* ---------- годинник між ціною і кнопкою (ck-card-price = 3; до 23.11 — окремий ck-card-price.css) ---------- */
/* Годинник між ціною і кнопкою на картці товару акції (ck-card-price = 3, вибір власника 23.11.2026, Chekhol_PromoShowcase::cardClock).
   Правила діють лише на класи ckc, ckc-p і ckc-on, які друкує картка при ck-card-price = 3. Рядок ціни: ціна розміром як «Ціна: 799» (28 px / 900, шрифт сайту), стара ціна, червона плашка кампанії
   «як зараз» (як .sale1111-slot span.sale1111-badge у cx_quickwins.css), «Економія» червоним. Годинник — світла схема Табло 3: біла
   картка з темною рамкою, жовті клітинки з темними цифрами. Таблиця ціни з мікророзміткою, плашка й рядок «Поки є в наявності»
   лишаються в HTML, але приховані: статус — один рядок «В наявності». Цифри друкує сервер (місце тримається, CLS 0), щосекунди їх
   оновлює наявний таймер картки; після кінця акції він прибирає годинник і рядок ціни — картка як без акції. */

.block-price.ckc-on > .sale1111-slot, .block-price.ckc-on > .ck-disc-slot, .block-price.ckc-on > table { display: none !important; }

/* ---------- рядок ціни: ціна, стара ціна, плашка ---------- */
html.ckp .ch-product-info .block-price .ckc-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0 0 2px;
    contain: inline-size; /* не розширює вузький сірий блок десктопа */ font-size: 15px; font-weight: 400; line-height: 1.2; color: #111; }
html.ckp .ch-product-info .block-price .ckc-p :where(span, b, i, s, small) { font-size: inherit; color: inherit; font-style: normal; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__now { font-size: 28px; font-weight: 900; line-height: 1.1; white-space: nowrap; color: #000; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__now small { font-size: 14px; font-weight: 400; color: #5e5959; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__old { font-size: 16px; color: #888; white-space: nowrap; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__b { display: inline-flex; align-self: center; box-sizing: border-box; overflow: hidden;
    border: 1px solid #cc1426; border-radius: 5px; font: 700 12px/24px Arial, sans-serif; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__b b { padding: 0 5px; background: #cc1426; color: #fff; font-weight: 700; }
html.ckp .ch-product-info .block-price .ckc-p .ckc-p__b i { padding: 0 5px; background: #fff; color: #b00e20; }
html.ckp .ch-product-info .block-price .ckc-p__save { margin: 4px 0 6px; font: 700 15px/18px Arial, sans-serif; color: #b00e20; }

/* ---------- годинник: підпис рядком, клітинки на всю ширину блоку ---------- */
html.ckp .ch-product-info .block-buy .ckc { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0;
    padding: 10px; background: #fff; border: 2px solid #1d1d1d; border-radius: 10px; font: 400 14px/18px Arial, sans-serif; color: #1a1a1a; }
html.ckp .ch-product-info .block-buy .ckc :where(span, b, i) { font-size: inherit; color: inherit; font-style: normal; }
html.ckp .ch-product-info .block-buy .ckc .ckc__t { flex: 0 0 100%; contain: inline-size; font-size: 14px; line-height: 18px; font-weight: 700; color: #1a1a1a; }
html.ckp .ch-product-info .block-buy .ckc .ckc__n { flex: 1 1 100%; display: flex; gap: 5px; }
html.ckp .ch-product-info .block-buy .ckc .ckc__n > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
html.ckp .ch-product-info .block-buy .ckc .ckc__n b { display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 42px; line-height: 42px;
    padding: 0 2px; text-align: center; border-radius: 6px; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums;
    background: #FFD60A; color: #1a1a1a; }
html.ckp .ch-product-info .block-buy .ckc .ckc__n i { font-size: 11px; line-height: 14px; margin-top: 3px; color: #1a1a1a; }

/* десктоп: сірий блок вузький (~175 px вмісту) — клітинки менші, без переносу */
@media (min-width: 990px) {
    html.ckp .ch-product-info .block-buy .ckc { padding: 8px 6px; }
    html.ckp .ch-product-info .block-buy .ckc .ckc__n { gap: 4px; }
    html.ckp .ch-product-info .block-buy .ckc .ckc__n b { min-width: 38px; height: 38px; line-height: 38px; font-size: 19px; }
}
