/* Flostyle custom messenger widget */
.fs-contact-widget,
.fs-contact-widget * { box-sizing: border-box; }

.fs-contact-widget {
  --fs-black: #121212;
  --fs-ink: #171717;
  --fs-muted: #77706e;
  --fs-soft: #f7f3f0;
  --fs-blush: #eadbd4;
  --fs-rose: #d8b7ac;
  --fs-line: rgba(18,18,18,.10);
  --fs-shadow: 0 24px 70px rgba(0,0,0,.20);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147482600;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  color: var(--fs-ink);
}

.fs-contact-toggle {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #171717;
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  position: relative;
}
.fs-contact-toggle:hover { transform: translateY(-3px); box-shadow: 0 24px 58px rgba(0,0,0,.34); }
.fs-contact-widget.is-open .fs-contact-toggle { transform: scale(.94); background: #fff; color: #171717; }
.fs-contact-toggle svg { width: 31px; height: 31px; }
.fs-contact-pulse { position:absolute; inset:-8px; border-radius:28px; border:1px solid rgba(18,18,18,.24); animation: fsPulse 2.3s ease-out infinite; pointer-events:none; }
@keyframes fsPulse { 0% { transform:scale(.82); opacity:.72; } 75%,100% { transform:scale(1.22); opacity:0; } }

.fs-contact-panel {
  position: absolute;
  right: 0;
  bottom: 84px;
  width: 354px;
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--fs-line);
  box-shadow: var(--fs-shadow);
  overflow: hidden;
  transform: translateY(14px) scale(.96);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.fs-contact-widget.is-open .fs-contact-panel { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.fs-contact-head {
  padding: 22px 22px 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(234,219,212,.75), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #fbf8f6 100%);
  border-bottom: 1px solid var(--fs-line);
}
.fs-contact-top { display:flex; align-items:center; gap:14px; }
.fs-contact-photo {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center 38%;
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  background: #fff;
}
.fs-contact-status { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border-radius:999px; background:#f0e5df; color:#5e4a43; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.fs-contact-status:before { content:""; width:8px; height:8px; border-radius:50%; background:#6aa84f; box-shadow:0 0 0 4px rgba(106,168,79,.14); }
.fs-contact-title { margin: 9px 0 0; font-size: 22px; line-height:1.16; font-weight:600; letter-spacing:.01em; color:var(--fs-ink); }
.fs-contact-subtitle { margin: 14px 0 0; color:var(--fs-muted); font-size:14px; line-height:1.48; }
.fs-contact-actions { padding: 16px 14px 16px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.fs-contact-link { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:9px; min-height:106px; padding:13px 9px; border-radius:20px; background:#fff; border:1px solid var(--fs-line); text-decoration:none !important; color:var(--fs-ink) !important; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.fs-contact-link:hover { transform:translateY(-2px); border-color:rgba(18,18,18,.22); background:#fffdfc; box-shadow:0 10px 24px rgba(0,0,0,.08); }
.fs-contact-icon { flex:0 0 42px; width:42px; height:42px; border-radius:15px; display:grid; place-items:center; color:#fff; overflow:hidden; }
.fs-contact-icon svg { width:23px; height:23px; display:block; }
.fs-contact-icon img { width:28px; height:28px; object-fit:contain; display:block; }
.fs-contact-max-logo { color:#fff; font-size:11px; line-height:1; font-weight:800; letter-spacing:-.05em; }
.fs-contact-wa .fs-contact-icon { background:#25D366; }
.fs-contact-tg .fs-contact-icon { background:#229ED9; }
.fs-contact-max .fs-contact-icon { background:linear-gradient(135deg,#630eff 0%,#3a89fb 58%,#43d6ff 100%); }
.fs-contact-phone .fs-contact-icon { background:linear-gradient(135deg,#1d1d1d,#4a403c); }
.fs-contact-text strong { display:block; font-size:14px; font-weight:600; }
.fs-contact-foot { padding:8px 20px 18px; font-size:12px; color:#928883; text-align:center; }

@media (max-width: 767px) {
  .fs-contact-widget { right:18px; bottom:calc(18px + env(safe-area-inset-bottom, 0px)); }
  .fs-contact-toggle { width:62px; height:62px; border-radius:21px; }
  .fs-contact-panel { position:fixed; left:12px; right:12px; bottom:calc(92px + env(safe-area-inset-bottom, 0px)); width:auto; border-radius:26px; }
  .fs-contact-head { padding:20px 20px 16px; }
  .fs-contact-photo { width:62px; height:62px; flex-basis:62px; border-radius:20px; }
  .fs-contact-title { font-size:20px; }
  .fs-contact-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:15px 12px 16px; }
  .fs-contact-link { min-height:94px; padding:12px 8px; border-radius:19px; }
  .fs-contact-text strong { font-size:13px; }
}
@media (prefers-reduced-motion: reduce) { .fs-contact-widget *, .fs-contact-pulse { animation:none !important; transition:none !important; } }


.fs-contact-nudge {
  position: absolute;
  right: 78px;
  bottom: 10px;
  width: 238px;
  padding: 13px 15px;
  border-radius: 18px 18px 6px 18px;
  background: #fff;
  color: var(--fs-ink);
  border: 1px solid var(--fs-line);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.fs-contact-nudge:after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid var(--fs-line);
  border-bottom: 1px solid var(--fs-line);
  transform: rotate(-45deg);
}
.fs-contact-nudge.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fs-contact-nudge strong { display:block; margin-bottom:2px; font-weight:700; }
.fs-contact-nudge button { position:absolute; top:6px; right:7px; width:22px; height:22px; border:0; background:transparent; color:#9b918d; cursor:pointer; font-size:18px; line-height:1; }
.fs-contact-nudge-text { padding-right: 16px; }

@media (max-width: 767px) {
  .fs-contact-nudge { right: 72px; bottom: 8px; width: min(232px, calc(100vw - 108px)); padding: 12px 14px; font-size: 12.5px; }
}

.fs-contact-max .fs-contact-icon img { width: 32px; height: 32px; object-fit: contain; display: block; filter: none; }
