

/* Start:/local/components/ipromo/shops.list/templates/.default/style.css?177909105212013*/
/* ============================================
   Основные стили страницы
   ============================================ */

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Контейнеры и сетка */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Grid система (замена Bootstrap col-* */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col-4,
.col-md-4,
.col-md-8,
.col-sm-12 {
    padding: 0 12px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

/* Адаптивность */
@media (max-width: 768px) {
    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Карта */
.map-regions-column {
    position: sticky !important;
    top: 20px;
    align-self: flex-start;
}

.map-block {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

#yandex-map {
    width: 100%;
    height: 690px;
    position: relative;
}

/* Аккордеон */
.accordion__container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accordion__item {
    position: relative;
    border-bottom: 1px solid #BBC9DD;
    color: #333;
    transition: all .25s ease;
    padding: 16px 0;
}

.accordion__item:last-child {
    margin-bottom: 30px;
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 0 !important;
}

.accordion__header .accordion_header_title {
    width: calc(100% - 40px);
}

.accordion__title {
    font-family: Raleway, 'Inter', sans-serif;
    color: #001533 !important;
    font-weight: 700;
    font-size: 18px;
    transition: .2s;
    margin: 0;
    flex: 1;
}

.accordion__title:hover {
    color: #ff0000;
}

.accordion__icon {
    transform: rotate(0deg) !important;
    transition: transform .25s ease;
    color: #999;
    flex-shrink: 0;
    float: right;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__icon svg {
    transition: transform 0.3s ease;
}

.accordion-open .accordion__icon svg {
    transform: rotate(180deg);
}

.accordion__content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    overflow: hidden;
    height: 0;
    transition: height .25s ease;
    margin-top: 0;
}

.accordion-open .accordion__content {
    height: auto;
    margin-top: 20px;
}

/* Детали магазина */
.shop-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    flex-direction: column;
    margin-bottom: 12px;
}

.detail-label {
    flex: 0 0 auto;
    color: #666;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-label svg {
    position: relative;
    top: 0;
    margin-right: 4px;
}

.detail-value {
    flex: 1;
    color: #001533;
}

.detail-value a {
    color: #001533 !important;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

/* Кнопка "Показать на карте" */
.show-on-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #183E75;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 5px;
}

.show-on-map-btn:hover {
    background: #0f2c53;
}

.show-on-map-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Селектор города */
.city-selector-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.city-current {
    font-size: 18px;
    font-weight: bold;
    color: #001533;
}

.city-change-link {
    color: #183E75;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.city-change-link:hover {
    text-decoration: underline;
}

.city-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 5px;
    overflow-y: auto;
}

.city-dropdown-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.city-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.city-search-input:focus {
    border-color: #183E75;
}

.city-dropdown-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 0;
}

.city-dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.city-dropdown-item:hover {
    background-color: #f5f5f5;
}

.city-dropdown-item.active {
    background-color: #e0e0e0;
    font-weight: bold;
    color: #183E75;
}

.city-dropdown-item.hidden,
.city-dropdown-item.city-hidden {
    display: none;
}

.city-search-no-results {
    padding: 15px;
    text-align: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* Поиск */
.search-block {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #183E75;
}

/* Сообщения */
.search-result-message {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.search-reset-btn {
    background: #856404;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

.search-reset-btn:hover {
    background: #6d5300;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 20px 0;
    color: #6c757d;
    font-size: 16px;
}

/* Лоадеры и ошибки */
.loading-spinner {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 4px;
    margin: 20px 0;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #183E75;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 30px;
    background: #fff3f3;
    border: 1px solid #ffcdcd;
    border-radius: 4px;
    margin: 20px 0;
}

.error-message h4 {
    color: #d9534f;
    margin-bottom: 10px;
}

.error-retry-btn {
    background: #183E75;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.error-retry-btn:hover {
    background: #0f2c53;
}

/* Карта */
.map-loading {
    position: relative;
    min-height: 690px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.map-loading-spinner {
    text-align: center;
}

.map-loading-spinner .spinner {
    width: 50px;
    height: 50px;
}

/* Яндекс карта */
.bx-yandex-map {
    width: 100% !important;
    height: 690px !important;
    border-radius: 4px;
    overflow: hidden;
}

#yandex-map {
    position: relative;
}

#yandex-map:after {
    background: rgba(255, 255, 255, 0.55) url(/local/components/ipromo/shops.list/templates/.default/images/map.png) no-repeat scroll center center;
    content: " ";
    height: 100%;
    left: 15px;
    opacity: 0.07;
    position: absolute;
    top: 0;
    width: calc(100% - 30px);
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

#yandex-map ymaps{
	z-index: 2;
}
/* Балуны карты */
.ymaps-balloon {
    padding: 10px !important;
}

.map-balloon {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    min-width: 200px;
    max-width: 300px;
}

.map-balloon-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
}

.map-balloon-title a {
    color: #183E75;
    text-decoration: none;
}

.map-balloon-address,
.map-balloon-metro,
.map-balloon-phone,
.map-balloon-schedule,
.map-balloon-email {
    margin: 3px 0;
    word-wrap: break-word;
}

.map-balloon-phone a,
.map-balloon-email a {
    color: #183E75;
    text-decoration: none;
}

/* Кластеры */
.ymaps-cluster {
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

.ymaps-cluster span {
    display: block;
    margin-top: 5px;
}

.ymaps-cluster-balloon {
    padding: 10px;
    max-width: 300px;
}

.ymaps-cluster-balloon__item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.ymaps-cluster-balloon__item:last-child {
    border-bottom: none;
}

/* Города на карте */
.cities-on-map ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cities-on-map li {
    margin-bottom: 5px;
}

.cities-on-map a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.cities-on-map a:hover {
    color: #183E75;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .accordion__header {
        flex-direction: row;
        align-items: center;
    }
    
    .accordion__header .accordion_header_title {
        width: calc(100% - 40px);
    }
    
    .accordion__title {
        font-size: 16px;
        width: 100%;
    }
    
    .detail-item {
        flex-direction: column;
    }
    
    .detail-label {
        margin-bottom: 4px;
        flex: none;
    }
    
    .city-dropdown {
        max-width: 100%;
    }
    
    .search-block {
        flex-direction: column;
    }
    
    .cities-on-map ul {
        justify-content: flex-start;
    }
    
    .map-regions-column {
        position: relative !important;
        top: 0;
        margin-top: 20px;
    }
    
    .bx-yandex-map,
    #yandex-map {
        height: 400px !important;
    }
    
    .map-loading {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .accordion__title {
        font-size: 14px;
    }
    
    .detail-value,
    .detail-label {
        font-size: 12px;
    }
    
    .show-on-map-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .city-current {
        font-size: 16px;
    }
}
/* End */


/* Start:/local/templates/lineaflex/components/bitrix/system.pagenavigation/.default/style.css?17790910533739*/
.pagination__root {
    align-items: center;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
	margin: 2rem 0;
}

.pagination__list {
    align-items: center;
    -moz-column-gap: 24px;
    column-gap: 24px;
    display: flex;
    justify-content: center;
}

/* Базовые стили для всех элементов пагинации */
.pagination__item {
    border-radius: 4px;
    color: #183e75;
    font-weight: 400;
    height: 32px;
    text-align: center;
    vertical-align: middle;
    width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

/* Стили для ссылок */
a.pagination__item {
    color: #183e75;
    background-color: transparent;
}

a.pagination__item:hover {
    background-color: rgba(24, 62, 117, 0.1);
    color: #183e75;
}

a.pagination__item:active,
a.pagination__item:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 62, 117, 0.3);
}

/* Стили для активной страницы (текущей) */
.pagination__item[data-selected="true"],
button.pagination__item[aria-current="page"] {
    background-color: #183e75;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

/* Стили для кнопок-стрелок */
.pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pagination__arrow svg {
    width: 20px;
    height: 20px;
}

.pagination__arrow:hover {
    opacity: 0.8;
}

/* Стили для стрелки "назад" */
.pagination__prev svg {
    transform: rotate(180deg);
}

/* Стили для многоточия */
.point_sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #183e75;
    font-weight: 400;
}

/* Стили для кнопки "Показать ещё" */
.pagination__more {
    width: 100%;
}

.u-button {
    align-items: center;
    background-color: #183e75;
    border-radius: 4px;
    color: #fff;
    display: flex;
    font-family: Raleway;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    line-height: normal;
    min-height: 48px;
    padding: 13px 20px;
    position: relative;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.u-button:hover {
    background-color: #0f2b4f;
    color: #fff;
}

.u-button__light {
    background-color: #fff;
    border: 1px solid #183e75;
    color: #183e75;
}

.u-button__light:hover {
    background-color: #183e75;
    color: #fff;
}

/* Стили для состояния загрузки */
.load_more.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

/* Переопределение лишних Tailwind-классов, которые могут мешать */
.pagination__item.dark_link {
    color: #183e75 !important;
    background-color: transparent !important;
}

.pagination__item.dark_link:hover {
    background-color: rgba(24, 62, 117, 0.1) !important;
    color: #183e75 !important;
}

/* Стили для отключенных кнопок */
.pagination__arrow.disabled,
.pagination__item.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* Медиа-запросы */
@media (min-width: 1024px) {
    .pagination__list {
        -moz-column-gap: 15px;
        column-gap: 15px;
    }
}
/* End */
/* /local/components/ipromo/shops.list/templates/.default/style.css?177909105212013 */
/* /local/templates/lineaflex/components/bitrix/system.pagenavigation/.default/style.css?17790910533739 */
