.collect {
    padding: 32px 0;
}

.collect__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 5px;
}

.collect__title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.collect__nav {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.collect__nav-btn {
    width: 49px;
    height: 49px;
    border: none;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
}

.collect__nav-btn::before {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 19px;
    height: 19px;
}

.collect__nav-btn--prev::before {
    content: url(../../img/collections/prev.svg)
}

.collect__nav-btn--next::before {
    content: url(../../img/collections/next.svg)
}



.collect__nav--mobile {
    display: none;
}

.collect__slider {
    padding: 30px 12px;
}

/* Body */


.collect-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.collect-item__body {
    padding: 12px 17px 16px;
    background: #fff;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s;
    min-height: 85px;
}



.collect-item__row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 0px;
    color: #666;
}

.collect-item__title {
    font-weight: 500;
    font-size: 18px;
    color: #171717;
    line-height: 1.3;
    margin-bottom: 8px;
    padding-top: 7px;
}

.collect-item__venue {
    font-size: 13px;
    color: #000000;
}

/* Loading skeleton */
.collect__slider-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top:38px;
}

.collect-item--skeleton {
    pointer-events: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.collect-item--skeleton .collect-item__media {
    aspect-ratio: 3 / 4;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: collect-shimmer 1.5s infinite;
}

.collect-item--skeleton .collect-item__body {
    padding: 16px;
}

.collect-item--skeleton .skeleton-line {
    height: 20px;
    width: 80%;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: collect-shimmer 1.5s infinite;
}

@keyframes collect-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* State blocks */
.collect__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    text-align: center;
    font-size: 16px;
    color: #989fb8;
}

.collect__state--error {
    color: #ed3953;
}

.collect__state p {
    margin: 0;
}

.collect__state button {
    padding: 10px 24px;
    border-radius: 45px;
    border: none;
    background: linear-gradient(90deg, #ed3953 0%, #a1171b 100%);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.collect__state button:hover {
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 900px) {
    .collect__slider-skeleton {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .collect {
        padding: 30px 0;
    }

    .collect__nav--desktop {
        display: none;
    }

    .collect__nav--mobile {
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }

    .collect__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 14px;
        align-items: center;
    }

    .collect__title {
        font-size: 15px;
        text-align: center;
    }
    
    .collect-item__title {
        font-size: 12px;
    }

    .collect__nav {
        order: 3;
        /* стрелки после слайдера */
        width: 100%;
        justify-content: center;
        margin-top: 24px;
    }

    .collect__nav-btn {
        width: 39px;
        height: 39px;
        border: none;
        border-radius: 50%;
        position: relative;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
        background: #fff;
    }

    .collect__slider {
        order: 2;
        padding: 10px 8px;
    }

    .collect__head .collect__nav {
        /* на мобилке стрелки уезжают из head вниз */
    }
}





