
.market-items-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xl)
}

.market-items-tabs__heading {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 120%;
    text-align: center
}

.market-items-tabs__content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    background: #000
}

.market-items-tabs__container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
}

.market-items-tabs__tabs {
  
    display: flex;
    cursor: pointer
}

.market-items-tabs__tab {
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(255,255,255, 0.5);
    min-width: 86px;
    height: 92px;
    text-align: center;
    flex: 1
}

html[dir=rtl] .market-items-tabs__tab {
    border-left: 1px solid #fff;
    border-right: 0
}
.market-items-tabs__tab:hover {
    background-color: rgba(0,86,255,.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.market-items-tabs__tab_active,.market-items-tabs__tab_hover {
    background-color: rgba(0,86,255,.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.market-items-tabs__tab_active .market-items-tabs__title,.market-items-tabs__tab_hover .market-items-tabs__title {
    position: relative;
  
}

.market-items-tabs__tab_active .market-items-tabs__title::after,.market-items-tabs__tab_hover .market-items-tabs__title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    display: block;
    width: calc(100% + 1px);
    height: 3px;
    background-color: #fff
}

html[dir=rtl] .market-items-tabs__tab_active .market-items-tabs__title::after,html[dir=rtl] .market-items-tabs__tab_hover .market-items-tabs__title::after {
    right: 1px
}

.market-items-tabs__title {
    margin-right: -1px;
    padding: 34px var(--spacing-s) 0 var(--spacing-s);
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 170%
}

.market-items-picture {
    border-top: 1px solid rgba(255,255,255, 0.5);
    border-bottom: 1px solid rgba(255,255,255, 0.5);
    width: 100%;
    max-height: 520px;
    max-inline-size: 100%;
    block-size: auto;
    aspect-ratio: 320/215;
    object-fit: cover
}

html[dir=rtl] .market-items-picture {
    transform: scale(-1, 1)
}

.market-items-content {
    padding: 29px var(--spacing-s) 61px var(--spacing-s)
}

.market-items-content__title {
    font-size: 40px;
    font-weight: 600;
    line-height: 170%;
    color: #fff;
}

.market-items-content__description {
    margin-top: var(--spacing-s);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 170%
}

.market-items-content__description strong,.market-items-content__description a {
    text-decoration: underline;
    text-transform: lowercase
}

.market-items-content__description a {
    pointer-events: auto
}

.market-items-content__button {
    margin-top: var(--spacing-2xl);
    min-width: 223px;
    pointer-events: all
}

@media(min-width: 768px) {
    .market-items-tabs {
        gap:45px
    }

    .market-items-content__button {
        margin-top: var(--spacing-4xl)
    }
}

@media(min-width: 1024px) {
    .market-items-tabs__container {
        position:relative;
        z-index: 1;
        overflow: hidden
    }

    .market-items-tabs__tab {
        align-items: flex-start;
        height: 520px;
        font-size: 18px
    }
    .market-items-tabs__tab_active{
        border-left: 1px solid #000;
    }

    .market-items-tabs__tab:first-child {
        /* border-left: 1px solid #fff */
    }

    html[dir=rtl] .market-items-tabs__tab:first-child {
        border-right: 1px solid rgba(255,255,255, 0.5);
    }

    .market-items-tabs__tab_active,.market-items-tabs__tab_hover {
        border-right-color: rgba(0,0,0,0)
    }

    html[dir=rtl] .market-items-tabs__tab_active,html[dir=rtl] .market-items-tabs__tab_hover {
        border-left-color: rgba(0,0,0,0)
    }

    .market-items-tabs__tab_before-active,.market-items-tabs__tab_before-hover {
        border-right-color: rgba(0,0,0,0)
    }

    html[dir=rtl] .market-items-tabs__tab_before-active,html[dir=rtl] .market-items-tabs__tab_before-hover {
        border-left-color: rgba(0,0,0,0)
    }

    .market-items-tabs__title {
        padding: 12px 16px;
        height: 60px;
        color: #fff;
    }

    .market-items-picture {
        position: absolute;
        z-index: -1;
        top: 60px;
        right: 0;
        bottom: initial;
        border: none;
        width: 686px;
        object-fit: contain
    }

    html[dir=rtl] .market-items-picture {
        right: unset;
        left: 0
    }

    .market-items-content {
        position: absolute;
        top: 141px;
        left: 0;
        padding: 0 var(--spacing-m);
        border: none;
        pointer-events: none
    }

    html[dir=rtl] .market-items-content {
        right: 0;
        left: unset
    }

    .market-items-content__description {
        max-width: 375px
    }
}
.ui-button{
    background-color:#E28D46 ;
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
}
@media(min-width: 1200px) {
    .market-items-content__description {
        max-width:400px
    }
}

@media(max-width:992px){
    .market-items-tabs__tab{
        border-bottom:1px solid rgba(255,255,255, 0.5);
        height: 55px;
    }
    .market-items-tabs__tabs {
        overflow-x:scroll;
    }
    .ui-button{
        margin-bottom: 20px;
    }
    .market-items-tabs__title{
        margin-right: 0px;
    }
    
}