/* Hide the original showcase track */
.sw-product-showcase .sw-product-showcase-track { display: none !important; }

/* Carousel wrapper */
.sunry-showcase-carousel {
    overflow: hidden;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Continuous marquee animation */
.sunry-marquee-track {
    display: flex;
    width: max-content;
    animation: sunry-scroll 30s linear infinite;
}
.sunry-showcase-carousel:hover .sunry-marquee-track {
    animation-play-state: paused;
}
@keyframes sunry-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Slide */
.sunry-marquee-slide {
    flex: 0 0 285px;
    margin-right: 24px;
}

/* Card */
.sunry-app-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    height: 100%;
}
.sunry-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border-color: transparent;
}

/* Image */
.sunry-app-card__img {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #d9e2ec;
}
.sunry-app-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.sunry-app-card:hover .sunry-app-card__img img {
    transform: scale(1.06);
}
.sunry-app-card__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 100%);
    pointer-events: none;
}

/* Badge on image */
.sunry-app-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #1A4FA3;
    letter-spacing: .3px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sunry-app-card__badge svg {
    width: 12px;
    height: 12px;
}

/* Card body */
.sunry-app-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sunry-app-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #0E1E3F;
    margin-bottom: 8px;
    line-height: 1.35;
}
.sunry-app-card__desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* CTA button */
.sunry-app-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #1A4FA3;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    margin-top: auto;
}
.sunry-app-card__cta svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}
.sunry-app-card:hover .sunry-app-card__cta {
    background: #FF6B35;
}
.sunry-app-card:hover .sunry-app-card__cta svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .sunry-showcase-carousel { padding: 0 24px; }
    .sunry-marquee-slide { flex: 0 0 260px; margin-right: 20px; }
}
@media (max-width: 640px) {
    .sunry-showcase-carousel { padding: 0 12px; }
    .sunry-marquee-slide { flex: 0 0 220px; margin-right: 16px; }
    .sunry-app-card__img { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
    .sunry-marquee-track { animation: none; }
}