/*
 * Müezzinoğlu 1.9 — structural homepage fix.
 * Loaded last. Targets the actual Elementor root, not only inner sections.
 */

body.fem-muezzinoglu.home {
    --mz19-dark: #0b110c;
    --mz19-dark-2: #111b13;
    --mz19-lime: #d9d86b;
    --mz19-paper: #f3efe2;
    --mz19-serif: 'Fraunces', Georgia, serif;
    --mz19-sans: 'Manrope', Arial, sans-serif;
}

/* Full-width top shell: page root + Elementor document + hero. */
@media (min-width: 821px) {
    html,
    body.fem-muezzinoglu.home,
    body.fem-muezzinoglu.home #page,
    body.fem-muezzinoglu.home #primary,
    body.fem-muezzinoglu.home #primary > .elementor {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.fem-muezzinoglu.home #primary > .elementor {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    body.fem-muezzinoglu.home .fem-site-header {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(8, 15, 9, .98) !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.fem-muezzinoglu.home .fem-site-header .fem-header {
        width: min(calc(100% - 48px), 1480px) !important;
        max-width: 1480px !important;
        min-height: 70px !important;
        margin: 0 auto !important;
        padding: 8px 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero,
    body.fem-muezzinoglu.home .muez-home-hero.elementor-section,
    body.fem-muezzinoglu.home .muez-home-hero.e-con {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero > .elementor-container,
    body.fem-muezzinoglu.home .muez-home-hero > .e-con-inner,
    body.fem-muezzinoglu.home .muez-home-hero .elementor-column,
    body.fem-muezzinoglu.home .muez-home-hero .elementor-widget-wrap,
    body.fem-muezzinoglu.home .muez-home-hero .elementor-widget,
    body.fem-muezzinoglu.home .muez-home-hero .elementor-widget-container,
    body.fem-muezzinoglu.home .muez-home-hero .fem-hero {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero .fem-hero--editorial {
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: clamp(720px, 78vh, 900px) !important;
        margin: 0 !important;
        padding: 42px clamp(28px, 5vw, 82px) 52px !important;
        border-radius: 0 !important;
        background: var(--mz19-dark) !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero .fem-hero__layout {
        width: min(calc(100% - 24px), 1480px) !important;
        max-width: 1480px !important;
        min-height: 620px !important;
        margin: 0 auto !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero .fem-hero__media {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
    }

    body.fem-muezzinoglu.home .muez-home-hero .fem-hero__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Desktop must never show the old cut-out product stage. */
    body.fem-muezzinoglu.home .muez-home-hero .fem-hero__stage {
        display: none !important;
    }
}

/* Approved mobile hero remains the old contained product composition. */
@media (max-width: 820px) {
    body.fem-muezzinoglu.home .muez-home-hero .fem-hero__media {
        display: none !important;
    }
}

/* Old soft compact buttons, only font family is aligned to the brand kit. */
body.fem-muezzinoglu.home .fem-button,
body.fem-muezzinoglu.home .fem-header__cta {
    min-height: 48px !important;
    padding: 0 19px !important;
    border-radius: 13px !important;
    font-family: var(--mz19-sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: -.01em !important;
}
body.fem-muezzinoglu.home .fem-header__cta {
    min-height: 42px !important;
    padding-inline: 16px !important;
    border-radius: 12px !important;
}

/* New one-piece production component. */
body.fem-muezzinoglu.home .muez-home-production {
    position: relative !important;
    overflow: hidden !important;
    background: var(--mz19-dark) !important;
}

body.fem-muezzinoglu.home .muez-home-production > .elementor-container,
body.fem-muezzinoglu.home .muez-home-production > .e-con-inner {
    width: min(calc(100% - 48px), 1320px) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

body.fem-muezzinoglu.home .muez-home-production .elementor-widget-femland-production-showcase,
body.fem-muezzinoglu.home .muez-home-production .elementor-widget-femland-production-showcase > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.fem-muezzinoglu.home .fem-production-showcase {
    width: 100%;
    color: #f5f3e9;
    font-family: var(--mz19-sans);
}

body.fem-muezzinoglu.home .fem-production-showcase__top {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: clamp(54px, 6vw, 92px);
    align-items: center;
}

body.fem-muezzinoglu.home .fem-production-showcase__visual {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, .65fr);
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    width: 100%;
    height: clamp(500px, 42vw, 610px);
    min-height: 0;
}

body.fem-muezzinoglu.home .fem-production-showcase figure {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: #172019;
}

body.fem-muezzinoglu.home .fem-production-showcase__main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

body.fem-muezzinoglu.home .fem-production-showcase__side {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

body.fem-muezzinoglu.home .fem-production-showcase img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    transform: none !important;
}

body.fem-muezzinoglu.home .fem-production-showcase__copy {
    min-width: 0;
}

body.fem-muezzinoglu.home .fem-production-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--mz19-lime);
    font-family: var(--mz19-sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
body.fem-muezzinoglu.home .fem-production-showcase__eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: '';
}

body.fem-muezzinoglu.home .fem-production-showcase__title {
    max-width: 620px;
    margin: 0 0 20px;
    color: #f7f5eb !important;
    font-family: var(--mz19-serif) !important;
    font-size: clamp(40px, 4.4vw, 62px) !important;
    font-weight: 600 !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

body.fem-muezzinoglu.home .fem-production-showcase__text {
    max-width: 590px;
    margin: 0 0 24px;
    color: rgba(245,243,233,.66) !important;
    font-size: 14px;
    line-height: 1.78;
}

body.fem-muezzinoglu.home .fem-production-showcase__benefits {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
body.fem-muezzinoglu.home .fem-production-showcase__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 12px;
    color: rgba(247,245,235,.78);
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    font-size: 11.5px;
}
body.fem-muezzinoglu.home .fem-production-showcase__benefits .fem-icon {
    flex: 0 0 auto;
    color: var(--mz19-lime);
}

body.fem-muezzinoglu.home .fem-production-showcase__process {
    margin-top: clamp(74px, 8vw, 112px);
    padding-top: clamp(50px, 6vw, 74px);
    border-top: 1px solid rgba(255,255,255,.10);
}

body.fem-muezzinoglu.home .fem-production-showcase__process-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 36px;
}
body.fem-muezzinoglu.home .fem-production-showcase__process-head h3 {
    max-width: 680px;
    margin: 0;
    color: #f7f5eb !important;
    font-family: var(--mz19-serif) !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.03em !important;
}
body.fem-muezzinoglu.home .fem-production-showcase__process-head > p {
    margin: 0;
    color: rgba(245,243,233,.56) !important;
    font-size: 13px;
    line-height: 1.7;
}

body.fem-muezzinoglu.home .fem-production-showcase__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
body.fem-muezzinoglu.home .fem-production-showcase__step {
    min-width: 0;
    min-height: 190px;
    padding: 22px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
}
body.fem-muezzinoglu.home .fem-production-showcase__step > span {
    display: block;
    margin-bottom: 34px;
    color: var(--mz19-lime);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}
body.fem-muezzinoglu.home .fem-production-showcase__step h4 {
    margin: 0 0 9px;
    color: #f7f5eb !important;
    font-family: var(--mz19-serif) !important;
    font-size: 21px !important;
    line-height: 1.15;
}
body.fem-muezzinoglu.home .fem-production-showcase__step p {
    margin: 0;
    color: rgba(245,243,233,.55) !important;
    font-size: 11.5px;
    line-height: 1.65;
}

/* Fallback for an already-cached pre-migration production DOM. */
body.fem-muezzinoglu.home .muez-home-production .elementor-widget-femland-media-text,
body.fem-muezzinoglu.home .muez-home-production .elementor-widget-femland-process-steps {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    transform: none !important;
}
body.fem-muezzinoglu.home .muez-home-production .elementor-widget-femland-process-steps {
    margin-top: 96px !important;
    padding-top: 64px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
}

@media (max-width: 980px) {
    body.fem-muezzinoglu.home .fem-production-showcase__top {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__visual {
        height: 560px;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__process-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.fem-muezzinoglu.home .muez-home-production > .elementor-container,
    body.fem-muezzinoglu.home .muez-home-production > .e-con-inner {
        width: min(calc(100% - 28px), 1320px) !important;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__visual {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 150px;
        height: auto;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__main {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__side {
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    body.fem-muezzinoglu.home .fem-production-showcase figure {
        border-radius: 15px;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__steps {
        grid-template-columns: 1fr;
    }
    body.fem-muezzinoglu.home .fem-production-showcase__step {
        min-height: 0;
    }
}
