@media (max-width: 480px) {
    .main__container {
        margin-top: 30px;
    }
}

.reviews-by-symptom {
    margin-bottom: 44px;
}

.reviews-by-symptom__ad-space {}

.main-catalog__advertising_container {
    margin-left: 32px;
}

@media (max-width: 480px) {
    .main-catalog__advertising_container {
        display: none !important;
    }
}

/* Fallback badge for missing descriptions */
.description-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
}
.description-badge--empty {
    background: rgba(0, 140, 149, 0.08);
    color: rgba(0, 140, 149, 1);
    border: 1px solid rgba(0, 140, 149, 0.25);
}
@media (max-width: 768px) {
    .description-badge { font-size: 12px; padding: 5px 8px; }
}

.reviews-by-symptom__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.reviews-by-symptom__header h2 {
    font-size: 32px;
    font-weight: 600;
}

.reviews-by-symptom__header a {
    color: #008C95;
    text-decoration: none;
    display: flex;
    font-size: 15px;
    align-items: center;
}

.reviews-by-symptom__header a::after {
    content: "\276F";
    margin-left: 8px;
    font-size: 10px;
    color: #008C95;
}

.reviews-by-symptom__buttons {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-left .reviews-by-symptom__button {
    border: none;
    padding: 6px 9px;
    border-radius: 4px;
    height: 32px;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right .reviews-by-symptom__button {
    border: none;
    padding: 4px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.reviews-by-symptom__button-right {
    display: flex;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right button:nth-child(even) {
    border-radius: 0px 10px 10px 0px;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right button:nth-child(odd) {
    border-radius: 10px 0px 0px 10px;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-left .reviews-by-symptom__button--not-active {
    background: rgba(0, 140, 149, 0.1);
    color: rgba(0, 140, 149, 1);
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-left  .reviews-by-symptom__button--active {
    background: rgba(0, 140, 149, 1);
    color: white;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-left  .reviews-by-symptom__button--not-active::before {
    content: url('/themes/classic/styles/images/like-color.svg');
    margin-right: 6.5px;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-left  .reviews-by-symptom__button--active::before {
    content: url('/themes/classic/styles/images/like-white.svg');
    margin-right: 6.5px;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right .reviews-by-symptom__button--not-active {
    background: rgba(0, 140, 149, 0.1);
    color: rgba(0, 140, 149, 1);
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right  .reviews-by-symptom__button--active {
    background: rgba(0, 140, 149, 1);
    color: white;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right .reviews-by-symptom__button--not-active rect {
    stroke: rgba(0, 140, 149, 1);;
}

.reviews-by-symptom__buttons .reviews-by-symptom__button-right  .reviews-by-symptom__button--active rect {
    stroke: white
}

.reviews-by-symptom__horizontal-advertising {
    margin-bottom: 24px;
}

.reviews-by-symptom__horizontal-advertising img{
    max-width: 728px;
    width: 100%;
}

.reviews-by-symptom-item {
    display: flex;
    margin-bottom: 44px;
    overflow: hidden;
}
.reviews-by-symptom-item__content, .reviews-by-symptom-item__content-text { min-width: 0; }
.reviews-by-symptom-item__content h4 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 768px) {
    .reviews-by-symptom-item { overflow: hidden; }
    .reviews-by-symptom-item__content, .reviews-by-symptom-item__content-text { min-width: 0; }
}

.reviews-by-symptom-item__image {
    margin-right: 24px;
}

.reviews-by-symptom-item__image img {
    border: 1px solid rgba(208, 208, 208, 1);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
}

.reviews-by-symptom-item__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviews-by-symptom-item__content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 10px;
    color: rgba(0, 49, 60, 1);
}
@media (max-width: 768px) {
    .reviews-by-symptom-item__content h4 {
        margin-bottom: 38px;
    }

    .reviews-by-symptom-item__image {
        margin-right: 0;
        padding: 0 !important;
    }
}

.reviews-by-symptom-item__content p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: rgba(0, 49, 60, 1);
}


.reviews-by-symptom-item__details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews-by-symptom-item__stats {
    display: flex;
    align-items: center;
}

.reviews-by-symptom-item__stats p {
    font-size: 13px;
    font-weight: 400;
    color: rgba(111, 111, 111, 1);
}

.reviews-by-symptom-item__content-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3em; /* Высота для двух строк, зависит от line-height */
    line-height: 1.5em; /* Зависит от вашего общего line-height */
    margin: 0;
}

.reviews-by-symptom-item__rating  {
    background: rgba(253, 90, 66, 1);
    border-radius: 4px;
    padding: 6px 8px 6px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: white;
    width: fit-content;
    margin-right: 8px;
}

.reviews-by-symptom-item__rating::before {
    content: url('/themes/classic/styles/images/Star_1.svg');
    margin-right: 3px;
}

.reviews-by-symptom-item__rating p {
    font-size: 13px;
    color: white;
    margin: 0;
}

.reviews-by-symptom-item__actions {
    display: flex;
}

.reviews-by-symptom-item__like-button {
    background: rgba(0, 140, 149, 0.1);
    padding: 6px 15px 6px 15px;
    border-radius: 100px 0px 0px 100px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0, 140, 149, 1);
    font-size: 16px;
    font-weight: 500;
    cursor: default;
}

.reviews-by-symptom-item__dislike-button {
    background: rgba(253, 90, 66, 0.1);
    padding: 6px 15px 6px 15px;
    border-radius: 0px 100px 100px 0px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(253, 90, 66, 1);
    font-size: 16px;
    font-weight: 500;
    cursor: default;

}

.reviews-by-symptom__ad-space-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.reviews-by-symptom__ad-space-row .reviews-by-symptom-item__content-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 12.5em;
    line-height: 1.5em;
    margin: 0;
}

.reviews-by-symptom__ad-space-row .reviews-by-symptom-item__image {
    margin: 0;
}

.reviews-by-symptom__ad-space-row .reviews-by-symptom-item__image img {
    border: 1px solid rgba(208, 208, 208, 1);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    min-height: 230px;
    margin-bottom: 24px;
}

.reviews-by-symptom__ad-space-row .reviews-by-symptom-item {
    display: flex;
    flex-direction: column;
    width: 226px;
    height: 494px;
}

.reviews-by-symptom__ad-space-row  .reviews-by-symptom-item__actions {
    display: none;
}