

.product-quote-fab {
  position: fixed;
  right: clamp(0.85rem, 2.5vw, 1.5rem);
  bottom: clamp(0.85rem, 2.5vw, 1.5rem);
  z-index: 88;
  width: min(22.5rem, calc(100vw - 1.75rem));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 14px, 0) scale(0.97);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s;
}

.product-quote-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.product-quote-fab.is-dismissed {
  display: none;
}

.product-quote-fab__shell {
  position: relative;
  padding: 0 0.3rem 0.3rem 0;
}

.product-quote-fab__shell::before,
.product-quote-fab__shell::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background: #081c2e;
  box-shadow: 0 0 12px rgba(8, 28, 46, 0.22);
}

.product-quote-fab__shell::before {
  right: 0;
  bottom: 0;
  width: clamp(2.25rem, 6vw, 3.25rem);
  height: 1px;
}

.product-quote-fab__shell::after {
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
}

.product-quote-fab__corner {
  position: absolute;
  right: clamp(2.25rem, 6vw, 3.25rem);
  bottom: 0;
  width: 1px;
  height: 0.85rem;
  pointer-events: none;
  background: linear-gradient(0deg, #081c2e, transparent);
  transform-origin: bottom right;
  transform: rotate(-38deg);
  box-shadow: 0 0 10px rgba(8, 28, 46, 0.18);
}

.product-quote-fab__panel {
  position: relative;
  padding: 1rem 1.05rem 1rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 249, 252, 0.97) 100%);
  border: 1px solid rgba(8, 28, 46, 0.1);
  box-shadow:
    0 18px 42px rgba(8, 28, 46, 0.14),
    0 2px 8px rgba(8, 28, 46, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  clip-path: var(--clip-card-shape-fold);
  -webkit-clip-path: var(--clip-card-shape-fold);
}

.product-quote-fab__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(8, 28, 46, 0.45);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.product-quote-fab__close:hover {
  color: #081c2e;
  transform: scale(1.06);
}

.product-quote-fab__close:focus-visible {
  outline: 2px solid var(--brand-light, #1a5278);
  outline-offset: 2px;
}

.product-quote-fab__close i {
  font-size: 0.95rem;
}

.product-quote-fab__title {
  margin: 0 0 0.75rem;
  padding-right: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.4vw, 1.125rem);
  font-weight: var(--display-weight-soft, 400);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #081c2e;
}

.product-quote-fab__form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-quote-fab__field {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-quote-fab__field:hover,
.product-quote-fab__field:focus-within {
  border-color: rgba(8, 28, 46, 0.28);
  box-shadow: 0 8px 18px rgba(8, 28, 46, 0.06);
}

.product-quote-fab__field label {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.28rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-quote-fab__field label span {
  color: var(--brand-light);
}

.product-quote-fab__field input,
.product-quote-fab__field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 600 1.125rem/1.35 var(--font);
  padding: 0;
}

.product-quote-fab__field textarea {
  resize: vertical;
  min-height: 3.25rem;
}

.product-quote-fab__submit.btn {
  width: 100%;
  min-height: 2.55rem;
  margin-top: 0.2rem;
  font-size: 1.125rem;
}

.product-quote-fab .btn-wrap {
  width: 100%;
  --btn-glow: #081c2e;
  --btn-glow-soft: rgba(8, 28, 46, 0.28);
  --btn-shell-border: rgba(8, 28, 46, 0.38);
}

.product-quote-fab__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.35rem 0.25rem 0.15rem;
}

.product-quote-fab__success.is-visible {
  display: flex;
}

.product-quote-fab__success i {
  font-size: 1.75rem;
  color: var(--brand-light);
}

.product-quote-fab__success strong {
  font-size: 1.125rem;
  color: var(--text);
}

.product-quote-fab__success p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
}

.product-quote-fab.is-submitted .product-quote-fab__form {
  display: none;
}

@media (max-width: 640px) {
  .product-quote-fab {
    width: min(20.5rem, calc(100vw - 1.25rem));
  }

  .product-quote-fab__panel {
    padding: 0.9rem 0.95rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-quote-fab {
    transition: none;
    transform: none;
  }

  .product-quote-fab__close {
    transition: none;
  }
}

html.is-low-power .product-quote-fab {
  transition-duration: 0.2s;
}
