/* ===== Portfolio Mockups Marquee ===== */

.sp-mockups {
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    background: var(--color-bg, #0b0b0b);
}

.sp-mockups__viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.sp-mockups__viewport.is-dragging {
    cursor: grabbing;
}

.sp-mockups__track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    will-change: transform;
    user-select: none;
}

.sp-mockups__item {
    flex: 0 0 auto;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sp-mockups__image {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Type-based sizing hints (image aspect ratio drives width; cap extremes) */
.sp-mockups__item--mobile   { height: 60vh; }
.sp-mockups__item--laptop   { height: 55vh; }
.sp-mockups__item--tablet   { height: 58vh; }
.sp-mockups__item--brochure { height: 50vh; }
.sp-mockups__item--stationery { height: 50vh; }
.sp-mockups__item--packaging { height: 55vh; }
.sp-mockups__item--signage  { height: 55vh; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .sp-mockups {
        padding: 64px 0;
    }

    .sp-mockups__track {
        gap: 24px;
    }

    .sp-mockups__item,
    .sp-mockups__item--mobile,
    .sp-mockups__item--laptop,
    .sp-mockups__item--tablet,
    .sp-mockups__item--brochure,
    .sp-mockups__item--stationery,
    .sp-mockups__item--packaging,
    .sp-mockups__item--signage {
        height: 40vh;
    }
}
