/* Small progressive enhancements layered above the preserved Selisva bundle. */

#sf-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(18, 101, 56, 0.28);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

#sf-whatsapp-float:hover {
  color: #ffffff;
  background: #1fbd5a;
  box-shadow: 0 15px 34px rgba(18, 101, 56, 0.36);
  transform: translateY(-2px);
}

#sf-whatsapp-float:focus-visible {
  outline: 3px solid #221b16;
  outline-offset: 3px;
}

#sf-whatsapp-float svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

#sf-back-top {
  left: 22px !important;
  right: auto !important;
}

#sf-language-switch {
  position: fixed;
  top: 108px;
  right: 28px;
  z-index: 1150;
  display: inline-flex !important;
  align-items: center;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 27, 22, 0.15);
  background: rgba(250, 248, 243, 0.88);
  color: #8c8175;
  font-family: "Marcellus", Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

#sf-language-switch [data-language="en"] {
  color: #221b16;
  font-weight: 700;
}

#sf-language-switch [data-language="ru"] {
  cursor: default;
  opacity: 0.52;
}

#sf-language-switch__separator {
  color: #bcb4aa;
}

@media (max-width: 640px) {
  #sf-back-top {
    left: 16px !important;
    right: auto !important;
  }

  #sf-language-switch {
    top: 24px;
    right: 82px;
    padding: 7px 8px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  #sf-language-switch.sf-language-switch--guide {
    top: 88px;
    right: 16px;
    background: rgba(250, 248, 243, 0.93);
  }
}

.sf-guide-reader {
  display: none;
}

@media (max-width: 640px) {
  #sf-whatsapp-float {
    right: 16px;
    bottom: 76px;
    width: 48px;
    height: 48px;
  }

  #sf-whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  #route-style-starts-with-you doc-page {
    display: none !important;
  }

  #route-style-starts-with-you .sf-guide-reader {
    display: block;
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 12px 48px;
    color: #2f2822;
    background: #f5f1ea;
  }

  .sf-guide-reader__intro,
  .sf-guide-reader__section {
    overflow: hidden;
    margin: 0 0 12px;
    border: 1px solid rgba(34, 27, 22, 0.12);
    background: #faf8f3;
    box-shadow: 0 3px 14px rgba(50, 39, 29, 0.06);
  }

  .sf-guide-reader__intro {
    position: relative;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 26px;
    color: #f5f1ea;
    background: #221b16;
  }

  .sf-guide-reader__intro::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(20, 13, 8, 0.04) 25%, rgba(20, 13, 8, 0.84) 86%);
  }

  .sf-guide-reader__intro > * {
    position: relative;
    z-index: 1;
  }

  .sf-guide-reader__intro-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sf-guide-reader__brand,
  .sf-guide-reader__eyebrow {
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .sf-guide-reader__brand {
    color: rgba(245, 241, 234, 0.82);
  }

  .sf-guide-reader__intro h1 {
    max-width: 11ch;
    margin: 0 0 16px;
    color: #ffffff;
    font-family: "Gilda Display", Georgia, serif !important;
    font-size: clamp(38px, 11vw, 52px);
    font-weight: 400 !important;
    line-height: 0.98;
  }

  .sf-guide-reader__intro p {
    max-width: 31rem;
    margin: 0;
    font-size: 16px;
    font-style: italic;
    line-height: 1.55;
  }

  .sf-guide-reader__section {
    padding: 28px 26px 30px;
  }

  .sf-guide-reader__section[data-guide-section="Cover"] {
    display: none !important;
  }

  .sf-guide-reader__eyebrow {
    color: #8c8175;
  }

  .sf-guide-reader__section h2 {
    margin: 0 0 18px;
    color: #221b16;
    font-family: "Gilda Display", Georgia, serif !important;
    font-size: clamp(29px, 8vw, 38px);
    font-weight: 400 !important;
    line-height: 1.05;
  }

  .sf-guide-reader__section h3 {
    margin: 24px 0 10px;
    color: #221b16;
    font-family: "Gilda Display", Georgia, serif !important;
    font-size: 23px;
    font-weight: 400 !important;
    line-height: 1.15;
  }

  .sf-guide-reader__section p {
    margin: 0 0 14px;
    color: #403831;
    font-size: 16px;
    line-height: 1.68;
  }

  .sf-guide-reader__section blockquote {
    margin: 22px 0;
    padding: 2px 0 2px 18px;
    border-left: 2px solid #985943;
    color: #221b16;
    font-family: "Gilda Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.28;
  }

  .sf-guide-reader__section img {
    display: block;
    width: calc(100% + 52px);
    max-width: none;
    height: auto;
    max-height: 390px;
    margin: 22px -26px;
    object-fit: cover;
  }

  .sf-guide-reader__section img:first-of-type {
    margin-top: 0;
  }
}