/* The timed sale (Black Friday → Cyber Monday, владелец 2026-11-27) on Take-Top: the
   look picked in the prototype round (ui-sale, look 1 «Чёрная пятница»), black with
   yellow. Loaded after take.css, only while the sale runs. */
:root { --bf-ink: #0B0B0F; --bf-yellow: #FFD43B; }

/* ---------- the bar under the header ---------- */
.bf-bar { display: block; position: relative; z-index: 5; background: var(--bf-ink); color: #fff; text-decoration: none !important; }
.bf-bar:hover { color: #fff; }
.bf-bar-in { max-width: 1140px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.bf-bar-tag { font-weight: 800; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--bf-yellow); white-space: nowrap; }
.bf-bar-tag.short { display: none; }
.bf-bar-text { font-size: 15px; white-space: nowrap; }
.bf-bar-text b { font-weight: 800; color: var(--bf-yellow); }
.bf-bar-timer { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.bf-bar-ends { font-size: 13px; opacity: .85; margin-right: 3px; }
.bf-t { display: inline-flex; align-items: baseline; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.12); }
.bf-t b { font-weight: 800; font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--bf-yellow); }
.bf-t small { font-size: 11px; font-weight: 600; margin-left: 1px; opacity: .85; }
.bf-bar-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: var(--bf-yellow); color: var(--bf-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 760px) {
  .bf-bar-in { justify-content: space-between; gap: 8px; padding: 7px 12px; }
  .bf-bar-tag.long, .bf-bar-text, .bf-bar-ends, .bf-bar-btn span { display: none; }
  .bf-bar-tag.short { display: inline; font-size: 12px; letter-spacing: .04em; }
  .bf-t { padding: 2px 4px; }
  .bf-t b { font-size: 14px; }
  .bf-bar-btn { padding: 4px 8px; }
}

/* ---------- the note over the cards ---------- */
.bf-tnote { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px 16px; border-radius: 6px; background: var(--bf-ink); color: #fff; text-align: left; font-size: 16px; }
.bf-tnote b { color: var(--bf-yellow); }
.bf-tnote-ic { flex: none; width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; background: var(--bf-yellow); color: var(--bf-ink); font-weight: 800; font-size: 18px; }
.bf-tnote-txt { flex: 1; min-width: 0; line-height: 1.35; }
.bf-tnote-time { flex: none; text-align: right; font-size: 13px; line-height: 1.2; }
.bf-tnote-time b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .bf-tnote { flex-wrap: wrap; font-size: 15px; }
  .bf-tnote-time { width: 100%; text-align: left; }
  .bf-tnote-time b { display: inline; margin-left: 4px; }
}

/* ---------- a card on sale ---------- */
.bf-card { box-shadow: 0 0 0 2px var(--bf-ink) !important; }
.bf-card .card-header h3 { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.bf-t-off { display: inline-block; padding: 3px 7px; border-radius: 5px; background: var(--bf-ink); color: var(--bf-yellow); font-weight: 800; font-size: 14px; line-height: 1.1; }
.bf-t-timer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; background: var(--bf-ink); color: #fff; font-size: 14px; }
.bf-t-timer b { color: var(--bf-yellow); font-variant-numeric: tabular-nums; }
.bf-t-price { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.bf-t-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.bf-t-price .bf-old { font-size: 12.5px; font-weight: 500; color: #888C9B; text-decoration: line-through; }
.bf-t-price .bf-new { color: #0F9F6E; }

/* ---------- the menu and the home page ---------- */
.bf-tnav { display: inline-block; margin-left: 5px; padding: 1px 5px; border-radius: 4px; background: var(--bf-ink); color: var(--bf-yellow); font-size: 11px; font-weight: 800; line-height: 1.3; vertical-align: 1px; }
.bf-thero { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -24px 0 18px; padding: 10px 14px; border-radius: 6px; background: var(--bf-ink); color: #fff; font-size: 16px; }
.bf-thero b { color: var(--bf-yellow); }
.bf-thero .bf-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--bf-yellow); }
.bf-hero-chip { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--bf-ink); color: var(--bf-yellow); font-size: 12px; font-weight: 800; vertical-align: 1px; }
