/* ===========================
   INFINITE PRODUCT SLIDER
=========================== */
.wc-slider-section {
    padding: 40px 0 30px;
    background: #fff;
    overflow: hidden;
    border-top: 1px solid #f0f4f6;
    border-bottom: 1px solid #f0f4f6;
    position: relative;
}

.wc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 20px;
}

.wc-slider-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.wc-slider-view-all {
    font-size: 13px;
    font-weight: 500;
    color: #02577E;
    text-decoration: none;
    transition: gap 0.2s;
}

.wc-slider-view-all:hover {
    text-decoration: underline;
}

/* Track container — fades at edges */
.wc-track-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wc-track-outer::before,
.wc-track-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.wc-track-outer::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.wc-track-outer::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* The moving track */
.wc-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    padding: 10px 0 16px;
}

/* Individual card */
.wc-slide-card {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8eef0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.wc-slide-card:hover {
    border-color: #5CB3C4;
    box-shadow: 0 8px 24px rgba(92, 179, 196, 0.18);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

/* Badge */
.wc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wc-badge--new {
    background: #e8f7f9;
    color: #02577E;
    border: 1px solid #b8dfe6;
}

.wc-badge--featured {
    background: #fff4e0;
    color: #b45309;
    border: 1px solid #fcd97a;
}

/* Product image */
.wc-slide-img-wrap {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f4f7f9;
}

.wc-slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.wc-slide-card:hover .wc-slide-img-wrap img {
    transform: scale(1.06);
}

/* Card info */
.wc-slide-info {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.wc-slide-cat {
    font-size: 10px;
    font-weight: 600;
    color: #5CB3C4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-slide-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wc-slide-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.wc-slide-price {
    font-size: 13px;
    font-weight: 700;
    color: #02577E;
}

.wc-slide-price .amount {
    color: #02577E;
}

.wc-slide-stars {
    font-size: 11px;
    color: #f59e0b;
    letter-spacing: 1px;
}

/* Pause / Play controls */
.wc-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.wc-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #d1e4ea;
    background: #fff;
    color: #02577E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.wc-ctrl-btn:hover {
    background: #02577E;
    border-color: #02577E;
    color: #fff;
}

.wc-ctrl-btn svg rect,
.wc-ctrl-btn svg path {
    fill: currentColor;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .wc-slide-card {
        width: 170px;
    }

    .wc-slide-img-wrap {
        height: 125px;
    }

    .wc-slider-title {
        font-size: 17px;
    }

    .wc-track-outer::before,
    .wc-track-outer::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .wc-slide-card {
        width: 150px;
    }

    .wc-slide-img-wrap {
        height: 110px;
    }

    .wc-slide-title {
        font-size: 12px;
    }

    .wc-slider-header {
        padding: 0 12px;
    }
}