@font-face {
  font-family: "Noto Sans Georgian";
  src: url("/assets/fonts/NotoSansGeorgian-Variable.ttf?v=20260607-font") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

:root {
  --burnt: #873c1e;
  --charcoal: #212123;
  --page-bg: #fff;
  --page-gutter: clamp(20px, 5vw, 72px);
  --brands-content-max: 1240px;
  --brands-page-pad: max(var(--page-gutter), calc((100vw - var(--brands-content-max)) / 2));
  --header-main-h: 70px;
  --header-h: var(--header-main-h);
  --listing-heading-size: clamp(30px, 2.45vw, 38px);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body.brands-page {
  margin: 0;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--charcoal);
  font-family: "Noto Sans Georgian", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brands-page a {
  color: inherit;
  text-decoration: none;
}

.brands-page button,
.brands-page input {
  font: inherit;
}

.brands-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.brands-page .skip-link,
.brands-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brands-page .skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: #deb34a;
  color: var(--charcoal);
}

.brands-page-main {
  min-height: 100vh;
  background: var(--page-bg);
}

.brands-gallery-section {
  padding: clamp(7px, 1vw, 14px) var(--brands-page-pad) clamp(76px, 8vw, 124px);
}

.brands-gallery-shell {
  width: 100%;
  max-width: var(--brands-content-max);
  margin: 0 auto;
}

.brands-gallery-heading {
  width: 100%;
  max-width: none;
  margin: 0 auto clamp(19px, 1.6vw, 29px);
  text-align: center;
}

.brands-gallery-heading h1 {
  margin: 0;
  color: #050505;
  font-size: var(--listing-heading-size);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}

.brands-gallery-heading p {
  width: min(980px, 100%);
  margin: clamp(6px, 0.6vw, 9px) auto 0;
  color: rgba(33, 33, 35, 0.68);
  font-size: clamp(15px, 0.98vw, 17px);
  line-height: 1.68;
  font-weight: 500;
}

.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.brands-logo-item {
  position: relative;
  height: 130px;
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(33, 33, 35, 0.075);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(33, 33, 35, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.brands-logo-item:hover,
.brands-logo-item:focus-visible {
  border-color: rgba(135, 60, 30, 0.26);
  box-shadow: 0 14px 34px rgba(33, 33, 35, 0.075);
  outline: 0;
}

.brands-logo-item:focus-visible {
  outline: 2px solid rgba(135, 60, 30, 0.42);
  outline-offset: 3px;
}

.brands-logo-item img {
  width: min(156px, 82%);
  height: 78px;
  max-height: 78px;
  object-fit: contain;
  filter: none !important;
  mix-blend-mode: normal;
  opacity: 1 !important;
}

@media (max-width: 1080px) {
  .brands-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-main-h: 61px;
  }

  .brands-gallery-section {
    padding-top: clamp(8px, 2.25vw, 12px);
    padding-bottom: 78px;
  }

  .brands-gallery-heading {
    margin-bottom: 12px;
  }

  .brands-gallery-heading h1 {
    font-size: clamp(27px, 7.8vw, 32px);
  }

  .brands-gallery-heading p {
    width: min(430px, 100%);
    font-size: 14px;
    line-height: 1.62;
  }

  .brands-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .brands-logo-item {
    height: 104px;
    min-height: 104px;
    padding: 14px 12px;
  }

  .brands-logo-item img {
    width: min(118px, 84%);
    height: 56px;
    max-height: 56px;
  }
}

@media (max-width: 360px) {
  .brands-logo-grid {
    gap: 8px;
  }

  .brands-logo-item {
    height: 98px;
    min-height: 98px;
    padding: 12px 10px;
  }
}

/* mobile-page-centering-20260611 */
@media (max-width: 760px) {
  html[lang^="ka"] body.brands-page :where(.brands-gallery-heading, .brands-logo-grid, .brands-logo-item) {
    text-align: center !important;
  }

  html[lang^="ka"] body.brands-page :where(.brands-logo-grid, .brands-logo-item) {
    justify-items: center !important;
  }
}
