/**
 * MOBILE GRID - СЕТКА В 3 КОЛОНКИ (КАК У MELLSTROY)
 */

/* Контейнер для отображения всех слотов категории */
.mobile-grid-container {
    width: 100%;
    padding: 0 0 80px;
}

.mobile-grid-header {
    margin: 20px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-grid-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* GRID В 3 КОЛОНКИ (как у Mellstroy) */
.mobile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 6px; /* Вертикальный и горизонтальный gap */
    padding: 0 12px 12px;
}

/* Слот - размер как у Mellstroy (111x148px через aspect-ratio) */
.mobile-grid-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 111 / 148; /* Пропорции Mellstroy */
    border-radius: 8px;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, #1a0530 0%, #0f0322 100%);
}

.mobile-grid-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.mobile-grid-slot:active {
    transform: scale(0.95);
}

.mobile-loader {
    width: 100%;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Footer с кнопкой Show more (как у Mellstroy) */
.mobile-grid-footer {
    padding: 16px 12px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-grid-stats {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
}

.mobile-grid-show-more {
    background: linear-gradient(135deg, #b633fe 0%, #8b2fc9 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(182, 51, 254, 0.3);
}

.mobile-grid-show-more:active {
    transform: scale(0.95);
}
