/* Small adaptations around the preserved Aspro Optimus stylesheet. */
.test-banner {
  padding: 7px 15px;
  background: #fff1d6;
  color: #663c00;
  text-align: center;
  font-size: 13px;
}
.visible_on_ready {
  visibility: visible !important;
}
@media (min-width: 768px) {
  .menu_top_block.catalogfirst {
    display: table;
    width: 100%;
  }
}
.inc_menu > .menu > li {
  display: table-cell;
  float: none;
}
.mobile_menu_wrapper.is-open {
  display: block;
}
.site-search input {
  font-family: inherit;
}
.site-search label {
  display: block;
}
.store_property .value > a {
  display: block;
}
.office-map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.news_detail_wrapp img,
.contacts_right img {
  max-width: 100%;
  height: auto;
}
.gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  clear: both;
}
.gallery-photo {
  margin: 0 0 20px;
  max-width: 230px;
}
.gallery-photo img {
  width: 100%;
}
.gallery-photo figcaption {
  color: #888;
  font-size: 12px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.related-grid img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.legal {
  color: #888;
  font-size: 12px;
  padding-top: 35px;
  padding-bottom: 20px;
}
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}
.catalog-controls input[type="search"],
.catalog-controls select,
.page-search input {
  border: 1px solid #ddd;
  padding: 9px;
  font: inherit;
  max-width: 100%;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  padding: 20px;
}
.product-card[hidden] {
  display: none;
}
.product-card .name {
  flex: 1;
}
.product-image {
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card .price,
.product-info .price {
  color: #333;
  font-weight: 700;
  margin-top: 15px;
}
.product-info .price {
  font-size: 24px;
}
.availability {
  font-size: 12px;
  color: #777;
  margin: 10px 0;
}
.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 30px;
}
.product-gallery > a:first-child {
  display: block;
}
.product-gallery img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.product-thumb img {
  width: 80px;
  height: 80px;
  margin: 10px 10px 0 0;
}
.product-contacts a {
  display: block;
}
.detail-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  margin-bottom: 25px;
}
.product-detail section {
  scroll-margin-top: 20px;
}
.product-detail .props_list {
  width: 100%;
}
.page-search {
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-top {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 12px;
  }
  .product-image {
    height: 130px;
  }
  .office-map {
    height: 320px;
  }
  .test-banner {
    font-size: 11px;
  }
}

#header .basket_wrapp {
  min-width: 198px;
}
#header .phone_text a {
  white-space: nowrap;
}
@media (max-width: 767px) {
  #header .basket_wrapp {
    min-width: 144px;
  }
  #header .catalog_menu .catalog_menu_ext > ul {
    display: none;
  }
  #header .inc_menu > ul {
    display: none;
  }
}
/* Source files for mobile arrows were missing; vector chevrons preserve the controls. */
@media (max-width: 768px) {
  .top_slider_wrapp .flex-direction-nav a::before {
    content: "‹";
    font:
      36px/36px Ubuntu,
      sans-serif;
    display: block;
    color: #777;
    text-indent: 0;
  }
  .top_slider_wrapp .flex-direction-nav .flex-next::before {
    content: "›";
  }
}
.gallery-photo > a {
  display: block;
}
.gallery-photo img {
  display: block;
  float: none;
}
.mobile-search {
  padding: 15px;
}
.mobile-search input {
  max-width: 100%;
}

.top_slider_wrapp .single-position {
  opacity: 1;
}
.news_detail_wrapp .sp-properties {
  width: 100%;
  table-layout: fixed;
}
.news_detail_wrapp .sp-properties td {
  overflow-wrap: anywhere;
  white-space: normal;
}
