/* Este Bristol mobile CTA enhancements — additive presentation only.
   Existing site.js, embedded tracking, WhatConverts, PHP and forms are untouched. */
.este-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 8px 15px 8px 8px;
  border: 1px solid rgba(16, 126, 72, .13);
  border-radius: 999px;
  background: #fff;
  color: #22211f;
  text-decoration: none;
  box-shadow: 0 9px 35px rgba(23, 41, 30, .19);
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.este-whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(23, 41, 30, .25); }
.este-whatsapp-float:focus-visible { outline: 3px solid #147d4a; outline-offset: 3px; }
.este-whatsapp-float__icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #20c56b;
  color: #fff;
}
.este-whatsapp-float__text { display: flex; flex-direction: column; line-height: 1.22; white-space: nowrap; }
.este-whatsapp-float__text strong { font-size: .9rem; color: #242322; font-weight: 800; }
.este-whatsapp-float__text small { font-size: .73rem; color: #67615d; margin-top: 3px; }
.este-mobile-bar { display: none; }
@media (max-width: 760px) {
  body.este-mobile-cta-enabled { padding-bottom: calc(77px + env(safe-area-inset-bottom, 0px)); }
  .este-mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 960;
    border-top: 1px solid rgba(46,38,32,.13);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -8px 28px rgba(28,24,20,.13);
    padding: 10px 14px calc(11px + env(safe-area-inset-bottom, 0px));
  }
  .este-mobile-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin-inline: auto;
  }
  .este-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 55px;
    min-width: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
  }
  .este-mobile-cta--call { border: 1px solid #c9c0b5; background: #fff; color: #262321; }
  .este-mobile-cta--book { border: 1px solid #df9f12; background: #e9ad22; color: #211b13; }
  .este-mobile-cta--call:hover,.este-mobile-cta--call:active { background: #f4f1ec; }
  .este-mobile-cta--book:hover,.este-mobile-cta--book:active { background: #f1bf43; }
  .este-mobile-cta:focus-visible,.este-mobile-book-choice summary:focus-visible { outline: 3px solid #7a4b00; outline-offset: 2px; }
  .este-mobile-book-choice { position: relative; min-width: 0; width: 100%; }
  .este-mobile-book-choice summary { list-style: none; width: 100%; }
  .este-mobile-book-choice summary::-webkit-details-marker { display: none; }
  .este-mobile-book-menu {
    position: absolute;
    bottom: calc(100% + 17px);
    right: 0;
    width: min(84vw, 295px);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5dfd6;
    box-shadow: 0 15px 45px rgba(32,26,22,.23);
    padding: 12px;
    color: #292420;
  }
  .este-mobile-book-menu p { font-size: .76rem; font-weight: 800; color: #7b6c59; letter-spacing: .025em; margin: 3px 5px 8px; }
  .este-mobile-book-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    min-height: 51px;
    border-radius: 8px;
    padding: 10px;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
    color: #2a2623;
  }
  .este-mobile-book-menu a + a { border-top: 1px solid #eeeae5; }
  .este-mobile-book-menu a:hover,.este-mobile-book-menu a:focus-visible { background: #fbf3e2; outline-color: #dca11a; }
  .este-mobile-book-choice:not([open]) .este-mobile-book-menu { display: none; }
  body.este-mobile-cta-enabled .este-whatsapp-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .este-whatsapp-float {
    right: 12px;
    gap: 9px;
    min-height: 54px;
    padding: 6px 12px 6px 6px;
  }
  .este-whatsapp-float__icon { flex-basis: 42px; width: 42px; height: 42px; }
  .este-whatsapp-float__text strong { font-size: .81rem; }
  .este-whatsapp-float__text small { font-size: .67rem; }
}
@media(max-width:350px) {
  .este-mobile-bar { padding-inline: 10px; }
  .este-mobile-bar__inner { gap: 8px; }
  .este-mobile-cta { height: 52px; }
}
@media(prefers-reduced-motion:reduce) { .este-whatsapp-float { transition: none; } }
