:root {
    --omh-green: #004f3f;
    --omh-green-dark: #003f33;
    --omh-gold: #d7ac00;
    --omh-text: #181818;
    --omh-muted: #77736f;
    --omh-border: #dedede;
    --omh-category-bg: #fffdf8;
    --omh-shell-padding: clamp(18px, 3.9vw, 42px);
}

.one-mall-header,
.one-mall-header * {
    box-sizing: border-box;
}

.one-mall-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    color: var(--omh-text);
    background: #fff;
    font-family: "Cairo", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
    line-height: 1.25;
    -webkit-font-smoothing: antialiased;
}

.omh-shell {
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--omh-shell-padding);
}

.omh-icon {
    width: 1.5em;
    height: 1.5em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* Top app/social strip */
.omh-topbar {
    height: 40px;
    color: #fff;
    background: var(--omh-green-dark);
}

.omh-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
}

.omh-store-links,
.omh-social-links {
    display: flex;
    align-items: center;
}

.omh-store-links {
    gap: 18px;
    direction: ltr;
}

.omh-store-badge {
    width: 108px;
    height: 32px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 3px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none !important;
    direction: ltr;
    transition: background-color .2s ease, border-color .2s ease;
}

.omh-store-badge:hover {
    color: #fff !important;
    background: rgba(255,255,255,.08);
    border-color: #fff;
}

.omh-store-badge .omh-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.omh-store-badge span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: .95;
    white-space: nowrap;
}

.omh-store-badge small {
    font-family: Arial, sans-serif;
    font-size: 5.8px;
    letter-spacing: .1px;
}

.omh-store-badge strong {
    font-family: Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
}

.omh-store-badge-gallery strong {
    font-size: 9.5px;
}

.omh-social-links {
    gap: 18px;
    direction: ltr;
}

.omh-social-links a {
    width: 18px;
    height: 22px;
    color: #fff !important;
    display: grid;
    place-items: center;
    opacity: .98;
    text-decoration: none !important;
    transition: opacity .2s ease, transform .2s ease;
}

.omh-social-links a:hover {
    color: #fff !important;
    opacity: .76;
    transform: translateY(-1px);
}

.omh-social-links .omh-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Main desktop row */
.omh-mainbar {
    min-height: 58px;
    border-bottom: 1px solid var(--omh-border);
    background: #fff;
}

.omh-mainbar-inner {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2.7vw, 38px);
    direction: rtl;
}

.omh-primary-zone,
.omh-utility-zone {
    display: flex;
    align-items: center;
    min-width: 0;
}

.omh-primary-zone {
    gap: clamp(20px, 2.2vw, 34px);
    white-space: nowrap;
}

.omh-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    direction: ltr;
    text-decoration: none !important;
    letter-spacing: -1.3px;
    line-height: 1;
    white-space: nowrap;
}

.omh-logo:hover {
    text-decoration: none !important;
}

.omh-logo-image {
    display: block;
    /* width: auto; */
    height: auto;
    max-width: clamp(100px, 8vw, 150px);
    max-height: 52px;
    object-fit: contain;
}

.omh-drawer-header .omh-logo-image {
    max-width: 132px;
    max-height: 44px;
}

.omh-logo-one {
    color: var(--omh-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
}

.omh-logo-mall {
    color: var(--omh-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
}

.omh-main-link {
    color: var(--omh-text) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}

.omh-main-link:hover,
.omh-main-link:focus-visible {
    color: var(--omh-green) !important;
}

.omh-main-link .omh-icon {
    width: 17px;
    height: 17px;
    color: var(--omh-green);
    stroke-width: 2.2;
}

.omh-categories-control {
    position: relative;
}

.omh-search {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
}

.omh-search input[type="search"] {
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 15px 0 42px;
    border: 1px solid rgba(0, 79, 63, .8);
    border-radius: 9px;
    outline: none;
    background: #f8f8f8;
    color: #252525;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    direction: rtl;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.omh-search input[type="search"]::placeholder {
    color: #b5b5b5;
    opacity: 1;
}

.omh-search input[type="search"]:focus {
    border-color: var(--omh-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,79,63,.08);
}

.omh-search button {
    position: absolute;
    inset-inline-end: 9px;
    inset-inline-start: auto;
    top: 50%;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--omh-green);
    background: transparent;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.omh-search button .omh-icon {
    width: 18px;
    height: 18px;
}

.omh-utility-zone {
    justify-content: flex-end;
    gap: clamp(15px, 2.15vw, 30px);
    direction: rtl;
    white-space: nowrap;
}

.omh-utility-item {
    color: var(--omh-text) !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0;
    text-decoration: none !important;
}

.omh-utility-item:hover {
    color: var(--omh-green) !important;
}

.omh-utility-item .omh-icon {
    width: 20px;
    height: 20px;
    color: var(--omh-green);
    stroke-width: 1.9;
}

.omh-utility-item span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

.omh-utility-item strong {
    color: inherit;
    font-size: 12.5px;
    font-weight: 700;
}

.omh-utility-item small {
    margin-top: 2px;
    color: #3d3d3d;
    font-size: 8.5px;
    font-weight: 500;
}

.omh-account .omh-icon {
    width: 25px;
    height: 25px;
}

.omh-currency {
    cursor: default;
}

.omh-checkout-link {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--omh-green);
    border-radius: 8px;
    color: #fff !important;
    background: var(--omh-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 5px 12px rgba(0, 79, 63, .12);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.omh-checkout-link:hover,
.omh-checkout-link:focus-visible {
    border-color: var(--omh-green-dark);
    color: #fff !important;
    background: var(--omh-green-dark);
    transform: translateY(-1px);
}

.omh-checkout-link .omh-icon {
    width: 17px;
    height: 17px;
    stroke-width: 1.9;
}

.omh-cart,
.omh-mobile-cart,
.omh-mobile-checkout {
    position: relative;
    color: var(--omh-green) !important;
    display: inline-grid;
    place-items: center;
    text-decoration: none !important;
}

.omh-cart .omh-icon {
    width: 30px;
    height: 30px;
    stroke-width: 1.7;
}

.omh-cart-count {
    position: absolute;
    top: -5px;
    inset-inline-start: -7px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--omh-gold);
    display: grid;
    place-items: center;
    font-family: Arial, sans-serif;
    font-size: 8px;
    line-height: 1;
}

.omh-mobile-actions,
.omh-mobile-search-wrap {
    display: none;
}

/* All-categories dropdown */
.omh-categories-dropdown {
    position: absolute;
    z-index: 1020;
    top: calc(100% + 19px);
    right: -12px;
    width: min(760px, calc(100vw - 34px));
    padding: 18px;
    border: 1px solid #e4e4e4;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0, 43, 34, .16);
    direction: rtl;
}

.omh-categories-dropdown[hidden] {
    display: none !important;
}

.omh-categories-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 65px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    background: #fff;
    transform: rotate(-45deg);
}

.omh-dropdown-heading {
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.omh-dropdown-heading strong {
    color: var(--omh-green-dark);
    font-size: 16px;
}

.omh-dropdown-heading a {
    color: var(--omh-green) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.omh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
}

.omh-category-group {
    min-width: 0;
}

.omh-category-parent {
    color: var(--omh-text) !important;
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.omh-category-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.omh-category-group li + li {
    margin-top: 6px;
}

.omh-category-group li a {
    color: #6d6a66 !important;
    display: block;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none !important;
}

.omh-category-parent:hover,
.omh-category-group li a:hover {
    color: var(--omh-green) !important;
}

.omh-empty-categories {
    grid-column: 1 / -1;
    margin: 0;
    color: #777;
}

/* Horizontal category strip */
.omh-categorybar {
    position: relative;
    height: 39px;
    border-bottom: 1px solid #d8b63e;
    background: var(--omh-category-bg);
    display: flex;
    align-items: stretch;
    direction: rtl;
}

.omh-category-rail {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 24px;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    direction: rtl;
}

.omh-category-rail::-webkit-scrollbar {
    display: none;
}

.omh-category-rail a {
    position: relative;
    height: 38px;
    padding: 0 clamp(16px, 2vw, 28px);
    color: #686460 !important;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.omh-category-rail a:hover,
.omh-category-rail a.is-active {
    color: var(--omh-green) !important;
}

.omh-category-rail a.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 2px;
    background: var(--omh-green);
}

.omh-rail-arrow {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 25px;
    height: 38px;
    padding: 0;
    border: 0;
    color: #777;
    background: linear-gradient(to left, var(--omh-category-bg) 68%, rgba(255,253,248,0));
    display: grid;
    place-items: center;
    cursor: pointer;
}

.omh-rail-arrow .omh-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.omh-rail-arrow-right {
    right: 0;
}

.omh-rail-arrow-left {
    left: 0;
    background: linear-gradient(to right, var(--omh-category-bg) 68%, rgba(255,253,248,0));
}

/* Mobile drawer */
.omh-drawer-layer[hidden] {
    display: none !important;
}

.omh-drawer-layer {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: block;
    direction: rtl;
}

.omh-drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0,0,0,.48);
}

.omh-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    padding: 18px;
    background: #fff;
    overflow-y: auto;
    box-shadow: -15px 0 40px rgba(0,0,0,.16);
    transform: translateX(0);
}

.omh-drawer-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.omh-drawer-header button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--omh-green);
    background: #f3f6f5;
    display: grid;
    place-items: center;
}

.omh-drawer-header .omh-icon {
    width: 22px;
    height: 22px;
}

.omh-drawer-links,
.omh-drawer-categories {
    display: flex;
    flex-direction: column;
}

.omh-drawer-links {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.omh-drawer-links a,
.omh-drawer-categories a {
    padding: 12px 4px;
    color: #202020 !important;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.omh-drawer-categories {
    padding-top: 15px;
}

.omh-drawer-categories > strong {
    margin-bottom: 8px;
    color: var(--omh-green);
    font-size: 15px;
}

body.omh-drawer-open {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .omh-mainbar-inner {
        grid-template-columns: auto minmax(220px, 1fr) auto;
        gap: 12px;
    }

    .omh-primary-zone {
        gap: 15px;
    }

    .omh-utility-zone {
        gap: 9px;
    }

    .omh-main-link {
        font-size: 12.5px;
    }

    .omh-utility-item strong {
        font-size: 11px;
    }

    .omh-utility-item small {
        font-size: 7.8px;
    }

    .omh-checkout-link {
        padding-inline: 8px;
        font-size: 10.5px;
    }
}

@media (max-width: 991px) {
    .omh-topbar {
        display: none;
    }

    .omh-mainbar {
        min-height: 108px;
    }

    .omh-mainbar-inner {
        min-height: 58px;
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
    }

    .omh-primary-zone {
        grid-column: 2;
        justify-content: center;
    }

    .omh-primary-zone > :not(.omh-logo),
    .omh-mainbar-inner > .omh-search,
    .omh-utility-zone {
        display: none;
    }

    .omh-mobile-actions {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        direction: ltr;
    }

    .omh-mobile-menu-button,
    .omh-mobile-cart,
    .omh-mobile-checkout {
        position: relative;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        color: var(--omh-green) !important;
        background: transparent;
        display: grid;
        place-items: center;
    }

    .omh-mobile-menu-button .omh-icon,
    .omh-mobile-cart .omh-icon,
    .omh-mobile-checkout .omh-icon {
        width: 25px;
        height: 25px;
    }

    .omh-mobile-checkout {
        border: 1px solid rgba(0, 79, 63, .2);
        border-radius: 8px;
        background: #f3f8f6;
    }

    .omh-mobile-search-wrap {
        height: 50px;
        display: flex;
        align-items: center;
    }

    .omh-search-mobile {
        display: block;
        height: 36px;
    }

    .omh-search-mobile input[type="search"] {
        height: 36px;
    }

.omh-logo-image {
    display: block;
    /* width: auto; */
    height: auto;
    max-width: clamp(100px, 8vw, 150px);
    max-height: 52px;
    object-fit: contain;
}

    .omh-logo-one {
        font-size: 30px;
    }

    .omh-logo-mall {
        font-size: 29px;
    }

    .omh-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    :root {
        --omh-shell-padding: 14px;
    }

    .omh-mainbar {
        min-height: 104px;
    }

    .omh-categorybar,
    .omh-category-rail a {
        height: 40px;
    }

    .omh-category-rail {
        padding-inline: 18px;
    }

    .omh-category-rail a {
        padding-inline: 17px;
        font-size: 12px;
    }

    .omh-rail-arrow {
        width: 20px;
        height: 39px;
    }

    .omh-cart-count {
        top: -3px;
        inset-inline-start: -4px;
    }
}

/* --------------------------------------------------------------------------
   English / Arabic direction support
   -------------------------------------------------------------------------- */
.one-mall-header[dir="rtl"] {
    direction: rtl;
    font-family: "Cairo", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}

.one-mall-header[dir="ltr"] {
    direction: ltr;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

/* The app badges remain on the visual right and social icons on the left. */
.one-mall-header .omh-topbar-inner {
    direction: rtl;
}

.one-mall-header .omh-mainbar-inner,
.one-mall-header .omh-primary-zone,
.one-mall-header .omh-utility-zone,
.one-mall-header .omh-categories-dropdown,
.one-mall-header .omh-categorybar,
.one-mall-header .omh-category-rail,
.one-mall-header .omh-drawer-layer,
.one-mall-header .omh-drawer {
    direction: inherit;
}

.one-mall-header .omh-search input[type="search"] {
    padding-inline-start: 15px;
    padding-inline-end: 42px;
    direction: inherit;
    text-align: start;
}

.one-mall-header .omh-utility-item span {
    align-items: flex-start;
    text-align: start;
}

.one-mall-header .omh-categories-dropdown {
    right: auto;
    left: auto;
    inset-inline-start: -12px;
}

.one-mall-header .omh-categories-dropdown::before {
    right: auto;
    left: auto;
    inset-inline-start: 65px;
    border-right: 0;
    border-left: 0;
}

.one-mall-header[dir="rtl"] .omh-categories-dropdown::before {
    border-right: 1px solid #e4e4e4;
    transform: rotate(-45deg);
}

.one-mall-header[dir="ltr"] .omh-categories-dropdown::before {
    border-left: 1px solid #e4e4e4;
    transform: rotate(45deg);
}

.one-mall-header .omh-category-rail a.is-active::after {
    right: auto;
    left: auto;
    inset-inline: 12px;
}

.one-mall-header .omh-rail-arrow-start,
.one-mall-header .omh-rail-arrow-end {
    right: auto;
    left: auto;
}

.one-mall-header .omh-rail-arrow-start {
    inset-inline-start: 0;
}

.one-mall-header .omh-rail-arrow-end {
    inset-inline-end: 0;
}

.one-mall-header[dir="rtl"] .omh-rail-arrow-start {
    background: linear-gradient(to left, var(--omh-category-bg) 68%, rgba(255,253,248,0));
}

.one-mall-header[dir="rtl"] .omh-rail-arrow-end {
    background: linear-gradient(to right, var(--omh-category-bg) 68%, rgba(255,253,248,0));
}

.one-mall-header[dir="ltr"] .omh-rail-arrow-start {
    background: linear-gradient(to right, var(--omh-category-bg) 68%, rgba(255,253,248,0));
}

.one-mall-header[dir="ltr"] .omh-rail-arrow-end {
    background: linear-gradient(to left, var(--omh-category-bg) 68%, rgba(255,253,248,0));
}

.one-mall-header .omh-drawer {
    right: auto;
    left: auto;
    inset-inline-start: 0;
}

.one-mall-header[dir="rtl"] .omh-drawer {
    box-shadow: -15px 0 40px rgba(0,0,0,.16);
}

.one-mall-header[dir="ltr"] .omh-drawer {
    box-shadow: 15px 0 40px rgba(0,0,0,.16);
}

.one-mall-header[dir="ltr"] .omh-language-switch[lang="ar"] {
    font-family: "Cairo", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}

.one-mall-header[dir="rtl"] .omh-language-switch[lang="en"] {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.one-mall-header[dir="ltr"] .omh-category-group ul,
.one-mall-header[dir="ltr"] .omh-drawer-links,
.one-mall-header[dir="ltr"] .omh-drawer-categories {
    text-align: left;
}

.one-mall-header[dir="rtl"] .omh-category-group ul,
.one-mall-header[dir="rtl"] .omh-drawer-links,
.one-mall-header[dir="rtl"] .omh-drawer-categories {
    text-align: right;
}

@media (max-width: 991px) {
    .one-mall-header[dir="ltr"] .omh-mobile-actions {
        direction: ltr;
    }
}

.omh-store-badge.has-custom-image {
    min-width: 132px;
    padding: 3px 7px;
    overflow: hidden;
}

.omh-store-badge-image {
    display: block;
    width: 100%;
    max-width: 142px;
    height: 34px;
    object-fit: contain;
}

/* ONE MALL GLOBAL SITE CONTENT FIX START */
.site-content {
    padding: 0 !important;
}
/* ONE MALL GLOBAL SITE CONTENT FIX END */
