.noc-product-carousel {
    width: 100%;
    position: relative;
    margin: 40px auto;
    font-family: inherit;
}

.noc-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.noc-carousel-title {
    margin: 0;
    color: #252525;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.noc-carousel-controls {
    display: flex;
    gap: 10px;
}

.noc-carousel-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f28c18;
    color: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.noc-carousel-button:hover {
    background: #d97508;
    transform: translateY(-2px);
}

.noc-carousel-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    transform: none;
}

.noc-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.noc-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 15px;
}

.noc-carousel-track::-webkit-scrollbar {
    display: none;
}

.noc-product-card {
    flex: 0 0 calc((100% - 72px) / 5);
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.noc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.noc-product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
}

.noc-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.noc-product-card:hover .noc-product-image {
    transform: scale(1.05);
}

.noc-product-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 20px;
    background: #f28c18;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.noc-product-content {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 18px;
}

.noc-product-name {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.noc-product-name a {
    color: #252525;
    text-decoration: none;
}

.noc-product-name a:hover {
    color: #f28c18;
}

.noc-product-price {
    margin-bottom: 18px;
    color: #e32620;
    font-size: 18px;
    font-weight: 700;
}

.noc-product-price del {
    margin-right: 6px;
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 400;
}

.noc-product-price ins {
    text-decoration: none;
}

.noc-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.noc-product-view,
.noc-product-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.noc-product-view {
    flex: 1;
    border: 1px solid #dedede;
    background: #ffffff;
    color: #333333;
}

.noc-product-view:hover {
    border-color: #f28c18;
    color: #f28c18;
}

.noc-product-cart {
    border: 1px solid #f28c18;
    background: #f28c18;
    color: #ffffff;
}

.noc-product-cart:hover {
    border-color: #d97508;
    background: #d97508;
    color: #ffffff;
}

.noc-carousel-vacio,
.noc-carousel-error {
    padding: 20px;
    border-radius: 8px;
    background: #f7f7f7;
    color: #555555;
    text-align: center;
}

@media (max-width: 1200px) {
    .noc-product-card {
        flex-basis: calc((100% - 54px) / 4);
    }
}

@media (max-width: 992px) {
    .noc-product-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 768px) {
    .noc-carousel-title {
        font-size: 24px;
    }

    .noc-product-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .noc-product-actions {
        flex-direction: column;
    }

    .noc-product-view,
    .noc-product-cart {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .noc-product-carousel {
        margin: 28px auto;
    }

    .noc-carousel-header {
        align-items: flex-end;
    }

    .noc-carousel-title {
        font-size: 21px;
    }

    .noc-carousel-button {
        width: 38px;
        height: 38px;
    }

    .noc-product-card {
        flex-basis: 82%;
    }
}