@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@400;500;600;700;800&display=swap");

html { scrollbar-gutter: stable; }

.omart-static-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e5e9e3;
  box-shadow: 0 1px 0 #e5e9e3;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: "Noto Sans Georgian", Inter, system-ui, sans-serif;
}

.omart-static-header *, .omart-static-header *::before, .omart-static-header *::after { box-sizing: border-box; }

.omart-static-shell { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }

.omart-static-top {
  display: grid;
  grid-template-columns: 190px minmax(250px, 720px) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  height: 82px;
}

.omart-static-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  color: #087a42;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}

.omart-static-logo b { color: #f0b91b; }
.omart-static-logo i { position: absolute; top: -4px; right: -10px; width: 7px; height: 7px; background: #dfee52; border-radius: 50%; }

.omart-static-search {
  display: flex;
  align-items: center;
  height: 46px;
  padding-left: 15px;
  overflow: hidden;
  color: #7d877e;
  background: #f8faf7;
  border: 1px solid #dce2db;
  border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.omart-static-search:focus-within { background: #fff; border-color: #087a42; box-shadow: 0 0 0 3px rgba(8, 122, 66, .1); }
.omart-static-search span { padding: 0; color: #7d877e; font-size: 22px; line-height: 1; }
.omart-static-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.omart-static-search input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; color: #202620; background: transparent; border: 0; outline: 0; font: inherit; }
.omart-static-search button { display: grid; place-items: center; width: 45px; height: 38px; margin-right: 3px; color: #fff; background: #087a42; border: 0; border-radius: 9px; font: inherit; font-size: 20px; cursor: pointer; }
.omart-static-language { justify-self: end; padding: 10px; color: #303731; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }

.omart-static-nav { overflow: visible; border-top: 1px solid #eff2ee; }
.omart-static-nav-inner { display: flex; align-items: center; gap: 34px; height: 49px; min-height: 0; font-size: 14px; font-weight: 600; }
.omart-static-nav-inner > a { display: flex; align-items: center; align-self: stretch; padding: 0; color: #303b33; font-size: inherit; font-weight: inherit; text-decoration: none; white-space: nowrap; }
.omart-static-nav-inner > a:not(.omart-static-categories):hover, .omart-static-nav-inner > a.active { color: #087a42; }
.omart-static-category-spacer { visibility: hidden; display: flex; align-items: center; align-self: stretch; gap: 9px; padding-inline: 22px; font: inherit; font-weight: 600; white-space: nowrap; pointer-events: none; }
.omart-static-category-spacer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.omart-static-category-spacer svg:last-child { width: 16px; height: 16px; margin-left: 8px; }
.omart-static-category-nav { position: relative; align-self: stretch; display: flex; }
.omart-static-categories { display: flex; align-items: center; align-self: stretch; gap: 9px; padding-inline: 22px; color: #fff; background: #087a42; border: 0; border-radius: 10px 10px 0 0; font: inherit; font-weight: 600; cursor: pointer; }
.omart-static-categories svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.omart-static-categories .omart-static-chevron { width: 16px; height: 16px; margin-left: 8px; transition: transform .2s; }
.omart-static-categories[aria-expanded="true"] .omart-static-chevron { transform: rotate(180deg); }
.omart-static-category-menu { position: absolute; top: 100%; left: 0; z-index: 75; width: 310px; max-height: min(68vh, 600px); padding: 8px; overflow-y: auto; background: #fff; border: 1px solid #e5e9e3; border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 18px 38px rgba(25, 50, 33, .18); }
.omart-static-category-menu[hidden] { display: none; }
.omart-static-category-menu a { display: block; padding: 11px 13px; color: #303731; border-radius: 8px; font-weight: 500; text-decoration: none; }
.omart-static-category-menu a:hover { color: #087a42; background: #edf6f0; }
.omart-static-category-menu a.omart-static-all-categories { margin-bottom: 5px; color: #087a42; border-bottom: 1px solid #e5e9e3; border-radius: 8px 8px 0 0; font-weight: 750; }
.omart-static-category-menu a.omart-static-subcategory { padding: 9px 13px 9px 29px; color: #606a62; font-size: 13px; }

@media (max-width: 760px) {
  .omart-static-shell { width: min(calc(100% - 32px), 1440px); }
  .omart-static-top { grid-template-columns: 1fr auto; gap: 12px; height: auto; min-height: 72px; }
  .omart-static-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
  .omart-static-language { font-size: 0; }
  .omart-static-language::first-letter { font-size: 20px; }
  .omart-static-nav { overflow-x: auto; }
  .omart-static-nav-inner { width: max-content; min-width: max-content; gap: 22px; }
  .omart-static-category-spacer { display: none; }
  .omart-static-categories { width: 100%; padding: 12px 17px; border-radius: 9px; }
  .omart-static-category-nav { width: auto; }
  .omart-static-category-menu { position: absolute; width: min(310px, calc(100vw - 32px)); max-height: 55vh; }
}
