.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.position {
    position: relative;
    background-color: transparent;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.body {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: 7px;
}

.close {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    top: -1rem;
    right: -2.5rem;
    height: 2.4rem;
    width: 2.4rem;
    min-width: 2.4rem;
    min-height: 2.4rem;
}

.category title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #0953cc;
    display: -webkit-box;
    line-height: 1.8rem;
    max-height: 5.4rem;
    overflow: hidden;
    -webkit-text-decoration: none;
    text-decoration: none;
    margin-top: 3.1rem;
    margin-bottom: 2.9rem;
    font-size: 2.4rem;
    font-weight: 600;
}

.category {
    text-decoration: none;
}

.category:visited {
    color: #0953cc;
}

.product {
    display: flex;
    margin-bottom: 10.4rem;
    position: relative;
}

.product .product-images {
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
}

.product .product-details {
    font-size: 1.3rem;
    line-height: 1.6rem;
}

.product .title {
    color: #212121;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 2.7rem;
    margin-bottom: 2.4rem;
    margin-top: 0;
}

.product .stock-informer {
    margin: 2.4rem 0;
    align-items: center;
    color: #78ad38;
    display: flex;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6rem;
}

.stock-informer .icon {
    display: flex;
    margin-right: .6rem;
}

.visible-part .price-in-cart {
    align-items: center;
    display: flex;
}

.visible-part .special-price {
    color: #81bb3c;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 3rem;
    text-wrap: nowrap;
}

.visible-part .old-price {
    color: #9e9e9e;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 2.7rem;
    margin-left: 1.2rem;
    text-wrap: nowrap;
    -webkit-text-decoration: line-through;
    text-decoration: line-through;
}

.controls {
    border-bottom: .1rem solid #f3f3f3;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3.2rem;
    margin-top: 2.4rem;
    padding-bottom: 2.4rem;
    max-width: 55.1rem;
}

.controls .main-button {
    background-color: #81bb3c;
    border-color: #81bb3c;
    font-size: 1.3rem;
    font-weight: 600;
    height: 4.8rem;
    line-height: 1.6rem;
    min-width: 20rem;
    padding: 1.2rem 2.4rem;
    width: auto;
    border: 1px solid #81bb3c;
    border-radius: .6rem;
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
    align-items: center;
    display: flex;
    justify-content: center;
}

.description-title {
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.description {
    margin-top: 1.2rem;
    font-size: 1.5rem;
}

@media (min-width: 1280px) {
    .product .product-details {
        width: calc(100% - 60rem);
    }

    .product .product-images {
        margin-right: 7.2rem;
        max-width: 70rem;
        min-width: 70rem;
    }
}

@media (max-width: 1279px) {
    .product {
        flex-direction: column;
        margin-bottom: 2.4rem;
    }

    .product .product-details {
        margin-top: 2.4rem;
    }
}