
.-p-s-null-message {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    font-size: 30px;
}

.card.-p-s-product {
    position: relative;
    height: auto;
    width: 380px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 0;
    overflow: hidden;
}

.ratio-container.-p-s-ratio {
    margin-bottom: 0;
    padding: 0;
}


.card-body.-p-s-card-body {
    margin-top: 10px;
    text-align: center;
    font-size: 20px;
    color: black;
    padding: 0;
}

.card-body.-p-s-card-body .card-title.-p-s-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}


.col-md-4.-p-s-col-md-4 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 0;
    margin-bottom: 30px;
    box-sizing: border-box;
}


.row.-p-s-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.-p-s-delete-product-button {
    display: none;
}

.-p-s-product-link a:focus {
    color: black;
}

.-p-s-product-link {
    text-decoration: none;
}

.-p-s-card-title-extra {
    font-size: 14px;
    white-space: pre-wrap;
    color:#000000e8
}


.-p-s-products-title {
    text-align: center;
    font-weight: bold;
    margin: 30px 0 50px 0;
    font-size: 30px;
    max-width: 100%;
}

.ratio-container.-p-s-ratio {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 230px;
    width: 100%;
    overflow: hidden;
}

.ratio-container.-p-s-s-ratio {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.card-img-top.-p-s-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}


@media only screen and (max-width: 767px) {
    .row.-p-s-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .col-md-4.-p-s-col-md-4 {
        flex-basis: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
        box-sizing: border-box;
    }

    .card.-p-s-product {
        margin: 0 auto;
        width: 80%;
        height: auto;
        max-height: max-content;

        border-radius: 0;
        border-bottom: 1px solid #eaeaea;
    }

    .-p-s-card-title-extra {
        font-size: 15px;
    }

    .card-body.-p-s-card-body {
        font-size: 18px;
    }

    .-p-s-products-title {
        font-size: 30px;
        margin-right: 10px;
        margin-left: 10px;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {
    .row.-p-s-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .col-md-4.-p-s-col-md-4 {
        flex: 1 1 50%;
        max-width: 50%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 30px;
        box-sizing: border-box;
    }

    .card.-p-s-product {
        margin: 0 auto;
        width: 80%;
        height: auto;

    }
}


@media (min-width: 1024px) and (max-width: 1200px) {

    .card.-p-s-product {
        margin: 0 auto; /* Добавляем автоматические отступы справа и слева */
        width: 90%; /* Устанавливаем ширину карточки */
    }
}




