.opce-carousel-wrap {
    --opce-brand: #FF5705;
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    direction: inherit;
}

.opce-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (20px * (var(--opce-slides) - 1))) / var(--opce-slides));
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px;
    width: 100%;
}

.opce-carousel::-webkit-scrollbar {
    display: none;
}

.opce-product-card {
    scroll-snap-align: start;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    text-align: center;
}

.opce-product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.opce-product-title {
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
    font-weight: 700;
}

.opce-product-title a {
    color: var(--opce-brand);
    text-decoration: none;
}

.opce-product-price {
    font-weight: 800;
    font-size: 20px;
    margin-top: auto;
    color: #333333;
}

.opce-product-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 11px 18px;
    color: #111827;
    background: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.opce-product-button:hover {
    border-color: var(--opce-brand);
    color: var(--opce-brand);
}

.opce-nav {
    border: 0;
    border-radius: 12px;
    width: 44px;
    min-width: 44px;
    align-self: stretch;
    background: var(--opce-brand);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.opce-nav:hover {
    opacity: 0.9;
}

.opce-view-more-wrap {
    text-align: center;
    margin-top: 26px;
}

.opce-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 34px;
    background-color: var(--opce-brand);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
}

.opce-view-more:hover {
    color: #ffffff;
    opacity: 0.9;
}

.opce-empty {
    padding: 16px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .opce-carousel {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}

@media (max-width: 640px) {
    .opce-carousel {
        grid-auto-columns: 85%;
    }

    .opce-nav {
        width: 34px;
        min-width: 34px;
        font-size: 28px;
    }
}
