.react-checkbox {
    position: relative;
    display: inline-block;
}

.react-checkbox__label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.react-checkbox__input {
    display: none;
}

.react-checkbox__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.react-checkbox__wrapper:hover {
    border-color: #000;
}

/* Стили для тултипа */
div[tooltip] {
    position: relative;
}

div[tooltip]:hover::after {
    content: attr(tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

div[tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #000;
    z-index: 999999;
}

.gallery-slider-wrapper {display: flex; gap: 19px}
.gallery-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 64px;
    border-radius: 50%;
    color: #fff;
    background: #000000bf url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.87183 19.6923H33.1282M33.1282 19.6923L23.2821 9.84616M33.1282 19.6923L23.2821 29.5385' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center no-repeat;
    cursor: pointer;
}

.gallery-slider-controls.gallery-slider-controls-prev {transform: scaleX(-1);}
.flat-new .flat-new__price-old-description {text-align: center}

/*блок инфраструктура*/
@media (min-width: 720px) {
    .infrastructureSlider__gallery .infrastructureSlider__nav {bottom: 50px;top: auto;}
}
.infrastructureSlider__heading .infrastructureSlider__tags { left:50px; right: auto; bottom: auto; top: 70px; justify-content: start}
@media (max-width: 1000px) {
    .infrastructureSlider__heading .infrastructureSlider__tags { left:0;}
}
/*блок инфраструктура*/

.elector__items .description {margin-top: -1rem; margin-bottom: 0.75rem; }
@media (max-width: 720px) {.elector__items .description {font-size: 0.6rem}}