:root {
    --plyr-color-main: #ffc300;
}

.itc-slider-item img {
    width: 100%;
    object-fit: cover; /* Do not scale the image */
    object-position: center; /* Center the image within the element */
    aspect-ratio: 4 / 3;
}

.itc-slider-item, .itc-slider-items, .itc-slider-wrapper {
    border-radius: var(--main-radius);
}

.main-info {
    display: flex;
    justify-content: center;
    background: white;
    border-radius: var(--main-radius);
    min-height: 150px;
    height: fit-content;
}

.main-info-wrapper {
    margin-top: 22px;
    width: 93%;
}

.main-info h1 {
    font-weight: 500;
    font-size: 28px;
    line-height: 107%;
}

.main-info .row-one {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-info .cost {
    font-weight: 600;
    font-size: 32px;
    line-height: 94%;
    letter-spacing: 0.05em;
}

.to-cart, .buy {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    border-radius: 15px;
    font-family: Nequn;
    font-weight: 400;
    font-size: 28px;
    line-height: 90%;
    letter-spacing: 0.05em;
}

.to-cart {
    width: 153px;
    background: #ffc300;
    color: 000;
    cursor: pointer;
}

.buy {
    width: 209px;
    background: var(--black);
    color: #fff;
    cursor: pointer;
}

.buttons {
    margin-top: 32px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
}

.slider {
    width: calc(100% - 13px);
    border-radius: var(--main-radius);
}


.text-wrapper {
    width: 90%;
    margin: 24px auto;
}

.wrapper.products {
    margin-top: 100px;
    display: flex;
    min-height: 100vh;
}

.column-one {
    width: 60%;
    margin-right: 13px;
}

.column-two {
    width: 40%;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.description {
    margin-top: 13px;
    display: flex;
    justify-content: center;
    width: 100%;
    height: fit-content;
    background: #fff;
    border-radius: var(--main-radius);
}

.description-wrapper {
    width: 93%;
    margin-top: 22px;
}

.description h4 {
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0.05em;
}

.description-wrapper > div {
    font-weight: 300;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.05em;
    margin-bottom: 22px;
    margin-top: 3px;
    white-space: pre-wrap;
}

.properties {
    background: #fff;
    border-radius: var(--main-radius);
    width: calc(100% - 13px);
    margin-top: 22px;
    height: fit-content;
    display: flex;
    justify-content: center;

}

.property-wrapper {
    width: 93%;
    margin-top: 22px;
    margin-bottom: 22px;
}

.property-wrapper h4 {
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0.05em;
}

.property {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    margin: 7px 0;
}

.property * {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.05em;
}

.property-name {
    max-width: 80%;
}

.in_cart .to-cart {
    display: none;
}
.in_cart .change-count {
    display: flex;
}

.change-count {
    display: none;
}

.one-photo {
    object-fit: cover; /* Do not scale the image */
    object-position: center; /* Center the image within the element */
    aspect-ratio: 4 / 3;
    border-radius: var(--main-radius); 
}

.before-sale {
    text-align: end;
}

.itc-slider-indicator {
    margin-bottom: 5px;
}

.itc-slider-items .plyr__controls {
    padding: 0 10px;
    margin-bottom: 5px;
}

video {
    object-fit:contain;
}

.plyr--video {
    height: 100%;
}

@media (max-width: 1100px) {
    .row-one, .buttons {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .buttons {
        margin-top: 15px;
    }
    .row-one > *, .buttons > * {
        margin-bottom: 10px;
    }
    .property-wrapper, .main-info-wrapper, .description-wrapper {
        width: 88%;
    }
}

@media (max-width: 800px) {
    .wrapper.products {
        flex-direction: column;
    }
    .slider, .main-info, .properties, .description {
        width: 100%;
    }
    .column-two, .column-one, .for-col-two-adaptive {
        display: flex;
        flex-direction: column;
    }
    .main-info {
        margin-top: 13px;
    }
    .column-two, .for-col-two-adaptive {
        position: relative;
    }
    .column-one {
        width: 100%;
    }
    .before-sale {
        text-align: start;
    }
}

@media (max-width: 600px) {
    .property > * {
        font-size: 17px;
    }
    .description-wrapper .desc-text {
        font-size: 17px;
    }
}
