/* Crisp desktop replacements for the rasterized type in the supplied PSD export.
   Positions are taken from the editable Photoshop text layers (1127px canvas). */
.contacts__map-wrap { position: relative; overflow: hidden; }
.contacts__map { display: block; }
.contacts__map-wrap .sv-quality-map-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.contacts__map-wrap .sv-quality-map-frame.is-loaded { opacity: 1; }

@media (min-width: 1127px) {
  .desktop-quality-newsletter,
  .desktop-quality-contacts,
  .desktop-quality-map,
  .desktop-quality-card {
    position: absolute;
    z-index: 1;
    box-sizing: border-box;
    pointer-events: none;
    font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
    font-weight: 400;
  }

  .desktop-quality-newsletter {
    left: 0;
    width: 1127px;
    text-align: center;
  }

  .desktop-quality-card {
    width: 334px;
    padding: 0 5px;
    color: #d88233;
    text-align: center;
  }

  .desktop-quality-card--wardrobe { top: 1917px; left: 246px; height: 84px; background: #f8efdf; }
  .desktop-quality-card--dolls { top: 1917px; left: 706px; height: 84px; background: #f8efdf; }
  .desktop-quality-card--artists { top: 2375px; left: 246px; height: 112px; background: #fff; }
  .desktop-quality-card--time { top: 2375px; left: 706px; height: 112px; background: #fff; }

  .desktop-quality-card h2,
  .desktop-quality-card p {
    margin: 0;
    font-weight: 400;
  }

  .desktop-quality-card h2 {
    padding-top: 1px;
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .desktop-quality-card h2 span { display: inline-block; }

  .desktop-quality-card p {
    margin-top: 1px;
    font-size: 19px;
    line-height: 22px;
    font-variant: small-caps;
  }

  .desktop-quality-newsletter--top {
    top: 820px;
    height: 340px;
    background: #fff;
    color: #5e337f;
  }

  .desktop-quality-newsletter--bottom {
    top: 10110px;
    height: 338px;
    background: #d8822c;
    color: #fff;
  }

  .desktop-quality-newsletter h2,
  .desktop-quality-newsletter h3,
  .desktop-quality-newsletter p {
    position: absolute;
    left: 0;
    width: 100%;
    margin: 0;
    font-weight: 400;
  }

  .desktop-quality-newsletter h2 {
    top: 9px;
    font-size: 50px;
    line-height: 1.08;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .desktop-quality-newsletter--bottom h2 { top: 14px; }

  .desktop-quality-newsletter__ribbon {
    position: absolute;
    top: 80px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    background: #d88233;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .desktop-quality-newsletter--bottom .desktop-quality-newsletter__ribbon {
    top: 83px;
    height: 59px;
    background: #fff;
    color: #d8822c;
  }

  .desktop-quality-newsletter h3 {
    top: 160px;
    font-size: 27px;
    line-height: 32px;
    text-transform: uppercase;
  }

  .desktop-quality-newsletter--bottom h3 { top: 159px; }

  .desktop-quality-newsletter__consent {
    top: 244px;
    font-size: 18px;
    line-height: 22px;
    font-variant: small-caps;
  }

  .desktop-quality-newsletter--bottom .desktop-quality-newsletter__consent { top: 243px; }

  .desktop-quality-newsletter__form {
    position: absolute;
    top: 297px;
    left: 232px;
    display: grid;
    grid-template-columns: 274px 233px 134px;
    gap: 11px;
    width: 663px;
    height: 34px;
    color: #676767;
    font: 14px/1 Arial, sans-serif;
    text-align: left;
  }

  .desktop-quality-newsletter--bottom .desktop-quality-newsletter__form {
    top: 290px;
    left: 227px;
  }

  .desktop-quality-newsletter__field,
  .desktop-quality-newsletter__submit {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #e9d2a4;
    border-radius: 9px;
    background: #fff;
  }

  .desktop-quality-newsletter__submit {
    justify-content: center;
    color: #262626;
  }

  .desktop-quality-newsletter__flag {
    display: inline-block;
    width: 23px;
    height: 16px;
    margin-right: 6px;
    flex: 0 0 23px;
    background: url('../images/flag-cz.svg') center / contain no-repeat;
  }

  .desktop-quality-newsletter__caret {
    margin-right: 9px;
    color: #545454;
    font-size: 10px;
  }

  .desktop-quality-map {
    top: 9516px;
    left: 56px;
    overflow: hidden;
    width: 480px;
    height: 408px;
    background: #f6f6f4 url('../images/map.png') center / cover no-repeat;
  }

  .desktop-quality-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity .2s ease;
  }

  .desktop-quality-map iframe.is-loaded { opacity: 1; }

  .desktop-quality-contacts {
    top: 9508px;
    left: 544px;
    width: 536px;
    height: 418px;
    background: #fff;
    color: #d88233;
    text-align: center;
  }

  .desktop-quality-contacts__group {
    position: absolute;
    left: 0;
    width: 100%;
  }

  .desktop-quality-contacts__group--address { top: 0; }
  .desktop-quality-contacts__group--people { top: 117px; }
  .desktop-quality-contacts__group--hours { top: 232px; }

  .desktop-quality-contacts h2,
  .desktop-quality-contacts p {
    margin: 0;
    font-weight: 400;
  }

  .desktop-quality-contacts h2 {
    font-size: 29px;
    line-height: 33px;
    font-variant: small-caps;
  }

  .desktop-quality-contacts__group--people h2,
  .desktop-quality-contacts__group--hours h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .desktop-quality-contacts p {
    font-size: 17px;
    line-height: 21px;
    font-variant: small-caps;
  }

  .desktop-quality-contacts__social {
    position: absolute;
    top: 367px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 31px;
    width: 100%;
  }

  .desktop-quality-contacts__social img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  /* On platforms without Bahnschrift, the closest system fallback is narrower.
     Stretch only the glyphs, preserving the PSD's text box coordinates. */
  .sv-bahnschrift-fallback .desktop-quality-newsletter h2,
  .sv-bahnschrift-fallback .desktop-quality-newsletter h3,
  .sv-bahnschrift-fallback .desktop-quality-newsletter__consent {
    transform: scaleX(1.12);
    transform-origin: center;
  }

  .sv-bahnschrift-fallback .desktop-quality-newsletter__ribbon span {
    display: inline-block;
    transform: scaleX(1.14);
  }

  .sv-bahnschrift-fallback .desktop-quality-contacts p {
    transform: scaleX(1.14);
    transform-origin: center;
  }

  .sv-bahnschrift-fallback .desktop-quality-card h2 span { transform-origin: center; }
  .sv-bahnschrift-fallback .desktop-quality-card--wardrobe h2 span { transform: scaleX(1.16); }
  .sv-bahnschrift-fallback .desktop-quality-card--dolls h2 span,
  .sv-bahnschrift-fallback .desktop-quality-card--artists h2 span { transform: scaleX(1.17); }
  .sv-bahnschrift-fallback .desktop-quality-card--time h2 span { transform: scaleX(1.14); }
}
