/* ════════════════════════════════════════════════════════════
   FCM Hero Slider — front-end styles
   Matches Figma node 66:269
   ════════════════════════════════════════════════════════════ */


.fcm-hs,
.fcm-hs * {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.fcm-hs {
    position: relative;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 440px;


/* ── Track & slides ──────────────────────────────────────── */
.fcm-hs__track {
    position: relative;
    width: 100%;
    height: 440px;
}

/* Divi wraps each child in extra divs — make them fill the track */
.fcm-hs__track > .et_pb_module {
    position: absolute;
    inset: 0;
}

.fcm-hs__track > .et_pb_module > .et_pb_module_inner {
    height: 100%;
}

.fcm-hs__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    padding: 30px 70px;
    z-index: 1;
}

.fcm-hs__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* ── Left: copy ──────────────────────────────────────────── */
.fcm-hs__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    max-width: 460px;
    flex-shrink: 0;
    z-index: 2;
}

.fcm-hs__label {
    font-size: 13px;
    font-weight: 700;
    color: #65ad1f;
    text-transform: uppercase;
    letter-spacing: 0.78px;
    line-height: 1.48;
    margin-bottom: 0;
}
 
.fcm-hs__title {
    font-size: 52px;
    font-weight: 700;
    color: #232323;
    line-height: 1.08;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

.fcm-hs__subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #232323;
    line-height: 1.48;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

/* ── Description ─────────────────────────────────────────── */
.fcm-hs__desc {
    font-size: 15px;
    font-weight: 400;
    color: rgba(35, 35, 35, 0.5);
    line-height: 1.48;
    margin: 0;
    padding: 0;
}

/* ── Tags / chips ────────────────────────────────────────── */
.fcm-hs__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.fcm-hs__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(35, 35, 35, 0.5);
    background: rgba(35, 35, 35, 0.05);
    border: 1px solid rgba(35, 35, 35, 0.2);
    line-height: 1.48;
    white-space: nowrap;
}

/* ── Badge (e.g. "Weighs only 11.9KG") ──────────────────── */
.fcm-hs__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    line-height: 1.48;
    margin-bottom: 10px;
}

.fcm-hs__badge-icon {
    display: flex;
    align-items: center;
    color: #65ad1f;
    line-height: 1;
}

.fcm-hs__badge-icon svg {
    width: 23px;
    height: 23px;
    color: #65ad1f;
}

.fcm-hs__badge-text {
    font-size: 13px;
    font-weight: 800;
    color: #232323;
}

.fcm-hs__badge-value {
    font-size: 18px;
    font-weight: 800;
    color: #232323;
}

/* ── CTA button ──────────────────────────────────────────── */
.fcm-hs__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 16px 29px;
    background: #65ad1f;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.78px;
    text-decoration: none;
    border-radius: 100px;
    line-height: 1.48;
    transition: background 0.2s ease;
    cursor: pointer;
    border: none;
}

.fcm-hs__btn:hover {
    background: #4e8c14;
    color: #fff !important;
}

.fcm-hs__btn i {
    font-size: 13px;
}

/* ── Right: image ────────────────────────────────────────── */
.fcm-hs__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3%;
    min-height: 380px;
    z-index: 1;
}

.fcm-hs__image img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ── Navigation arrows ───────────────────────────────────── */
.fcm-hs__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 2px 2px 4.5px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    z-index: 10;
    padding: 0;
    color: #65ad1f;
    font-size: 15px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.fcm-hs__arrow:hover {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.2);
}

.fcm-hs__arrow--prev {
    left: 12px;
}

.fcm-hs__arrow--next {
    right: 12px;
}

.fcm-hs__arrow--next i {
    transform: rotate(180deg);
}

/* ── Dot navigation ──────────────────────────────────────── */
.fcm-hs__dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 16px 0;
    z-index: 10;
}

.fcm-hs__dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.fcm-hs__dot.is-active {
    width: 31px;
    background: #65ad1f;
}

/* ── Divi overrides ──────────────────────────────────────── */
.et_pb_section .fcm-hs,
.et_pb_row .fcm-hs,
.et_pb_column .fcm-hs,
.et_pb_code_inner .fcm-hs,
.et_pb_module .fcm-hs {
    padding: 0;
    margin: 0 auto;
    overflow: visible;
}

.fcm-hs ul,
.fcm-hs li,
.fcm-hs p,
.fcm-hs h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .fcm-hs {
        min-height: auto;
        overflow: visible;
    }

    .fcm-hs__track {
        height: auto;
        min-height: 0;
        overflow: hidden;
        transition: height 0.4s ease;
    }

    .fcm-hs__track > .et_pb_module {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    .fcm-hs__track > .et_pb_module.fcm-slide-active,
    .fcm-hs__track > .et_pb_module:has(.fcm-hs__slide.is-active) {
        position: relative;
        overflow: visible;
    }

    .fcm-hs__slide {
        position: absolute;
        inset: 0;
        flex-direction: column;
        padding: 20px 16px;
        gap: 12px;
        height: auto;
    }

    .fcm-hs__slide.is-active {
        position: relative;
    }

    .fcm-hs__content {
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .fcm-hs__label {
        font-size: 12px;
    }

    .fcm-hs__title {
        font-size: 40px;
    }

    .fcm-hs__subtitle {
        font-size: 16px;
        color: #232323;
    }

    .fcm-hs__desc {
        font-size: 14px;
    }

    /* Full-width button with space-between on mobile */
    .fcm-hs__btn {
        justify-content: space-between;
        padding: 16px 29px;
        margin-bottom: 30px;
    }

    .fcm-hs__image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        margin: 0;
        border-radius: 4px;
        overflow: hidden;
    }

    .fcm-hs__image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        border-radius: 4px;
        margin: 0 auto;
        display: block;
        margin-bottom: 0;
    }

    /* Hide arrows, show dots on mobile */
    .fcm-hs__arrow {
        display: none;
    }

    .fcm-hs__dots {
        display: flex;
        position: relative;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .fcm-hs__title {
        font-size: 32px;
    }

    .fcm-hs__tags {
        justify-content: flex-start;
    }
    .fcm-hs__btn {
         width: 100%;
    }
}