/* Contacts page only. The site header and footer stay in the shared layout. */
#middle {
    margin-top: 0;
    padding-top: 22px;
    background: #ffffff;
}
#middle #content > .col-md-12 > h1 {
    max-width: none;
    margin: 30px 0 0;
    color: #1d2a30;
    font: 700 42px/1.15 Arial, sans-serif;
}
.bsv-contacts,
.bsv-contacts * {
    box-sizing: border-box;
}
.bsv-contacts {
    --bsv-contact-red: #9a211c;
    --bsv-contact-ink: #1d2a30;
    --bsv-contact-muted: #62727a;
    --bsv-contact-border: #dce4e4;
    max-width: none;
    margin: 0;
    padding: 6px 0 72px;
    color: var(--bsv-contact-ink);
    font: 16px/1.45 Arial, sans-serif;
}
.bsv-contacts a {
    color: inherit;
    text-decoration: none;
}
.bsv-contacts a:hover,
.bsv-contacts a:focus-visible {
    color: var(--bsv-contact-red);
    text-decoration: underline;
}
.bsv-contacts button {
    font: inherit;
}
.bsv-contacts a:focus-visible,
.bsv-contacts button:focus-visible,
.bsv-contacts summary:focus-visible {
    outline: 3px solid #cb827e;
    outline-offset: 3px;
}
.bsv-contacts__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
}
.bsv-contacts__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--bsv-contact-border);
    border-radius: 9px;
    background: #fff;
    color: var(--bsv-contact-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.bsv-contacts__nav a[aria-current="location"],
.bsv-contacts__nav a[aria-current="location"]:hover {
    border-color: var(--bsv-contact-red);
    background: var(--bsv-contact-red);
    color: #fff;
    text-decoration: none;
}
.bsv-contacts__section {
    margin: 0 0 34px;
    scroll-margin-top: 24px;
}
.bsv-contacts__section > h2 {
    margin: 0 0 12px;
    color: var(--bsv-contact-ink);
    font: 700 27px/1.2 Arial, sans-serif;
}
.bsv-contacts__section-lead {
    margin: -2px 0 16px;
    color: var(--bsv-contact-muted);
    font-size: 15px;
}
.bsv-contacts__location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 69px;
    padding: 13px 22px;
    border: 1px solid var(--bsv-contact-border);
    border-radius: 10px;
    background: #ffffff;
}
.bsv-contacts__location strong,
.bsv-contacts__location span {
    display: block;
}
.bsv-contacts__location strong {
    margin-bottom: 5px;
    color: #33484f;
    font-weight: 700;
}
.bsv-contacts__location span {
    color: var(--bsv-contact-muted);
    font-size: 14px;
}
.bsv-contacts__location-route,
.bsv-contacts__card-link,
.bsv-contacts__region-route {
    color: var(--bsv-contact-red) !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.bsv-contacts__location-route span {
    display: inline;
    color: inherit;
}
.bsv-contacts__location-actions,
.bsv-contacts__region-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
.bsv-contacts__location-actions {
    align-items: flex-end;
}
.bsv-contacts__scheme {
    color: var(--bsv-contact-muted) !important;
    font-size: 12px;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.bsv-contacts__departments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 17px;
}
.bsv-contacts__card,
.bsv-contacts__retail,
.bsv-contacts__region,
.bsv-contacts__requisites {
    border: 1px solid var(--bsv-contact-border);
    border-radius: 12px;
    background: #fff;
}
.bsv-contacts__card {
    display: flex;
    flex-direction: column;
    min-height: 289px;
    padding: 28px 22px 19px;
}
.bsv-contacts__card h3,
.bsv-contacts__retail h3 {
    margin: 0;
    color: var(--bsv-contact-ink);
    font: 700 22px/1.2 Arial, sans-serif;
}
.bsv-contacts__card-subtitle {
    min-height: 22px;
    margin: 5px 0 17px;
    color: var(--bsv-contact-muted);
    font-size: 14px;
}
.bsv-contacts__card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 19px;
    border-top: 1px solid #e4eaeb;
}
.bsv-contacts__phone {
    display: block;
    width: fit-content;
    color: var(--bsv-contact-ink) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.bsv-contacts__phone--secondary {
    font-size: 16px;
    font-weight: 600;
}
.bsv-contacts__email {
    display: block;
    width: fit-content;
    margin-top: 8px;
    color: var(--bsv-contact-muted) !important;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.bsv-contacts__card-link,
.bsv-contacts__card > .bsv-contacts__more {
    display: block;
    width: fit-content;
    margin-top: auto;
    padding-top: 16px;
}
.bsv-contacts__more summary {
    color: var(--bsv-contact-red);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.bsv-contacts__more-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 0 2px;
    font-size: 14px;
}
.bsv-contacts__more-content a {
    width: fit-content;
}
.bsv-contacts__more-content span {
    margin-top: 5px;
    color: var(--bsv-contact-muted);
    font-size: 12px;
    font-weight: 700;
}
.bsv-contacts__retail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 222px;
    padding: 22px 26px;
}
.bsv-contacts__retail-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 24px;
}
.bsv-contacts__retail-main > p {
    margin: 8px 0 14px;
    color: var(--bsv-contact-muted);
}
.bsv-contacts__brands-label {
    color: var(--bsv-contact-muted);
    font-size: 14px;
    font-weight: 700;
}
.bsv-contacts__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}
.bsv-contacts__brands li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f4f0ed;
    color: #77413d;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.bsv-contacts__retail-main .bsv-contacts__card-link {
    margin-top: auto;
}
.bsv-contacts__retail-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 26px;
    border-left: 1px solid #e4eaeb;
}
.bsv-contacts__retail-contact h4 {
    margin: 0 0 9px;
    color: var(--bsv-contact-ink);
    font-size: 19px;
    font-weight: 700;
}
.bsv-contacts__retail-contact .bsv-contacts__phone {
    margin-bottom: 3px;
}
.bsv-contacts__retail-contact .bsv-contacts__email {
    margin-top: 4px;
}
.bsv-contacts__retail-contact .bsv-contacts__more {
    margin-top: auto;
    padding-top: 11px;
}
.bsv-contacts__regions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px 18px;
}
.bsv-contacts__region {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 207px;
    padding: 15px 16px;
}
.bsv-contacts__region h3 {
    margin: 0;
    color: var(--bsv-contact-ink);
    font: 700 18px/1.25 Arial, sans-serif;
}
.bsv-contacts__region p {
    min-height: 20px;
    margin: 8px 0 9px;
    color: var(--bsv-contact-muted);
    font-size: 15px;
}
.bsv-contacts__region-phone {
    width: fit-content;
    font-size: 16px;
    font-weight: 700;
}
.bsv-contacts__region-phone--second {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
}
.bsv-contacts__region-email {
    width: fit-content;
    margin-top: 4px;
    color: var(--bsv-contact-muted) !important;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.bsv-contacts__region-actions {
    margin-top: auto;
    padding-top: 8px;
}
.bsv-contacts__region-route {
    font-size: 13px;
}
.bsv-contacts__bottom {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 18px;
}
.bsv-contacts__map {
    position: relative;
    min-height: 276px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #e6ede9;
    background-image: repeating-linear-gradient(0deg, transparent 0 40px, rgba(255,255,255,.8) 41px 51px, transparent 52px 63px),
                      repeating-linear-gradient(98deg, transparent 0 83px, #cbdad2 84px 96px, transparent 97px 112px);
}
.bsv-contacts__map-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.bsv-contacts__map-note {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    max-width: calc(100% - 40px);
    margin: 0;
    padding: 13px 16px;
    border-radius: 9px;
    background: #fff;
    color: var(--bsv-contact-ink);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 9px rgba(29,42,48,.07);
}
.bsv-contacts__map-note button {
    display: block;
    margin-top: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bsv-contact-red);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}
.bsv-contacts__requisites {
    padding: 20px 22px;
}
.bsv-contacts__requisites h3 {
    margin: 0 0 13px;
    font: 700 23px/1.2 Arial, sans-serif;
}
.bsv-contacts__requisites p {
    margin: 0 0 10px;
    color: var(--bsv-contact-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.bsv-contacts__requisites p strong {
    color: var(--bsv-contact-ink);
}
.bsv-contacts__requisites .bsv-contacts__legal-extra {
    font-size: 12px;
}
.bsv-contacts__copy {
    min-height: 41px;
    margin-top: 6px;
    padding: 8px 14px;
    border: 1px solid #d6b2ae;
    border-radius: 9px;
    background: #fff;
    color: var(--bsv-contact-red);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.bsv-contacts__copy:hover {
    background: #fcf6f5;
}
.bsv-contacts__copy-status {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: var(--bsv-contact-muted);
    font-size: 12px;
}
@media (max-width: 1099px) {
    .bsv-contacts__regions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .bsv-contacts__departments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bsv-contacts__bottom {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    #middle #content > .col-md-12 > h1 {
        margin-top: 21px;
        font-size: 36px;
    }
    .bsv-contacts {
        padding-bottom: 46px;
    }
    .bsv-contacts__nav {
        flex-wrap: nowrap;
        gap: 8px;
        margin-bottom: 24px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .bsv-contacts__nav a {
        font-size: 13px;
    }
    .bsv-contacts__section > h2 {
        font-size: 24px;
    }
    .bsv-contacts__location {
        display: block;
        padding: 13px 16px;
        font-size: 13px;
    }
    .bsv-contacts__location-actions {
        align-items: flex-end;
        width: fit-content;
        margin: 7px 0 0 auto;
    }
    .bsv-contacts__departments,
    .bsv-contacts__regions {
        grid-template-columns: 1fr;
    }
    .bsv-contacts__card {
        min-height: 0;
        padding: 27px 19px 21px;
    }
    .bsv-contacts__card h3 {
        font-size: 22px;
    }
    .bsv-contacts__card-body {
        padding-top: 15px;
    }
    .bsv-contacts__card-link,
    .bsv-contacts__card > .bsv-contacts__more {
        margin-top: 18px;
        padding-top: 0;
    }
    .bsv-contacts__retail {
        grid-template-columns: 1fr;
        padding: 24px 19px;
    }
    .bsv-contacts__retail-main {
        padding-right: 0;
    }
    .bsv-contacts__retail-main .bsv-contacts__card-link {
        margin-top: 13px;
    }
    .bsv-contacts__retail-contact {
        margin-top: 17px;
        padding: 17px 0 0;
        border-top: 1px solid #e4eaeb;
        border-left: 0;
    }
    .bsv-contacts__retail-contact .bsv-contacts__more {
        margin-top: 12px;
    }
    .bsv-contacts__region {
        min-height: 185px;
    }
    .bsv-contacts__map {
        min-height: 178px;
    }
}
@media (min-width: 701px) and (max-width: 1099px) {
    .bsv-contacts__region {
        min-height: 212px;
    }
}
