/* Шапка страницы «Решения» повторяет эталон страницы «О нас». */
.appbar.appbar--about-match {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 1156px;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8ee 50%, #e9ba7d 100%, #d3915a 150%);
  box-shadow: none;
}

.appbar.appbar--about-match > .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.appbar.appbar--about-match .navbar-brand {
  --stm-logo-offset-x: -36px;
  --stm-logo-offset-y: 7px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  min-width: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  transform: translateX(var(--stm-logo-offset-x)) translateY(var(--stm-logo-offset-y));
  transition: transform .2s ease;
  animation: stm-logo-intro .55s ease both;
}

.appbar.appbar--about-match .navbar-brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 90px;
  object-fit: contain;
  transform-origin: center;
  transition: none;
}

/* Логотип остаётся резким: без блика, фильтров и масштабирования при наведении. */
.appbar.appbar--about-match .navbar-brand::after {
  content: none;
}

.appbar.appbar--about-match .navbar-brand:hover,
.appbar.appbar--about-match .navbar-brand:focus-visible {
  transform: translateX(var(--stm-logo-offset-x)) translateY(var(--stm-logo-offset-y));
  filter: none;
}

.appbar.appbar--about-match .navbar-brand:hover img,
.appbar.appbar--about-match .navbar-brand:focus-visible img {
  transform: none;
  filter: none;
}

.appbar.appbar--about-match .navbar-brand:hover::after,
.appbar.appbar--about-match .navbar-brand:focus-visible::after {
  opacity: 0;
}

.appbar.appbar--about-match .navbar-brand:active {
  transform: translateX(var(--stm-logo-offset-x)) translateY(calc(var(--stm-logo-offset-y) + 1px));
  filter: none;
}

.appbar.appbar--about-match .navbar-brand:focus-visible {
  outline: 3px solid rgba(245, 130, 32, .35);
  outline-offset: 5px;
}

@keyframes stm-logo-intro {
  from { opacity: 0; transform: translateX(var(--stm-logo-offset-x)) translateY(calc(var(--stm-logo-offset-y) + 4px)); }
  to { opacity: 1; transform: translateX(var(--stm-logo-offset-x)) translateY(var(--stm-logo-offset-y)); }
}

@media (max-width: 1199px) {
  .appbar.appbar--about-match .navbar-brand {
    --stm-logo-offset-x: 0px;
    --stm-logo-offset-y: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appbar.appbar--about-match .navbar-brand,
  .appbar.appbar--about-match .navbar-brand img,
  .appbar.appbar--about-match .navbar-brand::after {
    animation: none;
    transition: none;
  }
}

.appbar.appbar--about-match .solution-brand__fallback {
  display: none !important;
}

.appbar.appbar--about-match .app-row,
.appbar.appbar--about-match .controls {
  min-width: 0;
}

.appbar.appbar--about-match .search-modern__field {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.appbar.appbar--about-match .search-modern__input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: .75rem 3.25rem .75rem 2.25rem;
  border: 2px solid #333;
  border-radius: 999px;
  color: #333;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 55%, #f5f5f5 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -3px 6px rgba(0,0,0,.06);
  font: inherit;
}


.appbar.appbar--about-match .search-modern__input:focus,
.appbar.appbar--about-match .search-modern__input:focus-visible {
  outline: none;
  border-color: #f58220;
  box-shadow:
    0 0 0 .25rem rgba(233, 117, 26, .25),
    inset 0 2px 0 rgba(255,255,255,.7),
    inset 0 -3px 6px rgba(0,0,0,.08);
}

.appbar.appbar--about-match .search-modern__input::placeholder {
  color: #f58220;
  opacity: 1;
}

.appbar.appbar--about-match .search-modern__iconbtn {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  color: #ff6600;
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 60%, #efefef 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.8);
  transform: translateY(-50%);
  cursor: pointer;
}

.appbar.appbar--about-match .search-modern__iconbtn:hover {
  color: #ff7f1a;
  box-shadow: 0 4px 12px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-50%) scale(1.03);
}

.appbar.appbar--about-match .Phone {
  display: grid !important;
  grid-template-columns: auto max-content !important;
  align-items: center;
  gap: 2px 8px !important;
  margin-left: auto;
}

.appbar.appbar--about-match .Phone > img {
  display: block;
  grid-row: 1 / span 2;
}

.appbar.appbar--about-match .phone-text {
  display: block;
  margin: 0;
  color: #ff6600;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  text-decoration: none;
}

.appbar.appbar--about-match .email-btn.icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.appbar.appbar--about-match .email-btn.icon-only img {
  display: block;
  object-fit: contain;
}

.appbar.appbar--about-match .product-cell.product-cell__actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
}

.appbar.appbar--about-match .product-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  border-radius: 999px;
  color: #0a0000;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.appbar.appbar--about-match .product-cart-btn__icon {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.appbar.appbar--about-match .header-cart__count {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid #2b2b2b;
  border-radius: 999px;
  color: #0a0000;
  background: linear-gradient(180deg, #ff9c3a, #f58220);
  box-shadow: 0 2px 0 rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.25);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.appbar.appbar--about-match .burger-btn {
  padding: 6px;
  border: 1px solid rgba(232,119,27,.55);
  border-radius: 999px;
  color: #f58220;
  background: transparent;
  box-shadow: none;
}

.appbar.appbar--about-match #primaryNav {
  list-style: none;
}

.appbar.appbar--about-match .nav-link {
  position: relative;
  color: #333 !important;
  font-weight: 500;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: color .3s ease;
}

.appbar.appbar--about-match .nav-link::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: #ff6600;
  transition: width .3s ease;
}

.appbar.appbar--about-match .nav-link:hover,
.appbar.appbar--about-match .nav-link:focus-visible,
.appbar.appbar--about-match .nav-link.active {
  color: #ff6600 !important;
  background: transparent;
}

.appbar.appbar--about-match .nav-link:hover::after,
.appbar.appbar--about-match .nav-link:focus-visible::after,
.appbar.appbar--about-match .nav-link.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .appbar.appbar--about-match > .container {
    padding: 8px 12px 7px;
  }

  .appbar.appbar--about-match .navbar-brand img {
    height: auto;
  }
}

@media (max-width: 560px) {
  .appbar.appbar--about-match > .container {
    padding-inline: 10px;
  }
}
