.one-display .wrapper {
    display: flex;
    align-items: flex-start;
}

.left {
    border-radius: var(--main-radius);
    width: 40.5%;
    max-width: 584px;
    height: 55vw;
    max-height: 789px;
    min-height: 360px;
    background: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.right {
    margin-left: 13px;
    border-radius: var(--main-radius);
    max-width: 843px;
    width: 58.5%;
    height: 55vw;
    max-height: 789px;
    min-height: 360px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right img {
    margin-top: 100px;
    width: 85%;
    margin-bottom: 24px
}

.left h1 {
    width: 90%;
    margin-top: 140px;
    font-weight: 700;
    font-size: 75px;
    text-transform: uppercase;
    color: #fff;
}

.desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--main-radius);
    width: 100%;
    max-height: 313px;
    height: 21.7vw;
    background: #fff;
}

.left img, .left a {
    background: none;
}

.left a {
    margin-top: 24px;
    margin-bottom: 24px;
}


.left h2 {
    width: 85%;
    margin-top: 50px;
    letter-spacing: 0.03em;
    font-family: Nequn;
    font-weight: 400;
    font-size: 32px;
    line-height: 94%;
    text-transform: uppercase;
    color: #000;
}

.products-display {
    margin-top: 50px;
    scroll-margin-top: 100px;
}

.products {
    width: 100%;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    column-gap: 13px;
    row-gap: 22px;
}

.product {
    display: block;
    background: #fff;
    border-radius: var(--main-radius);
    min-height: 600px;
    height: 600px;
    width: 100%;
    min-width: 320px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}

.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-wrapper {
    border-radius: 40px 40px 0 0;
}

.slider {
    width: 100%;
}
.itc-slider-wrapper, .itc-slider {
    width: 100%;
}

.product-text {
    margin-top: 18px;
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 500;
    font-size: 24px;
    line-height: 125%;
    color: #000;
}

.product-desc {
    margin-top: 10px;
    font-weight: 300;
    font-size: 22px;
    line-height: 136%;
    letter-spacing: 0.05em;
    width: 95%;
}

.product-text .row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 20px;
}

.product-text .cost {
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0.05em;
    color: #000;
}

.product-text .to-cart {
    font-family: Nequn;
    border-radius: 20px;
    padding: 10px;
    width: 153px;
    height: 43px;
    background: #ffc300;
    font-weight: 400;
    font-size: 28px;
    line-height: 90%;
    letter-spacing: 0.05em;
    color: #fff;
    cursor: pointer;
}

.delivery-info-display {
    margin-top: 50px;
    width: 100%;
    scroll-margin-top: 100px;
}

.delivery-info {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: var(--main-radius);
}

.delivery-info * {
    font-weight: 400;
    font-size: 22px;
    line-height: 136%;
    letter-spacing: 0.05em;
}

.delivery-info .map {
    width: 60%;
    border-radius: var(--main-radius);
}

.delivery-info .map * {
    border-radius: var(--main-radius);
}

.delivery-text {
    width: 40%;
    display: flex;
    flex-direction: column;
}

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

.delivery-text .adress{
    margin-bottom: 24px;
}

.delivery-text .services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.delivery-text .services img {
    height: 30px;
    object-fit: contain;
}
.delivery-text .services * {
    margin-bottom: 24px;
}

.contacts-display {
    margin-top: 50px;
}

.contacts {
    scroll-margin-top: 100px;
    width: 100%;
    background: #fff;
    border-radius: var(--main-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 350px;
}

.contacts-wrapper {
    width: calc(100% - 24px*2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-text {
    height: 300px;
    width: 460px;
}

.contact-text > * {
    margin-bottom: 20px;
}

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

.contact-text > * > div {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
}

.messangers * {
    margin-right: 24px;
}

.change-count {
    display: none;
}

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

.cost-box .green-sale {
    color: green;
}

.one-photo {
    
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
}

.wholesale {
    color: black;
}



@media (max-width: 1440px) {
    .left h1 {
        margin-top: 80px;
        font-size: calc(75*100vw/1550)
    }
    .left h2 {
        margin-top: 5%;
        font-size: calc(32*100vw/1550)
    }
    .left a img {
        width: 3.4vw;
    }
    .left a {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .messangers * {
        margin-right: 18px;
    }

}


@media (max-width: 700px) {
    header, .navigation {
        height: 55px;
    }
    header .logo * {
        height: 45px !important;
    }
    .one-display .wrapper {
        align-items: center;
        flex-direction: column;
        width: 100vw;
        max-width: 100vw;
    }
    .wrapper {
        width: 95vw;
        max-width: 95vw;
    }
    .left, .right {
        width: 100%;
    }
    .left h1 {
        margin-top: 70px;
        font-size: calc(75*100vw/700);
        margin-bottom: 20px;
    }
    .left h2 {
        margin-top: 20px;
        font-size: calc(32*100vw/700)
    }
    .left, .left .desc {
        border-radius: 40px 40px 0 0;
    }
    .right {
        border-radius: 0 0 40px 40px;
        justify-content: start;
        height: 55%;
        min-height: 250px;
        margin-left: 0;
    }
    .right img {
        margin-top: 20px;
    }
    .desc a, .desc a img {
        display: none;
    }
    .desc {
        height: 100%;
    }
    .left {
        margin: 0;
        min-width: 100vw;
        height: 100%;
    }
    .product {
        height: 600px;
    }
    .contacts {
        height: 500px;
    }
    .contact-text {
        height: 350px;
    }
}

@media (max-width: 725px) {
    .product {
        height: 700px;
    }
}

@media (max-width: 1040px) {
    .delivery-text {
        width: 50%;
    }
    .delivery-info .map {
        width: 50%;
    }
    .messangers * {
        margin-right: 3px;
    }
    .contact-text {
        width: 430px;
    }

}

@media (max-width: 820px) {
    .delivery-text {
        width: 100%;
    }
    .delivery-info .map {
        width: 100%;
    }
    .delivery-info {
        flex-direction: column;
    }
    .contacts-wrapper {
        flex-direction: column;
    }
    .contacts {
        height: 470px;
    }
    .contacts-wrapper > * {
        width: 100%;
    }
}

@media (max-width: 440px) {
    .delivery-info .services img {
        height: 35px;
    }
}

@media (max-width: 530px) {
    .product {
        height: 500px;
    }
}
