/* WhatsApp enquiry — cart + product only */
.vl-wa-order {
  margin-top: 12px;
}

.vl-wa-order--product {
  margin-top: 14px;
  width: 100%;
}

.vl-wa-order__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  border: 0;
}

.vl-wa-order__btn:hover,
.vl-wa-order__btn:focus {
  background: #1ebe57;
  color: #fff !important;
}

.vl-wa-order__icon {
  flex: 0 0 auto;
}

.vl-wa-order__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #777;
  text-align: center;
}

@media (max-width: 430px) {
  .vl-wa-order__btn {
    min-height: 46px;
    font-size: 14px;
  }
}

/* ----- Classic WhatsApp float widget (bottom-right) ----- */
.vl-wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  pointer-events: none;
  animation: vl-wa-float-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.vl-wa-float__link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: inherit;
}

.vl-wa-float__label {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #1b1b1b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateX(10px);
  animation: vl-wa-label-in 0.45s ease 0.85s forwards;
}

.vl-wa-float__label-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-wa-float__fab-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vl-wa-float__fab {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.48);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vl-wa-float__link:hover .vl-wa-float__fab,
.vl-wa-float__link:focus-visible .vl-wa-float__fab {
  background: #1ebe57;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.58);
}

.vl-wa-float__link:focus-visible {
  outline: none;
}

.vl-wa-float__link:focus-visible .vl-wa-float__fab {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.vl-wa-float__icon {
  display: block;
  margin-top: 1px;
}

.vl-wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  z-index: 1;
  animation: vl-wa-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.vl-wa-float__ring--delay {
  animation-delay: 1.2s;
}

@keyframes vl-wa-float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes vl-wa-label-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes vl-wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  75% {
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-wa-float,
  .vl-wa-float__label,
  .vl-wa-float__ring {
    animation: none !important;
  }
  .vl-wa-float__label {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .vl-wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .vl-wa-float__fab-wrap,
  .vl-wa-float__fab {
    width: 56px;
    height: 56px;
  }
  .vl-wa-float__icon {
    width: 30px;
    height: 30px;
  }
}

/* Phone — icon only (common WA widget pattern) */
@media (max-width: 575px) {
  .vl-wa-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .vl-wa-float__label {
    display: none;
  }
  .vl-wa-float__fab-wrap,
  .vl-wa-float__fab {
    width: 54px;
    height: 54px;
  }
  .vl-wa-float__icon {
    width: 28px;
    height: 28px;
  }
}
