.carousel-container {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 50px;
}

.carousel-container .col-lg-4 {
    margin-top: 0;
}

.carousel-column {
    height: 1000px;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.carousel-column.dragging {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    user-select: none;
}

.carousel-column:hover .carousel-track,
.carousel-track.paused {
    animation-play-state: paused !important;
}

/* animații generale */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    height: 400px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-name {
    font-weight: 600;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    font-family: 'Proxima Nova';
    font-style: normal;
    font-size: 14px;
}

.product-price-naming {
    font-family: Proxima Nova;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.product-price {
    position: relative;
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
    color: #e63946;
    width: fit-content;
}

.product-price .decimals {
    font-size: 11px; /* jumătate din înălțimea valorii întregi */
    position: absolute;
    bottom: -3px; /* poziționează zecimalele în partea de jos */
    left: 101%; /* la dreapta valorii întregi */
    transform: translateX(2px); /* mic spațiu între valoarea întreagă și zecimale */
}

.product-price .lei {
    font-size: 9px; /* jumătate din înălțimea valorii întregi */
    position: absolute;
    bottom: 6px; /* suprapus peste zecimale */
    left: 101%;
    transform: translateX(2px);
    color: #e63946;
}

/* offset inițial pentru desktop */
.carousel-column[data-column="1"] .carousel-track {
    animation: scrollUp 80s linear infinite;
    transform: translateY(-160px);
}

.carousel-column[data-column="2"] .carousel-track {
    animation: scrollDown 80s linear infinite;
    transform: translateY(0px);
}

.carousel-column[data-column="3"] .carousel-track {
    animation: scrollUp 80s linear infinite;
    transform: translateY(-80px);
}

@media (max-width: 768px) {
    .carousel-column {
        height: 800px;
    }

    .carousel-column[data-column="1"] .carousel-track {
        transform: translateY(-160px);
        animation: scrollUp 80s linear infinite;
    }

    .carousel-column[data-column="2"] .carousel-track {
        transform: translateY(0px);
        animation: scrollDown 80s linear infinite;
    }

    .col-lg-4.d-none.d-lg-block {
        display: none !important;
    }
}

.owl-carousel .item {
    padding: 25px;
}

.owl-carousel .owl-item img {
    display: block;
    width: unset;
    margin: auto;
}

.custom-item {
    max-width: 100%;
    margin: auto;
}

.owl-prev img, .owl-next img {
    max-width: 70px;
}

.owl-prev, .owl-next {
    position: absolute;
    top: 40%;
}

.owl-prev {
    left: -4%;
}

.owl-next {
    right: -4%;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
}

.owl-carousel .custom-item .max-25 {
    max-width: 25px;
    height: 25px;
}

.owl-carousel .custom-item img {
    height: 240px;
    width: 260px;
    object-fit: contain;
}

.owl-carousel .item {
    background: #fff;
    border-radius: 30px;
    padding-bottom: 10px;
}