/*
 * AnjomanMax v2.4 - FontIran
 * Licensed font files supplied by the project owner.
 */

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Thin.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Thin.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-ExLight.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-ExLight.woff") format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Light.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Regular.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Medium.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-SemiBold.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Bold.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-ExBold.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-ExBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AnjomanMax";
    src: url("../fonts/AnjomanMax/AnjomanMax-Black.woff2") format("woff2"),
         url("../fonts/AnjomanMax/AnjomanMax-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html,
body,
button,
input,
select,
textarea,
optgroup {
    font-family: "AnjomanMax", Tahoma, sans-serif;
    font-feature-settings: "ss05";
    -moz-font-feature-settings: "ss05";
    -webkit-font-feature-settings: "ss05";
}

table,
.table,
input[type="number"],
[data-tabular-numbers] {
    font-feature-settings: "ss05", "ss06";
    -moz-font-feature-settings: "ss05", "ss06";
    -webkit-font-feature-settings: "ss05", "ss06";
}

/* Square brand mark sizing for the CMS header and footer. */
.mr-brand img,
.header-logo .navbar-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.morabi-site-footer .site-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

@media (max-width: 560px) {
    .mr-site-header .mr-brand img,
    .header-logo .navbar-brand img {
        width: 50px;
        height: 50px;
    }

    .morabi-site-footer .site-logo {
        width: 64px;
        height: 64px;
    }
}

/* Keep the home-page hero/slider compact on every screen size. */
.home-page .hero,
body.home .hero,
.hero {
    min-height: 680px !important;
}

@media (max-width: 1024px) {
    .home-page .hero,
    body.home .hero,
    .hero {
        min-height: 600px !important;
    }
}

@media (max-width: 760px) {
    .home-page .hero,
    body.home .hero,
    .hero {
        min-height: 470px !important;
    }
}

.morabi-site-footer .newsletter input {
    direction: rtl !important;
    text-align: right !important;
}

.mr-search-panel .mr-search-result,
.mr-search-panel .mr-search-result strong {
    color: #20231f !important;
}

.mr-search-panel .mr-search-result small {
    color: #72776f !important;
}

@media (min-width: 761px) {
    .hero .hero-image {
        object-fit: cover !important;
        object-position: center top !important;
        background: #050805;
    }
}

.morabi-site-footer .newsletter form {
    width: min(620px, 100%) !important;
}

.morabi-site-footer .newsletter input {
    padding-inline: 16px !important;
    font-size: 11px !important;
}

@media (max-width: 560px) {
    .morabi-site-footer .newsletter input {
        padding-inline: 10px !important;
        font-size: 9px !important;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: auto !important;
        display: block !important;
        background: #050805;
    }

    .hero .hero-image {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center top !important;
    }

    .hero-content {
        padding-top: 16px !important;
        padding-bottom: 18px !important;
    }

    .hero + .journey,
    .hero + section {
        margin-top: 0 !important;
    }

    .morabi-social-actions a.floating-chat,
    .morabi-social-actions a.floating-instagram {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .morabi-social-actions .floating-chat .chat-copy {
        display: flex !important;
        position: absolute;
        right: 58px;
        width: 132px;
        padding: 8px 10px;
        border-radius: 10px;
        background: #111;
        color: #fff;
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px);
        transition: .2s;
    }

    .morabi-social-actions .floating-chat:focus .chat-copy,
    .morabi-social-actions .floating-chat:active .chat-copy,
    .morabi-social-actions .floating-chat:hover .chat-copy {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .morabi-social-actions .floating-chat.is-open .chat-copy {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .morabi-mobile-dock a svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: #9a6e1d;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .morabi-mobile-dock {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    .morabi-mobile-dock button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #333;
        font-family: inherit;
        font-size: 8px;
        font-weight: 800;
    }

    .morabi-mobile-dock button svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: #9a6e1d;
        stroke-width: 1.7;
        stroke-linecap: round;
    }

    .morabi-mobile-dock a span {
        color: #333;
        font-size: 8px;
        line-height: 1.3;
    }

    .mr-site-header .mr-brand {
        left: 0;
        flex-direction: row-reverse;
        gap: 7px;
    }

    .mr-site-header .mr-brand img {
        width: 50px;
        height: 50px;
    }

    .mr-site-header .mr-brand > span {
        display: inline !important;
        color: #fff;
        font-size: 13px;
    }
}
