/* Gooey search (VEGA 11/18, LIVE header). Inspired by Aceternity UI "Gooey Input"; plain CSS + tiny JS. LIGHT: filter only during open/close. */
.cg-search{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;height:44px}
.cg-goo{position:relative;display:flex;align-items:center;justify-content:flex-end;height:44px}
.cg-search.cg-anim .cg-goo{filter:url(#cg-goo-filter)}
.cg-pill{position:relative;height:44px;width:44px;border-radius:22px;background:#15616d;color:#fff;display:flex;align-items:center;overflow:hidden;
  transition:width .42s cubic-bezier(.34,1.3,.5,1),background-color .25s ease;box-shadow:0 2px 8px rgba(21,97,109,.35)}
.cg-search.cg-open .cg-pill{width:var(--cg-w,320px);background:#fff;box-shadow:0 0 0 2px #2bb0e6,0 4px 14px rgba(21,97,109,.25)}
.cg-btn{flex:none;width:44px;height:44px;border:0;background:none !important;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0 !important;margin:0 !important;min-height:0 !important;min-width:0 !important;line-height:1 !important;box-shadow:none !important;-webkit-tap-highlight-color:transparent}
.cg-btn svg{display:block;margin:0}
.cg-btn svg{width:20px;height:20px}
.cg-search.cg-open .cg-btn{color:#15616d}
.cg-input{flex:1;min-width:0;height:44px;border:0 !important;background:transparent !important;box-shadow:none !important;margin:0 !important;padding:0 14px 0 0 !important;text-indent:0;max-width:none;
  font-size:16px !important;color:#0b3340;outline:none;opacity:0;transition:opacity .2s ease .12s}
.cg-search.cg-open .cg-input{opacity:1}
.cg-input::-webkit-search-cancel-button{display:none}
.cg-blob{position:absolute;right:0;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;background:#2bb0e6;transform:scale(0);opacity:0;
  transition:transform .42s cubic-bezier(.34,1.4,.5,1),right .42s cubic-bezier(.34,1.3,.5,1),opacity .3s ease}
.cg-search.cg-anim .cg-blob{opacity:1}
.cg-search.cg-anim.cg-open .cg-blob{transform:scale(.55);right:calc(var(--cg-w,320px) - 30px)}
.cg-search.cg-anim:not(.cg-open) .cg-blob{transform:scale(.4);right:4px}
.cg-filter{position:absolute;width:0;height:0}
@media (max-width:767px){.cg-search{--cg-w:min(92vw,420px)}}
@media (prefers-reduced-motion:reduce){.cg-pill,.cg-blob,.cg-input{transition-duration:1ms}}
/* live header placement (VEGA 11/18): icon sits where Flatsome's search icon was; the pill opens leftward over the nav */
li.cg-header-search{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;list-style:none;margin:0 2px}
li.cg-header-search .cg-search{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1001}
li.cg-header-search .cg-search:not(.cg-open) .cg-pill{width:40px;height:40px;border-radius:20px}
li.cg-header-search .cg-search:not(.cg-open) .cg-btn{width:40px;height:40px}
li.cg-header-search.cg-mobile .cg-search:not(.cg-open) .cg-pill{width:36px;height:36px;border-radius:18px;background:transparent;color:#15616d;box-shadow:none}
li.cg-header-search.cg-mobile .cg-search:not(.cg-open) .cg-btn{width:36px;height:36px}
li.cg-header-search.cg-mobile{width:40px;height:40px}
