/* Aktuální akce: okno s kódem a „Jak to funguje?“ (plugin mk-akce-kody). */

/* Štítek „Poslední aktualizace“ v katalogu slev nahrazuje odkaz „Jak to funguje?“
   (štítek byl na mobilu skrytý, odkaz je vidět všude) */
.my-catalog-ribbon-intro__label-wrapper {
  display: flex !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.my-catalog-ribbon-intro__label-wrapper > :not(.mkk-how) {
  display: none !important;
}
.mkk-how {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--ferrari-red, #ec470d);
  font-family: "nunito-v31-latin_latin-ext", "Nunito", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mkk-how:hover,
.mkk-how:focus-visible {
  text-decoration-thickness: 2px;
}

/* Patička karty akce: pevná mezera 26 px mezi logem a tlačítkem by delší text tlačítka
   („Nejlepší slevy“) vytlačila přes okraj karty. Tlačítko je zarovnané doprava, takže menší
   nejmenší mezera vzhled ostatních karet nemění. */
.my-sale-card__footer {
  column-gap: 8px !important;
}

/* Okno */
html.mkk-lock {
  overflow: hidden;
}
.mkk-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 20, 30, 0.55);
}
.mkk-modal.mkk-open {
  display: flex;
}
.mkk-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 32px 28px 28px;
  border-radius: var(--radius-m, 15px);
  background: var(--white, #fff);
  color: var(--black, #000);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-family: "nunito-v31-latin_latin-ext", "Nunito", sans-serif;
}
.mkk-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.mkk-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.mkk-modal__title {
  margin: 0 0 12px;
  font-family: "raleway-v36-latin_latin-ext", "Raleway", sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}
.mkk-modal__lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
}
.mkk-modal__code {
  margin: 0 0 12px;
  padding: 14px 12px;
  border: 2px dashed var(--matty-blue, #0e9aeb);
  border-radius: var(--radius-s, 10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  user-select: all;
  word-break: break-all;
}
.mkk-modal__code.mkk-loading {
  color: #999;
}
.mkk-modal__code.mkk-empty {
  border-color: var(--ferrari-red, #ec470d);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  user-select: auto;
}
.mkk-modal__copy {
  margin: 0 0 14px;
  padding: 8px 16px;
  border: 1px solid var(--matty-blue, #0e9aeb);
  border-radius: 999px;
  background: none;
  color: var(--matty-blue, #0e9aeb);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mkk-modal__copy:disabled {
  opacity: 0.4;
  cursor: default;
}
.mkk-modal__copy.mkk-done {
  border-color: var(--baseplate-green, #3cbc85);
  color: var(--baseplate-green, #3cbc85);
}
.mkk-modal__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}
.mkk-modal__text--how {
  margin: 0;
  font-size: 15px;
  text-align: left;
  color: inherit;
}
.mkk-modal__shop {
  display: inline-flex;
  text-decoration: none;
}
