/* Write your css codes here  */

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  z-index: 999;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsapp-pulse 2s ease-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5b;
  color: #fff;
  transform: translateY(-3px);
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}
/* ===== Cookie consent card ===== */
.cookies-card {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 380px;
  max-width: calc(100% - 32px);
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.25);
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.cookies-card.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
}
.cookies-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookies-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.12);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookies-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
.cookies-card__content {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5a6478;
}
.cookies-card__content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.cookies-card__content a:hover {
  text-decoration: underline;
}
.cookies-card__btn {
  width: 100%;
  padding: 11px 20px;
  border: 0;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: background 0.3s ease;
}
.cookies-card__btn:hover {
  background: var(--primary-dark);
}

@media (max-width: 575.98px) {
  .cookies-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 20px;
  }
  .whatsapp-float {
    bottom: 84px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}
