/* =========================================================
   W RENT – OZNAM O ZATVORENÍ PREVÁDZOK
========================================================= */

.wrClosurePopup,
.wrClosurePopup *,
.wrClosurePopup *::before,
.wrClosurePopup *::after {
  box-sizing: border-box;
}

.wrClosurePopup {
  --red: #dd0000;
  --ink: #151515;
  --text: #68696f;
  --muted: #929399;
  --soft: #f3f3f1;
  --line: #e1e2e4;

  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .28s ease, visibility .28s ease;

  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

.wrClosurePopup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* OVERLAY */

.wrClosurePopupOverlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 15, 15, .64);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* POPUP */

.wrClosurePopupBox {
  position: relative;
  z-index: 2;

  width: min(760px, 100%);

  overflow: hidden;

  background: #fff;

  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;

  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);

  transform: translateY(18px) scale(.985);

  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
}

.wrClosurePopup.is-open .wrClosurePopupBox {
  transform: translateY(0) scale(1);
}


/* CLOSE */

.wrClosurePopupClose {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;

  width: 42px;
  height: 42px;

  padding: 0;

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 50%;

  cursor: pointer;

  transition: background .2s ease, transform .2s ease;
}

.wrClosurePopupClose span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 14px;
  height: 1px;

  display: block;

  background: var(--ink);
}

.wrClosurePopupClose span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.wrClosurePopupClose span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (hover:hover) {
  .wrClosurePopupClose:hover {
    background: var(--soft);
    transform: rotate(4deg);
  }
}


/* TOP */

.wrClosurePopupTop {
  min-height: 84px;

  padding: 26px 86px 24px 34px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-bottom: 1px solid var(--line);
}

.wrClosurePopupEyebrow {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--muted);

  font-size: 9px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: .16em;
}

.wrClosurePopupEyebrow::before {
  content: "";

  width: 24px;
  height: 2px;

  flex: 0 0 24px;

  background: var(--red);
}

.wrClosurePopupDate {
  color: var(--ink);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .02em;
}


/* CONTENT */

.wrClosurePopupContent {
  padding:
    clamp(38px, 6vw, 68px)
    clamp(28px, 6vw, 58px)
    clamp(36px, 5vw, 55px);
}

.wrClosurePopupContent h2 {
  max-width: 600px;

  margin: 0 !important;

  color: var(--ink) !important;

  font-size: clamp(45px, 6vw, 72px) !important;
  line-height: .94 !important;

  font-weight: 610 !important;

  letter-spacing: -.06em !important;

  text-align: left !important;
}

.wrClosurePopupContent p {
  max-width: 610px;

  margin: 28px 0 0 !important;

  color: var(--text) !important;

  font-size: 16px !important;
  line-height: 1.68 !important;
}

.wrClosurePopupContent strong {
  color: var(--ink);
  font-weight: 650;
}

.wrClosurePopupTextSecondary {
  margin-top: 11px !important;

  color: var(--muted) !important;

  font-size: 13px !important;
}


/* BOTTOM */

.wrClosurePopupBottom {
  min-height: 105px;

  padding: 18px 24px 18px 34px;

  display: grid;

  grid-template-columns: 1fr auto;

  align-items: center;

  gap: 25px;

  background: var(--soft);

  border-top: 1px solid var(--line);
}

.wrClosurePopupLocations {
  display: flex;
  flex-wrap: wrap;

  gap: 28px;
}

.wrClosurePopupLocations > div {
  display: flex;
  align-items: center;

  gap: 9px;
}

.wrClosurePopupLocations span {
  color: var(--red);

  font-size: 9px;
  font-weight: 800;
}

.wrClosurePopupLocations strong {
  color: var(--ink);

  font-size: 12px;
  font-weight: 650;
}


/* BUTTON */

.wrClosurePopupButton {
  min-height: 52px;

  padding: 0 8px 0 20px;

  display: inline-flex;
  align-items: center;

  gap: 20px;

  border: 0;
  border-radius: 999px;

  background: var(--ink);

  color: #fff;

  font-family: inherit;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: background .2s ease, transform .2s ease;
}

.wrClosurePopupButton b {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;

  color: var(--ink);

  border-radius: 50%;

  font-size: 16px;
  font-weight: 400;
}

@media (hover:hover) {
  .wrClosurePopupButton:hover {
    background: var(--red);
    transform: translateY(-1px);
  }
}

body.wrPopupOpen {
  overflow: hidden !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:650px) {

  .wrClosurePopup {
    padding: 12px;
  }

  .wrClosurePopupBox {
    border-radius: 18px;
  }

  .wrClosurePopupTop {
    min-height: 74px;

    padding: 22px 70px 20px 22px;

    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
  }

  .wrClosurePopupClose {
    top: 16px;
    right: 16px;
  }

  .wrClosurePopupContent {
    padding: 35px 22px 38px;
  }

  .wrClosurePopupContent h2 {
    font-size: clamp(42px, 13vw, 57px) !important;
  }

  .wrClosurePopupContent p {
    margin-top: 23px !important;

    font-size: 15px !important;
  }

  .wrClosurePopupBottom {
    padding: 22px;

    grid-template-columns: 1fr;

    gap: 24px;
  }

  .wrClosurePopupLocations {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
  }

  .wrClosurePopupButton {
    width: 100%;

    justify-content: space-between;
  }
}