.series__bid-popup-content {
    padding-top: 20px !important;
}

.search-results li:before {
    content: '' !important;
}

.iti__country-list li:before {
    content: '' !important;
}

.map-contacts__contacts-content > a {
    color: #606060;
}

.map-contacts__contacts-content > a:hover {
    color: var(--corp);
}
.current-phone-item,
.current-email-item {
  margin: 5px 0;
}

.map-contacts__contacts-current-phone,
.map-contacts__contacts-current-emails {
  max-height: 120px;
  overflow-y: auto;
}


.parthner-cards-grid__item-phone-container,
.parthner-cards-grid__item-email-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.map__placemark-container {
  margin-left: 10px;
}

.map__placemark-item {
  margin: 5px 0;
}

/* Убираем маркировку для всех списков */
.search-results-li {
    list-style-type: unset !important; /* Убираем маркеры */
    padding: 0; /* Убираем отступы */
    margin: 0; /* Убираем внешние отступы */
}

.map-contacts__contacts-current-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results {
    display: none;
    position: absolute;
    top: 190px;
    background: white;
    z-index: 1000;
    border: 1px solid #ccc;
    border-radius: 8px; 
    max-height: 200px;
    overflow-y: auto;
    max-width: 25%;
}

ul li {
    list-style-type: none !important;
}

.search-results li:hover {
    background-color: #D40510; /* Замените #corp на нужный цвет */
    color: white;
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #D40510;
    border-radius: 3px;
}
/*попап*/

.series__bid-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.series__bid-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.series__bid-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.series__bid-popup-title {
    margin: 0;
    font-size: 24px;
}

.series__bid-popup-close {
    font-size: 28px;
    cursor: pointer;
}

.series__bid-popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.series__form-row {
    display: flex;
    gap: 20px;
}

.series__form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.series__half-width {
    width: calc(50% - 10px);
}

.series__form-group label {
    margin-bottom: 5px;
    line-height: 24px;
    font-weight: 400;
    font-size: 14px;
    color: #979797;
}

.series__form-group input,
.series__form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    /*font-family: 'XO Tahion';*/
}

.series__form-group textarea {
    resize: vertical;
}

.series__file-upload-container {
    margin-top: 20px;
}

.series__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.series__checkbox input {
    margin: 0;
}

.series__form-submit {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
    background-color: #D40510;
    color: white;
    border: none;
    font-weight: 500;
}

.series__form-submit:hover {
    background-color: #b8040e;
    color: white;
}

.series__button-upload {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
    background-color: white;
    color: #D40510;
    border: 1px solid #D40510;
    font-weight: 500;
}

.series__button-upload .series__icon {
    margin-right: 10px;
    font-size: 24px;
    font-weight: 500;
    color: #D40510;
}

.series__bid-popup-form .series__checkbox {
    width: auto;
    margin-top: 10px;
    display: flex;
    align-items: center;
    color: #D40510;
}

.series__bid-popup-form .series__checkbox input {
    width: auto;
    accent-color: #D40510;
}

.series__bid-popup-form input:focus,
.series__bid-popup-form textarea:focus {
    border-color: #D40510;
    outline: none;
}

.series__bid-popup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.series__bid-popup-form .series__form-group {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .series__bid-popup-form .series__form-group.series__half-width {
        flex: 1 1 calc(50% - 10px);
    }
}

.series__file-upload-container {
    margin-bottom: 20px;
}

.series__file-upload-flex-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--series-gap);
}

.series__file-upload-flex-wrapper>div {
    width: 50%;
}

.series__file-limit {
    font-size: 14px;
    color: #606060;
    margin-top: 5px;
    margin-bottom: 0px;
}

.series__file-limit-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.series__file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.series__remove-file {
    background: none;
    border: none;
    color: #D40510;
    cursor: pointer;
    margin-left: 10px;
}

#file-name,
#file-size {
    margin-right: 10px;
}

.policy-checkbox {
    display: flex;
    margin-right: 5px;
}

.policy-checkbox::after {
    content: '*';
    color: #D40510;
    margin-left: 3px;
    display: inline;
}

.series__form-group label::after {
    content: '';
    display: none;
}

.series__form-group.required label::after {
    content: '*';
    color: #D40510;
    margin-left: 2px;
    display: inline;
}

.series__policy-title {
    line-height: 0.1;
    font-weight: 400;
    font-size: 16px;
    color: #979797;
    white-space: normal;
    word-wrap: break-word;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.series__policy-link {
    text-decoration: underline;
    cursor: pointer;
}

.series__policy-title-underlined {
    text-decoration: underline;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.series__policy-title-underlined:hover {
    color: #b8040e;
}

.series__checkbox-wrap {
    display: flex;
    align-items: flex-start;
}

.policy-checkbox {
    display: flex;
    margin-right: 10px;
    padding-top: 3px;
}

.policy-checkbox > input[type='checkbox']:hover {
    box-shadow: 0 0 0 1px #D40510;
} 

.policy-checkbox > input[type='checkbox'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #D40510;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
    background-color: white;
}

.policy-checkbox > input[type='checkbox']:checked {
    background-color: #D40510;
}

.policy-checkbox > input[type='checkbox']:checked::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 4px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.series__policy-text {
    flex: 1;
}

.series__policy-title {
    line-height: 2.0;
    font-weight: 400;
    font-size: 16px;
    color: #979797;
    display: inline;
}

.series__policy-title-underlined {
    text-decoration: underline;
    cursor: pointer;
    display: inline;
}

.series__policy-title-underlined:hover {
    color: #b8040e;
}

@media (max-width: 600px) {
    .series__file-upload-flex-wrapper {
        flex-direction: column;
    }

    .series__file-upload-flex-wrapper > div {
        width: 100%;
    }

    .series__image-wrap img {
        max-width: 297px;
        width: 100%;
    }
    
}

@media (max-width: 767px) {
    .series__form-row {
        flex-direction: column;
    }

    .series__half-width {
        width: 100%;
    }
}

.series-error {
    border: 1px solid rgba(212, 5, 16, 1) !important;
}

@keyframes boxShadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 5, 16, 0.8);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(212, 5, 16, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 5, 16, 0);
    }
}

@keyframes borderFadeIn {
    0% {
        border-color: rgba(212, 5, 16, 0.8);
    }
    100% {
        border-color: rgba(212, 5, 16, 1);
    }
}

.series-valid {
    border: 1px solid #ccc;
}

@media (max-width: 767px) {
    .series__card {
        padding: 20px;
    }

    .series__details-title {
        font-size: 24px;
    }

    .series__questionnaire-list {
        margin-left: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .iti__country-list {
        max-width: 260px;
    }

    .iti__country-list > li {
        width: 100%;
    }
}

@media (min-width: 1279px) {
    .series__questionnaire {
        height: 274px;
        justify-content: space-between;
    }

    .series__questionnaire-actions {
        height: auto;
    }
}

.alertify-notifier {
    color: white;
}

.text-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-top: 10px;
}

#show-less {
    display: none;
}

.series__button-show-more,
.series__button-show-less {
    width: auto;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
    background-color: white;
    color: #D40510;
    border: none;
    font-weight: 500;
    align-self: flex-start;
}

.series__button-show-less {
    margin-top: 0px;
}

.series__button-show-more::after,
.series__button-show-less::after {
    content: "expand_more";
    font-family: 'Material Symbols Outlined';
    margin-left: 10px;
    font-size: 24px;
    font-weight: 500;
    color: #D40510;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' -25,
        'opsz' 20;
}

.series__button-show-less::after {
    content: "expand_less";
}

@media (max-width: 767px) {
    .series__button-show-more,
    .series__button-show-less {
        width: 100%;
        display: flex;
    }
}

.series__details-text > p {
    margin-bottom: 0px;
}

.expanded > p {
    margin-bottom: 20px !important;
}

.text-expand p:last-child {
    margin-bottom: 0px;
}


:root {
    --corp: #D40510;
    --text-primary: #383838;
    --series-gap: 16px;
}


@media (max-width: 768px) {
    #country-select {
        width: 100%;
    }
    
    #city-select {
        width: 100%;
    }
}

.select-wrap {
    border-radius: 8px;
    border: 1px solid #d0d0d0;
}

.map-contacts {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.map-contacts__contacts-emails {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 768px) {
    .map-contacts {
        display: flex !important;
        flex-direction: column;
    }
}

@media (max-width: 920px) {
    .map-contacts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .map-contacts {
        display: flex;
        justisy-content: space-between;
        align-items: center;
    }
    
    .map-contacts__contacts {
        max-width: 460px;
    }
    
    .map-contacts__contacts-current {
        max-width: 460px;
    }

}

.map-contacts__map {
    width: 100%;
    height: 100%;
    min-height: 478px;
    background-color: lightgray;
    border-radius: 8px;
    overflow: hidden;
}

.map-contacts__contacts-current {
    height: 100%;
    width: 100%;
    min-height: 500px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    transition: border .5s, box-shadow .5s, opacity .5s;
}

.map-contacts__contacts-current:hover {
    border: 1px solid #ececec;
    box-shadow: 0px 0px 6px 0px #00000026;
    opacity: 0.99;
}

.map-contacts__contacts {
    background-color: #f5f5f5;
    height: 100%;
    min-height: 478px;
    border: 1px solid #d0d0d0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    transition: border .5s, box-shadow .5s, opacity .5s;
}

.map-contacts__contacts:hover {
    border: 1px solid #ececec;
    box-shadow: 0px 0px 6px 0px #00000026;
    opacity: 0.99;
}

.map-contacts__contacts-title {
    color: #383838;
    font-weight: 700;
    font-size: 20px;
}

.map-contacts__contacts-description {
    font-size: 14px;
    font-weight: 400;
    color: #979797;
    line-height: 24px;
}

.map-contacts__contacts-content {
    font-size: 16px;
    font-weight: 400;
    color: #606060;
    line-height: 24px;
}

.map-contacts__contacts-current-name {
    font-size: 24px;
    font-weight: 400;
    color: #606060;
    line-height: 24px;
}

/*Где купить*/

.filter-options__radio div label {
    position: relative;
    top: 6px;
    margin-left: 2px;
}

.gde-kupit input[type="radio"] {
    appearance: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    transition: 0.1s all linear;
    margin-right: 5px;
    position: relative;
    top: 4px;
}

.gde-kupit input[type="radio"]:checked {
    background-color: var(--corp);
    border-color: var(--corp);
}

.gde-kupit input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.filter-options__radio {
    margin-left: 5px;
    display: flex;
    gap: 20px;
    /*margin-bottom: 20px;*/
}

.gde-kupit select {
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 3px 5px;
}

.gde-kupit button {
    border: var(--corp) solid 1px;
    cursor: pointer;
    background-color: #ffffff;
    color: var(--corp);
    padding: 3px 15px 5px 8px;
    border-radius: 8px;
    line-height: 24px;
}

.gde-kupit #clear-filters::before {
    content: 'autorenew';
    font-family: 'Material Icons';
    font-size: 18px;
    position: relative;
    top: 4px;
}

.filter-options__select {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .filter-options__select {
        flex-direction: column;
        gap: 10px;
    }
}

.filter-options {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* parthner-cards-grid */

.parthner-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.parthner-cards-grid__item {
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    padding: 20px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border .5, box-shadow .5 opacity .5;
}

.parthner-cards-grid__item:hover {
    border: 1px solid #ececec;
    box-shadow: 0px 0px 6px 0px #00000026;
    opacity: 0.99;
}

.parthner-cards-grid__item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.parthner-cards-grid__item-logo {
    width: 107px;
    height: 72px;
    /*border: 1px solid #dedede;*/
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parthner-cards-grid__item-logo:hover {
    cursor: pointer;
}

.parthner-cards-grid__item-go {
    color: #d40510;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.parthner-cards-grid__item-go::after {
    content: 'chevron_right';
    font-family: 'Material Icons';
    font-size: 18px;
    position: relative;
    top: 3px;
}

.parthner-cards-grid__item-name {
    font-size: 16px;
    font-weight: 700;
    color: #383838;
    margin-bottom: 8px;
}

.parthner-cards-grid__item-phone {
    display: flex;
    flex-direction: row;
    line-height: 24px;
    margin-top: 6px;
}

.parthner-cards-grid__item-phone::before {
    content: 'phone_outlined';
    font-family: 'Material Icons';
    font-size: 24px;
    color: #979797;
    width: 20px;
    margin-right: 15px;
}

.parthner-cards-grid__item-email {
    line-height: 24px;
    margin-top: 12px;
    display: flex;
    flex-direction: row;
}

.parthner-cards-grid__item-email::before {
    content: 'mail_outlined';
    font-family: 'Material Icons';
    font-size: 24px;
    color: #979797;
    width: 20px;
    margin-right: 15px;
}

.parthner-cards-grid__item-show-on-map {
    line-height: 24px;
    margin-top: 16px;
}


/* Адаптивные стили для мобильных устройств */

@media (max-width: 1400px) {
    .parthner-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 470px) {
    .parthner-cards-grid {
        grid-template-columns: 1fr;
    }
}


/* END - parthner-cards-grid */
/*
.gde-kupit input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 5px solid var(--corp);
    border-radius: 50%;
    position: relative;
}

.gde-kupit input[type="checkbox"]:checked {
    background-color: var(--corp);
}

.gde-kupit input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
*/

/*
карта обратная связь
*/

.map-contacts__contacts-button button {
    margin-top: 20px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 8px 0px 8px 0px;
}

.map-contacts__contacts-button-current button {
    margin-top: 20px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 8px 0px 8px 0px;
}




/*Карточки*/

#country-select {
    min-width: 217px;
    min-height: 32px;
    color: #383838;
    border: 0px;
}

#city-select {
    min-width: 217px;
    min-height: 32px;
    color: #383838;
    border: 0px;
}

#search-input {
    min-width: 217px;
    min-height: 32px;
    color: #383838;
    border: 0px;
}

.search-input {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 0px;
    outline: none;
}

.search-input__wrap {
    display: flex;
    justify-content: space-between;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 4px 16px 4px 16px;
}

.search-input__icon::after {
    content: 'search';
    font-family: 'Material Icons';
    font-size: 24px;
    position: relative;
    top: 3px;
    color: var(--text-primary);
    cursor: pointer;
    transition: opacity 0.5s ease, color 0.5s ease;
}

.search-input__icon:hover::after {
    opacity: 1;
    color: var(--corp);

}

.scroll-to {
    color: var(--corp);
    font-size: 16px;
    border: 0px !important;
    text-decoration: none;
}

.scroll-to:hover {
    text-decoration: underline;
    background-color: transparent;
}

.scroll-to-icon::before {
    color: var(--corp);
    content: 'location_on';
    font-family: 'Material Icons';
    font-size: 24px;
    position: relative;
    top: 5px;
    text-decoration: none !important;
}

.corp-color {
    color: var(--corp);
}

.map__placemark {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-contacts__contacts-current-address, .map-contacts__contacts-current-phone, .map-contacts__contacts-current-emails {
    font-size: 16px;
    font-weight: 400;
    color: #606060;
    line-height: 24px;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

/* Скрыть все стандартные элементы Яндекс карты, кроме зумбара */
#map [class*="ymaps-2-1"][class*="copyrights"],
#map [class*="ymaps-2-1"][class*="copyright"],
#map [class*="ymaps-2-1"][class*="map-copyrights"],
#map [class*="ymaps-2-1"][class*="geolocation"],
#map [class*="ymaps-2-1"][class*="route"],
#map [class*="ymaps-2-1"][class*="traffic"],
#map [class*="ymaps-2-1"][class*="type-selector"],
#map [class*="ymaps-2-1"][class*="fullscreen"],
#map [class*="ymaps-2-1"][class*="search"],
#map [class*="ymaps-2-1"][class*="ruler"],
#map [class*="ymaps-2-1"][class*="open-in-yandex"],
#map [class*="ymaps-2-1"][class*="map-open-block"] {
  display: none !important;
}

/* Скрыть копирайт и промо-блоки */
#map [class*="copyrights-promo"],
#map [class*="map-copyrights-promo"],
#map [class*="copyrights-logo"],
#map [class*="copyrights-pane"] {
  display: none !important;
}

/* Убедиться, что зумбар виден - приоритетное правило (должно быть после всех правил скрытия) */
#map [class*="zoom-control"],
#map [class*="zoomControl"],
#map [class*="zoom"],
#map [class*="ymaps-2-1"][class*="zoom-control"],
#map [class*="ymaps-2-1"][class*="zoomControl"],
#map [class*="ymaps-2-1"][class*="zoom"],
#map div[class*="zoom-control"],
#map div[class*="zoomControl"],
/* Универсальные селекторы для зумбара Яндекс карт */
#map > div > div[class*="controls"] > div[class*="zoom"],
#map > div > div[class*="controls"] > div[class*="zoom-control"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Скрыть все контролы кроме зумбара - более точные правила */
#map [class*="ymaps-2-1"][class*="geolocation-control"],
#map [class*="ymaps-2-1"][class*="route-editor"],
#map [class*="ymaps-2-1"][class*="traffic-control"],
#map [class*="ymaps-2-1"][class*="type-selector"],
#map [class*="ymaps-2-1"][class*="fullscreen-control"],
#map [class*="ymaps-2-1"][class*="search-control"],
#map [class*="ymaps-2-1"][class*="ruler-control"] {
  display: none !important;
}

/* Универсальное скрытие элементов с копирайтом */
#map a[href*="yandex.ru/maps"],
#map a[href*="yandex.com/maps"],
#map [class*="open-in-yandex"],
#map [class*="map-open-block"] {
  display: none !important;
}

/* Стили для лоадера формы с корпоративным цветом */
#form-loader {
  margin-left: 10px;
  vertical-align: middle;
  width: 1em;
  height: 1em;
}

#form-loader.running,
#form-loader.running * {
  color: var(--corp) !important;
  fill: var(--corp) !important;
  stroke: var(--corp) !important;
}

#form-loader svg {
  color: var(--corp);
  fill: var(--corp);
}

#submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

#submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Белый лоадер при ховере на кнопку */
#submit-button:hover #form-loader.running,
#submit-button:hover #form-loader.running * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

#submit-button:hover #form-loader svg {
  color: #ffffff;
  fill: #ffffff;
}

/* Контейнер для иконок склада и клана */
.partner-icons-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

/* Стили для иконки склада */
.storage-icon {
  flex-shrink: 0;
}

.storage-icon img {
  width: 120px;
  height: auto;
  display: block;
}

/* Стили для иконки клана */
.clan-icon {
  flex-shrink: 0;
}

.clan-icon img {
  width: 120px;
  height: auto;
  display: block;
}

/* Стили для текста авторизованного партнера под названием */
.storage-text {
  font-size: 12px;
  font-weight: 400;
  color: #606060;
  line-height: 24px;
  margin-top: 2px;
  margin-bottom: 8px;
  font-style: italic;
}

/* Стили для карточки просмотра партнера - правая колонка */
.map-contacts__contacts-current-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Контейнер для иконок клана и склада */
.map-contacts__contacts-current-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.map-contacts__contacts-current-storage {
  display: flex;
  align-items: center;
}

.map-contacts__contacts-current-storage img {
  width: 120px;
  height: auto;
}

.map-contacts__contacts-current-clan {
  display: flex;
  align-items: center;
}

.map-contacts__contacts-current-clan img {
  width: 120px;
  height: auto;
}

.map-contacts__contacts-current-clan img {
  width: 175px;
  height: 50px;
  margin-bottom: 6px;
}

/* Позиционирование для карточки товара */
.parthner-cards-grid__item {
  position: relative;
}

.parthner-cards-grid__item-name {
  margin-bottom: 0;
}

/* Стили для header карточки партнера */
.parthner-cards-grid__item-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 60px;
}

/* Резиновая карта, подстраивающаяся под размеры карточки просмотра */
.map-contacts {
  display: flex;
  align-items: stretch;
}

.map-contacts__map {
  flex: 1;
  min-height: 500px;
  max-height: 100vh;
  height: auto;
  transition: height 0.3s ease;
}

/* Ограничить растягивание Yandex Maps */
.map-contacts__map > div {
  height: 100% !important;
  max-height: inherit;
}

.map-contacts__contacts,
.map-contacts__contacts-current {
  flex: 0 0 400px;
  max-height: 100vh;
  overflow-y: auto;
}

.map-contacts__contacts {
  min-height: 500px !important;
}

.map-contacts__contacts-current {
  min-height: 500px !important;
}

/* Синхронизация высоты карты с карточкой просмотра */
.map-contacts__contacts-current[style*="display: flex"] ~ .map-contacts__map,
.map-contacts__contacts-current[style*="display: flex"] + * .map-contacts__map {
  height: auto;
  min-height: 500px;
}

/* Финальное правило для зумбара - максимальный приоритет в конце файла */
#map [class*="zoom"]:not([class*="copyright"]):not([class*="copyrights"]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ========== VEDA Clan Carousel Section ========== */
.veda-clan-section {
  margin: 30px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.veda-clan-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.veda-clan-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  max-width: 450px;
}

.veda-clan-description {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.veda-clan-title {
  font-weight: 700;
  color: #c8102e;
}

.veda-clan-carousel-container {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  min-width: 0;
  position: relative;
}

.veda-clan-swiper {
  flex: 1;
  overflow: hidden;
}

.veda-clan-carousel-item {
  width: 120px !important;
  height: 60px !important;
  border: none;
  border-radius: 6px;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.2s;
  background: #fff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px;
  box-sizing: border-box;
}

.veda-clan-carousel-item:hover {
  transform: scale(1.1);
}

.veda-clan-carousel-item img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.veda-clan-carousel-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: #999;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  text-align: center;
  padding: 0 !important;
}

.veda-clan-carousel-arrow:hover {
  background: #f0f0f0;
  color: #c8102e;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .veda-clan-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .veda-clan-info {
    max-width: 100%;
  }
  
  .veda-clan-carousel-container {
    width: 100%;
  }
  
  .veda-clan-carousel-item {
    width: 100px;
    height: 50px;
  }
}

/* ========== Partner Details Section ========== */
.partner-details-section {
  padding: 20px 0;
}

.partner-details-header {
  margin-bottom: 15px;
}

.partner-details-back {
  background: none;
  border: 1px solid #c8102e;
  color: #c8102e;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.partner-details-back:hover {
  background: #c8102e;
  color: #fff;
}

.partner-details-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 20px 0;
}

.partner-details-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.partner-details-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partner-details-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.partner-details-logo {
  flex-shrink: 0;
  width: 120px;
}

.partner-details-logo img {
  max-width: 100%;
  height: auto;
}

.partner-details-meta {
  flex: 1;
}

.partner-details-description {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}

.partner-details-website {
  font-size: 14px;
  color: #666;
}

.partner-details-website a {
  color: #c8102e;
  text-decoration: underline;
}

.partner-details-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-details-badge img {
  width: 120px;
  height: auto;
}

.partner-details-offices-count {
  font-size: 14px;
  color: #666;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.partner-details-offices-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 500px;
  overflow-y: auto;
}

.partner-office-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.partner-office-info {
  flex: 1;
}

.partner-office-row {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.partner-office-row:last-child {
  margin-bottom: 0;
}

.partner-office-label {
  color: #666;
}

.partner-office-row a {
  color: #c8102e;
  text-decoration: none;
}

.partner-office-row a:hover {
  text-decoration: underline;
}

.partner-office-storage {
  flex-shrink: 0;
  margin-left: 15px;
}

.partner-office-storage img {
  width: 100px;
  height: auto;
}

.partner-details-right {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.partner-details-map {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

/* Адаптив для страницы деталей */
@media (max-width: 992px) {
  .partner-details-content {
    grid-template-columns: 1fr;
  }
  
  .partner-details-right {
    position: static;
  }
  
  .partner-details-map {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .partner-details-info-card {
    flex-direction: column;
  }
  
  .partner-details-badge {
    align-self: flex-start;
  }
  
  .partner-details-title {
    font-size: 22px;
  }
}

