.weblabs-space-product{
  --wsp-section-bg: transparent;

  --wsp-title-color: #0d3943;
  --wsp-desc-color: #3e5961;
  --wsp-line-color: #0d3943;
  --wsp-accent: #c8b169;

  --wsp-tabs-area-bg: #f4f4f1;
  --wsp-meta-title: #0d3943;
  --wsp-meta-subtitle: #9aa2a6;

  --wsp-tab-width: 130px;
  --wsp-tab-height: 92px;
  --wsp-tab-gap: 14px;
  --wsp-tab-radius: 0px;
  --wsp-tab-text: #ffffff;
  --wsp-tab-overlay: rgba(8, 55, 66, 0.72);
  --wsp-tab-overlay-hover: rgba(8, 55, 66, 0.86);
  --wsp-tab-active-bg: #c8b169;
  --wsp-tab-active-text: #ffffff;
  --wsp-tab-check-bg: #ffffff;
  --wsp-tab-check-color: #c8b169;

  --wsp-card-radius: 0px;
  --wsp-card-footer-bg: #0d3943;
  --wsp-card-name: #ffffff;
  --wsp-card-code: #d9e2e4;
  --wsp-card-hover-bg: rgba(8, 55, 66, 0.82);
  --wsp-card-hover-title: #ffffff;
  --wsp-card-hover-desc: #e6ecee;

  --wsp-arrow-size: 48px;
  --wsp-arrow-bg: #ffffff;
  --wsp-arrow-color: #0d3943;
  --wsp-arrow-border: #d8dddf;

  --wsp-dot-width: 8px;
  --wsp-dot-height: 8px;
  --wsp-dot-gap: 6px;
  --wsp-dot-color: #d0d5d8;
  --wsp-dot-active: #0d3943;

  position: relative;
  width: 100%;
  background: var(--wsp-section-bg);
  box-sizing: border-box;
}

.weblabs-space-product *,
.weblabs-space-product *::before,
.weblabs-space-product *::after{
  box-sizing: border-box;
}

.weblabs-space-product__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.weblabs-space-product__head-main{
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.weblabs-space-product__title{
  margin: 0;
  color: var(--wsp-title-color);
  line-height: 1.2;
  text-align: right;
}

.weblabs-space-product__title-line{
  width: 36px;
  height: 2px;
  background: var(--wsp-line-color);
  display: block;
}

.weblabs-space-product__head-side{
     display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
}

.weblabs-space-product__accent-line{
  width: 100px;
    height: 16px;
   
    display: block;
  background: var(--wsp-accent);
}
.weblabs-space-product__description{
  margin: -10px;
  color: var(--wsp-desc-color);
  text-align: right;
 
}

.weblabs-space-product__top{
  background: var(--wsp-tabs-area-bg);
  display: grid;
  grid-template-columns: var(--wsp-arrow-size) minmax(0, 1fr) var(--wsp-arrow-size) minmax(150px, 190px);
  align-items: center;
  gap: 18px;
  direction: ltr;
}

.weblabs-space-product__selector{
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.weblabs-space-product__selector-title{
  color: var(--wsp-meta-title);
  line-height: 1.3;
}

.weblabs-space-product__selector-subtitle{
  color: var(--wsp-meta-subtitle);
  line-height: 1.4;
}

.weblabs-space-product__tabs-arrow,
.weblabs-space-product__slider-arrow{
  width: var(--wsp-arrow-size);
  height: var(--wsp-arrow-size);
  border: 1px solid var(--wsp-arrow-border);
  background: var(--wsp-arrow-bg);
  color: var(--wsp-arrow-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s ease;
  padding: 0;
  flex-shrink: 0;
  border-radius: 0;
}

.weblabs-space-product__tabs-arrow:hover,
.weblabs-space-product__slider-arrow:hover{
  transform: translateY(-1px);
}

.weblabs-space-product__tabs-arrow:disabled,
.weblabs-space-product__slider-arrow:disabled{
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.weblabs-space-product__arrow-svg.is-prev{
  transform: rotate(180deg);
}

.weblabs-space-product__tabs-viewport{
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.weblabs-space-product__tabs-viewport::-webkit-scrollbar{
  display: none;
}

.weblabs-space-product__tabs-viewport.is-pointer-down{
  cursor: grabbing;
}

.weblabs-space-product__tabs-track{
  display: flex;
  align-items: stretch;
  gap: var(--wsp-tab-gap);
  width: max-content;
  min-width: max-content;
  padding: 0;
}
.weblabs-space-product__tab-media img{
  -webkit-user-drag: none;
  user-drag: none;
}

.weblabs-space-product__tab{
  position: relative;
  width: var(--wsp-tab-width);
  min-width: var(--wsp-tab-width);
  height: var(--wsp-tab-height);
  border: 0;
  border-radius: var(--wsp-tab-radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--wsp-tab-active-bg);
  color: var(--wsp-tab-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.weblabs-space-product__tab-media,
.weblabs-space-product__tab-media img,
.weblabs-space-product__tab-shade{
  position: absolute;
  inset: 0;
}

.weblabs-space-product__tab-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.weblabs-space-product__tab-shade{
  background: var(--wsp-tab-overlay);
  transition: .3s ease;
  z-index: 1;
}

.weblabs-space-product__tab:hover .weblabs-space-product__tab-media img{
  transform: scale(1.05);
}

.weblabs-space-product__tab:hover .weblabs-space-product__tab-shade{
  background: var(--wsp-tab-overlay-hover);
}

.weblabs-space-product__tab-title{
  position: relative;
  z-index: 2;
  color: var(--wsp-tab-text);
  text-align: center;
  padding: 12px 10px;
  width: 100%;
  line-height: 1.45;
  transition: .3s ease;
}

.weblabs-space-product__tab-badge{
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translate(-50%, 14px);
  opacity: 0;
  transition: .3s ease;
}

.weblabs-space-product__tab-badge-box{
  width: 24px;
  height: 24px;
  background: var(--wsp-tab-check-bg);
  color: var(--wsp-tab-check-color);
  transform: rotate(45deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.weblabs-space-product__tab-badge-box svg{
  transform: rotate(-45deg);
}

.weblabs-space-product__tab.is-active .weblabs-space-product__tab-media img{
  opacity: .08;
  transform: none;
}

.weblabs-space-product__tab.is-active .weblabs-space-product__tab-shade{
  background: transparent;
}

.weblabs-space-product__tab.is-active .weblabs-space-product__tab-title{
  color: var(--wsp-tab-active-text);
  transform: translateY(-8px);
}

.weblabs-space-product__tab.is-active .weblabs-space-product__tab-badge{
  opacity: 1;
  transform: translate(-50%, 0);
}

.weblabs-space-product__panels{
  margin-top: 30px;
}

.weblabs-space-product__panel[hidden]{
  display: none !important;
}

.weblabs-space-product__slider{
  position: relative;
}

.weblabs-space-product__slider-viewport{
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.weblabs-space-product__slider-viewport::-webkit-scrollbar{
  display: none;
}

.weblabs-space-product__slider-viewport.is-pointer-down{
  cursor: grabbing;
}

.weblabs-space-product__slider-track{
  display: flex;
  align-items: stretch;
  direction: rtl;
  will-change: auto;
  transform: none !important;
  transition: none !important;
}
.weblabs-space-product__slide{
  flex: 0 0 auto;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.weblabs-space-product__card{
  position: relative;
  overflow: hidden;
  border-radius: var(--wsp-card-radius);
  background: #e8ecee;
}

.weblabs-space-product__card-link{
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
}

.weblabs-space-product__card-media{
  position: relative;
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
}

.weblabs-space-product__card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
.weblabs-space-product__card-hover{
  position: absolute;
  inset: 0;
  background: var(--wsp-card-hover-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .35s ease;
  z-index: 2;
}

.weblabs-space-product__card-link{
  -webkit-user-drag: none;
  user-drag: none;
}

.weblabs-space-product__card-hover-inner{
  max-width: 100%;
}

.weblabs-space-product__hover-title{
  margin: 0 0 10px;
  color: var(--wsp-card-hover-title);
  line-height: 1.45;
}

.weblabs-space-product__hover-description{
  color: var(--wsp-card-hover-desc);
  line-height: 1.8;
  font-size: 14px;
}

.weblabs-space-product__card:hover .weblabs-space-product__card-hover,
.weblabs-space-product__card:focus-within .weblabs-space-product__card-hover{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.weblabs-space-product__card:hover .weblabs-space-product__card-media img,
.weblabs-space-product__card:focus-within .weblabs-space-product__card-media img{
  transform: scale(1.06);
}

.weblabs-space-product__card-footer{
  background: var(--wsp-card-footer-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  direction: ltr;
}

.weblabs-space-product__card-name,
.weblabs-space-product__card-code{
  display: inline-block;
  line-height: 1.3;
}

.weblabs-space-product__card-name{
  color: var(--wsp-card-name);
  text-align: left;
}

.weblabs-space-product__card-code{
  color: var(--wsp-card-code);
  text-align: right;
  flex-shrink: 0;
}

.weblabs-space-product__slider-footer{
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: ltr;
}

.weblabs-space-product__dots{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wsp-dot-gap);
  flex-wrap: wrap;
}

.weblabs-space-product__dot{
  width: var(--wsp-dot-width);
  height: var(--wsp-dot-height);
  border: 0;
  background: var(--wsp-dot-color);
  padding: 0;
  cursor: pointer;
  transition: .25s ease;
  border-radius: 0;
}

.weblabs-space-product__dot.is-active{
  background: var(--wsp-dot-active);
}

.weblabs-space-product__slider.is-static .weblabs-space-product__slider-footer{
  display: none;
}

.weblabs-space-product__empty{
  padding: 28px 18px;
  border: 1px dashed rgba(13,57,67,.16);
  color: #5f6f75;
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 1024px){
  .weblabs-space-product__head{
    flex-direction: column;
    align-items: flex-end;
  }

  .weblabs-space-product__top{
    grid-template-columns: var(--wsp-arrow-size) minmax(0, 1fr) var(--wsp-arrow-size);
    gap: 14px;
  }

  .weblabs-space-product__selector{
    grid-column: 1 / -1;
    order: -1;
    align-items: flex-start;
    text-align: right;
    direction: rtl;
  }
}

.weblabs-space-product__slider{
  position: relative;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease;
}

.weblabs-space-product__slider.is-ready{
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767px){
  .weblabs-space-product__top{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .weblabs-space-product__selector{
    grid-column: auto;
    order: 0;
    align-items: flex-start;
  }

  .weblabs-space-product__tabs-arrow{
    display: none;
  }

  .weblabs-space-product__tabs-viewport{
    width: 100%;
  }

  .weblabs-space-product__tabs-track{
    min-width: max-content;
  }

  .weblabs-space-product__title-line{
    width: 70px;
  }

  .weblabs-space-product__hover-description{
    font-size: 13px;
  }

  .weblabs-space-product__slider-footer{
    gap: 10px;
  }
}