

/* Start:/bitrix/templates/ShenResidence/css/parking.css?177451206022322*/
@import url('https://fonts.cdnfonts.com/css/satoshi');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Satoshi', sans-serif;
    background: #111;
    min-height: 100vh;
    padding-top: 92px;
    overflow-x: hidden;
    overflow-y: auto;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.full-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    margin-top: 0;
}

.full-view-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    height: auto;
    min-height: 400px;
    margin: 44px 40px 40px 40px;
    padding: 40px;
    border-radius: 20px;
    background: #FFF;
    overflow-y: auto;
}

.header-info {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1 0 0;
    align-self: stretch;
}

.parking-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.parking-title {
    color: #79736F;
    font-family: Satoshi, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.44px;
}

.parking-status {
    color: #79736F;
    text-align: right;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: -0.14px;
}

.floor-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floor-button {
    display: flex;
    width: 35px;
    height: 35px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    border: 1px solid #2D2D2D;
    background: #FAFAFA;
    color: #2D2D2D;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

.floor-button.active {
    background: #2D2D2D;
    color: #FAFAFA;
}

.parking-image-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 100%;
    overflow: hidden;
}

#parking-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
}

.parking-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    pointer-events: none;
}

.parking-svg .parking-area {
    fill: #FAFAFA;
    opacity: 0;
    pointer-events: all;
    cursor: pointer;
}

.parking-svg .parking-area:hover {
    fill: #FAFAFA;
    opacity: 0.3;
}

.parking-svg .parking-area.sold {
    fill: #EBB0B3;
    opacity: 0.3;
}

.parking-popup {
    display: none;
    position: absolute;
    width: 260px;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-radius: 8px;
    border: 1px solid rgba(121, 115, 111, 0.05);
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(121, 115, 111, 0.05);
    z-index: 100;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    gap: 4px;
}

.popup-parking-number {
    color: #2D2D2D;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.popup-status-available {
    display: flex;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    border: 1px solid #4C8652;
    background: rgba(76, 134, 82, 0.05);
}

.popup-status-sold {
    display: flex;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    border: 1px solid #86644C;
    background: rgba(134, 100, 76, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.popup-status-available .status-dot {
    background: #4C8652;
}

.popup-status-sold .status-dot {
    background: #86644C;
}

.popup-status-available .status-text,
.popup-status-sold .status-text {
    color: #4C8652;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.popup-status-sold .status-text {
    color: #86644C;
}

.popup-car-image {
    width: 220px;
    height: 150px;
}

.popup-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.popup-area-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.popup-area {
    color: #2D2D2D;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.popup-price {
    color: #2D2D2D;
    text-align: right;
    font-family: Satoshi, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.popup-reserve {
    display: flex;
    padding-top: 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    align-self: stretch;
}

.reserve-button-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.reserve-button-main {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    background: #2D2D2D;
    color: #FFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.reserve-button-icon {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #2D2D2D;
    transform: translateX(-8px);
    transition: transform 0.3s ease;
}

.reserve-button-icon img {
    width: 24px;
    height: 24px;
}

.reserve-button-container:hover .reserve-button-icon {
    transform: translateX(4px);
}

.parking-cards-container {
    display: none;
}

.see-more-button {
    display: none;
}

#reserve-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* === БЕЛЫЙ ФОН ДЛЯ .reserve-content (все устройства) === */
.reserve-content {
    display: inline-flex;
    padding: 24px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-radius: 20px;
    background: #FFF; /* ← БЕЛЫЙ ФОН */
    box-shadow: 0 30.944px 61.888px 0 rgba(37, 49, 76, 0.08);
    max-height: 90vh;
    overflow-y: auto;
}

/* ИСПРАВЛЕНИЕ: фиксированная высота для reserve-left */
.reserve-left {
    display: flex;
    width: 483px;
    height: 174px;
    padding: 24px 423px 523.87px 24px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    background-image: url('/bitrix/templates/ShenResidence/images/parking-reserve-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.close-icon-reserve {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.close-icon-reserve img {
    width: 100%;
    height: 100%;
}

.close-icon-reserve:hover img {
    opacity: 0.8;
}

.reserve-right {
    display: flex;
    width: 433px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}

.reserve-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.reserve-title {
    color: var(--Colors-Neutral-Colors-800, #19213D);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.reserve-subtext {
    color: var(--Colors-Neutral-Colors-700, #353E5C);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.reserve-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 18px;
    align-self: stretch;
}

.name-inputs {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
}

.input-container.full-width {
    width: 100%;
}

.input-label {
    color: var(--Colors-Neutral-Colors-800, #19213D);
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.reserve-input {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 16px;
    border: 1px solid #D0D5DD;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.reserve-input::placeholder {
    color: #667085;
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.reserve-textarea {
    display: flex;
    padding: 8px 16px;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    height: 130px;
    border-radius: 16px;
    border: 1px solid #D0D5DD;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    resize: none;
}

.reserve-textarea::placeholder {
    color: #667085;
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.optional {
    color: #667085;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

.reserve-checkbox {
    fill: var(--Colors-Neutral-Colors-100, #FFF);
    stroke-width: 1px;
    stroke: var(--Colors-Neutral-Colors-400, #C5CBDE);
    border: 1px solid #C5CBDE;
    filter: drop-shadow(0 1px 3px rgba(31, 47, 84, 0.10));
    width: 18px;
    height: 18px;
    appearance: none;
   border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.reserve-checkbox:checked {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="%234C8652" d="M7.5 11.25L4.5 8.25L3.3 9.45L7.5 13.65L14.7 6.45L13.5 5.25L7.5 11.25Z"/></svg>') no-repeat center;
    background-size: 14px;
    stroke: #4C8652;
}

.checkbox-label {
    color: var(--Colors-Neutral-Colors-600, #6D758F);
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    flex: 1;
    min-width: 0;
}

.policy-link {
    color: #4C8652;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

.send-request {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 24px;
    background: #2D2D2D;
    color: #FFF;
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    border: none;
    cursor: pointer;
}

.call-button {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 24px;
    border: 1px solid #2D2D2D;
    background: transparent;
    color: #2D2D2D;
    font-family: Satoshi;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .full-view-container {
        margin: 44px 24px 40px 24px;
        padding: 24px;
        height: auto;
        min-height: 350px;
        max-width: 960px;
        overflow-y: auto;
    }

    .parking-image-container {
        width: 100%;
        height: auto;
        max-height: 500px;
        overflow: hidden;
    }

    #parking-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 100%;
    }

    .parking-svg {
        width: 100%;
        height: 100%;
        max-height: 100%;
    }

    .parking-popup {
        width: 200px;
        padding: 12px;
        gap: 20px;
    }

    .popup-car-image {
        width: 100%;
        height: auto;
        max-height: 120px;
    }

    .popup-area-price {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .full-view-container {
        margin: 44px 16px 40px 16px;
        padding: 16px;
        height: auto;
        min-height: 300px;
        overflow-y: auto;
    }

    .parking-title {
        color: #79736F;
        font-family: Satoshi, sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: -0.44px;
    }

    .parking-image-container {
        display: none;
    }

    .parking-cards-container {
        display: flex;
        align-items: flex-start;
        align-content: flex-start;
        gap: 12px;
        align-self: stretch;
        flex-wrap: wrap;
        margin-top: 24px;
        overflow-y: auto;
        max-height: none;
    }

    .parking-card {
        display: flex;
        padding: 12px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        border-radius: 8px;
        border: 1px solid rgba(121, 115, 111, 0.05);
        background: #FFF;
        box-shadow: 0 4px 4px 0 rgba(121, 115, 111, 0.05);
        flex: 1 1 calc(50% - 6px);
    }

    .parking-card .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
    }

    .parking-card .popup-parking-number {
        color: #2D2D2D;
        font-family: Satoshi, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .parking-card .popup-status-available {
        display: flex;
        padding: 2px 8px;
        justify-content: center;
        align-items: center;
        gap: 6px;
        border-radius: 20px;
        border: 1px solid #4C8652;
        background: rgba(76, 134, 82, 0.05);
    }

    .parking-card .popup-status-sold {
        display: flex;
        padding: 2px 8px;
        justify-content: center;
        align-items: center;
        gap: 6px;
        border-radius: 20px;
        border: 1px solid #86644C;
        background: rgba(134, 100, 76, 0.05);
    }

    .parking-card .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    .parking-card .popup-status-available .status-dot {
        background: #4C8652;
    }

    .parking-card .popup-status-sold .status-dot {
        background: #86644C;
    }

    .parking-card .popup-status-available .status-text,
    .parking-card .popup-status-sold .status-text {
        color: #4C8652;
        font-family: Satoshi, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .parking-card .popup-status-sold .status-text {
        color: #86644C;
    }

    .parking-card .popup-car-image {
        width: 100%;
        height: auto;
        max-height: 150px;
    }

    .parking-card .popup-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        align-self: stretch;
    }

    .parking-card .popup-area-price {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        align-self: stretch;
    }

    .parking-card .popup-area {
        color: #2D2D2D;
        font-family: Satoshi, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .parking-card .popup-price {
        color: #2D2D2D;
        font-family: Satoshi, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .parking-card .popup-reserve {
        display: flex;
        padding-top: 16px;
        justify-content: flex-start;
        align-items: center;
        gap: 4px;
        align-self: stretch;
    }

    .parking-card .reserve-button-container {
        display: flex;
        width: 100%;
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        border-radius: 24px;
        background: #2D2D2D;
        color: #FFF;
        font-family: 'Satoshi', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        text-decoration: none;
    }

    .parking-card.sold .reserve-button-container {
        pointer-events: none;
        opacity: 0.5;
    }

    .parking-card .reserve-button-main {
        display: flex;
        width: 100%;
        padding: 0;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 24px;
        background: #2D2D2D;
        color: #FFF;
        font-family: 'Satoshi', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }

    .see-more-button {
        display: block;
        color: #181818;
        text-align: center;
        font-family: Satoshi, sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 17px;
        text-transform: uppercase;
        background: transparent;
        padding: 6px 10px;
        border: none;
        cursor: pointer;
        margin-top: 36px;
        align-self: stretch;
    }

    /* === МОБИЛЬНЫЕ ПРАВКИ ДЛЯ #reserve-popup === */
    #reserve-popup {
        align-items: flex-start !important;
        padding: 20px 0 !important;
        overflow-y: auto !important;
    }

    .reserve-content {
        padding: 16px !important; /* ← ПАДДИНГИ 16px НА МОБИЛЬНЫХ */
        gap: 16px;
        width: 100%;
        max-height: 100vh;
        box-sizing: border-box;
        flex-direction: column;
        overflow-y: auto;
    }

    .reserve-left {
        width: 100%;
        height: 174px !important;
        padding: 16px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }

    .reserve-right {
        width: 100%;
        gap: 18px;
        padding-bottom: 20px;
    }

    .name-inputs {
        flex-direction: column;
        gap: 8px;
    }

    .input-container {
        width: 100%;
    }

    .reserve-input,
    .reserve-textarea {
        font-size: 14px;
    }

    .reserve-title {
        font-size: 20px;
        line-height: 28px;
    }

    .reserve-subtext {
        font-size: 14px;
        line-height: 20px;
    }

    .floor-buttons {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .header-info {
        gap: 4px;
    }

    .parking-status {
        text-align: left !important;
    }

    .parking-info {
        flex: 0 1 auto;
    }

    .floor-buttons {
        flex-shrink: 0;
    }

    /* === Чекбокс не сжимается === */
    .checkbox-container {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: nowrap !important;
    }

    .reserve-checkbox {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        appearance: none;
        border-radius: 4px;
        cursor: pointer;
        border: 1px solid #C5CBDE;
        background: #FFF;
        position: relative;
    }

    .reserve-checkbox:checked {
        background: #4C8652 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="%23FFFFFF" d="M7.5 11.25L4.5 8.25L3.3 9.45L7.5 13.65L14.7 6.45L13.5 5.25L7.5 11.25Z"/></svg>') no-repeat center;
        background-size: 14px;
        border-color: #4C8652;
    }

    .checkbox-label {
        flex: 1;
        word-break: break-word;
        line-height: 1.4;
    }
}

/* Для SVG на плане */
.parking-svg .parking-area.reserved {
    fill: #FFBB77;        /* светлый оранжевый */
    opacity: 0.45;
}

/* Hover для reserved */
.parking-svg .parking-area.reserved:hover {
    opacity: 0.65;
}

/* Статус в попапе и карточках */
.popup-status-reserved {
    display: flex;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    border: 1px solid #FF9500;
    background: rgba(255, 149, 0, 0.08);
}

.popup-status-reserved .status-dot {
    background: #FF9500;
}

.popup-status-reserved .status-text {
    color: #FF9500;
    font-weight: 500;
    font-size: 14px;
}
/* End */


/* Start:/bitrix/templates/ShenResidence/css/header.css?17611229468941*/
/* Font import (assuming Satoshi is available, otherwise fallback to sans-serif) */
@import url('https://fonts.cdnfonts.com/css/satoshi');

.header {
    display: flex;
    width: 1440px;
    padding: 8px 8px 8px 24px;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    border: 1px solid rgba(233, 233, 233, 0.20);
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(4px);
    margin: 32px auto 0;
    position: relative;
    box-sizing: border-box;
}

.logo img {
    width: 48px;
    height: 60px;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    height: 40px;
}

.menu a {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.menu-item {
    position: relative;
}

.menu-link {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.submenu {
    display: none;
    position: absolute;
    top: 210%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 347px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(233, 233, 233, 0.40);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.80);
    z-index: 1000;
}

.submenu.active {
    display: inline-flex;
}

.submenu-item {
    display: flex;
    width: 347px;
    text-decoration: none;
}

.submenu-content {
    display: flex;
    width: 347px;
    padding: 0 16px;
    align-items: center;
}

.submenu-content-bottom {
    height: 94px;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

.submenu-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.submenu-title {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.submenu-description {
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.submenu-image img {
    width: 157.5px;
    height: 94px;
    flex-shrink: 0;
}

.submenu-icon img {
    width: 20px;
    height: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mobile-language-selector {
    display: none;
}

.language-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(233, 233, 233, 0.40);
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.language-dropdown.active {
    display: flex;
    flex-direction: column;
}

.language-option {
    padding: 8px 16px;
    color: #2D2D2D;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.language-option:hover {
    background: rgba(233, 233, 233, 0.40);
}

.button-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.button-main {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    background: #2D2D2D;
    color: #FFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.button-icon {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #2D2D2D;
    transform: translateX(-8px);
    transition: transform 0.3s ease;
}

.button-icon img {
    width: 24px;
    height: 24px;
}

.button-container:hover .button-icon {
    transform: translateX(4px);
}

.hamburger-menu {
    display: none;
}

.hamburger-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FAFAFA;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(233, 233, 233, 0.40);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    display: flex;
}

.mobile-header {
    display: none;
}

.mobile-menu-item {
    display: flex;
    height: auto;
    margin-top: 4px;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    color: #535862;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dropdown-icon.rotated {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    padding: 4px 0;
}

.mobile-submenu.active {
    display: flex;
}

.mobile-submenu-item {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    text-decoration: none;
    color: #535862;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.mobile-submenu-item img {
    width: 20px;
    height: 20px;
}

.mobile-button {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.mobile-button .button-main {
    flex: 1;
}

/* Tablet styles (769px to 1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
    .header {
        width: calc(100% - 32px);
        padding: 6px 6px 6px 20px;
        border-radius: 32px;
        margin: 24px auto 0;
    }

    .logo img {
        width: 50px;
        height: 40px;
    }

    .menu {
        gap: 16px;
        height: 36px;
    }

    .menu a,
    .menu-link {
        font-size: 14px;
        line-height: 20px;
    }

    .submenu {
        width: 300px;
        top: 150%;
        border-radius: 0 0 10px 10px;
    }

    .submenu-item {
        width: 300px;
    }

    .submenu-content {
        width: 300px;
        padding: 0 12px;
    }

    .submenu-content-bottom {
        height: 80px;
        border-radius: 0 0 10px 10px;
    }

    .submenu-title {
        font-size: 13px;
    }

    .submenu-description {
        font-size: 14px;
        line-height: 20px;
    }

    .submenu-image img {
        width: 135px;
        height: 80px;
    }

    .submenu-icon img {
        width: 18px;
        height: 18px;
    }

    .header-right {
        gap: 16px;
    }

    .language-icon {
        width: 40px;
        height: 40px;
    }

    .language-dropdown {
        border-radius: 10px;
    }

    .language-option {
        padding: 6px 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .button-main {
        padding: 6px 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .button-icon {
        width: 36px;
        height: 36px;
    }

    .button-icon img {
        width: 20px;
        height: 20px;
    }

    .hamburger-menu {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-header {
        display: none;
    }

    .mobile-language-selector {
        display: none;
    }
}

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        width: calc(100% - 32px);
        padding: 6px 16px 6px 16px;
        justify-content: space-between;
        align-items: center;
        border-radius: 22px;
        border-bottom: 1px solid rgba(233, 233, 233, 0.40);
        background: rgba(255, 255, 255, 0.40);
        box-sizing: border-box;
        margin-top: 16px;
    }

    .logo img {
        width: 50px;
        height: 40px;
    }

    .menu {
        display: none;
    }

    .header-right {
        display: none;
    }

    .mobile-language-selector {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 10px;
    }

    .hamburger-menu {
        display: flex;
        align-items: center;
    }

    .mobile-menu {
        width: calc(100% - 32px);
        left: 16px;
        border-radius: 0 0 22px 22px;
        border-top: none;
    }
}
/* End */
/* /bitrix/templates/ShenResidence/css/parking.css?177451206022322 */
/* /bitrix/templates/ShenResidence/css/header.css?17611229468941 */
