.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-d6f5f9f:#354A5E;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#000000;}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{color:#24261CCC;}.elementor-kit-5 button:hover,.elementor-kit-5 button:focus,.elementor-kit-5 input[type="button"]:hover,.elementor-kit-5 input[type="button"]:focus,.elementor-kit-5 input[type="submit"]:hover,.elementor-kit-5 input[type="submit"]:focus,.elementor-kit-5 .elementor-button:hover,.elementor-kit-5 .elementor-button:focus{color:#24261CCC;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.tippy-box {
    background: rgba(0, 0, 0, 0.7) !important;
    background: rgba(36, 38, 28, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px -5px #000;
    font-family: Roboto, Sans-Serif;
    font-size: 0.85rem !important;         /* اندازه فونت کوچک و فشرده (~12px) */
    line-height: 1.45 !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px !important;
    padding: 3px !important;
}

.tippy-arrow {
    color: rgba(0, 0, 0, 0.75) !important;
}

.tippy-content {
    padding: 6px 10px !important;
}

.unit-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.82rem !important;
    color: #ffffff;
}

.unit-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 8px;
    transition: all 0.2s ease;
}
.unit-close-btn:hover,
.unit-close-btn:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.unit-tooltip span {
    color: #cbd5e1;
}
.unit-tooltip strong {
    color: #ffffff;
}
.unit-tooltip a {
    color: #c6b886;
    /*text-decoration: underline;*/
    font-weight: 600;
    font-size: 0.74rem;
}

#roof-overlay {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
  transition: .6s ease;
}

#roof-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.elementor-kit-5 > #roof-overlay:not(.hidden) ~ * {
    opacity: 0 !important;
    pointer-events: none !important;
}

.elementor-kit-5 > * {
    transition: opacity 0.4s ease-out;
}
.elementor-kit-5 :is(#mezzenin, #floor-path) path {
    cursor: pointer;
    stroke-width: 4px;
    stroke: transparent;
    fill: transparent;
    transition: .4s ease;
        
    &:hover:not(.unit-sold) {
        fill: #fff !important;
        stroke-width: 8px;
        stroke: #51573b !important;
    }
    &.disable {
        fill: hsl(0 0 0 / .8);
        pointer-events: none;
        backdrop-filter: blur(2px);
        stroke: #000 !important;
        transition: fill .4s ease;
    }
}
.elementor-kit-5 #back-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}


/* ==========================================================================
   Sold Units Styling (data-sold="true" & .unit-sold)
   ========================================================================== */
:is(#mezzenin, #floor-path) path[data-sold="true"],
:is(#mezzenin, #floor-path) path.unit-sold {
	fill: rgba(64, 64, 64, 0.75) !important;
	stroke: #404040 !important;
	stroke-width: 8px !important; /* 3px */
	cursor: pointer;
	transition: fill 0.35s ease, stroke 0.35s ease, stroke-width 0.35s ease !important;
}


/* When floor filter is active and sold unit is disabled by filter */
.elementor-kit-5:has(path.disable) :is(#mezzenin, #floor-path) path[data-sold="true"].disable,
.elementor-kit-5:has(path.disable) :is(#mezzenin, #floor-path) path.unit-sold.disable {
	fill: rgba(15, 23, 42, 0.85) !important;
	stroke: #334155 !important;
	pointer-events: none;
}

/* ۱. تعریف انیمیشن تنفس نوری ملایم */
@keyframes unitGentlePulse {
    0%, 100% {
        fill: rgba(255, 255, 255, 0.25);
    }
    50% {
        fill: rgba(255, 255, 255, 0.85);
        /*fill: #c5da93;*/
    }
}

/* ۲. اعمال به سلکتور شما */
.elementor-kit-5:has(path.disable) svg:not(.dropdown-chevron) path:not(.disable) {
    stroke-width: 8px !important;
    stroke: #51573b !important;
    /*stroke: rgba(36, 38, 28, 1)  !important;*/
    /*stroke: #003d8c !important;*/
    
    transition: 0.5s ease;
    animation: unitGentlePulse 3s ease infinite;
}

/* ۳. اگر کاربر موس را روی یکی از واحدهای فعال ببرد، انیمیشن مکث کند و پرنور بماند */
.elementor-kit-5:has(path.disable) path:hover {
    animation-play-state: paused;
    fill: rgba(255, 255, 255, 1) !important;
}

.elementor-kit-5 path.unit-sold {
    fill: red;
    stroke-width: 8px !important;
}

#floor-path path:focus,
#floor-path path:focus-visible,
#mezzenin path:focus,
#mezzenin path:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* --- کانتینر و دکمه‌های فیلتر --- */
/* --- کانتینر و دکمه‌های فیلتر --- */
.floor-filter-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 100;
    position: relative;
}

.floor-filter-pills {
    display: inline-flex;
    align-items: center;
    background: rgba(36, 38, 28, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 4px;
    gap: 2px;
    position: relative;
    overflow: visible; /* برای جلوگیری از برش خوردن منوی دراپ‌داون */
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #eee !important;
    font-family: Roboto, -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    outline: none;
}

.filter-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: #ffffff;
    color: rgba(36, 38, 28, 0.9) !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* --- ساختار دراپ‌داون استودیو و ۱ خوابه --- */
.filter-dropdown-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-chevron {
    transition: transform 0.25s ease;
}

.filter-dropdown-container:hover .dropdown-chevron {
    transform: rotate(180deg);
}

/* کادر منوی دراپ‌داون (عرض دقیقاً متناسب با دکمه والد) */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: translateY(-4px);
    background: rgba(36, 38, 28, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2px !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

/* ⭐️ باز شدن منو در صورت هاور */
.filter-dropdown-container:hover .filter-dropdown-menu,
.filter-dropdown-container:focus-within .filter-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* ⭐️ پل نامرئی (Hover Bridge): جلوگیری از بسته شدن منو هنگام حرکت موس از دکمه به کادر زیرین */
.filter-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* آیتم‌های داخل دراپ‌داون */
.dropdown-item {
    background: transparent;
    border: none;
    color: #eee !important;
    font-family: Roboto, -apple-system, sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 4px 2px !important;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1.2;
}

.dropdown-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.dropdown-item.active {
    background: #ffffff !important;
    color: rgba(36, 38, 28, 0.9) !important;
    font-weight: 600;
}

/* Chevron Fix */
.dropdown-chevron,
.dropdown-chevron *,
svg.dropdown-chevron,
svg.dropdown-chevron * {
    fill: none !important;
}
svg.dropdown-chevron {
    width: 8px !important;
    height: 5px !important;
    max-width: 8px !important;
    max-height: 5px !important;
    stroke: currentColor !important;
}
svg.dropdown-chevron path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.5px !important;
}
.filter-btn:not(.active) svg.dropdown-chevron {
    color: #eee !important;
}
.filter-btn.active svg.dropdown-chevron {
    color: rgba(36, 38, 28, 0.9) !important;
}
.dialog-lightbox-widget {
    z-index: 99999 !important;
}

html,
body {
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    overscroll-behavior: none !important; /* مسدود کردن کشسانی سافاری */
    -webkit-overflow-scrolling: auto;
}/* End custom CSS */