/* Echo-line header pieces: [alm_search] and [alm_quote_button]. Loaded on every page. */
.elp-search{position:relative;display:flex;gap:6px;margin-bottom:20px}
.elp-search input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid #C8C8C8;border-radius:4px;font:inherit}
.elp-search button{height:44px;padding:0 16px;background:#222;color:#fff;border:0;border-radius:4px;font-weight:700;cursor:pointer}
.elp-search--header{margin:0;width:100%}
.elp-search--header input{height:40px;border-radius:999px;padding:0 16px 0 42px;background:#fff;border:1px solid #d9d9d9}
.elp-search--header button{position:absolute;left:4px;top:4px;width:32px;height:32px;padding:0;border-radius:50%;background:transparent;color:#222;display:flex;align-items:center;justify-content:center}
.elp-search--header button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.elp-search input:focus-visible,.elp-search button:focus-visible{outline:2px solid #e11a79;outline-offset:1px}
.elp-suggest{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:9999;background:#fff;border:1px solid #C8C8C8;border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,.12);text-align:left}
.elp-suggest a{display:block;padding:8px 12px;color:#222;text-decoration:none;border-bottom:1px solid #eee;font-size:14px}
.elp-suggest a:hover,.elp-suggest a:focus{background:#F5F5F5}
.elp-suggest small{display:block;color:#777}
.elp-quote-btn{position:relative;display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none;font-weight:700;text-transform:uppercase;font-size:14px}
.elp-quote-btn:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.elp-quote-count{position:absolute;top:-8px;left:12px;background:#000;color:#fff;border-radius:999px;font-size:11px;min-width:18px;height:18px;line-height:18px;text-align:center;padding:0 4px}
@media(max-width:480px){.elp-quote-label{display:none}}

/* 0.6.1: beat theme/Beaver Builder input styles in the header */
form.elp-search.elp-search--header{display:flex;align-items:center}
form.elp-search.elp-search--header input[type=search]{height:40px!important;line-height:40px!important;border-radius:999px!important;padding:0 16px 0 44px!important;margin:0!important;background:#fff!important;border:1px solid #d9d9d9!important;box-shadow:none!important;width:100%!important;font-size:14px}
form.elp-search.elp-search--header button[type=submit]{position:absolute!important;left:6px!important;top:50%!important;transform:translateY(-50%);width:30px!important;height:30px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#222!important;box-shadow:none!important}
form.elp-search.elp-search--header button[type=submit]:hover{color:#e11a79!important}
/* Quote button: centred, one line; colour set by shortcode (default inherits) */
.elp-quote-btn{justify-content:center;white-space:nowrap;line-height:1}
.elp-quote-btn svg{flex:none}
.elp-quote-count{top:-10px;left:14px}

/* 0.9.4: phones (Heidi's phone check 9 Nov) */
form.elp-search.elp-search--header input[type=search]{box-sizing:border-box!important}
.elp-m-quote{display:none}
.elp-side-toggle{display:none}
@media (max-width:768px){
  /* search shrinks to a round icon; tapping it opens a wide search box over the header */
  form.elp-search.elp-search--header{width:40px;height:40px;flex:none}
  form.elp-search.elp-search--header input[type=search]{width:40px!important;padding:0!important;color:transparent!important;cursor:pointer}
  form.elp-search.elp-search--header input[type=search]::placeholder{color:transparent}
  form.elp-search.elp-search--header:focus-within{position:absolute;right:0;top:50%;transform:translateY(-50%);width:min(88vw,360px);z-index:1000}
  form.elp-search.elp-search--header:focus-within input[type=search]{width:100%!important;padding:0 16px 0 44px!important;color:#222!important;cursor:text;box-shadow:0 4px 14px rgba(0,0,0,.15)!important}
  form.elp-search.elp-search--header:focus-within input[type=search]::placeholder{color:#777}
  .elp-hwrap{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:12px}
  .elp-m-quote{display:inline-flex;color:#222!important}
  .elp-m-quote .elp-quote-label{display:none}
  /* product list: filters folded away behind one button */
  .elp-side-toggle{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;height:44px;margin:0 0 12px;border:1px solid #C8C8C8;border-radius:4px;background:#fff;color:#222;font:inherit;font-weight:700;cursor:pointer}
  .elp-side-toggle:focus-visible{outline:2px solid #e11a79;outline-offset:2px}
  .elp-side.is-folded > :not(.elp-side-toggle){display:none!important}
}
