/* DETEX compatibility layer for ReMarket 2.4.0.
   Recreates the production visual hierarchy without restoring legacy theme files. */

#oct-infobar {
  padding: 5px 0;
}

#oct-infobar .col-lg-12 {
  flex-direction: row !important;
  flex-wrap: nowrap;
}

#oct-infobar .oct-infobar-text {
  line-height: 20px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

#oct-infobar .marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

#oct-infobar .marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: detex-marquee 45s linear infinite;
}

@keyframes detex-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

#oct-infobar-btn {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0 !important;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: transparent !important;
  font-size: 0;
  position: relative;
}

#oct-infobar-btn::after {
  content: "×";
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  position: absolute;
  inset: 0;
}

@media (max-width: 575.98px) {
  #oct-infobar-btn {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  #oct-infobar-btn::after {
    line-height: 20px;
  }
}

.top-nav-info-list {
  text-transform: none !important;
  flex-wrap: wrap;
  max-width: 860px;
  height: 58px;
  align-content: center;
}

.top-nav-info-list > li {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.top-nav-account-links {
  height: 58px;
  align-items: center;
  gap: 24px;
}

.top-nav-account-links-item {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.detex-language-buttons {
  gap: 12px;
}

.detex-language-buttons .language-select {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #656c7d;
  font-size: 12px;
  line-height: 20px;
}

.detex-language-buttons .language-select:hover,
.detex-language-buttons .language-select.active-item {
  color: #171616;
  text-decoration: none;
}

header > .container-fluid > .row {
  min-height: 98px;
}

.detex-header-action-col {
  padding-left: 6px;
  padding-right: 6px;
}

.detex-header-action {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #d6d6d6;
  color: #171616;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.detex-header-action:hover {
  background: #c9c9c9;
  color: #171616;
  text-decoration: none;
}

.detex-header-action img {
  margin-right: 6px;
  object-fit: contain;
}

.detex-header-search .rm-header-address {
  display: none !important;
}

.detex-header-contact {
  flex-wrap: wrap;
  padding-left: 8px;
}

.detex-header-contact .rm-header-phones-list {
  width: 100%;
  padding: 0;
}

.detex-header-hours,
.detex-header-email {
  display: block;
  color: #171616;
  font-size: 13px;
  line-height: 18px;
}

.detex-header-contact .rm-header-phones-list-item {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
}

.detex-header-contact .rm-header-phones-list-link {
  display: block;
  font-size: 13px;
  line-height: 18px;
}

.detex-home-hero-row {
  margin-top: 10px;
}

.detex-home-hero-content {
  padding-left: 0;
}

.detex-home-menu {
  height: 100%;
  background: #fff;
}

.detex-home-menu-title {
  padding: 21px 26px;
  background: #f2f3f5;
  color: #2d2d2d;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.detex-home-menu-list {
  margin: 0;
}

.detex-home-menu-item {
  border-bottom: 1px solid #e8e8e8;
}

.detex-home-menu-item:last-child {
  border-bottom: 0;
}

.detex-home-menu-link {
  min-height: 62px;
  padding: 10px 14px;
  color: #2d2d2d;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.detex-home-menu-link:hover {
  color: #dd3333;
  text-decoration: none;
}

.detex-home-menu-image {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  object-fit: contain;
}

#common-home .rm-module-header {
  text-align: center;
}

#common-home .rm-module-header span {
  border-bottom: 0 !important;
  padding-bottom: 0;
}

#common-home .rm-category-wall > .row.row-padding-top {
  display: none !important;
}

#common-home .rm-category-wall > .row.no-gutters {
  justify-content: center;
}

#common-home .rm-category-wall-item > a {
  display: block !important;
  margin-right: 16px;
  border: 1px solid #f2f4f8;
  border-radius: 4px;
  background: #fff;
  padding: 0 0 40px;
}

#common-home .rm-category-wall-item-image {
  margin-bottom: 0 !important;
}

#common-home .rm-category-wall-item > a > span:last-child {
  display: inline;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

#common-home .row.row-padding-top > .col-12 > .rm-content {
  background: transparent;
}

#common-home .row.row-padding-top > .col-12 > .rm-content h1 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

#common-home .rm-module-title a,
#common-home .rm-module-title a:hover,
.rm-category-products .rm-module-title a,
.rm-category-products .rm-module-title a:hover {
  text-decoration: none;
}

#common-home .rm-cart-btn,
.rm-category-products .rm-cart-btn {
  width: auto !important;
  min-width: 104px;
  padding: 9px 14px !important;
}

#common-home .rm-cart-btn .rm-cart-btn-icon,
.rm-category-products .rm-cart-btn .rm-cart-btn-icon {
  display: none !important;
}

#common-home .rm-cart-btn .rm-btn-text,
.rm-category-products .rm-cart-btn .rm-btn-text {
  display: inline !important;
  padding-left: 0 !important;
  white-space: nowrap;
}

#common-home iframe[src*="youtube.com/embed"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.rm-footer-payments-list .detex-payment-logos {
  display: block !important;
  flex: 0 0 155px;
  width: 155px !important;
  max-width: 155px !important;
  height: auto !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: none !important;
  background-image: none !important;
}

.rm-footer-payments-list .detex-payment-logos img {
  display: block !important;
  width: 155px !important;
  max-width: 155px !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
}

.rm-footer-links-list a,
.rm-footer-links-list a:hover,
.rm-footer-links-list a:focus {
  border-bottom: 0 !important;
  text-decoration: none !important;
}

.detex-footer-created {
  font-size: 9px;
}

.detex-product-tabs-top {
  margin-top: 0;
}

.detex-product-tabs-top .nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  border: 0 !important;
  background: transparent !important;
}

.detex-product-tabs-top .nav-item {
  margin-right: 38px;
}

.detex-product-tabs-top .nav-link,
.detex-product-tabs-top .nav-link:hover,
.detex-product-tabs-top .nav-link.active {
  padding: 12px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #222 !important;
  font-size: 16px;
  text-decoration: none !important;
}

.detex-product-tabs-top .nav-link::before,
.detex-product-tabs-top .nav-link::after {
  display: none !important;
}

.detex-product-tabs-top .nav-link.active {
  font-weight: 700;
}

#product-product .rm-product-title h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.detex-product-stock-model {
  gap: 12px;
}

.detex-product-model {
  color: #8a8a8a;
}

.detex-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.oct-fixed-bar.fixed-right {
  margin-top: 5px !important;
}

#information-information .detex-information-content {
  background: #fff;
  overflow-wrap: anywhere;
}

#information-information .detex-information-content > h1 {
  margin-top: 0;
}

#information-information .detex-information-content iframe[src*="youtube.com/embed"] {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  border: 0;
  aspect-ratio: 16 / 9;
}

#information-information .detex-information-video {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

#information-information .detex-information-video .rm-video__link,
#information-information .detex-information-video picture,
#information-information .detex-information-video .rm-video__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#information-information .detex-information-video img.rm-video__media {
  object-fit: cover;
}

#information-information .detex-information-video .rm-video__button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

#information-information .detex-information-video .rm-video__button-shape {
  fill: #212121;
  fill-opacity: .8;
}

#information-information .detex-information-video .rm-video__button-icon {
  fill: #fff;
}

#information-information .detex-information-video > iframe.rm-video__media {
  height: 100% !important;
  border: 0;
  aspect-ratio: auto;
}

.detex-inline-request {
  width: 100%;
  max-width: 400px;
  margin-top: 22px;
}

.detex-inline-request h3 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.25;
}

.detex-inline-request .form-control {
  height: 42px;
}

.detex-inline-request-message:not(:empty) {
  margin-bottom: 12px;
}

#information-contact .detex-contact-main-row {
  background: #fff;
}

#information-contact .detex-contact-main-row .rm-contact-form h1 {
  margin-bottom: 22px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

#information-contact .detex-contact-main-row iframe {
  display: block;
  width: 100% !important;
  height: 450px !important;
  max-height: none !important;
}

.detex-product-links .blue-link {
  display: inline-block;
  padding-top: 15px;
  border-bottom: 1px solid #3289c2;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
}

#product-product .rm-product-tabs-vse {
  margin-top: 30px;
}

@media (min-width: 992px) {
  #common-home .rm-module-col {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .rm-category-products .product-layout {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.detex-home-menu-name {
  flex: 1;
}

.detex-home-menu-count {
  min-width: 25px;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 12px;
  background: #f5f5f5;
  color: #555;
  font-size: 12px;
  text-align: center;
}

.detex-home-menu-arrow {
  margin-left: 7px;
  color: #777;
}

.detex-home-hero-content .rm-slideshow-plus-box {
  margin-left: 0;
  margin-right: 0;
}

.detex-home-hero-content .rm-slideshow-plus-box > div {
  padding-left: 0;
  padding-right: 0;
}

.detex-home-hero-content .rm-slideshow-plus-item-fullimg img {
  width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  .detex-header-action {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .detex-home-hero-row {
    display: block;
  }

  .detex-home-hero-content {
    max-width: 100%;
    padding-left: 15px;
  }

  #column-left {
    display: none;
  }

  .detex-product-tabs-top {
    margin-top: 10px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .detex-product-tabs-top .nav-tabs {
    width: max-content;
    min-width: 100%;
  }

  #product-product .rm-product-tabs-vse,
  #product-product .rm-product-tabs-description,
  #product-product .rm-product-tabs-attributes {
    max-width: 100%;
    overflow-x: auto;
  }

  #information-information .detex-information-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #information-contact .detex-contact-main-row iframe {
    height: 325px !important;
  }

  #information-contact .detex-contact-main-row .rm-contact-form h1 {
    font-size: 28px;
    white-space: normal;
  }
}
