
/*
 * CeskePloty.cz — graficky priznak BLACK FRIDAY
 * Soubor: BLACK-FRIDAY-CESKEPLOTY.css
 * Zamerne se nedotykame zadneho jineho priznaku Shoptetu.
 */

/* Puvodni textovy priznak se skryje az ve chvili, kdy se nacte logo. */
.flags .flag.flag-black-friday.cp-bf-source-hidden {
  display: none !important;
}

/* Pozicovaci kontejner se prida pouze k obrazku produktu s BLACK FRIDAY. */
.cp-bf-image-anchor {
  position: relative !important;
}

/* Samostatna obrazkova vrstva; neprepisuje styly ostatnich .flag prvku. */
.cp-bf-logo {
  position: absolute !important;
  z-index: 40 !important;
  display: block !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible !important;
  pointer-events: none !important;
  line-height: 0 !important;
}

.cp-bf-logo > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

/* Kategorie, vyhledavani, homepage, souvisejici a doporucene produkty. */
.cp-bf-logo--card {
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;
  width: 75px !important;
  height: 75px !important;
}

/* Hlavni fotografie na detailu produktu. */
.cp-bf-logo--detail {
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  width: 150px !important;
  height: 150px !important;
}

/* Mobil: mensi logo na kartach i na detailu produktu. */
@media (max-width: 768px) {
  .cp-bf-logo--card,
  .cp-bf-logo--detail {
    width: 40px !important;
    height: 40px !important;
  }
}
