/* ── Durofloor Slider ────────────────────────────────────────────────────── */

.wilsl-slider {
    width: 100%;
    max-width: 100%;
    user-select: none;
}

/* ── Image area ─────────────────────────────────────────────────────────── */

.wilsl-image-area {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0ede8;
}

.wilsl-slide {
    display: none;
    width: 100%;
}

.wilsl-slide.active {
    display: block;
    animation: wilsl-fadein 0.4s ease;
}

@keyframes wilsl-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.wilsl-slide img.wilsl-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.wilsl-slide-link {
    display: block;
    line-height: 0;
}

/* ── Tab row ─────────────────────────────────────────────────────────────── */

.wilsl-tab-row {
    display: flex;
    /* No border-top — tabs carry their own top border */
}

.wilsl-tab {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #555;

    /* All tabs: thick light-grey top border, no side/bottom borders */
    border-top: 4px solid #d0d0d0;
    border-right: none;
    border-bottom: none;
    border-left: none;

    /* Slightly darker background for all tabs */
    background: #efefef;

    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
    line-height: 1.4;
}

/* Active tab: thick red top border, darker background */
.wilsl-tab.active {
    border-top-color: #cc0000;
    background: #e0e0e0;
    color: #222;
}

/* Hover: same style as active */
.wilsl-tab:hover {
    border-top-color: #cc0000;
    background: #e0e0e0;
    color: #222;
    text-decoration: none;
}

/* ── Tab icon ────────────────────────────────────────────────────────────── */

.wilsl-tab-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wilsl-tab-icon-wrap img.wilsl-tab-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 2px;
}

/* ── Tab text content ────────────────────────────────────────────────────── */

.wilsl-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.wilsl-tab-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wilsl-tab-text {
    display: block;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.35;
}

.wilsl-tab.active .wilsl-tab-text,
.wilsl-tab:hover  .wilsl-tab-text {
    color: #555;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media ( max-width: 600px ) {
    .wilsl-tab-row {
        flex-direction: column;
    }
    .wilsl-tab {
        border-top: none;
        border-left: 4px solid #d0d0d0;
    }
    .wilsl-tab.active,
    .wilsl-tab:hover {
        border-left-color: #cc0000;
    }
}
