/* Super 8 Trends — shared contact styles (WhatsApp + LINE + socials).
   Green icon buttons everyone recognises: WhatsApp #25D366, LINE #06C755. */

/* header icon pair */
.s8-icons, .s8-pair { display: inline-flex; align-items: center; gap: .45rem; }
.s8-pair-inline { margin-inline: .1rem; }

/* legacy in-page WhatsApp buttons are retired, not rebuilt: the floating
   stack is the one contact point. The element stays (its id is still wired
   by the site's app.js) but is taken off the page. */
.s8-legacy-hide { display: none !important; }

.s8-icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 3px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
  color: #fff; text-decoration: none; flex: 0 0 auto;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.s8-icon-btn svg { width: 19px; height: 19px; display: block; }
.s8-icon-btn:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.s8-icon-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.s8-wa { background: #25D366; }
.s8-line { background: #06C755; }

/* floating stack — bottom-right, always one thumb-reach away */
.s8-float {
  position: fixed; right: max(.9rem, env(safe-area-inset-right)); bottom: max(.9rem, env(safe-area-inset-bottom));
  z-index: 70; display: flex; flex-direction: column; gap: .55rem;
  transition: opacity .35s ease, transform .35s ease;
}
/* the page's own booking form is on screen — the stack steps aside */
.s8-float.off { opacity: 0; pointer-events: none; transform: translateY(12px); }
.s8-float .s8-icon-btn { width: 50px; height: 50px; border: 0;
  box-shadow: 0 10px 26px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.s8-float .s8-icon-btn svg { width: 26px; height: 26px; }
.s8-float .s8-icon-btn:hover { transform: translateY(-2px) scale(1.06); }
/* the agent launcher sits below the icons — open the gap above it so its
   notification badge reads as its own, not as the LINE button's */
.s8-float .s8-agent-btn { margin-top: .95rem; }
/* keep the stack clear of the bottom edge on phones; shrink slightly */
@media (max-width: 640px) {
  .s8-float { right: .7rem; bottom: .7rem; }
  .s8-float .s8-icon-btn { width: 46px; height: 46px; }
  .s8-float .s8-icon-btn svg { width: 24px; height: 24px; }
  .s8-float .s8-agent-btn { margin-top: .85rem; }
}

/* footer social row */
.s8-social {
  display: flex; justify-content: center; align-items: center; gap: .8rem;
  flex-wrap: wrap; margin: 1.4rem 0 1.2rem;
}
.s8-soc {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.s8-soc svg { width: 19px; height: 19px; display: block; }
.s8-soc:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.s8-soc:focus-visible { outline: 3px solid #E8C9A0; outline-offset: 2px; }
.s8-soc-fb:hover { background: #1877F2; }
.s8-soc-ig:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.s8-soc-tt:hover { background: #111; }
.s8-soc-wa:hover { background: #25D366; }
.s8-soc-line:hover { background: #06C755; }
.s8-soc-fb, .s8-soc-wa { background: rgba(37, 211, 102, .0); }

/* light footers: dark translucent circles */
.vh-foot .s8-soc, .w-foot .s8-soc, .z-foot .s8-soc, .m-foot .s8-soc,
.s-foot .s8-soc, .site-foot.light .s8-soc {
  background: rgba(10, 14, 18, .85); border-color: rgba(255,255,255,.25);
}

@media (prefers-reduced-motion: reduce) {
  .s8-icon-btn, .s8-soc { transition: none; }
}
