.page_content {
    width: 100% !important;
}

.contacts-top {
    padding: 5px 0 10px;
}

.contacts-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 920px;
}

.contacts-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel {
    background: var(--tg-light-gray);
    border-radius: 12px;
    padding: 28px 32px;
}

.panel-title {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.panel-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.panel-link {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.35;
    transition: color .2s ease;
}

.panel-link:hover {
    color: var(--primary);
}

.panel-sub {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 12px;
    line-height: 1.4;
}

.panel-sub-title {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 500;
}

.panel-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.panel-text-link {
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.panel-text-link:hover {
    color: var(--primary);
}

.panel-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.panel-requisite {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 4px;
}
.panel-requisite a[href^="tel"]{
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}
.panel-requisite:last-child {
    margin-bottom: 0;
}

.panel-address {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .contacts-panels {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 22px 20px;
    }

    .panel-link {
        font-size: 18px;
    }
}

.showrooms-head {
    padding: 28px 0 14px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 0;
    color: var(--text-dark);
}

.section-sub {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.contacts-map-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.contacts-map-section--compact {
    height: 420px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 12px;
}

.yandex-map {
    width: 100%;
    height: 100%;
}

.yandex-map .ymaps-2-1-79-tiles-pane {
    filter: grayscale(1) contrast(1.05);
}

.yandex-map .ymaps-2-1-79-overlay-pane,
.yandex-map .ymaps-2-1-79-controls-pane,
.yandex-map .ymaps-2-1-79-events-pane {
    filter: none !important;
}

.map-balloon { max-width: 320px; }
.map-balloon__title { margin: 0 0 8px 0; font-weight: 600; font-size: 15px; }
.map-balloon__text { margin: 0 0 10px 0; font-size: 14px; line-height: 1.5; }
.map-balloon__addr { margin: 0 0 12px 0; font-size: 13px; color: #666; }

.route-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #a18c17;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: opacity .2s ease;
}

.route-btn:hover { opacity: .9; }

.showrooms-section { padding: 60px 0; }
.showrooms-section--compact { padding: 34px 0 40px; }

.city-group { margin-bottom: 60px; }

.city-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    margin: 0 0 24px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.showrooms-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.showroom-row {
    display: grid;
    grid-template-columns: 350px 1fr auto auto;
    gap: 24px;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-light);
    transition: background .2s ease;
}

.showroom-row:last-child {
    border-bottom: none;
}

.showroom-photo-wrap {
    width: 350px;
    height: 250px;
    border-radius: var(--radius-semi);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.showroom-gallery {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item.main {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item.main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item.main:hover img { transform: scale(1.05); }
.gallery-item:not(.main) { display: none; }

.photo-more-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--radius-quarter);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.showroom-no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.showroom-info {
    display: flex;
    flex-direction: column;
    padding-right: 50px;
    gap: 8px;
}

.showroom-address-line {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.showroom-metro {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.showroom-metro svg {
    color: var(--primary);
    flex-shrink: 0;
}

.showroom-hours {
    font-size: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.showroom-hours svg {
    flex-shrink: 0;
    color: var(--primary);
    opacity: .7;
}

.showroom-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.showroom-phone,
.showroom-email {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
    transition: color .2s ease;
}

.showroom-phone:hover,
.showroom-email:hover {
    color: var(--primary);
}

.showroom-map-link { flex-shrink: 0; }

.route-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease;
    border-bottom: 1px solid #948200;
}

.route-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.lg-backdrop { background-color: rgba(0,0,0,.95); }
.lg-outer .lg-thumb-outer { background-color: rgba(0,0,0,.85); }

@media (max-width: 1024px) {
    .panel {
        grid-column: span 6;
    }

    .panel:nth-child(2) {
        border-right: none;
    }

    .panel-wide {
        grid-column: span 12;
        flex-wrap: wrap;
        gap: 24px;
    }

    .section-title { font-size: 28px; }
    .contacts-map-section--compact { height: 380px; }

    .showroom-row {
        grid-template-columns: 180px 1fr auto;
        grid-template-rows: auto auto;
        gap: 20px;
    }

    .showroom-photo-wrap { width: 180px; height: 120px; }
    .showroom-contacts { grid-column: 2; grid-row: 2; }
    .showroom-map-link { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 768px) {

    .city-title { font-size: 22px; }
    .contacts-map-section--compact { height: 330px; border-radius: var(--radius-semi); }
    .showrooms-head { padding-top: 18px; }
    .section-title { font-size: 24px; }

    .showroom-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
        padding: 20px 0;
    }

    .showroom-photo-wrap { width: 100%; height: 200px; }
    .showroom-contacts { grid-column: 1; grid-row: auto; }
    .showroom-map-link { grid-column: 1; grid-row: auto; }
    .route-link { font-size: 15px; }
    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .contacts-map-section { height: 300px; }
}
[class*="copyrights-pane__open-button"],
[class*="gotoymaps"],
[class*="copyrights__logo"] {
    display: none !important;
}
.ymaps-2-1-79-map-copyrights-promo {
    display: none !important;
}