/*body {*/
/*    background: #fff;*/
/*    min-height: 100vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.slider-container {
    position: relative;
    /*width: 90vw;*/
    max-width: 1400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 444px;
    height: 444px;
    background: linear-gradient(180deg, #b71c1c 60%, #f06292 100%);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-align: center;
    opacity: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(.77, 0, .18, 1), opacity 0.5s;
}

.card img {
    max-height: 160px;
    max-width: 90%;
    margin-bottom: 20px;
    width: auto;
    height: auto;
    transition: all 0.5s cubic-bezier(.77,0,.18,1);
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.card .title,
.card .desc,
.card .weight {
    transition: opacity 0.4s cubic-bezier(.77,0,.18,1);
}

.card .title {
    font-size: 2rem;
    /*font-family: 'Pacifico', cursive;*/
    margin-bottom: 10px;
}


/*.card.center:hover img {*/
/*    transform: scale(1.4);*/
/*    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,255,255,0.15);*/
/*    z-index: 10;*/
/*}*/

.card .desc {
    font-size: 1.2rem;
    margin: 0px 20px 10px;
}

.card .weight {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}


.card:hover{
    border-color: #ffffff!important;

}

.card.center:hover img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
    z-index: 2;
    background: #fff;
    /*box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,255,255,0.15);*/

}

.card.center:hover .title,
.card.center:hover .desc,
.card.center:hover .weight {
    opacity: 0;
    pointer-events: none;
}






.far-left {
    transform: translate(-220%, -50%) scale(0.6);
    opacity: 0.3;
    z-index: 0;
    filter: blur(1.5px);
    pointer-events: none;
}

.left {
    transform: translate(-120%, -50%) scale(0.8);
    opacity: 0.7;
    z-index: 1;
    filter: blur(0.5px);
}

.center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 2;
    filter: none;
}

.right {
    transform: translate(20%, -50%) scale(0.8);
    opacity: 0.7;
    z-index: 1;
    filter: blur(0.5px);
}

.far-right {
    transform: translate(120%, -50%) scale(0.6);
    opacity: 0.3;
    z-index: 0;
    filter: blur(1.5px);
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #b71c1c;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

.slider-arrow:hover {
    background: #f8bbd0;
}



@media (max-width: 700px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
        touch-action: pan-y; /* Only allow vertical scrolling */
    }
    .slider-container {
        overflow-x: hidden;
    }
}


