.ew-search {
  --gs-accent: #785a3e;
  --gs-ink: #242424;
  --gs-muted: #74706b;
  --gs-line: #e8e5e0;
  --gs-soft: #f7f6f3;
  position: relative;
  width: 100%;
  min-width: 0;
  color: var(--gs-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  isolation: isolate;
  z-index: 30;
  -webkit-tap-highlight-color: transparent;
}
.ew-search *, .ew-search *::before, .ew-search *::after { box-sizing: border-box; }
.ew-search [hidden] { display: none !important; }
.ew-search .gs-form {
  --gs-default-height: 58px;
  --gs-current-height: var(--gs-field-height, var(--gs-default-height));
  --gs-vertical-pad-limit: max(0px, calc((var(--gs-current-height) - 24px) / 2));
  display: flex; align-items: center; gap: 12px;
  height: var(--gs-current-height); min-height: 0; margin: 0;
  padding: min(var(--gs-pad-top, 0px), var(--gs-vertical-pad-limit)) var(--gs-pad-right, 8px) min(var(--gs-pad-bottom, 0px), var(--gs-vertical-pad-limit)) var(--gs-pad-left, var(--gs-default-pad-left, 18px));
  background: var(--gs-soft); border: 1px solid transparent;
  border-radius: 8px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.ew-search .gs-form:focus-within { background: #fff; border-color: var(--gs-accent); box-shadow: 0 0 0 3px rgb(120 90 62 / 8%); }
.ew-search .gs-search-icon { display: block; width: auto; height: min(var(--gs-search-icon-size, 23px), 100%); max-height: 100%; aspect-ratio: 1; flex: none; color: var(--gs-ink); }
.ew-search .gs-form input.gs-input {
  width: 100%; min-width: 0; height: 100%; min-height: 0; max-height: 100%; flex: 1 1 auto;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  outline: none; box-shadow: none; background: transparent;
  color: var(--gs-ink); font: inherit; font-size: 16px; line-height: normal;
  text-overflow: ellipsis; -webkit-appearance: none; appearance: none;
}
.ew-search .gs-input::placeholder { color: #77746f; opacity: 1; }
.ew-search .gs-input::-webkit-search-cancel-button, .ew-search .gs-input::-webkit-search-decoration { display: none; }
.ew-search .gs-form button.gs-clear, .ew-search .gs-form button.gs-submit {
  display: grid; place-items: center; flex: none;
  width: auto; height: min(var(--gs-button-size, 40px), 100%); min-width: 0; min-height: 0; max-height: 100%; aspect-ratio: 1; margin: 0; padding: 0; border: 0;
  border-radius: 5px; font: inherit; color: var(--gs-muted); background: transparent;
  cursor: pointer; box-shadow: none;
}
.ew-search .gs-form button.gs-submit { color: #fff; background: var(--gs-ink); }
.ew-search .gs-form button.gs-submit:hover { background: var(--gs-accent); }
.ew-search .gs-form button.gs-clear:hover { background: var(--gs-soft); color: var(--gs-ink); }
.ew-search .gs-form button svg { width: 20px; height: 20px; max-width: 100%; max-height: 100%; }
.ew-search .gs-form button:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: 3px; }
.ew-search .gs-panel {
  position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 1000;
  overflow: hidden; background: #fff; border: 1px solid var(--gs-line);
  border-radius: 9px; box-shadow: 0 14px 38px rgb(31 25 18 / 10%), 0 2px 6px rgb(31 25 18 / 3%);
}
.ew-search .gs-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 21px 10px; }
.ew-search .gs-heading { color: var(--gs-muted); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.ew-search .gs-close-hint { padding: 1px 5px; border: 1px solid var(--gs-line); border-radius: 3px; color: var(--gs-muted); font-size: 10px; line-height: 1.5; }
.ew-search .gs-scroll { max-height: min(480px, 60vh); max-height: min(480px, 60dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ew-search .gs-list { padding: 0 8px 8px; }
.ew-search .gs-option {
  display: flex; align-items: center; gap: 14px;
  min-height: 51px; margin: 0; padding: 11px 13px;
  border: 0; border-radius: 5px; background: #fff;
  color: var(--gs-ink); font: inherit; font-size: 15px; line-height: 1.45;
  text-align: left; text-decoration: none !important; cursor: pointer;
  transition: background .12s;
}
.ew-search .gs-option:hover, .ew-search .gs-option[aria-selected="true"] { background: var(--gs-soft); color: var(--gs-ink); }
.ew-search .gs-option svg { width: 21px; height: 21px; flex: 0 0 21px; color: var(--gs-muted); }
.ew-search .gs-option .gs-arrow { width: 17px; height: 17px; flex-basis: 17px; margin-left: auto; color: #aaa49b; }
.ew-search .gs-option:hover .gs-arrow, .ew-search .gs-option[aria-selected="true"] .gs-arrow { color: var(--gs-accent); }
.ew-search .gs-title { display: block; min-width: 0; overflow-wrap: anywhere; }
.ew-search .gs-option mark { padding: 0; color: inherit; background: transparent; font-weight: 650; }
.ew-search .gs-product { min-height: 77px; padding-top: 9px; padding-bottom: 9px; }
.ew-search .gs-cover { display: grid; place-items: center; flex: 0 0 41px; width: 41px; height: 55px; overflow: hidden; border-radius: 2px; background: var(--gs-soft); }
.ew-search .gs-cover img { display: block; width: 100%; height: 100%; max-width: 100%; border: 0; object-fit: contain; }
.ew-search .gs-copy { flex: 1 1 auto; min-width: 0; }
.ew-search .gs-kind { display: block; margin-top: 3px; color: var(--gs-muted); font-size: 11px; }
.ew-search .gs-group-label { margin: 9px 13px 5px; color: var(--gs-muted); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.ew-search .gs-group + .gs-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gs-line); }
.ew-search .gs-all { margin-top: 8px; border-top: 1px solid var(--gs-line); border-radius: 0; color: var(--gs-accent); font-size: 13px; font-weight: 600; }
.ew-search .gs-message { margin: 0; padding: 22px 13px 25px; color: var(--gs-muted); font-size: 14px; line-height: 1.65; }
.ew-search .gs-message strong { display: block; margin-bottom: 4px; color: var(--gs-ink); font-size: 15px; font-weight: 500; }
.ew-search .gs-notice { margin: 0; padding: 8px 13px; color: var(--gs-muted); font-size: 12px; }
.ew-search .gs-loading { display: flex; align-items: center; gap: 12px; }
.ew-search .gs-v2-spinner { width: 17px; height: 17px; border: 2px solid var(--gs-line); border-top-color: var(--gs-accent); border-radius: 50%; animation: gs-v2-spin .8s linear infinite; }
.ew-search .gs-footer { padding: 12px 21px; border-top: 1px solid var(--gs-line); color: var(--gs-muted); background: #fcfbf9; font-size: 11px; line-height: 1.5; }
.ew-search .gs-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes gs-v2-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .ew-search .gs-form { --gs-default-height: 54px; --gs-default-pad-left: 12px; gap: 8px; }
  .ew-search .gs-panel-heading { padding: 16px 16px 9px; }
  .ew-search .gs-option { gap: 11px; padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .ew-search .gs-group-label { margin-left: 8px; }
  .ew-search .gs-close-hint { display: none; }
  .ew-search .gs-footer { padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ew-search *, .ew-search *::before { animation: none !important; transition: none !important; } }

.ew-search .gs-option { background: transparent; text-align: start; }
.ew-search { text-align: start; }
.ew-search[dir="rtl"] .gs-option .gs-arrow { margin-left: 0; margin-right: auto; transform: rotate(180deg); }
.ew-search[dir="rtl"] .gs-submit svg { transform: rotate(180deg); }
.ew-search .gs-option .gs-title { unicode-bidi: plaintext; }
.ew-search.gs-no-images .gs-cover,
.ew-search.gs-no-book-label .gs-kind,
.ew-search.gs-no-search-icon .gs-search-icon,
.ew-search.gs-no-submit .gs-submit,
.ew-search.gs-no-clear .gs-clear,
.ew-search.gs-no-row-icons .gs-option > svg:not(.gs-arrow),
.ew-search.gs-no-arrows .gs-option .gs-arrow,
.ew-search.gs-no-footer .gs-footer { display: none !important; }

@property --gs-opening-limit { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
/* Compact mode owns the widget width, even if Advanced > Layout specifies 100%. */
:where(.elementor-widget-eliko-search, .elementor-widget-gallia-search):has(.gs-compact) {
  box-sizing: border-box; width: max-content !important; min-width: 0; max-width: 100%;
  flex: 0 1 auto !important;
}
:where(.elementor-widget-eliko-search, .elementor-widget-gallia-search):has(.gs-compact .gs-opener[aria-expanded="true"]) {
  width: min(100%, var(--gs-expanded-width, 340px)) !important;
  max-width: min(100%, var(--gs-expanded-width, 340px), var(--gs-opening-limit, 100%)) !important;
  z-index: 31;
}
:where(.elementor-widget-eliko-search, .elementor-widget-gallia-search):has(.gs-compact.gs-in-row .gs-opener[aria-expanded="true"]) {
  /* Start with zero basis so a 100% request uses the row's free space after the other items and gaps. */
  flex: 1 1 0px !important;
}
/* With scripting disabled, the ordinary GET form is usable immediately. */
.gs-base-open { --gs-trigger-display: none; --gs-idle-field: block; }
.ew-search .gs-opener-wrap { display: none; }
.ew-search.gs-enhanced .gs-opener-wrap { display: var(--gs-trigger-display, flex); }
@media (scripting: enabled) {
  .ew-search:not(.gs-enhanced) .gs-opener-wrap { display: var(--gs-trigger-display, flex); }
  .ew-search:not(.gs-enhanced) .gs-expanded { display: var(--gs-idle-field, none); }
}
.ew-search .gs-opener { cursor: pointer; }
.ew-search.gs-compact .gs-opener-wrap:has(.gs-opener[aria-expanded="true"]) {
  position: absolute; inset-inline-start: 0; visibility: hidden;
}
.ew-search.gs-compact .gs-expanded { position: relative; width: 100%; min-width: 0; }
.ew-search.gs-compact .gs-form { overflow: hidden; }
