.catalog-thumb > .bf-slot,
.car-img-wrap > .bf-slot,
.car-main-photo-wrap > .bf-slot {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.bf-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #111;
  color: #fff;
  border: 1px solid #ff6b00;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}
.bf-badge i { color: #ff8a35; }
.bf-ticket {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  background: #ff6b00;
  color: #111;
  border-radius: 4px;
  box-shadow: 0 3px 12px #0004;
  line-height: 1.15;
  letter-spacing: 0;
}
.bf-ticket strong { font-size: 20px; font-weight: 800; white-space: nowrap; }
.bf-ticket > span { font-size: 11px; font-weight: 700; }
.bf-old-price { text-decoration: line-through; opacity: .65; font-size: 15px; }
.bf-terms {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  line-height: 1.45;
  font-size: 12px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.bf-saving { font-weight: 650; }
.bf-saving strong { color: #ff8a35; font-weight: 800; }
body[data-theme="light"] .bf-saving strong { color: #a53f00; }
.bf-until { opacity: .8; }
.bf-inline-label { display: none; }
.bf-slot .price-row { flex-wrap: wrap; min-width: 0; }
.bf-slot[data-bf-state="active"] .car-price,
.bf-slot[data-bf-state="active"] .catalog-price { font-weight: 800; }
.car-foot > .bf-slot { min-width: 0; flex: 1 1 100%; }
.car-foot:has(> .bf-slot[data-bf-state="active"]) { flex-wrap: wrap; }
.car-main-photo-wrap:has(.bf-ticket) .car-gallery-counter { bottom: 72px; }
.car-main-photo-wrap .bf-ticket strong { font-size: 24px; }
@media (max-width: 575px) {
  .bf-badge { left: 8px; bottom: 8px; font-size: 10px; padding: 7px 8px; }
  .bf-ticket { right: 8px; bottom: 8px; padding: 8px 10px; }
  .bf-ticket strong, .car-main-photo-wrap .bf-ticket strong { font-size: 18px; }
  .catalog-thumb .bf-badge { top: auto; bottom: 8px; left: 8px; font-size: 11px; padding: 6px; }
  .catalog-thumb .bf-badge-label { display: none; }
  .catalog-thumb .bf-ticket { padding: 6px 8px; }
  .catalog-thumb .bf-ticket strong { font-size: 16px; }
  .catalog-thumb .bf-ticket > span { display: none; }
  .catalog-side .bf-inline-label { display: block; font-weight: 800; }
}
@media (prefers-reduced-motion: no-preference) {
  .bf-ticket { animation: bf-ticket-in .35s ease-out both; }
  @keyframes bf-ticket-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}
@media print { .bf-slot > template { display: none; } .bf-ticket { box-shadow: none; } }
