/* ============================================================
   Seron Creations Slider  v4.0
   Header + Dots: inside .e-con-inner (Elementor container width)
   Slider images: full viewport width
   Transition: pure horizontal slide — NO fade
   ============================================================ */

/* ── Wrapper ── */
.seron-slider-wrapper {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

/* ── Header container: e-con-inner handles max-width + padding automatically ── */
.seron-header-container {
    margin-bottom: 24px;
}

/* ── Header row ── */
.seron-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.seron-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seron-subtitle-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.seron-subtitle-line {
    width: 36px;
    height: 1px;
    background: #bbb;
    display: inline-block;
    flex-shrink: 0;
}
.seron-subtitle {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
}
.seron-main-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* ── Navigation ── */
.seron-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.seron-nav-prev,
.seron-nav-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1a1a;
    padding: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.seron-nav-prev:hover,
.seron-nav-next:hover { opacity: 0.45; }
.seron-nav-line {
    display: inline-block;
    height: 1px;
    width: 48px;
    background: #aaa;
    flex-shrink: 0;
}

/* ── Viewport: full width, clips the infinite strip ── */
.seron-slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ── Track: horizontal flex strip, slides via translateX ── */
.seron-slider-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 420px;
    /* JS sets: transform + transition-duration */
}

/* ── Individual slides ── */
.seron-slide-item {
    flex: 0 0 auto;
    height: 100%;
    box-sizing: border-box;
    padding: 0 10px;           /* 20px visual gap between images */
    position: relative;
    overflow: hidden;
    opacity: 1 !important;    /* NEVER fade — always fully visible */
    /* JS sets: width, min-width, max-width */
}

.seron-slide-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.seron-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.seron-slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* ── Title overlay: only on center slide ── */
.seron-slide-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.90);
    text-align: center;
    padding: 16px 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.seron-slide-item.is-center .seron-slide-title-box {
    opacity: 1;
    transform: translateY(0);
}
.seron-slide-title-box span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Dots container: e-con-inner handles width ── */
.seron-dots-container {
    margin-top: 0;
}
.seron-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 0 4px;
}
.seron-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.seron-dot.is-active {
    width: 22px;
    border-radius: 5px;
    background: #1a1a1a;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .seron-main-title   { font-size: 24px; }
    .seron-slider-track { height: 320px; }
}
@media (max-width: 767px) {
    .seron-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .seron-main-title   { font-size: 20px; }
    .seron-slider-track { height: 260px; }
    .seron-nav-line     { width: 28px; }
    .seron-slide-item   { padding: 0; }
}
@media (max-width: 480px) {
    .seron-slider-track         { height: 220px; }
    .seron-slide-title-box span { font-size: 12px; }
}
