/* CARESSIA_FLOATING_RFQ_20260524 */

.caressia-floating-rfq {
  position: fixed !important;
  right: 18px !important;
  top: 58% !important;
  z-index: 99990 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  min-width: 78px !important;
  min-height: 78px !important;
  padding: 12px 10px !important;
  border: 1px solid rgba(255, 248, 239, 0.28) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #6a3b45 0%, #3a252a 100%) !important;
  box-shadow: 0 18px 36px rgba(54, 34, 39, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
  color: #fff8ef !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transform: translateY(-50%) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
  animation: caressiaFloatingRfqIn 620ms cubic-bezier(.2, .78, .22, 1) both, caressiaFloatingRfqPulse 3.2s ease-in-out 900ms infinite !important;
}

.caressia-floating-rfq::before {
  content: "";
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  background: #fff8ef;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 8.1 5.4a1.7 1.7 0 0 0 1.8 0L21 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 8.1 5.4a1.7 1.7 0 0 0 1.8 0L21 7'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: caressiaFloatingMailTwinkle 3.2s ease-in-out 900ms infinite;
}

.caressia-floating-rfq::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 2px solid rgba(255, 248, 239, 0.36);
  border-radius: 25px;
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(255, 248, 239, 0.18);
  transform: scale(0.9);
  pointer-events: none;
  animation: caressiaFloatingRfqHalo 3.2s ease-in-out 900ms infinite;
}

.caressia-floating-rfq:hover,
.caressia-floating-rfq:focus-visible {
  color: #fff8ef !important;
  text-decoration: none !important;
  transform: translateY(-50%) translateX(-4px) !important;
  box-shadow: 0 22px 44px rgba(54, 34, 39, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  outline: none !important;
}

.caressia-floating-rfq span {
  color: inherit !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font: inherit !important;
  line-height: 1 !important;
}

@keyframes caressiaFloatingRfqIn {
  from {
    opacity: 0.01;
    transform: translateY(-50%) translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes caressiaFloatingRfqPulse {
  0%, 100% {
    box-shadow: 0 18px 36px rgba(54, 34, 39, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  }
  45% {
    box-shadow: 0 20px 40px rgba(54, 34, 39, 0.3), 0 0 0 8px rgba(255, 248, 239, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
  58% {
    box-shadow: 0 24px 48px rgba(54, 34, 39, 0.36), 0 0 0 12px rgba(255, 248, 239, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes caressiaFloatingMailTwinkle {
  0%, 52%, 100% {
    opacity: 0.9;
    filter: drop-shadow(0 0 0 rgba(255, 248, 239, 0));
    transform: scale(1);
  }
  60% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 248, 239, 0.92));
    transform: scale(1.12);
  }
  68% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 248, 239, 0.56));
    transform: scale(1.03);
  }
}

@keyframes caressiaFloatingRfqHalo {
  0%, 48%, 100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(255, 248, 239, 0);
    transform: scale(0.9);
  }
  58% {
    opacity: 0.72;
    box-shadow: 0 0 0 5px rgba(255, 248, 239, 0.1);
    transform: scale(1.04);
  }
  78% {
    opacity: 0;
    box-shadow: 0 0 0 15px rgba(255, 248, 239, 0);
    transform: scale(1.22);
  }
}

@media (max-width: 782px) {
  .caressia-floating-rfq {
    right: 16px !important;
    top: auto !important;
    bottom: 18px !important;
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    padding: 10px 8px !important;
    border-radius: 16px !important;
    font-size: 10px !important;
    transform: none !important;
  }

  .caressia-floating-rfq::before {
    width: 24px;
    height: 24px;
  }

  .caressia-floating-rfq:hover,
  .caressia-floating-rfq:focus-visible {
    transform: translateY(-3px) !important;
  }

  @keyframes caressiaFloatingRfqIn {
    from {
      opacity: 0.01;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 420px) {
  .caressia-floating-rfq {
    right: 12px !important;
    bottom: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caressia-floating-rfq,
  .caressia-floating-rfq::before,
  .caressia-floating-rfq::after {
    animation: none !important;
    transition: none !important;
  }
}
