/*
 * Header search and cart icons, the search panel, and the live-search suggestions.
 * Loaded on every page (the header is on every page); colours follow the Elementor kit.
 */

.ebh, .ebs-search, .ebh-panel {
  --ebh-panel: var(--e-global-color-inkthree, #11141E);
  --ebh-panel-2: var(--e-global-color-inkfour, #171B27);
  --ebh-ground: var(--e-global-color-ink, #05060A);
  --ebh-text: var(--e-global-color-text, #EAEEF6);
  --ebh-muted: var(--e-global-color-muted, #98A3BA);
  --ebh-muted-2: var(--e-global-color-mutedtwo, #6C778F);
  --ebh-accent: var(--e-global-color-accent, #3CB4FC);
  --ebh-on-accent: var(--e-global-color-oncyan, #04121F);
  --ebh-line: var(--e-global-color-hairline, rgba(255, 255, 255, 0.10));
  --ebh-line-2: var(--e-global-color-hairlinetwo, rgba(255, 255, 255, 0.16));
}

/* ---------- Icons in the header ---------- */

.elementor-widget-shortcode:has(> .elementor-widget-container .ebh),
.elementor-widget-shortcode:has(> .elementor-shortcode .ebh),
.elementor-widget-shortcode:has(.ebh) { width: auto !important; max-width: none !important; flex: 0 0 auto !important; }
.ebh { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.ebh-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--ebh-text); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.ebh-btn:hover, .ebh-btn[aria-expanded="true"] { border-color: var(--ebh-line-2); background: rgba(255, 255, 255, .04); color: var(--ebh-text); }
.ebh-btn:focus-visible { outline: 2px solid var(--ebh-accent); outline-offset: 2px; }
.ebh-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ebh-count {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ebh-accent); color: var(--ebh-on-accent);
  font: 700 11px/18px "Space Grotesk", system-ui, sans-serif; text-align: center;
}
.ebh-count[data-count="0"] { display: none; }

/* ---------- Search panel under the header ---------- */

.ebh-panel {
  position: fixed; left: 0; right: 0; top: 72px; z-index: 9990;
  background: rgba(5, 6, 10, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--ebh-line); border-bottom: 1px solid var(--ebh-line);
  overflow-y: auto;
}
.ebh-panel[hidden] { display: none; }
.ebh-panel-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 20px 64px 24px 24px; }
.ebh-close { position: absolute; top: 22px; right: 16px; width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ebh-muted); cursor: pointer; border-radius: 10px; box-shadow: none; }
.ebh-close:hover, .ebh-close:focus { color: var(--ebh-text); background: rgba(255, 255, 255, .05); }
.ebh-close svg { flex: none; width: 22px; min-width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ebh-btn svg { flex: none; min-width: 21px; }

/* ---------- The search form (header panel and shop pages) ---------- */

.ebs-search { position: relative; margin: 0; }
.ebs-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--ebh-panel); border: 1px solid var(--ebh-line-2); border-radius: 12px;
  padding: 6px 6px 6px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.ebs-field:focus-within { border-color: var(--ebh-accent); box-shadow: 0 0 0 3px rgba(60, 180, 252, .18); }
.ebs-icon { flex: none; width: 19px; height: 19px; fill: none; stroke: var(--ebh-muted-2); stroke-width: 2; stroke-linecap: round; }
.ebs-search .ebs-input,
.ebs-search .ebs-input:focus {
  flex: 1; min-width: 0; height: 42px; padding: 0 !important; margin: 0;
  background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none !important;
  color: var(--ebh-text) !important; font: 400 16px/1.2 "Inter", system-ui, sans-serif;
}
.ebs-search .ebs-input::placeholder { color: var(--ebh-muted-2); }
.ebs-search .ebs-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ebs-search .ebs-submit {
  flex: none; height: 42px; padding: 0 18px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--ebh-accent); color: var(--ebh-on-accent);
  font: 600 15px/1 "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.16px;
}
.ebs-search .ebs-submit:hover { background: var(--e-global-color-cyanlift, #5FC4FF); }
.ebs-search--page { max-width: 720px; margin: 0 0 18px; }

/* ---------- Suggestions ---------- */

.ebs-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  max-height: min(70vh, 560px); overflow-y: auto;
  background: var(--ebh-panel-2); border: 1px solid var(--ebh-line-2); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  padding: 8px;
}
.ebs-results[hidden] { display: none; }
.ebh-panel .ebs-results { position: static; margin-top: 12px; max-height: none; box-shadow: none; }
.ebs-note { margin: 4px 8px 8px; font-size: 13px; color: var(--ebh-muted); }
.ebs-note strong { color: var(--ebh-text); }
.ebs-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 10px; border-bottom: 1px solid var(--ebh-line); margin-bottom: 6px; }
.ebs-cat {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ebh-line-2);
  color: var(--ebh-text); font: 600 13px/1.2 "Space Grotesk", system-ui, sans-serif; text-decoration: none;
}
.ebs-cat:hover, .ebs-cat.is-active { border-color: var(--ebh-accent); color: var(--ebh-text); }
.ebs-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ebh-text); }
.ebs-item:hover, .ebs-item.is-active { background: rgba(255, 255, 255, .05); color: var(--ebh-text); }
.ebs-thumb { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: var(--ebh-ground); }
.ebs-thumb:not([src*="placeholder"]) { background: #fff; padding: 4px; box-sizing: border-box; }
.ebs-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ebs-name { font: 600 14.5px/1.3 "Space Grotesk", system-ui, sans-serif; color: var(--ebh-text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ebs-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12.5px; color: var(--ebh-muted-2); }
.ebs-price { font: 700 15px/1.2 "Space Grotesk", system-ui, sans-serif; color: var(--ebh-text); }
.ebs-was { color: var(--ebh-muted-2); }
.ebs-stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--ebh-muted-2); vertical-align: 1px; }
.ebs-stock.eb-stock-own { color: var(--ebh-text); }
.ebs-stock.eb-stock-own::before { background: #4ADE80; }
.ebs-stock.eb-stock-supplier::before { background: var(--ebh-accent); }
.ebs-all {
  display: block; margin-top: 6px; padding: 12px; border-top: 1px solid var(--ebh-line); border-radius: 0 0 10px 10px;
  text-align: center; color: var(--ebh-accent); font: 600 14px/1.2 "Space Grotesk", system-ui, sans-serif; text-decoration: none;
}
.ebs-all:hover, .ebs-all.is-active { color: var(--ebh-text); background: rgba(255, 255, 255, .04); }
.ebs-empty { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; color: var(--ebh-muted); font-size: 14px; }
.ebs-empty strong { color: var(--ebh-text); font-family: "Space Grotesk", system-ui, sans-serif; }
.ebs-empty a { color: var(--ebh-accent); }
.eb-search-note { margin: -4px 0 16px; color: var(--ebh-muted, #98A3BA); }
.eb-search-note strong { color: var(--e-global-color-text, #EAEEF6); }

/* ---------- Plain pages: legal pages, "page not found", anything not built in Elementor ---------- */

body:not(.elementor-page):not(.woocommerce-page) {
  --ast-global-color-0: var(--e-global-color-accent, #3CB4FC);
  --ast-global-color-1: var(--e-global-color-cyanlift, #5FC4FF);
  --ast-global-color-2: var(--e-global-color-text, #EAEEF6);
  --ast-global-color-3: var(--e-global-color-muted, #98A3BA);
  --ast-global-color-4: var(--e-global-color-ink, #05060A);
  --ast-global-color-5: var(--e-global-color-inkthree, #11141E);
  --ast-global-color-6: var(--e-global-color-inktwo, #0A0C13);
  --ast-global-color-7: var(--e-global-color-inkfour, #171B27);
  --ast-global-color-8: var(--e-global-color-mutedtwo, #6C778F);
  --ast-global-color-primary: var(--e-global-color-inkthree, #11141E);
  --ast-global-color-secondary: var(--e-global-color-ink, #05060A);
  --ast-border-color: var(--e-global-color-hairline, rgba(255, 255, 255, .10));
  background: var(--e-global-color-ink, #05060A);
  color: var(--e-global-color-muted, #98A3BA);
}
body:not(.elementor-page):not(.woocommerce-page) :is(.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post, .ast-separate-container .error-404, .ast-separate-container .comments-area, .ast-separate-container .ast-404-layout-1, .ast-plain-container .site-content article) {
  background: var(--e-global-color-inkthree, #11141E);
  border: 1px solid var(--e-global-color-hairline, rgba(255, 255, 255, .10));
  border-radius: 20px;
}
body:not(.elementor-page):not(.woocommerce-page) :is(h1, h2, h3, h4, .entry-title, .page-title) {
  color: var(--e-global-color-text, #EAEEF6);
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content {
  max-width: 72ch; font-family: "Inter", system-ui, sans-serif; font-size: 16.5px; line-height: 1.7; color: var(--e-global-color-muted, #98A3BA);
}
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content :is(h2, h3) { margin: 2em 0 .6em; }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content h2 { font-size: 26px; }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content h3 { font-size: 20px; }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content :is(strong, b) { color: var(--e-global-color-text, #EAEEF6); }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content a { color: var(--e-global-color-accent, #3CB4FC); }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content :is(ul, ol) { margin-left: 1.3em; }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) .entry-content li { margin-bottom: .35em; }
body:not(.elementor-page):not(.woocommerce-page):not(.ebpc-page) :is(input[type="search"], input[type="text"], input[type="email"], textarea) {
  background: var(--e-global-color-inkfour, #171B27); color: var(--e-global-color-text, #EAEEF6);
  border: 1px solid var(--e-global-color-hairlinetwo, rgba(255, 255, 255, .16)); border-radius: 10px;
}

/* ---------- Search Hub (the header panel's results) ---------- */

/* The page behind stays put while the panel scrolls. */
html.ebh-search-open { overflow: hidden; }
.ebh-panel-inner:has(form[data-hub]) { max-width: 1280px; }
.ebs-hub { margin-top: 16px; color: var(--ebh-muted); font: 400 14px/1.45 "Inter", system-ui, sans-serif; }
.ebs-hub[hidden] { display: none; }
.ebs-hub.is-loading .ebs-hub-main { opacity: .55; transition: opacity .15s .12s; }
.ebs-hub h3 { margin: 0 0 8px; font: 600 11.5px/1.2 "Inter", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ebh-muted-2); }

/* Buttons are restyled from scratch: the theme gives every <button> its own colours. */
.ebs-hub button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; }
.ebs-hub button:focus-visible, .ebs-hub select:focus-visible, .ebs-hub a:focus-visible { outline: 2px solid var(--ebh-accent); outline-offset: 2px; }

.ebs-hub-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ebh-line); }
.ebs-spaces { display: inline-flex; gap: 4px; padding: 4px; background: var(--ebh-panel); border: 1px solid var(--ebh-line); border-radius: 12px; }
.ebs-hub .ebs-space {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 9px;
  background: transparent; color: var(--ebh-muted); font: 600 14px/1 "Space Grotesk", system-ui, sans-serif; cursor: pointer;
}
.ebs-hub .ebs-space:hover, .ebs-hub .ebs-space:focus { background: rgba(255, 255, 255, .05); color: var(--ebh-text); }
.ebs-hub .ebs-space[aria-pressed="true"] { background: var(--ebh-accent); color: var(--ebh-on-accent); }
.ebs-hub .ebs-space:disabled { opacity: .4; cursor: default; background: transparent; color: var(--ebh-muted); }
.ebs-space .n { font: 500 12.5px/1 "Inter", system-ui, sans-serif; opacity: .75; font-variant-numeric: tabular-nums; }
.ebs-space-short { display: none; }
.ebs-hub-tools { display: flex; align-items: center; gap: 8px; }
.ebs-hub .ebs-sort {
  height: 40px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--ebh-line-2);
  background: var(--ebh-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A3BA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  color: var(--ebh-text); font: 500 14px/1 "Inter", system-ui, sans-serif; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.ebs-hub .ebs-sort option { background: var(--ebh-panel); color: var(--ebh-text); }
.ebs-hub .ebs-filter-toggle {
  display: none; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ebh-line-2);
  background: var(--ebh-panel); color: var(--ebh-text); font: 600 14px/1 "Inter", system-ui, sans-serif; cursor: pointer;
}
.ebs-hub .ebs-filter-toggle:hover, .ebs-hub .ebs-filter-toggle:focus { background: var(--ebh-panel-2); color: var(--ebh-text); border-color: var(--ebh-accent); }

.ebs-hub-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.ebs-hub-note strong { color: var(--ebh-text); }
.ebs-hub .ebs-suggest {
  padding: 8px 12px; border-radius: 999px; border: 1px dashed rgba(60, 180, 252, .55); background: rgba(60, 180, 252, .08);
  color: var(--ebh-text); font: 500 13.5px/1.3 "Inter", system-ui, sans-serif; cursor: pointer; text-align: left;
}
.ebs-hub .ebs-suggest:hover, .ebs-hub .ebs-suggest:focus { background: rgba(60, 180, 252, .16); border-style: solid; color: var(--ebh-text); }

.ebs-hub-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; margin-top: 18px; }
.ebs-facets { display: flex; flex-direction: column; gap: 20px; align-self: start; }
.ebs-facet { display: flex; flex-direction: column; gap: 2px; }
.ebs-hub .ebs-opt {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 7px 10px;
  border: 0; border-radius: 8px; background: transparent; color: var(--ebh-muted); font: 500 14px/1.3 "Inter", system-ui, sans-serif; text-align: left; cursor: pointer;
}
.ebs-hub .ebs-opt:hover, .ebs-hub .ebs-opt:focus { background: rgba(255, 255, 255, .05); color: var(--ebh-text); }
.ebs-hub .ebs-opt[aria-pressed="true"] { background: rgba(60, 180, 252, .14); color: var(--ebh-text); box-shadow: inset 3px 0 0 var(--ebh-accent); }
.ebs-opt-count { color: var(--ebh-muted-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
/* Category facet as a tree: each level indented; a closed branch shows a chevron. */
.ebs-hub .ebs-facet-tree .ebs-opt.ebs-depth-0 { color: var(--ebh-text); font-weight: 600; }
.ebs-hub .ebs-facet-tree .ebs-opt.ebs-depth-1 { padding-left: 22px; }
.ebs-hub .ebs-facet-tree .ebs-opt.ebs-depth-2 { padding-left: 34px; font-size: 13.5px; }
.ebs-hub .ebs-facet-tree .ebs-opt.ebs-depth-3 { padding-left: 46px; font-size: 13.5px; }
.ebs-facet-tree .ebs-opt.has-kids .ebs-opt-label::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 8px; border: solid var(--ebh-muted-2); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.ebs-facet-tree .ebs-opt.has-kids.is-open .ebs-opt-label::after { transform: rotate(45deg); margin-bottom: 4px; }
.ebs-hub .ebs-linkbtn { padding: 4px 0; border: 0; background: transparent; color: var(--ebh-accent); font: 500 13.5px/1.3 "Inter", system-ui, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ebs-hub .ebs-linkbtn:hover, .ebs-hub .ebs-linkbtn:focus { background: transparent; color: var(--ebh-text); }
.ebs-clear { align-self: flex-start; }

.ebs-hub-count { margin: 0 0 12px; }
.ebs-hub-count strong { color: var(--ebh-text); font-variant-numeric: tabular-nums; }
.ebs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ebs-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; border: 1px solid var(--ebh-line);
  background: var(--ebh-panel); color: var(--ebh-text); text-decoration: none; transition: border-color .15s, transform .15s;
}
.ebs-card:hover, .ebs-card:focus-visible { border-color: var(--ebh-accent); color: var(--ebh-text); transform: translateY(-2px); outline: none; }
.ebs-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--ebh-ground); }
.ebs-card-img.is-photo { background: #fff; }
.ebs-card-img img { width: 100%; height: 100%; padding: 14px; box-sizing: border-box; object-fit: contain; }
.ebs-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.ebs-card-brand { font: 600 11px/1 "Inter", system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ebh-accent); }
.ebs-card-name { font: 600 14.5px/1.3 "Space Grotesk", system-ui, sans-serif; color: var(--ebh-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ebs-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ebs-chip { padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--ebh-muted); font-size: 11.5px; line-height: 1.2; white-space: nowrap; }
.ebs-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.ebs-card-price strong { font: 700 18px/1.1 "Space Grotesk", system-ui, sans-serif; color: var(--ebh-text); }
.ebs-card-price s { color: var(--ebh-muted-2); font-size: 13px; }
.ebs-card-exvat { color: var(--ebh-muted-2); font-size: 12px; }
.ebs-card .ebs-stock { color: var(--ebh-muted); font-size: 12.5px; line-height: 1.35; }
.ebs-hub .ebs-more {
  display: block; margin: 18px auto 0; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--ebh-line-2);
  background: var(--ebh-panel); color: var(--ebh-text); font: 600 14px/1 "Inter", system-ui, sans-serif; cursor: pointer;
}
.ebs-hub .ebs-more:hover, .ebs-hub .ebs-more:focus { border-color: var(--ebh-accent); background: var(--ebh-panel-2); color: var(--ebh-text); }
.ebs-hub-all { display: inline-block; margin-top: 14px; color: var(--ebh-accent); font-size: 14px; }
.ebs-hub-all:hover { color: var(--ebh-text); }
.ebs-hub .ebs-empty { padding: 18px 0; }

/* Opening view, before anything is typed. */
.ebs-start { display: flex; flex-direction: column; gap: 24px; }
.ebs-start-head { display: flex; align-items: baseline; justify-content: space-between; }
.ebs-recent { display: flex; flex-wrap: wrap; gap: 6px; }
.ebs-hub .ebs-recent .ebs-cat { cursor: pointer; font-family: "Inter", system-ui, sans-serif; }
.ebs-space-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ebs-space-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--ebh-line);
  background: linear-gradient(135deg, rgba(60, 180, 252, .12), rgba(60, 180, 252, 0) 60%), var(--ebh-panel);
  color: var(--ebh-text); text-decoration: none; transition: border-color .15s;
}
.ebs-space-card:hover, .ebs-space-card:focus-visible { border-color: var(--ebh-accent); color: var(--ebh-text); }
.ebs-space-card strong { font: 600 19px/1.2 "Space Grotesk", system-ui, sans-serif; }
.ebs-space-card span { color: var(--ebh-muted); font-size: 14px; }
.ebs-space-card em { color: var(--ebh-accent); font-style: normal; font-size: 13px; font-weight: 600; }
.ebs-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.ebs-cat-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 13px;
  border-radius: 10px; border: 1px solid var(--ebh-line); color: var(--ebh-text); text-decoration: none; font-size: 14px;
}
.ebs-cat-link b { font-weight: 500; }
.ebs-cat-link span { color: var(--ebh-muted-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ebs-cat-link:hover, .ebs-cat-link:focus-visible { border-color: var(--ebh-accent); color: var(--ebh-text); }
.ebs-dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; align-items: start; }
.ebs-dept { display: flex; flex-direction: column; padding: 14px; border-radius: 14px; border: 1px solid var(--ebh-line); background: var(--ebh-panel); }
.ebs-dept-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--ebh-line); color: var(--ebh-text); text-decoration: none; }
.ebs-dept-head b { font: 600 16px/1.25 "Space Grotesk", system-ui, sans-serif; }
.ebs-dept-head span { color: var(--ebh-accent); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ebs-dept-link { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--ebh-muted); text-decoration: none; font-size: 14px; }
.ebs-dept-link em { font-style: normal; color: var(--ebh-muted-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ebs-dept-head:hover b, .ebs-dept-link:hover, .ebs-dept-link:focus-visible { color: var(--ebh-accent); }

@media (max-width: 860px) {
  .ebs-hub-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ebs-facets { display: none; padding: 14px; border-radius: 12px; border: 1px solid var(--ebh-line); background: var(--ebh-panel); }
  .ebs-hub.filters-open .ebs-facets { display: flex; }
  .ebs-hub .ebs-filter-toggle { display: inline-flex; align-items: center; }
  .ebs-hub-bar { flex-direction: column; align-items: stretch; }
  .ebs-spaces { width: 100%; }
  .ebs-hub .ebs-space { flex: 1 1 0; justify-content: center; padding: 9px 6px; }
  .ebs-hub-tools > * { flex: 1 1 0; }
}
@media (max-width: 560px) {
  .ebs-space-full { display: none; }
  .ebs-space-short { display: inline; }
  .ebs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ebs-card-body { padding: 10px 10px 12px; }
  .ebs-card-name { font-size: 13.5px; }
  .ebs-card-price strong { font-size: 16px; }
  .ebs-chip:nth-child(n+3) { display: none; }
}

/* ---------- Making room in the header ---------- */

/* Desktop: seven menu items (and, once the shop is open, the search and cart icons) share one row, so the items
   sit closer than the menu widget's default, and closer still on smaller laptop screens. The selector outranks
   the widget's own spacing whether or not the icons are there. */
@media (min-width: 1440px) {
  body .xpro-theme-builder-header .elementor-element.elementor-widget-xpro-horizontal-menu .xpro-elementor-horizontal-navbar-nav > li > a { margin-left: 4px; margin-right: 4px; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  body .xpro-theme-builder-header .elementor-element.elementor-widget-xpro-horizontal-menu .xpro-elementor-horizontal-navbar-nav > li > a { margin-left: 2px; margin-right: 2px; padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  body .xpro-theme-builder-header .elementor-element.elementor-widget-xpro-horizontal-menu .xpro-elementor-horizontal-navbar-nav > li > a { margin-left: 1px; margin-right: 1px; padding-left: 8px; padding-right: 8px; font-size: 15px; }
}
@media (min-width: 1025px) and (max-width: 1149px) {
  body .xpro-theme-builder-header .elementor-element.elementor-widget-xpro-horizontal-menu .xpro-elementor-horizontal-navbar-nav > li > a { margin-left: 0; margin-right: 0; padding-left: 7px; padding-right: 7px; font-size: 14.5px; }
  /* Phone number and "Get in touch" stay on one line each. */
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:last-child .elementor-button { white-space: nowrap; padding-left: 12px; padding-right: 12px; font-size: 14.5px; }
}

/* Where the menu collapses to its button, the icons sit just before it. */
@media (max-width: 1024px) {
  .xpro-theme-builder-header .e-con:has(.ebh) > .elementor-widget-shortcode { order: -1; }
  .ebh { margin-left: 0; margin-right: 6px; }
}

/* Phones: logo, search, cart and menu on the first row; phone number and "Get in touch" side by side below. */
@media (max-width: 767px) {
  .xpro-theme-builder-header .e-con-inner:has(.ebh) { flex-wrap: wrap !important; row-gap: 10px; }
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:first-child { flex: 1 1 auto !important; width: auto !important; }
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:has(.ebh) { flex: 0 0 auto !important; width: auto !important; padding-right: 0 !important; }
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:last-child { flex: 1 1 100% !important; width: 100% !important; justify-content: stretch !important; gap: 8px; }
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:last-child > .elementor-widget-button { flex: 1 1 0; width: auto; }
  .xpro-theme-builder-header .e-con-inner:has(.ebh) > .e-con:last-child .elementor-button { width: 100%; justify-content: center; white-space: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .ebh-btn { width: 38px; height: 38px; }
  .ebh-panel-inner { padding: 14px 56px 18px 14px; }
  .ebh-close { top: 15px; right: 8px; }
  .ebs-search .ebs-submit { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ebh-btn, .ebs-field, .ebs-card, .ebs-space-card { transition: none; }
  .ebs-card:hover, .ebs-card:focus-visible { transform: none; }
}

/* The header menu's open and close icons: inline SVG drawn the size of the font icon they replace */
.eb-ico { display: inline-block; line-height: 1; font-style: normal; }
.eb-ico svg { display: block; height: 1em; width: auto; fill: currentColor; }
