/* Arigato Life — contact actions (Right-side floating WhatsApp & Call icons on ALL viewports) */
.ar-contact-float,
.ar-contact-mobile {
  font-family: "DM Sans", sans-serif;
}

/* Always hide legacy mobile bottom bar — show right-side floating icons only */
.ar-contact-mobile,
.sticky-wa {
  display: none !important;
}

.ar-contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 17px;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  box-shadow: 0 9px 24px rgba(4, 27, 43, .22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ar-contact-action:focus-visible {
  outline: 3px solid #f4c756;
  outline-offset: 3px;
}

.ar-contact-icon {
  width: 23px;
  height: 23px;
  flex: none;
}

.ar-contact-whatsapp {
  background: #16894c;
}
.ar-contact-whatsapp:hover {
  background: #0e713d;
}

.ar-contact-call {
  background: #0a304b;
}
.ar-contact-call:hover {
  background: #164969;
}

/* Floating icons pinned to the right side on ALL screen sizes */
.ar-contact-float {
  position: fixed !important;
  right: 20px;
  bottom: 118px;
  z-index: 260;
  display: flex !important;
  align-items: flex-end;
  flex-direction: column;
  gap: 11px;
}

.ar-contact-float .ar-contact-action {
  min-width: 0;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  gap: 0;
  box-shadow: 0 8px 24px rgba(4, 27, 43, .26);
  transition: width .3s ease, padding .35s cubic-bezier(.25, 1, .5, 1), background-color .2s ease, transform .25s ease, box-shadow .25s ease;
}

.ar-contact-float .ar-contact-action span {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: max-width .35s cubic-bezier(.25, 1, .5, 1), opacity .22s ease, margin .3s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .ar-contact-float .ar-contact-action:hover,
  .ar-contact-float .ar-contact-action:focus-visible {
    width: auto;
    padding: 0 18px 0 13px;
    justify-content: flex-start;
    transform: translateX(-4px);
    box-shadow: 0 14px 32px rgba(4, 27, 43, .35);
  }
  .ar-contact-float .ar-contact-action:hover span,
  .ar-contact-float .ar-contact-action:focus-visible span {
    max-width: 120px;
    opacity: 1;
    margin-left: 9px;
  }
}

@media (max-width: 767px) {
  .ar-contact-float {
    right: 12px !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 10px !important;
  }
  .ar-contact-float .ar-contact-action {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
  }
  .ar-contact-float .ar-contact-action span {
    display: none !important;
  }
  .ar-contact-icon {
    width: 22px;
    height: 22px;
  }
  .v6-rfq-tray {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    left: 12px !important;
    right: 70px !important;
    z-index: 250;
  }
  .v6-rfq-toast {
    bottom: calc(136px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 260;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-contact-action {
    transition: none;
  }
}
