/**
 * Modul Cadouri V2 - carousel navigation (ported from V1)
 */

.cadou-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.cadou-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 -10px;
    padding: 10px 0;
}

.cadou-item {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 10px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cadou-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cadou-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cadou-nav:hover {
    background: #f0c14b;
    color: #fff;
}

.cadou-prev {
    left: 0;
}

.cadou-next {
    right: 0;
}

.cadou-nav span {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

@media (max-width: 768px) {
    .cadou-item {
        width: 200px;
    }

    .cadou-nav {
        width: 35px;
        height: 35px;
    }
}
