/* Responsive Yash floating navigation: reserve space for WhatsApp/chat widget */
.ydr-floating-navigation {
  --ydr-chat-clearance: 104px;
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(var(--ydr-chat-clearance) + env(safe-area-inset-bottom));
  z-index: 9980;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  pointer-events: none;
}
.ydr-floating-navigation.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.ydr-floating-navigation__button {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(37,99,235,.25); border-radius: 50%;
  color: #fff; background: linear-gradient(145deg,#2563eb,#1d4ed8);
  box-shadow: 0 8px 24px rgba(37,99,235,.28); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.ydr-floating-navigation__button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,99,235,.36); background: linear-gradient(145deg,#3b82f6,#2563eb); }
.ydr-floating-navigation__button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.ydr-floating-navigation__button svg { display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ydr-floating-navigation__button--footer.is-hidden { display:none; }
@media (min-width:601px) and (max-width:1024px) {
  .ydr-floating-navigation { --ydr-chat-clearance:112px; right:max(16px,env(safe-area-inset-right)); gap:9px; }
  .ydr-floating-navigation__button { width:44px; height:44px; }
}
@media (max-width:600px) {
  .ydr-floating-navigation { --ydr-chat-clearance:118px; right:max(12px,env(safe-area-inset-right)); gap:8px; }
  .ydr-floating-navigation__button { width:42px; height:42px; }
  .ydr-floating-navigation__button svg { width:19px; height:19px; }
}
@media (max-height:500px) {
  .ydr-floating-navigation { --ydr-chat-clearance:76px; gap:6px; }
  .ydr-floating-navigation__button { width:38px; height:38px; }
}
@media (prefers-reduced-motion:reduce) { .ydr-floating-navigation,.ydr-floating-navigation__button { transition:none; } }
