/* ==================== Fashion Hero Block ==================== */

.fashion-hero-section {
    width: 100%;
    max-width: auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.fashion-hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
}

/* Main Background Image (under everything) */
.fashion-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 7 Fashion Images Grid (above background) */
.fashion-images-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.fashion-image-card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fashion-image-card img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: bottom center;
    transition: transform 0.5s ease;
}

.fashion-image-card:hover img {
    transform: scale(1.05);
}

/* Overlay for better text readability */
.fashion-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Content Overlay */
.fashion-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
}

.fashion-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #F4F0EB;
    line-height: 76px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.fashion-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #F4F0EB;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
    opacity: 0.95;
}

.fashion-hero-btn {
    display: inline-block;
    padding: 17px 49px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #FFFFFF33;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.fashion-hero-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.8);
    transform: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Animation for images */
.fashion-image-card {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
}

.fashion-image-card:nth-child(1) { animation-delay: 0.1s; }
.fashion-image-card:nth-child(2) { animation-delay: 0.2s; }
.fashion-image-card:nth-child(3) { animation-delay: 0.3s; }
.fashion-image-card:nth-child(4) { animation-delay: 0.4s; }
.fashion-image-card:nth-child(5) { animation-delay: 0.5s; }
.fashion-image-card:nth-child(6) { animation-delay: 0.6s; }
.fashion-image-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Content animation */
.fashion-hero-content {
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== End Fashion Hero Block ==================== */

/* Responsive Styles */
@media (max-width: 1024px) {
    .fashion-hero-section {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .fashion-hero-container {
        height: auto;
        min-height: auto;
        padding-top: 70px;
        margin-top: 0;
        display: block;
    }
    
    .fashion-images-grid {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: auto;
    }
    
    /* Показываем только первые 3 изображения */
    .fashion-image-card {
        display: none !important;
        height: auto;
        overflow: visible;
    }
    
    .fashion-image-card:nth-child(1),
    .fashion-image-card:nth-child(2),
    .fashion-image-card:nth-child(3) {
        display: flex !important;
        flex: 0 0 33.333%;
        max-width: 33.333%;
        align-items: flex-end;
        height: auto;
    }
    
    .fashion-image-card img {
        width: 100%;
        height: auto;
        min-height: auto;
        object-fit: contain;
        object-position: bottom center;
    }
    
    .fashion-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .fashion-hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 20px;
        animation: none;
    }
    
    .fashion-hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .fashion-hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
        display: none;
    }
    
    .fashion-hero-btn {
        padding: 12px 30px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .fashion-hero-container {
        padding-top: 60px;
    }

    .fashion-hero-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    section.wp-block-my-e-shop-fashion-hero {
    padding: 48px 0;
    height: 420px;
}
    .fashion-hero-overlay  {
        height: 470px;
    }
}