/* ═══════════════════════════════════════════
   Slide Equipamentos Industriais — CSS
   ═══════════════════════════════════════════ */

.sei-wrap, .sei-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.sei-wrap { font-family: 'Montserrat', sans-serif; width: 100%; overflow: hidden; }

/* ═══ Search Bar ═══ */
.sei-search-bar {
    display: flex;
    align-items: flex-end;
    gap: 0;
    max-width: 350px;
    margin: 0 auto 40px;
    border-bottom: 1px solid #C7C7C7;
    padding-bottom: 0;
}
.sei-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}
.sei-search-icon { width: 24px; height: 24px; flex-shrink: 0; margin-left: 20px; }
.sei-search-icon path { stroke: #71A550; }
.sei-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #383A42;
    background: transparent;
    padding: 4px 0;
}
.sei-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.sei-search-input::placeholder { color: #ABB7C2; font-family: 'Poppins', sans-serif; font-size: 15px; }
.sei-filter-btn {
    width: 44px; height: 44px;
    background: #71A550 !important; border: none !important; border-radius: 5px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.3s;
    margin-bottom: -1px;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}
.sei-filter-btn:hover { background: #59823F !important; }
.sei-filter-btn:focus,
.sei-filter-btn:active { background: #71A550 !important; outline: none !important; box-shadow: none !important; }

/* ═══ Slider ═══ */
.sei-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
}

.sei-slider-track {
    display: flex;
    gap: 80px;
    transition: transform 0.5s ease;
    cursor: grab;
    padding: 5px 0 20px;
    user-select: none;
    -webkit-user-select: none;
}
.sei-slider-track:active { cursor: grabbing; }

.sei-slide {
    flex: 0 0 394px;
    width: 394px;
}

/* ═══ Card ═══ */
.sei-card {
    width: 394px;
    height: 443px;
    background: #FFFFFF;
    border-radius: 15px;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.sei-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ═══ Card sem imagem ═══ */
.sei-card-no-img {
    height: auto;
    min-height: 120px;
}

/* ═══ Image Area ═══ */
.sei-card-img {
    width: 363px;
    height: 321px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: transparent;
    flex-shrink: 0;
}
.sei-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s;
}
.sei-card-photo.active { opacity: 1; }

/* ═══ Dots (same style) ═══ */
.sei-card-dots {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}
.sei-card-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #B6BAC3;
    cursor: pointer;
    transition: all 0.3s;
}
.sei-card-dot.active {
    width: 25px;
    height: 11px;
    border-radius: 6px;
    background: #71A550;
}

/* ═══ Card Body ═══ */
.sei-card-body {
    width: 100%;
    padding: 22px 5px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sei-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #383A42;
    line-height: 1.25;
}
.sei-card-short {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #383A42;
    line-height: 1.25;
}

/* ═══ Button (half in / half out) ═══ */
.sei-card-btn {
    position: absolute;
    bottom: -17.5px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 0 28px;
    background: #71A550;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 36px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    z-index: 3;
}
.sei-card-btn:hover {
    background: #59823F;
    color: #FFFFFF;
    text-decoration: none;
}

/* ═══ No Results ═══ */
.sei-no-results {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #999;
    padding: 60px 20px;
}

/* ═══ Hidden slides during search ═══ */
.sei-slide.sei-hidden {
    display: none;
}

/* ═══ Tablet ═══ */
@media (max-width: 1024px) {
    .sei-slider-track {
        gap: 40px;
    }
    .sei-slide {
        flex: 0 0 340px;
        width: 340px;
    }
    .sei-card {
        width: 340px;
        height: auto;
        min-height: 400px;
    }
    .sei-card-img {
        width: 310px;
        height: 275px;
    }
}

/* ═══ Mobile ═══ */
@media (max-width: 767px) {
    .sei-slider-track {
        gap: 40px;
    }
    .sei-slide {
        flex: 0 0 300px;
        width: 300px;
    }
    .sei-card {
        width: 300px;
        min-height: 370px;
    }
    .sei-card-img {
        width: 270px;
        height: 240px;
    }
    .sei-card-title,
    .sei-card-short {
        font-size: 16px;
    }
}

/* ═══ Image Link ═══ */
.sei-card-img-link {
    text-decoration: none;
    display: block;
}
