.sunnyhill-home-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 48px 10px 16px;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 120% at 12% 50%, rgba(255, 154, 82, 0.22), transparent 55%),
    linear-gradient(90deg, #14110f 0%, #1a1512 42%, #120f0d 100%);
  border-bottom: 1px solid rgba(255, 180, 130, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.sunnyhill-home-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sunnyhill-home-banner.is-closing {
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sunnyhill-home-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  width: min(1120px, 100%);
  text-align: left;
}

.sunnyhill-home-banner__main {
  display: contents;
}

.sunnyhill-home-banner__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 154, 82, 0.14);
  border: 1px solid rgba(255, 180, 130, 0.28);
  color: #ff9a52;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sunnyhill-home-banner__badge img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.sunnyhill-home-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: rgba(255, 244, 236, 0.94);
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.35;
}

.sunnyhill-home-banner__copy strong {
  color: #fff;
  font-weight: 600;
}

.sunnyhill-home-banner__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #b17256;
  background: #b17256;
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sunnyhill-home-banner__cta:hover,
.sunnyhill-home-banner__cta:focus-visible {
  background: #9a6249;
  border-color: #9a6249;
  color: #fff !important;
  transform: translateY(-1px);
}

.sunnyhill-home-banner__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.sunnyhill-home-banner__close:hover,
.sunnyhill-home-banner__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.sacher-home.has-sunnyhill-banner {
  padding-top: calc(84px + var(--sunnyhill-banner-offset, 0px));
}

body.sacher-home.has-sunnyhill-banner .header__nav__option {
  top: var(--sunnyhill-banner-offset, 0px);
}

@media (max-width: 767px) {
  .sunnyhill-home-banner {
    align-items: flex-start;
    padding:
      max(10px, env(safe-area-inset-top))
      44px
      10px
      max(12px, env(safe-area-inset-left));
  }

  .sunnyhill-home-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 4px;
  }

  .sunnyhill-home-banner__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }

  .sunnyhill-home-banner__badge {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .sunnyhill-home-banner__copy {
    flex: 1 1 200px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .sunnyhill-home-banner__cta {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 14px;
    font-size: 10px;
  }

  .sunnyhill-home-banner__close {
    top: max(10px, env(safe-area-inset-top));
    transform: none;
  }

  body.sacher-home.has-sunnyhill-banner .canvas__open,
  body.sacher-home.has-sunnyhill-banner .sacher-home .canvas__open {
    top: calc(
      var(--sunnyhill-banner-offset, 0px) + max(14px, env(safe-area-inset-top))
    ) !important;
  }

  body.sacher-home.has-sunnyhill-banner
    .mobile__lang__selector.header__lang__selector {
    top: calc(
      var(--sunnyhill-banner-offset, 0px) +
        max(24px, calc(env(safe-area-inset-top) + 10px))
    ) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sunnyhill-home-banner,
  .sunnyhill-home-banner__cta {
    transition: none;
  }
}
