.-ycwt-maher_app_banner {
    --mab-gold: var(--mah-gold, #ffc400);
    padding: 68px 0 !important;
    overflow: hidden;
    background: #090a0a;
    color: #151615;
    font-family: "Tajawal", sans-serif;
}

.-ycwt-maher_app_banner * {
    box-sizing: border-box;
}

.-ycwt-maher_app_banner .mab {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid #dfaa00;
    border-radius: 18px;
    background: var(--mab-gold);
    box-shadow: 0 20px 46px rgb(162 112 0 / 16%);
    isolation: isolate;
}

.-ycwt-maher_app_banner .mab::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 340px;
    inset-inline-end: -160px;
    bottom: -180px;
    border-radius: 50%;
    background: #151615;
    transform: rotate(-12deg);
}

.-ycwt-maher_app_banner .mab::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 170px;
    height: 170px;
    inset-inline-start: -75px;
    top: -90px;
    border: 1px solid rgb(21 22 21 / 20%);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgb(21 22 21 / 5%);
}

.-ycwt-maher_app_banner .mab-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    flex: 1 1 60%;
    padding: 60px 68px;
}

.-ycwt-maher_app_banner .mab-copy h2 {
    margin: 0;
    color: #090a0a;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.2;
}

.-ycwt-maher_app_banner .mab-copy p {
    max-width: 590px;
    margin: 15px 0 0;
    color: rgb(21 22 21 / 72%);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
}

.-ycwt-maher_app_banner .mab-links {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.-ycwt-maher_app_banner .mab-store {
    min-width: 164px;
    min-height: 55px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #090a0a;
    border-radius: 11px;
    background: #090a0a;
    color: #fff;
    direction: ltr;
    box-shadow: 0 10px 24px rgb(9 10 10 / 16%);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.-ycwt-maher_app_banner .mab-store i {
    flex: 0 0 auto;
    font-size: 27px;
}

.-ycwt-maher_app_banner .mab-store span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: Outfit, sans-serif;
    font-size: 11px;
    line-height: 1.05;
}

.-ycwt-maher_app_banner .mab-store strong {
    margin-top: 3px;
    font-size: 16px;
    font-weight: 700;
}

.-ycwt-maher_app_banner .mab-phone {
    position: relative;
    z-index: 2;
    align-self: stretch;
    min-width: 330px;
    flex: 0 1 40%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 24px;
}

.-ycwt-maher_app_banner .mab-phone img {
    width: 100%;
    height: 100%;
    max-height: 455px;
    object-fit: contain;
    object-position: center bottom;
}

.-ycwt-maher_app_banner .mab-phone > span {
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 105px;
}

.-ycwt-maher_app_banner .mab-store:focus-visible {
    outline: 3px solid rgb(21 22 21 / 35%);
    outline-offset: 3px;
}

@media (hover: hover) {
    .-ycwt-maher_app_banner .mab-store:hover {
        background: #151615;
        color: var(--mab-gold);
        box-shadow: 0 14px 30px rgb(9 10 10 / 24%);
        transform: translateY(-3px);
    }
}

@media (max-width: 1100px) {
    .-ycwt-maher_app_banner {
        padding: 56px 0 !important;
    }

    .-ycwt-maher_app_banner .mab-copy {
        padding: 52px 43px;
    }

    .-ycwt-maher_app_banner .mab-phone {
        min-width: 285px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .-ycwt-maher_app_banner {
        /* Match the section's existing important spacing. */
        padding: 42px 0 !important;
    }

    .-ycwt-maher_app_banner .container {
        padding-inline: 24px;
    }

    .-ycwt-maher_app_banner .mab {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        direction: inherit;
        text-align: start;
        overflow-wrap: anywhere;
    }

    .-ycwt-maher_app_banner .mab::before {
        width: 100%;
        height: 100px;
        inset-inline: 0;
        bottom: 0;
        transform: none;
    }

    .-ycwt-maher_app_banner .mab-copy {
        width: 100%;
        padding: 32px;
        background: var(--mab-gold);
    }

    .-ycwt-maher_app_banner .mab-copy p {
        margin-inline: auto;
    }

    .-ycwt-maher_app_banner .mab-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
        align-items: stretch;
        gap: 10px;
        margin-block-start: 22px;
    }

    .-ycwt-maher_app_banner .mab-store {
        min-inline-size: 0;
        max-inline-size: 100%;
        padding-block: 12px;
        padding-inline: 12px;
        white-space: normal;
        touch-action: manipulation;
    }

    .-ycwt-maher_app_banner .mab-store span {
        min-inline-size: 0;
        line-height: 1.35;
        text-align: start;
    }

    .-ycwt-maher_app_banner .mab-store:active {
        color: var(--mab-gold);
        box-shadow: inset 0 0 0 2px currentColor;
        transform: none;
    }

    .-ycwt-maher_app_banner .mab-phone {
        width: 100%;
        min-width: 0;
        height: auto;
        align-self: end;
    }

    .-ycwt-maher_app_banner .mab-phone picture {
        display: block;
        inline-size: 100%;
    }

    .-ycwt-maher_app_banner .mab-phone img {
        display: block;
        block-size: auto;
        aspect-ratio: 4 / 5;
        max-block-size: 340px;
        object-fit: contain;
    }
}

/* Mobile App Experience */
@media (max-width: 680px) {
    .-ycwt-maher_app_banner {
        /* Match the section's existing important spacing. */
        padding: 28px 0 !important;
    }

    .-ycwt-maher_app_banner .container {
        padding-inline: 16px;
    }

    .-ycwt-maher_app_banner .mab {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 15px;
    }

    .-ycwt-maher_app_banner .mab-copy {
        padding: 24px 20px 18px;
    }

    .-ycwt-maher_app_banner .mab-copy h2 {
        font-size: clamp(28px, 6vw, 36px);
        line-height: 1.3;
    }

    .-ycwt-maher_app_banner .mab-copy p {
        font-size: 15px;
    }

    .-ycwt-maher_app_banner .mab-phone {
        inline-size: min(100%, 260px);
        padding-block-start: 0;
        margin-inline: auto;
    }

    .-ycwt-maher_app_banner .mab-phone img {
        aspect-ratio: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .-ycwt-maher_app_banner .mab-store {
        transition: none;
    }
}
