.item {
    transition: transform 0.2s ease;
    margin: 8px;
}
.item a {
    text-decoration: none;
    color: black;
}
.item:hover {
    transform: scale(1.05); /* Увеличиваем элемент при наведении */
}
.item:hover a {
    color: #d000ff;
}
.item:hover a .scale-circle > p {
    color: #d000ff;
}
.photo-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.photo-container,
.caption {
    width: 250px;
}
.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабирует изображение с обрезкой по центру */
    object-position: center; /* Центрирует изображение внутри контейнера */
}

.scale-circle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
}
.scale-circle > p {
    top: 50%;
    left: 50%;
    position: absolute;
    text-align: center;
    transform: translate(-50%, -50%);
    margin: 0;
    color: black;
    font-weight: 700;
    font-size: 18px;
}
.item-name {
    margin-top: 2px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}
.item-price {
    color: #da15ce;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}
