/* grid za kategorije on sale */
.kartica {
        transition: transform 300ms ease-out, box-shadow 300ms ease-out;
}
.kartica:hover {
        transform: translateY(-4px);
        box-shadow: rgba(231, 72, 22, 0.5) 3px 8px 16px;
}
.karticacta {
        background-color: rgba(231, 72, 22, 0);
        transition: background-color 300ms ease-out;
}
.kartica:hover .karticacta {
        background-color: rgba(231, 72, 22, 0.8);
        color: #FFFFFF;
}
.kartica {
        height: 320px;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        background-color: #FFFFFF;
        cursor: pointer;
        overflow: hidden;
}
.kartica h2 {
        color: #0D0D0D;
        font-size: 18px;
        line-height: 28px;
        font-weight: 600;
        font-style: italic;
        text-transform: uppercase;
        margin-bottom: 10px;
        margin-top: 0;
}
.karticaimage {
        position: relative;
        width: 150%;
        max-width: 150%;
        right: 25%;
        bottom: 20px;
}
.karticacta {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        position: absolute;
        bottom: 0;
        left: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        width: 100%;
        height: 44px;
        line-height: 44px;
        background-color: rgba(255, 255, 255, 0.8);
        color: #E74816;
        transition: background-color 300ms ease-out, color 300ms ease-out;
}

/* grid in styling za slider kategorije on sale in novi izdelki */
/* ── GRID ── */
.ds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 639px) {
    .ds-grid { grid-template-columns: 1fr; }
}

.ds-col { min-width: 0; }

@media (min-width: 640px) {
    .ds-grid {
        position: relative;
        gap: 24px;
    }
    .ds-grid::after {
        content: '';
        position: absolute;
        left: calc(50% - 0.5px);
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: rgba(231, 72, 22, 0.08);
        pointer-events: none;
    }
}

/* ── SLIDER HEADER ── */
.ds-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ds-slider-header h3 { margin: 0; font-size: 18px; font-weight: 700; }
.ds-slider-header h3 span { color: #E74816; }
.ds-slider-header .ds-arrows { display: flex; gap: 2px; align-items: center; font-size: 40px; }

/* ── SKUPNA OSNOVA KARTICE ── */
.sl-card {
    display: flex;
    flex-direction: column;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
}
.sl-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(231, 72, 22, 0.5) 3px 8px 16px;
}
.sl-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 0;
}

/* ── IZDELEK kartica ── */
.sl-prod-img-wrap {
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    overflow: hidden;
}
.sl-prod-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sl-prod-content {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.sl-prod-mfr {
    font-size: 12px;
    font-weight: 500;
    font-style: italic;
    color: #0D0D0D;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}
.sl-prod-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #0D0D0D;
    flex-shrink: 0;
    margin-bottom: 8px;
}
.sl-prod-ratings {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-bottom: 4px;
}
.sl-prod-review-count { font-size: 11px; color: #777; }
.sl-prod-price {
    font-size: 18px;
    font-weight: 700;
    color: #E74816;
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: auto;
}
/* ── DOTNAV ── */
.ds-dotnav {
    display: flex;
    justify-content: center;
    padding: 12px 0 0;
    margin: 0;
}