/*
 * Zameen top navigation bar (mega menu).
 * Markup: templates/header.php (Zameen Header plugin)
 * All rules are scoped under #ztn-root so nothing leaks into (or is overridden by) the blog theme.
 *
 * The bar is position: fixed inside a spacer of the same height. position: sticky can't be used
 * because the theme sets overflow-x: hidden on html/body, which disables sticky.
 */

#ztn-root {
    --ztn-h: 74px; /* 72px bar + 1px bar border + 1px header border, as in the design */
    --ztn-green: #00A551;
    --ztn-green-dark: #007A3D;
    --ztn-text: #414651;
    --ztn-heading: #181D27;
    position: relative;
    height: var(--ztn-h);
    font-family: Lato, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: normal;
    text-align: left;
    color: var(--ztn-text);
    -webkit-font-smoothing: antialiased;
}

#ztn-root *,
#ztn-root *::before,
#ztn-root *::after {
    box-sizing: border-box;
}

#ztn-root a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

#ztn-root button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font: inherit;
    color: inherit;
    text-align: inherit;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

#ztn-root img {
    display: block;
    max-width: none;
    border: 0;
    border-radius: 0;
}

#ztn-root svg {
    display: block;
    flex: none;
}

#ztn-root [hidden] {
    display: none !important;
}

#ztn-root a:focus-visible,
#ztn-root button:focus-visible {
    outline: 2px solid var(--ztn-green);
    outline-offset: 2px;
}

#ztn-root .ztn-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#ztn-root .ztn-ellipsis {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Header shell ---------- */

#ztn-root .ztn {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    border-bottom: 1px solid #F2F3F4;
    transition: box-shadow .34s ease;
}

#ztn-root .ztn.is-scrolled {
    box-shadow: 0 8px 20px -18px rgba(10, 13, 18, .14);
}

body.admin-bar #ztn-root .ztn {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #ztn-root .ztn {
        top: 46px;
    }
}

/* ---------- Top bar ---------- */

#ztn-root .ztn-bar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #F2F3F4;
}

#ztn-root .ztn-bar__inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#ztn-root .ztn-bar__left {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

#ztn-root .ztn-logo {
    flex: none;
    display: block;
}

#ztn-root .ztn-logo img {
    height: 34px;
    width: auto;
}

#ztn-root .ztn-nav {
    flex: 1 1 auto;
    min-width: 0;
    height: 72px;
    display: flex;
    align-items: stretch;
    gap: 2px;
}

#ztn-root .ztn-item {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

#ztn-root .ztn-item__link {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--ztn-text);
    cursor: pointer;
}

#ztn-root .ztn-item__link:hover {
    color: var(--ztn-text);
}

#ztn-root .ztn-chev {
    transition: transform .26s cubic-bezier(.22, .61, .36, 1);
}

#ztn-root .ztn-item.is-open .ztn-chev {
    transform: rotate(180deg);
}

#ztn-root .ztn-bar__right {
    flex: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

#ztn-root .ztn-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
    cursor: pointer;
}

#ztn-root .ztn-btn--primary {
    gap: 10px;
    padding: 11px 16px;
    background: var(--ztn-green);
    color: #fff;
    transition: background .16s ease;
}

#ztn-root .ztn-btn--primary:hover {
    background: #00913F;
    color: #fff;
}

#ztn-root .ztn-btn--outline {
    height: 40px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #D5D7DA;
    color: var(--ztn-text);
    transition: background .16s ease, border-color .16s ease;
}

#ztn-root .ztn-btn--outline:hover {
    background: #F7F7F8;
    border-color: #A4A7AE;
    color: var(--ztn-text);
}

#ztn-root .ztn-burger {
    display: none;
    flex: 0 0 auto;
    color: var(--ztn-text);
}

/* ---------- Mega panel ---------- */

@keyframes ztnPanel { from { clip-path: inset(0 0 100% 0); opacity: .6; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes ztnInner { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ztnPanelOut { from { clip-path: inset(0 0 0 0); opacity: 1; } to { clip-path: inset(0 0 100% 0); opacity: .5; } }
@keyframes ztnInnerOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-14px); } }
@keyframes ztnQlPop { 0% { opacity: 0; transform: scale(.62) translateY(8px); } 60% { opacity: 1; transform: scale(1.06) translateY(-2px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes ztnQlFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2.5px) scale(1.02); } }

#ztn-root .ztn-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFB 100%);
    border-top: 1px solid #F2F3F4;
    border-bottom: 1px solid #E4E7E5;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 22px 40px -18px rgba(10, 13, 18, .18);
    animation: ztnPanel .34s cubic-bezier(.22, .61, .36, 1) both;
}

#ztn-root .ztn-panel .ztn-anim-inner {
    animation: ztnInner .34s cubic-bezier(.22, .61, .36, 1) both;
}

#ztn-root .ztn-panel.is-out {
    animation: ztnPanelOut .18s cubic-bezier(.4, 0, .9, 1) both;
}

#ztn-root .ztn-panel.is-out .ztn-anim-inner {
    animation: ztnInnerOut .18s cubic-bezier(.4, 0, .9, 1) both;
}

#ztn-root .ztn-panel__inner {
    padding-top: 28px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
}

#ztn-root .ztn-panel__row {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

#ztn-root .ztn-col-title {
    color: var(--ztn-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

/* Dropdown link (".ddl" in the design) */
#ztn-root .ztn-ddl {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    min-width: 0;
    white-space: nowrap;
    color: var(--ztn-text);
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    cursor: pointer;
    transition: color .16s ease, transform .16s ease;
}

#ztn-root .ztn-ddl:hover {
    color: var(--ztn-green-dark);
    transform: translateX(4px);
}

#ztn-root .ztn-ddl.ztn-ddl--keep:hover {
    color: var(--ztn-text);
}

#ztn-root .ztn-arw {
    flex: none;
    opacity: 0;
    transition: opacity .16s ease;
}

#ztn-root .ztn-ddl:hover .ztn-arw {
    opacity: 1;
}

/* Category rail */
#ztn-root .ztn-cats {
    flex: none;
    width: 148px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ztn-root .ztn-cats__list {
    display: flex;
    flex-direction: column;
}

#ztn-root .ztn-cat {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 6px 0;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    color: var(--ztn-text);
    transition: color .16s ease;
}

#ztn-root .ztn-cat svg {
    stroke: #C9CBCF;
}

#ztn-root .ztn-panel.is-types-open .ztn-cat.is-active {
    color: var(--ztn-green-dark);
    font-weight: 700;
}

#ztn-root .ztn-panel.is-types-open .ztn-cat.is-active svg {
    stroke: var(--ztn-green-dark);
}

/* Revealed property types column */
#ztn-root .ztn-types {
    flex: 0 0 0;
    width: auto;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-26px);
    pointer-events: none;
    transition: transform .42s cubic-bezier(.16, .84, .28, 1), opacity .3s ease .04s, flex-basis .42s cubic-bezier(.16, .84, .28, 1), max-height .42s cubic-bezier(.16, .84, .28, 1);
}

#ztn-root .ztn-panel.is-types-open .ztn-types {
    flex: 0 1 auto;
    max-height: 600px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

#ztn-root .ztn-typeset {
    display: none;
    flex-direction: column;
    gap: 12px;
}

#ztn-root .ztn-typeset.is-active {
    display: flex;
}

#ztn-root .ztn-types__heading {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-18px);
    transition: transform .4s cubic-bezier(.16, .84, .28, 1), opacity .28s ease;
}

#ztn-root .ztn-panel.is-types-open .ztn-types__heading {
    opacity: 1;
    transform: translateX(0);
}

#ztn-root .ztn-types__children {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#ztn-root .ztn-types__grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    row-gap: 0;
}

#ztn-root .ztn-types__child {
    opacity: 0;
    transform: translateX(-18px);
    transition: transform .4s cubic-bezier(.16, .84, .28, 1) calc(var(--ztn-i) * 14ms), opacity .3s ease 0ms;
}

#ztn-root .ztn-panel.is-types-open .ztn-types__child {
    opacity: 1;
    transform: translateX(0);
    transition: transform .4s cubic-bezier(.16, .84, .28, 1) calc(40ms + var(--ztn-i) * 26ms), opacity .3s ease calc(40ms + var(--ztn-i) * 26ms);
}

#ztn-root .ztn-ddl--icon {
    gap: 8px;
}

#ztn-root .ztn-type-icon {
    flex: none;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#ztn-root .ztn-types__all {
    align-self: flex-start;
    display: inline-flex;
    padding: 0;
    gap: 2px;
    font-size: 15px;
    line-height: normal;
    font-weight: 700;
    color: var(--ztn-green-dark);
}

/* Link columns */
#ztn-root .ztn-linkcol {
    flex: 1 1 0;
    min-width: 0;
    max-width: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ztn-root .ztn-linkcol__list {
    display: flex;
    flex-direction: column;
}

/* Promo deck */
#ztn-root .ztn-promo-deck {
    position: relative;
    flex: 0 0 248px;
    width: 248px;
    min-width: 248px;
    max-width: 248px;
    height: 316px;
    margin-left: auto;
    align-self: flex-start;
    overflow: visible;
}

#ztn-root .ztn-promo {
    position: absolute;
    left: 0;
    right: 20px;
    top: 12px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background-color: #01562B;
    background-repeat: no-repeat;
    transform-origin: center center;
    box-shadow: 0 14px 28px -20px rgba(10, 13, 18, .34);
    transition: transform .8s cubic-bezier(.4, 0, .2, 1), opacity .8s ease;
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
}

#ztn-root .ztn-promo[data-pos="1"] {
    transform: translate(8px, -4px) rotate(3deg) scale(.96);
    opacity: .5;
}

#ztn-root .ztn-promo[data-pos="2"] {
    transform: translate(16px, -8px) rotate(6deg) scale(.92);
    opacity: .26;
}

#ztn-root .ztn-promo:not([data-pos="0"]) {
    pointer-events: none;
}

#ztn-root .ztn-promo__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 8, 10, .90) 0%, rgba(6, 8, 10, .74) 28%, rgba(6, 8, 10, .34) 54%, rgba(6, 8, 10, .06) 76%);
}

#ztn-root .ztn-promo__body {
    position: relative;
    margin-top: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#ztn-root .ztn-promo__title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    text-wrap: balance;
    text-shadow: 0 1px 10px rgba(6, 8, 10, .65);
}

#ztn-root .ztn-promo__text {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 17px;
}

#ztn-root .ztn-promo__cta {
    margin-top: 8px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px;
    background: #fff;
    border-radius: 8px;
    color: var(--ztn-heading);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .16s ease;
}

#ztn-root .ztn-promo__cta:hover {
    background: #DFF6E9;
    color: var(--ztn-heading);
}

/* Quick links */
#ztn-root .ztn-quick {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

#ztn-root .ztn-quick__link {
    padding: 0;
    gap: 12px;
    color: var(--ztn-heading);
    font-size: 15px;
    line-height: normal;
    font-weight: 700;
}

#ztn-root .ztn-quick__icon {
    position: relative;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #EAF5EF;
}

#ztn-root .ztn-quick__art {
    position: absolute;
    inset: -4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: 50% 82%;
    animation: ztnQlPop .62s cubic-bezier(.22, 1.3, .4, 1) calc(.06s + var(--ztn-i) * .09s) both, ztnQlFloat 4.6s ease-in-out calc(1s + var(--ztn-i) * .24s) infinite;
}

/* More panel */
#ztn-root .ztn-more {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

#ztn-root .ztn-more__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ztn-root .ztn-settings {
    flex: 0 0 330px;
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ztn-root .ztn-settings__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#ztn-root .ztn-setting {
    min-height: 46px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #EAEEEC;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: border-color .16s ease;
}

#ztn-root .ztn-setting:hover {
    border-color: #A4A7AE;
}

#ztn-root .ztn-setting__label {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--ztn-text);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

#ztn-root .ztn-setting__value {
    flex: none;
    color: var(--ztn-heading);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- Logged-in user (shared zameen.com session) ---------- */

#ztn-root .ztn-avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    overflow: hidden;
    background: #414651;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: normal;
    white-space: nowrap;
    user-select: none;
}

#ztn-root .ztn-avatar__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

#ztn-root .ztn-avatar.has-image .ztn-avatar__initials {
    display: none;
}

#ztn-root .ztn-d-account {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 16px 12px;
}

#ztn-root .ztn-d-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#ztn-root .ztn-avatar--lg {
    width: 48px;
    height: 48px;
    background: #222;
    font-size: 14px;
}

#ztn-root .ztn-d-name {
    min-width: 0;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 1024px) {
    #ztn-root .ztn-avatar--bar {
        width: 40px;
        height: 40px;
    }
}

/* ---------- Mobile drawer (≤1024px) — values mirror the live zameen.com mobile menu ---------- */

#ztn-root .ztn-overlay {
    position: fixed;
    inset: 0;
    z-index: 99989;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
}

#ztn-root .ztn-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

#ztn-root .ztn-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99990;
    height: 100%;
    width: min(312px, 85vw);
    background: #fff;
    color: #222;
    display: flex;
    flex-direction: column;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    transform: translateX(-100%);
    transition: transform .25s;
}

#ztn-root .ztn-drawer.is-open {
    transform: translateX(0);
}

#ztn-root .ztn-drawer img {
    height: auto;
    max-width: 100%;
}

#ztn-root .ztn-drawer__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 20px;
    background: #fff;
}

#ztn-root .ztn-drawer__logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

#ztn-root .ztn-drawer__logo img {
    display: block;
    height: 24px;
    width: auto;
}

#ztn-root .ztn-drawer__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: #626262;
}

#ztn-root .ztn-drawer__body {
    flex: 1 1 0%;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

#ztn-root .ztn-d-signin {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    margin: 8px 16px 4px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 8px;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    transition: background .15s;
}

#ztn-root .ztn-d-signin:hover {
    background: #f5f6f7;
    color: #222;
}

#ztn-root .ztn-d-nav {
    flex: 0 0 auto;
}

#ztn-root .ztn-d-link {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-align: start;
}

#ztn-root .ztn-d-link:hover,
#ztn-root .ztn-d-sublink:hover {
    background: #f5f6f7;
    color: #222;
}

#ztn-root .ztn-d-sublink:hover {
    color: #4f4f4f;
}

#ztn-root .ztn-d-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

#ztn-root .ztn-d-caret {
    flex: 0 0 auto;
    width: 9px;
    height: 5px;
    color: #222;
    transition: transform .2s;
}

#ztn-root .ztn-d-group.is-open .ztn-d-caret {
    transform: rotate(180deg);
}

#ztn-root .ztn-d-group__list {
    display: none;
    flex-direction: column;
}

#ztn-root .ztn-d-group.is-open .ztn-d-group__list {
    display: flex;
}

#ztn-root .ztn-d-sublink {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px 0 28px;
    color: #4f4f4f;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

#ztn-root .ztn-d-new {
    display: inline-flex;
    align-items: center;
    height: 16px;
    margin-left: 6px;
    padding: 0 5px;
    background: rgb(229, 50, 45);
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
}

#ztn-root .ztn-d-divider {
    flex: 0 0 auto;
    height: 1px;
    margin: 20px 16px;
    background: #dedede;
}

#ztn-root .ztn-d-settings {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
}

#ztn-root .ztn-d-settings__label {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

#ztn-root .ztn-d-settings__row {
    display: flex;
    gap: 8px;
}

#ztn-root .ztn-d-chip {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

#ztn-root .ztn-d-chip:hover {
    background: #f5f6f7;
}

#ztn-root .ztn-drawer .ztn-d-chip__icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

#ztn-root .ztn-d-chip__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

#ztn-root .ztn-d-app {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
}

#ztn-root .ztn-d-app__label {
    color: #4f4f4f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

#ztn-root .ztn-d-app__badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ztn-root .ztn-d-badge {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    max-width: 134px;
}

#ztn-root .ztn-d-badge img {
    display: block;
    width: 100%;
    height: auto;
}

#ztn-root .ztn-drawer__foot {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

#ztn-root .ztn-d-profolio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f2fafa;
    border-radius: 8px;
}

#ztn-root .ztn-d-profolio__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#ztn-root .ztn-d-profolio__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
}

#ztn-root .ztn-drawer .ztn-d-profolio__title img,
#ztn-root .ztn-drawer .ztn-d-post img {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

#ztn-root .ztn-d-profolio__tagline {
    color: #4f4f4f;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
}

#ztn-root .ztn-d-profolio__arrow {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #222;
}

#ztn-root .ztn-d-post {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    background: #00a551;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    transition: background .15s;
}

#ztn-root .ztn-d-post:hover {
    background: #008f46;
    color: #fff;
}

html.ztn-lock,
html.ztn-lock body {
    overflow: hidden !important;
}

/* ---------- Responsive ---------- */

#ztn-root .ztn-logo__mobile,
#ztn-root .ztn-login__mobile {
    display: none;
}

/* The design hides the promo deck below 1040px. */
@media screen and (min-width: 1025px) and (max-width: 1039px) {
    #ztn-root .ztn-promo-deck {
        display: none;
    }
}

@media screen and (min-width: 1025px) {
    #ztn-root .ztn-drawer,
    #ztn-root .ztn-overlay {
        display: none !important;
    }
}

/* ≤1024px: same as live zameen.com — hamburger + logo, header scrolls with the page (not sticky). */
@media screen and (max-width: 1024px) {
    #ztn-root {
        height: auto;
    }

    #ztn-root .ztn,
    body.admin-bar #ztn-root .ztn {
        position: relative;
        top: auto;
        z-index: auto;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: none;
    }

    #ztn-root .ztn-bar {
        border-bottom: 0;
    }

    #ztn-root .ztn-nav,
    #ztn-root .ztn-panel {
        display: none !important;
    }

    #ztn-root .ztn-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    #ztn-root .ztn-bar__inner {
        height: 64px;
    }

    #ztn-root .ztn-bar__left {
        gap: 0;
    }

    #ztn-root .ztn-burger {
        display: inline-flex;
        margin-right: 12px;
    }

    #ztn-root .ztn-logo__desktop {
        display: none;
    }

    #ztn-root .ztn-logo img.ztn-logo__mobile {
        display: block;
        height: 26px;
        width: auto;
    }

    #ztn-root .ztn-bar__right {
        gap: 12px;
    }

    #ztn-root .ztn-bar .ztn-add-property {
        gap: 8px;
        padding: 10px 14px;
        font-size: 15px;
        line-height: 1;
    }

    #ztn-root .ztn-bar .ztn-login {
        height: auto;
        padding: 10px 14px;
        font-size: 15px;
        line-height: 1;
    }

    #ztn-root .ztn-login__desktop {
        display: none;
    }

    #ztn-root .ztn-login__mobile {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    #ztn-root .ztn-bar__inner {
        height: 60px;
        justify-content: flex-start;
    }

    #ztn-root .ztn-burger {
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
    }

    #ztn-root .ztn-logo img.ztn-logo__mobile {
        width: 125px;
        height: auto;
    }

    #ztn-root .ztn-bar__right {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ztn-root *,
    #ztn-root *::before,
    #ztn-root *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }
}
