.contact-data {
    border: 1px solid #cecece;
    padding: 10px;
    box-shadow: 0 0 5px 2px #cecece;
}

.map-positions {
    position: relative;
}
.map-positions a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 60px;
    height: 83px;
    color: transparent;
}

.maps-slider {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.maps-slider.triple > div {
    width: 30%;
}

.maps-slider > div > a {
    display: block;
    height: calc(100% - 60px);
    margin-bottom: 60px;
}
.maps-slider > div {
    position: relative;
}
.maps-slider p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.maps-slider img {
    min-height: 100%;
}
.pathway-data {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.pathway-data.double > div {
    width: calc(45% - 20px);
    border: 1px solid #cecece;
    padding: 10px;
    box-shadow: 0 0 5px 2px #cecece;
}
.pathway-data .metro {
    padding-left: 26px;
    margin-bottom: 5px;
    position: relative;
}
.pathway-data .metro > span {
    display: block;
}
.pathway-data .metro > span:first-child {
    color: #004288;
}
.pathway-data .metro:before {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: 1px;
    left: 0;
    background: url(/images/cms/data/metro-icon.gif) no-repeat;
}
@media (min-width: 1500px) {
    body #body .container, body .main.container, body .footer .container{
        max-width: 100%;
    }
    .row .col-2k-7{
        flex: 0 0 60%;
        max-width: 60%;
    }
    .row .col-2k-5{
        flex: 0 0 40%;
        max-width: 40%;
    }
    /*.card-set-gallery{*/
    /*    min-width: 1280px;*/
    /*}*/
}
header .header-right .column.buttons{
    flex-direction: column;
}
.product-slider-list .slider{
    display: flex;
}
.footerGeoContent{
    margin-bottom: 58px;
}
/* Стили для всплывающего окна */
#telegramPopup {
    border-radius: 15px;
    max-width: 370px;
    margin: 10px;
    right: 0px;
    position: fixed;
    top: -100%;
    width: 100%;
    background-color: #343a40e8;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}

#telegramPopup.active {
    top: 0;
}

#telegramPopup .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

#telegramPopup .message {
    font-size: 15px;
    margin-bottom: 10px;
}
#telegramPopup a {
    text-decoration: none;
    text-align: left;
    color: white;
}
#telegramPopup .message{
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQISURBVHgBjVVLbxNXFD5nPHkQmjqkStoKpA7QR7zog0VZElroGpodVaXgZaVWtbpil+QPVKS03aYRUmlViZA9lbKqChsjkIgRKAzCgYBQHBMrOHbmHM59euyEx5VHvnPn3u+c7zuPi/CSEc1VBvoaVMAAR5kxAqSIATlAqBLAtQzgpa0mzJdO7YlfhIE7LY5cqEQYJjPyeVQ2ILNaZXsCGZUVdAtqA8xSEkztZCjoXMj987gQhFSU46NAJDAsU9Y/DaX/5WH/yCKMYyYpfvTnSuGlDEb+fjSJEEy4d3VcM7BTlO3Kc81AE0ANYKmYvUTC5O3JbQZyf60UGDM/K4/UEUTlPLf7oGRhO0MLKJJpps6UvHNCP9365p2z3sDIhYcRBpmiAA7Aaw7HruWIoyQGiKsIdKh06t3YxACDCWLKQiqa7H7GaU5p3tKelfPkImIMMSl2WQGd0dDKexFkSUuj+KANpFEJUr6l9eL+rgDGDuzCz4e64d/lOszdrVtSbj/yZv3ZYCganjAaakxGP1dmtE30MZb/w8M9cGxfD44d6IP+LoNXWmt6pqiY6VQm7O7t/TGUyUmbiB5Mz1HnPzutDw93wfcf94uB7m3xqG4mWh60DFSWGXfhaCgfPtUfW8Gy3iD3h4CnR96AcXmct8u1LTh3Yx1++ORN2Ls74xiwrYdWCpj/KHSZYwJkVM7t6YKv9/fh2MHdHliN2Vs1vrT0DH89MujB1VisNFOgFtoIHIU66iaCrFgc39eLvx15q21zWbw+83+FH2wkcP7YUBv40wbBeoNstStlffrpWgllJSbm94wVhsv3N+Dbywkc37sLcoPdcOVRHWYX1yHbk8HzXw23gTvvmRJTDy2FTAYyV0NiiGUWkQ2m+n51pa4fTq39fnRoG7gxsOkl0Z2i1QVUQywGklELOvK6xbj6cqUDroTgzH9PtFSdo1xL2DdDkVtLJKluUhbmg0aDplnZ1bnqu6fhCdoLVt4t15rw5VwZfrlebTNQWt1E3/y0LGTrhrC5RfNBnN+/Ju8Lpk9K6dv+QGCAwXoDNnjnrq3C6MUyKzZlMXpztQHWJcEmy14D/CHYcagOhlTPN4OeokyzaHuMrwtblQy2hmT5Qa2JX1y8D6mihI6uW0moPqWmutmV8rkYKZlStJRc5iCBo2oioggRmLZi31J90Owze6RxTsWC6Q2ocSf/wVkphEmfaeybqe6c5p6wNg0iIqcTw+xTGEvjB6dbZDrG+zO3C+LnhHwY0JeJ6SmYvt10nzK3i2pY7lpb44AF/MPpNN7Ol/7MYtSAzIR4dNpvQS2/67QG0+ovDi1wPcnH3xlZXmmgw9AJATopGz8TjbO2A9wTUrGqIYKN6Th/aO1FGM8BhBen3MjSHQkAAAAASUVORK5CYII=);
    background-repeat: no-repeat;
    padding: 0px 40px;
}
#telegramPopup .tgtext{
    font-size: 12px;
}
@media screen and (max-width: 768px) {
    .citySelect .modal-body div.body {
        max-height: 325px;
    }

    body .container.lt768 .header-bottom {
        width: 50%;
    }
}

.CALLBACK_FORM .form-group[data-name='ROISTAT_VISIT'] {
    display: none;
}

.modal-quick-order input[type=checkbox] {
    display: block;
    visibility: hidden;
}

.text-style li {
    font-size: 18px;
    line-height: 29px;
    letter-spacing: 0.4px;
}
.text-style ol {
    counter-reset: num!important;
    list-style: none;
}
.text-style li {
    counter-increment: num!important;
}
.text-style li::before {
    content: counter(num) ". "!important;
}

.text-style ol ol {
    counter-reset: num2!important;
    margin-top: 10px;
}
.text-style ol ol > li {
    counter-increment: num2!important;
}

.text-style ol ol > li::before {
    content: counter(num) '.' counter(num2)". "!important;
}

.text-style ol ol ol {
    counter-reset: num3!important;
    margin-top: 10px;
}
.text-style ol ol ol > li {
    counter-increment: num3!important;
}
.text-style ol ol ol > li::before {
    content: counter(num) '.' counter(num2) '.' counter(num3)". "!important;
}

.text-style ol ol ul {
    counter-reset: num!important;
}
.text-style ol ol ul li::before {
    content: ""!important;
}
.text-style ol ul {
    counter-reset: num!important;
}
.text-style ol ul li::before {
    content: ""!important;
}

.req-table {
    max-width: 100%;
    overflow: auto;
    display: inline-block;
    border: none;
}

.req-table td {
    padding: 5px 10px;
}

.btn-card-qty .favorite-btn {
     float: none;
}

@media(max-width:1300px){
	.btn-card-qty .favorite-btn {
		 float: none;
		 margin: 0 auto;
		 display: block;
	}
}

.card-price-block .favorite-btn {
	margin-left: 10px;
}

.COMPL_SUBCATEGORY_1 .product-favorite-btn {
    position: absolute;
    top: 0;
    z-index: 99999;
}

/* Стили для кнопки избранного */
.favorite-btn {
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    padding: 0;
}

.favorite-btn:hover {
    color: #ff4444;
}

.favorite-btn.active {
    color: #ff4444;
}

.favorite-btn.active path {
    fill: currentColor !important;
}

.favorite-td {
	padding-left: 5px;
}

.rate-favourite {
	display: flex;
	gap:15px;
}

.product-favorite-btn {
    margin: 0 auto;
}

/* Страница избранного */
.favorite-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.favorite-page h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.favorite-actions {
    margin-bottom: 20px;
    text-align: center;
}

.btn-clear-favorite {
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-clear-favorite:hover {
    background: #cc0000;
}

.favorite-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorite-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    background: white;
}

.favorite-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.favorite-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.favorite-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.favorite-item-info {
    flex-grow: 1;
    min-width: 0;
}

.favorite-item-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.3;
}

.favorite-item-info h3 a {
    color: #333;
    text-decoration: none;
}

.favorite-item-info h3 a:hover {
    color: #0066cc;
}

.favorite-item-actions {
    margin-top: 10px;
}

.favorite-remove-btn {
    color: #ff4444;
    border: 1px solid #ff4444;
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}


.favorite-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.favorite-empty p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-primary {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0052a3;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorite-list {
        grid-template-columns: 1fr;
    }
    
    .favorite-item {
        flex-direction: column;
        text-align: center;
    }
    
    .favorite-item-image {
        width: 100%;
        height: 150px;
        margin-bottom: 10px;
    }
    
    .favorite-item-image img {
        max-width: 150px;
    }
    
    .favorite-page {
        padding: 10px;
    }
}

@media(min-width:1500px){
	.column{position:relative;}
	.favorite-td{position:absolute;}
}
