/* Collections intro block */

.collections-intro {
    width: 100%;
    background: #FFFFFF;
    padding: 120px 0 40px;
}

.collections-intro__wrapper {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(20px, 8vw, 180px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.collections-intro__eyebrow {
    grid-column: 1 / 2;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4.8px;
    text-transform: uppercase;
    color: #ACACAC;
    margin: 0;
}

.collections-intro__title {
    grid-column: 1 / 2;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    color: #0C181A;
    margin: 0;
}

.collections-intro__title-accent {
    font-style: italic;
}

.collections-intro__description {
    grid-column: 2 / 3;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #3D3D3D;
    margin: 0;
}

@media screen and (max-width: 1199px) {
    .collections-intro {
        padding: 80px 0 32px;
    }
    
    .collections-intro__wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .collections-intro__description {
        grid-column: 1 / 2;
    }
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .collections-intro {
        padding: 60px 0 24px;
    }
    
    .collections-intro__wrapper {
        padding: 0 20px;
        gap: 20px;
    }
    
    .collections-intro__eyebrow {
        font-size: 10px;
        letter-spacing: 2.4px;
    }
    
    .collections-intro__title {
        font-size: 24px;
    }
    
    .collections-intro__description {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .collections-intro {
        padding: 48px 0 20px;
    }
    
    .collections-intro__wrapper {
        padding: 0 16px;
        gap: 16px;
    }
    
    .collections-intro__eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .collections-intro__title {
        font-size: 20px;
    }
    
    .collections-intro__description {
        font-size: 14px;
    }
}

/* Collections grid */

.collections-grid-section {
    width: 100%;
    background: #FFFFFF;
    padding: 40px 0 100px;
}

.collections-grid-section__wrapper {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(20px, 8vw, 180px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.collections-card {
    position: relative;
}

.collections-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.collections-card__image {
    position: relative;
    width: 100%;
    padding-top: 128%;
    border-radius: 12px;
    overflow: hidden;
    background: #F6F6F6;
}

.collections-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collections-card__tags {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.collections-card__tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0C181A;
}

.collections-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(12, 24, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

.collections-card__title {
    margin: 16px 0 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0C181A;
}

.collections-grid-section__action {
    text-align: center;
    margin-top: 50px;
}

.collections-grid-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 48px;
    padding: 0 32px;
    border-radius: 30px;
    border: 1px solid #0C181A;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0C181A;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.collections-grid-section__button:hover {
    background: #0C181A;
    color: #FFFFFF;
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .collections-grid-section {
        padding: 32px 0 60px;
    }
    
    .collections-grid-section__wrapper {
        padding: 0 20px;
        gap: 24px;
    }
    
    .collections-card__image {
        padding-top: 120%;
        border-radius: 8px;
    }
    
    .collections-card__tags {
        top: 12px;
        left: 12px;
        gap: 6px;
    }
    
    .collections-card__tag {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .collections-card__arrow {
        right: 12px;
        bottom: 12px;
        width: 36px;
        height: 36px;
    }
    
    .collections-card__title {
        margin-top: 12px;
        font-size: 14px;
    }
    
    .collections-grid-section__action {
        margin-top: 40px;
    }
    
    .collections-grid-section__button {
        min-width: 200px;
        height: 44px;
        padding: 0 24px;
        font-size: 11px;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .collections-grid-section {
        padding: 24px 0 48px;
    }
    
    .collections-grid-section__wrapper {
        padding: 0 16px;
        gap: 20px;
    }
    
    .collections-card__image {
        padding-top: 110%;
    }
    
    .collections-card__tags {
        top: 10px;
        left: 10px;
        gap: 4px;
    }
    
    .collections-card__tag {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .collections-card__arrow {
        right: 10px;
        bottom: 10px;
        width: 32px;
        height: 32px;
    }
    
    .collections-card__title {
        margin-top: 10px;
        font-size: 13px;
    }
    
    .collections-grid-section__action {
        margin-top: 32px;
    }
    
    .collections-grid-section__button {
        min-width: 180px;
        height: 40px;
        padding: 0 20px;
        font-size: 10px;
    }
}

