.object-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-round);
    object-fit: cover;
}

.rating-container {
    text-align: right;
    margin-left: auto;
}

.rating-container p {
    margin: 0 0 5px;
    font-weight: bold;
}

.beer-mugs {
    display: flex;
    justify-content: flex-end;
    #gap: 5px;
}

.beer-mugs-profile {
    display: flex;
    align-items: center;
}

.beer-mugs-profile span {
  display: inline-block;
  width: 70px;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mug-images {
  width: 20px;
  height: 20px;
}

.beer-icon {
    width: 12px;
    height: 18px;
    position: relative;
    background-color: #ccc; /* Стекло кружки */
    border-radius: 2px 2px 8px 8px; /* Закругленные углы снизу */
    overflow: hidden;
}

.beer-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%; /* Пена */
    background-color: #fff;
    z-index: 1;
}

.beer-icon.full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 96%; /* Пиво до верха, ниже пены */
    background-color: #f7b731; /* Цвет пива */
}

.beer-icon.three-quarter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%; /* 75% - 10% пены */
    background-color: #f7b731;
}

.beer-icon.half::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* 50% - 10% пены */
    background-color: #f7b731;
}

.beer-icon.quarter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%; /* 25% - 10% пены */
    background-color: #f7b731;
}

.beer-icon.empty::after {
    content: none; /* Пустая кружка без пива */
}

/* Адаптивность */
@media (max-width: 767px) {
    .rating-container {
        margin-left: 0;
        text-align: left;
    }

    .beer-mugs {
        justify-content: flex-start;
    }
}

.serving-type-img {
    width: 28px;
    height: 28px;
    position: relative;
    overflow: hidden;
}
