* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #0e2cae 0%, #fefefe 100%);
    min-height: 100vh;
    padding: 35px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 640px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Footer styles */

footer {
    width: 100%;
    background: #0e2cae;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    position: relative;
    left: 0;
    bottom: 0;
    z-index: 200;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding-bottom: 60px;
}
    

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    flex: 1;
    width: 100%;
    height: 70%;
    object-fit: cover;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    position: relative;
}

.slide-image img {
    width: auto;
    height: 80%;
    object-fit: cover;
}

.likes-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #e74c3c;
    box-shadow: 0 10px 12px rgba(0.1, 0, 0.1, 0.1);
    transition: transform 0.2s ease;
}

.likes-counter:hover {
    transform: scale(1.05);
}

.like-icon {
    font-size: 16px;
    color: #e74c3c;
}

.slide-info {
    padding: 20px;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, #0e95fb, #0217fa);
}

.product-description {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price {
    font-size: 24px;
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-code {
    font-size: 20px;
    color: #fac506;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-button:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 600px) {
    .slider-container {
       /* height: 500px;
        margin: 10px;*/
        border-radius: 15px;
    }

    .slide-info {
        padding: 15px;
    }

    .product-description {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .product-code {
        font-size: 20px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev-button {
        left: 10px;
    }

    .next-button {
        right: 10px;
    }

    .likes-counter {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .slider-dots {
        bottom: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 100px) {
    .slider-container {
       /* height: 450px;*/
        border-radius: 10px;
    }

    .slide-info {
        padding: 12px;
    }

    .product-description {
        font-size: 14px;
    }

    .product-price {
        font-size: 18px;
    }

    .likes-counter {
        font-size: 11px;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Animaciones adicionales */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-enter {
    animation: slideIn 0.5s ease-out;
}

.slide-exit {
    animation: slideOut 0.5s ease-out;
}