/* WhatsApp button (site/local/whatsapp.js). */
.gt-wa { --wa: #25D366; --wa-dark: #128C4A; --teal-dark: #083B3D;
  position: fixed; right: 20px; bottom: 20px; z-index: 990; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-family: inherit; font-size: 14px; line-height: 1.45; color: #1C2B2B; }
.gt-wa * { box-sizing: border-box; }
.gt-wa [hidden] { display: none !important; }
/* the theme sizes and fills every svg: keep these as drawn */
.gt-wa svg.gt-wa__ic { width: 22px !important; height: 22px !important; flex: none; fill: currentColor !important; }
.gt-wa .gt-wa__teaser-x svg { fill: none !important; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; width: 18px !important; height: 18px !important; }

/* floating button */
.gt-wa .gt-wa__fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border: 0; border-radius: 999px;
  background: var(--wa); color: #fff !important; text-decoration: none !important; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(18, 140, 74, .65), 0 0 0 3px rgba(212, 166, 74, .55); transition: transform .2s, background .2s; position: relative; }
.gt-wa .gt-wa__fab:hover { background: var(--wa-dark); transform: translateY(-2px); }
.gt-wa .gt-wa__fab:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.gt-wa__fab svg.gt-wa__ic { width: 28px !important; height: 28px !important; }
.gt-wa__fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: gt-wa-pulse 2.4s infinite; pointer-events: none; }
@keyframes gt-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .gt-wa__fab::after { animation: none; } }

/* invitation bubble */
.gt-wa__teaser { display: flex; align-items: flex-start; gap: 4px; max-width: 260px; padding: 12px 10px 12px 16px; border-radius: 16px 16px 4px 16px;
  background: #fff; box-shadow: 0 14px 30px -12px rgba(6, 46, 48, .45); border: 1px solid #EEE4CF; animation: gt-wa-in .35s ease; }
@keyframes gt-wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gt-wa .gt-wa__teaser-text { color: #33504F !important; text-decoration: none !important; }
.gt-wa__teaser-text b { display: block; color: var(--teal-dark); }
.gt-wa__teaser-x { border: 0; background: none; padding: 2px; color: #8A9796; cursor: pointer; }

/* phones: icon-only button, clear of the product page's bottom bar */
@media (max-width: 749px) {
  .gt-wa { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  body.has-local-buybar .gt-wa { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .gt-wa .gt-wa__fab { width: 56px; padding: 0; justify-content: center; }
  .gt-wa__fab span { display: none; }
}

/* stay on top of the review tab, but out of the way while a drawer, popup or menu is open */
.gt-wa { z-index: 2147483000; }
body:is(.cart-sidebar-show, .add-to-cart-show, .quickshop-popup-show, .quick-view-show, .quick-shop-show, .notify-me-show,
  .ask-an-expert-show, .compare-product-show, .edit-cart-show, .open-mobile-sidebar, .menu_open, .open_search_mobile,
  .open_search_menu, .modal-share-open, .fancybox-active) .gt-wa { display: none; }
