

/* Start:/bitrix/templates/aspro_tires2/template_styles.css?17732318515930*/
.cities-block {
    margin: 24px 0;
    max-width: fit-content;
}
@media screen and (max-width: 768px) {
    .cities-block {
        margin: 24px auto;
    }
}
.cities-block .cities-block__link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: #fff;
    transition: color 0.3s ease;
    cursor: pointer;
    &:hover {
        color: #48a216;
    }
}
.cities-block .cities-block__icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none" viewBox="0 0 64 64"%3E%3Cpath stroke="%23fff" stroke-width="3" d="M32 1.5a22.53 22.53 0 0 1 22.5 22.502c0 4-1.304 8.35-3.364 12.703-2.055 4.342-4.82 8.596-7.638 12.379-5 6.71-10.096 11.84-11.498 13.214-1.402-1.375-6.499-6.504-11.498-13.214-2.818-3.783-5.583-8.038-7.638-12.379-2.06-4.353-3.364-8.703-3.364-12.703A22.53 22.53 0 0 1 32 1.5Zm4.783 10.951A12.5 12.5 0 1 0 32 36.5h.001a12.507 12.507 0 0 0 12.495-12.189l.004-.31V24a12.5 12.5 0 0 0-7.717-11.549Z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 24px;
    height: 24px;
}

/* Cities modal overlay and window */
#cities-modal.cities-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
}
@media screen and (min-width: 1024px) {
    #cities-modal.cities-modal {
        padding-right: 17px;
    }
}
@media screen and (max-width: 576px) {
    #cities-modal.cities-modal {
        padding: 12px;
    }
}
#cities-modal.cities-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#cities-modal .cities-modal__inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.cities-modal .cities-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #48a216;
    padding: 34px;
    position: relative;
}
@media screen and (max-width: 768px) {
    .cities-modal .cities-modal__header {
        padding: 36px 24px 24px;
    }
}
.cities-modal .cities-modal__header-close {
    cursor: pointer;
    transition: opacity 0.3s ease;
    &:hover {
        opacity: 0.8;
    }
}
@media screen and (max-width: 768px) {
    .cities-modal .cities-modal__header-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}
.cities-modal .cities-modal__header-close-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"%3E%3Cpath fill="%23333333" fill-rule="evenodd" d="M24.942 7.058c.52.52.52 1.364 0 1.885l-16 16a1.333 1.333 0 0 1-1.885-1.886l16-16c.52-.52 1.365-.52 1.885 0" clip-rule="evenodd"/%3E%3Cpath fill="%23333333" fill-rule="evenodd" d="M7.057 7.058c.52-.521 1.364-.521 1.885 0l16 16a1.333 1.333 0 1 1-1.886 1.885l-16-16a1.333 1.333 0 0 1 0-1.885" clip-rule="evenodd"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 24px;
    height: 24px;
}

.cities-modal .cities-modal__header-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
@media screen and (max-width: 768px) {
    .cities-modal .cities-modal__header-title {
        font-size: 20px;
        text-align: center;
    }
}
.cities-modal-list {
    padding: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
    .cities-modal-list {
        gap: 16px;
        padding: 24px;
        margin-bottom: 0;
    }
}
@media screen and (max-width: 576px) {
    .cities-modal-list {
        gap: 12px;
        padding: 16px 24px 0;
    }
}

.cities-modal-item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: calc(100% / 4 - 18px);
}
@media screen and (max-width: 768px) {
    .cities-modal-item {
        width: calc(100% / 3 - 11px);
    }
}
@media screen and (max-width: 576px) {
    .cities-modal-item {
        width: calc(100% / 2 - 8px);
    }
}
.cities-modal-item__link {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px;
    border: 1px solid #48a216;
    border-radius: 8px;
    transition:
            background-color 0.3s ease,
            color 0.3s ease;
    font-size: 18px;
    font-weight: 300;
    color: #333;
    text-decoration: none;
    &:hover {
        background-color: #48a216;
        color: #fff;
    }
}
@media screen and (max-width: 576px) {
    .cities-modal-item__link {
        font-size: 16px;
        padding: 8px;
    }
}
.cities-modal__footer {
    padding: 34px;
}
@media screen and (max-width: 768px) {
    .cities-modal__footer {
        padding: 24px;
    }
}
.cities-modal__footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: 1px solid #48a216;
    border-radius: 8px;
    transition:
            background-color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background-color: #48a216;
    &:hover {
        background-color: #54bd1a;
        color: #fff;
    }
}
@media screen and (max-width: 576px) {
    .cities-modal__footer-btn {
        font-size: 16px;
        padding: 8px;
    }
}
/* End */
/* /bitrix/templates/aspro_tires2/template_styles.css?17732318515930 */
