/* Shared opening hours in the footer. */
.sm-end .sm-end-hours {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Repair category price tables use the same price and action layout. */
body.ux-category #main-content .rd-price .ux-price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}
body.ux-category #main-content .rd-price .ux-price-order {
  min-height: 36px;
  padding: 6px 12px;
  width: auto;
  color: #fff;
  background: #c8102e;
  font-size: 13px;
  white-space: nowrap;
}
body.ux-category #main-content .rd-price .ux-price-order:hover {
  background: #a50d26;
}
body.ux-category #main-content .rd-price > .container > .sm-price-note {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body.ux-category #main-content .rd-hero .rd-master-photo picture {
  display: block;
  visibility: visible;
}
body.ux-category #main-content .rd-hero .rd-master-photo img {
  object-fit: cover;
}
body.ux-category #main-content .rd-hero-hours a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
  white-space: nowrap;
}

.ux-catalog #kb-main .kb-hero {
  margin-bottom: 12px;
  padding-bottom: 0;
}
.ux-catalog #kb-main .kb-hero h1 {
  margin-bottom: 0;
}
.ux-catalog #kb-main .ux-catalog-first {
  margin-top: 12px;
}
.ux-catalog #kb-main .ux-catalog-intro {
  margin: 24px 0;
}
.ux-catalog #kb-main .parts-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.ux-catalog #kb-main .part-verification {
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}
.ux-catalog #kb-main .ux-catalog-first input[type="search"],
.ux-catalog #kb-main .ux-catalog-first select {
  max-width: 100%;
  min-width: 0;
}
.ux-catalog #kb-main .ux-catalog-first #partsCount button {
  margin-inline-start: 8px;
  color: #a50d26;
  text-decoration: underline;
}
@media (max-width: 639px) {
  .ux-catalog #kb-main .ux-catalog-first .parts-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .ux-catalog #kb-main .ux-catalog-first .parts-tools label:has(#partsSearch) {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .ux-catalog #kb-main .ux-catalog-first .parts-tools > * {
    min-width: 0;
  }
}

.ux-references .ux-reference-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}
.ux-references .ux-reference-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e3e7ec;
  border-radius: 10px;
  background: #fff;
}
.ux-references .sm-review-document a {
  color: #a50d26;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.ux-references .sm-review-document a:hover {
  color: #770e21;
}
.ux-references .sm-breadcrumb-wrap .breadcrumbs > a[href="/"] {
  color: #47515b;
}

.ux-home #hero .hero__tech-backdrop {
  top: calc(50% + 16px);
}
.ux-home .sm-review-consult > a[href="/garantiya"] {
  color: #a50d26;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}
body.ux-home #hero .hero__cta-group > .sm-hero-direct {
  margin: 0 !important;
}
@media (min-width: 992px) {
  body.ux-home #hero .hero__cta-group {
    display: grid;
    grid-template-columns: max-content max-content !important;
    justify-content: start;
    align-items: stretch;
  }
  body.ux-home #hero .hero__cta-group > .sm-hero-direct > a {
    align-self: stretch;
    height: 100%;
    box-sizing: border-box;
  }
  body.ux-home #hero .hero__cta-group > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 991px) {
  body.ux-home #hero .hero__cta-group > .sm-hero-direct {
    order: 2;
    grid-column: 1 / -1;
  }
}

.ux-error-page #kb-main .alice-actions {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  gap: 8px 12px;
}
.ux-error-page #kb-main .alice-actions > :is(.kb-primary, .alice-call) {
  width: auto;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}
.ux-error-page #kb-main .kb-code > summary::-webkit-details-marker {
  display: none;
}
.ux-error-page #kb-main .kb-code:not([open]) > summary::after {
  content: "+";
}
.ux-error-page #kb-main .kb-code[open] > summary::after {
  content: "−";
}
@media (max-width: 460px) {
  .ux-error-page #kb-main .alice-actions > :is(.kb-primary, .alice-call) {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  html body.ux-contacts #main-content .v24-contact-grid {
    align-items: stretch;
  }
}
