.jj-core-mobile-booking{display:none}

@media (max-width:720px){
  .jj-core-mobile-booking{
    position:fixed;
    z-index:880;
    left:8px;
    right:8px;
    bottom:10px;
    display:block;
    pointer-events:none;
  }

  .jj-core-mobile-booking__link{
    pointer-events:auto;
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) 46px;
    align-items:center;
    width:100%;
    min-height:58px;
    padding:6px;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.28);
    border-radius:999px;
    background:
      radial-gradient(circle at 14% 50%, rgba(93,202,218,.18), transparent 26%),
      linear-gradient(135deg,#517772 0%,#466b66 100%);
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:
      0 12px 28px rgba(48,82,77,.28),
      inset 0 0 0 1px rgba(255,255,255,.06);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
  }

  /* slow glossy sweep across the whole bar */
  .jj-core-mobile-booking__link:before{
    content:"";
    position:absolute;
    z-index:0;
    top:-35%;
    bottom:-35%;
    left:-45%;
    width:34%;
    pointer-events:none;
    background:linear-gradient(
      100deg,
      transparent 0%,
      rgba(255,255,255,0) 18%,
      rgba(255,255,255,.18) 50%,
      rgba(255,255,255,0) 82%,
      transparent 100%
    );
    transform:skewX(-18deg);
    animation:jjCoreBookingSweep 5.2s ease-in-out infinite;
  }

  /* tiny moving highlight dot for a bit more life */
  .jj-core-mobile-booking__link:after{
    content:"";
    position:absolute;
    z-index:0;
    width:8px;
    height:8px;
    border-radius:50%;
    left:24px;
    top:10px;
    background:#fff;
    opacity:0;
    box-shadow:0 0 0 0 rgba(255,255,255,.35);
    animation:jjCoreBookingSpark 4.2s ease-in-out infinite;
  }

  .jj-core-mobile-booking__link:hover,
  .jj-core-mobile-booking__link:focus-visible,
  .jj-core-mobile-booking__link:active{
    color:#fff!important;
    transform:translateY(-3px) scale(1.01);
    box-shadow:
      0 18px 34px rgba(48,82,77,.34),
      inset 0 0 0 1px rgba(255,255,255,.08);
  }

  .jj-core-mobile-booking__icon{
    position:relative;
    z-index:2;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1.5px solid rgba(255,255,255,.68);
    border-radius:50%;
    background:rgba(255,255,255,.09);
    color:#fff;
    transform-origin:center;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.04),
      0 0 0 0 rgba(237,118,133,.0);
    animation:jjCoreBookingIconDance 4.2s cubic-bezier(.4,0,.2,1) infinite;
  }

  /* ripple ring around calendar */
  .jj-core-mobile-booking__icon:before,
  .jj-core-mobile-booking__icon:after{
    content:"";
    position:absolute;
    inset:-5px;
    border:1.5px solid rgba(237,118,133,.6);
    border-radius:50%;
    opacity:0;
    transform:scale(.72);
    pointer-events:none;
  }

  .jj-core-mobile-booking__icon:before{
    animation:jjCoreBookingRipple 4.2s ease-out infinite;
  }

  .jj-core-mobile-booking__icon:after{
    animation:jjCoreBookingRipple 4.2s ease-out .32s infinite;
  }

  .jj-core-mobile-booking__icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .2s ease;
  }

  .jj-core-mobile-booking__label{
    position:relative;
    z-index:2;
    display:block;
    padding:0 10px;
    color:#fff!important;
    font-family:"DM Sans",Arial,sans-serif;
    font-size:11px;
    font-weight:900;
    line-height:1;
    letter-spacing:.11em;
    text-align:center;
    text-transform:uppercase;
    white-space:nowrap;
  }

  .jj-core-mobile-booking__spacer{
    position:relative;
    z-index:2;
    width:42px;
    height:42px;
  }

  .jj-core-mobile-booking__link:hover .jj-core-mobile-booking__icon,
  .jj-core-mobile-booking__link:focus-visible .jj-core-mobile-booking__icon,
  .jj-core-mobile-booking__link:active .jj-core-mobile-booking__icon{
    animation:jjCoreBookingIconClick .62s cubic-bezier(.2,.8,.2,1) both;
    border-color:#ed7685;
    background:#ed7685;
    box-shadow:0 7px 16px rgba(237,118,133,.28);
  }

  .jj-core-mobile-booking__link:hover .jj-core-mobile-booking__icon svg,
  .jj-core-mobile-booking__link:focus-visible .jj-core-mobile-booking__icon svg,
  .jj-core-mobile-booking__link:active .jj-core-mobile-booking__icon svg{
    transform:scale(1.08);
  }

  /* Prevent any old campaign-page booking dock from duplicating this global control. */
  #jj-kef .kef-mobile-book{display:none!important}
}

@keyframes jjCoreBookingIconDance{
  0%,62%,100%{
    transform:translateY(0) rotate(0deg) scale(1);
    background:rgba(255,255,255,.09);
  }
  68%{
    transform:translateY(-3px) rotate(-8deg) scale(1.06);
    background:rgba(237,118,133,.20);
  }
  74%{
    transform:translateY(0) rotate(7deg) scale(.99);
  }
  80%{
    transform:translateY(-1px) rotate(-3deg) scale(1.03);
  }
  86%{
    transform:translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes jjCoreBookingRipple{
  0%,63%{
    opacity:0;
    transform:scale(.72);
  }
  67%{
    opacity:.7;
  }
  82%{
    opacity:0;
    transform:scale(1.38);
  }
  100%{
    opacity:0;
    transform:scale(1.38);
  }
}

@keyframes jjCoreBookingSweep{
  0%,52%{
    left:-45%;
    opacity:0;
  }
  58%{
    opacity:.9;
  }
  76%{
    left:115%;
    opacity:.8;
  }
  80%,100%{
    left:115%;
    opacity:0;
  }
}

@keyframes jjCoreBookingSpark{
  0%,64%,100%{
    opacity:0;
    transform:scale(.4);
    box-shadow:0 0 0 0 rgba(255,255,255,.3);
  }
  68%{
    opacity:.9;
    transform:scale(1);
  }
  74%{
    opacity:0;
    transform:scale(1.5);
    box-shadow:0 0 0 7px rgba(255,255,255,0);
  }
}

@keyframes jjCoreBookingIconClick{
  0%{transform:scale(1) rotate(0deg)}
  28%{transform:scale(1.16) rotate(-12deg)}
  52%{transform:scale(.96) rotate(8deg)}
  76%{transform:scale(1.06) rotate(-3deg)}
  100%{transform:scale(1) rotate(0deg)}
}

@media (prefers-reduced-motion:reduce){
  .jj-core-mobile-booking__link:before,
  .jj-core-mobile-booking__link:after,
  .jj-core-mobile-booking__icon,
  .jj-core-mobile-booking__icon:before,
  .jj-core-mobile-booking__icon:after{
    animation:none!important;
  }
}

@media (max-width:380px){
  .jj-core-mobile-booking{left:6px;right:6px;bottom:8px}
  .jj-core-mobile-booking__link{
    min-height:54px;
    grid-template-columns:42px minmax(0,1fr) 42px;
    padding:5px
  }
  .jj-core-mobile-booking__icon,
  .jj-core-mobile-booking__spacer{
    width:38px;
    height:38px
  }
  .jj-core-mobile-booking__label{
    font-size:10px;
    letter-spacing:.10em
  }
}
