/* five-star.css – banner del passaggio a 5 stelle (inc/five-star.php) */

.five-star-banner {
  position: fixed;
  left: 164px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
  padding: 16px 14px 16px 20px;
  background: #0b3142;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--font-testo);
  font-size: 14px;
  line-height: 1.5;
  animation: five-star-in 0.5s ease 1s both;
}

.five-star-banner__text {
  margin: 0;
}

.five-star-banner__stars {
  display: block;
  color: #bf9f56;
  letter-spacing: 0.25em;
  font-size: 13px;
  margin-bottom: 4px;
}

.five-star-banner .five-star-banner__link {
  display: inline-block;
  margin-left: 6px;
  color: #bf9f56 !important;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.five-star-banner .five-star-banner__link:hover {
  color: #ffffff !important;
}

.five-star-banner__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.five-star-banner__close:hover {
  opacity: 1;
}

@keyframes five-star-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Su tablet e mobile la barra laterale sparisce e c'e' la barra prenota in basso. */
@media (max-width: 1024px) {
  .five-star-banner {
    left: 12px;
    right: 12px;
    bottom: 84px;
    max-width: none;
    padding: 12px 10px 12px 16px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .five-star-banner {
    animation: none;
  }
}
