.miko-showcase {
    display: flex;
    gap: 40px;
}

/* HERO */
.miko-showcase__hero {
    margin-top: 50px;
    flex: 0 0 710px;
    position: relative;
    perspective: 1000px;
    height: 410px;
    border: 2px solid var(--e-global-color-primary);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.miko-showcase__hero .miko-showcase__hero-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.miko-showcase__hero .miko-showcase__hero-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.miko-showcase__hero .miko-showcase__hero-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero-content {
    position: absolute;
    left: 0px;
    bottom: 60px;
    color: #fff;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-content h3 {
    width: 45%;
    margin-bottom: 0;
    border-bottom: 1px solid white;
    padding-left: 32px;
    padding-bottom: 24px;
    font-weight: 400;
}

.hero-content h3 a {
    color: #fff;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-content .miko-product-item-link {
    text-decoration: none;
    color: #fff !important;
}

.hero-content .miko-product-item-link .miko-product-item-link-text {
    display: inline-block;
    margin-right: 40px;
    border-bottom: 1px solid #fff;
}

/* STACK */
.miko-showcase__stack {
    width: 360px;
    height: 100%;
    position: relative;
    perspective: 1400px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 226px;
    cursor: pointer;
    overflow: hidden;
    will-change: transform;
    transform-origin: center right;
}

.miko-showcase__stack .stack-card img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

.stack-card .label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 14px;
}

.stack-card .stack-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid var(--e-global-color-primary);
}

.stack-card .stack-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.stack-card-inner .hero-content {
    bottom: 30px;
}

.stack-card-inner .hero-content h3 {
    font-size: 14px;
    padding-left: 16px;
    padding-bottom: 16px;
}

.stack-card-inner .hero-content .miko-product-item-link .miko-product-item-link-text {
    font-size: 10px;
    margin-right: 16px;
}

.hero-image {
    will-change: transform, opacity, filter;
}

.stack-card:nth-child(1) {
    z-index: 5;
    transform: translate(40px, 0px);
}

.stack-card:nth-child(2) .hero-content,
.stack-card:nth-child(3) .hero-content {
    opacity: 0;
}

.stack-card:nth-child(2) {
    z-index: 4;
    transform: translate(20px, 20px);
}

.stack-card:nth-child(3) {
    z-index: 3;
    transform: translate(0px, 40px);
}

@media screen and (max-width: 1024px) {
    .miko-showcase__hero {
        flex: 0 0 540px;
    }

}

@media screen and (max-width: 823px) {
    .miko-showcase {
        flex-wrap: wrap;        
    }

    .miko-showcase__hero {
        order: 1;
        flex: 0 0 100%;
    }

    .miko-showcase__stack {
        height: 200px;
    }
}

@media screen and (max-width: 540px) {
    .miko-showcase__stack{
        width: 100%;
    }
    .stack-card:nth-child(1){
        transform: translate(0px, 0px);
    }

    .stack-card:nth-child(2){
        transform: translate(-10px, 20px) scale(0.95)
    }

    .stack-card:nth-child(3){
        transform: translate(-20px, 40px) scale(0.9)
    }
    .hero-content{
        bottom: 2rem;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        align-items: start;
    }
    .hero-content h3{
        width: 100%;
    }
    .hero-content .miko-product-item-link{
        padding-left: 32px;
    }
    .stack-card-inner .hero-content .miko-product-item-link{
        padding-left: 16px;
    }
}